The CreateQueue action creates a new queue, or returns the URL of an existing one. When you request CreateQueue, you provide a name for the queue. To successfully create a new queue, you must provide a name that is unique within the scope of your own queues. If you provide the name of an existing queue, a new queue isn't created and an error isn't returned. Instead, the request succeeds and the queue URL for the existing queue is returned. Exception: if you provide a value for DefaultVisibilityTimeout that is different from the value for the existing queue, you receive an error.

Namespace: Amazon.SQS.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class CreateQueueRequest
Public Class CreateQueueRequest
public ref class CreateQueueRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
CreateQueueRequest()()()()
Initializes a new instance of the CreateQueueRequest class
Attribute
Gets and sets the Attribute property. Name and value pair of an attribute associated with the queue.
DefaultVisibilityTimeout
Gets and sets the DefaultVisibilityTimeout property. The visibility timeout (in seconds) to use for this queue. Values can be 0 to 43200 (maximum 12 hours). Default is 30 seconds.
DelaySeconds
Gets and sets the DelaySeconds property. The default number of seconds for which the message has to be delayed.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsSetAttribute()()()()
Checks if Attribute property is set
IsSetDefaultVisibilityTimeout()()()()
Checks if DefaultVisibilityTimeout property is set
IsSetDelaySeconds()()()()
Checks if DelaySeconds property is set
IsSetQueueName()()()()
Checks if QueueName property is set
QueueName
Gets and sets the QueueName property. The name to use for the queue created. Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithAttribute(array<Attribute>[]()[][])
Sets the Attribute property
WithDefaultVisibilityTimeout(Decimal)
Sets the DefaultVisibilityTimeout property
WithDelaySeconds(Int32)
Sets the DelaySeconds property
WithQueueName(String)
Sets the QueueName property

Inheritance Hierarchy

System..::..Object
  Amazon.SQS.Model..::..CreateQueueRequest

See Also