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.
<xs:element name="CreateQueue"><xs:annotation><xs:documentation xml:lang="en">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.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="QueueName" type="xs:string"/><xs:element name="DefaultVisibilityTimeout" type="xs:integer" minOccurs="0"/><xs:element ref="tns:Attribute" minOccurs="0" maxOccurs="unbounded"/></xs:sequence></xs:complexType></xs:element>
<xs:element name="ListQueues"><xs:annotation><xs:documentation xml:lang="en">The ListQueues action returns a list of your queues.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="QueueNamePrefix" type="xs:string" minOccurs="0"/><xs:element ref="tns:Attribute" minOccurs="0" maxOccurs="unbounded"/></xs:sequence></xs:complexType></xs:element>
<xs:element name="ChangeMessageVisibility"><xs:annotation><xs:documentation xml:lang="en">The ChangeMessageVisibility action extends the read lock timeout of the specified message from the specified queue to the specified value.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="ReceiptHandle" type="xs:string"/><xs:element name="VisibilityTimeout" type="xs:integer"/><xs:element ref="tns:Attribute" minOccurs="0" maxOccurs="unbounded"/></xs:sequence></xs:complexType></xs:element>
The DeleteMessage action unconditionally removes the specified message from the specified queue. Even if the message is locked by another reader due to the visibility timeout setting, it is still deleted from the queue.
<xs:element name="DeleteMessage"><xs:annotation><xs:documentation xml:lang="en">The DeleteMessage action unconditionally removes the specified message from the specified queue. Even if the message is locked by another reader due to the visibility timeout setting, it is still deleted from the queue.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="ReceiptHandle" type="xs:string"/><xs:element ref="tns:Attribute" minOccurs="0" maxOccurs="unbounded"/></xs:sequence></xs:complexType></xs:element>
<xs:element name="DeleteQueue"><xs:annotation><xs:documentation xml:lang="en">This action unconditionally deletes the queue specified by the queue URL. Use this operation WITH CARE! The queue is deleted even if it is NOT empty.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element ref="tns:Attribute" minOccurs="0" maxOccurs="unbounded"/></xs:sequence></xs:complexType></xs:element>
Gets one or all attributes of a queue. Current attributes you can get: [ApproximateNumberOfMessages, CreatedTimestamp, LastModifiedTimestamp, VisibilityTimeout, and Policy].
<xs:element name="GetQueueAttributes"><xs:annotation><xs:documentation xml:lang="en">Gets one or all attributes of a queue. Current attributes you can get: [ApproximateNumberOfMessages, CreatedTimestamp, LastModifiedTimestamp, VisibilityTimeout, and Policy].</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="AttributeName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/><!-- Ignore the Unused element. It prevents WSE from collapsing AttributeName element(s) to an array of strings. --><xs:element name="Unused" type="xs:string" minOccurs="0"/></xs:sequence></xs:complexType></xs:element>
Retrieves one or more messages from the specified queue, including the message body and message ID of each message. Messages returned by this action stay in the queue until you delete them. However, once a message is returned to a ReceiveMessage request, it is not returned on subsequent ReceiveMessage requests for the duration of the VisibilityTimeout. If you do not specify a VisibilityTimeout in the request, the overall visibility timeout for the queue is used for the returned messages. Possible attributes that can be requested with messages include [SenderPrincipalId, and SentTimestamp]
<xs:element name="ReceiveMessage"><xs:annotation><xs:documentation xml:lang="en">Retrieves one or more messages from the specified queue, including the message body and message ID of each message. Messages returned by this action stay in the queue until you delete them. However, once a message is returned to a ReceiveMessage request, it is not returned on subsequent ReceiveMessage requests for the duration of the VisibilityTimeout. If you do not specify a VisibilityTimeout in the request, the overall visibility timeout for the queue is used for the returned messages. Possible attributes that can be requested with messages include [SenderPrincipalId, and SentTimestamp]</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="MaxNumberOfMessages" type="xs:integer" minOccurs="0"/><xs:element name="VisibilityTimeout" type="xs:integer" minOccurs="0"/><xs:element name="AttributeName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/><!-- Ignore the Unused element. It prevents WSE from collapsing AttributeName element(s) to an array of strings. --><xs:element name="Unused" type="xs:string" minOccurs="0"/></xs:sequence></xs:complexType></xs:element>
<xs:element name="SetQueueAttributes"><xs:annotation><xs:documentation xml:lang="en">Sets an attribute of a queue. Currently, you can set only one attribute per request. Valid attributes for setting are [VisibilityTimeout and Policy]</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element ref="tns:Attribute" maxOccurs="unbounded"/></xs:sequence></xs:complexType></xs:element>
<xs:element name="AddPermission"><xs:annotation><xs:documentation xml:lang="en">Adds the specified permission(s) to a queue for the specified principal(s). This allows for sharing access to the queue.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="Label" type="xs:string"/><xs:element name="AWSAccountId" type="xs:string" maxOccurs="unbounded"/><xs:element name="ActionName" type="xs:string" maxOccurs="unbounded"/></xs:sequence></xs:complexType></xs:element>
<xs:element name="RemovePermission"><xs:annotation><xs:documentation xml:lang="en">Removes the permission with the specified statement id from the queue.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="Label" type="xs:string"/></xs:sequence></xs:complexType></xs:element>