Skip to content

Commit

Permalink
Regenerating amazonka-sqs from latest service definition
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanhay committed Nov 29, 2016
1 parent ead8f68 commit ac22d92
Show file tree
Hide file tree
Showing 17 changed files with 258 additions and 141 deletions.
19 changes: 16 additions & 3 deletions amazonka-sqs/gen/Network/AWS/SQS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,19 @@
--
-- Amazon SQS offers reliable and scalable hosted queues for storing messages as they travel between computers. By using Amazon SQS, you can move data between distributed components of your applications that perform different tasks without losing messages or requiring each component to be always available.
--
-- Helpful Links:
-- __Topics__
--
-- * <http://queue.amazonaws.com/doc/2012-11-05/QueueService.wsdl Current WSDL (2012-11-05)>
-- *
--
-- *
--
-- * 'CommonParameters'
--
-- * 'CommonErrors'
--
--
--
-- __Helpful Links__
--
-- * <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/MakingRequestsArticle.html Making API Requests>
--
Expand All @@ -42,7 +52,7 @@
--
--
--
-- For a list of available SDKs, go to <http://aws.amazon.com/tools/ Tools for Amazon Web Services> .
-- For a list of available SDKs, see <http://aws.amazon.com/tools/ Tools for Amazon Web Services> .
--
module Network.AWS.SQS
(
Expand Down Expand Up @@ -221,12 +231,15 @@ module Network.AWS.SQS
, sendMessageBatchRequestEntry
, sMessageAttributes
, sDelaySeconds
, sMessageDeduplicationId
, sMessageGroupId
, sId
, sMessageBody

-- ** SendMessageBatchResultEntry
, SendMessageBatchResultEntry
, sendMessageBatchResultEntry
, smbreSequenceNumber
, smbreMD5OfMessageAttributes
, smbreId
, smbreMessageId
Expand Down
4 changes: 2 additions & 2 deletions amazonka-sqs/gen/Network/AWS/SQS/AddPermission.hs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
--
-- When you create a queue, you have full control access rights for the queue. Only you (as owner of the queue) can grant or deny permissions to the queue. For more information about these permissions, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/acp-overview.html Shared Queues> in the /Amazon SQS Developer Guide/ .
--
-- @&amp;Attribute.1=this@
--
--
--
-- @&amp;Attribute.2=that@
--
module Network.AWS.SQS.AddPermission
(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
--
-- /Important:/ Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
--
-- @&amp;Attribute.1=this@
--
--
--
-- @&amp;Attribute.2=that@
--
module Network.AWS.SQS.ChangeMessageVisibilityBatch
(
Expand Down
30 changes: 23 additions & 7 deletions amazonka-sqs/gen/Network/AWS/SQS/CreateQueue.hs

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions amazonka-sqs/gen/Network/AWS/SQS/DeleteMessageBatch.hs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
--
-- /Important:/ Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
--
-- @&amp;Attribute.1=this@
--
--
--
-- @&amp;Attribute.2=that@
--
module Network.AWS.SQS.DeleteMessageBatch
(
Expand Down Expand Up @@ -117,7 +117,7 @@ instance ToQuery DeleteMessageBatch where
toQueryList "DeleteMessageBatchRequestEntry"
_dmbEntries]

-- | For each message in the batch, the response contains a 'DeleteMessageBatchResultEntry' tag if the message is deleted or a 'BatchResultErrorEntry' tag if the message cannot be deleted.
-- | For each message in the batch, the response contains a 'DeleteMessageBatchResultEntry' tag if the message is deleted or a 'BatchResultErrorEntry' tag if the message can't be deleted.
--
--
--
Expand Down
2 changes: 1 addition & 1 deletion amazonka-sqs/gen/Network/AWS/SQS/DeleteQueue.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Deletes the queue specified by the __queue URL__ , regardless of whether the queue is empty. If the specified queue does not exist, Amazon SQS returns a successful response.
-- Deletes the queue specified by the __queue URL__ , regardless of whether the queue is empty. If the specified queue doesn't exist, Amazon SQS returns a successful response.
--
--
-- /Important:/ Use @DeleteQueue@ with care; once you delete your queue, any messages in the queue are no longer available.
Expand Down
8 changes: 4 additions & 4 deletions amazonka-sqs/gen/Network/AWS/SQS/GetQueueAttributes.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
-- Gets attributes for the specified queue.
--
--
-- @&amp;Attribute.1=this@
--
--
--
-- @&amp;Attribute.2=that@
--
module Network.AWS.SQS.GetQueueAttributes
(
Expand Down Expand Up @@ -63,7 +63,7 @@ data GetQueueAttributes = GetQueueAttributes'
--
-- Use one of the following lenses to modify other fields as desired:
--
-- * 'gqaAttributeNames' - A list of attributes to retrieve information for. The following attributes are supported: * @All@ - returns all values. * @ApproximateNumberOfMessages@ - returns the approximate number of visible messages in a queue. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ApproximateNumber.html Resources Required to Process Messages> in the /Amazon SQS Developer Guide/ . * @ApproximateNumberOfMessagesNotVisible@ - returns the approximate number of messages that are not timed-out and not deleted. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ApproximateNumber.html Resources Required to Process Messages> in the /Amazon SQS Developer Guide/ . * @VisibilityTimeout@ - returns the visibility timeout for the queue. For more information about visibility timeout, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html Visibility Timeout> in the /Amazon SQS Developer Guide/ . * @CreatedTimestamp@ - returns the time when the queue was created (epoch time in seconds). * @LastModifiedTimestamp@ - returns the time when the queue was last changed (epoch time in seconds). * @Policy@ - returns the queue's policy. * @MaximumMessageSize@ - returns the limit of how many bytes a message can contain before Amazon SQS rejects it. * @MessageRetentionPeriod@ - returns the number of seconds Amazon SQS retains a message. * @QueueArn@ - returns the queue's Amazon resource name (ARN). * @ApproximateNumberOfMessagesDelayed@ - returns the approximate number of messages that are pending to be added to the queue. * @DelaySeconds@ - returns the default delay on the queue in seconds. * @ReceiveMessageWaitTimeSeconds@ - returns the time for which a ReceiveMessage call will wait for a message to arrive. * @RedrivePolicy@ - returns the parameters for dead letter queue functionality of the source queue. For more information about RedrivePolicy and dead letter queues, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html Using Amazon SQS Dead Letter Queues> in the /Amazon SQS Developer Guide/ .
-- * 'gqaAttributeNames' - A list of attributes for which to retrieve information. The following attributes are supported: * @All@ - Returns all values. * @ApproximateNumberOfMessages@ - Returns the approximate number of visible messages in a queue. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ApproximateNumber.html Resources Required to Process Messages> in the /Amazon SQS Developer Guide/ . * @ApproximateNumberOfMessagesDelayed@ - Returns the approximate number of messages that are waiting to be added to the queue. * @ApproximateNumberOfMessagesNotVisible@ - Returns the approximate number of messages that have not timed-out and are not deleted. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ApproximateNumber.html Resources Required to Process Messages> in the /Amazon SQS Developer Guide/ . * @CreatedTimestamp@ - Returns the time when the queue was created in seconds (epoch time). * @DelaySeconds@ - Returns the default delay on the queue in seconds. * @LastModifiedTimestamp@ - Returns the time when the queue was last changed in seconds (epoch time). * @MaximumMessageSize@ - Returns the limit of how many bytes a message can contain before Amazon SQS rejects it. * @MessageRetentionPeriod@ - Returns the number of seconds for which Amazon SQS retains a message. * @Policy@ - Returns the policy of the queue. * @QueueArn@ - Returns the Amazon resource name (ARN) of the queue. * @ReceiveMessageWaitTimeSeconds@ - Returns the number of seconds for which ReceiveMessage call will wait for a message to arrive. * @RedrivePolicy@ - Returns the parameters for dead letter queue functionality of the source queue. For more information about the redrive policy and dead letter queues, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html Using Amazon SQS Dead Letter Queues> in the /Amazon SQS Developer Guide/ . * @VisibilityTimeout@ - Returns the visibility timeout for the queue. For more information about the visibility timeout, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html Visibility Timeout> in the /Amazon SQS Developer Guide/ . The following attributes apply only to <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues> : * @FifoQueue@ - Returns whether the queue is FIFO. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic FIFO Queue Logic> in the /Amazon SQS Developer Guide/ . * @ContentBasedDeduplication@ - Returns whether content-based deduplication is enabled for the queue. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing Exactly-Once Processing> in the /Amazon SQS Developer Guide/ .
--
-- * 'gqaQueueURL' - The URL of the Amazon SQS queue to take action on. Queue URLs are case-sensitive.
getQueueAttributes
Expand All @@ -75,7 +75,7 @@ getQueueAttributes pQueueURL_ =
, _gqaQueueURL = pQueueURL_
}

-- | A list of attributes to retrieve information for. The following attributes are supported: * @All@ - returns all values. * @ApproximateNumberOfMessages@ - returns the approximate number of visible messages in a queue. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ApproximateNumber.html Resources Required to Process Messages> in the /Amazon SQS Developer Guide/ . * @ApproximateNumberOfMessagesNotVisible@ - returns the approximate number of messages that are not timed-out and not deleted. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ApproximateNumber.html Resources Required to Process Messages> in the /Amazon SQS Developer Guide/ . * @VisibilityTimeout@ - returns the visibility timeout for the queue. For more information about visibility timeout, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html Visibility Timeout> in the /Amazon SQS Developer Guide/ . * @CreatedTimestamp@ - returns the time when the queue was created (epoch time in seconds). * @LastModifiedTimestamp@ - returns the time when the queue was last changed (epoch time in seconds). * @Policy@ - returns the queue's policy. * @MaximumMessageSize@ - returns the limit of how many bytes a message can contain before Amazon SQS rejects it. * @MessageRetentionPeriod@ - returns the number of seconds Amazon SQS retains a message. * @QueueArn@ - returns the queue's Amazon resource name (ARN). * @ApproximateNumberOfMessagesDelayed@ - returns the approximate number of messages that are pending to be added to the queue. * @DelaySeconds@ - returns the default delay on the queue in seconds. * @ReceiveMessageWaitTimeSeconds@ - returns the time for which a ReceiveMessage call will wait for a message to arrive. * @RedrivePolicy@ - returns the parameters for dead letter queue functionality of the source queue. For more information about RedrivePolicy and dead letter queues, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html Using Amazon SQS Dead Letter Queues> in the /Amazon SQS Developer Guide/ .
-- | A list of attributes for which to retrieve information. The following attributes are supported: * @All@ - Returns all values. * @ApproximateNumberOfMessages@ - Returns the approximate number of visible messages in a queue. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ApproximateNumber.html Resources Required to Process Messages> in the /Amazon SQS Developer Guide/ . * @ApproximateNumberOfMessagesDelayed@ - Returns the approximate number of messages that are waiting to be added to the queue. * @ApproximateNumberOfMessagesNotVisible@ - Returns the approximate number of messages that have not timed-out and are not deleted. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ApproximateNumber.html Resources Required to Process Messages> in the /Amazon SQS Developer Guide/ . * @CreatedTimestamp@ - Returns the time when the queue was created in seconds (epoch time). * @DelaySeconds@ - Returns the default delay on the queue in seconds. * @LastModifiedTimestamp@ - Returns the time when the queue was last changed in seconds (epoch time). * @MaximumMessageSize@ - Returns the limit of how many bytes a message can contain before Amazon SQS rejects it. * @MessageRetentionPeriod@ - Returns the number of seconds for which Amazon SQS retains a message. * @Policy@ - Returns the policy of the queue. * @QueueArn@ - Returns the Amazon resource name (ARN) of the queue. * @ReceiveMessageWaitTimeSeconds@ - Returns the number of seconds for which ReceiveMessage call will wait for a message to arrive. * @RedrivePolicy@ - Returns the parameters for dead letter queue functionality of the source queue. For more information about the redrive policy and dead letter queues, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html Using Amazon SQS Dead Letter Queues> in the /Amazon SQS Developer Guide/ . * @VisibilityTimeout@ - Returns the visibility timeout for the queue. For more information about the visibility timeout, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html Visibility Timeout> in the /Amazon SQS Developer Guide/ . The following attributes apply only to <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues> : * @FifoQueue@ - Returns whether the queue is FIFO. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic FIFO Queue Logic> in the /Amazon SQS Developer Guide/ . * @ContentBasedDeduplication@ - Returns whether content-based deduplication is enabled for the queue. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing Exactly-Once Processing> in the /Amazon SQS Developer Guide/ .
gqaAttributeNames :: Lens' GetQueueAttributes [QueueAttributeName]
gqaAttributeNames = lens _gqaAttributeNames (\ s a -> s{_gqaAttributeNames = a}) . _Default . _Coerce;

Expand Down
2 changes: 1 addition & 1 deletion amazonka-sqs/gen/Network/AWS/SQS/GetQueueURL.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
-- Returns the URL of an existing queue. This action provides a simple way to retrieve the URL of an Amazon SQS queue.
--
--
-- To access a queue that belongs to another AWS account, use the @QueueOwnerAWSAccountId@ parameter to specify the account ID of the queue's owner. The queue's owner must grant you permission to access the queue. For more information about shared queue access, see 'AddPermission' or go to <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/acp-overview.html Shared Queues> in the /Amazon SQS Developer Guide/ .
-- To access a queue that belongs to another AWS account, use the @QueueOwnerAWSAccountId@ parameter to specify the account ID of the queue's owner. The queue's owner must grant you permission to access the queue. For more information about shared queue access, see 'AddPermission' or see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/acp-overview.html Shared Queues> in the /Amazon SQS Developer Guide/ .
--
module Network.AWS.SQS.GetQueueURL
(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
-- Returns a list of your queues that have the RedrivePolicy queue attribute configured with a dead letter queue.
--
--
-- For more information about using dead letter queues, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html Using Amazon SQS Dead Letter Queues> .
-- For more information about using dead letter queues, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html Using Amazon SQS Dead Letter Queues> in the /Amazon SQS Developer Guide/ .
--
module Network.AWS.SQS.ListDeadLetterSourceQueues
(
Expand Down
4 changes: 2 additions & 2 deletions amazonka-sqs/gen/Network/AWS/SQS/PurgeQueue.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
-- Deletes the messages in a queue specified by the __queue URL__ .
--
--
-- /Important:/ When you use the @PurgeQueue@ API, the deleted messages in the queue cannot be retrieved.
-- /Important:/ When you use the @PurgeQueue@ API, the deleted messages in the queue can't be retrieved.
--
-- When you purge a queue, the message deletion process takes up to 60 seconds. All messages sent to the queue before calling @PurgeQueue@ will be deleted; messages sent to the queue while it is being purged may be deleted. While the queue is being purged, messages sent to the queue before @PurgeQueue@ was called may be received, but will be deleted within the next minute.
-- When you purge a queue, the message deletion process takes up to 60 seconds. All messages sent to the queue before calling @PurgeQueue@ will be deleted; messages sent to the queue while it is being purged might be deleted. While the queue is being purged, messages sent to the queue before @PurgeQueue@ was called might be received, but will be deleted within the next minute.
--
module Network.AWS.SQS.PurgeQueue
(
Expand Down
Loading

0 comments on commit ac22d92

Please sign in to comment.