amazonka-sqs 1.4.3 → 1.4.4
raw patch · 23 files changed
+188/−65 lines, 23 filesdep ~amazonka-coredep ~amazonka-sqsdep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core, amazonka-sqs, amazonka-test
API changes (from Hackage documentation)
Files
- README.md +8/−1
- amazonka-sqs.cabal +13/−6
- gen/Network/AWS/SQS.hs +7/−0
- gen/Network/AWS/SQS/AddPermission.hs +7/−3
- gen/Network/AWS/SQS/ChangeMessageVisibility.hs +2/−0
- gen/Network/AWS/SQS/ChangeMessageVisibilityBatch.hs +7/−3
- gen/Network/AWS/SQS/CreateQueue.hs +17/−4
- gen/Network/AWS/SQS/DeleteMessage.hs +5/−1
- gen/Network/AWS/SQS/DeleteMessageBatch.hs +7/−3
- gen/Network/AWS/SQS/DeleteQueue.hs +5/−1
- gen/Network/AWS/SQS/GetQueueAttributes.hs +39/−22
- gen/Network/AWS/SQS/GetQueueURL.hs +5/−1
- gen/Network/AWS/SQS/ListDeadLetterSourceQueues.hs +5/−1
- gen/Network/AWS/SQS/ListQueues.hs +5/−1
- gen/Network/AWS/SQS/PurgeQueue.hs +5/−1
- gen/Network/AWS/SQS/ReceiveMessage.hs +13/−5
- gen/Network/AWS/SQS/RemovePermission.hs +5/−1
- gen/Network/AWS/SQS/SendMessage.hs +5/−1
- gen/Network/AWS/SQS/SendMessageBatch.hs +7/−3
- gen/Network/AWS/SQS/SetQueueAttributes.hs +13/−1
- gen/Network/AWS/SQS/Types/Product.hs +6/−4
- gen/Network/AWS/SQS/Types/Sum.hs +2/−2
- src/.gitkeep +0/−0
README.md view
@@ -8,7 +8,7 @@ ## Version -`1.4.3`+`1.4.4` ## Description@@ -20,16 +20,23 @@ Helpful Links: - <http://queue.amazonaws.com/doc/2012-11-05/QueueService.wsdl Current WSDL (2012-11-05)>+ - <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/MakingRequestsArticle.html Making API Requests>+ - <http://aws.amazon.com/sqs/ Amazon SQS product page>+ - <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html Using Amazon SQS Message Attributes>+ - <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html Using Amazon SQS Dead Letter Queues>+ - <http://docs.aws.amazon.com/general/latest/gr/rande.html#sqs_region Regions and Endpoints> We also provide SDKs that enable you to access Amazon SQS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as: - Cryptographically signing your service requests+ - Retrying requests+ - Handling error responses For a list of available SDKs, go to <http://aws.amazon.com/tools/ Tools for Amazon Web Services>.
amazonka-sqs.cabal view
@@ -1,5 +1,5 @@ name: amazonka-sqs-version: 1.4.3+version: 1.4.4 synopsis: Amazon Simple Queue Service SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -11,7 +11,7 @@ category: Network, AWS, Cloud, Distributed Computing build-type: Simple cabal-version: >= 1.10-extra-source-files: README.md fixture/*.yaml fixture/*.proto+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep description: Welcome to the /Amazon Simple Queue Service API Reference/. This section describes who should read this guide, how the guide is organized, and other resources related to the Amazon Simple Queue Service (Amazon SQS). @@ -20,16 +20,23 @@ Helpful Links: - <http://queue.amazonaws.com/doc/2012-11-05/QueueService.wsdl Current WSDL (2012-11-05)>+ - <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/MakingRequestsArticle.html Making API Requests>+ - <http://aws.amazon.com/sqs/ Amazon SQS product page>+ - <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html Using Amazon SQS Message Attributes>+ - <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html Using Amazon SQS Dead Letter Queues>+ - <http://docs.aws.amazon.com/general/latest/gr/rande.html#sqs_region Regions and Endpoints> We also provide SDKs that enable you to access Amazon SQS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as: - Cryptographically signing your service requests+ - Retrying requests+ - Handling error responses For a list of available SDKs, go to <http://aws.amazon.com/tools/ Tools for Amazon Web Services>.@@ -85,7 +92,7 @@ , Network.AWS.SQS.Types.Sum build-depends:- amazonka-core == 1.4.3.*+ amazonka-core == 1.4.4.* , base >= 4.7 && < 5 test-suite amazonka-sqs-test@@ -105,9 +112,9 @@ , Test.AWS.SQS.Internal build-depends:- amazonka-core == 1.4.3.*- , amazonka-test == 1.4.3.*- , amazonka-sqs == 1.4.3.*+ amazonka-core == 1.4.4.*+ , amazonka-test == 1.4.4.*+ , amazonka-sqs == 1.4.4.* , base , bytestring , tasty
gen/Network/AWS/SQS.hs view
@@ -18,16 +18,23 @@ -- Helpful Links: -- -- - <http://queue.amazonaws.com/doc/2012-11-05/QueueService.wsdl Current WSDL (2012-11-05)>+-- -- - <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/MakingRequestsArticle.html Making API Requests>+-- -- - <http://aws.amazon.com/sqs/ Amazon SQS product page>+-- -- - <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html Using Amazon SQS Message Attributes>+-- -- - <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html Using Amazon SQS Dead Letter Queues>+-- -- - <http://docs.aws.amazon.com/general/latest/gr/rande.html#sqs_region Regions and Endpoints> -- -- We also provide SDKs that enable you to access Amazon SQS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as: -- -- - Cryptographically signing your service requests+-- -- - Retrying requests+-- -- - Handling error responses -- -- For a list of available SDKs, go to <http://aws.amazon.com/tools/ Tools for Amazon Web Services>.
gen/Network/AWS/SQS/AddPermission.hs view
@@ -26,9 +26,9 @@ -- -- Some API actions take lists of parameters. These lists are specified using the 'param.n' notation. Values of 'n' are integers starting from 1. For example, a parameter list with two elements looks like this: ----- '&Attribute.1=this'+-- '&Attribute.1=this' ----- '&Attribute.2=that'+-- '&Attribute.2=that' module Network.AWS.SQS.AddPermission ( -- * Creating a Request@@ -52,7 +52,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'addPermission' smart constructor.+-- |+--+-- /See:/ 'addPermission' smart constructor. data AddPermission = AddPermission' { _apQueueURL :: !Text , _apLabel :: !Text@@ -84,6 +86,8 @@ } -- | The URL of the Amazon SQS queue to take action on.+--+-- Queue URLs are case-sensitive. apQueueURL :: Lens' AddPermission Text apQueueURL = lens _apQueueURL (\ s a -> s{_apQueueURL = a});
gen/Network/AWS/SQS/ChangeMessageVisibility.hs view
@@ -78,6 +78,8 @@ } -- | The URL of the Amazon SQS queue to take action on.+--+-- Queue URLs are case-sensitive. cmvQueueURL :: Lens' ChangeMessageVisibility Text cmvQueueURL = lens _cmvQueueURL (\ s a -> s{_cmvQueueURL = a});
gen/Network/AWS/SQS/ChangeMessageVisibilityBatch.hs view
@@ -24,9 +24,9 @@ -- -- Some API actions take lists of parameters. These lists are specified using the 'param.n' notation. Values of 'n' are integers starting from 1. For example, a parameter list with two elements looks like this: ----- '&Attribute.1=this'+-- '&Attribute.1=this' ----- '&Attribute.2=that'+-- '&Attribute.2=that' module Network.AWS.SQS.ChangeMessageVisibilityBatch ( -- * Creating a Request@@ -52,7 +52,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'changeMessageVisibilityBatch' smart constructor.+-- |+--+-- /See:/ 'changeMessageVisibilityBatch' smart constructor. data ChangeMessageVisibilityBatch = ChangeMessageVisibilityBatch' { _cmvbQueueURL :: !Text , _cmvbEntries :: ![ChangeMessageVisibilityBatchRequestEntry]@@ -75,6 +77,8 @@ } -- | The URL of the Amazon SQS queue to take action on.+--+-- Queue URLs are case-sensitive. cmvbQueueURL :: Lens' ChangeMessageVisibilityBatch Text cmvbQueueURL = lens _cmvbQueueURL (\ s a -> s{_cmvbQueueURL = a});
gen/Network/AWS/SQS/CreateQueue.hs view
@@ -22,7 +22,7 @@ -- -- 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>.+-- 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. -- -- Use < GetQueueUrl> to get a queue\'s URL. < GetQueueUrl> requires only the 'QueueName' parameter. --@@ -30,9 +30,9 @@ -- -- Some API actions take lists of parameters. These lists are specified using the 'param.n' notation. Values of 'n' are integers starting from 1. For example, a parameter list with two elements looks like this: ----- '&Attribute.1=this'+-- '&Attribute.1=this' ----- '&Attribute.2=that'+-- '&Attribute.2=that' module Network.AWS.SQS.CreateQueue ( -- * Creating a Request@@ -57,7 +57,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'createQueue' smart constructor.+-- |+--+-- /See:/ 'createQueue' smart constructor. data CreateQueue = CreateQueue' { _cqAttributes :: !(Maybe (Map QueueAttributeName Text)) , _cqQueueName :: !Text@@ -84,15 +86,26 @@ -- The following lists the names, descriptions, and values of the special request parameters the 'CreateQueue' action uses: -- -- - 'DelaySeconds' - The time in seconds that the delivery of all messages in the queue will be delayed. An integer from 0 to 900 (15 minutes). The default for this attribute is 0 (zero).+-- -- - 'MaximumMessageSize' - The limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB). The default for this attribute is 262144 (256 KiB).+-- -- - 'MessageRetentionPeriod' - The number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 (1 minute) to 1209600 (14 days). The default for this attribute is 345600 (4 days).+-- -- - 'Policy' - The queue\'s policy. A valid AWS policy. For more information about policy structure, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html Overview of AWS IAM Policies> in the /Amazon IAM User Guide/.+-- -- - 'ReceiveMessageWaitTimeSeconds' - The time for which a < ReceiveMessage> call will wait for a message to arrive. An integer from 0 to 20 (seconds). The default for this attribute is 0.+--+-- - 'RedrivePolicy' - 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/.+-- -- - 'VisibilityTimeout' - The visibility timeout for the queue. An integer from 0 to 43200 (12 hours). The default for this attribute is 30. 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/.+--+-- Any other valid special request parameters that are specified (such as 'ApproximateNumberOfMessages', 'ApproximateNumberOfMessagesDelayed', 'ApproximateNumberOfMessagesNotVisible', 'CreatedTimestamp', 'LastModifiedTimestamp', and 'QueueArn') will be ignored. cqAttributes :: Lens' CreateQueue (HashMap QueueAttributeName Text) cqAttributes = lens _cqAttributes (\ s a -> s{_cqAttributes = a}) . _Default . _Map; -- | The name for the queue to be created.+--+-- Queue names are case-sensitive. cqQueueName :: Lens' CreateQueue Text cqQueueName = lens _cqQueueName (\ s a -> s{_cqQueueName = a});
gen/Network/AWS/SQS/DeleteMessage.hs view
@@ -44,7 +44,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'deleteMessage' smart constructor.+-- |+--+-- /See:/ 'deleteMessage' smart constructor. data DeleteMessage = DeleteMessage' { _dmQueueURL :: !Text , _dmReceiptHandle :: !Text@@ -68,6 +70,8 @@ } -- | The URL of the Amazon SQS queue to take action on.+--+-- Queue URLs are case-sensitive. dmQueueURL :: Lens' DeleteMessage Text dmQueueURL = lens _dmQueueURL (\ s a -> s{_dmQueueURL = a});
gen/Network/AWS/SQS/DeleteMessageBatch.hs view
@@ -24,9 +24,9 @@ -- -- Some API actions take lists of parameters. These lists are specified using the 'param.n' notation. Values of 'n' are integers starting from 1. For example, a parameter list with two elements looks like this: ----- '&Attribute.1=this'+-- '&Attribute.1=this' ----- '&Attribute.2=that'+-- '&Attribute.2=that' module Network.AWS.SQS.DeleteMessageBatch ( -- * Creating a Request@@ -52,7 +52,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'deleteMessageBatch' smart constructor.+-- |+--+-- /See:/ 'deleteMessageBatch' smart constructor. data DeleteMessageBatch = DeleteMessageBatch' { _dmbQueueURL :: !Text , _dmbEntries :: ![DeleteMessageBatchRequestEntry]@@ -75,6 +77,8 @@ } -- | The URL of the Amazon SQS queue to take action on.+--+-- Queue URLs are case-sensitive. dmbQueueURL :: Lens' DeleteMessageBatch Text dmbQueueURL = lens _dmbQueueURL (\ s a -> s{_dmbQueueURL = a});
gen/Network/AWS/SQS/DeleteQueue.hs view
@@ -45,7 +45,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'deleteQueue' smart constructor.+-- |+--+-- /See:/ 'deleteQueue' smart constructor. newtype DeleteQueue = DeleteQueue' { _dqQueueURL :: Text } deriving (Eq,Read,Show,Data,Typeable,Generic)@@ -64,6 +66,8 @@ } -- | The URL of the Amazon SQS queue to take action on.+--+-- Queue URLs are case-sensitive. dqQueueURL :: Lens' DeleteQueue Text dqQueueURL = lens _dqQueueURL (\ s a -> s{_dqQueueURL = a});
gen/Network/AWS/SQS/GetQueueAttributes.hs view
@@ -18,30 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets attributes for the specified queue. 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/.------ Going forward, new attributes might be added. If you are writing code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully.+-- Gets attributes for the specified queue. -- -- Some API actions take lists of parameters. These lists are specified using the 'param.n' notation. Values of 'n' are integers starting from 1. For example, a parameter list with two elements looks like this: ----- '&Attribute.1=this'+-- '&Attribute.1=this' ----- '&Attribute.2=that'+-- '&Attribute.2=that' module Network.AWS.SQS.GetQueueAttributes ( -- * Creating a Request@@ -66,7 +49,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'getQueueAttributes' smart constructor.+-- |+--+-- /See:/ 'getQueueAttributes' smart constructor. data GetQueueAttributes = GetQueueAttributes' { _gqaAttributeNames :: !(Maybe [QueueAttributeName]) , _gqaQueueURL :: !Text@@ -88,11 +73,43 @@ , _gqaQueueURL = pQueueURL_ } --- | A list of attributes to retrieve information for.+-- | 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/.+--+-- Going forward, new attributes might be added. If you are writing code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully. gqaAttributeNames :: Lens' GetQueueAttributes [QueueAttributeName] gqaAttributeNames = lens _gqaAttributeNames (\ s a -> s{_gqaAttributeNames = a}) . _Default . _Coerce; -- | The URL of the Amazon SQS queue to take action on.+--+-- Queue URLs are case-sensitive. gqaQueueURL :: Lens' GetQueueAttributes Text gqaQueueURL = lens _gqaQueueURL (\ s a -> s{_gqaQueueURL = a});
gen/Network/AWS/SQS/GetQueueURL.hs view
@@ -45,7 +45,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'getQueueURL' smart constructor.+-- |+--+-- /See:/ 'getQueueURL' smart constructor. data GetQueueURL = GetQueueURL' { _gquQueueOwnerAWSAccountId :: !(Maybe Text) , _gquQueueName :: !Text@@ -72,6 +74,8 @@ gquQueueOwnerAWSAccountId = lens _gquQueueOwnerAWSAccountId (\ s a -> s{_gquQueueOwnerAWSAccountId = a}); -- | The name of the queue whose URL must be fetched. Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.+--+-- Queue names are case-sensitive. gquQueueName :: Lens' GetQueueURL Text gquQueueName = lens _gquQueueName (\ s a -> s{_gquQueueName = a});
gen/Network/AWS/SQS/ListDeadLetterSourceQueues.hs view
@@ -44,7 +44,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'listDeadLetterSourceQueues' smart constructor.+-- |+--+-- /See:/ 'listDeadLetterSourceQueues' smart constructor. newtype ListDeadLetterSourceQueues = ListDeadLetterSourceQueues' { _ldlsqQueueURL :: Text } deriving (Eq,Read,Show,Data,Typeable,Generic)@@ -63,6 +65,8 @@ } -- | The queue URL of a dead letter queue.+--+-- Queue URLs are case-sensitive. ldlsqQueueURL :: Lens' ListDeadLetterSourceQueues Text ldlsqQueueURL = lens _ldlsqQueueURL (\ s a -> s{_ldlsqQueueURL = a});
gen/Network/AWS/SQS/ListQueues.hs view
@@ -42,7 +42,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'listQueues' smart constructor.+-- |+--+-- /See:/ 'listQueues' smart constructor. newtype ListQueues = ListQueues' { _lqQueueNamePrefix :: Maybe Text } deriving (Eq,Read,Show,Data,Typeable,Generic)@@ -60,6 +62,8 @@ } -- | A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned.+--+-- Queue names are case-sensitive. lqQueueNamePrefix :: Lens' ListQueues (Maybe Text) lqQueueNamePrefix = lens _lqQueueNamePrefix (\ s a -> s{_lqQueueNamePrefix = a});
gen/Network/AWS/SQS/PurgeQueue.hs view
@@ -43,7 +43,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'purgeQueue' smart constructor.+-- |+--+-- /See:/ 'purgeQueue' smart constructor. newtype PurgeQueue = PurgeQueue' { _pqQueueURL :: Text } deriving (Eq,Read,Show,Data,Typeable,Generic)@@ -62,6 +64,8 @@ } -- | The queue URL of the queue to delete the messages from when using the 'PurgeQueue' API.+--+-- Queue URLs are case-sensitive. pqQueueURL :: Lens' PurgeQueue Text pqQueueURL = lens _pqQueueURL (\ s a -> s{_pqQueueURL = a});
gen/Network/AWS/SQS/ReceiveMessage.hs view
@@ -69,7 +69,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'receiveMessage' smart constructor.+-- |+--+-- /See:/ 'receiveMessage' smart constructor. data ReceiveMessage = ReceiveMessage' { _rmVisibilityTimeout :: !(Maybe Int) , _rmMessageAttributeNames :: !(Maybe [Text])@@ -113,7 +115,7 @@ -- | The name of the message attribute, where /N/ is the index. The message attribute name can contain the following characters: A-Z, a-z, 0-9, underscore (_), hyphen (-), and period (.). The name must not start or end with a period, and it should not have successive periods. The name is case sensitive and must be unique among all attribute names for the message. The name can be up to 256 characters long. The name cannot start with \"AWS.\" or \"Amazon.\" (or any variations in casing), because these prefixes are reserved for use by Amazon Web Services. ----- When using 'ReceiveMessage', you can send a list of attribute names to receive, or you can return all of the attributes by specifying \"All\" or \".*\" in your request. You can also use \"foo.*\" to return all message attributes starting with the \"foo\" prefix.+-- When using 'ReceiveMessage', you can send a list of attribute names to receive, or you can return all of the attributes by specifying \"All\" or \".*\" in your request. You can also use \"bar.*\" to return all message attributes starting with the \"bar\" prefix. rmMessageAttributeNames :: Lens' ReceiveMessage [Text] rmMessageAttributeNames = lens _rmMessageAttributeNames (\ s a -> s{_rmMessageAttributeNames = a}) . _Default . _Coerce; @@ -121,15 +123,19 @@ rmWaitTimeSeconds :: Lens' ReceiveMessage (Maybe Int) rmWaitTimeSeconds = lens _rmWaitTimeSeconds (\ s a -> s{_rmWaitTimeSeconds = a}); --- | A list of attributes that need to be returned along with each message.------ The following lists the names and descriptions of the attributes that can be returned:+-- | A list of attributes that need to be returned along with each message. These attributes include: -- -- - 'All' - returns all values.+-- -- - 'ApproximateFirstReceiveTimestamp' - returns the time when the message was first received from the queue (epoch time in milliseconds).+-- -- - 'ApproximateReceiveCount' - returns the number of times a message has been received from the queue but not deleted.+-- -- - 'SenderId' - returns the AWS account number (or the IP address, if anonymous access is allowed) of the sender.+-- -- - 'SentTimestamp' - returns the time when the message was sent to the queue (epoch time in milliseconds).+--+-- Any other valid special request parameters that are specified (such as 'ApproximateNumberOfMessages', 'ApproximateNumberOfMessagesDelayed', 'ApproximateNumberOfMessagesNotVisible', 'CreatedTimestamp', 'DelaySeconds', 'LastModifiedTimestamp', 'MaximumMessageSize', 'MessageRetentionPeriod', 'Policy', 'QueueArn', 'ReceiveMessageWaitTimeSeconds', 'RedrivePolicy', and 'VisibilityTimeout') will be ignored. rmAttributeNames :: Lens' ReceiveMessage [MessageAttribute] rmAttributeNames = lens _rmAttributeNames (\ s a -> s{_rmAttributeNames = a}) . _Default . _Coerce; @@ -140,6 +146,8 @@ rmMaxNumberOfMessages = lens _rmMaxNumberOfMessages (\ s a -> s{_rmMaxNumberOfMessages = a}); -- | The URL of the Amazon SQS queue to take action on.+--+-- Queue URLs are case-sensitive. rmQueueURL :: Lens' ReceiveMessage Text rmQueueURL = lens _rmQueueURL (\ s a -> s{_rmQueueURL = a});
gen/Network/AWS/SQS/RemovePermission.hs view
@@ -40,7 +40,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'removePermission' smart constructor.+-- |+--+-- /See:/ 'removePermission' smart constructor. data RemovePermission = RemovePermission' { _rpQueueURL :: !Text , _rpLabel :: !Text@@ -64,6 +66,8 @@ } -- | The URL of the Amazon SQS queue to take action on.+--+-- Queue URLs are case-sensitive. rpQueueURL :: Lens' RemovePermission Text rpQueueURL = lens _rpQueueURL (\ s a -> s{_rpQueueURL = a});
gen/Network/AWS/SQS/SendMessage.hs view
@@ -51,7 +51,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'sendMessage' smart constructor.+-- |+--+-- /See:/ 'sendMessage' smart constructor. data SendMessage = SendMessage' { _smMessageAttributes :: !(Maybe (Map Text MessageAttributeValue)) , _smDelaySeconds :: !(Maybe Int)@@ -91,6 +93,8 @@ smDelaySeconds = lens _smDelaySeconds (\ s a -> s{_smDelaySeconds = a}); -- | The URL of the Amazon SQS queue to take action on.+--+-- Queue URLs are case-sensitive. smQueueURL :: Lens' SendMessage Text smQueueURL = lens _smQueueURL (\ s a -> s{_smQueueURL = a});
gen/Network/AWS/SQS/SendMessageBatch.hs view
@@ -32,9 +32,9 @@ -- -- Some API actions take lists of parameters. These lists are specified using the 'param.n' notation. Values of 'n' are integers starting from 1. For example, a parameter list with two elements looks like this: ----- '&Attribute.1=this'+-- '&Attribute.1=this' ----- '&Attribute.2=that'+-- '&Attribute.2=that' module Network.AWS.SQS.SendMessageBatch ( -- * Creating a Request@@ -60,7 +60,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'sendMessageBatch' smart constructor.+-- |+--+-- /See:/ 'sendMessageBatch' smart constructor. data SendMessageBatch = SendMessageBatch' { _smbQueueURL :: !Text , _smbEntries :: ![SendMessageBatchRequestEntry]@@ -83,6 +85,8 @@ } -- | The URL of the Amazon SQS queue to take action on.+--+-- Queue URLs are case-sensitive. smbQueueURL :: Lens' SendMessageBatch Text smbQueueURL = lens _smbQueueURL (\ s a -> s{_smbQueueURL = a});
gen/Network/AWS/SQS/SetQueueAttributes.hs view
@@ -42,7 +42,9 @@ import Network.AWS.SQS.Types import Network.AWS.SQS.Types.Product --- | /See:/ 'setQueueAttributes' smart constructor.+-- |+--+-- /See:/ 'setQueueAttributes' smart constructor. data SetQueueAttributes = SetQueueAttributes' { _sqaQueueURL :: !Text , _sqaAttributes :: !(Map QueueAttributeName Text)@@ -65,6 +67,8 @@ } -- | The URL of the Amazon SQS queue to take action on.+--+-- Queue URLs are case-sensitive. sqaQueueURL :: Lens' SetQueueAttributes Text sqaQueueURL = lens _sqaQueueURL (\ s a -> s{_sqaQueueURL = a}); @@ -73,12 +77,20 @@ -- The following lists the names, descriptions, and values of the special request parameters the 'SetQueueAttributes' action uses: -- -- - 'DelaySeconds' - The time in seconds that the delivery of all messages in the queue will be delayed. An integer from 0 to 900 (15 minutes). The default for this attribute is 0 (zero).+-- -- - 'MaximumMessageSize' - The limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB). The default for this attribute is 262144 (256 KiB).+-- -- - 'MessageRetentionPeriod' - The number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 (1 minute) to 1209600 (14 days). The default for this attribute is 345600 (4 days).+-- -- - 'Policy' - The queue\'s policy. A valid AWS policy. For more information about policy structure, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html Overview of AWS IAM Policies> in the /Amazon IAM User Guide/.+-- -- - 'ReceiveMessageWaitTimeSeconds' - The time for which a ReceiveMessage call will wait for a message to arrive. An integer from 0 to 20 (seconds). The default for this attribute is 0.+-- -- - 'VisibilityTimeout' - The visibility timeout for the queue. An integer from 0 to 43200 (12 hours). The default for this attribute is 30. For more information about visibility timeout, see Visibility Timeout in the /Amazon SQS Developer Guide/.+-- -- - 'RedrivePolicy' - The parameters for dead letter queue functionality of the source queue. For more information about RedrivePolicy and dead letter queues, see Using Amazon SQS Dead Letter Queues in the /Amazon SQS Developer Guide/.+--+-- Any other valid special request parameters that are specified (such as 'ApproximateNumberOfMessages', 'ApproximateNumberOfMessagesDelayed', 'ApproximateNumberOfMessagesNotVisible', 'CreatedTimestamp', 'LastModifiedTimestamp', and 'QueueArn') will be ignored. sqaAttributes :: Lens' SetQueueAttributes (HashMap QueueAttributeName Text) sqaAttributes = lens _sqaAttributes (\ s a -> s{_sqaAttributes = a}) . _Map;
gen/Network/AWS/SQS/Types/Product.hs view
@@ -86,11 +86,11 @@ -- -- All of the following parameters are list parameters that must be prefixed with 'ChangeMessageVisibilityBatchRequestEntry.n', where 'n' is an integer value starting with 1. For example, a parameter list for this action might look like this: ----- '&ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2'+-- '&ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2' ----- '&ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=Your_Receipt_Handle'+-- '&ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=\<replaceable>Your_Receipt_Handle\<\/replaceable>' ----- '&ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45'+-- '&ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45' -- -- /See:/ 'changeMessageVisibilityBatchRequestEntry' smart constructor. data ChangeMessageVisibilityBatchRequestEntry = ChangeMessageVisibilityBatchRequestEntry'@@ -402,7 +402,9 @@ mavBinaryListValues :: Lens' MessageAttributeValue [ByteString] mavBinaryListValues = lens _mavBinaryListValues (\ s a -> s{_mavBinaryListValues = a}) . _Default . _Coerce; --- | Amazon SQS supports the following logical data types: String, Number, and Binary. In addition, you can append your own custom labels. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributes.DataTypes Message Attribute Data Types>.+-- | Amazon SQS supports the following logical data types: String, Number, and Binary. For the Number data type, you must use StringValue.+--+-- You can also append custom labels. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributes.DataTypes Message Attribute Data Types>. mavDataType :: Lens' MessageAttributeValue Text mavDataType = lens _mavDataType (\ s a -> s{_mavDataType = a});
gen/Network/AWS/SQS/Types/Sum.hs view
@@ -35,7 +35,7 @@ "senderid" -> pure SenderId "senttimestamp" -> pure SentTimestamp e -> fromTextError $ "Failure parsing MessageAttribute from value: '" <> e- <> "'. Accepted values: All, ApproximateFirstReceiveTimestamp, ApproximateReceiveCount, SenderId, SentTimestamp"+ <> "'. Accepted values: all, approximatefirstreceivetimestamp, approximatereceivecount, senderid, senttimestamp" instance ToText MessageAttribute where toText = \case@@ -86,7 +86,7 @@ "redrivepolicy" -> pure RedrivePolicy "visibilitytimeout" -> pure VisibilityTimeout e -> fromTextError $ "Failure parsing QueueAttributeName from value: '" <> e- <> "'. Accepted values: ApproximateNumberOfMessages, ApproximateNumberOfMessagesDelayed, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, DelaySeconds, LastModifiedTimestamp, MaximumMessageSize, MessageRetentionPeriod, Policy, QueueArn, ReceiveMessageWaitTimeSeconds, RedrivePolicy, VisibilityTimeout"+ <> "'. Accepted values: approximatenumberofmessages, approximatenumberofmessagesdelayed, approximatenumberofmessagesnotvisible, createdtimestamp, delayseconds, lastmodifiedtimestamp, maximummessagesize, messageretentionperiod, policy, queuearn, receivemessagewaittimeseconds, redrivepolicy, visibilitytimeout" instance ToText QueueAttributeName where toText = \case
+ src/.gitkeep view