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 delete a queue, you must wait at least 60 seconds before creating a queue with the same name.
You may pass one or more attributes in the request. If you do not provide a value for any attribute, the queue will have the default value for that attribute. Permitted attributes are the same that can be set using SetQueueAttributes.
If you provide the name of an existing queue, along with the exact names and values
of all the queue's attributes,
CreateQueue returns the queue URL for
the existing queue. If the queue name, attribute names, or attribute values do not
match an existing queue,
CreateQueue returns an error.
param.nnotation. Values of
nare integers starting from 1. For example, a parameter list with two elements looks like this:
Version: (assembly version)
public abstract CreateQueueResponse CreateQueue( String queueName )
The name for the queue to be created.
|QueueDeletedRecentlyException||You must wait 60 seconds after deleting a queue before you can create another with the same name.|
|QueueNameExistsException||A queue already exists with this name. Amazon SQS returns this error only if the request includes attributes whose values differ from those of the existing queue.|
Supported in: 4.5, 4.0, 3.5