packages feed

amazonka-sqs 1.6.1 → 2.0

raw patch · 108 files changed

+10218/−5108 lines, 108 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok

version bump matches the API change (PVP)

Dependencies added: case-insensitive

Dependency ranges changed: amazonka-core, amazonka-test, base

API changes (from Hackage documentation)

- Network.AWS.SQS: All :: MessageAttribute
- Network.AWS.SQS: ApproximateFirstReceiveTimestamp :: MessageAttribute
- Network.AWS.SQS: ApproximateReceiveCount :: MessageAttribute
- Network.AWS.SQS: QANAll :: QueueAttributeName
- Network.AWS.SQS: QANApproximateNumberOfMessages :: QueueAttributeName
- Network.AWS.SQS: QANApproximateNumberOfMessagesDelayed :: QueueAttributeName
- Network.AWS.SQS: QANApproximateNumberOfMessagesNotVisible :: QueueAttributeName
- Network.AWS.SQS: QANContentBasedDeduplication :: QueueAttributeName
- Network.AWS.SQS: QANCreatedTimestamp :: QueueAttributeName
- Network.AWS.SQS: QANDelaySeconds :: QueueAttributeName
- Network.AWS.SQS: QANFifoQueue :: QueueAttributeName
- Network.AWS.SQS: QANKMSDataKeyReusePeriodSeconds :: QueueAttributeName
- Network.AWS.SQS: QANKMSMasterKeyId :: QueueAttributeName
- Network.AWS.SQS: QANLastModifiedTimestamp :: QueueAttributeName
- Network.AWS.SQS: QANMaximumMessageSize :: QueueAttributeName
- Network.AWS.SQS: QANMessageRetentionPeriod :: QueueAttributeName
- Network.AWS.SQS: QANPolicy :: QueueAttributeName
- Network.AWS.SQS: QANQueueARN :: QueueAttributeName
- Network.AWS.SQS: QANReceiveMessageWaitTimeSeconds :: QueueAttributeName
- Network.AWS.SQS: QANRedrivePolicy :: QueueAttributeName
- Network.AWS.SQS: QANVisibilityTimeout :: QueueAttributeName
- Network.AWS.SQS: SenderId :: MessageAttribute
- Network.AWS.SQS: SentTimestamp :: MessageAttribute
- Network.AWS.SQS: _BatchEntryIdsNotDistinct :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _BatchRequestTooLong :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _EmptyBatchRequest :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _InvalidAttributeName :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _InvalidBatchEntryId :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _InvalidIdFormat :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _InvalidMessageContents :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _MessageNotInflight :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _OverLimit :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _PurgeQueueInProgress :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _QueueDeletedRecently :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _QueueDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _QueueNameExists :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _ReceiptHandleIsInvalid :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _TooManyEntriesInBatchRequest :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: _UnsupportedOperation :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS: batchResultErrorEntry :: Text -> Bool -> Text -> BatchResultErrorEntry
- Network.AWS.SQS: breeCode :: Lens' BatchResultErrorEntry Text
- Network.AWS.SQS: breeId :: Lens' BatchResultErrorEntry Text
- Network.AWS.SQS: breeMessage :: Lens' BatchResultErrorEntry (Maybe Text)
- Network.AWS.SQS: breeSenderFault :: Lens' BatchResultErrorEntry Bool
- Network.AWS.SQS: cId :: Lens' ChangeMessageVisibilityBatchRequestEntry Text
- Network.AWS.SQS: cReceiptHandle :: Lens' ChangeMessageVisibilityBatchRequestEntry Text
- Network.AWS.SQS: cVisibilityTimeout :: Lens' ChangeMessageVisibilityBatchRequestEntry (Maybe Int)
- Network.AWS.SQS: changeMessageVisibilityBatchRequestEntry :: Text -> Text -> ChangeMessageVisibilityBatchRequestEntry
- Network.AWS.SQS: changeMessageVisibilityBatchResultEntry :: Text -> ChangeMessageVisibilityBatchResultEntry
- Network.AWS.SQS: cmvbreId :: Lens' ChangeMessageVisibilityBatchResultEntry Text
- Network.AWS.SQS: dId :: Lens' DeleteMessageBatchResultEntry Text
- Network.AWS.SQS: data BatchResultErrorEntry
- Network.AWS.SQS: data ChangeMessageVisibilityBatchRequestEntry
- Network.AWS.SQS: data ChangeMessageVisibilityBatchResultEntry
- Network.AWS.SQS: data DeleteMessageBatchRequestEntry
- Network.AWS.SQS: data DeleteMessageBatchResultEntry
- Network.AWS.SQS: data Message
- Network.AWS.SQS: data MessageAttribute
- Network.AWS.SQS: data MessageAttributeValue
- Network.AWS.SQS: data QueueAttributeName
- Network.AWS.SQS: data SendMessageBatchRequestEntry
- Network.AWS.SQS: data SendMessageBatchResultEntry
- Network.AWS.SQS: deleteMessageBatchRequestEntry :: Text -> Text -> DeleteMessageBatchRequestEntry
- Network.AWS.SQS: deleteMessageBatchResultEntry :: Text -> DeleteMessageBatchResultEntry
- Network.AWS.SQS: dmbreId :: Lens' DeleteMessageBatchRequestEntry Text
- Network.AWS.SQS: dmbreReceiptHandle :: Lens' DeleteMessageBatchRequestEntry Text
- Network.AWS.SQS: mAttributes :: Lens' Message (HashMap MessageAttribute Text)
- Network.AWS.SQS: mBody :: Lens' Message (Maybe Text)
- Network.AWS.SQS: mMD5OfBody :: Lens' Message (Maybe Text)
- Network.AWS.SQS: mMD5OfMessageAttributes :: Lens' Message (Maybe Text)
- Network.AWS.SQS: mMessageAttributes :: Lens' Message (HashMap Text MessageAttributeValue)
- Network.AWS.SQS: mMessageId :: Lens' Message (Maybe Text)
- Network.AWS.SQS: mReceiptHandle :: Lens' Message (Maybe Text)
- Network.AWS.SQS: mavBinaryListValues :: Lens' MessageAttributeValue [ByteString]
- Network.AWS.SQS: mavBinaryValue :: Lens' MessageAttributeValue (Maybe ByteString)
- Network.AWS.SQS: mavDataType :: Lens' MessageAttributeValue Text
- Network.AWS.SQS: mavStringListValues :: Lens' MessageAttributeValue [Text]
- Network.AWS.SQS: mavStringValue :: Lens' MessageAttributeValue (Maybe Text)
- Network.AWS.SQS: message :: Message
- Network.AWS.SQS: messageAttributeValue :: Text -> MessageAttributeValue
- Network.AWS.SQS: sDelaySeconds :: Lens' SendMessageBatchRequestEntry (Maybe Int)
- Network.AWS.SQS: sId :: Lens' SendMessageBatchRequestEntry Text
- Network.AWS.SQS: sMessageAttributes :: Lens' SendMessageBatchRequestEntry (HashMap Text MessageAttributeValue)
- Network.AWS.SQS: sMessageBody :: Lens' SendMessageBatchRequestEntry Text
- Network.AWS.SQS: sMessageDeduplicationId :: Lens' SendMessageBatchRequestEntry (Maybe Text)
- Network.AWS.SQS: sMessageGroupId :: Lens' SendMessageBatchRequestEntry (Maybe Text)
- Network.AWS.SQS: sendMessageBatchRequestEntry :: Text -> Text -> SendMessageBatchRequestEntry
- Network.AWS.SQS: sendMessageBatchResultEntry :: Text -> Text -> Text -> SendMessageBatchResultEntry
- Network.AWS.SQS: smbreId :: Lens' SendMessageBatchResultEntry Text
- Network.AWS.SQS: smbreMD5OfMessageAttributes :: Lens' SendMessageBatchResultEntry (Maybe Text)
- Network.AWS.SQS: smbreMD5OfMessageBody :: Lens' SendMessageBatchResultEntry Text
- Network.AWS.SQS: smbreMessageId :: Lens' SendMessageBatchResultEntry Text
- Network.AWS.SQS: smbreSequenceNumber :: Lens' SendMessageBatchResultEntry (Maybe Text)
- Network.AWS.SQS: sqs :: Service
- Network.AWS.SQS.AddPermission: addPermission :: Text -> Text -> AddPermission
- Network.AWS.SQS.AddPermission: addPermissionResponse :: AddPermissionResponse
- Network.AWS.SQS.AddPermission: apAWSAccountIds :: Lens' AddPermission [Text]
- Network.AWS.SQS.AddPermission: apActions :: Lens' AddPermission [Text]
- Network.AWS.SQS.AddPermission: apLabel :: Lens' AddPermission Text
- Network.AWS.SQS.AddPermission: apQueueURL :: Lens' AddPermission Text
- Network.AWS.SQS.AddPermission: data AddPermission
- Network.AWS.SQS.AddPermission: data AddPermissionResponse
- Network.AWS.SQS.AddPermission: instance Control.DeepSeq.NFData Network.AWS.SQS.AddPermission.AddPermission
- Network.AWS.SQS.AddPermission: instance Control.DeepSeq.NFData Network.AWS.SQS.AddPermission.AddPermissionResponse
- Network.AWS.SQS.AddPermission: instance Data.Data.Data Network.AWS.SQS.AddPermission.AddPermission
- Network.AWS.SQS.AddPermission: instance Data.Data.Data Network.AWS.SQS.AddPermission.AddPermissionResponse
- Network.AWS.SQS.AddPermission: instance Data.Hashable.Class.Hashable Network.AWS.SQS.AddPermission.AddPermission
- Network.AWS.SQS.AddPermission: instance GHC.Classes.Eq Network.AWS.SQS.AddPermission.AddPermission
- Network.AWS.SQS.AddPermission: instance GHC.Classes.Eq Network.AWS.SQS.AddPermission.AddPermissionResponse
- Network.AWS.SQS.AddPermission: instance GHC.Generics.Generic Network.AWS.SQS.AddPermission.AddPermission
- Network.AWS.SQS.AddPermission: instance GHC.Generics.Generic Network.AWS.SQS.AddPermission.AddPermissionResponse
- Network.AWS.SQS.AddPermission: instance GHC.Read.Read Network.AWS.SQS.AddPermission.AddPermission
- Network.AWS.SQS.AddPermission: instance GHC.Read.Read Network.AWS.SQS.AddPermission.AddPermissionResponse
- Network.AWS.SQS.AddPermission: instance GHC.Show.Show Network.AWS.SQS.AddPermission.AddPermission
- Network.AWS.SQS.AddPermission: instance GHC.Show.Show Network.AWS.SQS.AddPermission.AddPermissionResponse
- Network.AWS.SQS.AddPermission: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.AddPermission.AddPermission
- Network.AWS.SQS.AddPermission: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.AddPermission.AddPermission
- Network.AWS.SQS.AddPermission: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.AddPermission.AddPermission
- Network.AWS.SQS.AddPermission: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.AddPermission.AddPermission
- Network.AWS.SQS.ChangeMessageVisibility: changeMessageVisibility :: Text -> Text -> Int -> ChangeMessageVisibility
- Network.AWS.SQS.ChangeMessageVisibility: changeMessageVisibilityResponse :: ChangeMessageVisibilityResponse
- Network.AWS.SQS.ChangeMessageVisibility: cmvQueueURL :: Lens' ChangeMessageVisibility Text
- Network.AWS.SQS.ChangeMessageVisibility: cmvReceiptHandle :: Lens' ChangeMessageVisibility Text
- Network.AWS.SQS.ChangeMessageVisibility: cmvVisibilityTimeout :: Lens' ChangeMessageVisibility Int
- Network.AWS.SQS.ChangeMessageVisibility: data ChangeMessageVisibility
- Network.AWS.SQS.ChangeMessageVisibility: data ChangeMessageVisibilityResponse
- Network.AWS.SQS.ChangeMessageVisibility: instance Control.DeepSeq.NFData Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibility
- Network.AWS.SQS.ChangeMessageVisibility: instance Control.DeepSeq.NFData Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibilityResponse
- Network.AWS.SQS.ChangeMessageVisibility: instance Data.Data.Data Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibility
- Network.AWS.SQS.ChangeMessageVisibility: instance Data.Data.Data Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibilityResponse
- Network.AWS.SQS.ChangeMessageVisibility: instance Data.Hashable.Class.Hashable Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibility
- Network.AWS.SQS.ChangeMessageVisibility: instance GHC.Classes.Eq Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibility
- Network.AWS.SQS.ChangeMessageVisibility: instance GHC.Classes.Eq Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibilityResponse
- Network.AWS.SQS.ChangeMessageVisibility: instance GHC.Generics.Generic Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibility
- Network.AWS.SQS.ChangeMessageVisibility: instance GHC.Generics.Generic Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibilityResponse
- Network.AWS.SQS.ChangeMessageVisibility: instance GHC.Read.Read Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibility
- Network.AWS.SQS.ChangeMessageVisibility: instance GHC.Read.Read Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibilityResponse
- Network.AWS.SQS.ChangeMessageVisibility: instance GHC.Show.Show Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibility
- Network.AWS.SQS.ChangeMessageVisibility: instance GHC.Show.Show Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibilityResponse
- Network.AWS.SQS.ChangeMessageVisibility: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibility
- Network.AWS.SQS.ChangeMessageVisibility: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibility
- Network.AWS.SQS.ChangeMessageVisibility: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibility
- Network.AWS.SQS.ChangeMessageVisibility: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.ChangeMessageVisibility.ChangeMessageVisibility
- Network.AWS.SQS.ChangeMessageVisibilityBatch: changeMessageVisibilityBatch :: Text -> ChangeMessageVisibilityBatch
- Network.AWS.SQS.ChangeMessageVisibilityBatch: changeMessageVisibilityBatchResponse :: Int -> ChangeMessageVisibilityBatchResponse
- Network.AWS.SQS.ChangeMessageVisibilityBatch: cmvbEntries :: Lens' ChangeMessageVisibilityBatch [ChangeMessageVisibilityBatchRequestEntry]
- Network.AWS.SQS.ChangeMessageVisibilityBatch: cmvbQueueURL :: Lens' ChangeMessageVisibilityBatch Text
- Network.AWS.SQS.ChangeMessageVisibilityBatch: cmvbrsFailed :: Lens' ChangeMessageVisibilityBatchResponse [BatchResultErrorEntry]
- Network.AWS.SQS.ChangeMessageVisibilityBatch: cmvbrsResponseStatus :: Lens' ChangeMessageVisibilityBatchResponse Int
- Network.AWS.SQS.ChangeMessageVisibilityBatch: cmvbrsSuccessful :: Lens' ChangeMessageVisibilityBatchResponse [ChangeMessageVisibilityBatchResultEntry]
- Network.AWS.SQS.ChangeMessageVisibilityBatch: data ChangeMessageVisibilityBatch
- Network.AWS.SQS.ChangeMessageVisibilityBatch: data ChangeMessageVisibilityBatchResponse
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance Control.DeepSeq.NFData Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance Control.DeepSeq.NFData Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatchResponse
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance Data.Data.Data Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance Data.Data.Data Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatchResponse
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance Data.Hashable.Class.Hashable Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance GHC.Classes.Eq Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance GHC.Classes.Eq Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatchResponse
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance GHC.Generics.Generic Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance GHC.Generics.Generic Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatchResponse
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance GHC.Read.Read Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance GHC.Read.Read Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatchResponse
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance GHC.Show.Show Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance GHC.Show.Show Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatchResponse
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
- Network.AWS.SQS.ChangeMessageVisibilityBatch: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
- Network.AWS.SQS.CreateQueue: cqAttributes :: Lens' CreateQueue (HashMap QueueAttributeName Text)
- Network.AWS.SQS.CreateQueue: cqQueueName :: Lens' CreateQueue Text
- Network.AWS.SQS.CreateQueue: cqrsQueueURL :: Lens' CreateQueueResponse (Maybe Text)
- Network.AWS.SQS.CreateQueue: cqrsResponseStatus :: Lens' CreateQueueResponse Int
- Network.AWS.SQS.CreateQueue: createQueue :: Text -> CreateQueue
- Network.AWS.SQS.CreateQueue: createQueueResponse :: Int -> CreateQueueResponse
- Network.AWS.SQS.CreateQueue: data CreateQueue
- Network.AWS.SQS.CreateQueue: data CreateQueueResponse
- Network.AWS.SQS.CreateQueue: instance Control.DeepSeq.NFData Network.AWS.SQS.CreateQueue.CreateQueue
- Network.AWS.SQS.CreateQueue: instance Control.DeepSeq.NFData Network.AWS.SQS.CreateQueue.CreateQueueResponse
- Network.AWS.SQS.CreateQueue: instance Data.Data.Data Network.AWS.SQS.CreateQueue.CreateQueue
- Network.AWS.SQS.CreateQueue: instance Data.Data.Data Network.AWS.SQS.CreateQueue.CreateQueueResponse
- Network.AWS.SQS.CreateQueue: instance Data.Hashable.Class.Hashable Network.AWS.SQS.CreateQueue.CreateQueue
- Network.AWS.SQS.CreateQueue: instance GHC.Classes.Eq Network.AWS.SQS.CreateQueue.CreateQueue
- Network.AWS.SQS.CreateQueue: instance GHC.Classes.Eq Network.AWS.SQS.CreateQueue.CreateQueueResponse
- Network.AWS.SQS.CreateQueue: instance GHC.Generics.Generic Network.AWS.SQS.CreateQueue.CreateQueue
- Network.AWS.SQS.CreateQueue: instance GHC.Generics.Generic Network.AWS.SQS.CreateQueue.CreateQueueResponse
- Network.AWS.SQS.CreateQueue: instance GHC.Read.Read Network.AWS.SQS.CreateQueue.CreateQueue
- Network.AWS.SQS.CreateQueue: instance GHC.Read.Read Network.AWS.SQS.CreateQueue.CreateQueueResponse
- Network.AWS.SQS.CreateQueue: instance GHC.Show.Show Network.AWS.SQS.CreateQueue.CreateQueue
- Network.AWS.SQS.CreateQueue: instance GHC.Show.Show Network.AWS.SQS.CreateQueue.CreateQueueResponse
- Network.AWS.SQS.CreateQueue: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.CreateQueue.CreateQueue
- Network.AWS.SQS.CreateQueue: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.CreateQueue.CreateQueue
- Network.AWS.SQS.CreateQueue: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.CreateQueue.CreateQueue
- Network.AWS.SQS.CreateQueue: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.CreateQueue.CreateQueue
- Network.AWS.SQS.DeleteMessage: data DeleteMessage
- Network.AWS.SQS.DeleteMessage: data DeleteMessageResponse
- Network.AWS.SQS.DeleteMessage: deleteMessage :: Text -> Text -> DeleteMessage
- Network.AWS.SQS.DeleteMessage: deleteMessageResponse :: DeleteMessageResponse
- Network.AWS.SQS.DeleteMessage: dmQueueURL :: Lens' DeleteMessage Text
- Network.AWS.SQS.DeleteMessage: dmReceiptHandle :: Lens' DeleteMessage Text
- Network.AWS.SQS.DeleteMessage: instance Control.DeepSeq.NFData Network.AWS.SQS.DeleteMessage.DeleteMessage
- Network.AWS.SQS.DeleteMessage: instance Control.DeepSeq.NFData Network.AWS.SQS.DeleteMessage.DeleteMessageResponse
- Network.AWS.SQS.DeleteMessage: instance Data.Data.Data Network.AWS.SQS.DeleteMessage.DeleteMessage
- Network.AWS.SQS.DeleteMessage: instance Data.Data.Data Network.AWS.SQS.DeleteMessage.DeleteMessageResponse
- Network.AWS.SQS.DeleteMessage: instance Data.Hashable.Class.Hashable Network.AWS.SQS.DeleteMessage.DeleteMessage
- Network.AWS.SQS.DeleteMessage: instance GHC.Classes.Eq Network.AWS.SQS.DeleteMessage.DeleteMessage
- Network.AWS.SQS.DeleteMessage: instance GHC.Classes.Eq Network.AWS.SQS.DeleteMessage.DeleteMessageResponse
- Network.AWS.SQS.DeleteMessage: instance GHC.Generics.Generic Network.AWS.SQS.DeleteMessage.DeleteMessage
- Network.AWS.SQS.DeleteMessage: instance GHC.Generics.Generic Network.AWS.SQS.DeleteMessage.DeleteMessageResponse
- Network.AWS.SQS.DeleteMessage: instance GHC.Read.Read Network.AWS.SQS.DeleteMessage.DeleteMessage
- Network.AWS.SQS.DeleteMessage: instance GHC.Read.Read Network.AWS.SQS.DeleteMessage.DeleteMessageResponse
- Network.AWS.SQS.DeleteMessage: instance GHC.Show.Show Network.AWS.SQS.DeleteMessage.DeleteMessage
- Network.AWS.SQS.DeleteMessage: instance GHC.Show.Show Network.AWS.SQS.DeleteMessage.DeleteMessageResponse
- Network.AWS.SQS.DeleteMessage: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.DeleteMessage.DeleteMessage
- Network.AWS.SQS.DeleteMessage: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.DeleteMessage.DeleteMessage
- Network.AWS.SQS.DeleteMessage: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.DeleteMessage.DeleteMessage
- Network.AWS.SQS.DeleteMessage: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.DeleteMessage.DeleteMessage
- Network.AWS.SQS.DeleteMessageBatch: data DeleteMessageBatch
- Network.AWS.SQS.DeleteMessageBatch: data DeleteMessageBatchResponse
- Network.AWS.SQS.DeleteMessageBatch: deleteMessageBatch :: Text -> DeleteMessageBatch
- Network.AWS.SQS.DeleteMessageBatch: deleteMessageBatchResponse :: Int -> DeleteMessageBatchResponse
- Network.AWS.SQS.DeleteMessageBatch: dmbEntries :: Lens' DeleteMessageBatch [DeleteMessageBatchRequestEntry]
- Network.AWS.SQS.DeleteMessageBatch: dmbQueueURL :: Lens' DeleteMessageBatch Text
- Network.AWS.SQS.DeleteMessageBatch: dmbrsFailed :: Lens' DeleteMessageBatchResponse [BatchResultErrorEntry]
- Network.AWS.SQS.DeleteMessageBatch: dmbrsResponseStatus :: Lens' DeleteMessageBatchResponse Int
- Network.AWS.SQS.DeleteMessageBatch: dmbrsSuccessful :: Lens' DeleteMessageBatchResponse [DeleteMessageBatchResultEntry]
- Network.AWS.SQS.DeleteMessageBatch: instance Control.DeepSeq.NFData Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatch
- Network.AWS.SQS.DeleteMessageBatch: instance Control.DeepSeq.NFData Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatchResponse
- Network.AWS.SQS.DeleteMessageBatch: instance Data.Data.Data Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatch
- Network.AWS.SQS.DeleteMessageBatch: instance Data.Data.Data Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatchResponse
- Network.AWS.SQS.DeleteMessageBatch: instance Data.Hashable.Class.Hashable Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatch
- Network.AWS.SQS.DeleteMessageBatch: instance GHC.Classes.Eq Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatch
- Network.AWS.SQS.DeleteMessageBatch: instance GHC.Classes.Eq Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatchResponse
- Network.AWS.SQS.DeleteMessageBatch: instance GHC.Generics.Generic Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatch
- Network.AWS.SQS.DeleteMessageBatch: instance GHC.Generics.Generic Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatchResponse
- Network.AWS.SQS.DeleteMessageBatch: instance GHC.Read.Read Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatch
- Network.AWS.SQS.DeleteMessageBatch: instance GHC.Read.Read Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatchResponse
- Network.AWS.SQS.DeleteMessageBatch: instance GHC.Show.Show Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatch
- Network.AWS.SQS.DeleteMessageBatch: instance GHC.Show.Show Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatchResponse
- Network.AWS.SQS.DeleteMessageBatch: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatch
- Network.AWS.SQS.DeleteMessageBatch: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatch
- Network.AWS.SQS.DeleteMessageBatch: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatch
- Network.AWS.SQS.DeleteMessageBatch: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.DeleteMessageBatch.DeleteMessageBatch
- Network.AWS.SQS.DeleteQueue: data DeleteQueue
- Network.AWS.SQS.DeleteQueue: data DeleteQueueResponse
- Network.AWS.SQS.DeleteQueue: deleteQueue :: Text -> DeleteQueue
- Network.AWS.SQS.DeleteQueue: deleteQueueResponse :: DeleteQueueResponse
- Network.AWS.SQS.DeleteQueue: dqQueueURL :: Lens' DeleteQueue Text
- Network.AWS.SQS.DeleteQueue: instance Control.DeepSeq.NFData Network.AWS.SQS.DeleteQueue.DeleteQueue
- Network.AWS.SQS.DeleteQueue: instance Control.DeepSeq.NFData Network.AWS.SQS.DeleteQueue.DeleteQueueResponse
- Network.AWS.SQS.DeleteQueue: instance Data.Data.Data Network.AWS.SQS.DeleteQueue.DeleteQueue
- Network.AWS.SQS.DeleteQueue: instance Data.Data.Data Network.AWS.SQS.DeleteQueue.DeleteQueueResponse
- Network.AWS.SQS.DeleteQueue: instance Data.Hashable.Class.Hashable Network.AWS.SQS.DeleteQueue.DeleteQueue
- Network.AWS.SQS.DeleteQueue: instance GHC.Classes.Eq Network.AWS.SQS.DeleteQueue.DeleteQueue
- Network.AWS.SQS.DeleteQueue: instance GHC.Classes.Eq Network.AWS.SQS.DeleteQueue.DeleteQueueResponse
- Network.AWS.SQS.DeleteQueue: instance GHC.Generics.Generic Network.AWS.SQS.DeleteQueue.DeleteQueue
- Network.AWS.SQS.DeleteQueue: instance GHC.Generics.Generic Network.AWS.SQS.DeleteQueue.DeleteQueueResponse
- Network.AWS.SQS.DeleteQueue: instance GHC.Read.Read Network.AWS.SQS.DeleteQueue.DeleteQueue
- Network.AWS.SQS.DeleteQueue: instance GHC.Read.Read Network.AWS.SQS.DeleteQueue.DeleteQueueResponse
- Network.AWS.SQS.DeleteQueue: instance GHC.Show.Show Network.AWS.SQS.DeleteQueue.DeleteQueue
- Network.AWS.SQS.DeleteQueue: instance GHC.Show.Show Network.AWS.SQS.DeleteQueue.DeleteQueueResponse
- Network.AWS.SQS.DeleteQueue: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.DeleteQueue.DeleteQueue
- Network.AWS.SQS.DeleteQueue: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.DeleteQueue.DeleteQueue
- Network.AWS.SQS.DeleteQueue: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.DeleteQueue.DeleteQueue
- Network.AWS.SQS.DeleteQueue: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.DeleteQueue.DeleteQueue
- Network.AWS.SQS.GetQueueAttributes: data GetQueueAttributes
- Network.AWS.SQS.GetQueueAttributes: data GetQueueAttributesResponse
- Network.AWS.SQS.GetQueueAttributes: getQueueAttributes :: Text -> GetQueueAttributes
- Network.AWS.SQS.GetQueueAttributes: getQueueAttributesResponse :: Int -> GetQueueAttributesResponse
- Network.AWS.SQS.GetQueueAttributes: gqaAttributeNames :: Lens' GetQueueAttributes [QueueAttributeName]
- Network.AWS.SQS.GetQueueAttributes: gqaQueueURL :: Lens' GetQueueAttributes Text
- Network.AWS.SQS.GetQueueAttributes: gqarsAttributes :: Lens' GetQueueAttributesResponse (HashMap QueueAttributeName Text)
- Network.AWS.SQS.GetQueueAttributes: gqarsResponseStatus :: Lens' GetQueueAttributesResponse Int
- Network.AWS.SQS.GetQueueAttributes: instance Control.DeepSeq.NFData Network.AWS.SQS.GetQueueAttributes.GetQueueAttributes
- Network.AWS.SQS.GetQueueAttributes: instance Control.DeepSeq.NFData Network.AWS.SQS.GetQueueAttributes.GetQueueAttributesResponse
- Network.AWS.SQS.GetQueueAttributes: instance Data.Data.Data Network.AWS.SQS.GetQueueAttributes.GetQueueAttributes
- Network.AWS.SQS.GetQueueAttributes: instance Data.Data.Data Network.AWS.SQS.GetQueueAttributes.GetQueueAttributesResponse
- Network.AWS.SQS.GetQueueAttributes: instance Data.Hashable.Class.Hashable Network.AWS.SQS.GetQueueAttributes.GetQueueAttributes
- Network.AWS.SQS.GetQueueAttributes: instance GHC.Classes.Eq Network.AWS.SQS.GetQueueAttributes.GetQueueAttributes
- Network.AWS.SQS.GetQueueAttributes: instance GHC.Classes.Eq Network.AWS.SQS.GetQueueAttributes.GetQueueAttributesResponse
- Network.AWS.SQS.GetQueueAttributes: instance GHC.Generics.Generic Network.AWS.SQS.GetQueueAttributes.GetQueueAttributes
- Network.AWS.SQS.GetQueueAttributes: instance GHC.Generics.Generic Network.AWS.SQS.GetQueueAttributes.GetQueueAttributesResponse
- Network.AWS.SQS.GetQueueAttributes: instance GHC.Read.Read Network.AWS.SQS.GetQueueAttributes.GetQueueAttributes
- Network.AWS.SQS.GetQueueAttributes: instance GHC.Read.Read Network.AWS.SQS.GetQueueAttributes.GetQueueAttributesResponse
- Network.AWS.SQS.GetQueueAttributes: instance GHC.Show.Show Network.AWS.SQS.GetQueueAttributes.GetQueueAttributes
- Network.AWS.SQS.GetQueueAttributes: instance GHC.Show.Show Network.AWS.SQS.GetQueueAttributes.GetQueueAttributesResponse
- Network.AWS.SQS.GetQueueAttributes: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.GetQueueAttributes.GetQueueAttributes
- Network.AWS.SQS.GetQueueAttributes: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.GetQueueAttributes.GetQueueAttributes
- Network.AWS.SQS.GetQueueAttributes: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.GetQueueAttributes.GetQueueAttributes
- Network.AWS.SQS.GetQueueAttributes: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.GetQueueAttributes.GetQueueAttributes
- Network.AWS.SQS.GetQueueURL: data GetQueueURL
- Network.AWS.SQS.GetQueueURL: data GetQueueURLResponse
- Network.AWS.SQS.GetQueueURL: getQueueURL :: Text -> GetQueueURL
- Network.AWS.SQS.GetQueueURL: getQueueURLResponse :: Int -> Text -> GetQueueURLResponse
- Network.AWS.SQS.GetQueueURL: gquQueueName :: Lens' GetQueueURL Text
- Network.AWS.SQS.GetQueueURL: gquQueueOwnerAWSAccountId :: Lens' GetQueueURL (Maybe Text)
- Network.AWS.SQS.GetQueueURL: gqursQueueURL :: Lens' GetQueueURLResponse Text
- Network.AWS.SQS.GetQueueURL: gqursResponseStatus :: Lens' GetQueueURLResponse Int
- Network.AWS.SQS.GetQueueURL: instance Control.DeepSeq.NFData Network.AWS.SQS.GetQueueURL.GetQueueURL
- Network.AWS.SQS.GetQueueURL: instance Control.DeepSeq.NFData Network.AWS.SQS.GetQueueURL.GetQueueURLResponse
- Network.AWS.SQS.GetQueueURL: instance Data.Data.Data Network.AWS.SQS.GetQueueURL.GetQueueURL
- Network.AWS.SQS.GetQueueURL: instance Data.Data.Data Network.AWS.SQS.GetQueueURL.GetQueueURLResponse
- Network.AWS.SQS.GetQueueURL: instance Data.Hashable.Class.Hashable Network.AWS.SQS.GetQueueURL.GetQueueURL
- Network.AWS.SQS.GetQueueURL: instance GHC.Classes.Eq Network.AWS.SQS.GetQueueURL.GetQueueURL
- Network.AWS.SQS.GetQueueURL: instance GHC.Classes.Eq Network.AWS.SQS.GetQueueURL.GetQueueURLResponse
- Network.AWS.SQS.GetQueueURL: instance GHC.Generics.Generic Network.AWS.SQS.GetQueueURL.GetQueueURL
- Network.AWS.SQS.GetQueueURL: instance GHC.Generics.Generic Network.AWS.SQS.GetQueueURL.GetQueueURLResponse
- Network.AWS.SQS.GetQueueURL: instance GHC.Read.Read Network.AWS.SQS.GetQueueURL.GetQueueURL
- Network.AWS.SQS.GetQueueURL: instance GHC.Read.Read Network.AWS.SQS.GetQueueURL.GetQueueURLResponse
- Network.AWS.SQS.GetQueueURL: instance GHC.Show.Show Network.AWS.SQS.GetQueueURL.GetQueueURL
- Network.AWS.SQS.GetQueueURL: instance GHC.Show.Show Network.AWS.SQS.GetQueueURL.GetQueueURLResponse
- Network.AWS.SQS.GetQueueURL: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.GetQueueURL.GetQueueURL
- Network.AWS.SQS.GetQueueURL: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.GetQueueURL.GetQueueURL
- Network.AWS.SQS.GetQueueURL: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.GetQueueURL.GetQueueURL
- Network.AWS.SQS.GetQueueURL: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.GetQueueURL.GetQueueURL
- Network.AWS.SQS.ListDeadLetterSourceQueues: data ListDeadLetterSourceQueues
- Network.AWS.SQS.ListDeadLetterSourceQueues: data ListDeadLetterSourceQueuesResponse
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance Control.DeepSeq.NFData Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance Control.DeepSeq.NFData Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueuesResponse
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance Data.Data.Data Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance Data.Data.Data Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueuesResponse
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance Data.Hashable.Class.Hashable Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance GHC.Classes.Eq Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance GHC.Classes.Eq Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueuesResponse
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance GHC.Generics.Generic Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance GHC.Generics.Generic Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueuesResponse
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance GHC.Read.Read Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance GHC.Read.Read Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueuesResponse
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance GHC.Show.Show Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance GHC.Show.Show Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueuesResponse
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
- Network.AWS.SQS.ListDeadLetterSourceQueues: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
- Network.AWS.SQS.ListDeadLetterSourceQueues: ldlsqQueueURL :: Lens' ListDeadLetterSourceQueues Text
- Network.AWS.SQS.ListDeadLetterSourceQueues: ldlsqrsQueueURLs :: Lens' ListDeadLetterSourceQueuesResponse [Text]
- Network.AWS.SQS.ListDeadLetterSourceQueues: ldlsqrsResponseStatus :: Lens' ListDeadLetterSourceQueuesResponse Int
- Network.AWS.SQS.ListDeadLetterSourceQueues: listDeadLetterSourceQueues :: Text -> ListDeadLetterSourceQueues
- Network.AWS.SQS.ListDeadLetterSourceQueues: listDeadLetterSourceQueuesResponse :: Int -> ListDeadLetterSourceQueuesResponse
- Network.AWS.SQS.ListQueueTags: data ListQueueTags
- Network.AWS.SQS.ListQueueTags: data ListQueueTagsResponse
- Network.AWS.SQS.ListQueueTags: instance Control.DeepSeq.NFData Network.AWS.SQS.ListQueueTags.ListQueueTags
- Network.AWS.SQS.ListQueueTags: instance Control.DeepSeq.NFData Network.AWS.SQS.ListQueueTags.ListQueueTagsResponse
- Network.AWS.SQS.ListQueueTags: instance Data.Data.Data Network.AWS.SQS.ListQueueTags.ListQueueTags
- Network.AWS.SQS.ListQueueTags: instance Data.Data.Data Network.AWS.SQS.ListQueueTags.ListQueueTagsResponse
- Network.AWS.SQS.ListQueueTags: instance Data.Hashable.Class.Hashable Network.AWS.SQS.ListQueueTags.ListQueueTags
- Network.AWS.SQS.ListQueueTags: instance GHC.Classes.Eq Network.AWS.SQS.ListQueueTags.ListQueueTags
- Network.AWS.SQS.ListQueueTags: instance GHC.Classes.Eq Network.AWS.SQS.ListQueueTags.ListQueueTagsResponse
- Network.AWS.SQS.ListQueueTags: instance GHC.Generics.Generic Network.AWS.SQS.ListQueueTags.ListQueueTags
- Network.AWS.SQS.ListQueueTags: instance GHC.Generics.Generic Network.AWS.SQS.ListQueueTags.ListQueueTagsResponse
- Network.AWS.SQS.ListQueueTags: instance GHC.Read.Read Network.AWS.SQS.ListQueueTags.ListQueueTags
- Network.AWS.SQS.ListQueueTags: instance GHC.Read.Read Network.AWS.SQS.ListQueueTags.ListQueueTagsResponse
- Network.AWS.SQS.ListQueueTags: instance GHC.Show.Show Network.AWS.SQS.ListQueueTags.ListQueueTags
- Network.AWS.SQS.ListQueueTags: instance GHC.Show.Show Network.AWS.SQS.ListQueueTags.ListQueueTagsResponse
- Network.AWS.SQS.ListQueueTags: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.ListQueueTags.ListQueueTags
- Network.AWS.SQS.ListQueueTags: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.ListQueueTags.ListQueueTags
- Network.AWS.SQS.ListQueueTags: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.ListQueueTags.ListQueueTags
- Network.AWS.SQS.ListQueueTags: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.ListQueueTags.ListQueueTags
- Network.AWS.SQS.ListQueueTags: listQueueTags :: Text -> ListQueueTags
- Network.AWS.SQS.ListQueueTags: listQueueTagsResponse :: Int -> ListQueueTagsResponse
- Network.AWS.SQS.ListQueueTags: lqtQueueURL :: Lens' ListQueueTags Text
- Network.AWS.SQS.ListQueueTags: lqtrsResponseStatus :: Lens' ListQueueTagsResponse Int
- Network.AWS.SQS.ListQueueTags: lqtrsTags :: Lens' ListQueueTagsResponse (HashMap Text Text)
- Network.AWS.SQS.ListQueues: data ListQueues
- Network.AWS.SQS.ListQueues: data ListQueuesResponse
- Network.AWS.SQS.ListQueues: instance Control.DeepSeq.NFData Network.AWS.SQS.ListQueues.ListQueues
- Network.AWS.SQS.ListQueues: instance Control.DeepSeq.NFData Network.AWS.SQS.ListQueues.ListQueuesResponse
- Network.AWS.SQS.ListQueues: instance Data.Data.Data Network.AWS.SQS.ListQueues.ListQueues
- Network.AWS.SQS.ListQueues: instance Data.Data.Data Network.AWS.SQS.ListQueues.ListQueuesResponse
- Network.AWS.SQS.ListQueues: instance Data.Hashable.Class.Hashable Network.AWS.SQS.ListQueues.ListQueues
- Network.AWS.SQS.ListQueues: instance GHC.Classes.Eq Network.AWS.SQS.ListQueues.ListQueues
- Network.AWS.SQS.ListQueues: instance GHC.Classes.Eq Network.AWS.SQS.ListQueues.ListQueuesResponse
- Network.AWS.SQS.ListQueues: instance GHC.Generics.Generic Network.AWS.SQS.ListQueues.ListQueues
- Network.AWS.SQS.ListQueues: instance GHC.Generics.Generic Network.AWS.SQS.ListQueues.ListQueuesResponse
- Network.AWS.SQS.ListQueues: instance GHC.Read.Read Network.AWS.SQS.ListQueues.ListQueues
- Network.AWS.SQS.ListQueues: instance GHC.Read.Read Network.AWS.SQS.ListQueues.ListQueuesResponse
- Network.AWS.SQS.ListQueues: instance GHC.Show.Show Network.AWS.SQS.ListQueues.ListQueues
- Network.AWS.SQS.ListQueues: instance GHC.Show.Show Network.AWS.SQS.ListQueues.ListQueuesResponse
- Network.AWS.SQS.ListQueues: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.ListQueues.ListQueues
- Network.AWS.SQS.ListQueues: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.ListQueues.ListQueues
- Network.AWS.SQS.ListQueues: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.ListQueues.ListQueues
- Network.AWS.SQS.ListQueues: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.ListQueues.ListQueues
- Network.AWS.SQS.ListQueues: listQueues :: ListQueues
- Network.AWS.SQS.ListQueues: listQueuesResponse :: Int -> ListQueuesResponse
- Network.AWS.SQS.ListQueues: lqQueueNamePrefix :: Lens' ListQueues (Maybe Text)
- Network.AWS.SQS.ListQueues: lqrsQueueURLs :: Lens' ListQueuesResponse [Text]
- Network.AWS.SQS.ListQueues: lqrsResponseStatus :: Lens' ListQueuesResponse Int
- Network.AWS.SQS.PurgeQueue: data PurgeQueue
- Network.AWS.SQS.PurgeQueue: data PurgeQueueResponse
- Network.AWS.SQS.PurgeQueue: instance Control.DeepSeq.NFData Network.AWS.SQS.PurgeQueue.PurgeQueue
- Network.AWS.SQS.PurgeQueue: instance Control.DeepSeq.NFData Network.AWS.SQS.PurgeQueue.PurgeQueueResponse
- Network.AWS.SQS.PurgeQueue: instance Data.Data.Data Network.AWS.SQS.PurgeQueue.PurgeQueue
- Network.AWS.SQS.PurgeQueue: instance Data.Data.Data Network.AWS.SQS.PurgeQueue.PurgeQueueResponse
- Network.AWS.SQS.PurgeQueue: instance Data.Hashable.Class.Hashable Network.AWS.SQS.PurgeQueue.PurgeQueue
- Network.AWS.SQS.PurgeQueue: instance GHC.Classes.Eq Network.AWS.SQS.PurgeQueue.PurgeQueue
- Network.AWS.SQS.PurgeQueue: instance GHC.Classes.Eq Network.AWS.SQS.PurgeQueue.PurgeQueueResponse
- Network.AWS.SQS.PurgeQueue: instance GHC.Generics.Generic Network.AWS.SQS.PurgeQueue.PurgeQueue
- Network.AWS.SQS.PurgeQueue: instance GHC.Generics.Generic Network.AWS.SQS.PurgeQueue.PurgeQueueResponse
- Network.AWS.SQS.PurgeQueue: instance GHC.Read.Read Network.AWS.SQS.PurgeQueue.PurgeQueue
- Network.AWS.SQS.PurgeQueue: instance GHC.Read.Read Network.AWS.SQS.PurgeQueue.PurgeQueueResponse
- Network.AWS.SQS.PurgeQueue: instance GHC.Show.Show Network.AWS.SQS.PurgeQueue.PurgeQueue
- Network.AWS.SQS.PurgeQueue: instance GHC.Show.Show Network.AWS.SQS.PurgeQueue.PurgeQueueResponse
- Network.AWS.SQS.PurgeQueue: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.PurgeQueue.PurgeQueue
- Network.AWS.SQS.PurgeQueue: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.PurgeQueue.PurgeQueue
- Network.AWS.SQS.PurgeQueue: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.PurgeQueue.PurgeQueue
- Network.AWS.SQS.PurgeQueue: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.PurgeQueue.PurgeQueue
- Network.AWS.SQS.PurgeQueue: pqQueueURL :: Lens' PurgeQueue Text
- Network.AWS.SQS.PurgeQueue: purgeQueue :: Text -> PurgeQueue
- Network.AWS.SQS.PurgeQueue: purgeQueueResponse :: PurgeQueueResponse
- Network.AWS.SQS.ReceiveMessage: data ReceiveMessage
- Network.AWS.SQS.ReceiveMessage: data ReceiveMessageResponse
- Network.AWS.SQS.ReceiveMessage: instance Control.DeepSeq.NFData Network.AWS.SQS.ReceiveMessage.ReceiveMessage
- Network.AWS.SQS.ReceiveMessage: instance Control.DeepSeq.NFData Network.AWS.SQS.ReceiveMessage.ReceiveMessageResponse
- Network.AWS.SQS.ReceiveMessage: instance Data.Data.Data Network.AWS.SQS.ReceiveMessage.ReceiveMessage
- Network.AWS.SQS.ReceiveMessage: instance Data.Data.Data Network.AWS.SQS.ReceiveMessage.ReceiveMessageResponse
- Network.AWS.SQS.ReceiveMessage: instance Data.Hashable.Class.Hashable Network.AWS.SQS.ReceiveMessage.ReceiveMessage
- Network.AWS.SQS.ReceiveMessage: instance GHC.Classes.Eq Network.AWS.SQS.ReceiveMessage.ReceiveMessage
- Network.AWS.SQS.ReceiveMessage: instance GHC.Classes.Eq Network.AWS.SQS.ReceiveMessage.ReceiveMessageResponse
- Network.AWS.SQS.ReceiveMessage: instance GHC.Generics.Generic Network.AWS.SQS.ReceiveMessage.ReceiveMessage
- Network.AWS.SQS.ReceiveMessage: instance GHC.Generics.Generic Network.AWS.SQS.ReceiveMessage.ReceiveMessageResponse
- Network.AWS.SQS.ReceiveMessage: instance GHC.Read.Read Network.AWS.SQS.ReceiveMessage.ReceiveMessage
- Network.AWS.SQS.ReceiveMessage: instance GHC.Read.Read Network.AWS.SQS.ReceiveMessage.ReceiveMessageResponse
- Network.AWS.SQS.ReceiveMessage: instance GHC.Show.Show Network.AWS.SQS.ReceiveMessage.ReceiveMessage
- Network.AWS.SQS.ReceiveMessage: instance GHC.Show.Show Network.AWS.SQS.ReceiveMessage.ReceiveMessageResponse
- Network.AWS.SQS.ReceiveMessage: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.ReceiveMessage.ReceiveMessage
- Network.AWS.SQS.ReceiveMessage: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.ReceiveMessage.ReceiveMessage
- Network.AWS.SQS.ReceiveMessage: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.ReceiveMessage.ReceiveMessage
- Network.AWS.SQS.ReceiveMessage: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.ReceiveMessage.ReceiveMessage
- Network.AWS.SQS.ReceiveMessage: receiveMessage :: Text -> ReceiveMessage
- Network.AWS.SQS.ReceiveMessage: receiveMessageResponse :: Int -> ReceiveMessageResponse
- Network.AWS.SQS.ReceiveMessage: rmAttributeNames :: Lens' ReceiveMessage [MessageAttribute]
- Network.AWS.SQS.ReceiveMessage: rmMaxNumberOfMessages :: Lens' ReceiveMessage (Maybe Int)
- Network.AWS.SQS.ReceiveMessage: rmMessageAttributeNames :: Lens' ReceiveMessage [Text]
- Network.AWS.SQS.ReceiveMessage: rmQueueURL :: Lens' ReceiveMessage Text
- Network.AWS.SQS.ReceiveMessage: rmReceiveRequestAttemptId :: Lens' ReceiveMessage (Maybe Text)
- Network.AWS.SQS.ReceiveMessage: rmVisibilityTimeout :: Lens' ReceiveMessage (Maybe Int)
- Network.AWS.SQS.ReceiveMessage: rmWaitTimeSeconds :: Lens' ReceiveMessage (Maybe Int)
- Network.AWS.SQS.ReceiveMessage: rmrsMessages :: Lens' ReceiveMessageResponse [Message]
- Network.AWS.SQS.ReceiveMessage: rmrsResponseStatus :: Lens' ReceiveMessageResponse Int
- Network.AWS.SQS.RemovePermission: data RemovePermission
- Network.AWS.SQS.RemovePermission: data RemovePermissionResponse
- Network.AWS.SQS.RemovePermission: instance Control.DeepSeq.NFData Network.AWS.SQS.RemovePermission.RemovePermission
- Network.AWS.SQS.RemovePermission: instance Control.DeepSeq.NFData Network.AWS.SQS.RemovePermission.RemovePermissionResponse
- Network.AWS.SQS.RemovePermission: instance Data.Data.Data Network.AWS.SQS.RemovePermission.RemovePermission
- Network.AWS.SQS.RemovePermission: instance Data.Data.Data Network.AWS.SQS.RemovePermission.RemovePermissionResponse
- Network.AWS.SQS.RemovePermission: instance Data.Hashable.Class.Hashable Network.AWS.SQS.RemovePermission.RemovePermission
- Network.AWS.SQS.RemovePermission: instance GHC.Classes.Eq Network.AWS.SQS.RemovePermission.RemovePermission
- Network.AWS.SQS.RemovePermission: instance GHC.Classes.Eq Network.AWS.SQS.RemovePermission.RemovePermissionResponse
- Network.AWS.SQS.RemovePermission: instance GHC.Generics.Generic Network.AWS.SQS.RemovePermission.RemovePermission
- Network.AWS.SQS.RemovePermission: instance GHC.Generics.Generic Network.AWS.SQS.RemovePermission.RemovePermissionResponse
- Network.AWS.SQS.RemovePermission: instance GHC.Read.Read Network.AWS.SQS.RemovePermission.RemovePermission
- Network.AWS.SQS.RemovePermission: instance GHC.Read.Read Network.AWS.SQS.RemovePermission.RemovePermissionResponse
- Network.AWS.SQS.RemovePermission: instance GHC.Show.Show Network.AWS.SQS.RemovePermission.RemovePermission
- Network.AWS.SQS.RemovePermission: instance GHC.Show.Show Network.AWS.SQS.RemovePermission.RemovePermissionResponse
- Network.AWS.SQS.RemovePermission: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.RemovePermission.RemovePermission
- Network.AWS.SQS.RemovePermission: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.RemovePermission.RemovePermission
- Network.AWS.SQS.RemovePermission: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.RemovePermission.RemovePermission
- Network.AWS.SQS.RemovePermission: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.RemovePermission.RemovePermission
- Network.AWS.SQS.RemovePermission: removePermission :: Text -> Text -> RemovePermission
- Network.AWS.SQS.RemovePermission: removePermissionResponse :: RemovePermissionResponse
- Network.AWS.SQS.RemovePermission: rpLabel :: Lens' RemovePermission Text
- Network.AWS.SQS.RemovePermission: rpQueueURL :: Lens' RemovePermission Text
- Network.AWS.SQS.SendMessage: data SendMessage
- Network.AWS.SQS.SendMessage: data SendMessageResponse
- Network.AWS.SQS.SendMessage: instance Control.DeepSeq.NFData Network.AWS.SQS.SendMessage.SendMessage
- Network.AWS.SQS.SendMessage: instance Control.DeepSeq.NFData Network.AWS.SQS.SendMessage.SendMessageResponse
- Network.AWS.SQS.SendMessage: instance Data.Data.Data Network.AWS.SQS.SendMessage.SendMessage
- Network.AWS.SQS.SendMessage: instance Data.Data.Data Network.AWS.SQS.SendMessage.SendMessageResponse
- Network.AWS.SQS.SendMessage: instance Data.Hashable.Class.Hashable Network.AWS.SQS.SendMessage.SendMessage
- Network.AWS.SQS.SendMessage: instance GHC.Classes.Eq Network.AWS.SQS.SendMessage.SendMessage
- Network.AWS.SQS.SendMessage: instance GHC.Classes.Eq Network.AWS.SQS.SendMessage.SendMessageResponse
- Network.AWS.SQS.SendMessage: instance GHC.Generics.Generic Network.AWS.SQS.SendMessage.SendMessage
- Network.AWS.SQS.SendMessage: instance GHC.Generics.Generic Network.AWS.SQS.SendMessage.SendMessageResponse
- Network.AWS.SQS.SendMessage: instance GHC.Read.Read Network.AWS.SQS.SendMessage.SendMessage
- Network.AWS.SQS.SendMessage: instance GHC.Read.Read Network.AWS.SQS.SendMessage.SendMessageResponse
- Network.AWS.SQS.SendMessage: instance GHC.Show.Show Network.AWS.SQS.SendMessage.SendMessage
- Network.AWS.SQS.SendMessage: instance GHC.Show.Show Network.AWS.SQS.SendMessage.SendMessageResponse
- Network.AWS.SQS.SendMessage: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.SendMessage.SendMessage
- Network.AWS.SQS.SendMessage: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.SendMessage.SendMessage
- Network.AWS.SQS.SendMessage: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.SendMessage.SendMessage
- Network.AWS.SQS.SendMessage: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.SendMessage.SendMessage
- Network.AWS.SQS.SendMessage: sendMessage :: Text -> Text -> SendMessage
- Network.AWS.SQS.SendMessage: sendMessageResponse :: Int -> SendMessageResponse
- Network.AWS.SQS.SendMessage: smDelaySeconds :: Lens' SendMessage (Maybe Int)
- Network.AWS.SQS.SendMessage: smMessageAttributes :: Lens' SendMessage (HashMap Text MessageAttributeValue)
- Network.AWS.SQS.SendMessage: smMessageBody :: Lens' SendMessage Text
- Network.AWS.SQS.SendMessage: smMessageDeduplicationId :: Lens' SendMessage (Maybe Text)
- Network.AWS.SQS.SendMessage: smMessageGroupId :: Lens' SendMessage (Maybe Text)
- Network.AWS.SQS.SendMessage: smQueueURL :: Lens' SendMessage Text
- Network.AWS.SQS.SendMessage: smrsMD5OfMessageAttributes :: Lens' SendMessageResponse (Maybe Text)
- Network.AWS.SQS.SendMessage: smrsMD5OfMessageBody :: Lens' SendMessageResponse (Maybe Text)
- Network.AWS.SQS.SendMessage: smrsMessageId :: Lens' SendMessageResponse (Maybe Text)
- Network.AWS.SQS.SendMessage: smrsResponseStatus :: Lens' SendMessageResponse Int
- Network.AWS.SQS.SendMessage: smrsSequenceNumber :: Lens' SendMessageResponse (Maybe Text)
- Network.AWS.SQS.SendMessageBatch: data SendMessageBatch
- Network.AWS.SQS.SendMessageBatch: data SendMessageBatchResponse
- Network.AWS.SQS.SendMessageBatch: instance Control.DeepSeq.NFData Network.AWS.SQS.SendMessageBatch.SendMessageBatch
- Network.AWS.SQS.SendMessageBatch: instance Control.DeepSeq.NFData Network.AWS.SQS.SendMessageBatch.SendMessageBatchResponse
- Network.AWS.SQS.SendMessageBatch: instance Data.Data.Data Network.AWS.SQS.SendMessageBatch.SendMessageBatch
- Network.AWS.SQS.SendMessageBatch: instance Data.Data.Data Network.AWS.SQS.SendMessageBatch.SendMessageBatchResponse
- Network.AWS.SQS.SendMessageBatch: instance Data.Hashable.Class.Hashable Network.AWS.SQS.SendMessageBatch.SendMessageBatch
- Network.AWS.SQS.SendMessageBatch: instance GHC.Classes.Eq Network.AWS.SQS.SendMessageBatch.SendMessageBatch
- Network.AWS.SQS.SendMessageBatch: instance GHC.Classes.Eq Network.AWS.SQS.SendMessageBatch.SendMessageBatchResponse
- Network.AWS.SQS.SendMessageBatch: instance GHC.Generics.Generic Network.AWS.SQS.SendMessageBatch.SendMessageBatch
- Network.AWS.SQS.SendMessageBatch: instance GHC.Generics.Generic Network.AWS.SQS.SendMessageBatch.SendMessageBatchResponse
- Network.AWS.SQS.SendMessageBatch: instance GHC.Read.Read Network.AWS.SQS.SendMessageBatch.SendMessageBatch
- Network.AWS.SQS.SendMessageBatch: instance GHC.Read.Read Network.AWS.SQS.SendMessageBatch.SendMessageBatchResponse
- Network.AWS.SQS.SendMessageBatch: instance GHC.Show.Show Network.AWS.SQS.SendMessageBatch.SendMessageBatch
- Network.AWS.SQS.SendMessageBatch: instance GHC.Show.Show Network.AWS.SQS.SendMessageBatch.SendMessageBatchResponse
- Network.AWS.SQS.SendMessageBatch: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.SendMessageBatch.SendMessageBatch
- Network.AWS.SQS.SendMessageBatch: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.SendMessageBatch.SendMessageBatch
- Network.AWS.SQS.SendMessageBatch: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.SendMessageBatch.SendMessageBatch
- Network.AWS.SQS.SendMessageBatch: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.SendMessageBatch.SendMessageBatch
- Network.AWS.SQS.SendMessageBatch: sendMessageBatch :: Text -> SendMessageBatch
- Network.AWS.SQS.SendMessageBatch: sendMessageBatchResponse :: Int -> SendMessageBatchResponse
- Network.AWS.SQS.SendMessageBatch: smbEntries :: Lens' SendMessageBatch [SendMessageBatchRequestEntry]
- Network.AWS.SQS.SendMessageBatch: smbQueueURL :: Lens' SendMessageBatch Text
- Network.AWS.SQS.SendMessageBatch: smbrsFailed :: Lens' SendMessageBatchResponse [BatchResultErrorEntry]
- Network.AWS.SQS.SendMessageBatch: smbrsResponseStatus :: Lens' SendMessageBatchResponse Int
- Network.AWS.SQS.SendMessageBatch: smbrsSuccessful :: Lens' SendMessageBatchResponse [SendMessageBatchResultEntry]
- Network.AWS.SQS.SetQueueAttributes: data SetQueueAttributes
- Network.AWS.SQS.SetQueueAttributes: data SetQueueAttributesResponse
- Network.AWS.SQS.SetQueueAttributes: instance Control.DeepSeq.NFData Network.AWS.SQS.SetQueueAttributes.SetQueueAttributes
- Network.AWS.SQS.SetQueueAttributes: instance Control.DeepSeq.NFData Network.AWS.SQS.SetQueueAttributes.SetQueueAttributesResponse
- Network.AWS.SQS.SetQueueAttributes: instance Data.Data.Data Network.AWS.SQS.SetQueueAttributes.SetQueueAttributes
- Network.AWS.SQS.SetQueueAttributes: instance Data.Data.Data Network.AWS.SQS.SetQueueAttributes.SetQueueAttributesResponse
- Network.AWS.SQS.SetQueueAttributes: instance Data.Hashable.Class.Hashable Network.AWS.SQS.SetQueueAttributes.SetQueueAttributes
- Network.AWS.SQS.SetQueueAttributes: instance GHC.Classes.Eq Network.AWS.SQS.SetQueueAttributes.SetQueueAttributes
- Network.AWS.SQS.SetQueueAttributes: instance GHC.Classes.Eq Network.AWS.SQS.SetQueueAttributes.SetQueueAttributesResponse
- Network.AWS.SQS.SetQueueAttributes: instance GHC.Generics.Generic Network.AWS.SQS.SetQueueAttributes.SetQueueAttributes
- Network.AWS.SQS.SetQueueAttributes: instance GHC.Generics.Generic Network.AWS.SQS.SetQueueAttributes.SetQueueAttributesResponse
- Network.AWS.SQS.SetQueueAttributes: instance GHC.Read.Read Network.AWS.SQS.SetQueueAttributes.SetQueueAttributes
- Network.AWS.SQS.SetQueueAttributes: instance GHC.Read.Read Network.AWS.SQS.SetQueueAttributes.SetQueueAttributesResponse
- Network.AWS.SQS.SetQueueAttributes: instance GHC.Show.Show Network.AWS.SQS.SetQueueAttributes.SetQueueAttributes
- Network.AWS.SQS.SetQueueAttributes: instance GHC.Show.Show Network.AWS.SQS.SetQueueAttributes.SetQueueAttributesResponse
- Network.AWS.SQS.SetQueueAttributes: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.SetQueueAttributes.SetQueueAttributes
- Network.AWS.SQS.SetQueueAttributes: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.SetQueueAttributes.SetQueueAttributes
- Network.AWS.SQS.SetQueueAttributes: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.SetQueueAttributes.SetQueueAttributes
- Network.AWS.SQS.SetQueueAttributes: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.SetQueueAttributes.SetQueueAttributes
- Network.AWS.SQS.SetQueueAttributes: setQueueAttributes :: Text -> SetQueueAttributes
- Network.AWS.SQS.SetQueueAttributes: setQueueAttributesResponse :: SetQueueAttributesResponse
- Network.AWS.SQS.SetQueueAttributes: sqaAttributes :: Lens' SetQueueAttributes (HashMap QueueAttributeName Text)
- Network.AWS.SQS.SetQueueAttributes: sqaQueueURL :: Lens' SetQueueAttributes Text
- Network.AWS.SQS.TagQueue: data TagQueue
- Network.AWS.SQS.TagQueue: data TagQueueResponse
- Network.AWS.SQS.TagQueue: instance Control.DeepSeq.NFData Network.AWS.SQS.TagQueue.TagQueue
- Network.AWS.SQS.TagQueue: instance Control.DeepSeq.NFData Network.AWS.SQS.TagQueue.TagQueueResponse
- Network.AWS.SQS.TagQueue: instance Data.Data.Data Network.AWS.SQS.TagQueue.TagQueue
- Network.AWS.SQS.TagQueue: instance Data.Data.Data Network.AWS.SQS.TagQueue.TagQueueResponse
- Network.AWS.SQS.TagQueue: instance Data.Hashable.Class.Hashable Network.AWS.SQS.TagQueue.TagQueue
- Network.AWS.SQS.TagQueue: instance GHC.Classes.Eq Network.AWS.SQS.TagQueue.TagQueue
- Network.AWS.SQS.TagQueue: instance GHC.Classes.Eq Network.AWS.SQS.TagQueue.TagQueueResponse
- Network.AWS.SQS.TagQueue: instance GHC.Generics.Generic Network.AWS.SQS.TagQueue.TagQueue
- Network.AWS.SQS.TagQueue: instance GHC.Generics.Generic Network.AWS.SQS.TagQueue.TagQueueResponse
- Network.AWS.SQS.TagQueue: instance GHC.Read.Read Network.AWS.SQS.TagQueue.TagQueue
- Network.AWS.SQS.TagQueue: instance GHC.Read.Read Network.AWS.SQS.TagQueue.TagQueueResponse
- Network.AWS.SQS.TagQueue: instance GHC.Show.Show Network.AWS.SQS.TagQueue.TagQueue
- Network.AWS.SQS.TagQueue: instance GHC.Show.Show Network.AWS.SQS.TagQueue.TagQueueResponse
- Network.AWS.SQS.TagQueue: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.TagQueue.TagQueue
- Network.AWS.SQS.TagQueue: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.TagQueue.TagQueue
- Network.AWS.SQS.TagQueue: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.TagQueue.TagQueue
- Network.AWS.SQS.TagQueue: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.TagQueue.TagQueue
- Network.AWS.SQS.TagQueue: tagQueue :: Text -> TagQueue
- Network.AWS.SQS.TagQueue: tagQueueResponse :: TagQueueResponse
- Network.AWS.SQS.TagQueue: tqQueueURL :: Lens' TagQueue Text
- Network.AWS.SQS.TagQueue: tqTags :: Lens' TagQueue (HashMap Text Text)
- Network.AWS.SQS.Types: All :: MessageAttribute
- Network.AWS.SQS.Types: ApproximateFirstReceiveTimestamp :: MessageAttribute
- Network.AWS.SQS.Types: ApproximateReceiveCount :: MessageAttribute
- Network.AWS.SQS.Types: QANAll :: QueueAttributeName
- Network.AWS.SQS.Types: QANApproximateNumberOfMessages :: QueueAttributeName
- Network.AWS.SQS.Types: QANApproximateNumberOfMessagesDelayed :: QueueAttributeName
- Network.AWS.SQS.Types: QANApproximateNumberOfMessagesNotVisible :: QueueAttributeName
- Network.AWS.SQS.Types: QANContentBasedDeduplication :: QueueAttributeName
- Network.AWS.SQS.Types: QANCreatedTimestamp :: QueueAttributeName
- Network.AWS.SQS.Types: QANDelaySeconds :: QueueAttributeName
- Network.AWS.SQS.Types: QANFifoQueue :: QueueAttributeName
- Network.AWS.SQS.Types: QANKMSDataKeyReusePeriodSeconds :: QueueAttributeName
- Network.AWS.SQS.Types: QANKMSMasterKeyId :: QueueAttributeName
- Network.AWS.SQS.Types: QANLastModifiedTimestamp :: QueueAttributeName
- Network.AWS.SQS.Types: QANMaximumMessageSize :: QueueAttributeName
- Network.AWS.SQS.Types: QANMessageRetentionPeriod :: QueueAttributeName
- Network.AWS.SQS.Types: QANPolicy :: QueueAttributeName
- Network.AWS.SQS.Types: QANQueueARN :: QueueAttributeName
- Network.AWS.SQS.Types: QANReceiveMessageWaitTimeSeconds :: QueueAttributeName
- Network.AWS.SQS.Types: QANRedrivePolicy :: QueueAttributeName
- Network.AWS.SQS.Types: QANVisibilityTimeout :: QueueAttributeName
- Network.AWS.SQS.Types: SenderId :: MessageAttribute
- Network.AWS.SQS.Types: SentTimestamp :: MessageAttribute
- Network.AWS.SQS.Types: _BatchEntryIdsNotDistinct :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _BatchRequestTooLong :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _EmptyBatchRequest :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _InvalidAttributeName :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _InvalidBatchEntryId :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _InvalidIdFormat :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _InvalidMessageContents :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _MessageNotInflight :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _OverLimit :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _PurgeQueueInProgress :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _QueueDeletedRecently :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _QueueDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _QueueNameExists :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _ReceiptHandleIsInvalid :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _TooManyEntriesInBatchRequest :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: _UnsupportedOperation :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.SQS.Types: batchResultErrorEntry :: Text -> Bool -> Text -> BatchResultErrorEntry
- Network.AWS.SQS.Types: breeCode :: Lens' BatchResultErrorEntry Text
- Network.AWS.SQS.Types: breeId :: Lens' BatchResultErrorEntry Text
- Network.AWS.SQS.Types: breeMessage :: Lens' BatchResultErrorEntry (Maybe Text)
- Network.AWS.SQS.Types: breeSenderFault :: Lens' BatchResultErrorEntry Bool
- Network.AWS.SQS.Types: cId :: Lens' ChangeMessageVisibilityBatchRequestEntry Text
- Network.AWS.SQS.Types: cReceiptHandle :: Lens' ChangeMessageVisibilityBatchRequestEntry Text
- Network.AWS.SQS.Types: cVisibilityTimeout :: Lens' ChangeMessageVisibilityBatchRequestEntry (Maybe Int)
- Network.AWS.SQS.Types: changeMessageVisibilityBatchRequestEntry :: Text -> Text -> ChangeMessageVisibilityBatchRequestEntry
- Network.AWS.SQS.Types: changeMessageVisibilityBatchResultEntry :: Text -> ChangeMessageVisibilityBatchResultEntry
- Network.AWS.SQS.Types: cmvbreId :: Lens' ChangeMessageVisibilityBatchResultEntry Text
- Network.AWS.SQS.Types: dId :: Lens' DeleteMessageBatchResultEntry Text
- Network.AWS.SQS.Types: data BatchResultErrorEntry
- Network.AWS.SQS.Types: data ChangeMessageVisibilityBatchRequestEntry
- Network.AWS.SQS.Types: data ChangeMessageVisibilityBatchResultEntry
- Network.AWS.SQS.Types: data DeleteMessageBatchRequestEntry
- Network.AWS.SQS.Types: data DeleteMessageBatchResultEntry
- Network.AWS.SQS.Types: data Message
- Network.AWS.SQS.Types: data MessageAttribute
- Network.AWS.SQS.Types: data MessageAttributeValue
- Network.AWS.SQS.Types: data QueueAttributeName
- Network.AWS.SQS.Types: data SendMessageBatchRequestEntry
- Network.AWS.SQS.Types: data SendMessageBatchResultEntry
- Network.AWS.SQS.Types: deleteMessageBatchRequestEntry :: Text -> Text -> DeleteMessageBatchRequestEntry
- Network.AWS.SQS.Types: deleteMessageBatchResultEntry :: Text -> DeleteMessageBatchResultEntry
- Network.AWS.SQS.Types: dmbreId :: Lens' DeleteMessageBatchRequestEntry Text
- Network.AWS.SQS.Types: dmbreReceiptHandle :: Lens' DeleteMessageBatchRequestEntry Text
- Network.AWS.SQS.Types: mAttributes :: Lens' Message (HashMap MessageAttribute Text)
- Network.AWS.SQS.Types: mBody :: Lens' Message (Maybe Text)
- Network.AWS.SQS.Types: mMD5OfBody :: Lens' Message (Maybe Text)
- Network.AWS.SQS.Types: mMD5OfMessageAttributes :: Lens' Message (Maybe Text)
- Network.AWS.SQS.Types: mMessageAttributes :: Lens' Message (HashMap Text MessageAttributeValue)
- Network.AWS.SQS.Types: mMessageId :: Lens' Message (Maybe Text)
- Network.AWS.SQS.Types: mReceiptHandle :: Lens' Message (Maybe Text)
- Network.AWS.SQS.Types: mavBinaryListValues :: Lens' MessageAttributeValue [ByteString]
- Network.AWS.SQS.Types: mavBinaryValue :: Lens' MessageAttributeValue (Maybe ByteString)
- Network.AWS.SQS.Types: mavDataType :: Lens' MessageAttributeValue Text
- Network.AWS.SQS.Types: mavStringListValues :: Lens' MessageAttributeValue [Text]
- Network.AWS.SQS.Types: mavStringValue :: Lens' MessageAttributeValue (Maybe Text)
- Network.AWS.SQS.Types: message :: Message
- Network.AWS.SQS.Types: messageAttributeValue :: Text -> MessageAttributeValue
- Network.AWS.SQS.Types: sDelaySeconds :: Lens' SendMessageBatchRequestEntry (Maybe Int)
- Network.AWS.SQS.Types: sId :: Lens' SendMessageBatchRequestEntry Text
- Network.AWS.SQS.Types: sMessageAttributes :: Lens' SendMessageBatchRequestEntry (HashMap Text MessageAttributeValue)
- Network.AWS.SQS.Types: sMessageBody :: Lens' SendMessageBatchRequestEntry Text
- Network.AWS.SQS.Types: sMessageDeduplicationId :: Lens' SendMessageBatchRequestEntry (Maybe Text)
- Network.AWS.SQS.Types: sMessageGroupId :: Lens' SendMessageBatchRequestEntry (Maybe Text)
- Network.AWS.SQS.Types: sendMessageBatchRequestEntry :: Text -> Text -> SendMessageBatchRequestEntry
- Network.AWS.SQS.Types: sendMessageBatchResultEntry :: Text -> Text -> Text -> SendMessageBatchResultEntry
- Network.AWS.SQS.Types: smbreId :: Lens' SendMessageBatchResultEntry Text
- Network.AWS.SQS.Types: smbreMD5OfMessageAttributes :: Lens' SendMessageBatchResultEntry (Maybe Text)
- Network.AWS.SQS.Types: smbreMD5OfMessageBody :: Lens' SendMessageBatchResultEntry Text
- Network.AWS.SQS.Types: smbreMessageId :: Lens' SendMessageBatchResultEntry Text
- Network.AWS.SQS.Types: smbreSequenceNumber :: Lens' SendMessageBatchResultEntry (Maybe Text)
- Network.AWS.SQS.Types: sqs :: Service
- Network.AWS.SQS.UntagQueue: data UntagQueue
- Network.AWS.SQS.UntagQueue: data UntagQueueResponse
- Network.AWS.SQS.UntagQueue: instance Control.DeepSeq.NFData Network.AWS.SQS.UntagQueue.UntagQueue
- Network.AWS.SQS.UntagQueue: instance Control.DeepSeq.NFData Network.AWS.SQS.UntagQueue.UntagQueueResponse
- Network.AWS.SQS.UntagQueue: instance Data.Data.Data Network.AWS.SQS.UntagQueue.UntagQueue
- Network.AWS.SQS.UntagQueue: instance Data.Data.Data Network.AWS.SQS.UntagQueue.UntagQueueResponse
- Network.AWS.SQS.UntagQueue: instance Data.Hashable.Class.Hashable Network.AWS.SQS.UntagQueue.UntagQueue
- Network.AWS.SQS.UntagQueue: instance GHC.Classes.Eq Network.AWS.SQS.UntagQueue.UntagQueue
- Network.AWS.SQS.UntagQueue: instance GHC.Classes.Eq Network.AWS.SQS.UntagQueue.UntagQueueResponse
- Network.AWS.SQS.UntagQueue: instance GHC.Generics.Generic Network.AWS.SQS.UntagQueue.UntagQueue
- Network.AWS.SQS.UntagQueue: instance GHC.Generics.Generic Network.AWS.SQS.UntagQueue.UntagQueueResponse
- Network.AWS.SQS.UntagQueue: instance GHC.Read.Read Network.AWS.SQS.UntagQueue.UntagQueue
- Network.AWS.SQS.UntagQueue: instance GHC.Read.Read Network.AWS.SQS.UntagQueue.UntagQueueResponse
- Network.AWS.SQS.UntagQueue: instance GHC.Show.Show Network.AWS.SQS.UntagQueue.UntagQueue
- Network.AWS.SQS.UntagQueue: instance GHC.Show.Show Network.AWS.SQS.UntagQueue.UntagQueueResponse
- Network.AWS.SQS.UntagQueue: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SQS.UntagQueue.UntagQueue
- Network.AWS.SQS.UntagQueue: instance Network.AWS.Data.Path.ToPath Network.AWS.SQS.UntagQueue.UntagQueue
- Network.AWS.SQS.UntagQueue: instance Network.AWS.Data.Query.ToQuery Network.AWS.SQS.UntagQueue.UntagQueue
- Network.AWS.SQS.UntagQueue: instance Network.AWS.Types.AWSRequest Network.AWS.SQS.UntagQueue.UntagQueue
- Network.AWS.SQS.UntagQueue: untagQueue :: Text -> UntagQueue
- Network.AWS.SQS.UntagQueue: untagQueueResponse :: UntagQueueResponse
- Network.AWS.SQS.UntagQueue: uqQueueURL :: Lens' UntagQueue Text
- Network.AWS.SQS.UntagQueue: uqTagKeys :: Lens' UntagQueue [Text]
+ Amazonka.SQS: AddPermission' :: Text -> Text -> [Text] -> [Text] -> AddPermission
+ Amazonka.SQS: AddPermissionResponse' :: AddPermissionResponse
+ Amazonka.SQS: BatchResultErrorEntry' :: Maybe Text -> Text -> Bool -> Text -> BatchResultErrorEntry
+ Amazonka.SQS: ChangeMessageVisibility' :: Text -> Text -> Int -> ChangeMessageVisibility
+ Amazonka.SQS: ChangeMessageVisibilityBatch' :: Text -> [ChangeMessageVisibilityBatchRequestEntry] -> ChangeMessageVisibilityBatch
+ Amazonka.SQS: ChangeMessageVisibilityBatchRequestEntry' :: Maybe Int -> Text -> Text -> ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS: ChangeMessageVisibilityBatchResponse' :: Int -> [ChangeMessageVisibilityBatchResultEntry] -> [BatchResultErrorEntry] -> ChangeMessageVisibilityBatchResponse
+ Amazonka.SQS: ChangeMessageVisibilityBatchResultEntry' :: Text -> ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS: ChangeMessageVisibilityResponse' :: ChangeMessageVisibilityResponse
+ Amazonka.SQS: CreateQueue' :: Maybe (HashMap QueueAttributeName Text) -> Maybe (HashMap Text Text) -> Text -> CreateQueue
+ Amazonka.SQS: CreateQueueResponse' :: Maybe Text -> Int -> CreateQueueResponse
+ Amazonka.SQS: DeleteMessage' :: Text -> Text -> DeleteMessage
+ Amazonka.SQS: DeleteMessageBatch' :: Text -> [DeleteMessageBatchRequestEntry] -> DeleteMessageBatch
+ Amazonka.SQS: DeleteMessageBatchRequestEntry' :: Text -> Text -> DeleteMessageBatchRequestEntry
+ Amazonka.SQS: DeleteMessageBatchResponse' :: Int -> [DeleteMessageBatchResultEntry] -> [BatchResultErrorEntry] -> DeleteMessageBatchResponse
+ Amazonka.SQS: DeleteMessageBatchResultEntry' :: Text -> DeleteMessageBatchResultEntry
+ Amazonka.SQS: DeleteMessageResponse' :: DeleteMessageResponse
+ Amazonka.SQS: DeleteQueue' :: Text -> DeleteQueue
+ Amazonka.SQS: DeleteQueueResponse' :: DeleteQueueResponse
+ Amazonka.SQS: GetQueueAttributes' :: Maybe [QueueAttributeName] -> Text -> GetQueueAttributes
+ Amazonka.SQS: GetQueueAttributesResponse' :: Maybe (HashMap QueueAttributeName Text) -> Int -> GetQueueAttributesResponse
+ Amazonka.SQS: GetQueueUrl' :: Maybe Text -> Text -> GetQueueUrl
+ Amazonka.SQS: GetQueueUrlResponse' :: Int -> Text -> GetQueueUrlResponse
+ Amazonka.SQS: ListDeadLetterSourceQueues' :: Maybe Int -> Maybe Text -> Text -> ListDeadLetterSourceQueues
+ Amazonka.SQS: ListDeadLetterSourceQueuesResponse' :: Maybe Text -> Int -> [Text] -> ListDeadLetterSourceQueuesResponse
+ Amazonka.SQS: ListQueueTags' :: Text -> ListQueueTags
+ Amazonka.SQS: ListQueueTagsResponse' :: Maybe (HashMap Text Text) -> Int -> ListQueueTagsResponse
+ Amazonka.SQS: ListQueues' :: Maybe Int -> Maybe Text -> Maybe Text -> ListQueues
+ Amazonka.SQS: ListQueuesResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListQueuesResponse
+ Amazonka.SQS: Message' :: Maybe (HashMap MessageAttribute Text) -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (HashMap Text MessageAttributeValue) -> Maybe Text -> Maybe Text -> Message
+ Amazonka.SQS: MessageAttribute' :: Text -> MessageAttribute
+ Amazonka.SQS: MessageAttributeValue' :: Maybe [Base64] -> Maybe Base64 -> Maybe [Text] -> Maybe Text -> Text -> MessageAttributeValue
+ Amazonka.SQS: MessageSystemAttributeNameForSends' :: Text -> MessageSystemAttributeNameForSends
+ Amazonka.SQS: MessageSystemAttributeValue' :: Maybe [Base64] -> Maybe Base64 -> Maybe [Text] -> Maybe Text -> Text -> MessageSystemAttributeValue
+ Amazonka.SQS: PurgeQueue' :: Text -> PurgeQueue
+ Amazonka.SQS: PurgeQueueResponse' :: PurgeQueueResponse
+ Amazonka.SQS: QueueAttributeName' :: Text -> QueueAttributeName
+ Amazonka.SQS: ReceiveMessage' :: Maybe [MessageAttribute] -> Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe Int -> Maybe Int -> Text -> ReceiveMessage
+ Amazonka.SQS: ReceiveMessageResponse' :: Maybe [Message] -> Int -> ReceiveMessageResponse
+ Amazonka.SQS: RemovePermission' :: Text -> Text -> RemovePermission
+ Amazonka.SQS: RemovePermissionResponse' :: RemovePermissionResponse
+ Amazonka.SQS: SendMessage' :: Maybe Int -> Maybe (HashMap Text MessageAttributeValue) -> Maybe Text -> Maybe Text -> Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue) -> Text -> Text -> SendMessage
+ Amazonka.SQS: SendMessageBatch' :: Text -> [SendMessageBatchRequestEntry] -> SendMessageBatch
+ Amazonka.SQS: SendMessageBatchRequestEntry' :: Maybe Int -> Maybe (HashMap Text MessageAttributeValue) -> Maybe Text -> Maybe Text -> Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue) -> Text -> Text -> SendMessageBatchRequestEntry
+ Amazonka.SQS: SendMessageBatchResponse' :: Int -> [SendMessageBatchResultEntry] -> [BatchResultErrorEntry] -> SendMessageBatchResponse
+ Amazonka.SQS: SendMessageBatchResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> SendMessageBatchResultEntry
+ Amazonka.SQS: SendMessageResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> SendMessageResponse
+ Amazonka.SQS: SetQueueAttributes' :: Text -> HashMap QueueAttributeName Text -> SetQueueAttributes
+ Amazonka.SQS: SetQueueAttributesResponse' :: SetQueueAttributesResponse
+ Amazonka.SQS: TagQueue' :: Text -> HashMap Text Text -> TagQueue
+ Amazonka.SQS: TagQueueResponse' :: TagQueueResponse
+ Amazonka.SQS: UntagQueue' :: Text -> [Text] -> UntagQueue
+ Amazonka.SQS: UntagQueueResponse' :: UntagQueueResponse
+ Amazonka.SQS: [fromMessageAttribute] :: MessageAttribute -> Text
+ Amazonka.SQS: [fromMessageSystemAttributeNameForSends] :: MessageSystemAttributeNameForSends -> Text
+ Amazonka.SQS: [fromQueueAttributeName] :: QueueAttributeName -> Text
+ Amazonka.SQS: _BatchEntryIdsNotDistinct :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _BatchRequestTooLong :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _EmptyBatchRequest :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _InvalidAttributeName :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _InvalidBatchEntryId :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _InvalidIdFormat :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _InvalidMessageContents :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _MessageNotInflight :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _OverLimit :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _PurgeQueueInProgress :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _QueueDeletedRecently :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _QueueDoesNotExist :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _QueueNameExists :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _ReceiptHandleIsInvalid :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _TooManyEntriesInBatchRequest :: AsError a => Fold a ServiceError
+ Amazonka.SQS: _UnsupportedOperation :: AsError a => Fold a ServiceError
+ Amazonka.SQS: data AddPermission
+ Amazonka.SQS: data AddPermissionResponse
+ Amazonka.SQS: data BatchResultErrorEntry
+ Amazonka.SQS: data ChangeMessageVisibility
+ Amazonka.SQS: data ChangeMessageVisibilityBatch
+ Amazonka.SQS: data ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS: data ChangeMessageVisibilityBatchResponse
+ Amazonka.SQS: data ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS: data ChangeMessageVisibilityResponse
+ Amazonka.SQS: data CreateQueue
+ Amazonka.SQS: data CreateQueueResponse
+ Amazonka.SQS: data DeleteMessage
+ Amazonka.SQS: data DeleteMessageBatch
+ Amazonka.SQS: data DeleteMessageBatchRequestEntry
+ Amazonka.SQS: data DeleteMessageBatchResponse
+ Amazonka.SQS: data DeleteMessageBatchResultEntry
+ Amazonka.SQS: data DeleteMessageResponse
+ Amazonka.SQS: data DeleteQueue
+ Amazonka.SQS: data DeleteQueueResponse
+ Amazonka.SQS: data GetQueueAttributes
+ Amazonka.SQS: data GetQueueAttributesResponse
+ Amazonka.SQS: data GetQueueUrl
+ Amazonka.SQS: data GetQueueUrlResponse
+ Amazonka.SQS: data ListDeadLetterSourceQueues
+ Amazonka.SQS: data ListDeadLetterSourceQueuesResponse
+ Amazonka.SQS: data ListQueueTags
+ Amazonka.SQS: data ListQueueTagsResponse
+ Amazonka.SQS: data ListQueues
+ Amazonka.SQS: data ListQueuesResponse
+ Amazonka.SQS: data Message
+ Amazonka.SQS: data MessageAttributeValue
+ Amazonka.SQS: data MessageSystemAttributeValue
+ Amazonka.SQS: data PurgeQueue
+ Amazonka.SQS: data PurgeQueueResponse
+ Amazonka.SQS: data ReceiveMessage
+ Amazonka.SQS: data ReceiveMessageResponse
+ Amazonka.SQS: data RemovePermission
+ Amazonka.SQS: data RemovePermissionResponse
+ Amazonka.SQS: data SendMessage
+ Amazonka.SQS: data SendMessageBatch
+ Amazonka.SQS: data SendMessageBatchRequestEntry
+ Amazonka.SQS: data SendMessageBatchResponse
+ Amazonka.SQS: data SendMessageBatchResultEntry
+ Amazonka.SQS: data SendMessageResponse
+ Amazonka.SQS: data SetQueueAttributes
+ Amazonka.SQS: data SetQueueAttributesResponse
+ Amazonka.SQS: data TagQueue
+ Amazonka.SQS: data TagQueueResponse
+ Amazonka.SQS: data UntagQueue
+ Amazonka.SQS: data UntagQueueResponse
+ Amazonka.SQS: defaultService :: Service
+ Amazonka.SQS: newAddPermission :: Text -> Text -> AddPermission
+ Amazonka.SQS: newAddPermissionResponse :: AddPermissionResponse
+ Amazonka.SQS: newBatchResultErrorEntry :: Text -> Bool -> Text -> BatchResultErrorEntry
+ Amazonka.SQS: newChangeMessageVisibility :: Text -> Text -> Int -> ChangeMessageVisibility
+ Amazonka.SQS: newChangeMessageVisibilityBatch :: Text -> ChangeMessageVisibilityBatch
+ Amazonka.SQS: newChangeMessageVisibilityBatchRequestEntry :: Text -> Text -> ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS: newChangeMessageVisibilityBatchResponse :: Int -> ChangeMessageVisibilityBatchResponse
+ Amazonka.SQS: newChangeMessageVisibilityBatchResultEntry :: Text -> ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS: newChangeMessageVisibilityResponse :: ChangeMessageVisibilityResponse
+ Amazonka.SQS: newCreateQueue :: Text -> CreateQueue
+ Amazonka.SQS: newCreateQueueResponse :: Int -> CreateQueueResponse
+ Amazonka.SQS: newDeleteMessage :: Text -> Text -> DeleteMessage
+ Amazonka.SQS: newDeleteMessageBatch :: Text -> DeleteMessageBatch
+ Amazonka.SQS: newDeleteMessageBatchRequestEntry :: Text -> Text -> DeleteMessageBatchRequestEntry
+ Amazonka.SQS: newDeleteMessageBatchResponse :: Int -> DeleteMessageBatchResponse
+ Amazonka.SQS: newDeleteMessageBatchResultEntry :: Text -> DeleteMessageBatchResultEntry
+ Amazonka.SQS: newDeleteMessageResponse :: DeleteMessageResponse
+ Amazonka.SQS: newDeleteQueue :: Text -> DeleteQueue
+ Amazonka.SQS: newDeleteQueueResponse :: DeleteQueueResponse
+ Amazonka.SQS: newGetQueueAttributes :: Text -> GetQueueAttributes
+ Amazonka.SQS: newGetQueueAttributesResponse :: Int -> GetQueueAttributesResponse
+ Amazonka.SQS: newGetQueueUrl :: Text -> GetQueueUrl
+ Amazonka.SQS: newGetQueueUrlResponse :: Int -> Text -> GetQueueUrlResponse
+ Amazonka.SQS: newListDeadLetterSourceQueues :: Text -> ListDeadLetterSourceQueues
+ Amazonka.SQS: newListDeadLetterSourceQueuesResponse :: Int -> ListDeadLetterSourceQueuesResponse
+ Amazonka.SQS: newListQueueTags :: Text -> ListQueueTags
+ Amazonka.SQS: newListQueueTagsResponse :: Int -> ListQueueTagsResponse
+ Amazonka.SQS: newListQueues :: ListQueues
+ Amazonka.SQS: newListQueuesResponse :: Int -> ListQueuesResponse
+ Amazonka.SQS: newMessage :: Message
+ Amazonka.SQS: newMessageAttributeValue :: Text -> MessageAttributeValue
+ Amazonka.SQS: newMessageSystemAttributeValue :: Text -> MessageSystemAttributeValue
+ Amazonka.SQS: newPurgeQueue :: Text -> PurgeQueue
+ Amazonka.SQS: newPurgeQueueResponse :: PurgeQueueResponse
+ Amazonka.SQS: newReceiveMessage :: Text -> ReceiveMessage
+ Amazonka.SQS: newReceiveMessageResponse :: Int -> ReceiveMessageResponse
+ Amazonka.SQS: newRemovePermission :: Text -> Text -> RemovePermission
+ Amazonka.SQS: newRemovePermissionResponse :: RemovePermissionResponse
+ Amazonka.SQS: newSendMessage :: Text -> Text -> SendMessage
+ Amazonka.SQS: newSendMessageBatch :: Text -> SendMessageBatch
+ Amazonka.SQS: newSendMessageBatchRequestEntry :: Text -> Text -> SendMessageBatchRequestEntry
+ Amazonka.SQS: newSendMessageBatchResponse :: Int -> SendMessageBatchResponse
+ Amazonka.SQS: newSendMessageBatchResultEntry :: Text -> Text -> Text -> SendMessageBatchResultEntry
+ Amazonka.SQS: newSendMessageResponse :: Int -> SendMessageResponse
+ Amazonka.SQS: newSetQueueAttributes :: Text -> SetQueueAttributes
+ Amazonka.SQS: newSetQueueAttributesResponse :: SetQueueAttributesResponse
+ Amazonka.SQS: newTagQueue :: Text -> TagQueue
+ Amazonka.SQS: newTagQueueResponse :: TagQueueResponse
+ Amazonka.SQS: newUntagQueue :: Text -> UntagQueue
+ Amazonka.SQS: newUntagQueueResponse :: UntagQueueResponse
+ Amazonka.SQS: newtype MessageAttribute
+ Amazonka.SQS: newtype MessageSystemAttributeNameForSends
+ Amazonka.SQS: newtype QueueAttributeName
+ Amazonka.SQS: pattern MessageAttribute_All :: MessageAttribute
+ Amazonka.SQS: pattern MessageAttribute_ApproximateFirstReceiveTimestamp :: MessageAttribute
+ Amazonka.SQS: pattern MessageAttribute_ApproximateReceiveCount :: MessageAttribute
+ Amazonka.SQS: pattern MessageAttribute_SenderId :: MessageAttribute
+ Amazonka.SQS: pattern MessageAttribute_SentTimestamp :: MessageAttribute
+ Amazonka.SQS: pattern MessageSystemAttributeNameForSends_AWSTraceHeader :: MessageSystemAttributeNameForSends
+ Amazonka.SQS: pattern QueueAttributeName_All :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_ApproximateNumberOfMessages :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_ApproximateNumberOfMessagesDelayed :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_ApproximateNumberOfMessagesNotVisible :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_ContentBasedDeduplication :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_CreatedTimestamp :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_DeduplicationScope :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_DelaySeconds :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_FifoQueue :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_FifoThroughputLimit :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_KmsDataKeyReusePeriodSeconds :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_KmsMasterKeyId :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_LastModifiedTimestamp :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_MaximumMessageSize :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_MessageRetentionPeriod :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_Policy :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_QueueArn :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_ReceiveMessageWaitTimeSeconds :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_RedriveAllowPolicy :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_RedrivePolicy :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_SqsManagedSseEnabled :: QueueAttributeName
+ Amazonka.SQS: pattern QueueAttributeName_VisibilityTimeout :: QueueAttributeName
+ Amazonka.SQS.AddPermission: AddPermission' :: Text -> Text -> [Text] -> [Text] -> AddPermission
+ Amazonka.SQS.AddPermission: AddPermissionResponse' :: AddPermissionResponse
+ Amazonka.SQS.AddPermission: [$sel:aWSAccountIds:AddPermission'] :: AddPermission -> [Text]
+ Amazonka.SQS.AddPermission: [$sel:actions:AddPermission'] :: AddPermission -> [Text]
+ Amazonka.SQS.AddPermission: [$sel:label:AddPermission'] :: AddPermission -> Text
+ Amazonka.SQS.AddPermission: [$sel:queueUrl:AddPermission'] :: AddPermission -> Text
+ Amazonka.SQS.AddPermission: addPermission_aWSAccountIds :: Lens' AddPermission [Text]
+ Amazonka.SQS.AddPermission: addPermission_actions :: Lens' AddPermission [Text]
+ Amazonka.SQS.AddPermission: addPermission_label :: Lens' AddPermission Text
+ Amazonka.SQS.AddPermission: addPermission_queueUrl :: Lens' AddPermission Text
+ Amazonka.SQS.AddPermission: data AddPermission
+ Amazonka.SQS.AddPermission: data AddPermissionResponse
+ Amazonka.SQS.AddPermission: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.AddPermission.AddPermission
+ Amazonka.SQS.AddPermission: instance Amazonka.Data.Path.ToPath Amazonka.SQS.AddPermission.AddPermission
+ Amazonka.SQS.AddPermission: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.AddPermission.AddPermission
+ Amazonka.SQS.AddPermission: instance Amazonka.Types.AWSRequest Amazonka.SQS.AddPermission.AddPermission
+ Amazonka.SQS.AddPermission: instance Control.DeepSeq.NFData Amazonka.SQS.AddPermission.AddPermission
+ Amazonka.SQS.AddPermission: instance Control.DeepSeq.NFData Amazonka.SQS.AddPermission.AddPermissionResponse
+ Amazonka.SQS.AddPermission: instance Data.Hashable.Class.Hashable Amazonka.SQS.AddPermission.AddPermission
+ Amazonka.SQS.AddPermission: instance GHC.Classes.Eq Amazonka.SQS.AddPermission.AddPermission
+ Amazonka.SQS.AddPermission: instance GHC.Classes.Eq Amazonka.SQS.AddPermission.AddPermissionResponse
+ Amazonka.SQS.AddPermission: instance GHC.Generics.Generic Amazonka.SQS.AddPermission.AddPermission
+ Amazonka.SQS.AddPermission: instance GHC.Generics.Generic Amazonka.SQS.AddPermission.AddPermissionResponse
+ Amazonka.SQS.AddPermission: instance GHC.Read.Read Amazonka.SQS.AddPermission.AddPermission
+ Amazonka.SQS.AddPermission: instance GHC.Read.Read Amazonka.SQS.AddPermission.AddPermissionResponse
+ Amazonka.SQS.AddPermission: instance GHC.Show.Show Amazonka.SQS.AddPermission.AddPermission
+ Amazonka.SQS.AddPermission: instance GHC.Show.Show Amazonka.SQS.AddPermission.AddPermissionResponse
+ Amazonka.SQS.AddPermission: newAddPermission :: Text -> Text -> AddPermission
+ Amazonka.SQS.AddPermission: newAddPermissionResponse :: AddPermissionResponse
+ Amazonka.SQS.ChangeMessageVisibility: ChangeMessageVisibility' :: Text -> Text -> Int -> ChangeMessageVisibility
+ Amazonka.SQS.ChangeMessageVisibility: ChangeMessageVisibilityResponse' :: ChangeMessageVisibilityResponse
+ Amazonka.SQS.ChangeMessageVisibility: [$sel:queueUrl:ChangeMessageVisibility'] :: ChangeMessageVisibility -> Text
+ Amazonka.SQS.ChangeMessageVisibility: [$sel:receiptHandle:ChangeMessageVisibility'] :: ChangeMessageVisibility -> Text
+ Amazonka.SQS.ChangeMessageVisibility: [$sel:visibilityTimeout:ChangeMessageVisibility'] :: ChangeMessageVisibility -> Int
+ Amazonka.SQS.ChangeMessageVisibility: changeMessageVisibility_queueUrl :: Lens' ChangeMessageVisibility Text
+ Amazonka.SQS.ChangeMessageVisibility: changeMessageVisibility_receiptHandle :: Lens' ChangeMessageVisibility Text
+ Amazonka.SQS.ChangeMessageVisibility: changeMessageVisibility_visibilityTimeout :: Lens' ChangeMessageVisibility Int
+ Amazonka.SQS.ChangeMessageVisibility: data ChangeMessageVisibility
+ Amazonka.SQS.ChangeMessageVisibility: data ChangeMessageVisibilityResponse
+ Amazonka.SQS.ChangeMessageVisibility: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibility
+ Amazonka.SQS.ChangeMessageVisibility: instance Amazonka.Data.Path.ToPath Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibility
+ Amazonka.SQS.ChangeMessageVisibility: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibility
+ Amazonka.SQS.ChangeMessageVisibility: instance Amazonka.Types.AWSRequest Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibility
+ Amazonka.SQS.ChangeMessageVisibility: instance Control.DeepSeq.NFData Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibility
+ Amazonka.SQS.ChangeMessageVisibility: instance Control.DeepSeq.NFData Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibilityResponse
+ Amazonka.SQS.ChangeMessageVisibility: instance Data.Hashable.Class.Hashable Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibility
+ Amazonka.SQS.ChangeMessageVisibility: instance GHC.Classes.Eq Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibility
+ Amazonka.SQS.ChangeMessageVisibility: instance GHC.Classes.Eq Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibilityResponse
+ Amazonka.SQS.ChangeMessageVisibility: instance GHC.Generics.Generic Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibility
+ Amazonka.SQS.ChangeMessageVisibility: instance GHC.Generics.Generic Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibilityResponse
+ Amazonka.SQS.ChangeMessageVisibility: instance GHC.Read.Read Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibility
+ Amazonka.SQS.ChangeMessageVisibility: instance GHC.Read.Read Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibilityResponse
+ Amazonka.SQS.ChangeMessageVisibility: instance GHC.Show.Show Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibility
+ Amazonka.SQS.ChangeMessageVisibility: instance GHC.Show.Show Amazonka.SQS.ChangeMessageVisibility.ChangeMessageVisibilityResponse
+ Amazonka.SQS.ChangeMessageVisibility: newChangeMessageVisibility :: Text -> Text -> Int -> ChangeMessageVisibility
+ Amazonka.SQS.ChangeMessageVisibility: newChangeMessageVisibilityResponse :: ChangeMessageVisibilityResponse
+ Amazonka.SQS.ChangeMessageVisibilityBatch: ChangeMessageVisibilityBatch' :: Text -> [ChangeMessageVisibilityBatchRequestEntry] -> ChangeMessageVisibilityBatch
+ Amazonka.SQS.ChangeMessageVisibilityBatch: ChangeMessageVisibilityBatchResponse' :: Int -> [ChangeMessageVisibilityBatchResultEntry] -> [BatchResultErrorEntry] -> ChangeMessageVisibilityBatchResponse
+ Amazonka.SQS.ChangeMessageVisibilityBatch: [$sel:entries:ChangeMessageVisibilityBatch'] :: ChangeMessageVisibilityBatch -> [ChangeMessageVisibilityBatchRequestEntry]
+ Amazonka.SQS.ChangeMessageVisibilityBatch: [$sel:failed:ChangeMessageVisibilityBatchResponse'] :: ChangeMessageVisibilityBatchResponse -> [BatchResultErrorEntry]
+ Amazonka.SQS.ChangeMessageVisibilityBatch: [$sel:httpStatus:ChangeMessageVisibilityBatchResponse'] :: ChangeMessageVisibilityBatchResponse -> Int
+ Amazonka.SQS.ChangeMessageVisibilityBatch: [$sel:queueUrl:ChangeMessageVisibilityBatch'] :: ChangeMessageVisibilityBatch -> Text
+ Amazonka.SQS.ChangeMessageVisibilityBatch: [$sel:successful:ChangeMessageVisibilityBatchResponse'] :: ChangeMessageVisibilityBatchResponse -> [ChangeMessageVisibilityBatchResultEntry]
+ Amazonka.SQS.ChangeMessageVisibilityBatch: changeMessageVisibilityBatchResponse_failed :: Lens' ChangeMessageVisibilityBatchResponse [BatchResultErrorEntry]
+ Amazonka.SQS.ChangeMessageVisibilityBatch: changeMessageVisibilityBatchResponse_httpStatus :: Lens' ChangeMessageVisibilityBatchResponse Int
+ Amazonka.SQS.ChangeMessageVisibilityBatch: changeMessageVisibilityBatchResponse_successful :: Lens' ChangeMessageVisibilityBatchResponse [ChangeMessageVisibilityBatchResultEntry]
+ Amazonka.SQS.ChangeMessageVisibilityBatch: changeMessageVisibilityBatch_entries :: Lens' ChangeMessageVisibilityBatch [ChangeMessageVisibilityBatchRequestEntry]
+ Amazonka.SQS.ChangeMessageVisibilityBatch: changeMessageVisibilityBatch_queueUrl :: Lens' ChangeMessageVisibilityBatch Text
+ Amazonka.SQS.ChangeMessageVisibilityBatch: data ChangeMessageVisibilityBatch
+ Amazonka.SQS.ChangeMessageVisibilityBatch: data ChangeMessageVisibilityBatchResponse
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance Amazonka.Data.Path.ToPath Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance Amazonka.Types.AWSRequest Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance Control.DeepSeq.NFData Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance Control.DeepSeq.NFData Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatchResponse
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance Data.Hashable.Class.Hashable Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance GHC.Classes.Eq Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance GHC.Classes.Eq Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatchResponse
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance GHC.Generics.Generic Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance GHC.Generics.Generic Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatchResponse
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance GHC.Read.Read Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance GHC.Read.Read Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatchResponse
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance GHC.Show.Show Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatch
+ Amazonka.SQS.ChangeMessageVisibilityBatch: instance GHC.Show.Show Amazonka.SQS.ChangeMessageVisibilityBatch.ChangeMessageVisibilityBatchResponse
+ Amazonka.SQS.ChangeMessageVisibilityBatch: newChangeMessageVisibilityBatch :: Text -> ChangeMessageVisibilityBatch
+ Amazonka.SQS.ChangeMessageVisibilityBatch: newChangeMessageVisibilityBatchResponse :: Int -> ChangeMessageVisibilityBatchResponse
+ Amazonka.SQS.CreateQueue: CreateQueue' :: Maybe (HashMap QueueAttributeName Text) -> Maybe (HashMap Text Text) -> Text -> CreateQueue
+ Amazonka.SQS.CreateQueue: CreateQueueResponse' :: Maybe Text -> Int -> CreateQueueResponse
+ Amazonka.SQS.CreateQueue: [$sel:attributes:CreateQueue'] :: CreateQueue -> Maybe (HashMap QueueAttributeName Text)
+ Amazonka.SQS.CreateQueue: [$sel:httpStatus:CreateQueueResponse'] :: CreateQueueResponse -> Int
+ Amazonka.SQS.CreateQueue: [$sel:queueName:CreateQueue'] :: CreateQueue -> Text
+ Amazonka.SQS.CreateQueue: [$sel:queueUrl:CreateQueueResponse'] :: CreateQueueResponse -> Maybe Text
+ Amazonka.SQS.CreateQueue: [$sel:tags:CreateQueue'] :: CreateQueue -> Maybe (HashMap Text Text)
+ Amazonka.SQS.CreateQueue: createQueueResponse_httpStatus :: Lens' CreateQueueResponse Int
+ Amazonka.SQS.CreateQueue: createQueueResponse_queueUrl :: Lens' CreateQueueResponse (Maybe Text)
+ Amazonka.SQS.CreateQueue: createQueue_attributes :: Lens' CreateQueue (Maybe (HashMap QueueAttributeName Text))
+ Amazonka.SQS.CreateQueue: createQueue_queueName :: Lens' CreateQueue Text
+ Amazonka.SQS.CreateQueue: createQueue_tags :: Lens' CreateQueue (Maybe (HashMap Text Text))
+ Amazonka.SQS.CreateQueue: data CreateQueue
+ Amazonka.SQS.CreateQueue: data CreateQueueResponse
+ Amazonka.SQS.CreateQueue: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.CreateQueue.CreateQueue
+ Amazonka.SQS.CreateQueue: instance Amazonka.Data.Path.ToPath Amazonka.SQS.CreateQueue.CreateQueue
+ Amazonka.SQS.CreateQueue: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.CreateQueue.CreateQueue
+ Amazonka.SQS.CreateQueue: instance Amazonka.Types.AWSRequest Amazonka.SQS.CreateQueue.CreateQueue
+ Amazonka.SQS.CreateQueue: instance Control.DeepSeq.NFData Amazonka.SQS.CreateQueue.CreateQueue
+ Amazonka.SQS.CreateQueue: instance Control.DeepSeq.NFData Amazonka.SQS.CreateQueue.CreateQueueResponse
+ Amazonka.SQS.CreateQueue: instance Data.Hashable.Class.Hashable Amazonka.SQS.CreateQueue.CreateQueue
+ Amazonka.SQS.CreateQueue: instance GHC.Classes.Eq Amazonka.SQS.CreateQueue.CreateQueue
+ Amazonka.SQS.CreateQueue: instance GHC.Classes.Eq Amazonka.SQS.CreateQueue.CreateQueueResponse
+ Amazonka.SQS.CreateQueue: instance GHC.Generics.Generic Amazonka.SQS.CreateQueue.CreateQueue
+ Amazonka.SQS.CreateQueue: instance GHC.Generics.Generic Amazonka.SQS.CreateQueue.CreateQueueResponse
+ Amazonka.SQS.CreateQueue: instance GHC.Read.Read Amazonka.SQS.CreateQueue.CreateQueue
+ Amazonka.SQS.CreateQueue: instance GHC.Read.Read Amazonka.SQS.CreateQueue.CreateQueueResponse
+ Amazonka.SQS.CreateQueue: instance GHC.Show.Show Amazonka.SQS.CreateQueue.CreateQueue
+ Amazonka.SQS.CreateQueue: instance GHC.Show.Show Amazonka.SQS.CreateQueue.CreateQueueResponse
+ Amazonka.SQS.CreateQueue: newCreateQueue :: Text -> CreateQueue
+ Amazonka.SQS.CreateQueue: newCreateQueueResponse :: Int -> CreateQueueResponse
+ Amazonka.SQS.DeleteMessage: DeleteMessage' :: Text -> Text -> DeleteMessage
+ Amazonka.SQS.DeleteMessage: DeleteMessageResponse' :: DeleteMessageResponse
+ Amazonka.SQS.DeleteMessage: [$sel:queueUrl:DeleteMessage'] :: DeleteMessage -> Text
+ Amazonka.SQS.DeleteMessage: [$sel:receiptHandle:DeleteMessage'] :: DeleteMessage -> Text
+ Amazonka.SQS.DeleteMessage: data DeleteMessage
+ Amazonka.SQS.DeleteMessage: data DeleteMessageResponse
+ Amazonka.SQS.DeleteMessage: deleteMessage_queueUrl :: Lens' DeleteMessage Text
+ Amazonka.SQS.DeleteMessage: deleteMessage_receiptHandle :: Lens' DeleteMessage Text
+ Amazonka.SQS.DeleteMessage: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.DeleteMessage.DeleteMessage
+ Amazonka.SQS.DeleteMessage: instance Amazonka.Data.Path.ToPath Amazonka.SQS.DeleteMessage.DeleteMessage
+ Amazonka.SQS.DeleteMessage: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.DeleteMessage.DeleteMessage
+ Amazonka.SQS.DeleteMessage: instance Amazonka.Types.AWSRequest Amazonka.SQS.DeleteMessage.DeleteMessage
+ Amazonka.SQS.DeleteMessage: instance Control.DeepSeq.NFData Amazonka.SQS.DeleteMessage.DeleteMessage
+ Amazonka.SQS.DeleteMessage: instance Control.DeepSeq.NFData Amazonka.SQS.DeleteMessage.DeleteMessageResponse
+ Amazonka.SQS.DeleteMessage: instance Data.Hashable.Class.Hashable Amazonka.SQS.DeleteMessage.DeleteMessage
+ Amazonka.SQS.DeleteMessage: instance GHC.Classes.Eq Amazonka.SQS.DeleteMessage.DeleteMessage
+ Amazonka.SQS.DeleteMessage: instance GHC.Classes.Eq Amazonka.SQS.DeleteMessage.DeleteMessageResponse
+ Amazonka.SQS.DeleteMessage: instance GHC.Generics.Generic Amazonka.SQS.DeleteMessage.DeleteMessage
+ Amazonka.SQS.DeleteMessage: instance GHC.Generics.Generic Amazonka.SQS.DeleteMessage.DeleteMessageResponse
+ Amazonka.SQS.DeleteMessage: instance GHC.Read.Read Amazonka.SQS.DeleteMessage.DeleteMessage
+ Amazonka.SQS.DeleteMessage: instance GHC.Read.Read Amazonka.SQS.DeleteMessage.DeleteMessageResponse
+ Amazonka.SQS.DeleteMessage: instance GHC.Show.Show Amazonka.SQS.DeleteMessage.DeleteMessage
+ Amazonka.SQS.DeleteMessage: instance GHC.Show.Show Amazonka.SQS.DeleteMessage.DeleteMessageResponse
+ Amazonka.SQS.DeleteMessage: newDeleteMessage :: Text -> Text -> DeleteMessage
+ Amazonka.SQS.DeleteMessage: newDeleteMessageResponse :: DeleteMessageResponse
+ Amazonka.SQS.DeleteMessageBatch: DeleteMessageBatch' :: Text -> [DeleteMessageBatchRequestEntry] -> DeleteMessageBatch
+ Amazonka.SQS.DeleteMessageBatch: DeleteMessageBatchResponse' :: Int -> [DeleteMessageBatchResultEntry] -> [BatchResultErrorEntry] -> DeleteMessageBatchResponse
+ Amazonka.SQS.DeleteMessageBatch: [$sel:entries:DeleteMessageBatch'] :: DeleteMessageBatch -> [DeleteMessageBatchRequestEntry]
+ Amazonka.SQS.DeleteMessageBatch: [$sel:failed:DeleteMessageBatchResponse'] :: DeleteMessageBatchResponse -> [BatchResultErrorEntry]
+ Amazonka.SQS.DeleteMessageBatch: [$sel:httpStatus:DeleteMessageBatchResponse'] :: DeleteMessageBatchResponse -> Int
+ Amazonka.SQS.DeleteMessageBatch: [$sel:queueUrl:DeleteMessageBatch'] :: DeleteMessageBatch -> Text
+ Amazonka.SQS.DeleteMessageBatch: [$sel:successful:DeleteMessageBatchResponse'] :: DeleteMessageBatchResponse -> [DeleteMessageBatchResultEntry]
+ Amazonka.SQS.DeleteMessageBatch: data DeleteMessageBatch
+ Amazonka.SQS.DeleteMessageBatch: data DeleteMessageBatchResponse
+ Amazonka.SQS.DeleteMessageBatch: deleteMessageBatchResponse_failed :: Lens' DeleteMessageBatchResponse [BatchResultErrorEntry]
+ Amazonka.SQS.DeleteMessageBatch: deleteMessageBatchResponse_httpStatus :: Lens' DeleteMessageBatchResponse Int
+ Amazonka.SQS.DeleteMessageBatch: deleteMessageBatchResponse_successful :: Lens' DeleteMessageBatchResponse [DeleteMessageBatchResultEntry]
+ Amazonka.SQS.DeleteMessageBatch: deleteMessageBatch_entries :: Lens' DeleteMessageBatch [DeleteMessageBatchRequestEntry]
+ Amazonka.SQS.DeleteMessageBatch: deleteMessageBatch_queueUrl :: Lens' DeleteMessageBatch Text
+ Amazonka.SQS.DeleteMessageBatch: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatch
+ Amazonka.SQS.DeleteMessageBatch: instance Amazonka.Data.Path.ToPath Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatch
+ Amazonka.SQS.DeleteMessageBatch: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatch
+ Amazonka.SQS.DeleteMessageBatch: instance Amazonka.Types.AWSRequest Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatch
+ Amazonka.SQS.DeleteMessageBatch: instance Control.DeepSeq.NFData Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatch
+ Amazonka.SQS.DeleteMessageBatch: instance Control.DeepSeq.NFData Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatchResponse
+ Amazonka.SQS.DeleteMessageBatch: instance Data.Hashable.Class.Hashable Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatch
+ Amazonka.SQS.DeleteMessageBatch: instance GHC.Classes.Eq Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatch
+ Amazonka.SQS.DeleteMessageBatch: instance GHC.Classes.Eq Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatchResponse
+ Amazonka.SQS.DeleteMessageBatch: instance GHC.Generics.Generic Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatch
+ Amazonka.SQS.DeleteMessageBatch: instance GHC.Generics.Generic Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatchResponse
+ Amazonka.SQS.DeleteMessageBatch: instance GHC.Read.Read Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatch
+ Amazonka.SQS.DeleteMessageBatch: instance GHC.Read.Read Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatchResponse
+ Amazonka.SQS.DeleteMessageBatch: instance GHC.Show.Show Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatch
+ Amazonka.SQS.DeleteMessageBatch: instance GHC.Show.Show Amazonka.SQS.DeleteMessageBatch.DeleteMessageBatchResponse
+ Amazonka.SQS.DeleteMessageBatch: newDeleteMessageBatch :: Text -> DeleteMessageBatch
+ Amazonka.SQS.DeleteMessageBatch: newDeleteMessageBatchResponse :: Int -> DeleteMessageBatchResponse
+ Amazonka.SQS.DeleteQueue: DeleteQueue' :: Text -> DeleteQueue
+ Amazonka.SQS.DeleteQueue: DeleteQueueResponse' :: DeleteQueueResponse
+ Amazonka.SQS.DeleteQueue: [$sel:queueUrl:DeleteQueue'] :: DeleteQueue -> Text
+ Amazonka.SQS.DeleteQueue: data DeleteQueue
+ Amazonka.SQS.DeleteQueue: data DeleteQueueResponse
+ Amazonka.SQS.DeleteQueue: deleteQueue_queueUrl :: Lens' DeleteQueue Text
+ Amazonka.SQS.DeleteQueue: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.DeleteQueue.DeleteQueue
+ Amazonka.SQS.DeleteQueue: instance Amazonka.Data.Path.ToPath Amazonka.SQS.DeleteQueue.DeleteQueue
+ Amazonka.SQS.DeleteQueue: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.DeleteQueue.DeleteQueue
+ Amazonka.SQS.DeleteQueue: instance Amazonka.Types.AWSRequest Amazonka.SQS.DeleteQueue.DeleteQueue
+ Amazonka.SQS.DeleteQueue: instance Control.DeepSeq.NFData Amazonka.SQS.DeleteQueue.DeleteQueue
+ Amazonka.SQS.DeleteQueue: instance Control.DeepSeq.NFData Amazonka.SQS.DeleteQueue.DeleteQueueResponse
+ Amazonka.SQS.DeleteQueue: instance Data.Hashable.Class.Hashable Amazonka.SQS.DeleteQueue.DeleteQueue
+ Amazonka.SQS.DeleteQueue: instance GHC.Classes.Eq Amazonka.SQS.DeleteQueue.DeleteQueue
+ Amazonka.SQS.DeleteQueue: instance GHC.Classes.Eq Amazonka.SQS.DeleteQueue.DeleteQueueResponse
+ Amazonka.SQS.DeleteQueue: instance GHC.Generics.Generic Amazonka.SQS.DeleteQueue.DeleteQueue
+ Amazonka.SQS.DeleteQueue: instance GHC.Generics.Generic Amazonka.SQS.DeleteQueue.DeleteQueueResponse
+ Amazonka.SQS.DeleteQueue: instance GHC.Read.Read Amazonka.SQS.DeleteQueue.DeleteQueue
+ Amazonka.SQS.DeleteQueue: instance GHC.Read.Read Amazonka.SQS.DeleteQueue.DeleteQueueResponse
+ Amazonka.SQS.DeleteQueue: instance GHC.Show.Show Amazonka.SQS.DeleteQueue.DeleteQueue
+ Amazonka.SQS.DeleteQueue: instance GHC.Show.Show Amazonka.SQS.DeleteQueue.DeleteQueueResponse
+ Amazonka.SQS.DeleteQueue: newDeleteQueue :: Text -> DeleteQueue
+ Amazonka.SQS.DeleteQueue: newDeleteQueueResponse :: DeleteQueueResponse
+ Amazonka.SQS.GetQueueAttributes: GetQueueAttributes' :: Maybe [QueueAttributeName] -> Text -> GetQueueAttributes
+ Amazonka.SQS.GetQueueAttributes: GetQueueAttributesResponse' :: Maybe (HashMap QueueAttributeName Text) -> Int -> GetQueueAttributesResponse
+ Amazonka.SQS.GetQueueAttributes: [$sel:attributeNames:GetQueueAttributes'] :: GetQueueAttributes -> Maybe [QueueAttributeName]
+ Amazonka.SQS.GetQueueAttributes: [$sel:attributes:GetQueueAttributesResponse'] :: GetQueueAttributesResponse -> Maybe (HashMap QueueAttributeName Text)
+ Amazonka.SQS.GetQueueAttributes: [$sel:httpStatus:GetQueueAttributesResponse'] :: GetQueueAttributesResponse -> Int
+ Amazonka.SQS.GetQueueAttributes: [$sel:queueUrl:GetQueueAttributes'] :: GetQueueAttributes -> Text
+ Amazonka.SQS.GetQueueAttributes: data GetQueueAttributes
+ Amazonka.SQS.GetQueueAttributes: data GetQueueAttributesResponse
+ Amazonka.SQS.GetQueueAttributes: getQueueAttributesResponse_attributes :: Lens' GetQueueAttributesResponse (Maybe (HashMap QueueAttributeName Text))
+ Amazonka.SQS.GetQueueAttributes: getQueueAttributesResponse_httpStatus :: Lens' GetQueueAttributesResponse Int
+ Amazonka.SQS.GetQueueAttributes: getQueueAttributes_attributeNames :: Lens' GetQueueAttributes (Maybe [QueueAttributeName])
+ Amazonka.SQS.GetQueueAttributes: getQueueAttributes_queueUrl :: Lens' GetQueueAttributes Text
+ Amazonka.SQS.GetQueueAttributes: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.GetQueueAttributes.GetQueueAttributes
+ Amazonka.SQS.GetQueueAttributes: instance Amazonka.Data.Path.ToPath Amazonka.SQS.GetQueueAttributes.GetQueueAttributes
+ Amazonka.SQS.GetQueueAttributes: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.GetQueueAttributes.GetQueueAttributes
+ Amazonka.SQS.GetQueueAttributes: instance Amazonka.Types.AWSRequest Amazonka.SQS.GetQueueAttributes.GetQueueAttributes
+ Amazonka.SQS.GetQueueAttributes: instance Control.DeepSeq.NFData Amazonka.SQS.GetQueueAttributes.GetQueueAttributes
+ Amazonka.SQS.GetQueueAttributes: instance Control.DeepSeq.NFData Amazonka.SQS.GetQueueAttributes.GetQueueAttributesResponse
+ Amazonka.SQS.GetQueueAttributes: instance Data.Hashable.Class.Hashable Amazonka.SQS.GetQueueAttributes.GetQueueAttributes
+ Amazonka.SQS.GetQueueAttributes: instance GHC.Classes.Eq Amazonka.SQS.GetQueueAttributes.GetQueueAttributes
+ Amazonka.SQS.GetQueueAttributes: instance GHC.Classes.Eq Amazonka.SQS.GetQueueAttributes.GetQueueAttributesResponse
+ Amazonka.SQS.GetQueueAttributes: instance GHC.Generics.Generic Amazonka.SQS.GetQueueAttributes.GetQueueAttributes
+ Amazonka.SQS.GetQueueAttributes: instance GHC.Generics.Generic Amazonka.SQS.GetQueueAttributes.GetQueueAttributesResponse
+ Amazonka.SQS.GetQueueAttributes: instance GHC.Read.Read Amazonka.SQS.GetQueueAttributes.GetQueueAttributes
+ Amazonka.SQS.GetQueueAttributes: instance GHC.Read.Read Amazonka.SQS.GetQueueAttributes.GetQueueAttributesResponse
+ Amazonka.SQS.GetQueueAttributes: instance GHC.Show.Show Amazonka.SQS.GetQueueAttributes.GetQueueAttributes
+ Amazonka.SQS.GetQueueAttributes: instance GHC.Show.Show Amazonka.SQS.GetQueueAttributes.GetQueueAttributesResponse
+ Amazonka.SQS.GetQueueAttributes: newGetQueueAttributes :: Text -> GetQueueAttributes
+ Amazonka.SQS.GetQueueAttributes: newGetQueueAttributesResponse :: Int -> GetQueueAttributesResponse
+ Amazonka.SQS.GetQueueUrl: GetQueueUrl' :: Maybe Text -> Text -> GetQueueUrl
+ Amazonka.SQS.GetQueueUrl: GetQueueUrlResponse' :: Int -> Text -> GetQueueUrlResponse
+ Amazonka.SQS.GetQueueUrl: [$sel:httpStatus:GetQueueUrlResponse'] :: GetQueueUrlResponse -> Int
+ Amazonka.SQS.GetQueueUrl: [$sel:queueName:GetQueueUrl'] :: GetQueueUrl -> Text
+ Amazonka.SQS.GetQueueUrl: [$sel:queueOwnerAWSAccountId:GetQueueUrl'] :: GetQueueUrl -> Maybe Text
+ Amazonka.SQS.GetQueueUrl: [$sel:queueUrl:GetQueueUrlResponse'] :: GetQueueUrlResponse -> Text
+ Amazonka.SQS.GetQueueUrl: data GetQueueUrl
+ Amazonka.SQS.GetQueueUrl: data GetQueueUrlResponse
+ Amazonka.SQS.GetQueueUrl: getQueueUrlResponse_httpStatus :: Lens' GetQueueUrlResponse Int
+ Amazonka.SQS.GetQueueUrl: getQueueUrlResponse_queueUrl :: Lens' GetQueueUrlResponse Text
+ Amazonka.SQS.GetQueueUrl: getQueueUrl_queueName :: Lens' GetQueueUrl Text
+ Amazonka.SQS.GetQueueUrl: getQueueUrl_queueOwnerAWSAccountId :: Lens' GetQueueUrl (Maybe Text)
+ Amazonka.SQS.GetQueueUrl: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.GetQueueUrl.GetQueueUrl
+ Amazonka.SQS.GetQueueUrl: instance Amazonka.Data.Path.ToPath Amazonka.SQS.GetQueueUrl.GetQueueUrl
+ Amazonka.SQS.GetQueueUrl: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.GetQueueUrl.GetQueueUrl
+ Amazonka.SQS.GetQueueUrl: instance Amazonka.Types.AWSRequest Amazonka.SQS.GetQueueUrl.GetQueueUrl
+ Amazonka.SQS.GetQueueUrl: instance Control.DeepSeq.NFData Amazonka.SQS.GetQueueUrl.GetQueueUrl
+ Amazonka.SQS.GetQueueUrl: instance Control.DeepSeq.NFData Amazonka.SQS.GetQueueUrl.GetQueueUrlResponse
+ Amazonka.SQS.GetQueueUrl: instance Data.Hashable.Class.Hashable Amazonka.SQS.GetQueueUrl.GetQueueUrl
+ Amazonka.SQS.GetQueueUrl: instance GHC.Classes.Eq Amazonka.SQS.GetQueueUrl.GetQueueUrl
+ Amazonka.SQS.GetQueueUrl: instance GHC.Classes.Eq Amazonka.SQS.GetQueueUrl.GetQueueUrlResponse
+ Amazonka.SQS.GetQueueUrl: instance GHC.Generics.Generic Amazonka.SQS.GetQueueUrl.GetQueueUrl
+ Amazonka.SQS.GetQueueUrl: instance GHC.Generics.Generic Amazonka.SQS.GetQueueUrl.GetQueueUrlResponse
+ Amazonka.SQS.GetQueueUrl: instance GHC.Read.Read Amazonka.SQS.GetQueueUrl.GetQueueUrl
+ Amazonka.SQS.GetQueueUrl: instance GHC.Read.Read Amazonka.SQS.GetQueueUrl.GetQueueUrlResponse
+ Amazonka.SQS.GetQueueUrl: instance GHC.Show.Show Amazonka.SQS.GetQueueUrl.GetQueueUrl
+ Amazonka.SQS.GetQueueUrl: instance GHC.Show.Show Amazonka.SQS.GetQueueUrl.GetQueueUrlResponse
+ Amazonka.SQS.GetQueueUrl: newGetQueueUrl :: Text -> GetQueueUrl
+ Amazonka.SQS.GetQueueUrl: newGetQueueUrlResponse :: Int -> Text -> GetQueueUrlResponse
+ Amazonka.SQS.Lens: addPermission_aWSAccountIds :: Lens' AddPermission [Text]
+ Amazonka.SQS.Lens: addPermission_actions :: Lens' AddPermission [Text]
+ Amazonka.SQS.Lens: addPermission_label :: Lens' AddPermission Text
+ Amazonka.SQS.Lens: addPermission_queueUrl :: Lens' AddPermission Text
+ Amazonka.SQS.Lens: batchResultErrorEntry_code :: Lens' BatchResultErrorEntry Text
+ Amazonka.SQS.Lens: batchResultErrorEntry_id :: Lens' BatchResultErrorEntry Text
+ Amazonka.SQS.Lens: batchResultErrorEntry_message :: Lens' BatchResultErrorEntry (Maybe Text)
+ Amazonka.SQS.Lens: batchResultErrorEntry_senderFault :: Lens' BatchResultErrorEntry Bool
+ Amazonka.SQS.Lens: changeMessageVisibilityBatchRequestEntry_id :: Lens' ChangeMessageVisibilityBatchRequestEntry Text
+ Amazonka.SQS.Lens: changeMessageVisibilityBatchRequestEntry_receiptHandle :: Lens' ChangeMessageVisibilityBatchRequestEntry Text
+ Amazonka.SQS.Lens: changeMessageVisibilityBatchRequestEntry_visibilityTimeout :: Lens' ChangeMessageVisibilityBatchRequestEntry (Maybe Int)
+ Amazonka.SQS.Lens: changeMessageVisibilityBatchResponse_failed :: Lens' ChangeMessageVisibilityBatchResponse [BatchResultErrorEntry]
+ Amazonka.SQS.Lens: changeMessageVisibilityBatchResponse_httpStatus :: Lens' ChangeMessageVisibilityBatchResponse Int
+ Amazonka.SQS.Lens: changeMessageVisibilityBatchResponse_successful :: Lens' ChangeMessageVisibilityBatchResponse [ChangeMessageVisibilityBatchResultEntry]
+ Amazonka.SQS.Lens: changeMessageVisibilityBatchResultEntry_id :: Lens' ChangeMessageVisibilityBatchResultEntry Text
+ Amazonka.SQS.Lens: changeMessageVisibilityBatch_entries :: Lens' ChangeMessageVisibilityBatch [ChangeMessageVisibilityBatchRequestEntry]
+ Amazonka.SQS.Lens: changeMessageVisibilityBatch_queueUrl :: Lens' ChangeMessageVisibilityBatch Text
+ Amazonka.SQS.Lens: changeMessageVisibility_queueUrl :: Lens' ChangeMessageVisibility Text
+ Amazonka.SQS.Lens: changeMessageVisibility_receiptHandle :: Lens' ChangeMessageVisibility Text
+ Amazonka.SQS.Lens: changeMessageVisibility_visibilityTimeout :: Lens' ChangeMessageVisibility Int
+ Amazonka.SQS.Lens: createQueueResponse_httpStatus :: Lens' CreateQueueResponse Int
+ Amazonka.SQS.Lens: createQueueResponse_queueUrl :: Lens' CreateQueueResponse (Maybe Text)
+ Amazonka.SQS.Lens: createQueue_attributes :: Lens' CreateQueue (Maybe (HashMap QueueAttributeName Text))
+ Amazonka.SQS.Lens: createQueue_queueName :: Lens' CreateQueue Text
+ Amazonka.SQS.Lens: createQueue_tags :: Lens' CreateQueue (Maybe (HashMap Text Text))
+ Amazonka.SQS.Lens: deleteMessageBatchRequestEntry_id :: Lens' DeleteMessageBatchRequestEntry Text
+ Amazonka.SQS.Lens: deleteMessageBatchRequestEntry_receiptHandle :: Lens' DeleteMessageBatchRequestEntry Text
+ Amazonka.SQS.Lens: deleteMessageBatchResponse_failed :: Lens' DeleteMessageBatchResponse [BatchResultErrorEntry]
+ Amazonka.SQS.Lens: deleteMessageBatchResponse_httpStatus :: Lens' DeleteMessageBatchResponse Int
+ Amazonka.SQS.Lens: deleteMessageBatchResponse_successful :: Lens' DeleteMessageBatchResponse [DeleteMessageBatchResultEntry]
+ Amazonka.SQS.Lens: deleteMessageBatchResultEntry_id :: Lens' DeleteMessageBatchResultEntry Text
+ Amazonka.SQS.Lens: deleteMessageBatch_entries :: Lens' DeleteMessageBatch [DeleteMessageBatchRequestEntry]
+ Amazonka.SQS.Lens: deleteMessageBatch_queueUrl :: Lens' DeleteMessageBatch Text
+ Amazonka.SQS.Lens: deleteMessage_queueUrl :: Lens' DeleteMessage Text
+ Amazonka.SQS.Lens: deleteMessage_receiptHandle :: Lens' DeleteMessage Text
+ Amazonka.SQS.Lens: deleteQueue_queueUrl :: Lens' DeleteQueue Text
+ Amazonka.SQS.Lens: getQueueAttributesResponse_attributes :: Lens' GetQueueAttributesResponse (Maybe (HashMap QueueAttributeName Text))
+ Amazonka.SQS.Lens: getQueueAttributesResponse_httpStatus :: Lens' GetQueueAttributesResponse Int
+ Amazonka.SQS.Lens: getQueueAttributes_attributeNames :: Lens' GetQueueAttributes (Maybe [QueueAttributeName])
+ Amazonka.SQS.Lens: getQueueAttributes_queueUrl :: Lens' GetQueueAttributes Text
+ Amazonka.SQS.Lens: getQueueUrlResponse_httpStatus :: Lens' GetQueueUrlResponse Int
+ Amazonka.SQS.Lens: getQueueUrlResponse_queueUrl :: Lens' GetQueueUrlResponse Text
+ Amazonka.SQS.Lens: getQueueUrl_queueName :: Lens' GetQueueUrl Text
+ Amazonka.SQS.Lens: getQueueUrl_queueOwnerAWSAccountId :: Lens' GetQueueUrl (Maybe Text)
+ Amazonka.SQS.Lens: listDeadLetterSourceQueuesResponse_httpStatus :: Lens' ListDeadLetterSourceQueuesResponse Int
+ Amazonka.SQS.Lens: listDeadLetterSourceQueuesResponse_nextToken :: Lens' ListDeadLetterSourceQueuesResponse (Maybe Text)
+ Amazonka.SQS.Lens: listDeadLetterSourceQueuesResponse_queueUrls :: Lens' ListDeadLetterSourceQueuesResponse [Text]
+ Amazonka.SQS.Lens: listDeadLetterSourceQueues_maxResults :: Lens' ListDeadLetterSourceQueues (Maybe Int)
+ Amazonka.SQS.Lens: listDeadLetterSourceQueues_nextToken :: Lens' ListDeadLetterSourceQueues (Maybe Text)
+ Amazonka.SQS.Lens: listDeadLetterSourceQueues_queueUrl :: Lens' ListDeadLetterSourceQueues Text
+ Amazonka.SQS.Lens: listQueueTagsResponse_httpStatus :: Lens' ListQueueTagsResponse Int
+ Amazonka.SQS.Lens: listQueueTagsResponse_tags :: Lens' ListQueueTagsResponse (Maybe (HashMap Text Text))
+ Amazonka.SQS.Lens: listQueueTags_queueUrl :: Lens' ListQueueTags Text
+ Amazonka.SQS.Lens: listQueuesResponse_httpStatus :: Lens' ListQueuesResponse Int
+ Amazonka.SQS.Lens: listQueuesResponse_nextToken :: Lens' ListQueuesResponse (Maybe Text)
+ Amazonka.SQS.Lens: listQueuesResponse_queueUrls :: Lens' ListQueuesResponse (Maybe [Text])
+ Amazonka.SQS.Lens: listQueues_maxResults :: Lens' ListQueues (Maybe Int)
+ Amazonka.SQS.Lens: listQueues_nextToken :: Lens' ListQueues (Maybe Text)
+ Amazonka.SQS.Lens: listQueues_queueNamePrefix :: Lens' ListQueues (Maybe Text)
+ Amazonka.SQS.Lens: messageAttributeValue_binaryListValues :: Lens' MessageAttributeValue (Maybe [ByteString])
+ Amazonka.SQS.Lens: messageAttributeValue_binaryValue :: Lens' MessageAttributeValue (Maybe ByteString)
+ Amazonka.SQS.Lens: messageAttributeValue_dataType :: Lens' MessageAttributeValue Text
+ Amazonka.SQS.Lens: messageAttributeValue_stringListValues :: Lens' MessageAttributeValue (Maybe [Text])
+ Amazonka.SQS.Lens: messageAttributeValue_stringValue :: Lens' MessageAttributeValue (Maybe Text)
+ Amazonka.SQS.Lens: messageSystemAttributeValue_binaryListValues :: Lens' MessageSystemAttributeValue (Maybe [ByteString])
+ Amazonka.SQS.Lens: messageSystemAttributeValue_binaryValue :: Lens' MessageSystemAttributeValue (Maybe ByteString)
+ Amazonka.SQS.Lens: messageSystemAttributeValue_dataType :: Lens' MessageSystemAttributeValue Text
+ Amazonka.SQS.Lens: messageSystemAttributeValue_stringListValues :: Lens' MessageSystemAttributeValue (Maybe [Text])
+ Amazonka.SQS.Lens: messageSystemAttributeValue_stringValue :: Lens' MessageSystemAttributeValue (Maybe Text)
+ Amazonka.SQS.Lens: message_attributes :: Lens' Message (Maybe (HashMap MessageAttribute Text))
+ Amazonka.SQS.Lens: message_body :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Lens: message_mD5OfBody :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Lens: message_mD5OfMessageAttributes :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Lens: message_messageAttributes :: Lens' Message (Maybe (HashMap Text MessageAttributeValue))
+ Amazonka.SQS.Lens: message_messageId :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Lens: message_receiptHandle :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Lens: purgeQueue_queueUrl :: Lens' PurgeQueue Text
+ Amazonka.SQS.Lens: receiveMessageResponse_httpStatus :: Lens' ReceiveMessageResponse Int
+ Amazonka.SQS.Lens: receiveMessageResponse_messages :: Lens' ReceiveMessageResponse (Maybe [Message])
+ Amazonka.SQS.Lens: receiveMessage_attributeNames :: Lens' ReceiveMessage (Maybe [MessageAttribute])
+ Amazonka.SQS.Lens: receiveMessage_maxNumberOfMessages :: Lens' ReceiveMessage (Maybe Int)
+ Amazonka.SQS.Lens: receiveMessage_messageAttributeNames :: Lens' ReceiveMessage (Maybe [Text])
+ Amazonka.SQS.Lens: receiveMessage_queueUrl :: Lens' ReceiveMessage Text
+ Amazonka.SQS.Lens: receiveMessage_receiveRequestAttemptId :: Lens' ReceiveMessage (Maybe Text)
+ Amazonka.SQS.Lens: receiveMessage_visibilityTimeout :: Lens' ReceiveMessage (Maybe Int)
+ Amazonka.SQS.Lens: receiveMessage_waitTimeSeconds :: Lens' ReceiveMessage (Maybe Int)
+ Amazonka.SQS.Lens: removePermission_label :: Lens' RemovePermission Text
+ Amazonka.SQS.Lens: removePermission_queueUrl :: Lens' RemovePermission Text
+ Amazonka.SQS.Lens: sendMessageBatchRequestEntry_delaySeconds :: Lens' SendMessageBatchRequestEntry (Maybe Int)
+ Amazonka.SQS.Lens: sendMessageBatchRequestEntry_id :: Lens' SendMessageBatchRequestEntry Text
+ Amazonka.SQS.Lens: sendMessageBatchRequestEntry_messageAttributes :: Lens' SendMessageBatchRequestEntry (Maybe (HashMap Text MessageAttributeValue))
+ Amazonka.SQS.Lens: sendMessageBatchRequestEntry_messageBody :: Lens' SendMessageBatchRequestEntry Text
+ Amazonka.SQS.Lens: sendMessageBatchRequestEntry_messageDeduplicationId :: Lens' SendMessageBatchRequestEntry (Maybe Text)
+ Amazonka.SQS.Lens: sendMessageBatchRequestEntry_messageGroupId :: Lens' SendMessageBatchRequestEntry (Maybe Text)
+ Amazonka.SQS.Lens: sendMessageBatchRequestEntry_messageSystemAttributes :: Lens' SendMessageBatchRequestEntry (Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue))
+ Amazonka.SQS.Lens: sendMessageBatchResponse_failed :: Lens' SendMessageBatchResponse [BatchResultErrorEntry]
+ Amazonka.SQS.Lens: sendMessageBatchResponse_httpStatus :: Lens' SendMessageBatchResponse Int
+ Amazonka.SQS.Lens: sendMessageBatchResponse_successful :: Lens' SendMessageBatchResponse [SendMessageBatchResultEntry]
+ Amazonka.SQS.Lens: sendMessageBatchResultEntry_id :: Lens' SendMessageBatchResultEntry Text
+ Amazonka.SQS.Lens: sendMessageBatchResultEntry_mD5OfMessageAttributes :: Lens' SendMessageBatchResultEntry (Maybe Text)
+ Amazonka.SQS.Lens: sendMessageBatchResultEntry_mD5OfMessageBody :: Lens' SendMessageBatchResultEntry Text
+ Amazonka.SQS.Lens: sendMessageBatchResultEntry_mD5OfMessageSystemAttributes :: Lens' SendMessageBatchResultEntry (Maybe Text)
+ Amazonka.SQS.Lens: sendMessageBatchResultEntry_messageId :: Lens' SendMessageBatchResultEntry Text
+ Amazonka.SQS.Lens: sendMessageBatchResultEntry_sequenceNumber :: Lens' SendMessageBatchResultEntry (Maybe Text)
+ Amazonka.SQS.Lens: sendMessageBatch_entries :: Lens' SendMessageBatch [SendMessageBatchRequestEntry]
+ Amazonka.SQS.Lens: sendMessageBatch_queueUrl :: Lens' SendMessageBatch Text
+ Amazonka.SQS.Lens: sendMessageResponse_httpStatus :: Lens' SendMessageResponse Int
+ Amazonka.SQS.Lens: sendMessageResponse_mD5OfMessageAttributes :: Lens' SendMessageResponse (Maybe Text)
+ Amazonka.SQS.Lens: sendMessageResponse_mD5OfMessageBody :: Lens' SendMessageResponse (Maybe Text)
+ Amazonka.SQS.Lens: sendMessageResponse_mD5OfMessageSystemAttributes :: Lens' SendMessageResponse (Maybe Text)
+ Amazonka.SQS.Lens: sendMessageResponse_messageId :: Lens' SendMessageResponse (Maybe Text)
+ Amazonka.SQS.Lens: sendMessageResponse_sequenceNumber :: Lens' SendMessageResponse (Maybe Text)
+ Amazonka.SQS.Lens: sendMessage_delaySeconds :: Lens' SendMessage (Maybe Int)
+ Amazonka.SQS.Lens: sendMessage_messageAttributes :: Lens' SendMessage (Maybe (HashMap Text MessageAttributeValue))
+ Amazonka.SQS.Lens: sendMessage_messageBody :: Lens' SendMessage Text
+ Amazonka.SQS.Lens: sendMessage_messageDeduplicationId :: Lens' SendMessage (Maybe Text)
+ Amazonka.SQS.Lens: sendMessage_messageGroupId :: Lens' SendMessage (Maybe Text)
+ Amazonka.SQS.Lens: sendMessage_messageSystemAttributes :: Lens' SendMessage (Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue))
+ Amazonka.SQS.Lens: sendMessage_queueUrl :: Lens' SendMessage Text
+ Amazonka.SQS.Lens: setQueueAttributes_attributes :: Lens' SetQueueAttributes (HashMap QueueAttributeName Text)
+ Amazonka.SQS.Lens: setQueueAttributes_queueUrl :: Lens' SetQueueAttributes Text
+ Amazonka.SQS.Lens: tagQueue_queueUrl :: Lens' TagQueue Text
+ Amazonka.SQS.Lens: tagQueue_tags :: Lens' TagQueue (HashMap Text Text)
+ Amazonka.SQS.Lens: untagQueue_queueUrl :: Lens' UntagQueue Text
+ Amazonka.SQS.Lens: untagQueue_tagKeys :: Lens' UntagQueue [Text]
+ Amazonka.SQS.ListDeadLetterSourceQueues: ListDeadLetterSourceQueues' :: Maybe Int -> Maybe Text -> Text -> ListDeadLetterSourceQueues
+ Amazonka.SQS.ListDeadLetterSourceQueues: ListDeadLetterSourceQueuesResponse' :: Maybe Text -> Int -> [Text] -> ListDeadLetterSourceQueuesResponse
+ Amazonka.SQS.ListDeadLetterSourceQueues: [$sel:httpStatus:ListDeadLetterSourceQueuesResponse'] :: ListDeadLetterSourceQueuesResponse -> Int
+ Amazonka.SQS.ListDeadLetterSourceQueues: [$sel:maxResults:ListDeadLetterSourceQueues'] :: ListDeadLetterSourceQueues -> Maybe Int
+ Amazonka.SQS.ListDeadLetterSourceQueues: [$sel:nextToken:ListDeadLetterSourceQueues'] :: ListDeadLetterSourceQueues -> Maybe Text
+ Amazonka.SQS.ListDeadLetterSourceQueues: [$sel:nextToken:ListDeadLetterSourceQueuesResponse'] :: ListDeadLetterSourceQueuesResponse -> Maybe Text
+ Amazonka.SQS.ListDeadLetterSourceQueues: [$sel:queueUrl:ListDeadLetterSourceQueues'] :: ListDeadLetterSourceQueues -> Text
+ Amazonka.SQS.ListDeadLetterSourceQueues: [$sel:queueUrls:ListDeadLetterSourceQueuesResponse'] :: ListDeadLetterSourceQueuesResponse -> [Text]
+ Amazonka.SQS.ListDeadLetterSourceQueues: data ListDeadLetterSourceQueues
+ Amazonka.SQS.ListDeadLetterSourceQueues: data ListDeadLetterSourceQueuesResponse
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance Amazonka.Data.Path.ToPath Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance Amazonka.Pager.AWSPager Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance Amazonka.Types.AWSRequest Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance Control.DeepSeq.NFData Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance Control.DeepSeq.NFData Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueuesResponse
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance Data.Hashable.Class.Hashable Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance GHC.Classes.Eq Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance GHC.Classes.Eq Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueuesResponse
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance GHC.Generics.Generic Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance GHC.Generics.Generic Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueuesResponse
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance GHC.Read.Read Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance GHC.Read.Read Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueuesResponse
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance GHC.Show.Show Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueues
+ Amazonka.SQS.ListDeadLetterSourceQueues: instance GHC.Show.Show Amazonka.SQS.ListDeadLetterSourceQueues.ListDeadLetterSourceQueuesResponse
+ Amazonka.SQS.ListDeadLetterSourceQueues: listDeadLetterSourceQueuesResponse_httpStatus :: Lens' ListDeadLetterSourceQueuesResponse Int
+ Amazonka.SQS.ListDeadLetterSourceQueues: listDeadLetterSourceQueuesResponse_nextToken :: Lens' ListDeadLetterSourceQueuesResponse (Maybe Text)
+ Amazonka.SQS.ListDeadLetterSourceQueues: listDeadLetterSourceQueuesResponse_queueUrls :: Lens' ListDeadLetterSourceQueuesResponse [Text]
+ Amazonka.SQS.ListDeadLetterSourceQueues: listDeadLetterSourceQueues_maxResults :: Lens' ListDeadLetterSourceQueues (Maybe Int)
+ Amazonka.SQS.ListDeadLetterSourceQueues: listDeadLetterSourceQueues_nextToken :: Lens' ListDeadLetterSourceQueues (Maybe Text)
+ Amazonka.SQS.ListDeadLetterSourceQueues: listDeadLetterSourceQueues_queueUrl :: Lens' ListDeadLetterSourceQueues Text
+ Amazonka.SQS.ListDeadLetterSourceQueues: newListDeadLetterSourceQueues :: Text -> ListDeadLetterSourceQueues
+ Amazonka.SQS.ListDeadLetterSourceQueues: newListDeadLetterSourceQueuesResponse :: Int -> ListDeadLetterSourceQueuesResponse
+ Amazonka.SQS.ListQueueTags: ListQueueTags' :: Text -> ListQueueTags
+ Amazonka.SQS.ListQueueTags: ListQueueTagsResponse' :: Maybe (HashMap Text Text) -> Int -> ListQueueTagsResponse
+ Amazonka.SQS.ListQueueTags: [$sel:httpStatus:ListQueueTagsResponse'] :: ListQueueTagsResponse -> Int
+ Amazonka.SQS.ListQueueTags: [$sel:queueUrl:ListQueueTags'] :: ListQueueTags -> Text
+ Amazonka.SQS.ListQueueTags: [$sel:tags:ListQueueTagsResponse'] :: ListQueueTagsResponse -> Maybe (HashMap Text Text)
+ Amazonka.SQS.ListQueueTags: data ListQueueTags
+ Amazonka.SQS.ListQueueTags: data ListQueueTagsResponse
+ Amazonka.SQS.ListQueueTags: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.ListQueueTags.ListQueueTags
+ Amazonka.SQS.ListQueueTags: instance Amazonka.Data.Path.ToPath Amazonka.SQS.ListQueueTags.ListQueueTags
+ Amazonka.SQS.ListQueueTags: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.ListQueueTags.ListQueueTags
+ Amazonka.SQS.ListQueueTags: instance Amazonka.Types.AWSRequest Amazonka.SQS.ListQueueTags.ListQueueTags
+ Amazonka.SQS.ListQueueTags: instance Control.DeepSeq.NFData Amazonka.SQS.ListQueueTags.ListQueueTags
+ Amazonka.SQS.ListQueueTags: instance Control.DeepSeq.NFData Amazonka.SQS.ListQueueTags.ListQueueTagsResponse
+ Amazonka.SQS.ListQueueTags: instance Data.Hashable.Class.Hashable Amazonka.SQS.ListQueueTags.ListQueueTags
+ Amazonka.SQS.ListQueueTags: instance GHC.Classes.Eq Amazonka.SQS.ListQueueTags.ListQueueTags
+ Amazonka.SQS.ListQueueTags: instance GHC.Classes.Eq Amazonka.SQS.ListQueueTags.ListQueueTagsResponse
+ Amazonka.SQS.ListQueueTags: instance GHC.Generics.Generic Amazonka.SQS.ListQueueTags.ListQueueTags
+ Amazonka.SQS.ListQueueTags: instance GHC.Generics.Generic Amazonka.SQS.ListQueueTags.ListQueueTagsResponse
+ Amazonka.SQS.ListQueueTags: instance GHC.Read.Read Amazonka.SQS.ListQueueTags.ListQueueTags
+ Amazonka.SQS.ListQueueTags: instance GHC.Read.Read Amazonka.SQS.ListQueueTags.ListQueueTagsResponse
+ Amazonka.SQS.ListQueueTags: instance GHC.Show.Show Amazonka.SQS.ListQueueTags.ListQueueTags
+ Amazonka.SQS.ListQueueTags: instance GHC.Show.Show Amazonka.SQS.ListQueueTags.ListQueueTagsResponse
+ Amazonka.SQS.ListQueueTags: listQueueTagsResponse_httpStatus :: Lens' ListQueueTagsResponse Int
+ Amazonka.SQS.ListQueueTags: listQueueTagsResponse_tags :: Lens' ListQueueTagsResponse (Maybe (HashMap Text Text))
+ Amazonka.SQS.ListQueueTags: listQueueTags_queueUrl :: Lens' ListQueueTags Text
+ Amazonka.SQS.ListQueueTags: newListQueueTags :: Text -> ListQueueTags
+ Amazonka.SQS.ListQueueTags: newListQueueTagsResponse :: Int -> ListQueueTagsResponse
+ Amazonka.SQS.ListQueues: ListQueues' :: Maybe Int -> Maybe Text -> Maybe Text -> ListQueues
+ Amazonka.SQS.ListQueues: ListQueuesResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListQueuesResponse
+ Amazonka.SQS.ListQueues: [$sel:httpStatus:ListQueuesResponse'] :: ListQueuesResponse -> Int
+ Amazonka.SQS.ListQueues: [$sel:maxResults:ListQueues'] :: ListQueues -> Maybe Int
+ Amazonka.SQS.ListQueues: [$sel:nextToken:ListQueues'] :: ListQueues -> Maybe Text
+ Amazonka.SQS.ListQueues: [$sel:nextToken:ListQueuesResponse'] :: ListQueuesResponse -> Maybe Text
+ Amazonka.SQS.ListQueues: [$sel:queueNamePrefix:ListQueues'] :: ListQueues -> Maybe Text
+ Amazonka.SQS.ListQueues: [$sel:queueUrls:ListQueuesResponse'] :: ListQueuesResponse -> Maybe [Text]
+ Amazonka.SQS.ListQueues: data ListQueues
+ Amazonka.SQS.ListQueues: data ListQueuesResponse
+ Amazonka.SQS.ListQueues: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.ListQueues.ListQueues
+ Amazonka.SQS.ListQueues: instance Amazonka.Data.Path.ToPath Amazonka.SQS.ListQueues.ListQueues
+ Amazonka.SQS.ListQueues: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.ListQueues.ListQueues
+ Amazonka.SQS.ListQueues: instance Amazonka.Pager.AWSPager Amazonka.SQS.ListQueues.ListQueues
+ Amazonka.SQS.ListQueues: instance Amazonka.Types.AWSRequest Amazonka.SQS.ListQueues.ListQueues
+ Amazonka.SQS.ListQueues: instance Control.DeepSeq.NFData Amazonka.SQS.ListQueues.ListQueues
+ Amazonka.SQS.ListQueues: instance Control.DeepSeq.NFData Amazonka.SQS.ListQueues.ListQueuesResponse
+ Amazonka.SQS.ListQueues: instance Data.Hashable.Class.Hashable Amazonka.SQS.ListQueues.ListQueues
+ Amazonka.SQS.ListQueues: instance GHC.Classes.Eq Amazonka.SQS.ListQueues.ListQueues
+ Amazonka.SQS.ListQueues: instance GHC.Classes.Eq Amazonka.SQS.ListQueues.ListQueuesResponse
+ Amazonka.SQS.ListQueues: instance GHC.Generics.Generic Amazonka.SQS.ListQueues.ListQueues
+ Amazonka.SQS.ListQueues: instance GHC.Generics.Generic Amazonka.SQS.ListQueues.ListQueuesResponse
+ Amazonka.SQS.ListQueues: instance GHC.Read.Read Amazonka.SQS.ListQueues.ListQueues
+ Amazonka.SQS.ListQueues: instance GHC.Read.Read Amazonka.SQS.ListQueues.ListQueuesResponse
+ Amazonka.SQS.ListQueues: instance GHC.Show.Show Amazonka.SQS.ListQueues.ListQueues
+ Amazonka.SQS.ListQueues: instance GHC.Show.Show Amazonka.SQS.ListQueues.ListQueuesResponse
+ Amazonka.SQS.ListQueues: listQueuesResponse_httpStatus :: Lens' ListQueuesResponse Int
+ Amazonka.SQS.ListQueues: listQueuesResponse_nextToken :: Lens' ListQueuesResponse (Maybe Text)
+ Amazonka.SQS.ListQueues: listQueuesResponse_queueUrls :: Lens' ListQueuesResponse (Maybe [Text])
+ Amazonka.SQS.ListQueues: listQueues_maxResults :: Lens' ListQueues (Maybe Int)
+ Amazonka.SQS.ListQueues: listQueues_nextToken :: Lens' ListQueues (Maybe Text)
+ Amazonka.SQS.ListQueues: listQueues_queueNamePrefix :: Lens' ListQueues (Maybe Text)
+ Amazonka.SQS.ListQueues: newListQueues :: ListQueues
+ Amazonka.SQS.ListQueues: newListQueuesResponse :: Int -> ListQueuesResponse
+ Amazonka.SQS.PurgeQueue: PurgeQueue' :: Text -> PurgeQueue
+ Amazonka.SQS.PurgeQueue: PurgeQueueResponse' :: PurgeQueueResponse
+ Amazonka.SQS.PurgeQueue: [$sel:queueUrl:PurgeQueue'] :: PurgeQueue -> Text
+ Amazonka.SQS.PurgeQueue: data PurgeQueue
+ Amazonka.SQS.PurgeQueue: data PurgeQueueResponse
+ Amazonka.SQS.PurgeQueue: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.PurgeQueue.PurgeQueue
+ Amazonka.SQS.PurgeQueue: instance Amazonka.Data.Path.ToPath Amazonka.SQS.PurgeQueue.PurgeQueue
+ Amazonka.SQS.PurgeQueue: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.PurgeQueue.PurgeQueue
+ Amazonka.SQS.PurgeQueue: instance Amazonka.Types.AWSRequest Amazonka.SQS.PurgeQueue.PurgeQueue
+ Amazonka.SQS.PurgeQueue: instance Control.DeepSeq.NFData Amazonka.SQS.PurgeQueue.PurgeQueue
+ Amazonka.SQS.PurgeQueue: instance Control.DeepSeq.NFData Amazonka.SQS.PurgeQueue.PurgeQueueResponse
+ Amazonka.SQS.PurgeQueue: instance Data.Hashable.Class.Hashable Amazonka.SQS.PurgeQueue.PurgeQueue
+ Amazonka.SQS.PurgeQueue: instance GHC.Classes.Eq Amazonka.SQS.PurgeQueue.PurgeQueue
+ Amazonka.SQS.PurgeQueue: instance GHC.Classes.Eq Amazonka.SQS.PurgeQueue.PurgeQueueResponse
+ Amazonka.SQS.PurgeQueue: instance GHC.Generics.Generic Amazonka.SQS.PurgeQueue.PurgeQueue
+ Amazonka.SQS.PurgeQueue: instance GHC.Generics.Generic Amazonka.SQS.PurgeQueue.PurgeQueueResponse
+ Amazonka.SQS.PurgeQueue: instance GHC.Read.Read Amazonka.SQS.PurgeQueue.PurgeQueue
+ Amazonka.SQS.PurgeQueue: instance GHC.Read.Read Amazonka.SQS.PurgeQueue.PurgeQueueResponse
+ Amazonka.SQS.PurgeQueue: instance GHC.Show.Show Amazonka.SQS.PurgeQueue.PurgeQueue
+ Amazonka.SQS.PurgeQueue: instance GHC.Show.Show Amazonka.SQS.PurgeQueue.PurgeQueueResponse
+ Amazonka.SQS.PurgeQueue: newPurgeQueue :: Text -> PurgeQueue
+ Amazonka.SQS.PurgeQueue: newPurgeQueueResponse :: PurgeQueueResponse
+ Amazonka.SQS.PurgeQueue: purgeQueue_queueUrl :: Lens' PurgeQueue Text
+ Amazonka.SQS.ReceiveMessage: ReceiveMessage' :: Maybe [MessageAttribute] -> Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe Int -> Maybe Int -> Text -> ReceiveMessage
+ Amazonka.SQS.ReceiveMessage: ReceiveMessageResponse' :: Maybe [Message] -> Int -> ReceiveMessageResponse
+ Amazonka.SQS.ReceiveMessage: [$sel:attributeNames:ReceiveMessage'] :: ReceiveMessage -> Maybe [MessageAttribute]
+ Amazonka.SQS.ReceiveMessage: [$sel:httpStatus:ReceiveMessageResponse'] :: ReceiveMessageResponse -> Int
+ Amazonka.SQS.ReceiveMessage: [$sel:maxNumberOfMessages:ReceiveMessage'] :: ReceiveMessage -> Maybe Int
+ Amazonka.SQS.ReceiveMessage: [$sel:messageAttributeNames:ReceiveMessage'] :: ReceiveMessage -> Maybe [Text]
+ Amazonka.SQS.ReceiveMessage: [$sel:messages:ReceiveMessageResponse'] :: ReceiveMessageResponse -> Maybe [Message]
+ Amazonka.SQS.ReceiveMessage: [$sel:queueUrl:ReceiveMessage'] :: ReceiveMessage -> Text
+ Amazonka.SQS.ReceiveMessage: [$sel:receiveRequestAttemptId:ReceiveMessage'] :: ReceiveMessage -> Maybe Text
+ Amazonka.SQS.ReceiveMessage: [$sel:visibilityTimeout:ReceiveMessage'] :: ReceiveMessage -> Maybe Int
+ Amazonka.SQS.ReceiveMessage: [$sel:waitTimeSeconds:ReceiveMessage'] :: ReceiveMessage -> Maybe Int
+ Amazonka.SQS.ReceiveMessage: data ReceiveMessage
+ Amazonka.SQS.ReceiveMessage: data ReceiveMessageResponse
+ Amazonka.SQS.ReceiveMessage: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.ReceiveMessage.ReceiveMessage
+ Amazonka.SQS.ReceiveMessage: instance Amazonka.Data.Path.ToPath Amazonka.SQS.ReceiveMessage.ReceiveMessage
+ Amazonka.SQS.ReceiveMessage: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.ReceiveMessage.ReceiveMessage
+ Amazonka.SQS.ReceiveMessage: instance Amazonka.Types.AWSRequest Amazonka.SQS.ReceiveMessage.ReceiveMessage
+ Amazonka.SQS.ReceiveMessage: instance Control.DeepSeq.NFData Amazonka.SQS.ReceiveMessage.ReceiveMessage
+ Amazonka.SQS.ReceiveMessage: instance Control.DeepSeq.NFData Amazonka.SQS.ReceiveMessage.ReceiveMessageResponse
+ Amazonka.SQS.ReceiveMessage: instance Data.Hashable.Class.Hashable Amazonka.SQS.ReceiveMessage.ReceiveMessage
+ Amazonka.SQS.ReceiveMessage: instance GHC.Classes.Eq Amazonka.SQS.ReceiveMessage.ReceiveMessage
+ Amazonka.SQS.ReceiveMessage: instance GHC.Classes.Eq Amazonka.SQS.ReceiveMessage.ReceiveMessageResponse
+ Amazonka.SQS.ReceiveMessage: instance GHC.Generics.Generic Amazonka.SQS.ReceiveMessage.ReceiveMessage
+ Amazonka.SQS.ReceiveMessage: instance GHC.Generics.Generic Amazonka.SQS.ReceiveMessage.ReceiveMessageResponse
+ Amazonka.SQS.ReceiveMessage: instance GHC.Read.Read Amazonka.SQS.ReceiveMessage.ReceiveMessage
+ Amazonka.SQS.ReceiveMessage: instance GHC.Read.Read Amazonka.SQS.ReceiveMessage.ReceiveMessageResponse
+ Amazonka.SQS.ReceiveMessage: instance GHC.Show.Show Amazonka.SQS.ReceiveMessage.ReceiveMessage
+ Amazonka.SQS.ReceiveMessage: instance GHC.Show.Show Amazonka.SQS.ReceiveMessage.ReceiveMessageResponse
+ Amazonka.SQS.ReceiveMessage: newReceiveMessage :: Text -> ReceiveMessage
+ Amazonka.SQS.ReceiveMessage: newReceiveMessageResponse :: Int -> ReceiveMessageResponse
+ Amazonka.SQS.ReceiveMessage: receiveMessageResponse_httpStatus :: Lens' ReceiveMessageResponse Int
+ Amazonka.SQS.ReceiveMessage: receiveMessageResponse_messages :: Lens' ReceiveMessageResponse (Maybe [Message])
+ Amazonka.SQS.ReceiveMessage: receiveMessage_attributeNames :: Lens' ReceiveMessage (Maybe [MessageAttribute])
+ Amazonka.SQS.ReceiveMessage: receiveMessage_maxNumberOfMessages :: Lens' ReceiveMessage (Maybe Int)
+ Amazonka.SQS.ReceiveMessage: receiveMessage_messageAttributeNames :: Lens' ReceiveMessage (Maybe [Text])
+ Amazonka.SQS.ReceiveMessage: receiveMessage_queueUrl :: Lens' ReceiveMessage Text
+ Amazonka.SQS.ReceiveMessage: receiveMessage_receiveRequestAttemptId :: Lens' ReceiveMessage (Maybe Text)
+ Amazonka.SQS.ReceiveMessage: receiveMessage_visibilityTimeout :: Lens' ReceiveMessage (Maybe Int)
+ Amazonka.SQS.ReceiveMessage: receiveMessage_waitTimeSeconds :: Lens' ReceiveMessage (Maybe Int)
+ Amazonka.SQS.RemovePermission: RemovePermission' :: Text -> Text -> RemovePermission
+ Amazonka.SQS.RemovePermission: RemovePermissionResponse' :: RemovePermissionResponse
+ Amazonka.SQS.RemovePermission: [$sel:label:RemovePermission'] :: RemovePermission -> Text
+ Amazonka.SQS.RemovePermission: [$sel:queueUrl:RemovePermission'] :: RemovePermission -> Text
+ Amazonka.SQS.RemovePermission: data RemovePermission
+ Amazonka.SQS.RemovePermission: data RemovePermissionResponse
+ Amazonka.SQS.RemovePermission: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.RemovePermission.RemovePermission
+ Amazonka.SQS.RemovePermission: instance Amazonka.Data.Path.ToPath Amazonka.SQS.RemovePermission.RemovePermission
+ Amazonka.SQS.RemovePermission: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.RemovePermission.RemovePermission
+ Amazonka.SQS.RemovePermission: instance Amazonka.Types.AWSRequest Amazonka.SQS.RemovePermission.RemovePermission
+ Amazonka.SQS.RemovePermission: instance Control.DeepSeq.NFData Amazonka.SQS.RemovePermission.RemovePermission
+ Amazonka.SQS.RemovePermission: instance Control.DeepSeq.NFData Amazonka.SQS.RemovePermission.RemovePermissionResponse
+ Amazonka.SQS.RemovePermission: instance Data.Hashable.Class.Hashable Amazonka.SQS.RemovePermission.RemovePermission
+ Amazonka.SQS.RemovePermission: instance GHC.Classes.Eq Amazonka.SQS.RemovePermission.RemovePermission
+ Amazonka.SQS.RemovePermission: instance GHC.Classes.Eq Amazonka.SQS.RemovePermission.RemovePermissionResponse
+ Amazonka.SQS.RemovePermission: instance GHC.Generics.Generic Amazonka.SQS.RemovePermission.RemovePermission
+ Amazonka.SQS.RemovePermission: instance GHC.Generics.Generic Amazonka.SQS.RemovePermission.RemovePermissionResponse
+ Amazonka.SQS.RemovePermission: instance GHC.Read.Read Amazonka.SQS.RemovePermission.RemovePermission
+ Amazonka.SQS.RemovePermission: instance GHC.Read.Read Amazonka.SQS.RemovePermission.RemovePermissionResponse
+ Amazonka.SQS.RemovePermission: instance GHC.Show.Show Amazonka.SQS.RemovePermission.RemovePermission
+ Amazonka.SQS.RemovePermission: instance GHC.Show.Show Amazonka.SQS.RemovePermission.RemovePermissionResponse
+ Amazonka.SQS.RemovePermission: newRemovePermission :: Text -> Text -> RemovePermission
+ Amazonka.SQS.RemovePermission: newRemovePermissionResponse :: RemovePermissionResponse
+ Amazonka.SQS.RemovePermission: removePermission_label :: Lens' RemovePermission Text
+ Amazonka.SQS.RemovePermission: removePermission_queueUrl :: Lens' RemovePermission Text
+ Amazonka.SQS.SendMessage: SendMessage' :: Maybe Int -> Maybe (HashMap Text MessageAttributeValue) -> Maybe Text -> Maybe Text -> Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue) -> Text -> Text -> SendMessage
+ Amazonka.SQS.SendMessage: SendMessageResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> SendMessageResponse
+ Amazonka.SQS.SendMessage: [$sel:delaySeconds:SendMessage'] :: SendMessage -> Maybe Int
+ Amazonka.SQS.SendMessage: [$sel:httpStatus:SendMessageResponse'] :: SendMessageResponse -> Int
+ Amazonka.SQS.SendMessage: [$sel:mD5OfMessageAttributes:SendMessageResponse'] :: SendMessageResponse -> Maybe Text
+ Amazonka.SQS.SendMessage: [$sel:mD5OfMessageBody:SendMessageResponse'] :: SendMessageResponse -> Maybe Text
+ Amazonka.SQS.SendMessage: [$sel:mD5OfMessageSystemAttributes:SendMessageResponse'] :: SendMessageResponse -> Maybe Text
+ Amazonka.SQS.SendMessage: [$sel:messageAttributes:SendMessage'] :: SendMessage -> Maybe (HashMap Text MessageAttributeValue)
+ Amazonka.SQS.SendMessage: [$sel:messageBody:SendMessage'] :: SendMessage -> Text
+ Amazonka.SQS.SendMessage: [$sel:messageDeduplicationId:SendMessage'] :: SendMessage -> Maybe Text
+ Amazonka.SQS.SendMessage: [$sel:messageGroupId:SendMessage'] :: SendMessage -> Maybe Text
+ Amazonka.SQS.SendMessage: [$sel:messageId:SendMessageResponse'] :: SendMessageResponse -> Maybe Text
+ Amazonka.SQS.SendMessage: [$sel:messageSystemAttributes:SendMessage'] :: SendMessage -> Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue)
+ Amazonka.SQS.SendMessage: [$sel:queueUrl:SendMessage'] :: SendMessage -> Text
+ Amazonka.SQS.SendMessage: [$sel:sequenceNumber:SendMessageResponse'] :: SendMessageResponse -> Maybe Text
+ Amazonka.SQS.SendMessage: data SendMessage
+ Amazonka.SQS.SendMessage: data SendMessageResponse
+ Amazonka.SQS.SendMessage: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.SendMessage.SendMessage
+ Amazonka.SQS.SendMessage: instance Amazonka.Data.Path.ToPath Amazonka.SQS.SendMessage.SendMessage
+ Amazonka.SQS.SendMessage: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.SendMessage.SendMessage
+ Amazonka.SQS.SendMessage: instance Amazonka.Types.AWSRequest Amazonka.SQS.SendMessage.SendMessage
+ Amazonka.SQS.SendMessage: instance Control.DeepSeq.NFData Amazonka.SQS.SendMessage.SendMessage
+ Amazonka.SQS.SendMessage: instance Control.DeepSeq.NFData Amazonka.SQS.SendMessage.SendMessageResponse
+ Amazonka.SQS.SendMessage: instance Data.Hashable.Class.Hashable Amazonka.SQS.SendMessage.SendMessage
+ Amazonka.SQS.SendMessage: instance GHC.Classes.Eq Amazonka.SQS.SendMessage.SendMessage
+ Amazonka.SQS.SendMessage: instance GHC.Classes.Eq Amazonka.SQS.SendMessage.SendMessageResponse
+ Amazonka.SQS.SendMessage: instance GHC.Generics.Generic Amazonka.SQS.SendMessage.SendMessage
+ Amazonka.SQS.SendMessage: instance GHC.Generics.Generic Amazonka.SQS.SendMessage.SendMessageResponse
+ Amazonka.SQS.SendMessage: instance GHC.Read.Read Amazonka.SQS.SendMessage.SendMessage
+ Amazonka.SQS.SendMessage: instance GHC.Read.Read Amazonka.SQS.SendMessage.SendMessageResponse
+ Amazonka.SQS.SendMessage: instance GHC.Show.Show Amazonka.SQS.SendMessage.SendMessage
+ Amazonka.SQS.SendMessage: instance GHC.Show.Show Amazonka.SQS.SendMessage.SendMessageResponse
+ Amazonka.SQS.SendMessage: newSendMessage :: Text -> Text -> SendMessage
+ Amazonka.SQS.SendMessage: newSendMessageResponse :: Int -> SendMessageResponse
+ Amazonka.SQS.SendMessage: sendMessageResponse_httpStatus :: Lens' SendMessageResponse Int
+ Amazonka.SQS.SendMessage: sendMessageResponse_mD5OfMessageAttributes :: Lens' SendMessageResponse (Maybe Text)
+ Amazonka.SQS.SendMessage: sendMessageResponse_mD5OfMessageBody :: Lens' SendMessageResponse (Maybe Text)
+ Amazonka.SQS.SendMessage: sendMessageResponse_mD5OfMessageSystemAttributes :: Lens' SendMessageResponse (Maybe Text)
+ Amazonka.SQS.SendMessage: sendMessageResponse_messageId :: Lens' SendMessageResponse (Maybe Text)
+ Amazonka.SQS.SendMessage: sendMessageResponse_sequenceNumber :: Lens' SendMessageResponse (Maybe Text)
+ Amazonka.SQS.SendMessage: sendMessage_delaySeconds :: Lens' SendMessage (Maybe Int)
+ Amazonka.SQS.SendMessage: sendMessage_messageAttributes :: Lens' SendMessage (Maybe (HashMap Text MessageAttributeValue))
+ Amazonka.SQS.SendMessage: sendMessage_messageBody :: Lens' SendMessage Text
+ Amazonka.SQS.SendMessage: sendMessage_messageDeduplicationId :: Lens' SendMessage (Maybe Text)
+ Amazonka.SQS.SendMessage: sendMessage_messageGroupId :: Lens' SendMessage (Maybe Text)
+ Amazonka.SQS.SendMessage: sendMessage_messageSystemAttributes :: Lens' SendMessage (Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue))
+ Amazonka.SQS.SendMessage: sendMessage_queueUrl :: Lens' SendMessage Text
+ Amazonka.SQS.SendMessageBatch: SendMessageBatch' :: Text -> [SendMessageBatchRequestEntry] -> SendMessageBatch
+ Amazonka.SQS.SendMessageBatch: SendMessageBatchResponse' :: Int -> [SendMessageBatchResultEntry] -> [BatchResultErrorEntry] -> SendMessageBatchResponse
+ Amazonka.SQS.SendMessageBatch: [$sel:entries:SendMessageBatch'] :: SendMessageBatch -> [SendMessageBatchRequestEntry]
+ Amazonka.SQS.SendMessageBatch: [$sel:failed:SendMessageBatchResponse'] :: SendMessageBatchResponse -> [BatchResultErrorEntry]
+ Amazonka.SQS.SendMessageBatch: [$sel:httpStatus:SendMessageBatchResponse'] :: SendMessageBatchResponse -> Int
+ Amazonka.SQS.SendMessageBatch: [$sel:queueUrl:SendMessageBatch'] :: SendMessageBatch -> Text
+ Amazonka.SQS.SendMessageBatch: [$sel:successful:SendMessageBatchResponse'] :: SendMessageBatchResponse -> [SendMessageBatchResultEntry]
+ Amazonka.SQS.SendMessageBatch: data SendMessageBatch
+ Amazonka.SQS.SendMessageBatch: data SendMessageBatchResponse
+ Amazonka.SQS.SendMessageBatch: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.SendMessageBatch.SendMessageBatch
+ Amazonka.SQS.SendMessageBatch: instance Amazonka.Data.Path.ToPath Amazonka.SQS.SendMessageBatch.SendMessageBatch
+ Amazonka.SQS.SendMessageBatch: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.SendMessageBatch.SendMessageBatch
+ Amazonka.SQS.SendMessageBatch: instance Amazonka.Types.AWSRequest Amazonka.SQS.SendMessageBatch.SendMessageBatch
+ Amazonka.SQS.SendMessageBatch: instance Control.DeepSeq.NFData Amazonka.SQS.SendMessageBatch.SendMessageBatch
+ Amazonka.SQS.SendMessageBatch: instance Control.DeepSeq.NFData Amazonka.SQS.SendMessageBatch.SendMessageBatchResponse
+ Amazonka.SQS.SendMessageBatch: instance Data.Hashable.Class.Hashable Amazonka.SQS.SendMessageBatch.SendMessageBatch
+ Amazonka.SQS.SendMessageBatch: instance GHC.Classes.Eq Amazonka.SQS.SendMessageBatch.SendMessageBatch
+ Amazonka.SQS.SendMessageBatch: instance GHC.Classes.Eq Amazonka.SQS.SendMessageBatch.SendMessageBatchResponse
+ Amazonka.SQS.SendMessageBatch: instance GHC.Generics.Generic Amazonka.SQS.SendMessageBatch.SendMessageBatch
+ Amazonka.SQS.SendMessageBatch: instance GHC.Generics.Generic Amazonka.SQS.SendMessageBatch.SendMessageBatchResponse
+ Amazonka.SQS.SendMessageBatch: instance GHC.Read.Read Amazonka.SQS.SendMessageBatch.SendMessageBatch
+ Amazonka.SQS.SendMessageBatch: instance GHC.Read.Read Amazonka.SQS.SendMessageBatch.SendMessageBatchResponse
+ Amazonka.SQS.SendMessageBatch: instance GHC.Show.Show Amazonka.SQS.SendMessageBatch.SendMessageBatch
+ Amazonka.SQS.SendMessageBatch: instance GHC.Show.Show Amazonka.SQS.SendMessageBatch.SendMessageBatchResponse
+ Amazonka.SQS.SendMessageBatch: newSendMessageBatch :: Text -> SendMessageBatch
+ Amazonka.SQS.SendMessageBatch: newSendMessageBatchResponse :: Int -> SendMessageBatchResponse
+ Amazonka.SQS.SendMessageBatch: sendMessageBatchResponse_failed :: Lens' SendMessageBatchResponse [BatchResultErrorEntry]
+ Amazonka.SQS.SendMessageBatch: sendMessageBatchResponse_httpStatus :: Lens' SendMessageBatchResponse Int
+ Amazonka.SQS.SendMessageBatch: sendMessageBatchResponse_successful :: Lens' SendMessageBatchResponse [SendMessageBatchResultEntry]
+ Amazonka.SQS.SendMessageBatch: sendMessageBatch_entries :: Lens' SendMessageBatch [SendMessageBatchRequestEntry]
+ Amazonka.SQS.SendMessageBatch: sendMessageBatch_queueUrl :: Lens' SendMessageBatch Text
+ Amazonka.SQS.SetQueueAttributes: SetQueueAttributes' :: Text -> HashMap QueueAttributeName Text -> SetQueueAttributes
+ Amazonka.SQS.SetQueueAttributes: SetQueueAttributesResponse' :: SetQueueAttributesResponse
+ Amazonka.SQS.SetQueueAttributes: [$sel:attributes:SetQueueAttributes'] :: SetQueueAttributes -> HashMap QueueAttributeName Text
+ Amazonka.SQS.SetQueueAttributes: [$sel:queueUrl:SetQueueAttributes'] :: SetQueueAttributes -> Text
+ Amazonka.SQS.SetQueueAttributes: data SetQueueAttributes
+ Amazonka.SQS.SetQueueAttributes: data SetQueueAttributesResponse
+ Amazonka.SQS.SetQueueAttributes: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.SetQueueAttributes.SetQueueAttributes
+ Amazonka.SQS.SetQueueAttributes: instance Amazonka.Data.Path.ToPath Amazonka.SQS.SetQueueAttributes.SetQueueAttributes
+ Amazonka.SQS.SetQueueAttributes: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.SetQueueAttributes.SetQueueAttributes
+ Amazonka.SQS.SetQueueAttributes: instance Amazonka.Types.AWSRequest Amazonka.SQS.SetQueueAttributes.SetQueueAttributes
+ Amazonka.SQS.SetQueueAttributes: instance Control.DeepSeq.NFData Amazonka.SQS.SetQueueAttributes.SetQueueAttributes
+ Amazonka.SQS.SetQueueAttributes: instance Control.DeepSeq.NFData Amazonka.SQS.SetQueueAttributes.SetQueueAttributesResponse
+ Amazonka.SQS.SetQueueAttributes: instance Data.Hashable.Class.Hashable Amazonka.SQS.SetQueueAttributes.SetQueueAttributes
+ Amazonka.SQS.SetQueueAttributes: instance GHC.Classes.Eq Amazonka.SQS.SetQueueAttributes.SetQueueAttributes
+ Amazonka.SQS.SetQueueAttributes: instance GHC.Classes.Eq Amazonka.SQS.SetQueueAttributes.SetQueueAttributesResponse
+ Amazonka.SQS.SetQueueAttributes: instance GHC.Generics.Generic Amazonka.SQS.SetQueueAttributes.SetQueueAttributes
+ Amazonka.SQS.SetQueueAttributes: instance GHC.Generics.Generic Amazonka.SQS.SetQueueAttributes.SetQueueAttributesResponse
+ Amazonka.SQS.SetQueueAttributes: instance GHC.Read.Read Amazonka.SQS.SetQueueAttributes.SetQueueAttributes
+ Amazonka.SQS.SetQueueAttributes: instance GHC.Read.Read Amazonka.SQS.SetQueueAttributes.SetQueueAttributesResponse
+ Amazonka.SQS.SetQueueAttributes: instance GHC.Show.Show Amazonka.SQS.SetQueueAttributes.SetQueueAttributes
+ Amazonka.SQS.SetQueueAttributes: instance GHC.Show.Show Amazonka.SQS.SetQueueAttributes.SetQueueAttributesResponse
+ Amazonka.SQS.SetQueueAttributes: newSetQueueAttributes :: Text -> SetQueueAttributes
+ Amazonka.SQS.SetQueueAttributes: newSetQueueAttributesResponse :: SetQueueAttributesResponse
+ Amazonka.SQS.SetQueueAttributes: setQueueAttributes_attributes :: Lens' SetQueueAttributes (HashMap QueueAttributeName Text)
+ Amazonka.SQS.SetQueueAttributes: setQueueAttributes_queueUrl :: Lens' SetQueueAttributes Text
+ Amazonka.SQS.TagQueue: TagQueue' :: Text -> HashMap Text Text -> TagQueue
+ Amazonka.SQS.TagQueue: TagQueueResponse' :: TagQueueResponse
+ Amazonka.SQS.TagQueue: [$sel:queueUrl:TagQueue'] :: TagQueue -> Text
+ Amazonka.SQS.TagQueue: [$sel:tags:TagQueue'] :: TagQueue -> HashMap Text Text
+ Amazonka.SQS.TagQueue: data TagQueue
+ Amazonka.SQS.TagQueue: data TagQueueResponse
+ Amazonka.SQS.TagQueue: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.TagQueue.TagQueue
+ Amazonka.SQS.TagQueue: instance Amazonka.Data.Path.ToPath Amazonka.SQS.TagQueue.TagQueue
+ Amazonka.SQS.TagQueue: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.TagQueue.TagQueue
+ Amazonka.SQS.TagQueue: instance Amazonka.Types.AWSRequest Amazonka.SQS.TagQueue.TagQueue
+ Amazonka.SQS.TagQueue: instance Control.DeepSeq.NFData Amazonka.SQS.TagQueue.TagQueue
+ Amazonka.SQS.TagQueue: instance Control.DeepSeq.NFData Amazonka.SQS.TagQueue.TagQueueResponse
+ Amazonka.SQS.TagQueue: instance Data.Hashable.Class.Hashable Amazonka.SQS.TagQueue.TagQueue
+ Amazonka.SQS.TagQueue: instance GHC.Classes.Eq Amazonka.SQS.TagQueue.TagQueue
+ Amazonka.SQS.TagQueue: instance GHC.Classes.Eq Amazonka.SQS.TagQueue.TagQueueResponse
+ Amazonka.SQS.TagQueue: instance GHC.Generics.Generic Amazonka.SQS.TagQueue.TagQueue
+ Amazonka.SQS.TagQueue: instance GHC.Generics.Generic Amazonka.SQS.TagQueue.TagQueueResponse
+ Amazonka.SQS.TagQueue: instance GHC.Read.Read Amazonka.SQS.TagQueue.TagQueue
+ Amazonka.SQS.TagQueue: instance GHC.Read.Read Amazonka.SQS.TagQueue.TagQueueResponse
+ Amazonka.SQS.TagQueue: instance GHC.Show.Show Amazonka.SQS.TagQueue.TagQueue
+ Amazonka.SQS.TagQueue: instance GHC.Show.Show Amazonka.SQS.TagQueue.TagQueueResponse
+ Amazonka.SQS.TagQueue: newTagQueue :: Text -> TagQueue
+ Amazonka.SQS.TagQueue: newTagQueueResponse :: TagQueueResponse
+ Amazonka.SQS.TagQueue: tagQueue_queueUrl :: Lens' TagQueue Text
+ Amazonka.SQS.TagQueue: tagQueue_tags :: Lens' TagQueue (HashMap Text Text)
+ Amazonka.SQS.Types: BatchResultErrorEntry' :: Maybe Text -> Text -> Bool -> Text -> BatchResultErrorEntry
+ Amazonka.SQS.Types: ChangeMessageVisibilityBatchRequestEntry' :: Maybe Int -> Text -> Text -> ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS.Types: ChangeMessageVisibilityBatchResultEntry' :: Text -> ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS.Types: DeleteMessageBatchRequestEntry' :: Text -> Text -> DeleteMessageBatchRequestEntry
+ Amazonka.SQS.Types: DeleteMessageBatchResultEntry' :: Text -> DeleteMessageBatchResultEntry
+ Amazonka.SQS.Types: Message' :: Maybe (HashMap MessageAttribute Text) -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (HashMap Text MessageAttributeValue) -> Maybe Text -> Maybe Text -> Message
+ Amazonka.SQS.Types: MessageAttribute' :: Text -> MessageAttribute
+ Amazonka.SQS.Types: MessageAttributeValue' :: Maybe [Base64] -> Maybe Base64 -> Maybe [Text] -> Maybe Text -> Text -> MessageAttributeValue
+ Amazonka.SQS.Types: MessageSystemAttributeNameForSends' :: Text -> MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types: MessageSystemAttributeValue' :: Maybe [Base64] -> Maybe Base64 -> Maybe [Text] -> Maybe Text -> Text -> MessageSystemAttributeValue
+ Amazonka.SQS.Types: QueueAttributeName' :: Text -> QueueAttributeName
+ Amazonka.SQS.Types: SendMessageBatchRequestEntry' :: Maybe Int -> Maybe (HashMap Text MessageAttributeValue) -> Maybe Text -> Maybe Text -> Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue) -> Text -> Text -> SendMessageBatchRequestEntry
+ Amazonka.SQS.Types: SendMessageBatchResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> SendMessageBatchResultEntry
+ Amazonka.SQS.Types: [$sel:attributes:Message'] :: Message -> Maybe (HashMap MessageAttribute Text)
+ Amazonka.SQS.Types: [$sel:binaryListValues:MessageAttributeValue'] :: MessageAttributeValue -> Maybe [Base64]
+ Amazonka.SQS.Types: [$sel:binaryListValues:MessageSystemAttributeValue'] :: MessageSystemAttributeValue -> Maybe [Base64]
+ Amazonka.SQS.Types: [$sel:binaryValue:MessageAttributeValue'] :: MessageAttributeValue -> Maybe Base64
+ Amazonka.SQS.Types: [$sel:binaryValue:MessageSystemAttributeValue'] :: MessageSystemAttributeValue -> Maybe Base64
+ Amazonka.SQS.Types: [$sel:body:Message'] :: Message -> Maybe Text
+ Amazonka.SQS.Types: [$sel:code:BatchResultErrorEntry'] :: BatchResultErrorEntry -> Text
+ Amazonka.SQS.Types: [$sel:dataType:MessageAttributeValue'] :: MessageAttributeValue -> Text
+ Amazonka.SQS.Types: [$sel:dataType:MessageSystemAttributeValue'] :: MessageSystemAttributeValue -> Text
+ Amazonka.SQS.Types: [$sel:delaySeconds:SendMessageBatchRequestEntry'] :: SendMessageBatchRequestEntry -> Maybe Int
+ Amazonka.SQS.Types: [$sel:id:BatchResultErrorEntry'] :: BatchResultErrorEntry -> Text
+ Amazonka.SQS.Types: [$sel:id:ChangeMessageVisibilityBatchRequestEntry'] :: ChangeMessageVisibilityBatchRequestEntry -> Text
+ Amazonka.SQS.Types: [$sel:id:ChangeMessageVisibilityBatchResultEntry'] :: ChangeMessageVisibilityBatchResultEntry -> Text
+ Amazonka.SQS.Types: [$sel:id:DeleteMessageBatchRequestEntry'] :: DeleteMessageBatchRequestEntry -> Text
+ Amazonka.SQS.Types: [$sel:id:DeleteMessageBatchResultEntry'] :: DeleteMessageBatchResultEntry -> Text
+ Amazonka.SQS.Types: [$sel:id:SendMessageBatchRequestEntry'] :: SendMessageBatchRequestEntry -> Text
+ Amazonka.SQS.Types: [$sel:id:SendMessageBatchResultEntry'] :: SendMessageBatchResultEntry -> Text
+ Amazonka.SQS.Types: [$sel:mD5OfBody:Message'] :: Message -> Maybe Text
+ Amazonka.SQS.Types: [$sel:mD5OfMessageAttributes:Message'] :: Message -> Maybe Text
+ Amazonka.SQS.Types: [$sel:mD5OfMessageAttributes:SendMessageBatchResultEntry'] :: SendMessageBatchResultEntry -> Maybe Text
+ Amazonka.SQS.Types: [$sel:mD5OfMessageBody:SendMessageBatchResultEntry'] :: SendMessageBatchResultEntry -> Text
+ Amazonka.SQS.Types: [$sel:mD5OfMessageSystemAttributes:SendMessageBatchResultEntry'] :: SendMessageBatchResultEntry -> Maybe Text
+ Amazonka.SQS.Types: [$sel:message:BatchResultErrorEntry'] :: BatchResultErrorEntry -> Maybe Text
+ Amazonka.SQS.Types: [$sel:messageAttributes:Message'] :: Message -> Maybe (HashMap Text MessageAttributeValue)
+ Amazonka.SQS.Types: [$sel:messageAttributes:SendMessageBatchRequestEntry'] :: SendMessageBatchRequestEntry -> Maybe (HashMap Text MessageAttributeValue)
+ Amazonka.SQS.Types: [$sel:messageBody:SendMessageBatchRequestEntry'] :: SendMessageBatchRequestEntry -> Text
+ Amazonka.SQS.Types: [$sel:messageDeduplicationId:SendMessageBatchRequestEntry'] :: SendMessageBatchRequestEntry -> Maybe Text
+ Amazonka.SQS.Types: [$sel:messageGroupId:SendMessageBatchRequestEntry'] :: SendMessageBatchRequestEntry -> Maybe Text
+ Amazonka.SQS.Types: [$sel:messageId:Message'] :: Message -> Maybe Text
+ Amazonka.SQS.Types: [$sel:messageId:SendMessageBatchResultEntry'] :: SendMessageBatchResultEntry -> Text
+ Amazonka.SQS.Types: [$sel:messageSystemAttributes:SendMessageBatchRequestEntry'] :: SendMessageBatchRequestEntry -> Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue)
+ Amazonka.SQS.Types: [$sel:receiptHandle:ChangeMessageVisibilityBatchRequestEntry'] :: ChangeMessageVisibilityBatchRequestEntry -> Text
+ Amazonka.SQS.Types: [$sel:receiptHandle:DeleteMessageBatchRequestEntry'] :: DeleteMessageBatchRequestEntry -> Text
+ Amazonka.SQS.Types: [$sel:receiptHandle:Message'] :: Message -> Maybe Text
+ Amazonka.SQS.Types: [$sel:senderFault:BatchResultErrorEntry'] :: BatchResultErrorEntry -> Bool
+ Amazonka.SQS.Types: [$sel:sequenceNumber:SendMessageBatchResultEntry'] :: SendMessageBatchResultEntry -> Maybe Text
+ Amazonka.SQS.Types: [$sel:stringListValues:MessageAttributeValue'] :: MessageAttributeValue -> Maybe [Text]
+ Amazonka.SQS.Types: [$sel:stringListValues:MessageSystemAttributeValue'] :: MessageSystemAttributeValue -> Maybe [Text]
+ Amazonka.SQS.Types: [$sel:stringValue:MessageAttributeValue'] :: MessageAttributeValue -> Maybe Text
+ Amazonka.SQS.Types: [$sel:stringValue:MessageSystemAttributeValue'] :: MessageSystemAttributeValue -> Maybe Text
+ Amazonka.SQS.Types: [$sel:visibilityTimeout:ChangeMessageVisibilityBatchRequestEntry'] :: ChangeMessageVisibilityBatchRequestEntry -> Maybe Int
+ Amazonka.SQS.Types: [fromMessageAttribute] :: MessageAttribute -> Text
+ Amazonka.SQS.Types: [fromMessageSystemAttributeNameForSends] :: MessageSystemAttributeNameForSends -> Text
+ Amazonka.SQS.Types: [fromQueueAttributeName] :: QueueAttributeName -> Text
+ Amazonka.SQS.Types: _BatchEntryIdsNotDistinct :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _BatchRequestTooLong :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _EmptyBatchRequest :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _InvalidAttributeName :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _InvalidBatchEntryId :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _InvalidIdFormat :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _InvalidMessageContents :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _MessageNotInflight :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _OverLimit :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _PurgeQueueInProgress :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _QueueDeletedRecently :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _QueueDoesNotExist :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _QueueNameExists :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _ReceiptHandleIsInvalid :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _TooManyEntriesInBatchRequest :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: _UnsupportedOperation :: AsError a => Fold a ServiceError
+ Amazonka.SQS.Types: batchResultErrorEntry_code :: Lens' BatchResultErrorEntry Text
+ Amazonka.SQS.Types: batchResultErrorEntry_id :: Lens' BatchResultErrorEntry Text
+ Amazonka.SQS.Types: batchResultErrorEntry_message :: Lens' BatchResultErrorEntry (Maybe Text)
+ Amazonka.SQS.Types: batchResultErrorEntry_senderFault :: Lens' BatchResultErrorEntry Bool
+ Amazonka.SQS.Types: changeMessageVisibilityBatchRequestEntry_id :: Lens' ChangeMessageVisibilityBatchRequestEntry Text
+ Amazonka.SQS.Types: changeMessageVisibilityBatchRequestEntry_receiptHandle :: Lens' ChangeMessageVisibilityBatchRequestEntry Text
+ Amazonka.SQS.Types: changeMessageVisibilityBatchRequestEntry_visibilityTimeout :: Lens' ChangeMessageVisibilityBatchRequestEntry (Maybe Int)
+ Amazonka.SQS.Types: changeMessageVisibilityBatchResultEntry_id :: Lens' ChangeMessageVisibilityBatchResultEntry Text
+ Amazonka.SQS.Types: data BatchResultErrorEntry
+ Amazonka.SQS.Types: data ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS.Types: data ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS.Types: data DeleteMessageBatchRequestEntry
+ Amazonka.SQS.Types: data DeleteMessageBatchResultEntry
+ Amazonka.SQS.Types: data Message
+ Amazonka.SQS.Types: data MessageAttributeValue
+ Amazonka.SQS.Types: data MessageSystemAttributeValue
+ Amazonka.SQS.Types: data SendMessageBatchRequestEntry
+ Amazonka.SQS.Types: data SendMessageBatchResultEntry
+ Amazonka.SQS.Types: defaultService :: Service
+ Amazonka.SQS.Types: deleteMessageBatchRequestEntry_id :: Lens' DeleteMessageBatchRequestEntry Text
+ Amazonka.SQS.Types: deleteMessageBatchRequestEntry_receiptHandle :: Lens' DeleteMessageBatchRequestEntry Text
+ Amazonka.SQS.Types: deleteMessageBatchResultEntry_id :: Lens' DeleteMessageBatchResultEntry Text
+ Amazonka.SQS.Types: messageAttributeValue_binaryListValues :: Lens' MessageAttributeValue (Maybe [ByteString])
+ Amazonka.SQS.Types: messageAttributeValue_binaryValue :: Lens' MessageAttributeValue (Maybe ByteString)
+ Amazonka.SQS.Types: messageAttributeValue_dataType :: Lens' MessageAttributeValue Text
+ Amazonka.SQS.Types: messageAttributeValue_stringListValues :: Lens' MessageAttributeValue (Maybe [Text])
+ Amazonka.SQS.Types: messageAttributeValue_stringValue :: Lens' MessageAttributeValue (Maybe Text)
+ Amazonka.SQS.Types: messageSystemAttributeValue_binaryListValues :: Lens' MessageSystemAttributeValue (Maybe [ByteString])
+ Amazonka.SQS.Types: messageSystemAttributeValue_binaryValue :: Lens' MessageSystemAttributeValue (Maybe ByteString)
+ Amazonka.SQS.Types: messageSystemAttributeValue_dataType :: Lens' MessageSystemAttributeValue Text
+ Amazonka.SQS.Types: messageSystemAttributeValue_stringListValues :: Lens' MessageSystemAttributeValue (Maybe [Text])
+ Amazonka.SQS.Types: messageSystemAttributeValue_stringValue :: Lens' MessageSystemAttributeValue (Maybe Text)
+ Amazonka.SQS.Types: message_attributes :: Lens' Message (Maybe (HashMap MessageAttribute Text))
+ Amazonka.SQS.Types: message_body :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Types: message_mD5OfBody :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Types: message_mD5OfMessageAttributes :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Types: message_messageAttributes :: Lens' Message (Maybe (HashMap Text MessageAttributeValue))
+ Amazonka.SQS.Types: message_messageId :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Types: message_receiptHandle :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Types: newBatchResultErrorEntry :: Text -> Bool -> Text -> BatchResultErrorEntry
+ Amazonka.SQS.Types: newChangeMessageVisibilityBatchRequestEntry :: Text -> Text -> ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS.Types: newChangeMessageVisibilityBatchResultEntry :: Text -> ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS.Types: newDeleteMessageBatchRequestEntry :: Text -> Text -> DeleteMessageBatchRequestEntry
+ Amazonka.SQS.Types: newDeleteMessageBatchResultEntry :: Text -> DeleteMessageBatchResultEntry
+ Amazonka.SQS.Types: newMessage :: Message
+ Amazonka.SQS.Types: newMessageAttributeValue :: Text -> MessageAttributeValue
+ Amazonka.SQS.Types: newMessageSystemAttributeValue :: Text -> MessageSystemAttributeValue
+ Amazonka.SQS.Types: newSendMessageBatchRequestEntry :: Text -> Text -> SendMessageBatchRequestEntry
+ Amazonka.SQS.Types: newSendMessageBatchResultEntry :: Text -> Text -> Text -> SendMessageBatchResultEntry
+ Amazonka.SQS.Types: newtype MessageAttribute
+ Amazonka.SQS.Types: newtype MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types: newtype QueueAttributeName
+ Amazonka.SQS.Types: pattern MessageAttribute_All :: MessageAttribute
+ Amazonka.SQS.Types: pattern MessageAttribute_ApproximateFirstReceiveTimestamp :: MessageAttribute
+ Amazonka.SQS.Types: pattern MessageAttribute_ApproximateReceiveCount :: MessageAttribute
+ Amazonka.SQS.Types: pattern MessageAttribute_SenderId :: MessageAttribute
+ Amazonka.SQS.Types: pattern MessageAttribute_SentTimestamp :: MessageAttribute
+ Amazonka.SQS.Types: pattern MessageSystemAttributeNameForSends_AWSTraceHeader :: MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types: pattern QueueAttributeName_All :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_ApproximateNumberOfMessages :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_ApproximateNumberOfMessagesDelayed :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_ApproximateNumberOfMessagesNotVisible :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_ContentBasedDeduplication :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_CreatedTimestamp :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_DeduplicationScope :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_DelaySeconds :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_FifoQueue :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_FifoThroughputLimit :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_KmsDataKeyReusePeriodSeconds :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_KmsMasterKeyId :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_LastModifiedTimestamp :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_MaximumMessageSize :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_MessageRetentionPeriod :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_Policy :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_QueueArn :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_ReceiveMessageWaitTimeSeconds :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_RedriveAllowPolicy :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_RedrivePolicy :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_SqsManagedSseEnabled :: QueueAttributeName
+ Amazonka.SQS.Types: pattern QueueAttributeName_VisibilityTimeout :: QueueAttributeName
+ Amazonka.SQS.Types: sendMessageBatchRequestEntry_delaySeconds :: Lens' SendMessageBatchRequestEntry (Maybe Int)
+ Amazonka.SQS.Types: sendMessageBatchRequestEntry_id :: Lens' SendMessageBatchRequestEntry Text
+ Amazonka.SQS.Types: sendMessageBatchRequestEntry_messageAttributes :: Lens' SendMessageBatchRequestEntry (Maybe (HashMap Text MessageAttributeValue))
+ Amazonka.SQS.Types: sendMessageBatchRequestEntry_messageBody :: Lens' SendMessageBatchRequestEntry Text
+ Amazonka.SQS.Types: sendMessageBatchRequestEntry_messageDeduplicationId :: Lens' SendMessageBatchRequestEntry (Maybe Text)
+ Amazonka.SQS.Types: sendMessageBatchRequestEntry_messageGroupId :: Lens' SendMessageBatchRequestEntry (Maybe Text)
+ Amazonka.SQS.Types: sendMessageBatchRequestEntry_messageSystemAttributes :: Lens' SendMessageBatchRequestEntry (Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue))
+ Amazonka.SQS.Types: sendMessageBatchResultEntry_id :: Lens' SendMessageBatchResultEntry Text
+ Amazonka.SQS.Types: sendMessageBatchResultEntry_mD5OfMessageAttributes :: Lens' SendMessageBatchResultEntry (Maybe Text)
+ Amazonka.SQS.Types: sendMessageBatchResultEntry_mD5OfMessageBody :: Lens' SendMessageBatchResultEntry Text
+ Amazonka.SQS.Types: sendMessageBatchResultEntry_mD5OfMessageSystemAttributes :: Lens' SendMessageBatchResultEntry (Maybe Text)
+ Amazonka.SQS.Types: sendMessageBatchResultEntry_messageId :: Lens' SendMessageBatchResultEntry Text
+ Amazonka.SQS.Types: sendMessageBatchResultEntry_sequenceNumber :: Lens' SendMessageBatchResultEntry (Maybe Text)
+ Amazonka.SQS.Types.BatchResultErrorEntry: BatchResultErrorEntry' :: Maybe Text -> Text -> Bool -> Text -> BatchResultErrorEntry
+ Amazonka.SQS.Types.BatchResultErrorEntry: [$sel:code:BatchResultErrorEntry'] :: BatchResultErrorEntry -> Text
+ Amazonka.SQS.Types.BatchResultErrorEntry: [$sel:id:BatchResultErrorEntry'] :: BatchResultErrorEntry -> Text
+ Amazonka.SQS.Types.BatchResultErrorEntry: [$sel:message:BatchResultErrorEntry'] :: BatchResultErrorEntry -> Maybe Text
+ Amazonka.SQS.Types.BatchResultErrorEntry: [$sel:senderFault:BatchResultErrorEntry'] :: BatchResultErrorEntry -> Bool
+ Amazonka.SQS.Types.BatchResultErrorEntry: batchResultErrorEntry_code :: Lens' BatchResultErrorEntry Text
+ Amazonka.SQS.Types.BatchResultErrorEntry: batchResultErrorEntry_id :: Lens' BatchResultErrorEntry Text
+ Amazonka.SQS.Types.BatchResultErrorEntry: batchResultErrorEntry_message :: Lens' BatchResultErrorEntry (Maybe Text)
+ Amazonka.SQS.Types.BatchResultErrorEntry: batchResultErrorEntry_senderFault :: Lens' BatchResultErrorEntry Bool
+ Amazonka.SQS.Types.BatchResultErrorEntry: data BatchResultErrorEntry
+ Amazonka.SQS.Types.BatchResultErrorEntry: instance Amazonka.Data.XML.FromXML Amazonka.SQS.Types.BatchResultErrorEntry.BatchResultErrorEntry
+ Amazonka.SQS.Types.BatchResultErrorEntry: instance Control.DeepSeq.NFData Amazonka.SQS.Types.BatchResultErrorEntry.BatchResultErrorEntry
+ Amazonka.SQS.Types.BatchResultErrorEntry: instance Data.Hashable.Class.Hashable Amazonka.SQS.Types.BatchResultErrorEntry.BatchResultErrorEntry
+ Amazonka.SQS.Types.BatchResultErrorEntry: instance GHC.Classes.Eq Amazonka.SQS.Types.BatchResultErrorEntry.BatchResultErrorEntry
+ Amazonka.SQS.Types.BatchResultErrorEntry: instance GHC.Generics.Generic Amazonka.SQS.Types.BatchResultErrorEntry.BatchResultErrorEntry
+ Amazonka.SQS.Types.BatchResultErrorEntry: instance GHC.Read.Read Amazonka.SQS.Types.BatchResultErrorEntry.BatchResultErrorEntry
+ Amazonka.SQS.Types.BatchResultErrorEntry: instance GHC.Show.Show Amazonka.SQS.Types.BatchResultErrorEntry.BatchResultErrorEntry
+ Amazonka.SQS.Types.BatchResultErrorEntry: newBatchResultErrorEntry :: Text -> Bool -> Text -> BatchResultErrorEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: ChangeMessageVisibilityBatchRequestEntry' :: Maybe Int -> Text -> Text -> ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: [$sel:id:ChangeMessageVisibilityBatchRequestEntry'] :: ChangeMessageVisibilityBatchRequestEntry -> Text
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: [$sel:receiptHandle:ChangeMessageVisibilityBatchRequestEntry'] :: ChangeMessageVisibilityBatchRequestEntry -> Text
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: [$sel:visibilityTimeout:ChangeMessageVisibilityBatchRequestEntry'] :: ChangeMessageVisibilityBatchRequestEntry -> Maybe Int
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: changeMessageVisibilityBatchRequestEntry_id :: Lens' ChangeMessageVisibilityBatchRequestEntry Text
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: changeMessageVisibilityBatchRequestEntry_receiptHandle :: Lens' ChangeMessageVisibilityBatchRequestEntry Text
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: changeMessageVisibilityBatchRequestEntry_visibilityTimeout :: Lens' ChangeMessageVisibilityBatchRequestEntry (Maybe Int)
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: data ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry.ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: instance Control.DeepSeq.NFData Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry.ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: instance Data.Hashable.Class.Hashable Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry.ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: instance GHC.Classes.Eq Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry.ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: instance GHC.Generics.Generic Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry.ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: instance GHC.Read.Read Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry.ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: instance GHC.Show.Show Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry.ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry: newChangeMessageVisibilityBatchRequestEntry :: Text -> Text -> ChangeMessageVisibilityBatchRequestEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry: ChangeMessageVisibilityBatchResultEntry' :: Text -> ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry: [$sel:id:ChangeMessageVisibilityBatchResultEntry'] :: ChangeMessageVisibilityBatchResultEntry -> Text
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry: changeMessageVisibilityBatchResultEntry_id :: Lens' ChangeMessageVisibilityBatchResultEntry Text
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry: data ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry: instance Amazonka.Data.XML.FromXML Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry.ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry: instance Control.DeepSeq.NFData Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry.ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry: instance Data.Hashable.Class.Hashable Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry.ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry: instance GHC.Classes.Eq Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry.ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry: instance GHC.Generics.Generic Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry.ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry: instance GHC.Read.Read Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry.ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry: instance GHC.Show.Show Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry.ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry: newChangeMessageVisibilityBatchResultEntry :: Text -> ChangeMessageVisibilityBatchResultEntry
+ Amazonka.SQS.Types.DeleteMessageBatchRequestEntry: DeleteMessageBatchRequestEntry' :: Text -> Text -> DeleteMessageBatchRequestEntry
+ Amazonka.SQS.Types.DeleteMessageBatchRequestEntry: [$sel:id:DeleteMessageBatchRequestEntry'] :: DeleteMessageBatchRequestEntry -> Text
+ Amazonka.SQS.Types.DeleteMessageBatchRequestEntry: [$sel:receiptHandle:DeleteMessageBatchRequestEntry'] :: DeleteMessageBatchRequestEntry -> Text
+ Amazonka.SQS.Types.DeleteMessageBatchRequestEntry: data DeleteMessageBatchRequestEntry
+ Amazonka.SQS.Types.DeleteMessageBatchRequestEntry: deleteMessageBatchRequestEntry_id :: Lens' DeleteMessageBatchRequestEntry Text
+ Amazonka.SQS.Types.DeleteMessageBatchRequestEntry: deleteMessageBatchRequestEntry_receiptHandle :: Lens' DeleteMessageBatchRequestEntry Text
+ Amazonka.SQS.Types.DeleteMessageBatchRequestEntry: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.Types.DeleteMessageBatchRequestEntry.DeleteMessageBatchRequestEntry
+ Amazonka.SQS.Types.DeleteMessageBatchRequestEntry: instance Control.DeepSeq.NFData Amazonka.SQS.Types.DeleteMessageBatchRequestEntry.DeleteMessageBatchRequestEntry
+ Amazonka.SQS.Types.DeleteMessageBatchRequestEntry: instance Data.Hashable.Class.Hashable Amazonka.SQS.Types.DeleteMessageBatchRequestEntry.DeleteMessageBatchRequestEntry
+ Amazonka.SQS.Types.DeleteMessageBatchRequestEntry: instance GHC.Classes.Eq Amazonka.SQS.Types.DeleteMessageBatchRequestEntry.DeleteMessageBatchRequestEntry
+ Amazonka.SQS.Types.DeleteMessageBatchRequestEntry: instance GHC.Generics.Generic Amazonka.SQS.Types.DeleteMessageBatchRequestEntry.DeleteMessageBatchRequestEntry
+ Amazonka.SQS.Types.DeleteMessageBatchRequestEntry: instance GHC.Read.Read Amazonka.SQS.Types.DeleteMessageBatchRequestEntry.DeleteMessageBatchRequestEntry
+ Amazonka.SQS.Types.DeleteMessageBatchRequestEntry: instance GHC.Show.Show Amazonka.SQS.Types.DeleteMessageBatchRequestEntry.DeleteMessageBatchRequestEntry
+ Amazonka.SQS.Types.DeleteMessageBatchRequestEntry: newDeleteMessageBatchRequestEntry :: Text -> Text -> DeleteMessageBatchRequestEntry
+ Amazonka.SQS.Types.DeleteMessageBatchResultEntry: DeleteMessageBatchResultEntry' :: Text -> DeleteMessageBatchResultEntry
+ Amazonka.SQS.Types.DeleteMessageBatchResultEntry: [$sel:id:DeleteMessageBatchResultEntry'] :: DeleteMessageBatchResultEntry -> Text
+ Amazonka.SQS.Types.DeleteMessageBatchResultEntry: data DeleteMessageBatchResultEntry
+ Amazonka.SQS.Types.DeleteMessageBatchResultEntry: deleteMessageBatchResultEntry_id :: Lens' DeleteMessageBatchResultEntry Text
+ Amazonka.SQS.Types.DeleteMessageBatchResultEntry: instance Amazonka.Data.XML.FromXML Amazonka.SQS.Types.DeleteMessageBatchResultEntry.DeleteMessageBatchResultEntry
+ Amazonka.SQS.Types.DeleteMessageBatchResultEntry: instance Control.DeepSeq.NFData Amazonka.SQS.Types.DeleteMessageBatchResultEntry.DeleteMessageBatchResultEntry
+ Amazonka.SQS.Types.DeleteMessageBatchResultEntry: instance Data.Hashable.Class.Hashable Amazonka.SQS.Types.DeleteMessageBatchResultEntry.DeleteMessageBatchResultEntry
+ Amazonka.SQS.Types.DeleteMessageBatchResultEntry: instance GHC.Classes.Eq Amazonka.SQS.Types.DeleteMessageBatchResultEntry.DeleteMessageBatchResultEntry
+ Amazonka.SQS.Types.DeleteMessageBatchResultEntry: instance GHC.Generics.Generic Amazonka.SQS.Types.DeleteMessageBatchResultEntry.DeleteMessageBatchResultEntry
+ Amazonka.SQS.Types.DeleteMessageBatchResultEntry: instance GHC.Read.Read Amazonka.SQS.Types.DeleteMessageBatchResultEntry.DeleteMessageBatchResultEntry
+ Amazonka.SQS.Types.DeleteMessageBatchResultEntry: instance GHC.Show.Show Amazonka.SQS.Types.DeleteMessageBatchResultEntry.DeleteMessageBatchResultEntry
+ Amazonka.SQS.Types.DeleteMessageBatchResultEntry: newDeleteMessageBatchResultEntry :: Text -> DeleteMessageBatchResultEntry
+ Amazonka.SQS.Types.Message: Message' :: Maybe (HashMap MessageAttribute Text) -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (HashMap Text MessageAttributeValue) -> Maybe Text -> Maybe Text -> Message
+ Amazonka.SQS.Types.Message: [$sel:attributes:Message'] :: Message -> Maybe (HashMap MessageAttribute Text)
+ Amazonka.SQS.Types.Message: [$sel:body:Message'] :: Message -> Maybe Text
+ Amazonka.SQS.Types.Message: [$sel:mD5OfBody:Message'] :: Message -> Maybe Text
+ Amazonka.SQS.Types.Message: [$sel:mD5OfMessageAttributes:Message'] :: Message -> Maybe Text
+ Amazonka.SQS.Types.Message: [$sel:messageAttributes:Message'] :: Message -> Maybe (HashMap Text MessageAttributeValue)
+ Amazonka.SQS.Types.Message: [$sel:messageId:Message'] :: Message -> Maybe Text
+ Amazonka.SQS.Types.Message: [$sel:receiptHandle:Message'] :: Message -> Maybe Text
+ Amazonka.SQS.Types.Message: data Message
+ Amazonka.SQS.Types.Message: instance Amazonka.Data.XML.FromXML Amazonka.SQS.Types.Message.Message
+ Amazonka.SQS.Types.Message: instance Control.DeepSeq.NFData Amazonka.SQS.Types.Message.Message
+ Amazonka.SQS.Types.Message: instance Data.Hashable.Class.Hashable Amazonka.SQS.Types.Message.Message
+ Amazonka.SQS.Types.Message: instance GHC.Classes.Eq Amazonka.SQS.Types.Message.Message
+ Amazonka.SQS.Types.Message: instance GHC.Generics.Generic Amazonka.SQS.Types.Message.Message
+ Amazonka.SQS.Types.Message: instance GHC.Read.Read Amazonka.SQS.Types.Message.Message
+ Amazonka.SQS.Types.Message: instance GHC.Show.Show Amazonka.SQS.Types.Message.Message
+ Amazonka.SQS.Types.Message: message_attributes :: Lens' Message (Maybe (HashMap MessageAttribute Text))
+ Amazonka.SQS.Types.Message: message_body :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Types.Message: message_mD5OfBody :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Types.Message: message_mD5OfMessageAttributes :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Types.Message: message_messageAttributes :: Lens' Message (Maybe (HashMap Text MessageAttributeValue))
+ Amazonka.SQS.Types.Message: message_messageId :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Types.Message: message_receiptHandle :: Lens' Message (Maybe Text)
+ Amazonka.SQS.Types.Message: newMessage :: Message
+ Amazonka.SQS.Types.MessageAttribute: MessageAttribute' :: Text -> MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: [fromMessageAttribute] :: MessageAttribute -> Text
+ Amazonka.SQS.Types.MessageAttribute: instance Amazonka.Data.ByteString.ToByteString Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance Amazonka.Data.Headers.ToHeader Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance Amazonka.Data.Log.ToLog Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance Amazonka.Data.Text.FromText Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance Amazonka.Data.Text.ToText Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance Amazonka.Data.XML.FromXML Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance Amazonka.Data.XML.ToXML Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance Control.DeepSeq.NFData Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance Data.Hashable.Class.Hashable Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance GHC.Classes.Eq Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance GHC.Classes.Ord Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance GHC.Generics.Generic Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance GHC.Read.Read Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: instance GHC.Show.Show Amazonka.SQS.Types.MessageAttribute.MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: newtype MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: pattern MessageAttribute_All :: MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: pattern MessageAttribute_ApproximateFirstReceiveTimestamp :: MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: pattern MessageAttribute_ApproximateReceiveCount :: MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: pattern MessageAttribute_SenderId :: MessageAttribute
+ Amazonka.SQS.Types.MessageAttribute: pattern MessageAttribute_SentTimestamp :: MessageAttribute
+ Amazonka.SQS.Types.MessageAttributeValue: MessageAttributeValue' :: Maybe [Base64] -> Maybe Base64 -> Maybe [Text] -> Maybe Text -> Text -> MessageAttributeValue
+ Amazonka.SQS.Types.MessageAttributeValue: [$sel:binaryListValues:MessageAttributeValue'] :: MessageAttributeValue -> Maybe [Base64]
+ Amazonka.SQS.Types.MessageAttributeValue: [$sel:binaryValue:MessageAttributeValue'] :: MessageAttributeValue -> Maybe Base64
+ Amazonka.SQS.Types.MessageAttributeValue: [$sel:dataType:MessageAttributeValue'] :: MessageAttributeValue -> Text
+ Amazonka.SQS.Types.MessageAttributeValue: [$sel:stringListValues:MessageAttributeValue'] :: MessageAttributeValue -> Maybe [Text]
+ Amazonka.SQS.Types.MessageAttributeValue: [$sel:stringValue:MessageAttributeValue'] :: MessageAttributeValue -> Maybe Text
+ Amazonka.SQS.Types.MessageAttributeValue: data MessageAttributeValue
+ Amazonka.SQS.Types.MessageAttributeValue: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.Types.MessageAttributeValue.MessageAttributeValue
+ Amazonka.SQS.Types.MessageAttributeValue: instance Amazonka.Data.XML.FromXML Amazonka.SQS.Types.MessageAttributeValue.MessageAttributeValue
+ Amazonka.SQS.Types.MessageAttributeValue: instance Control.DeepSeq.NFData Amazonka.SQS.Types.MessageAttributeValue.MessageAttributeValue
+ Amazonka.SQS.Types.MessageAttributeValue: instance Data.Hashable.Class.Hashable Amazonka.SQS.Types.MessageAttributeValue.MessageAttributeValue
+ Amazonka.SQS.Types.MessageAttributeValue: instance GHC.Classes.Eq Amazonka.SQS.Types.MessageAttributeValue.MessageAttributeValue
+ Amazonka.SQS.Types.MessageAttributeValue: instance GHC.Generics.Generic Amazonka.SQS.Types.MessageAttributeValue.MessageAttributeValue
+ Amazonka.SQS.Types.MessageAttributeValue: instance GHC.Read.Read Amazonka.SQS.Types.MessageAttributeValue.MessageAttributeValue
+ Amazonka.SQS.Types.MessageAttributeValue: instance GHC.Show.Show Amazonka.SQS.Types.MessageAttributeValue.MessageAttributeValue
+ Amazonka.SQS.Types.MessageAttributeValue: messageAttributeValue_binaryListValues :: Lens' MessageAttributeValue (Maybe [ByteString])
+ Amazonka.SQS.Types.MessageAttributeValue: messageAttributeValue_binaryValue :: Lens' MessageAttributeValue (Maybe ByteString)
+ Amazonka.SQS.Types.MessageAttributeValue: messageAttributeValue_dataType :: Lens' MessageAttributeValue Text
+ Amazonka.SQS.Types.MessageAttributeValue: messageAttributeValue_stringListValues :: Lens' MessageAttributeValue (Maybe [Text])
+ Amazonka.SQS.Types.MessageAttributeValue: messageAttributeValue_stringValue :: Lens' MessageAttributeValue (Maybe Text)
+ Amazonka.SQS.Types.MessageAttributeValue: newMessageAttributeValue :: Text -> MessageAttributeValue
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: MessageSystemAttributeNameForSends' :: Text -> MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: [fromMessageSystemAttributeNameForSends] :: MessageSystemAttributeNameForSends -> Text
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance Amazonka.Data.ByteString.ToByteString Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance Amazonka.Data.Headers.ToHeader Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance Amazonka.Data.Log.ToLog Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance Amazonka.Data.Text.FromText Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance Amazonka.Data.Text.ToText Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance Amazonka.Data.XML.FromXML Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance Amazonka.Data.XML.ToXML Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance Control.DeepSeq.NFData Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance Data.Hashable.Class.Hashable Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance GHC.Classes.Eq Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance GHC.Classes.Ord Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance GHC.Generics.Generic Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance GHC.Read.Read Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: instance GHC.Show.Show Amazonka.SQS.Types.MessageSystemAttributeNameForSends.MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: newtype MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeNameForSends: pattern MessageSystemAttributeNameForSends_AWSTraceHeader :: MessageSystemAttributeNameForSends
+ Amazonka.SQS.Types.MessageSystemAttributeValue: MessageSystemAttributeValue' :: Maybe [Base64] -> Maybe Base64 -> Maybe [Text] -> Maybe Text -> Text -> MessageSystemAttributeValue
+ Amazonka.SQS.Types.MessageSystemAttributeValue: [$sel:binaryListValues:MessageSystemAttributeValue'] :: MessageSystemAttributeValue -> Maybe [Base64]
+ Amazonka.SQS.Types.MessageSystemAttributeValue: [$sel:binaryValue:MessageSystemAttributeValue'] :: MessageSystemAttributeValue -> Maybe Base64
+ Amazonka.SQS.Types.MessageSystemAttributeValue: [$sel:dataType:MessageSystemAttributeValue'] :: MessageSystemAttributeValue -> Text
+ Amazonka.SQS.Types.MessageSystemAttributeValue: [$sel:stringListValues:MessageSystemAttributeValue'] :: MessageSystemAttributeValue -> Maybe [Text]
+ Amazonka.SQS.Types.MessageSystemAttributeValue: [$sel:stringValue:MessageSystemAttributeValue'] :: MessageSystemAttributeValue -> Maybe Text
+ Amazonka.SQS.Types.MessageSystemAttributeValue: data MessageSystemAttributeValue
+ Amazonka.SQS.Types.MessageSystemAttributeValue: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.Types.MessageSystemAttributeValue.MessageSystemAttributeValue
+ Amazonka.SQS.Types.MessageSystemAttributeValue: instance Control.DeepSeq.NFData Amazonka.SQS.Types.MessageSystemAttributeValue.MessageSystemAttributeValue
+ Amazonka.SQS.Types.MessageSystemAttributeValue: instance Data.Hashable.Class.Hashable Amazonka.SQS.Types.MessageSystemAttributeValue.MessageSystemAttributeValue
+ Amazonka.SQS.Types.MessageSystemAttributeValue: instance GHC.Classes.Eq Amazonka.SQS.Types.MessageSystemAttributeValue.MessageSystemAttributeValue
+ Amazonka.SQS.Types.MessageSystemAttributeValue: instance GHC.Generics.Generic Amazonka.SQS.Types.MessageSystemAttributeValue.MessageSystemAttributeValue
+ Amazonka.SQS.Types.MessageSystemAttributeValue: instance GHC.Read.Read Amazonka.SQS.Types.MessageSystemAttributeValue.MessageSystemAttributeValue
+ Amazonka.SQS.Types.MessageSystemAttributeValue: instance GHC.Show.Show Amazonka.SQS.Types.MessageSystemAttributeValue.MessageSystemAttributeValue
+ Amazonka.SQS.Types.MessageSystemAttributeValue: messageSystemAttributeValue_binaryListValues :: Lens' MessageSystemAttributeValue (Maybe [ByteString])
+ Amazonka.SQS.Types.MessageSystemAttributeValue: messageSystemAttributeValue_binaryValue :: Lens' MessageSystemAttributeValue (Maybe ByteString)
+ Amazonka.SQS.Types.MessageSystemAttributeValue: messageSystemAttributeValue_dataType :: Lens' MessageSystemAttributeValue Text
+ Amazonka.SQS.Types.MessageSystemAttributeValue: messageSystemAttributeValue_stringListValues :: Lens' MessageSystemAttributeValue (Maybe [Text])
+ Amazonka.SQS.Types.MessageSystemAttributeValue: messageSystemAttributeValue_stringValue :: Lens' MessageSystemAttributeValue (Maybe Text)
+ Amazonka.SQS.Types.MessageSystemAttributeValue: newMessageSystemAttributeValue :: Text -> MessageSystemAttributeValue
+ Amazonka.SQS.Types.QueueAttributeName: QueueAttributeName' :: Text -> QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: [fromQueueAttributeName] :: QueueAttributeName -> Text
+ Amazonka.SQS.Types.QueueAttributeName: instance Amazonka.Data.ByteString.ToByteString Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance Amazonka.Data.Headers.ToHeader Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance Amazonka.Data.Log.ToLog Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance Amazonka.Data.Text.FromText Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance Amazonka.Data.Text.ToText Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance Amazonka.Data.XML.FromXML Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance Amazonka.Data.XML.ToXML Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance Control.DeepSeq.NFData Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance Data.Hashable.Class.Hashable Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance GHC.Classes.Eq Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance GHC.Classes.Ord Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance GHC.Generics.Generic Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance GHC.Read.Read Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: instance GHC.Show.Show Amazonka.SQS.Types.QueueAttributeName.QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: newtype QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_All :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_ApproximateNumberOfMessages :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_ApproximateNumberOfMessagesDelayed :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_ApproximateNumberOfMessagesNotVisible :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_ContentBasedDeduplication :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_CreatedTimestamp :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_DeduplicationScope :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_DelaySeconds :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_FifoQueue :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_FifoThroughputLimit :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_KmsDataKeyReusePeriodSeconds :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_KmsMasterKeyId :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_LastModifiedTimestamp :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_MaximumMessageSize :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_MessageRetentionPeriod :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_Policy :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_QueueArn :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_ReceiveMessageWaitTimeSeconds :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_RedriveAllowPolicy :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_RedrivePolicy :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_SqsManagedSseEnabled :: QueueAttributeName
+ Amazonka.SQS.Types.QueueAttributeName: pattern QueueAttributeName_VisibilityTimeout :: QueueAttributeName
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: SendMessageBatchRequestEntry' :: Maybe Int -> Maybe (HashMap Text MessageAttributeValue) -> Maybe Text -> Maybe Text -> Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue) -> Text -> Text -> SendMessageBatchRequestEntry
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: [$sel:delaySeconds:SendMessageBatchRequestEntry'] :: SendMessageBatchRequestEntry -> Maybe Int
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: [$sel:id:SendMessageBatchRequestEntry'] :: SendMessageBatchRequestEntry -> Text
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: [$sel:messageAttributes:SendMessageBatchRequestEntry'] :: SendMessageBatchRequestEntry -> Maybe (HashMap Text MessageAttributeValue)
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: [$sel:messageBody:SendMessageBatchRequestEntry'] :: SendMessageBatchRequestEntry -> Text
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: [$sel:messageDeduplicationId:SendMessageBatchRequestEntry'] :: SendMessageBatchRequestEntry -> Maybe Text
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: [$sel:messageGroupId:SendMessageBatchRequestEntry'] :: SendMessageBatchRequestEntry -> Maybe Text
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: [$sel:messageSystemAttributes:SendMessageBatchRequestEntry'] :: SendMessageBatchRequestEntry -> Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue)
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: data SendMessageBatchRequestEntry
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.Types.SendMessageBatchRequestEntry.SendMessageBatchRequestEntry
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: instance Control.DeepSeq.NFData Amazonka.SQS.Types.SendMessageBatchRequestEntry.SendMessageBatchRequestEntry
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: instance Data.Hashable.Class.Hashable Amazonka.SQS.Types.SendMessageBatchRequestEntry.SendMessageBatchRequestEntry
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: instance GHC.Classes.Eq Amazonka.SQS.Types.SendMessageBatchRequestEntry.SendMessageBatchRequestEntry
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: instance GHC.Generics.Generic Amazonka.SQS.Types.SendMessageBatchRequestEntry.SendMessageBatchRequestEntry
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: instance GHC.Read.Read Amazonka.SQS.Types.SendMessageBatchRequestEntry.SendMessageBatchRequestEntry
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: instance GHC.Show.Show Amazonka.SQS.Types.SendMessageBatchRequestEntry.SendMessageBatchRequestEntry
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: newSendMessageBatchRequestEntry :: Text -> Text -> SendMessageBatchRequestEntry
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: sendMessageBatchRequestEntry_delaySeconds :: Lens' SendMessageBatchRequestEntry (Maybe Int)
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: sendMessageBatchRequestEntry_id :: Lens' SendMessageBatchRequestEntry Text
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: sendMessageBatchRequestEntry_messageAttributes :: Lens' SendMessageBatchRequestEntry (Maybe (HashMap Text MessageAttributeValue))
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: sendMessageBatchRequestEntry_messageBody :: Lens' SendMessageBatchRequestEntry Text
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: sendMessageBatchRequestEntry_messageDeduplicationId :: Lens' SendMessageBatchRequestEntry (Maybe Text)
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: sendMessageBatchRequestEntry_messageGroupId :: Lens' SendMessageBatchRequestEntry (Maybe Text)
+ Amazonka.SQS.Types.SendMessageBatchRequestEntry: sendMessageBatchRequestEntry_messageSystemAttributes :: Lens' SendMessageBatchRequestEntry (Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue))
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: SendMessageBatchResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> SendMessageBatchResultEntry
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: [$sel:id:SendMessageBatchResultEntry'] :: SendMessageBatchResultEntry -> Text
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: [$sel:mD5OfMessageAttributes:SendMessageBatchResultEntry'] :: SendMessageBatchResultEntry -> Maybe Text
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: [$sel:mD5OfMessageBody:SendMessageBatchResultEntry'] :: SendMessageBatchResultEntry -> Text
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: [$sel:mD5OfMessageSystemAttributes:SendMessageBatchResultEntry'] :: SendMessageBatchResultEntry -> Maybe Text
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: [$sel:messageId:SendMessageBatchResultEntry'] :: SendMessageBatchResultEntry -> Text
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: [$sel:sequenceNumber:SendMessageBatchResultEntry'] :: SendMessageBatchResultEntry -> Maybe Text
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: data SendMessageBatchResultEntry
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: instance Amazonka.Data.XML.FromXML Amazonka.SQS.Types.SendMessageBatchResultEntry.SendMessageBatchResultEntry
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: instance Control.DeepSeq.NFData Amazonka.SQS.Types.SendMessageBatchResultEntry.SendMessageBatchResultEntry
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: instance Data.Hashable.Class.Hashable Amazonka.SQS.Types.SendMessageBatchResultEntry.SendMessageBatchResultEntry
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: instance GHC.Classes.Eq Amazonka.SQS.Types.SendMessageBatchResultEntry.SendMessageBatchResultEntry
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: instance GHC.Generics.Generic Amazonka.SQS.Types.SendMessageBatchResultEntry.SendMessageBatchResultEntry
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: instance GHC.Read.Read Amazonka.SQS.Types.SendMessageBatchResultEntry.SendMessageBatchResultEntry
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: instance GHC.Show.Show Amazonka.SQS.Types.SendMessageBatchResultEntry.SendMessageBatchResultEntry
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: newSendMessageBatchResultEntry :: Text -> Text -> Text -> SendMessageBatchResultEntry
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: sendMessageBatchResultEntry_id :: Lens' SendMessageBatchResultEntry Text
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: sendMessageBatchResultEntry_mD5OfMessageAttributes :: Lens' SendMessageBatchResultEntry (Maybe Text)
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: sendMessageBatchResultEntry_mD5OfMessageBody :: Lens' SendMessageBatchResultEntry Text
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: sendMessageBatchResultEntry_mD5OfMessageSystemAttributes :: Lens' SendMessageBatchResultEntry (Maybe Text)
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: sendMessageBatchResultEntry_messageId :: Lens' SendMessageBatchResultEntry Text
+ Amazonka.SQS.Types.SendMessageBatchResultEntry: sendMessageBatchResultEntry_sequenceNumber :: Lens' SendMessageBatchResultEntry (Maybe Text)
+ Amazonka.SQS.UntagQueue: UntagQueue' :: Text -> [Text] -> UntagQueue
+ Amazonka.SQS.UntagQueue: UntagQueueResponse' :: UntagQueueResponse
+ Amazonka.SQS.UntagQueue: [$sel:queueUrl:UntagQueue'] :: UntagQueue -> Text
+ Amazonka.SQS.UntagQueue: [$sel:tagKeys:UntagQueue'] :: UntagQueue -> [Text]
+ Amazonka.SQS.UntagQueue: data UntagQueue
+ Amazonka.SQS.UntagQueue: data UntagQueueResponse
+ Amazonka.SQS.UntagQueue: instance Amazonka.Data.Headers.ToHeaders Amazonka.SQS.UntagQueue.UntagQueue
+ Amazonka.SQS.UntagQueue: instance Amazonka.Data.Path.ToPath Amazonka.SQS.UntagQueue.UntagQueue
+ Amazonka.SQS.UntagQueue: instance Amazonka.Data.Query.ToQuery Amazonka.SQS.UntagQueue.UntagQueue
+ Amazonka.SQS.UntagQueue: instance Amazonka.Types.AWSRequest Amazonka.SQS.UntagQueue.UntagQueue
+ Amazonka.SQS.UntagQueue: instance Control.DeepSeq.NFData Amazonka.SQS.UntagQueue.UntagQueue
+ Amazonka.SQS.UntagQueue: instance Control.DeepSeq.NFData Amazonka.SQS.UntagQueue.UntagQueueResponse
+ Amazonka.SQS.UntagQueue: instance Data.Hashable.Class.Hashable Amazonka.SQS.UntagQueue.UntagQueue
+ Amazonka.SQS.UntagQueue: instance GHC.Classes.Eq Amazonka.SQS.UntagQueue.UntagQueue
+ Amazonka.SQS.UntagQueue: instance GHC.Classes.Eq Amazonka.SQS.UntagQueue.UntagQueueResponse
+ Amazonka.SQS.UntagQueue: instance GHC.Generics.Generic Amazonka.SQS.UntagQueue.UntagQueue
+ Amazonka.SQS.UntagQueue: instance GHC.Generics.Generic Amazonka.SQS.UntagQueue.UntagQueueResponse
+ Amazonka.SQS.UntagQueue: instance GHC.Read.Read Amazonka.SQS.UntagQueue.UntagQueue
+ Amazonka.SQS.UntagQueue: instance GHC.Read.Read Amazonka.SQS.UntagQueue.UntagQueueResponse
+ Amazonka.SQS.UntagQueue: instance GHC.Show.Show Amazonka.SQS.UntagQueue.UntagQueue
+ Amazonka.SQS.UntagQueue: instance GHC.Show.Show Amazonka.SQS.UntagQueue.UntagQueueResponse
+ Amazonka.SQS.UntagQueue: newUntagQueue :: Text -> UntagQueue
+ Amazonka.SQS.UntagQueue: newUntagQueueResponse :: UntagQueueResponse
+ Amazonka.SQS.UntagQueue: untagQueue_queueUrl :: Lens' UntagQueue Text
+ Amazonka.SQS.UntagQueue: untagQueue_tagKeys :: Lens' UntagQueue [Text]

Files

README.md view
@@ -7,9 +7,8 @@   ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2012-11-05@ of the AWS service descriptions, licensed under Apache 2.0.  ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.SQS](http://hackage.haskell.org/package/amazonka-sqs/docs/Network-AWS-SQS.html)+See [Amazonka.SQS](http://hackage.haskell.org/package/amazonka-sqs/docs/Amazonka-SQS.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.  
− Setup.hs
@@ -1,2 +0,0 @@-import           Distribution.Simple-main = defaultMain
amazonka-sqs.cabal view
@@ -1,105 +1,116 @@-name:                  amazonka-sqs-version:               1.6.1-synopsis:              Amazon Simple Queue Service SDK.-homepage:              https://github.com/brendanhay/amazonka-bug-reports:           https://github.com/brendanhay/amazonka/issues-license:               MPL-2.0-license-file:          LICENSE-author:                Brendan Hay-maintainer:            Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright:             Copyright (c) 2013-2018 Brendan Hay-category:              Network, AWS, Cloud, Distributed Computing-build-type:            Simple-cabal-version:         >= 1.10-extra-source-files:    README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version:      2.2+name:               amazonka-sqs+version:            2.0+synopsis:           Amazon Simple Queue Service SDK.+homepage:           https://github.com/brendanhay/amazonka+bug-reports:        https://github.com/brendanhay/amazonka/issues+license:            MPL-2.0+license-file:       LICENSE+author:             Brendan Hay+maintainer:+  Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright:          Copyright (c) 2013-2023 Brendan Hay+category:           AWS+build-type:         Simple+extra-source-files:+  fixture/*.proto+  fixture/*.yaml+  README.md+  src/.gitkeep+ description:-    The types from this library are intended to be used with-    <http://hackage.haskell.org/package/amazonka amazonka>, which provides-    mechanisms for specifying AuthN/AuthZ information, sending requests,-    and receiving responses.-    .-    Lenses are used for constructing and manipulating types,-    due to the depth of nesting of AWS types and transparency regarding-    de/serialisation into more palatable Haskell values.-    The provided lenses should be compatible with any of the major lens libraries-    such as <http://hackage.haskell.org/package/lens lens> or-    <http://hackage.haskell.org/package/lens-family-core lens-family-core>.-    .-    See "Network.AWS.SQS" or <https://aws.amazon.com/documentation/ the AWS documentation>-    to get started.+  Derived from API version @2012-11-05@ of the AWS service descriptions, licensed under Apache 2.0.+  .+  The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+  which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+  .+  It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+  .+  Generated lenses can be found in "Amazonka.SQS.Lens" and are+  suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+  .+  See "Amazonka.SQS" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started.  source-repository head-    type:              git-    location:          git://github.com/brendanhay/amazonka.git-    subdir:            amazonka-sqs+  type:     git+  location: git://github.com/brendanhay/amazonka.git+  subdir:   amazonka-sqs  library-    default-language:  Haskell2010-    hs-source-dirs:    src gen--    ghc-options:-        -Wall-        -fwarn-incomplete-uni-patterns-        -fwarn-incomplete-record-updates-        -funbox-strict-fields--    exposed-modules:-          Network.AWS.SQS-        , Network.AWS.SQS.AddPermission-        , Network.AWS.SQS.ChangeMessageVisibility-        , Network.AWS.SQS.ChangeMessageVisibilityBatch-        , Network.AWS.SQS.CreateQueue-        , Network.AWS.SQS.DeleteMessage-        , Network.AWS.SQS.DeleteMessageBatch-        , Network.AWS.SQS.DeleteQueue-        , Network.AWS.SQS.GetQueueAttributes-        , Network.AWS.SQS.GetQueueURL-        , Network.AWS.SQS.ListDeadLetterSourceQueues-        , Network.AWS.SQS.ListQueueTags-        , Network.AWS.SQS.ListQueues-        , Network.AWS.SQS.PurgeQueue-        , Network.AWS.SQS.ReceiveMessage-        , Network.AWS.SQS.RemovePermission-        , Network.AWS.SQS.SendMessage-        , Network.AWS.SQS.SendMessageBatch-        , Network.AWS.SQS.SetQueueAttributes-        , Network.AWS.SQS.TagQueue-        , Network.AWS.SQS.Types-        , Network.AWS.SQS.UntagQueue-        , Network.AWS.SQS.Waiters+  default-language: Haskell2010+  hs-source-dirs:   src gen+  ghc-options:+    -Wall -fwarn-incomplete-uni-patterns+    -fwarn-incomplete-record-updates -funbox-strict-fields -    other-modules:-          Network.AWS.SQS.Types.Product-        , Network.AWS.SQS.Types.Sum+  exposed-modules:+    Amazonka.SQS+    Amazonka.SQS.AddPermission+    Amazonka.SQS.ChangeMessageVisibility+    Amazonka.SQS.ChangeMessageVisibilityBatch+    Amazonka.SQS.CreateQueue+    Amazonka.SQS.DeleteMessage+    Amazonka.SQS.DeleteMessageBatch+    Amazonka.SQS.DeleteQueue+    Amazonka.SQS.GetQueueAttributes+    Amazonka.SQS.GetQueueUrl+    Amazonka.SQS.Lens+    Amazonka.SQS.ListDeadLetterSourceQueues+    Amazonka.SQS.ListQueues+    Amazonka.SQS.ListQueueTags+    Amazonka.SQS.PurgeQueue+    Amazonka.SQS.ReceiveMessage+    Amazonka.SQS.RemovePermission+    Amazonka.SQS.SendMessage+    Amazonka.SQS.SendMessageBatch+    Amazonka.SQS.SetQueueAttributes+    Amazonka.SQS.TagQueue+    Amazonka.SQS.Types+    Amazonka.SQS.Types.BatchResultErrorEntry+    Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry+    Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry+    Amazonka.SQS.Types.DeleteMessageBatchRequestEntry+    Amazonka.SQS.Types.DeleteMessageBatchResultEntry+    Amazonka.SQS.Types.Message+    Amazonka.SQS.Types.MessageAttribute+    Amazonka.SQS.Types.MessageAttributeValue+    Amazonka.SQS.Types.MessageSystemAttributeNameForSends+    Amazonka.SQS.Types.MessageSystemAttributeValue+    Amazonka.SQS.Types.QueueAttributeName+    Amazonka.SQS.Types.SendMessageBatchRequestEntry+    Amazonka.SQS.Types.SendMessageBatchResultEntry+    Amazonka.SQS.UntagQueue+    Amazonka.SQS.Waiters -    build-depends:-          amazonka-core == 1.6.1.*-        , base          >= 4.7     && < 5+  build-depends:+    , amazonka-core  >=2.0  && <2.1+    , base           >=4.12 && <5  test-suite amazonka-sqs-test-    type:              exitcode-stdio-1.0-    default-language:  Haskell2010-    hs-source-dirs:    test-    main-is:           Main.hs--    ghc-options:       -Wall -threaded+  type:             exitcode-stdio-1.0+  default-language: Haskell2010+  hs-source-dirs:   test+  main-is:          Main.hs+  ghc-options:      -Wall -threaded -    -- This section is encoded by the template and any modules added by-    -- hand outside these namespaces will not correctly be added to the-    -- distribution package.-    other-modules:-          Test.AWS.SQS-        , Test.AWS.Gen.SQS-        , Test.AWS.SQS.Internal+  -- This section is encoded by the template and any modules added by+  -- hand outside these namespaces will not correctly be added to the+  -- distribution package.+  other-modules:+    Test.Amazonka.Gen.SQS+    Test.Amazonka.SQS+    Test.Amazonka.SQS.Internal -    build-depends:-          amazonka-core == 1.6.1.*-        , amazonka-test == 1.6.1.*-        , amazonka-sqs-        , base-        , bytestring-        , tasty-        , tasty-hunit-        , text-        , time-        , unordered-containers+  build-depends:+    , amazonka-core         >=2.0 && <2.1+    , amazonka-sqs+    , amazonka-test         >=2.0 && <2.1+    , base+    , bytestring+    , case-insensitive+    , tasty+    , tasty-hunit+    , text+    , time+    , unordered-containers
fixture/AddPermission.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/AddPermissionResponse.proto view
@@ -1,7 +0,0 @@-<AddPermissionResponse>-    <ResponseMetadata>-        <RequestId>-            9a285199-c8d6-47c2-bdb2-314cb47d599d-        </RequestId>-    </ResponseMetadata>-</AddPermissionResponse>
fixture/ChangeMessageVisibility.yaml view
@@ -1,10 +1,10 @@ --- method: POST headers:-  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=b393290eebc303b082c1a74c3db16894808c511b131d8a259bc2673c0ec8e6e9-  Host:                  queue.amazonaws.com+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com   Content-Type:          application/x-www-form-urlencoded; charset=utf-8-  X-Amz-Content-SHA256:  d7e854ec540d9651bbb8cdaeac6aca36b2c91fe5631d1d118b0267cf6b956a50+  X-Amz-Content-SHA256:  abcdef   X-Amz-Date:            20091028T223200Z body:-  Action=ChangeMessageVisibility&QueueUrl=http%3A%2F%2Fsqs.us-east-1.amazonaws.com%2F123456789012%2FtestQueue%2F&ReceiptHandle=MbZli%2BJvwwJaBV%2B3dcjk2W2vA3%2BSTFFljTJg6HYSasuWXPJB%2FWeR4mq21A2x%2FKSbkJ0%3D&Version=2012-11-05&VisibilityTimeout=60+  ''
fixture/ChangeMessageVisibilityBatch.yaml view
@@ -1,10 +1,10 @@ --- method: POST headers:-  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=961fab18f46355378a4215ea705adc736b6fef6bbad03c963ebb5dd7bf9057a1-  Host:                  queue.amazonaws.com+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com   Content-Type:          application/x-www-form-urlencoded; charset=utf-8-  X-Amz-Content-SHA256:  e10aab72f59365b32e14236ee9d29639661b8e9b6d593cfe73ca61b356aa3085+  X-Amz-Content-SHA256:  abcdef   X-Amz-Date:            20091028T223200Z body:-  Action=ChangeMessageVisibilityBatch&ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2&ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=MbZli%2BJvwwJaBV%2B3dcjk2W2vA3%2BSTFFljTJg6HYSasuWXPJB%2FWeR4mq21A2x%2FKSbkJ0%3D&ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45&ChangeMessageVisibilityBatchRequestEntry.2.Id=change_visibility_msg_3&ChangeMessageVisibilityBatchRequestEntry.2.ReceiptHandle=MbZli%2BJvwwJaBV%2B3dcjk2W2vA3%2BSTFFljTJg6HYSasuWXPJB%2FWeR4mq21A2x%2FKSbkJ0%3D&ChangeMessageVisibilityBatchRequestEntry.2.VisibilityTimeout=45&QueueUrl=http%3A%2F%2Fsqs.us-east-1.amazonaws.com%2F123456789012%2FtestQueue%2F&Version=2012-11-05+  ''
fixture/ChangeMessageVisibilityBatchResponse.proto view
@@ -1,13 +0,0 @@-<ChangeMessageVisibilityBatchResponse>-    <ChangeMessageVisibilityBatchResult>-        <ChangeMessageVisibilityBatchResultEntry>-            <Id>change_visibility_msg_2</Id>-        </ChangeMessageVisibilityBatchResultEntry>-        <ChangeMessageVisibilityBatchResultEntry>-            <Id>change_visibility_msg_3</Id>-        </ChangeMessageVisibilityBatchResultEntry>-    </ChangeMessageVisibilityBatchResult>-    <ResponseMetadata>-        <RequestId>ca9668f7-ab1b-4f7a-8859-f15747ab17a7</RequestId>-    </ResponseMetadata>-</ChangeMessageVisibilityBatchResponse>
fixture/ChangeMessageVisibilityResponse.proto view
@@ -1,7 +0,0 @@-<ChangeMessageVisibilityResponse>-    <ResponseMetadata>-        <RequestId>-            6a7a282a-d013-4a59-aba9-335b0fa48bed-        </RequestId>-    </ResponseMetadata>-</ChangeMessageVisibilityResponse>
fixture/CreateQueue.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/CreateQueueResponse.proto view
@@ -1,13 +0,0 @@-<CreateQueueResponse>-    <CreateQueueResult>-        <QueueUrl>-            http://&useast1-query;/123456789012/testQueue-        </QueueUrl>-    </CreateQueueResult>-    <ResponseMetadata>-        <RequestId>-            7a62c49f-347e-4fc4-9331-6e8e7a96aa73-        </RequestId>-    </ResponseMetadata>-</CreateQueueResponse>-
fixture/DeleteMessage.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/DeleteMessageBatch.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/DeleteMessageBatchResponse.proto view
@@ -1,13 +0,0 @@-<DeleteMessageBatchResponse>-    <DeleteMessageBatchResult>-        <DeleteMessageBatchResultEntry>-            <Id>msg1</Id>-        </DeleteMessageBatchResultEntry>-        <DeleteMessageBatchResultEntry>-            <Id>msg2</Id>-        </DeleteMessageBatchResultEntry>-    </DeleteMessageBatchResult>-    <ResponseMetadata>-        <RequestId>d6f86b7a-74d1-4439-b43f-196a1e29cd85</RequestId>-    </ResponseMetadata>-</DeleteMessageBatchResponse>
fixture/DeleteMessageResponse.proto view
@@ -1,7 +0,0 @@-<DeleteMessageResponse>-    <ResponseMetadata>-        <RequestId>-            b5293cb5-d306-4a17-9048-b263635abe42-        </RequestId>-    </ResponseMetadata>-</DeleteMessageResponse>
fixture/DeleteQueue.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/DeleteQueueResponse.proto view
@@ -1,7 +0,0 @@-<DeleteQueueResponse>-    <ResponseMetadata>-        <RequestId>-            6fde8d1e-52cd-4581-8cd9-c512f4c64223-        </RequestId>-    </ResponseMetadata>-</DeleteQueueResponse>
fixture/GetQueueAttributes.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/GetQueueAttributesResponse.proto view
@@ -1,43 +0,0 @@-<GetQueueAttributesResponse>-  <GetQueueAttributesResult>-    <Attribute>-      <Name>ReceiveMessageWaitTimeSeconds</Name>-      <Value>2</Value>-    </Attribute>-    <Attribute>-      <Name>VisibilityTimeout</Name>-      <Value>30</Value>-    </Attribute>-    <Attribute>-      <Name>ApproximateNumberOfMessages</Name>-      <Value>0</Value>-    </Attribute>-    <Attribute>-      <Name>ApproximateNumberOfMessagesNotVisible</Name>-      <Value>0</Value>-    </Attribute>-    <Attribute>-      <Name>CreatedTimestamp</Name>-      <Value>1286771522</Value>-    </Attribute>-    <Attribute>-      <Name>LastModifiedTimestamp</Name>-      <Value>1286771522</Value>-    </Attribute>-    <Attribute>-      <Name>QueueArn</Name>-      <Value>arn:aws:sqs:us-east-1:123456789012:qfoo</Value>-    </Attribute>-    <Attribute>-      <Name>MaximumMessageSize</Name>-      <Value>8192</Value>-    </Attribute>-    <Attribute>-      <Name>MessageRetentionPeriod</Name>-      <Value>345600</Value>-    </Attribute>-  </GetQueueAttributesResult>-  <ResponseMetadata>-    <RequestId>1ea71be5-b5a2-4f9d-b85a-945d8d08cd0b</RequestId>-  </ResponseMetadata>-</GetQueueAttributesResponse>
− fixture/GetQueueURL.yaml
− fixture/GetQueueURLResponse.proto
@@ -1,8 +0,0 @@-<GetQueueUrlResponse>-    <GetQueueUrlResult>-        <QueueUrl>http://sqs.us-east-1.amazonaws.com/123456789012/testQueue/</QueueUrl>-    </GetQueueUrlResult>-    <ResponseMetadata>-        <RequestId>470a6f13-2ed9-4181-ad8a-2fdea142988e</RequestId>-    </ResponseMetadata>-</GetQueueUrlResponse>
+ fixture/GetQueueUrl.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/GetQueueUrlResponse.proto view
fixture/ListDeadLetterSourceQueues.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/ListDeadLetterSourceQueuesResponse.proto view
@@ -1,8 +0,0 @@-<ListDeadLetterSourceQueuesResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/">-    <ListDeadLetterSourceQueuesResult>-        <QueueUrl>http://sqs.us-east-1.amazonaws.com/123456789012/MySourceQueue</QueueUrl>-    </ListDeadLetterSourceQueuesResult>-    <ResponseMetadata>-        <RequestId>8ffb921f-b85e-53d9-abcf-d8d0057f38fc</RequestId>-    </ResponseMetadata>-</ListDeadLetterSourceQueuesResponse>
fixture/ListQueues.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/ListQueuesResponse.proto view
@@ -1,12 +0,0 @@-<ListQueuesResponse>-    <ListQueuesResult>-        <QueueUrl>-            http://sqs.us-east-1.amazonaws.com/123456789012/testQueue-        </QueueUrl>-    </ListQueuesResult>-    <ResponseMetadata>-        <RequestId>-            725275ae-0b9b-4762-b238-436d7c65a1ac-        </RequestId>-    </ResponseMetadata>-</ListQueuesResponse>
fixture/PurgeQueue.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/PurgeQueueResponse.proto view
@@ -1,7 +0,0 @@-<PurgeQueueResponse>-    <ResponseMetadata>-        <RequestId>-            6fde8d1e-52cd-4581-8cd9-c512f4c64223-        </RequestId>-    </ResponseMetadata>-</PurgeQueueResponse>
fixture/ReceiveMessage.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/ReceiveMessageResponse.proto view
@@ -1,29 +0,0 @@-<ReceiveMessageResponse>-  <ReceiveMessageResult>-    <Message>-      <MessageId>5fea7756-0ea4-451a-a703-a558b933e274</MessageId>-      <ReceiptHandle>MbZj6wDWli+JvwwJaBV+3dcjk2YW2vA3+STFFljTM8tJJg6HRG6PYSasuWXPJB+CwLj1FjgXUv1uSj1gUPAWV66FU/WeR4mq2OKpEGYWbnLmpRCJVAyeMjeU5ZBdtcQ+QEauMZc8ZRv37sIW2iJKq3M9MFx1YvV11A2x/KSbkJ0=</ReceiptHandle>-      <MD5OfBody>fafb00f5732ab283681e124bf8747ed1</MD5OfBody>-      <Body>This is a test message</Body>-      <Attribute>-        <Name>SenderId</Name>-        <Value>195004372649</Value>-      </Attribute>-      <Attribute>-        <Name>SentTimestamp</Name>-        <Value>1238099229000</Value>-      </Attribute>-      <Attribute>-        <Name>ApproximateReceiveCount</Name>-        <Value>5</Value>-      </Attribute>-      <Attribute>-        <Name>ApproximateFirstReceiveTimestamp</Name>-        <Value>1250700979248</Value>-      </Attribute>-    </Message>-  </ReceiveMessageResult>-  <ResponseMetadata>-    <RequestId>b6633655-283d-45b4-aee4-4e84e0ae6afa</RequestId>-  </ResponseMetadata>-</ReceiveMessageResponse>
fixture/RemovePermission.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/RemovePermissionResponse.proto view
@@ -1,7 +0,0 @@-<RemovePermissionResponse>-    <ResponseMetadata>-        <RequestId>-            f8bdb362-6616-42c0-977a-ce9a8bcce3bb-        </RequestId>-    </ResponseMetadata>-</RemovePermissionResponse>
fixture/SendMessage.yaml view
@@ -1,10 +1,10 @@ --- method: POST headers:-  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=8faa844de01cde8f962d4ee6a4999d1f71af8c2aa062cfb66c259f84a12a7314-  Host:                  queue.amazonaws.com+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com   Content-Type:          application/x-www-form-urlencoded; charset=utf-8-  X-Amz-Content-SHA256:  f2d70aeaa05157f45a6ac8613342e77d8e76f8ce5e5090eba0173592792c6e71+  X-Amz-Content-SHA256:  abcdef   X-Amz-Date:            20091028T223200Z body:-  Action=SendMessage&MessageAttribute.1.Name=test_attribute_name_1&MessageAttribute.1.Value.DataType=String&MessageAttribute.1.Value.StringValue=test_attribute_value_1&MessageAttribute.2.Name=test_attribute_name_2&MessageAttribute.2.Value.DataType=String&MessageAttribute.2.Value.StringValue=test_attribute_value_2&MessageBody=This%2Bis%2Ba%2Btest%2Bmessage&QueueUrl=http%3A%2F%2Fsqs.us-east-1.amazonaws.com%2F123456789012%2FtestQueue%2F&Version=2012-11-05+  ''
fixture/SendMessageBatch.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/SendMessageBatchResponse.proto view
@@ -1,18 +0,0 @@-<SendMessageBatchResponse>-    <SendMessageBatchResult>-        <SendMessageBatchResultEntry>-            <Id>test_msg_001</Id>-            <MessageId>0a5231c7-8bff-4955-be2e-8dc7c50a25fa</MessageId>-            <MD5OfMessageBody>0e024d309850c78cba5eabbeff7cae71</MD5OfMessageBody>-        </SendMessageBatchResultEntry>-        <SendMessageBatchResultEntry>-            <Id>test_msg_002</Id>-            <MessageId>15ee1ed3-87e7-40c1-bdaa-2e49968ea7e9</MessageId>-            <MD5OfMessageBody>7fb8146a82f95e0af155278f406862c2</MD5OfMessageBody>-            <MD5OfMessageAttributes>295c5fa15a51aae6884d1d7c1d99ca50</MD5OfMessageAttributes>-        </SendMessageBatchResultEntry>-    </SendMessageBatchResult>-    <ResponseMetadata>-        <RequestId>ca1ad5d0-8271-408b-8d0f-1351bf547e74</RequestId>-    </ResponseMetadata>-</SendMessageBatchResponse>
fixture/SendMessageResponse.proto view
@@ -1,12 +0,0 @@-<SendMessageResponse>-    <SendMessageResult>-        <MD5OfMessageBody>fafb00f5732ab283681e124bf8747ed1</MD5OfMessageBody>-        <MD5OfMessageAttributes>3ae8f24a165a8cedc005670c81a27295</MD5OfMessageAttributes>-        <MessageId>5fea7756-0ea4-451a-a703-a558b933e274</MessageId>-    </SendMessageResult>-    <ResponseMetadata>-        <RequestId>-            27daac76-34dd-47df-bd01-1f6e873584a0-        </RequestId>-    </ResponseMetadata>-</SendMessageResponse>
fixture/SetQueueAttributes.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  sqs.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/SetQueueAttributesResponse.proto view
@@ -1,7 +0,0 @@-<SetQueueAttributesResponse>-    <ResponseMetadata>-        <RequestId>-            e5cca473-4fc0-4198-a451-8abb94d02c75-        </RequestId>-    </ResponseMetadata>-</SetQueueAttributesResponse>
+ gen/Amazonka/SQS.hs view
@@ -0,0 +1,335 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module      : Amazonka.SQS+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Derived from API version @2012-11-05@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- Welcome to the /Amazon SQS API Reference/.+--+-- Amazon SQS is a reliable, highly-scalable hosted queue for storing+-- messages as they travel between applications or microservices. Amazon+-- SQS moves data between distributed application components and helps you+-- decouple these components.+--+-- For information on the permissions you need to use this API, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-authentication-and-access-control.html Identity and access management>+-- in the /Amazon SQS Developer Guide./+--+-- You can use <http://aws.amazon.com/tools/#sdk Amazon Web Services SDKs>+-- to access Amazon SQS using your favorite programming language. The SDKs+-- perform tasks such as the following automatically:+--+-- -   Cryptographically sign your service requests+--+-- -   Retry requests+--+-- -   Handle error responses+--+-- __Additional information__+--+-- -   <http://aws.amazon.com/sqs/ Amazon SQS Product Page>+--+-- -   /Amazon SQS Developer Guide/+--+--     -   <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html Making API Requests>+--+--     -   <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS Message Attributes>+--+--     -   <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html Amazon SQS Dead-Letter Queues>+--+-- -   <http://docs.aws.amazon.com/cli/latest/reference/sqs/index.html Amazon SQS in the Command Line Interface>+--+-- -   /Amazon Web Services General Reference/+--+--     -   <https://docs.aws.amazon.com/general/latest/gr/rande.html#sqs_region Regions and Endpoints>+module Amazonka.SQS+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    -- $errors++    -- ** BatchEntryIdsNotDistinct+    _BatchEntryIdsNotDistinct,++    -- ** BatchRequestTooLong+    _BatchRequestTooLong,++    -- ** EmptyBatchRequest+    _EmptyBatchRequest,++    -- ** InvalidAttributeName+    _InvalidAttributeName,++    -- ** InvalidBatchEntryId+    _InvalidBatchEntryId,++    -- ** InvalidIdFormat+    _InvalidIdFormat,++    -- ** InvalidMessageContents+    _InvalidMessageContents,++    -- ** MessageNotInflight+    _MessageNotInflight,++    -- ** OverLimit+    _OverLimit,++    -- ** PurgeQueueInProgress+    _PurgeQueueInProgress,++    -- ** QueueDeletedRecently+    _QueueDeletedRecently,++    -- ** QueueDoesNotExist+    _QueueDoesNotExist,++    -- ** QueueNameExists+    _QueueNameExists,++    -- ** ReceiptHandleIsInvalid+    _ReceiptHandleIsInvalid,++    -- ** TooManyEntriesInBatchRequest+    _TooManyEntriesInBatchRequest,++    -- ** UnsupportedOperation+    _UnsupportedOperation,++    -- * Waiters+    -- $waiters++    -- * Operations+    -- $operations++    -- ** AddPermission+    AddPermission (AddPermission'),+    newAddPermission,+    AddPermissionResponse (AddPermissionResponse'),+    newAddPermissionResponse,++    -- ** ChangeMessageVisibility+    ChangeMessageVisibility (ChangeMessageVisibility'),+    newChangeMessageVisibility,+    ChangeMessageVisibilityResponse (ChangeMessageVisibilityResponse'),+    newChangeMessageVisibilityResponse,++    -- ** ChangeMessageVisibilityBatch+    ChangeMessageVisibilityBatch (ChangeMessageVisibilityBatch'),+    newChangeMessageVisibilityBatch,+    ChangeMessageVisibilityBatchResponse (ChangeMessageVisibilityBatchResponse'),+    newChangeMessageVisibilityBatchResponse,++    -- ** CreateQueue+    CreateQueue (CreateQueue'),+    newCreateQueue,+    CreateQueueResponse (CreateQueueResponse'),+    newCreateQueueResponse,++    -- ** DeleteMessage+    DeleteMessage (DeleteMessage'),+    newDeleteMessage,+    DeleteMessageResponse (DeleteMessageResponse'),+    newDeleteMessageResponse,++    -- ** DeleteMessageBatch+    DeleteMessageBatch (DeleteMessageBatch'),+    newDeleteMessageBatch,+    DeleteMessageBatchResponse (DeleteMessageBatchResponse'),+    newDeleteMessageBatchResponse,++    -- ** DeleteQueue+    DeleteQueue (DeleteQueue'),+    newDeleteQueue,+    DeleteQueueResponse (DeleteQueueResponse'),+    newDeleteQueueResponse,++    -- ** GetQueueAttributes+    GetQueueAttributes (GetQueueAttributes'),+    newGetQueueAttributes,+    GetQueueAttributesResponse (GetQueueAttributesResponse'),+    newGetQueueAttributesResponse,++    -- ** GetQueueUrl+    GetQueueUrl (GetQueueUrl'),+    newGetQueueUrl,+    GetQueueUrlResponse (GetQueueUrlResponse'),+    newGetQueueUrlResponse,++    -- ** ListDeadLetterSourceQueues (Paginated)+    ListDeadLetterSourceQueues (ListDeadLetterSourceQueues'),+    newListDeadLetterSourceQueues,+    ListDeadLetterSourceQueuesResponse (ListDeadLetterSourceQueuesResponse'),+    newListDeadLetterSourceQueuesResponse,++    -- ** ListQueueTags+    ListQueueTags (ListQueueTags'),+    newListQueueTags,+    ListQueueTagsResponse (ListQueueTagsResponse'),+    newListQueueTagsResponse,++    -- ** ListQueues (Paginated)+    ListQueues (ListQueues'),+    newListQueues,+    ListQueuesResponse (ListQueuesResponse'),+    newListQueuesResponse,++    -- ** PurgeQueue+    PurgeQueue (PurgeQueue'),+    newPurgeQueue,+    PurgeQueueResponse (PurgeQueueResponse'),+    newPurgeQueueResponse,++    -- ** ReceiveMessage+    ReceiveMessage (ReceiveMessage'),+    newReceiveMessage,+    ReceiveMessageResponse (ReceiveMessageResponse'),+    newReceiveMessageResponse,++    -- ** RemovePermission+    RemovePermission (RemovePermission'),+    newRemovePermission,+    RemovePermissionResponse (RemovePermissionResponse'),+    newRemovePermissionResponse,++    -- ** SendMessage+    SendMessage (SendMessage'),+    newSendMessage,+    SendMessageResponse (SendMessageResponse'),+    newSendMessageResponse,++    -- ** SendMessageBatch+    SendMessageBatch (SendMessageBatch'),+    newSendMessageBatch,+    SendMessageBatchResponse (SendMessageBatchResponse'),+    newSendMessageBatchResponse,++    -- ** SetQueueAttributes+    SetQueueAttributes (SetQueueAttributes'),+    newSetQueueAttributes,+    SetQueueAttributesResponse (SetQueueAttributesResponse'),+    newSetQueueAttributesResponse,++    -- ** TagQueue+    TagQueue (TagQueue'),+    newTagQueue,+    TagQueueResponse (TagQueueResponse'),+    newTagQueueResponse,++    -- ** UntagQueue+    UntagQueue (UntagQueue'),+    newUntagQueue,+    UntagQueueResponse (UntagQueueResponse'),+    newUntagQueueResponse,++    -- * Types++    -- ** MessageAttribute+    MessageAttribute (..),++    -- ** MessageSystemAttributeNameForSends+    MessageSystemAttributeNameForSends (..),++    -- ** QueueAttributeName+    QueueAttributeName (..),++    -- ** BatchResultErrorEntry+    BatchResultErrorEntry (BatchResultErrorEntry'),+    newBatchResultErrorEntry,++    -- ** ChangeMessageVisibilityBatchRequestEntry+    ChangeMessageVisibilityBatchRequestEntry (ChangeMessageVisibilityBatchRequestEntry'),+    newChangeMessageVisibilityBatchRequestEntry,++    -- ** ChangeMessageVisibilityBatchResultEntry+    ChangeMessageVisibilityBatchResultEntry (ChangeMessageVisibilityBatchResultEntry'),+    newChangeMessageVisibilityBatchResultEntry,++    -- ** DeleteMessageBatchRequestEntry+    DeleteMessageBatchRequestEntry (DeleteMessageBatchRequestEntry'),+    newDeleteMessageBatchRequestEntry,++    -- ** DeleteMessageBatchResultEntry+    DeleteMessageBatchResultEntry (DeleteMessageBatchResultEntry'),+    newDeleteMessageBatchResultEntry,++    -- ** Message+    Message (Message'),+    newMessage,++    -- ** MessageAttributeValue+    MessageAttributeValue (MessageAttributeValue'),+    newMessageAttributeValue,++    -- ** MessageSystemAttributeValue+    MessageSystemAttributeValue (MessageSystemAttributeValue'),+    newMessageSystemAttributeValue,++    -- ** SendMessageBatchRequestEntry+    SendMessageBatchRequestEntry (SendMessageBatchRequestEntry'),+    newSendMessageBatchRequestEntry,++    -- ** SendMessageBatchResultEntry+    SendMessageBatchResultEntry (SendMessageBatchResultEntry'),+    newSendMessageBatchResultEntry,+  )+where++import Amazonka.SQS.AddPermission+import Amazonka.SQS.ChangeMessageVisibility+import Amazonka.SQS.ChangeMessageVisibilityBatch+import Amazonka.SQS.CreateQueue+import Amazonka.SQS.DeleteMessage+import Amazonka.SQS.DeleteMessageBatch+import Amazonka.SQS.DeleteQueue+import Amazonka.SQS.GetQueueAttributes+import Amazonka.SQS.GetQueueUrl+import Amazonka.SQS.Lens+import Amazonka.SQS.ListDeadLetterSourceQueues+import Amazonka.SQS.ListQueueTags+import Amazonka.SQS.ListQueues+import Amazonka.SQS.PurgeQueue+import Amazonka.SQS.ReceiveMessage+import Amazonka.SQS.RemovePermission+import Amazonka.SQS.SendMessage+import Amazonka.SQS.SendMessageBatch+import Amazonka.SQS.SetQueueAttributes+import Amazonka.SQS.TagQueue+import Amazonka.SQS.Types+import Amazonka.SQS.UntagQueue+import Amazonka.SQS.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'SQS'.++-- $operations+-- Some AWS operations return results that are incomplete and require subsequent+-- requests in order to obtain the entire result set. The process of sending+-- subsequent requests to continue where a previous request left off is called+-- pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to+-- 1000 objects at a time, and you must send subsequent requests with the+-- appropriate Marker in order to retrieve the next page of results.+--+-- Operations that have an 'AWSPager' instance can transparently perform subsequent+-- requests, correctly setting Markers and other request facets to iterate through+-- the entire result set of a truncated API operation. Operations which support+-- this have an additional note in the documentation.+--+-- Many operations have the ability to filter results on the server side. See the+-- individual operation parameters for details.++-- $waiters+-- Waiters poll by repeatedly sending a request until some remote success condition+-- configured by the 'Wait' specification is fulfilled. The 'Wait' specification+-- determines how many attempts should be made, in addition to delay and retry strategies.
+ gen/Amazonka/SQS/AddPermission.hs view
@@ -0,0 +1,257 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.AddPermission+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Adds a permission to a queue for a specific+-- <https://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P principal>.+-- This allows sharing access to the queue.+--+-- When you create a queue, you have full control access rights for the+-- queue. Only you, the owner of the queue, can grant or deny permissions+-- to the queue. For more information about these permissions, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-writing-an-sqs-policy.html#write-messages-to-shared-queue Allow Developers to Write Messages to a Shared Queue>+-- in the /Amazon SQS Developer Guide/.+--+-- -   @AddPermission@ generates a policy for you. You can use+--     @ @@SetQueueAttributes@@ @ to upload your policy. For more+--     information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html Using Custom Policies with the Amazon SQS Access Policy Language>+--     in the /Amazon SQS Developer Guide/.+--+-- -   An Amazon SQS policy can have a maximum of 7 actions.+--+-- -   To remove the ability to change queue permissions, you must deny+--     permission to the @AddPermission@, @RemovePermission@, and+--     @SetQueueAttributes@ actions in your IAM policy.+--+-- Some 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:+--+-- @&AttributeName.1=first@+--+-- @&AttributeName.2=second@+--+-- Cross-account permissions don\'t apply to this action. For more+-- information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name Grant cross-account permissions to a role and a user name>+-- in the /Amazon SQS Developer Guide/.+module Amazonka.SQS.AddPermission+  ( -- * Creating a Request+    AddPermission (..),+    newAddPermission,++    -- * Request Lenses+    addPermission_queueUrl,+    addPermission_label,+    addPermission_aWSAccountIds,+    addPermission_actions,++    -- * Destructuring the Response+    AddPermissionResponse (..),+    newAddPermissionResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newAddPermission' smart constructor.+data AddPermission = AddPermission'+  { -- | The URL of the Amazon SQS queue to which permissions are added.+    --+    -- Queue URLs and names are case-sensitive.+    queueUrl :: Prelude.Text,+    -- | The unique identification of the permission you\'re setting (for+    -- example, @AliceSendMessage@). Maximum 80 characters. Allowed characters+    -- include alphanumeric characters, hyphens (@-@), and underscores (@_@).+    label :: Prelude.Text,+    -- | The Amazon Web Services account numbers of the+    -- <https://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P principals>+    -- who are to receive permission. For information about locating the Amazon+    -- Web Services account identification, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#sqs-api-request-authentication Your Amazon Web Services Identifiers>+    -- in the /Amazon SQS Developer Guide/.+    aWSAccountIds :: [Prelude.Text],+    -- | The action the client wants to allow for the specified principal. Valid+    -- values: the name of any action or @*@.+    --+    -- For more information about these actions, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-overview-of-managing-access.html Overview of Managing Access Permissions to Your Amazon Simple Queue Service Resource>+    -- in the /Amazon SQS Developer Guide/.+    --+    -- Specifying @SendMessage@, @DeleteMessage@, or @ChangeMessageVisibility@+    -- for @ActionName.n@ also grants permissions for the corresponding batch+    -- versions of those actions: @SendMessageBatch@, @DeleteMessageBatch@, and+    -- @ChangeMessageVisibilityBatch@.+    actions :: [Prelude.Text]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AddPermission' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueUrl', 'addPermission_queueUrl' - The URL of the Amazon SQS queue to which permissions are added.+--+-- Queue URLs and names are case-sensitive.+--+-- 'label', 'addPermission_label' - The unique identification of the permission you\'re setting (for+-- example, @AliceSendMessage@). Maximum 80 characters. Allowed characters+-- include alphanumeric characters, hyphens (@-@), and underscores (@_@).+--+-- 'aWSAccountIds', 'addPermission_aWSAccountIds' - The Amazon Web Services account numbers of the+-- <https://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P principals>+-- who are to receive permission. For information about locating the Amazon+-- Web Services account identification, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#sqs-api-request-authentication Your Amazon Web Services Identifiers>+-- in the /Amazon SQS Developer Guide/.+--+-- 'actions', 'addPermission_actions' - The action the client wants to allow for the specified principal. Valid+-- values: the name of any action or @*@.+--+-- For more information about these actions, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-overview-of-managing-access.html Overview of Managing Access Permissions to Your Amazon Simple Queue Service Resource>+-- in the /Amazon SQS Developer Guide/.+--+-- Specifying @SendMessage@, @DeleteMessage@, or @ChangeMessageVisibility@+-- for @ActionName.n@ also grants permissions for the corresponding batch+-- versions of those actions: @SendMessageBatch@, @DeleteMessageBatch@, and+-- @ChangeMessageVisibilityBatch@.+newAddPermission ::+  -- | 'queueUrl'+  Prelude.Text ->+  -- | 'label'+  Prelude.Text ->+  AddPermission+newAddPermission pQueueUrl_ pLabel_ =+  AddPermission'+    { queueUrl = pQueueUrl_,+      label = pLabel_,+      aWSAccountIds = Prelude.mempty,+      actions = Prelude.mempty+    }++-- | The URL of the Amazon SQS queue to which permissions are added.+--+-- Queue URLs and names are case-sensitive.+addPermission_queueUrl :: Lens.Lens' AddPermission Prelude.Text+addPermission_queueUrl = Lens.lens (\AddPermission' {queueUrl} -> queueUrl) (\s@AddPermission' {} a -> s {queueUrl = a} :: AddPermission)++-- | The unique identification of the permission you\'re setting (for+-- example, @AliceSendMessage@). Maximum 80 characters. Allowed characters+-- include alphanumeric characters, hyphens (@-@), and underscores (@_@).+addPermission_label :: Lens.Lens' AddPermission Prelude.Text+addPermission_label = Lens.lens (\AddPermission' {label} -> label) (\s@AddPermission' {} a -> s {label = a} :: AddPermission)++-- | The Amazon Web Services account numbers of the+-- <https://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P principals>+-- who are to receive permission. For information about locating the Amazon+-- Web Services account identification, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#sqs-api-request-authentication Your Amazon Web Services Identifiers>+-- in the /Amazon SQS Developer Guide/.+addPermission_aWSAccountIds :: Lens.Lens' AddPermission [Prelude.Text]+addPermission_aWSAccountIds = Lens.lens (\AddPermission' {aWSAccountIds} -> aWSAccountIds) (\s@AddPermission' {} a -> s {aWSAccountIds = a} :: AddPermission) Prelude.. Lens.coerced++-- | The action the client wants to allow for the specified principal. Valid+-- values: the name of any action or @*@.+--+-- For more information about these actions, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-overview-of-managing-access.html Overview of Managing Access Permissions to Your Amazon Simple Queue Service Resource>+-- in the /Amazon SQS Developer Guide/.+--+-- Specifying @SendMessage@, @DeleteMessage@, or @ChangeMessageVisibility@+-- for @ActionName.n@ also grants permissions for the corresponding batch+-- versions of those actions: @SendMessageBatch@, @DeleteMessageBatch@, and+-- @ChangeMessageVisibilityBatch@.+addPermission_actions :: Lens.Lens' AddPermission [Prelude.Text]+addPermission_actions = Lens.lens (\AddPermission' {actions} -> actions) (\s@AddPermission' {} a -> s {actions = a} :: AddPermission) Prelude.. Lens.coerced++instance Core.AWSRequest AddPermission where+  type+    AWSResponse AddPermission =+      AddPermissionResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveNull AddPermissionResponse'++instance Prelude.Hashable AddPermission where+  hashWithSalt _salt AddPermission' {..} =+    _salt+      `Prelude.hashWithSalt` queueUrl+      `Prelude.hashWithSalt` label+      `Prelude.hashWithSalt` aWSAccountIds+      `Prelude.hashWithSalt` actions++instance Prelude.NFData AddPermission where+  rnf AddPermission' {..} =+    Prelude.rnf queueUrl+      `Prelude.seq` Prelude.rnf label+      `Prelude.seq` Prelude.rnf aWSAccountIds+      `Prelude.seq` Prelude.rnf actions++instance Data.ToHeaders AddPermission where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath AddPermission where+  toPath = Prelude.const "/"++instance Data.ToQuery AddPermission where+  toQuery AddPermission' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("AddPermission" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "QueueUrl" Data.=: queueUrl,+        "Label" Data.=: label,+        Data.toQueryList "AWSAccountId" aWSAccountIds,+        Data.toQueryList "ActionName" actions+      ]++-- | /See:/ 'newAddPermissionResponse' smart constructor.+data AddPermissionResponse = AddPermissionResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AddPermissionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newAddPermissionResponse ::+  AddPermissionResponse+newAddPermissionResponse = AddPermissionResponse'++instance Prelude.NFData AddPermissionResponse where+  rnf _ = ()
+ gen/Amazonka/SQS/ChangeMessageVisibility.hs view
@@ -0,0 +1,233 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.ChangeMessageVisibility+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Changes the visibility timeout of a specified message in a queue to a+-- new value. The default visibility timeout for a message is 30 seconds.+-- The minimum is 0 seconds. The maximum is 12 hours. For more information,+-- see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout>+-- in the /Amazon SQS Developer Guide/.+--+-- For example, you have a message with a visibility timeout of 5 minutes.+-- After 3 minutes, you call @ChangeMessageVisibility@ with a timeout of 10+-- minutes. You can continue to call @ChangeMessageVisibility@ to extend+-- the visibility timeout to the maximum allowed time. If you try to extend+-- the visibility timeout beyond the maximum, your request is rejected.+--+-- An Amazon SQS message has three basic states:+--+-- 1.  Sent to a queue by a producer.+--+-- 2.  Received from the queue by a consumer.+--+-- 3.  Deleted from the queue.+--+-- A message is considered to be /stored/ after it is sent to a queue by a+-- producer, but not yet received from the queue by a consumer (that is,+-- between states 1 and 2). There is no limit to the number of stored+-- messages. A message is considered to be /in flight/ after it is received+-- from a queue by a consumer, but not yet deleted from the queue (that is,+-- between states 2 and 3). There is a limit to the number of inflight+-- messages.+--+-- Limits that apply to inflight messages are unrelated to the /unlimited/+-- number of stored messages.+--+-- For most standard queues (depending on queue traffic and message+-- backlog), there can be a maximum of approximately 120,000 inflight+-- messages (received from a queue by a consumer, but not yet deleted from+-- the queue). If you reach this limit, Amazon SQS returns the @OverLimit@+-- error message. To avoid reaching the limit, you should delete messages+-- from the queue after they\'re processed. You can also increase the+-- number of queues you use to process your messages. To request a limit+-- increase,+-- <https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-sqs file a support request>.+--+-- For FIFO queues, there can be a maximum of 20,000 inflight messages+-- (received from a queue by a consumer, but not yet deleted from the+-- queue). If you reach this limit, Amazon SQS returns no error messages.+--+-- If you attempt to set the @VisibilityTimeout@ to a value greater than+-- the maximum time left, Amazon SQS returns an error. Amazon SQS doesn\'t+-- automatically recalculate and increase the timeout to the maximum+-- remaining time.+--+-- Unlike with a queue, when you change the visibility timeout for a+-- specific message the timeout value is applied immediately but isn\'t+-- saved in memory for that message. If you don\'t delete a message after+-- it is received, the visibility timeout for the message reverts to the+-- original timeout value (not to the value you set using the+-- @ChangeMessageVisibility@ action) the next time the message is received.+module Amazonka.SQS.ChangeMessageVisibility+  ( -- * Creating a Request+    ChangeMessageVisibility (..),+    newChangeMessageVisibility,++    -- * Request Lenses+    changeMessageVisibility_queueUrl,+    changeMessageVisibility_receiptHandle,+    changeMessageVisibility_visibilityTimeout,++    -- * Destructuring the Response+    ChangeMessageVisibilityResponse (..),+    newChangeMessageVisibilityResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- | /See:/ 'newChangeMessageVisibility' smart constructor.+data ChangeMessageVisibility = ChangeMessageVisibility'+  { -- | The URL of the Amazon SQS queue whose message\'s visibility is changed.+    --+    -- Queue URLs and names are case-sensitive.+    queueUrl :: Prelude.Text,+    -- | The receipt handle associated with the message whose visibility timeout+    -- is changed. This parameter is returned by the @ @@ReceiveMessage@@ @+    -- action.+    receiptHandle :: Prelude.Text,+    -- | The new value for the message\'s visibility timeout (in seconds). Values+    -- range: @0@ to @43200@. Maximum: 12 hours.+    visibilityTimeout :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ChangeMessageVisibility' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueUrl', 'changeMessageVisibility_queueUrl' - The URL of the Amazon SQS queue whose message\'s visibility is changed.+--+-- Queue URLs and names are case-sensitive.+--+-- 'receiptHandle', 'changeMessageVisibility_receiptHandle' - The receipt handle associated with the message whose visibility timeout+-- is changed. This parameter is returned by the @ @@ReceiveMessage@@ @+-- action.+--+-- 'visibilityTimeout', 'changeMessageVisibility_visibilityTimeout' - The new value for the message\'s visibility timeout (in seconds). Values+-- range: @0@ to @43200@. Maximum: 12 hours.+newChangeMessageVisibility ::+  -- | 'queueUrl'+  Prelude.Text ->+  -- | 'receiptHandle'+  Prelude.Text ->+  -- | 'visibilityTimeout'+  Prelude.Int ->+  ChangeMessageVisibility+newChangeMessageVisibility+  pQueueUrl_+  pReceiptHandle_+  pVisibilityTimeout_ =+    ChangeMessageVisibility'+      { queueUrl = pQueueUrl_,+        receiptHandle = pReceiptHandle_,+        visibilityTimeout = pVisibilityTimeout_+      }++-- | The URL of the Amazon SQS queue whose message\'s visibility is changed.+--+-- Queue URLs and names are case-sensitive.+changeMessageVisibility_queueUrl :: Lens.Lens' ChangeMessageVisibility Prelude.Text+changeMessageVisibility_queueUrl = Lens.lens (\ChangeMessageVisibility' {queueUrl} -> queueUrl) (\s@ChangeMessageVisibility' {} a -> s {queueUrl = a} :: ChangeMessageVisibility)++-- | The receipt handle associated with the message whose visibility timeout+-- is changed. This parameter is returned by the @ @@ReceiveMessage@@ @+-- action.+changeMessageVisibility_receiptHandle :: Lens.Lens' ChangeMessageVisibility Prelude.Text+changeMessageVisibility_receiptHandle = Lens.lens (\ChangeMessageVisibility' {receiptHandle} -> receiptHandle) (\s@ChangeMessageVisibility' {} a -> s {receiptHandle = a} :: ChangeMessageVisibility)++-- | The new value for the message\'s visibility timeout (in seconds). Values+-- range: @0@ to @43200@. Maximum: 12 hours.+changeMessageVisibility_visibilityTimeout :: Lens.Lens' ChangeMessageVisibility Prelude.Int+changeMessageVisibility_visibilityTimeout = Lens.lens (\ChangeMessageVisibility' {visibilityTimeout} -> visibilityTimeout) (\s@ChangeMessageVisibility' {} a -> s {visibilityTimeout = a} :: ChangeMessageVisibility)++instance Core.AWSRequest ChangeMessageVisibility where+  type+    AWSResponse ChangeMessageVisibility =+      ChangeMessageVisibilityResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveNull+      ChangeMessageVisibilityResponse'++instance Prelude.Hashable ChangeMessageVisibility where+  hashWithSalt _salt ChangeMessageVisibility' {..} =+    _salt+      `Prelude.hashWithSalt` queueUrl+      `Prelude.hashWithSalt` receiptHandle+      `Prelude.hashWithSalt` visibilityTimeout++instance Prelude.NFData ChangeMessageVisibility where+  rnf ChangeMessageVisibility' {..} =+    Prelude.rnf queueUrl+      `Prelude.seq` Prelude.rnf receiptHandle+      `Prelude.seq` Prelude.rnf visibilityTimeout++instance Data.ToHeaders ChangeMessageVisibility where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath ChangeMessageVisibility where+  toPath = Prelude.const "/"++instance Data.ToQuery ChangeMessageVisibility where+  toQuery ChangeMessageVisibility' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("ChangeMessageVisibility" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "QueueUrl" Data.=: queueUrl,+        "ReceiptHandle" Data.=: receiptHandle,+        "VisibilityTimeout" Data.=: visibilityTimeout+      ]++-- | /See:/ 'newChangeMessageVisibilityResponse' smart constructor.+data ChangeMessageVisibilityResponse = ChangeMessageVisibilityResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ChangeMessageVisibilityResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newChangeMessageVisibilityResponse ::+  ChangeMessageVisibilityResponse+newChangeMessageVisibilityResponse =+  ChangeMessageVisibilityResponse'++instance+  Prelude.NFData+    ChangeMessageVisibilityResponse+  where+  rnf _ = ()
+ gen/Amazonka/SQS/ChangeMessageVisibilityBatch.hs view
@@ -0,0 +1,231 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.ChangeMessageVisibilityBatch+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Changes the visibility timeout of multiple messages. This is a batch+-- version of @ @@ChangeMessageVisibility@@.@ The result of the action on+-- each message is reported individually in the response. You can send up+-- to 10 @ @@ChangeMessageVisibility@@ @ requests with each+-- @ChangeMessageVisibilityBatch@ action.+--+-- 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@.+--+-- Some 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:+--+-- @&AttributeName.1=first@+--+-- @&AttributeName.2=second@+module Amazonka.SQS.ChangeMessageVisibilityBatch+  ( -- * Creating a Request+    ChangeMessageVisibilityBatch (..),+    newChangeMessageVisibilityBatch,++    -- * Request Lenses+    changeMessageVisibilityBatch_queueUrl,+    changeMessageVisibilityBatch_entries,++    -- * Destructuring the Response+    ChangeMessageVisibilityBatchResponse (..),+    newChangeMessageVisibilityBatchResponse,++    -- * Response Lenses+    changeMessageVisibilityBatchResponse_httpStatus,+    changeMessageVisibilityBatchResponse_successful,+    changeMessageVisibilityBatchResponse_failed,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newChangeMessageVisibilityBatch' smart constructor.+data ChangeMessageVisibilityBatch = ChangeMessageVisibilityBatch'+  { -- | The URL of the Amazon SQS queue whose messages\' visibility is changed.+    --+    -- Queue URLs and names are case-sensitive.+    queueUrl :: Prelude.Text,+    -- | A list of receipt handles of the messages for which the visibility+    -- timeout must be changed.+    entries :: [ChangeMessageVisibilityBatchRequestEntry]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ChangeMessageVisibilityBatch' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueUrl', 'changeMessageVisibilityBatch_queueUrl' - The URL of the Amazon SQS queue whose messages\' visibility is changed.+--+-- Queue URLs and names are case-sensitive.+--+-- 'entries', 'changeMessageVisibilityBatch_entries' - A list of receipt handles of the messages for which the visibility+-- timeout must be changed.+newChangeMessageVisibilityBatch ::+  -- | 'queueUrl'+  Prelude.Text ->+  ChangeMessageVisibilityBatch+newChangeMessageVisibilityBatch pQueueUrl_ =+  ChangeMessageVisibilityBatch'+    { queueUrl =+        pQueueUrl_,+      entries = Prelude.mempty+    }++-- | The URL of the Amazon SQS queue whose messages\' visibility is changed.+--+-- Queue URLs and names are case-sensitive.+changeMessageVisibilityBatch_queueUrl :: Lens.Lens' ChangeMessageVisibilityBatch Prelude.Text+changeMessageVisibilityBatch_queueUrl = Lens.lens (\ChangeMessageVisibilityBatch' {queueUrl} -> queueUrl) (\s@ChangeMessageVisibilityBatch' {} a -> s {queueUrl = a} :: ChangeMessageVisibilityBatch)++-- | A list of receipt handles of the messages for which the visibility+-- timeout must be changed.+changeMessageVisibilityBatch_entries :: Lens.Lens' ChangeMessageVisibilityBatch [ChangeMessageVisibilityBatchRequestEntry]+changeMessageVisibilityBatch_entries = Lens.lens (\ChangeMessageVisibilityBatch' {entries} -> entries) (\s@ChangeMessageVisibilityBatch' {} a -> s {entries = a} :: ChangeMessageVisibilityBatch) Prelude.. Lens.coerced++instance Core.AWSRequest ChangeMessageVisibilityBatch where+  type+    AWSResponse ChangeMessageVisibilityBatch =+      ChangeMessageVisibilityBatchResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveXMLWrapper+      "ChangeMessageVisibilityBatchResult"+      ( \s h x ->+          ChangeMessageVisibilityBatchResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+            Prelude.<*> ( Data.parseXMLList+                            "ChangeMessageVisibilityBatchResultEntry"+                            x+                        )+            Prelude.<*> (Data.parseXMLList "BatchResultErrorEntry" x)+      )++instance+  Prelude.Hashable+    ChangeMessageVisibilityBatch+  where+  hashWithSalt _salt ChangeMessageVisibilityBatch' {..} =+    _salt+      `Prelude.hashWithSalt` queueUrl+      `Prelude.hashWithSalt` entries++instance Prelude.NFData ChangeMessageVisibilityBatch where+  rnf ChangeMessageVisibilityBatch' {..} =+    Prelude.rnf queueUrl+      `Prelude.seq` Prelude.rnf entries++instance Data.ToHeaders ChangeMessageVisibilityBatch where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath ChangeMessageVisibilityBatch where+  toPath = Prelude.const "/"++instance Data.ToQuery ChangeMessageVisibilityBatch where+  toQuery ChangeMessageVisibilityBatch' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ( "ChangeMessageVisibilityBatch" ::+                      Prelude.ByteString+                  ),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "QueueUrl" Data.=: queueUrl,+        Data.toQueryList+          "ChangeMessageVisibilityBatchRequestEntry"+          entries+      ]++-- | For each message in the batch, the response contains a+-- @ @@ChangeMessageVisibilityBatchResultEntry@@ @ tag if the message+-- succeeds or a @ @@BatchResultErrorEntry@@ @ tag if the message fails.+--+-- /See:/ 'newChangeMessageVisibilityBatchResponse' smart constructor.+data ChangeMessageVisibilityBatchResponse = ChangeMessageVisibilityBatchResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int,+    -- | A list of @ @@ChangeMessageVisibilityBatchResultEntry@@ @ items.+    successful :: [ChangeMessageVisibilityBatchResultEntry],+    -- | A list of @ @@BatchResultErrorEntry@@ @ items.+    failed :: [BatchResultErrorEntry]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ChangeMessageVisibilityBatchResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'changeMessageVisibilityBatchResponse_httpStatus' - The response's http status code.+--+-- 'successful', 'changeMessageVisibilityBatchResponse_successful' - A list of @ @@ChangeMessageVisibilityBatchResultEntry@@ @ items.+--+-- 'failed', 'changeMessageVisibilityBatchResponse_failed' - A list of @ @@BatchResultErrorEntry@@ @ items.+newChangeMessageVisibilityBatchResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ChangeMessageVisibilityBatchResponse+newChangeMessageVisibilityBatchResponse pHttpStatus_ =+  ChangeMessageVisibilityBatchResponse'+    { httpStatus =+        pHttpStatus_,+      successful = Prelude.mempty,+      failed = Prelude.mempty+    }++-- | The response's http status code.+changeMessageVisibilityBatchResponse_httpStatus :: Lens.Lens' ChangeMessageVisibilityBatchResponse Prelude.Int+changeMessageVisibilityBatchResponse_httpStatus = Lens.lens (\ChangeMessageVisibilityBatchResponse' {httpStatus} -> httpStatus) (\s@ChangeMessageVisibilityBatchResponse' {} a -> s {httpStatus = a} :: ChangeMessageVisibilityBatchResponse)++-- | A list of @ @@ChangeMessageVisibilityBatchResultEntry@@ @ items.+changeMessageVisibilityBatchResponse_successful :: Lens.Lens' ChangeMessageVisibilityBatchResponse [ChangeMessageVisibilityBatchResultEntry]+changeMessageVisibilityBatchResponse_successful = Lens.lens (\ChangeMessageVisibilityBatchResponse' {successful} -> successful) (\s@ChangeMessageVisibilityBatchResponse' {} a -> s {successful = a} :: ChangeMessageVisibilityBatchResponse) Prelude.. Lens.coerced++-- | A list of @ @@BatchResultErrorEntry@@ @ items.+changeMessageVisibilityBatchResponse_failed :: Lens.Lens' ChangeMessageVisibilityBatchResponse [BatchResultErrorEntry]+changeMessageVisibilityBatchResponse_failed = Lens.lens (\ChangeMessageVisibilityBatchResponse' {failed} -> failed) (\s@ChangeMessageVisibilityBatchResponse' {} a -> s {failed = a} :: ChangeMessageVisibilityBatchResponse) Prelude.. Lens.coerced++instance+  Prelude.NFData+    ChangeMessageVisibilityBatchResponse+  where+  rnf ChangeMessageVisibilityBatchResponse' {..} =+    Prelude.rnf httpStatus+      `Prelude.seq` Prelude.rnf successful+      `Prelude.seq` Prelude.rnf failed
+ gen/Amazonka/SQS/CreateQueue.hs view
@@ -0,0 +1,823 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.CreateQueue+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new standard or FIFO queue. You can pass one or more+-- attributes in the request. Keep the following in mind:+--+-- -   If you don\'t specify the @FifoQueue@ attribute, Amazon SQS creates+--     a standard queue.+--+--     You can\'t change the queue type after you create it and you can\'t+--     convert an existing standard queue into a FIFO queue. You must+--     either create a new FIFO queue for your application or delete your+--     existing standard queue and recreate it as a FIFO queue. For more+--     information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-moving Moving From a Standard Queue to a FIFO Queue>+--     in the /Amazon SQS Developer Guide/.+--+-- -   If you don\'t provide a value for an attribute, the queue is created+--     with the default value for the attribute.+--+-- -   If you delete a queue, you must wait at least 60 seconds before+--     creating a queue with the same name.+--+-- To successfully create a new queue, you must provide a queue name that+-- adheres to the+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html limits related to queues>+-- and is unique within the scope of your queues.+--+-- After you create a queue, you must wait at least one second after the+-- queue is created to be able to use the queue.+--+-- To get the queue URL, use the @ @@GetQueueUrl@@ @ action.+-- @ @@GetQueueUrl@@ @ requires only the @QueueName@ parameter. be aware of+-- existing queue names:+--+-- -   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 don\'t match+--     an existing queue, @CreateQueue@ returns an error.+--+-- Some 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:+--+-- @&AttributeName.1=first@+--+-- @&AttributeName.2=second@+--+-- Cross-account permissions don\'t apply to this action. For more+-- information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name Grant cross-account permissions to a role and a user name>+-- in the /Amazon SQS Developer Guide/.+module Amazonka.SQS.CreateQueue+  ( -- * Creating a Request+    CreateQueue (..),+    newCreateQueue,++    -- * Request Lenses+    createQueue_attributes,+    createQueue_tags,+    createQueue_queueName,++    -- * Destructuring the Response+    CreateQueueResponse (..),+    newCreateQueueResponse,++    -- * Response Lenses+    createQueueResponse_queueUrl,+    createQueueResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newCreateQueue' smart constructor.+data CreateQueue = CreateQueue'+  { -- | A map of attributes with their corresponding values.+    --+    -- The following lists the names, descriptions, and values of the special+    -- request parameters that the @CreateQueue@ action uses:+    --+    -- -   @DelaySeconds@ – The length of time, in seconds, for which the+    --     delivery of all messages in the queue is delayed. Valid values: An+    --     integer from 0 to 900 seconds (15 minutes). Default: 0.+    --+    -- -   @MaximumMessageSize@ – The limit of how many bytes a message can+    --     contain before Amazon SQS rejects it. Valid values: An integer from+    --     1,024 bytes (1 KiB) to 262,144 bytes (256 KiB). Default: 262,144+    --     (256 KiB).+    --+    -- -   @MessageRetentionPeriod@ – The length of time, in seconds, for which+    --     Amazon SQS retains a message. Valid values: An integer from 60+    --     seconds (1 minute) to 1,209,600 seconds (14 days). Default: 345,600+    --     (4 days).+    --+    -- -   @Policy@ – The queue\'s policy. A valid Amazon Web Services policy.+    --     For more information about policy structure, see+    --     <https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html Overview of Amazon Web Services IAM Policies>+    --     in the /Amazon IAM User Guide/.+    --+    -- -   @ReceiveMessageWaitTimeSeconds@ – The length of time, in seconds,+    --     for which a @ @@ReceiveMessage@@ @ action waits for a message to+    --     arrive. Valid values: An integer from 0 to 20 (seconds). Default: 0.+    --+    -- -   @RedrivePolicy@ – The string that includes the parameters for the+    --     dead-letter queue functionality of the source queue as a JSON+    --     object. For more information about the redrive policy and+    --     dead-letter queues, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues>+    --     in the /Amazon SQS Developer Guide/.+    --+    --     -   @deadLetterTargetArn@ – The Amazon Resource Name (ARN) of the+    --         dead-letter queue to which Amazon SQS moves messages after the+    --         value of @maxReceiveCount@ is exceeded.+    --+    --     -   @maxReceiveCount@ – The number of times a message is delivered+    --         to the source queue before being moved to the dead-letter queue.+    --         When the @ReceiveCount@ for a message exceeds the+    --         @maxReceiveCount@ for a queue, Amazon SQS moves the message to+    --         the dead-letter-queue.+    --+    --     The dead-letter queue of a FIFO queue must also be a FIFO queue.+    --     Similarly, the dead-letter queue of a standard queue must also be a+    --     standard queue.+    --+    -- -   @VisibilityTimeout@ – The visibility timeout for the queue, in+    --     seconds. Valid values: An integer from 0 to 43,200 (12 hours).+    --     Default: 30. For more information about the visibility timeout, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout>+    --     in the /Amazon SQS Developer Guide/.+    --+    -- The following attributes apply only to+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption>:+    --+    -- -   @KmsMasterKeyId@ – The ID of an Amazon Web Services managed customer+    --     master key (CMK) for Amazon SQS or a custom CMK. For more+    --     information, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms>.+    --     While the alias of the Amazon Web Services managed CMK for Amazon+    --     SQS is always @alias\/aws\/sqs@, the alias of a custom CMK can, for+    --     example, be @alias\/@/@MyAlias@/@ @. For more examples, see+    --     <https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters KeyId>+    --     in the /Key Management Service API Reference/.+    --+    -- -   @KmsDataKeyReusePeriodSeconds@ – The length of time, in seconds, for+    --     which Amazon SQS can reuse a+    --     <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys data key>+    --     to encrypt or decrypt messages before calling KMS again. An integer+    --     representing seconds, between 60 seconds (1 minute) and 86,400+    --     seconds (24 hours). Default: 300 (5 minutes). A shorter time period+    --     provides better security but results in more calls to KMS which+    --     might incur charges after Free Tier. For more information, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?>.+    --+    -- -   @SqsManagedSseEnabled@ – Enables server-side queue encryption using+    --     SQS owned encryption keys. Only one server-side encryption option is+    --     supported per queue (e.g.+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html SSE-KMS>+    --     or+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html SSE-SQS>).+    --+    -- The following attributes apply only to+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues>:+    --+    -- -   @FifoQueue@ – Designates a queue as FIFO. Valid values are @true@+    --     and @false@. If you don\'t specify the @FifoQueue@ attribute, Amazon+    --     SQS creates a standard queue. You can provide this attribute only+    --     during queue creation. You can\'t change it for an existing queue.+    --     When you set this attribute, you must also provide the+    --     @MessageGroupId@ for your messages explicitly.+    --+    --     For more information, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html FIFO queue logic>+    --     in the /Amazon SQS Developer Guide/.+    --+    -- -   @ContentBasedDeduplication@ – Enables content-based deduplication.+    --     Valid values are @true@ and @false@. For more information, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+    --     in the /Amazon SQS Developer Guide/. Note the following:+    --+    --     -   Every message must have a unique @MessageDeduplicationId@.+    --+    --         -   You may provide a @MessageDeduplicationId@ explicitly.+    --+    --         -   If you aren\'t able to provide a @MessageDeduplicationId@+    --             and you enable @ContentBasedDeduplication@ for your queue,+    --             Amazon SQS uses a SHA-256 hash to generate the+    --             @MessageDeduplicationId@ using the body of the message (but+    --             not the attributes of the message).+    --+    --         -   If you don\'t provide a @MessageDeduplicationId@ and the+    --             queue doesn\'t have @ContentBasedDeduplication@ set, the+    --             action fails with an error.+    --+    --         -   If the queue has @ContentBasedDeduplication@ set, your+    --             @MessageDeduplicationId@ overrides the generated one.+    --+    --     -   When @ContentBasedDeduplication@ is in effect, messages with+    --         identical content sent within the deduplication interval are+    --         treated as duplicates and only one copy of the message is+    --         delivered.+    --+    --     -   If you send one message with @ContentBasedDeduplication@ enabled+    --         and then another message with a @MessageDeduplicationId@ that is+    --         the same as the one generated for the first+    --         @MessageDeduplicationId@, the two messages are treated as+    --         duplicates and only one copy of the message is delivered.+    --+    -- The following attributes apply only to+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html high throughput for FIFO queues>:+    --+    -- -   @DeduplicationScope@ – Specifies whether message deduplication+    --     occurs at the message group or queue level. Valid values are+    --     @messageGroup@ and @queue@.+    --+    -- -   @FifoThroughputLimit@ – Specifies whether the FIFO queue throughput+    --     quota applies to the entire queue or per message group. Valid values+    --     are @perQueue@ and @perMessageGroupId@. The @perMessageGroupId@+    --     value is allowed only when the value for @DeduplicationScope@ is+    --     @messageGroup@.+    --+    -- To enable high throughput for FIFO queues, do the following:+    --+    -- -   Set @DeduplicationScope@ to @messageGroup@.+    --+    -- -   Set @FifoThroughputLimit@ to @perMessageGroupId@.+    --+    -- If you set these attributes to anything other than the values shown for+    -- enabling high throughput, normal throughput is in effect and+    -- deduplication occurs as specified.+    --+    -- For information on throughput quotas, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html Quotas related to messages>+    -- in the /Amazon SQS Developer Guide/.+    attributes :: Prelude.Maybe (Prelude.HashMap QueueAttributeName Prelude.Text),+    -- | Add cost allocation tags to the specified Amazon SQS queue. For an+    -- overview, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html Tagging Your Amazon SQS Queues>+    -- in the /Amazon SQS Developer Guide/.+    --+    -- When you use queue tags, keep the following guidelines in mind:+    --+    -- -   Adding more than 50 tags to a queue isn\'t recommended.+    --+    -- -   Tags don\'t have any semantic meaning. Amazon SQS interprets tags as+    --     character strings.+    --+    -- -   Tags are case-sensitive.+    --+    -- -   A new tag with a key identical to that of an existing tag overwrites+    --     the existing tag.+    --+    -- For a full list of tag restrictions, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues Quotas related to queues>+    -- in the /Amazon SQS Developer Guide/.+    --+    -- To be able to tag a queue on creation, you must have the+    -- @sqs:CreateQueue@ and @sqs:TagQueue@ permissions.+    --+    -- Cross-account permissions don\'t apply to this action. For more+    -- information, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name Grant cross-account permissions to a role and a user name>+    -- in the /Amazon SQS Developer Guide/.+    tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+    -- | The name of the new queue. The following limits apply to this name:+    --+    -- -   A queue name can have up to 80 characters.+    --+    -- -   Valid values: alphanumeric characters, hyphens (@-@), and+    --     underscores (@_@).+    --+    -- -   A FIFO queue name must end with the @.fifo@ suffix.+    --+    -- Queue URLs and names are case-sensitive.+    queueName :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateQueue' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'attributes', 'createQueue_attributes' - A map of attributes with their corresponding values.+--+-- The following lists the names, descriptions, and values of the special+-- request parameters that the @CreateQueue@ action uses:+--+-- -   @DelaySeconds@ – The length of time, in seconds, for which the+--     delivery of all messages in the queue is delayed. Valid values: An+--     integer from 0 to 900 seconds (15 minutes). Default: 0.+--+-- -   @MaximumMessageSize@ – The limit of how many bytes a message can+--     contain before Amazon SQS rejects it. Valid values: An integer from+--     1,024 bytes (1 KiB) to 262,144 bytes (256 KiB). Default: 262,144+--     (256 KiB).+--+-- -   @MessageRetentionPeriod@ – The length of time, in seconds, for which+--     Amazon SQS retains a message. Valid values: An integer from 60+--     seconds (1 minute) to 1,209,600 seconds (14 days). Default: 345,600+--     (4 days).+--+-- -   @Policy@ – The queue\'s policy. A valid Amazon Web Services policy.+--     For more information about policy structure, see+--     <https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html Overview of Amazon Web Services IAM Policies>+--     in the /Amazon IAM User Guide/.+--+-- -   @ReceiveMessageWaitTimeSeconds@ – The length of time, in seconds,+--     for which a @ @@ReceiveMessage@@ @ action waits for a message to+--     arrive. Valid values: An integer from 0 to 20 (seconds). Default: 0.+--+-- -   @RedrivePolicy@ – The string that includes the parameters for the+--     dead-letter queue functionality of the source queue as a JSON+--     object. For more information about the redrive policy and+--     dead-letter queues, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues>+--     in the /Amazon SQS Developer Guide/.+--+--     -   @deadLetterTargetArn@ – The Amazon Resource Name (ARN) of the+--         dead-letter queue to which Amazon SQS moves messages after the+--         value of @maxReceiveCount@ is exceeded.+--+--     -   @maxReceiveCount@ – The number of times a message is delivered+--         to the source queue before being moved to the dead-letter queue.+--         When the @ReceiveCount@ for a message exceeds the+--         @maxReceiveCount@ for a queue, Amazon SQS moves the message to+--         the dead-letter-queue.+--+--     The dead-letter queue of a FIFO queue must also be a FIFO queue.+--     Similarly, the dead-letter queue of a standard queue must also be a+--     standard queue.+--+-- -   @VisibilityTimeout@ – The visibility timeout for the queue, in+--     seconds. Valid values: An integer from 0 to 43,200 (12 hours).+--     Default: 30. For more information about the visibility timeout, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout>+--     in the /Amazon SQS Developer Guide/.+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption>:+--+-- -   @KmsMasterKeyId@ – The ID of an Amazon Web Services managed customer+--     master key (CMK) for Amazon SQS or a custom CMK. For more+--     information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms>.+--     While the alias of the Amazon Web Services managed CMK for Amazon+--     SQS is always @alias\/aws\/sqs@, the alias of a custom CMK can, for+--     example, be @alias\/@/@MyAlias@/@ @. For more examples, see+--     <https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters KeyId>+--     in the /Key Management Service API Reference/.+--+-- -   @KmsDataKeyReusePeriodSeconds@ – The length of time, in seconds, for+--     which Amazon SQS can reuse a+--     <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys data key>+--     to encrypt or decrypt messages before calling KMS again. An integer+--     representing seconds, between 60 seconds (1 minute) and 86,400+--     seconds (24 hours). Default: 300 (5 minutes). A shorter time period+--     provides better security but results in more calls to KMS which+--     might incur charges after Free Tier. For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?>.+--+-- -   @SqsManagedSseEnabled@ – Enables server-side queue encryption using+--     SQS owned encryption keys. Only one server-side encryption option is+--     supported per queue (e.g.+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html SSE-KMS>+--     or+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html SSE-SQS>).+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues>:+--+-- -   @FifoQueue@ – Designates a queue as FIFO. Valid values are @true@+--     and @false@. If you don\'t specify the @FifoQueue@ attribute, Amazon+--     SQS creates a standard queue. You can provide this attribute only+--     during queue creation. You can\'t change it for an existing queue.+--     When you set this attribute, you must also provide the+--     @MessageGroupId@ for your messages explicitly.+--+--     For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html FIFO queue logic>+--     in the /Amazon SQS Developer Guide/.+--+-- -   @ContentBasedDeduplication@ – Enables content-based deduplication.+--     Valid values are @true@ and @false@. For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+--     in the /Amazon SQS Developer Guide/. Note the following:+--+--     -   Every message must have a unique @MessageDeduplicationId@.+--+--         -   You may provide a @MessageDeduplicationId@ explicitly.+--+--         -   If you aren\'t able to provide a @MessageDeduplicationId@+--             and you enable @ContentBasedDeduplication@ for your queue,+--             Amazon SQS uses a SHA-256 hash to generate the+--             @MessageDeduplicationId@ using the body of the message (but+--             not the attributes of the message).+--+--         -   If you don\'t provide a @MessageDeduplicationId@ and the+--             queue doesn\'t have @ContentBasedDeduplication@ set, the+--             action fails with an error.+--+--         -   If the queue has @ContentBasedDeduplication@ set, your+--             @MessageDeduplicationId@ overrides the generated one.+--+--     -   When @ContentBasedDeduplication@ is in effect, messages with+--         identical content sent within the deduplication interval are+--         treated as duplicates and only one copy of the message is+--         delivered.+--+--     -   If you send one message with @ContentBasedDeduplication@ enabled+--         and then another message with a @MessageDeduplicationId@ that is+--         the same as the one generated for the first+--         @MessageDeduplicationId@, the two messages are treated as+--         duplicates and only one copy of the message is delivered.+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html high throughput for FIFO queues>:+--+-- -   @DeduplicationScope@ – Specifies whether message deduplication+--     occurs at the message group or queue level. Valid values are+--     @messageGroup@ and @queue@.+--+-- -   @FifoThroughputLimit@ – Specifies whether the FIFO queue throughput+--     quota applies to the entire queue or per message group. Valid values+--     are @perQueue@ and @perMessageGroupId@. The @perMessageGroupId@+--     value is allowed only when the value for @DeduplicationScope@ is+--     @messageGroup@.+--+-- To enable high throughput for FIFO queues, do the following:+--+-- -   Set @DeduplicationScope@ to @messageGroup@.+--+-- -   Set @FifoThroughputLimit@ to @perMessageGroupId@.+--+-- If you set these attributes to anything other than the values shown for+-- enabling high throughput, normal throughput is in effect and+-- deduplication occurs as specified.+--+-- For information on throughput quotas, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html Quotas related to messages>+-- in the /Amazon SQS Developer Guide/.+--+-- 'tags', 'createQueue_tags' - Add cost allocation tags to the specified Amazon SQS queue. For an+-- overview, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html Tagging Your Amazon SQS Queues>+-- in the /Amazon SQS Developer Guide/.+--+-- When you use queue tags, keep the following guidelines in mind:+--+-- -   Adding more than 50 tags to a queue isn\'t recommended.+--+-- -   Tags don\'t have any semantic meaning. Amazon SQS interprets tags as+--     character strings.+--+-- -   Tags are case-sensitive.+--+-- -   A new tag with a key identical to that of an existing tag overwrites+--     the existing tag.+--+-- For a full list of tag restrictions, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues Quotas related to queues>+-- in the /Amazon SQS Developer Guide/.+--+-- To be able to tag a queue on creation, you must have the+-- @sqs:CreateQueue@ and @sqs:TagQueue@ permissions.+--+-- Cross-account permissions don\'t apply to this action. For more+-- information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name Grant cross-account permissions to a role and a user name>+-- in the /Amazon SQS Developer Guide/.+--+-- 'queueName', 'createQueue_queueName' - The name of the new queue. The following limits apply to this name:+--+-- -   A queue name can have up to 80 characters.+--+-- -   Valid values: alphanumeric characters, hyphens (@-@), and+--     underscores (@_@).+--+-- -   A FIFO queue name must end with the @.fifo@ suffix.+--+-- Queue URLs and names are case-sensitive.+newCreateQueue ::+  -- | 'queueName'+  Prelude.Text ->+  CreateQueue+newCreateQueue pQueueName_ =+  CreateQueue'+    { attributes = Prelude.Nothing,+      tags = Prelude.Nothing,+      queueName = pQueueName_+    }++-- | A map of attributes with their corresponding values.+--+-- The following lists the names, descriptions, and values of the special+-- request parameters that the @CreateQueue@ action uses:+--+-- -   @DelaySeconds@ – The length of time, in seconds, for which the+--     delivery of all messages in the queue is delayed. Valid values: An+--     integer from 0 to 900 seconds (15 minutes). Default: 0.+--+-- -   @MaximumMessageSize@ – The limit of how many bytes a message can+--     contain before Amazon SQS rejects it. Valid values: An integer from+--     1,024 bytes (1 KiB) to 262,144 bytes (256 KiB). Default: 262,144+--     (256 KiB).+--+-- -   @MessageRetentionPeriod@ – The length of time, in seconds, for which+--     Amazon SQS retains a message. Valid values: An integer from 60+--     seconds (1 minute) to 1,209,600 seconds (14 days). Default: 345,600+--     (4 days).+--+-- -   @Policy@ – The queue\'s policy. A valid Amazon Web Services policy.+--     For more information about policy structure, see+--     <https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html Overview of Amazon Web Services IAM Policies>+--     in the /Amazon IAM User Guide/.+--+-- -   @ReceiveMessageWaitTimeSeconds@ – The length of time, in seconds,+--     for which a @ @@ReceiveMessage@@ @ action waits for a message to+--     arrive. Valid values: An integer from 0 to 20 (seconds). Default: 0.+--+-- -   @RedrivePolicy@ – The string that includes the parameters for the+--     dead-letter queue functionality of the source queue as a JSON+--     object. For more information about the redrive policy and+--     dead-letter queues, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues>+--     in the /Amazon SQS Developer Guide/.+--+--     -   @deadLetterTargetArn@ – The Amazon Resource Name (ARN) of the+--         dead-letter queue to which Amazon SQS moves messages after the+--         value of @maxReceiveCount@ is exceeded.+--+--     -   @maxReceiveCount@ – The number of times a message is delivered+--         to the source queue before being moved to the dead-letter queue.+--         When the @ReceiveCount@ for a message exceeds the+--         @maxReceiveCount@ for a queue, Amazon SQS moves the message to+--         the dead-letter-queue.+--+--     The dead-letter queue of a FIFO queue must also be a FIFO queue.+--     Similarly, the dead-letter queue of a standard queue must also be a+--     standard queue.+--+-- -   @VisibilityTimeout@ – The visibility timeout for the queue, in+--     seconds. Valid values: An integer from 0 to 43,200 (12 hours).+--     Default: 30. For more information about the visibility timeout, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout>+--     in the /Amazon SQS Developer Guide/.+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption>:+--+-- -   @KmsMasterKeyId@ – The ID of an Amazon Web Services managed customer+--     master key (CMK) for Amazon SQS or a custom CMK. For more+--     information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms>.+--     While the alias of the Amazon Web Services managed CMK for Amazon+--     SQS is always @alias\/aws\/sqs@, the alias of a custom CMK can, for+--     example, be @alias\/@/@MyAlias@/@ @. For more examples, see+--     <https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters KeyId>+--     in the /Key Management Service API Reference/.+--+-- -   @KmsDataKeyReusePeriodSeconds@ – The length of time, in seconds, for+--     which Amazon SQS can reuse a+--     <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys data key>+--     to encrypt or decrypt messages before calling KMS again. An integer+--     representing seconds, between 60 seconds (1 minute) and 86,400+--     seconds (24 hours). Default: 300 (5 minutes). A shorter time period+--     provides better security but results in more calls to KMS which+--     might incur charges after Free Tier. For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?>.+--+-- -   @SqsManagedSseEnabled@ – Enables server-side queue encryption using+--     SQS owned encryption keys. Only one server-side encryption option is+--     supported per queue (e.g.+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html SSE-KMS>+--     or+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html SSE-SQS>).+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues>:+--+-- -   @FifoQueue@ – Designates a queue as FIFO. Valid values are @true@+--     and @false@. If you don\'t specify the @FifoQueue@ attribute, Amazon+--     SQS creates a standard queue. You can provide this attribute only+--     during queue creation. You can\'t change it for an existing queue.+--     When you set this attribute, you must also provide the+--     @MessageGroupId@ for your messages explicitly.+--+--     For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html FIFO queue logic>+--     in the /Amazon SQS Developer Guide/.+--+-- -   @ContentBasedDeduplication@ – Enables content-based deduplication.+--     Valid values are @true@ and @false@. For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+--     in the /Amazon SQS Developer Guide/. Note the following:+--+--     -   Every message must have a unique @MessageDeduplicationId@.+--+--         -   You may provide a @MessageDeduplicationId@ explicitly.+--+--         -   If you aren\'t able to provide a @MessageDeduplicationId@+--             and you enable @ContentBasedDeduplication@ for your queue,+--             Amazon SQS uses a SHA-256 hash to generate the+--             @MessageDeduplicationId@ using the body of the message (but+--             not the attributes of the message).+--+--         -   If you don\'t provide a @MessageDeduplicationId@ and the+--             queue doesn\'t have @ContentBasedDeduplication@ set, the+--             action fails with an error.+--+--         -   If the queue has @ContentBasedDeduplication@ set, your+--             @MessageDeduplicationId@ overrides the generated one.+--+--     -   When @ContentBasedDeduplication@ is in effect, messages with+--         identical content sent within the deduplication interval are+--         treated as duplicates and only one copy of the message is+--         delivered.+--+--     -   If you send one message with @ContentBasedDeduplication@ enabled+--         and then another message with a @MessageDeduplicationId@ that is+--         the same as the one generated for the first+--         @MessageDeduplicationId@, the two messages are treated as+--         duplicates and only one copy of the message is delivered.+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html high throughput for FIFO queues>:+--+-- -   @DeduplicationScope@ – Specifies whether message deduplication+--     occurs at the message group or queue level. Valid values are+--     @messageGroup@ and @queue@.+--+-- -   @FifoThroughputLimit@ – Specifies whether the FIFO queue throughput+--     quota applies to the entire queue or per message group. Valid values+--     are @perQueue@ and @perMessageGroupId@. The @perMessageGroupId@+--     value is allowed only when the value for @DeduplicationScope@ is+--     @messageGroup@.+--+-- To enable high throughput for FIFO queues, do the following:+--+-- -   Set @DeduplicationScope@ to @messageGroup@.+--+-- -   Set @FifoThroughputLimit@ to @perMessageGroupId@.+--+-- If you set these attributes to anything other than the values shown for+-- enabling high throughput, normal throughput is in effect and+-- deduplication occurs as specified.+--+-- For information on throughput quotas, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html Quotas related to messages>+-- in the /Amazon SQS Developer Guide/.+createQueue_attributes :: Lens.Lens' CreateQueue (Prelude.Maybe (Prelude.HashMap QueueAttributeName Prelude.Text))+createQueue_attributes = Lens.lens (\CreateQueue' {attributes} -> attributes) (\s@CreateQueue' {} a -> s {attributes = a} :: CreateQueue) Prelude.. Lens.mapping Lens.coerced++-- | Add cost allocation tags to the specified Amazon SQS queue. For an+-- overview, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html Tagging Your Amazon SQS Queues>+-- in the /Amazon SQS Developer Guide/.+--+-- When you use queue tags, keep the following guidelines in mind:+--+-- -   Adding more than 50 tags to a queue isn\'t recommended.+--+-- -   Tags don\'t have any semantic meaning. Amazon SQS interprets tags as+--     character strings.+--+-- -   Tags are case-sensitive.+--+-- -   A new tag with a key identical to that of an existing tag overwrites+--     the existing tag.+--+-- For a full list of tag restrictions, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues Quotas related to queues>+-- in the /Amazon SQS Developer Guide/.+--+-- To be able to tag a queue on creation, you must have the+-- @sqs:CreateQueue@ and @sqs:TagQueue@ permissions.+--+-- Cross-account permissions don\'t apply to this action. For more+-- information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name Grant cross-account permissions to a role and a user name>+-- in the /Amazon SQS Developer Guide/.+createQueue_tags :: Lens.Lens' CreateQueue (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+createQueue_tags = Lens.lens (\CreateQueue' {tags} -> tags) (\s@CreateQueue' {} a -> s {tags = a} :: CreateQueue) Prelude.. Lens.mapping Lens.coerced++-- | The name of the new queue. The following limits apply to this name:+--+-- -   A queue name can have up to 80 characters.+--+-- -   Valid values: alphanumeric characters, hyphens (@-@), and+--     underscores (@_@).+--+-- -   A FIFO queue name must end with the @.fifo@ suffix.+--+-- Queue URLs and names are case-sensitive.+createQueue_queueName :: Lens.Lens' CreateQueue Prelude.Text+createQueue_queueName = Lens.lens (\CreateQueue' {queueName} -> queueName) (\s@CreateQueue' {} a -> s {queueName = a} :: CreateQueue)++instance Core.AWSRequest CreateQueue where+  type AWSResponse CreateQueue = CreateQueueResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveXMLWrapper+      "CreateQueueResult"+      ( \s h x ->+          CreateQueueResponse'+            Prelude.<$> (x Data..@? "QueueUrl")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable CreateQueue where+  hashWithSalt _salt CreateQueue' {..} =+    _salt+      `Prelude.hashWithSalt` attributes+      `Prelude.hashWithSalt` tags+      `Prelude.hashWithSalt` queueName++instance Prelude.NFData CreateQueue where+  rnf CreateQueue' {..} =+    Prelude.rnf attributes+      `Prelude.seq` Prelude.rnf tags+      `Prelude.seq` Prelude.rnf queueName++instance Data.ToHeaders CreateQueue where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath CreateQueue where+  toPath = Prelude.const "/"++instance Data.ToQuery CreateQueue where+  toQuery CreateQueue' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("CreateQueue" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        Data.toQuery+          ( Data.toQueryMap "Attribute" "Name" "Value"+              Prelude.<$> attributes+          ),+        Data.toQuery+          ( Data.toQueryMap "Tag" "Key" "Value"+              Prelude.<$> tags+          ),+        "QueueName" Data.=: queueName+      ]++-- | Returns the @QueueUrl@ attribute of the created queue.+--+-- /See:/ 'newCreateQueueResponse' smart constructor.+data CreateQueueResponse = CreateQueueResponse'+  { -- | The URL of the created Amazon SQS queue.+    queueUrl :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateQueueResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueUrl', 'createQueueResponse_queueUrl' - The URL of the created Amazon SQS queue.+--+-- 'httpStatus', 'createQueueResponse_httpStatus' - The response's http status code.+newCreateQueueResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  CreateQueueResponse+newCreateQueueResponse pHttpStatus_ =+  CreateQueueResponse'+    { queueUrl = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The URL of the created Amazon SQS queue.+createQueueResponse_queueUrl :: Lens.Lens' CreateQueueResponse (Prelude.Maybe Prelude.Text)+createQueueResponse_queueUrl = Lens.lens (\CreateQueueResponse' {queueUrl} -> queueUrl) (\s@CreateQueueResponse' {} a -> s {queueUrl = a} :: CreateQueueResponse)++-- | The response's http status code.+createQueueResponse_httpStatus :: Lens.Lens' CreateQueueResponse Prelude.Int+createQueueResponse_httpStatus = Lens.lens (\CreateQueueResponse' {httpStatus} -> httpStatus) (\s@CreateQueueResponse' {} a -> s {httpStatus = a} :: CreateQueueResponse)++instance Prelude.NFData CreateQueueResponse where+  rnf CreateQueueResponse' {..} =+    Prelude.rnf queueUrl+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/SQS/DeleteMessage.hs view
@@ -0,0 +1,168 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.DeleteMessage+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified message from the specified queue. To select the+-- message to delete, use the @ReceiptHandle@ of the message (/not/ the+-- @MessageId@ which you receive when you send the message). Amazon SQS can+-- delete a message from a queue even if a visibility timeout setting+-- causes the message to be locked by another consumer. Amazon SQS+-- automatically deletes messages left in a queue longer than the retention+-- period configured for the queue.+--+-- The @ReceiptHandle@ is associated with a /specific instance/ of+-- receiving a message. If you receive a message more than once, the+-- @ReceiptHandle@ is different each time you receive a message. When you+-- use the @DeleteMessage@ action, you must provide the most recently+-- received @ReceiptHandle@ for the message (otherwise, the request+-- succeeds, but the message might not be deleted).+--+-- For standard queues, it is possible to receive a message even after you+-- delete it. This might happen on rare occasions if one of the servers+-- which stores a copy of the message is unavailable when you send the+-- request to delete the message. The copy remains on the server and might+-- be returned to you during a subsequent receive request. You should+-- ensure that your application is idempotent, so that receiving a message+-- more than once does not cause issues.+module Amazonka.SQS.DeleteMessage+  ( -- * Creating a Request+    DeleteMessage (..),+    newDeleteMessage,++    -- * Request Lenses+    deleteMessage_queueUrl,+    deleteMessage_receiptHandle,++    -- * Destructuring the Response+    DeleteMessageResponse (..),+    newDeleteMessageResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newDeleteMessage' smart constructor.+data DeleteMessage = DeleteMessage'+  { -- | The URL of the Amazon SQS queue from which messages are deleted.+    --+    -- Queue URLs and names are case-sensitive.+    queueUrl :: Prelude.Text,+    -- | The receipt handle associated with the message to delete.+    receiptHandle :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteMessage' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueUrl', 'deleteMessage_queueUrl' - The URL of the Amazon SQS queue from which messages are deleted.+--+-- Queue URLs and names are case-sensitive.+--+-- 'receiptHandle', 'deleteMessage_receiptHandle' - The receipt handle associated with the message to delete.+newDeleteMessage ::+  -- | 'queueUrl'+  Prelude.Text ->+  -- | 'receiptHandle'+  Prelude.Text ->+  DeleteMessage+newDeleteMessage pQueueUrl_ pReceiptHandle_ =+  DeleteMessage'+    { queueUrl = pQueueUrl_,+      receiptHandle = pReceiptHandle_+    }++-- | The URL of the Amazon SQS queue from which messages are deleted.+--+-- Queue URLs and names are case-sensitive.+deleteMessage_queueUrl :: Lens.Lens' DeleteMessage Prelude.Text+deleteMessage_queueUrl = Lens.lens (\DeleteMessage' {queueUrl} -> queueUrl) (\s@DeleteMessage' {} a -> s {queueUrl = a} :: DeleteMessage)++-- | The receipt handle associated with the message to delete.+deleteMessage_receiptHandle :: Lens.Lens' DeleteMessage Prelude.Text+deleteMessage_receiptHandle = Lens.lens (\DeleteMessage' {receiptHandle} -> receiptHandle) (\s@DeleteMessage' {} a -> s {receiptHandle = a} :: DeleteMessage)++instance Core.AWSRequest DeleteMessage where+  type+    AWSResponse DeleteMessage =+      DeleteMessageResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveNull DeleteMessageResponse'++instance Prelude.Hashable DeleteMessage where+  hashWithSalt _salt DeleteMessage' {..} =+    _salt+      `Prelude.hashWithSalt` queueUrl+      `Prelude.hashWithSalt` receiptHandle++instance Prelude.NFData DeleteMessage where+  rnf DeleteMessage' {..} =+    Prelude.rnf queueUrl+      `Prelude.seq` Prelude.rnf receiptHandle++instance Data.ToHeaders DeleteMessage where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath DeleteMessage where+  toPath = Prelude.const "/"++instance Data.ToQuery DeleteMessage where+  toQuery DeleteMessage' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("DeleteMessage" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "QueueUrl" Data.=: queueUrl,+        "ReceiptHandle" Data.=: receiptHandle+      ]++-- | /See:/ 'newDeleteMessageResponse' smart constructor.+data DeleteMessageResponse = DeleteMessageResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteMessageResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeleteMessageResponse ::+  DeleteMessageResponse+newDeleteMessageResponse = DeleteMessageResponse'++instance Prelude.NFData DeleteMessageResponse where+  rnf _ = ()
+ gen/Amazonka/SQS/DeleteMessageBatch.hs view
@@ -0,0 +1,214 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.DeleteMessageBatch+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes up to ten messages from the specified queue. This is a batch+-- version of @ @@DeleteMessage@@.@ The result of the action on each+-- message is reported individually in the response.+--+-- 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@.+--+-- Some 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:+--+-- @&AttributeName.1=first@+--+-- @&AttributeName.2=second@+module Amazonka.SQS.DeleteMessageBatch+  ( -- * Creating a Request+    DeleteMessageBatch (..),+    newDeleteMessageBatch,++    -- * Request Lenses+    deleteMessageBatch_queueUrl,+    deleteMessageBatch_entries,++    -- * Destructuring the Response+    DeleteMessageBatchResponse (..),+    newDeleteMessageBatchResponse,++    -- * Response Lenses+    deleteMessageBatchResponse_httpStatus,+    deleteMessageBatchResponse_successful,+    deleteMessageBatchResponse_failed,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newDeleteMessageBatch' smart constructor.+data DeleteMessageBatch = DeleteMessageBatch'+  { -- | The URL of the Amazon SQS queue from which messages are deleted.+    --+    -- Queue URLs and names are case-sensitive.+    queueUrl :: Prelude.Text,+    -- | A list of receipt handles for the messages to be deleted.+    entries :: [DeleteMessageBatchRequestEntry]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteMessageBatch' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueUrl', 'deleteMessageBatch_queueUrl' - The URL of the Amazon SQS queue from which messages are deleted.+--+-- Queue URLs and names are case-sensitive.+--+-- 'entries', 'deleteMessageBatch_entries' - A list of receipt handles for the messages to be deleted.+newDeleteMessageBatch ::+  -- | 'queueUrl'+  Prelude.Text ->+  DeleteMessageBatch+newDeleteMessageBatch pQueueUrl_ =+  DeleteMessageBatch'+    { queueUrl = pQueueUrl_,+      entries = Prelude.mempty+    }++-- | The URL of the Amazon SQS queue from which messages are deleted.+--+-- Queue URLs and names are case-sensitive.+deleteMessageBatch_queueUrl :: Lens.Lens' DeleteMessageBatch Prelude.Text+deleteMessageBatch_queueUrl = Lens.lens (\DeleteMessageBatch' {queueUrl} -> queueUrl) (\s@DeleteMessageBatch' {} a -> s {queueUrl = a} :: DeleteMessageBatch)++-- | A list of receipt handles for the messages to be deleted.+deleteMessageBatch_entries :: Lens.Lens' DeleteMessageBatch [DeleteMessageBatchRequestEntry]+deleteMessageBatch_entries = Lens.lens (\DeleteMessageBatch' {entries} -> entries) (\s@DeleteMessageBatch' {} a -> s {entries = a} :: DeleteMessageBatch) Prelude.. Lens.coerced++instance Core.AWSRequest DeleteMessageBatch where+  type+    AWSResponse DeleteMessageBatch =+      DeleteMessageBatchResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveXMLWrapper+      "DeleteMessageBatchResult"+      ( \s h x ->+          DeleteMessageBatchResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+            Prelude.<*> (Data.parseXMLList "DeleteMessageBatchResultEntry" x)+            Prelude.<*> (Data.parseXMLList "BatchResultErrorEntry" x)+      )++instance Prelude.Hashable DeleteMessageBatch where+  hashWithSalt _salt DeleteMessageBatch' {..} =+    _salt+      `Prelude.hashWithSalt` queueUrl+      `Prelude.hashWithSalt` entries++instance Prelude.NFData DeleteMessageBatch where+  rnf DeleteMessageBatch' {..} =+    Prelude.rnf queueUrl+      `Prelude.seq` Prelude.rnf entries++instance Data.ToHeaders DeleteMessageBatch where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath DeleteMessageBatch where+  toPath = Prelude.const "/"++instance Data.ToQuery DeleteMessageBatch where+  toQuery DeleteMessageBatch' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("DeleteMessageBatch" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "QueueUrl" Data.=: queueUrl,+        Data.toQueryList+          "DeleteMessageBatchRequestEntry"+          entries+      ]++-- | 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.+--+-- /See:/ 'newDeleteMessageBatchResponse' smart constructor.+data DeleteMessageBatchResponse = DeleteMessageBatchResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int,+    -- | A list of @ @@DeleteMessageBatchResultEntry@@ @ items.+    successful :: [DeleteMessageBatchResultEntry],+    -- | A list of @ @@BatchResultErrorEntry@@ @ items.+    failed :: [BatchResultErrorEntry]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteMessageBatchResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteMessageBatchResponse_httpStatus' - The response's http status code.+--+-- 'successful', 'deleteMessageBatchResponse_successful' - A list of @ @@DeleteMessageBatchResultEntry@@ @ items.+--+-- 'failed', 'deleteMessageBatchResponse_failed' - A list of @ @@BatchResultErrorEntry@@ @ items.+newDeleteMessageBatchResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DeleteMessageBatchResponse+newDeleteMessageBatchResponse pHttpStatus_ =+  DeleteMessageBatchResponse'+    { httpStatus =+        pHttpStatus_,+      successful = Prelude.mempty,+      failed = Prelude.mempty+    }++-- | The response's http status code.+deleteMessageBatchResponse_httpStatus :: Lens.Lens' DeleteMessageBatchResponse Prelude.Int+deleteMessageBatchResponse_httpStatus = Lens.lens (\DeleteMessageBatchResponse' {httpStatus} -> httpStatus) (\s@DeleteMessageBatchResponse' {} a -> s {httpStatus = a} :: DeleteMessageBatchResponse)++-- | A list of @ @@DeleteMessageBatchResultEntry@@ @ items.+deleteMessageBatchResponse_successful :: Lens.Lens' DeleteMessageBatchResponse [DeleteMessageBatchResultEntry]+deleteMessageBatchResponse_successful = Lens.lens (\DeleteMessageBatchResponse' {successful} -> successful) (\s@DeleteMessageBatchResponse' {} a -> s {successful = a} :: DeleteMessageBatchResponse) Prelude.. Lens.coerced++-- | A list of @ @@BatchResultErrorEntry@@ @ items.+deleteMessageBatchResponse_failed :: Lens.Lens' DeleteMessageBatchResponse [BatchResultErrorEntry]+deleteMessageBatchResponse_failed = Lens.lens (\DeleteMessageBatchResponse' {failed} -> failed) (\s@DeleteMessageBatchResponse' {} a -> s {failed = a} :: DeleteMessageBatchResponse) Prelude.. Lens.coerced++instance Prelude.NFData DeleteMessageBatchResponse where+  rnf DeleteMessageBatchResponse' {..} =+    Prelude.rnf httpStatus+      `Prelude.seq` Prelude.rnf successful+      `Prelude.seq` Prelude.rnf failed
+ gen/Amazonka/SQS/DeleteQueue.hs view
@@ -0,0 +1,142 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.DeleteQueue+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the queue specified by the @QueueUrl@, regardless of the+-- queue\'s contents.+--+-- Be careful with the @DeleteQueue@ action: When you delete a queue, any+-- messages in the queue are no longer available.+--+-- When you delete a queue, the deletion process takes up to 60 seconds.+-- Requests you send involving that queue during the 60 seconds might+-- succeed. For example, a @ @@SendMessage@@ @ request might succeed, but+-- after 60 seconds the queue and the message you sent no longer exist.+--+-- When you delete a queue, you must wait at least 60 seconds before+-- creating a queue with the same name.+--+-- Cross-account permissions don\'t apply to this action. For more+-- information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name Grant cross-account permissions to a role and a user name>+-- in the /Amazon SQS Developer Guide/.+module Amazonka.SQS.DeleteQueue+  ( -- * Creating a Request+    DeleteQueue (..),+    newDeleteQueue,++    -- * Request Lenses+    deleteQueue_queueUrl,++    -- * Destructuring the Response+    DeleteQueueResponse (..),+    newDeleteQueueResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newDeleteQueue' smart constructor.+data DeleteQueue = DeleteQueue'+  { -- | The URL of the Amazon SQS queue to delete.+    --+    -- Queue URLs and names are case-sensitive.+    queueUrl :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteQueue' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueUrl', 'deleteQueue_queueUrl' - The URL of the Amazon SQS queue to delete.+--+-- Queue URLs and names are case-sensitive.+newDeleteQueue ::+  -- | 'queueUrl'+  Prelude.Text ->+  DeleteQueue+newDeleteQueue pQueueUrl_ =+  DeleteQueue' {queueUrl = pQueueUrl_}++-- | The URL of the Amazon SQS queue to delete.+--+-- Queue URLs and names are case-sensitive.+deleteQueue_queueUrl :: Lens.Lens' DeleteQueue Prelude.Text+deleteQueue_queueUrl = Lens.lens (\DeleteQueue' {queueUrl} -> queueUrl) (\s@DeleteQueue' {} a -> s {queueUrl = a} :: DeleteQueue)++instance Core.AWSRequest DeleteQueue where+  type AWSResponse DeleteQueue = DeleteQueueResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response = Response.receiveNull DeleteQueueResponse'++instance Prelude.Hashable DeleteQueue where+  hashWithSalt _salt DeleteQueue' {..} =+    _salt `Prelude.hashWithSalt` queueUrl++instance Prelude.NFData DeleteQueue where+  rnf DeleteQueue' {..} = Prelude.rnf queueUrl++instance Data.ToHeaders DeleteQueue where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath DeleteQueue where+  toPath = Prelude.const "/"++instance Data.ToQuery DeleteQueue where+  toQuery DeleteQueue' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("DeleteQueue" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "QueueUrl" Data.=: queueUrl+      ]++-- | /See:/ 'newDeleteQueueResponse' smart constructor.+data DeleteQueueResponse = DeleteQueueResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteQueueResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeleteQueueResponse ::+  DeleteQueueResponse+newDeleteQueueResponse = DeleteQueueResponse'++instance Prelude.NFData DeleteQueueResponse where+  rnf _ = ()
+ gen/Amazonka/SQS/GetQueueAttributes.hs view
@@ -0,0 +1,618 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.GetQueueAttributes+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets attributes for the specified queue.+--+-- To determine whether a queue is+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO>,+-- you can check whether @QueueName@ ends with the @.fifo@ suffix.+module Amazonka.SQS.GetQueueAttributes+  ( -- * Creating a Request+    GetQueueAttributes (..),+    newGetQueueAttributes,++    -- * Request Lenses+    getQueueAttributes_attributeNames,+    getQueueAttributes_queueUrl,++    -- * Destructuring the Response+    GetQueueAttributesResponse (..),+    newGetQueueAttributesResponse,++    -- * Response Lenses+    getQueueAttributesResponse_attributes,+    getQueueAttributesResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newGetQueueAttributes' smart constructor.+data GetQueueAttributes = GetQueueAttributes'+  { -- | A list of attributes for which to retrieve information.+    --+    -- The @AttributeName.N@ parameter is optional, but if you don\'t specify+    -- values for this parameter, the request returns empty results.+    --+    -- In the future, new attributes might be added. If you write code that+    -- calls this action, we recommend that you structure your code so that it+    -- can handle new attributes gracefully.+    --+    -- The following attributes are supported:+    --+    -- The @ApproximateNumberOfMessagesDelayed@,+    -- @ApproximateNumberOfMessagesNotVisible@, and+    -- @ApproximateNumberOfMessagesVisible@ metrics may not achieve consistency+    -- until at least 1 minute after the producers stop sending messages. This+    -- period is required for the queue metadata to reach eventual consistency.+    --+    -- -   @All@ – Returns all values.+    --+    -- -   @ApproximateNumberOfMessages@ – Returns the approximate number of+    --     messages available for retrieval from the queue.+    --+    -- -   @ApproximateNumberOfMessagesDelayed@ – Returns the approximate+    --     number of messages in the queue that are delayed and not available+    --     for reading immediately. This can happen when the queue is+    --     configured as a delay queue or when a message has been sent with a+    --     delay parameter.+    --+    -- -   @ApproximateNumberOfMessagesNotVisible@ – Returns the approximate+    --     number of messages that are in flight. Messages are considered to be+    --     /in flight/ if they have been sent to a client but have not yet been+    --     deleted or have not yet reached the end of their visibility window.+    --+    -- -   @CreatedTimestamp@ – Returns the time when the queue was created in+    --     seconds (<http://en.wikipedia.org/wiki/Unix_time epoch time>).+    --+    -- -   @DelaySeconds@ – Returns the default delay on the queue in seconds.+    --+    -- -   @LastModifiedTimestamp@ – Returns the time when the queue was last+    --     changed in seconds+    --     (<http://en.wikipedia.org/wiki/Unix_time epoch time>).+    --+    -- -   @MaximumMessageSize@ – Returns the limit of how many bytes a message+    --     can contain before Amazon SQS rejects it.+    --+    -- -   @MessageRetentionPeriod@ – Returns the length of time, in 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 length of time, in+    --     seconds, for which the @ReceiveMessage@ action waits for a message+    --     to arrive.+    --+    -- -   @RedrivePolicy@ – The string that includes the parameters for the+    --     dead-letter queue functionality of the source queue as a JSON+    --     object. For more information about the redrive policy and+    --     dead-letter queues, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues>+    --     in the /Amazon SQS Developer Guide/.+    --+    --     -   @deadLetterTargetArn@ – The Amazon Resource Name (ARN) of the+    --         dead-letter queue to which Amazon SQS moves messages after the+    --         value of @maxReceiveCount@ is exceeded.+    --+    --     -   @maxReceiveCount@ – The number of times a message is delivered+    --         to the source queue before being moved to the dead-letter queue.+    --         When the @ReceiveCount@ for a message exceeds the+    --         @maxReceiveCount@ for a queue, Amazon SQS moves the message to+    --         the dead-letter-queue.+    --+    -- -   @VisibilityTimeout@ – Returns the visibility timeout for the queue.+    --     For more information about the visibility timeout, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout>+    --     in the /Amazon SQS Developer Guide/.+    --+    -- The following attributes apply only to+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption>:+    --+    -- -   @KmsMasterKeyId@ – Returns the ID of an Amazon Web Services managed+    --     customer master key (CMK) for Amazon SQS or a custom CMK. For more+    --     information, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms>.+    --+    -- -   @KmsDataKeyReusePeriodSeconds@ – Returns the length of time, in+    --     seconds, for which Amazon SQS can reuse a data key to encrypt or+    --     decrypt messages before calling KMS again. For more information, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?>.+    --+    -- -   @SqsManagedSseEnabled@ – Returns information about whether the queue+    --     is using SSE-SQS encryption using SQS owned encryption keys. Only+    --     one server-side encryption option is supported per queue (e.g.+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html SSE-KMS>+    --     or+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html SSE-SQS>).+    --+    -- The following attributes apply only to+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues>:+    --+    -- -   @FifoQueue@ – Returns information about whether the queue is FIFO.+    --     For more information, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html FIFO queue logic>+    --     in the /Amazon SQS Developer Guide/.+    --+    --     To determine whether a queue is+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO>,+    --     you can check whether @QueueName@ ends with the @.fifo@ suffix.+    --+    -- -   @ContentBasedDeduplication@ – Returns whether content-based+    --     deduplication is enabled for the queue. For more information, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+    --     in the /Amazon SQS Developer Guide/.+    --+    -- The following attributes apply only to+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html high throughput for FIFO queues>:+    --+    -- -   @DeduplicationScope@ – Specifies whether message deduplication+    --     occurs at the message group or queue level. Valid values are+    --     @messageGroup@ and @queue@.+    --+    -- -   @FifoThroughputLimit@ – Specifies whether the FIFO queue throughput+    --     quota applies to the entire queue or per message group. Valid values+    --     are @perQueue@ and @perMessageGroupId@. The @perMessageGroupId@+    --     value is allowed only when the value for @DeduplicationScope@ is+    --     @messageGroup@.+    --+    -- To enable high throughput for FIFO queues, do the following:+    --+    -- -   Set @DeduplicationScope@ to @messageGroup@.+    --+    -- -   Set @FifoThroughputLimit@ to @perMessageGroupId@.+    --+    -- If you set these attributes to anything other than the values shown for+    -- enabling high throughput, normal throughput is in effect and+    -- deduplication occurs as specified.+    --+    -- For information on throughput quotas, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html Quotas related to messages>+    -- in the /Amazon SQS Developer Guide/.+    attributeNames :: Prelude.Maybe [QueueAttributeName],+    -- | The URL of the Amazon SQS queue whose attribute information is+    -- retrieved.+    --+    -- Queue URLs and names are case-sensitive.+    queueUrl :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetQueueAttributes' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'attributeNames', 'getQueueAttributes_attributeNames' - A list of attributes for which to retrieve information.+--+-- The @AttributeName.N@ parameter is optional, but if you don\'t specify+-- values for this parameter, the request returns empty results.+--+-- In the future, new attributes might be added. If you write code that+-- calls this action, we recommend that you structure your code so that it+-- can handle new attributes gracefully.+--+-- The following attributes are supported:+--+-- The @ApproximateNumberOfMessagesDelayed@,+-- @ApproximateNumberOfMessagesNotVisible@, and+-- @ApproximateNumberOfMessagesVisible@ metrics may not achieve consistency+-- until at least 1 minute after the producers stop sending messages. This+-- period is required for the queue metadata to reach eventual consistency.+--+-- -   @All@ – Returns all values.+--+-- -   @ApproximateNumberOfMessages@ – Returns the approximate number of+--     messages available for retrieval from the queue.+--+-- -   @ApproximateNumberOfMessagesDelayed@ – Returns the approximate+--     number of messages in the queue that are delayed and not available+--     for reading immediately. This can happen when the queue is+--     configured as a delay queue or when a message has been sent with a+--     delay parameter.+--+-- -   @ApproximateNumberOfMessagesNotVisible@ – Returns the approximate+--     number of messages that are in flight. Messages are considered to be+--     /in flight/ if they have been sent to a client but have not yet been+--     deleted or have not yet reached the end of their visibility window.+--+-- -   @CreatedTimestamp@ – Returns the time when the queue was created in+--     seconds (<http://en.wikipedia.org/wiki/Unix_time epoch time>).+--+-- -   @DelaySeconds@ – Returns the default delay on the queue in seconds.+--+-- -   @LastModifiedTimestamp@ – Returns the time when the queue was last+--     changed in seconds+--     (<http://en.wikipedia.org/wiki/Unix_time epoch time>).+--+-- -   @MaximumMessageSize@ – Returns the limit of how many bytes a message+--     can contain before Amazon SQS rejects it.+--+-- -   @MessageRetentionPeriod@ – Returns the length of time, in 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 length of time, in+--     seconds, for which the @ReceiveMessage@ action waits for a message+--     to arrive.+--+-- -   @RedrivePolicy@ – The string that includes the parameters for the+--     dead-letter queue functionality of the source queue as a JSON+--     object. For more information about the redrive policy and+--     dead-letter queues, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues>+--     in the /Amazon SQS Developer Guide/.+--+--     -   @deadLetterTargetArn@ – The Amazon Resource Name (ARN) of the+--         dead-letter queue to which Amazon SQS moves messages after the+--         value of @maxReceiveCount@ is exceeded.+--+--     -   @maxReceiveCount@ – The number of times a message is delivered+--         to the source queue before being moved to the dead-letter queue.+--         When the @ReceiveCount@ for a message exceeds the+--         @maxReceiveCount@ for a queue, Amazon SQS moves the message to+--         the dead-letter-queue.+--+-- -   @VisibilityTimeout@ – Returns the visibility timeout for the queue.+--     For more information about the visibility timeout, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout>+--     in the /Amazon SQS Developer Guide/.+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption>:+--+-- -   @KmsMasterKeyId@ – Returns the ID of an Amazon Web Services managed+--     customer master key (CMK) for Amazon SQS or a custom CMK. For more+--     information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms>.+--+-- -   @KmsDataKeyReusePeriodSeconds@ – Returns the length of time, in+--     seconds, for which Amazon SQS can reuse a data key to encrypt or+--     decrypt messages before calling KMS again. For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?>.+--+-- -   @SqsManagedSseEnabled@ – Returns information about whether the queue+--     is using SSE-SQS encryption using SQS owned encryption keys. Only+--     one server-side encryption option is supported per queue (e.g.+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html SSE-KMS>+--     or+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html SSE-SQS>).+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues>:+--+-- -   @FifoQueue@ – Returns information about whether the queue is FIFO.+--     For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html FIFO queue logic>+--     in the /Amazon SQS Developer Guide/.+--+--     To determine whether a queue is+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO>,+--     you can check whether @QueueName@ ends with the @.fifo@ suffix.+--+-- -   @ContentBasedDeduplication@ – Returns whether content-based+--     deduplication is enabled for the queue. For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+--     in the /Amazon SQS Developer Guide/.+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html high throughput for FIFO queues>:+--+-- -   @DeduplicationScope@ – Specifies whether message deduplication+--     occurs at the message group or queue level. Valid values are+--     @messageGroup@ and @queue@.+--+-- -   @FifoThroughputLimit@ – Specifies whether the FIFO queue throughput+--     quota applies to the entire queue or per message group. Valid values+--     are @perQueue@ and @perMessageGroupId@. The @perMessageGroupId@+--     value is allowed only when the value for @DeduplicationScope@ is+--     @messageGroup@.+--+-- To enable high throughput for FIFO queues, do the following:+--+-- -   Set @DeduplicationScope@ to @messageGroup@.+--+-- -   Set @FifoThroughputLimit@ to @perMessageGroupId@.+--+-- If you set these attributes to anything other than the values shown for+-- enabling high throughput, normal throughput is in effect and+-- deduplication occurs as specified.+--+-- For information on throughput quotas, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html Quotas related to messages>+-- in the /Amazon SQS Developer Guide/.+--+-- 'queueUrl', 'getQueueAttributes_queueUrl' - The URL of the Amazon SQS queue whose attribute information is+-- retrieved.+--+-- Queue URLs and names are case-sensitive.+newGetQueueAttributes ::+  -- | 'queueUrl'+  Prelude.Text ->+  GetQueueAttributes+newGetQueueAttributes pQueueUrl_ =+  GetQueueAttributes'+    { attributeNames =+        Prelude.Nothing,+      queueUrl = pQueueUrl_+    }++-- | A list of attributes for which to retrieve information.+--+-- The @AttributeName.N@ parameter is optional, but if you don\'t specify+-- values for this parameter, the request returns empty results.+--+-- In the future, new attributes might be added. If you write code that+-- calls this action, we recommend that you structure your code so that it+-- can handle new attributes gracefully.+--+-- The following attributes are supported:+--+-- The @ApproximateNumberOfMessagesDelayed@,+-- @ApproximateNumberOfMessagesNotVisible@, and+-- @ApproximateNumberOfMessagesVisible@ metrics may not achieve consistency+-- until at least 1 minute after the producers stop sending messages. This+-- period is required for the queue metadata to reach eventual consistency.+--+-- -   @All@ – Returns all values.+--+-- -   @ApproximateNumberOfMessages@ – Returns the approximate number of+--     messages available for retrieval from the queue.+--+-- -   @ApproximateNumberOfMessagesDelayed@ – Returns the approximate+--     number of messages in the queue that are delayed and not available+--     for reading immediately. This can happen when the queue is+--     configured as a delay queue or when a message has been sent with a+--     delay parameter.+--+-- -   @ApproximateNumberOfMessagesNotVisible@ – Returns the approximate+--     number of messages that are in flight. Messages are considered to be+--     /in flight/ if they have been sent to a client but have not yet been+--     deleted or have not yet reached the end of their visibility window.+--+-- -   @CreatedTimestamp@ – Returns the time when the queue was created in+--     seconds (<http://en.wikipedia.org/wiki/Unix_time epoch time>).+--+-- -   @DelaySeconds@ – Returns the default delay on the queue in seconds.+--+-- -   @LastModifiedTimestamp@ – Returns the time when the queue was last+--     changed in seconds+--     (<http://en.wikipedia.org/wiki/Unix_time epoch time>).+--+-- -   @MaximumMessageSize@ – Returns the limit of how many bytes a message+--     can contain before Amazon SQS rejects it.+--+-- -   @MessageRetentionPeriod@ – Returns the length of time, in 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 length of time, in+--     seconds, for which the @ReceiveMessage@ action waits for a message+--     to arrive.+--+-- -   @RedrivePolicy@ – The string that includes the parameters for the+--     dead-letter queue functionality of the source queue as a JSON+--     object. For more information about the redrive policy and+--     dead-letter queues, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues>+--     in the /Amazon SQS Developer Guide/.+--+--     -   @deadLetterTargetArn@ – The Amazon Resource Name (ARN) of the+--         dead-letter queue to which Amazon SQS moves messages after the+--         value of @maxReceiveCount@ is exceeded.+--+--     -   @maxReceiveCount@ – The number of times a message is delivered+--         to the source queue before being moved to the dead-letter queue.+--         When the @ReceiveCount@ for a message exceeds the+--         @maxReceiveCount@ for a queue, Amazon SQS moves the message to+--         the dead-letter-queue.+--+-- -   @VisibilityTimeout@ – Returns the visibility timeout for the queue.+--     For more information about the visibility timeout, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout>+--     in the /Amazon SQS Developer Guide/.+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption>:+--+-- -   @KmsMasterKeyId@ – Returns the ID of an Amazon Web Services managed+--     customer master key (CMK) for Amazon SQS or a custom CMK. For more+--     information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms>.+--+-- -   @KmsDataKeyReusePeriodSeconds@ – Returns the length of time, in+--     seconds, for which Amazon SQS can reuse a data key to encrypt or+--     decrypt messages before calling KMS again. For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?>.+--+-- -   @SqsManagedSseEnabled@ – Returns information about whether the queue+--     is using SSE-SQS encryption using SQS owned encryption keys. Only+--     one server-side encryption option is supported per queue (e.g.+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html SSE-KMS>+--     or+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html SSE-SQS>).+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues>:+--+-- -   @FifoQueue@ – Returns information about whether the queue is FIFO.+--     For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html FIFO queue logic>+--     in the /Amazon SQS Developer Guide/.+--+--     To determine whether a queue is+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO>,+--     you can check whether @QueueName@ ends with the @.fifo@ suffix.+--+-- -   @ContentBasedDeduplication@ – Returns whether content-based+--     deduplication is enabled for the queue. For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+--     in the /Amazon SQS Developer Guide/.+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html high throughput for FIFO queues>:+--+-- -   @DeduplicationScope@ – Specifies whether message deduplication+--     occurs at the message group or queue level. Valid values are+--     @messageGroup@ and @queue@.+--+-- -   @FifoThroughputLimit@ – Specifies whether the FIFO queue throughput+--     quota applies to the entire queue or per message group. Valid values+--     are @perQueue@ and @perMessageGroupId@. The @perMessageGroupId@+--     value is allowed only when the value for @DeduplicationScope@ is+--     @messageGroup@.+--+-- To enable high throughput for FIFO queues, do the following:+--+-- -   Set @DeduplicationScope@ to @messageGroup@.+--+-- -   Set @FifoThroughputLimit@ to @perMessageGroupId@.+--+-- If you set these attributes to anything other than the values shown for+-- enabling high throughput, normal throughput is in effect and+-- deduplication occurs as specified.+--+-- For information on throughput quotas, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html Quotas related to messages>+-- in the /Amazon SQS Developer Guide/.+getQueueAttributes_attributeNames :: Lens.Lens' GetQueueAttributes (Prelude.Maybe [QueueAttributeName])+getQueueAttributes_attributeNames = Lens.lens (\GetQueueAttributes' {attributeNames} -> attributeNames) (\s@GetQueueAttributes' {} a -> s {attributeNames = a} :: GetQueueAttributes) Prelude.. Lens.mapping Lens.coerced++-- | The URL of the Amazon SQS queue whose attribute information is+-- retrieved.+--+-- Queue URLs and names are case-sensitive.+getQueueAttributes_queueUrl :: Lens.Lens' GetQueueAttributes Prelude.Text+getQueueAttributes_queueUrl = Lens.lens (\GetQueueAttributes' {queueUrl} -> queueUrl) (\s@GetQueueAttributes' {} a -> s {queueUrl = a} :: GetQueueAttributes)++instance Core.AWSRequest GetQueueAttributes where+  type+    AWSResponse GetQueueAttributes =+      GetQueueAttributesResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveXMLWrapper+      "GetQueueAttributesResult"+      ( \s h x ->+          GetQueueAttributesResponse'+            Prelude.<$> ( Core.may+                            (Data.parseXMLMap "Attribute" "Name" "Value")+                            x+                        )+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable GetQueueAttributes where+  hashWithSalt _salt GetQueueAttributes' {..} =+    _salt+      `Prelude.hashWithSalt` attributeNames+      `Prelude.hashWithSalt` queueUrl++instance Prelude.NFData GetQueueAttributes where+  rnf GetQueueAttributes' {..} =+    Prelude.rnf attributeNames+      `Prelude.seq` Prelude.rnf queueUrl++instance Data.ToHeaders GetQueueAttributes where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath GetQueueAttributes where+  toPath = Prelude.const "/"++instance Data.ToQuery GetQueueAttributes where+  toQuery GetQueueAttributes' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("GetQueueAttributes" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        Data.toQuery+          ( Data.toQueryList "AttributeName"+              Prelude.<$> attributeNames+          ),+        "QueueUrl" Data.=: queueUrl+      ]++-- | A list of returned queue attributes.+--+-- /See:/ 'newGetQueueAttributesResponse' smart constructor.+data GetQueueAttributesResponse = GetQueueAttributesResponse'+  { -- | A map of attributes to their respective values.+    attributes :: Prelude.Maybe (Prelude.HashMap QueueAttributeName Prelude.Text),+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetQueueAttributesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'attributes', 'getQueueAttributesResponse_attributes' - A map of attributes to their respective values.+--+-- 'httpStatus', 'getQueueAttributesResponse_httpStatus' - The response's http status code.+newGetQueueAttributesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  GetQueueAttributesResponse+newGetQueueAttributesResponse pHttpStatus_ =+  GetQueueAttributesResponse'+    { attributes =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A map of attributes to their respective values.+getQueueAttributesResponse_attributes :: Lens.Lens' GetQueueAttributesResponse (Prelude.Maybe (Prelude.HashMap QueueAttributeName Prelude.Text))+getQueueAttributesResponse_attributes = Lens.lens (\GetQueueAttributesResponse' {attributes} -> attributes) (\s@GetQueueAttributesResponse' {} a -> s {attributes = a} :: GetQueueAttributesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+getQueueAttributesResponse_httpStatus :: Lens.Lens' GetQueueAttributesResponse Prelude.Int+getQueueAttributesResponse_httpStatus = Lens.lens (\GetQueueAttributesResponse' {httpStatus} -> httpStatus) (\s@GetQueueAttributesResponse' {} a -> s {httpStatus = a} :: GetQueueAttributesResponse)++instance Prelude.NFData GetQueueAttributesResponse where+  rnf GetQueueAttributesResponse' {..} =+    Prelude.rnf attributes+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/SQS/GetQueueUrl.hs view
@@ -0,0 +1,204 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.GetQueueUrl+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the URL of an existing 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 see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-writing-an-sqs-policy.html#write-messages-to-shared-queue Allow Developers to Write Messages to a Shared Queue>+-- in the /Amazon SQS Developer Guide/.+module Amazonka.SQS.GetQueueUrl+  ( -- * Creating a Request+    GetQueueUrl (..),+    newGetQueueUrl,++    -- * Request Lenses+    getQueueUrl_queueOwnerAWSAccountId,+    getQueueUrl_queueName,++    -- * Destructuring the Response+    GetQueueUrlResponse (..),+    newGetQueueUrlResponse,++    -- * Response Lenses+    getQueueUrlResponse_httpStatus,+    getQueueUrlResponse_queueUrl,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newGetQueueUrl' smart constructor.+data GetQueueUrl = GetQueueUrl'+  { -- | The Amazon Web Services account ID of the account that created the+    -- queue.+    queueOwnerAWSAccountId :: Prelude.Maybe Prelude.Text,+    -- | The name of the queue whose URL must be fetched. Maximum 80 characters.+    -- Valid values: alphanumeric characters, hyphens (@-@), and underscores+    -- (@_@).+    --+    -- Queue URLs and names are case-sensitive.+    queueName :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetQueueUrl' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueOwnerAWSAccountId', 'getQueueUrl_queueOwnerAWSAccountId' - The Amazon Web Services account ID of the account that created the+-- queue.+--+-- 'queueName', 'getQueueUrl_queueName' - The name of the queue whose URL must be fetched. Maximum 80 characters.+-- Valid values: alphanumeric characters, hyphens (@-@), and underscores+-- (@_@).+--+-- Queue URLs and names are case-sensitive.+newGetQueueUrl ::+  -- | 'queueName'+  Prelude.Text ->+  GetQueueUrl+newGetQueueUrl pQueueName_ =+  GetQueueUrl'+    { queueOwnerAWSAccountId =+        Prelude.Nothing,+      queueName = pQueueName_+    }++-- | The Amazon Web Services account ID of the account that created the+-- queue.+getQueueUrl_queueOwnerAWSAccountId :: Lens.Lens' GetQueueUrl (Prelude.Maybe Prelude.Text)+getQueueUrl_queueOwnerAWSAccountId = Lens.lens (\GetQueueUrl' {queueOwnerAWSAccountId} -> queueOwnerAWSAccountId) (\s@GetQueueUrl' {} a -> s {queueOwnerAWSAccountId = a} :: GetQueueUrl)++-- | The name of the queue whose URL must be fetched. Maximum 80 characters.+-- Valid values: alphanumeric characters, hyphens (@-@), and underscores+-- (@_@).+--+-- Queue URLs and names are case-sensitive.+getQueueUrl_queueName :: Lens.Lens' GetQueueUrl Prelude.Text+getQueueUrl_queueName = Lens.lens (\GetQueueUrl' {queueName} -> queueName) (\s@GetQueueUrl' {} a -> s {queueName = a} :: GetQueueUrl)++instance Core.AWSRequest GetQueueUrl where+  type AWSResponse GetQueueUrl = GetQueueUrlResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveXMLWrapper+      "GetQueueUrlResult"+      ( \s h x ->+          GetQueueUrlResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+            Prelude.<*> (x Data..@ "QueueUrl")+      )++instance Prelude.Hashable GetQueueUrl where+  hashWithSalt _salt GetQueueUrl' {..} =+    _salt+      `Prelude.hashWithSalt` queueOwnerAWSAccountId+      `Prelude.hashWithSalt` queueName++instance Prelude.NFData GetQueueUrl where+  rnf GetQueueUrl' {..} =+    Prelude.rnf queueOwnerAWSAccountId+      `Prelude.seq` Prelude.rnf queueName++instance Data.ToHeaders GetQueueUrl where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath GetQueueUrl where+  toPath = Prelude.const "/"++instance Data.ToQuery GetQueueUrl where+  toQuery GetQueueUrl' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("GetQueueUrl" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "QueueOwnerAWSAccountId"+          Data.=: queueOwnerAWSAccountId,+        "QueueName" Data.=: queueName+      ]++-- | For more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-api-responses.html Interpreting Responses>+-- in the /Amazon SQS Developer Guide/.+--+-- /See:/ 'newGetQueueUrlResponse' smart constructor.+data GetQueueUrlResponse = GetQueueUrlResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int,+    -- | The URL of the queue.+    queueUrl :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetQueueUrlResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'getQueueUrlResponse_httpStatus' - The response's http status code.+--+-- 'queueUrl', 'getQueueUrlResponse_queueUrl' - The URL of the queue.+newGetQueueUrlResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  -- | 'queueUrl'+  Prelude.Text ->+  GetQueueUrlResponse+newGetQueueUrlResponse pHttpStatus_ pQueueUrl_ =+  GetQueueUrlResponse'+    { httpStatus = pHttpStatus_,+      queueUrl = pQueueUrl_+    }++-- | The response's http status code.+getQueueUrlResponse_httpStatus :: Lens.Lens' GetQueueUrlResponse Prelude.Int+getQueueUrlResponse_httpStatus = Lens.lens (\GetQueueUrlResponse' {httpStatus} -> httpStatus) (\s@GetQueueUrlResponse' {} a -> s {httpStatus = a} :: GetQueueUrlResponse)++-- | The URL of the queue.+getQueueUrlResponse_queueUrl :: Lens.Lens' GetQueueUrlResponse Prelude.Text+getQueueUrlResponse_queueUrl = Lens.lens (\GetQueueUrlResponse' {queueUrl} -> queueUrl) (\s@GetQueueUrlResponse' {} a -> s {queueUrl = a} :: GetQueueUrlResponse)++instance Prelude.NFData GetQueueUrlResponse where+  rnf GetQueueUrlResponse' {..} =+    Prelude.rnf httpStatus+      `Prelude.seq` Prelude.rnf queueUrl
+ gen/Amazonka/SQS/Lens.hs view
@@ -0,0 +1,235 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Lens+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Lens+  ( -- * Operations++    -- ** AddPermission+    addPermission_queueUrl,+    addPermission_label,+    addPermission_aWSAccountIds,+    addPermission_actions,++    -- ** ChangeMessageVisibility+    changeMessageVisibility_queueUrl,+    changeMessageVisibility_receiptHandle,+    changeMessageVisibility_visibilityTimeout,++    -- ** ChangeMessageVisibilityBatch+    changeMessageVisibilityBatch_queueUrl,+    changeMessageVisibilityBatch_entries,+    changeMessageVisibilityBatchResponse_httpStatus,+    changeMessageVisibilityBatchResponse_successful,+    changeMessageVisibilityBatchResponse_failed,++    -- ** CreateQueue+    createQueue_attributes,+    createQueue_tags,+    createQueue_queueName,+    createQueueResponse_queueUrl,+    createQueueResponse_httpStatus,++    -- ** DeleteMessage+    deleteMessage_queueUrl,+    deleteMessage_receiptHandle,++    -- ** DeleteMessageBatch+    deleteMessageBatch_queueUrl,+    deleteMessageBatch_entries,+    deleteMessageBatchResponse_httpStatus,+    deleteMessageBatchResponse_successful,+    deleteMessageBatchResponse_failed,++    -- ** DeleteQueue+    deleteQueue_queueUrl,++    -- ** GetQueueAttributes+    getQueueAttributes_attributeNames,+    getQueueAttributes_queueUrl,+    getQueueAttributesResponse_attributes,+    getQueueAttributesResponse_httpStatus,++    -- ** GetQueueUrl+    getQueueUrl_queueOwnerAWSAccountId,+    getQueueUrl_queueName,+    getQueueUrlResponse_httpStatus,+    getQueueUrlResponse_queueUrl,++    -- ** ListDeadLetterSourceQueues+    listDeadLetterSourceQueues_maxResults,+    listDeadLetterSourceQueues_nextToken,+    listDeadLetterSourceQueues_queueUrl,+    listDeadLetterSourceQueuesResponse_nextToken,+    listDeadLetterSourceQueuesResponse_httpStatus,+    listDeadLetterSourceQueuesResponse_queueUrls,++    -- ** ListQueueTags+    listQueueTags_queueUrl,+    listQueueTagsResponse_tags,+    listQueueTagsResponse_httpStatus,++    -- ** ListQueues+    listQueues_maxResults,+    listQueues_nextToken,+    listQueues_queueNamePrefix,+    listQueuesResponse_nextToken,+    listQueuesResponse_queueUrls,+    listQueuesResponse_httpStatus,++    -- ** PurgeQueue+    purgeQueue_queueUrl,++    -- ** ReceiveMessage+    receiveMessage_attributeNames,+    receiveMessage_maxNumberOfMessages,+    receiveMessage_messageAttributeNames,+    receiveMessage_receiveRequestAttemptId,+    receiveMessage_visibilityTimeout,+    receiveMessage_waitTimeSeconds,+    receiveMessage_queueUrl,+    receiveMessageResponse_messages,+    receiveMessageResponse_httpStatus,++    -- ** RemovePermission+    removePermission_queueUrl,+    removePermission_label,++    -- ** SendMessage+    sendMessage_delaySeconds,+    sendMessage_messageAttributes,+    sendMessage_messageDeduplicationId,+    sendMessage_messageGroupId,+    sendMessage_messageSystemAttributes,+    sendMessage_queueUrl,+    sendMessage_messageBody,+    sendMessageResponse_mD5OfMessageAttributes,+    sendMessageResponse_mD5OfMessageBody,+    sendMessageResponse_mD5OfMessageSystemAttributes,+    sendMessageResponse_messageId,+    sendMessageResponse_sequenceNumber,+    sendMessageResponse_httpStatus,++    -- ** SendMessageBatch+    sendMessageBatch_queueUrl,+    sendMessageBatch_entries,+    sendMessageBatchResponse_httpStatus,+    sendMessageBatchResponse_successful,+    sendMessageBatchResponse_failed,++    -- ** SetQueueAttributes+    setQueueAttributes_queueUrl,+    setQueueAttributes_attributes,++    -- ** TagQueue+    tagQueue_queueUrl,+    tagQueue_tags,++    -- ** UntagQueue+    untagQueue_queueUrl,+    untagQueue_tagKeys,++    -- * Types++    -- ** BatchResultErrorEntry+    batchResultErrorEntry_message,+    batchResultErrorEntry_id,+    batchResultErrorEntry_senderFault,+    batchResultErrorEntry_code,++    -- ** ChangeMessageVisibilityBatchRequestEntry+    changeMessageVisibilityBatchRequestEntry_visibilityTimeout,+    changeMessageVisibilityBatchRequestEntry_id,+    changeMessageVisibilityBatchRequestEntry_receiptHandle,++    -- ** ChangeMessageVisibilityBatchResultEntry+    changeMessageVisibilityBatchResultEntry_id,++    -- ** DeleteMessageBatchRequestEntry+    deleteMessageBatchRequestEntry_id,+    deleteMessageBatchRequestEntry_receiptHandle,++    -- ** DeleteMessageBatchResultEntry+    deleteMessageBatchResultEntry_id,++    -- ** Message+    message_attributes,+    message_body,+    message_mD5OfBody,+    message_mD5OfMessageAttributes,+    message_messageAttributes,+    message_messageId,+    message_receiptHandle,++    -- ** MessageAttributeValue+    messageAttributeValue_binaryListValues,+    messageAttributeValue_binaryValue,+    messageAttributeValue_stringListValues,+    messageAttributeValue_stringValue,+    messageAttributeValue_dataType,++    -- ** MessageSystemAttributeValue+    messageSystemAttributeValue_binaryListValues,+    messageSystemAttributeValue_binaryValue,+    messageSystemAttributeValue_stringListValues,+    messageSystemAttributeValue_stringValue,+    messageSystemAttributeValue_dataType,++    -- ** SendMessageBatchRequestEntry+    sendMessageBatchRequestEntry_delaySeconds,+    sendMessageBatchRequestEntry_messageAttributes,+    sendMessageBatchRequestEntry_messageDeduplicationId,+    sendMessageBatchRequestEntry_messageGroupId,+    sendMessageBatchRequestEntry_messageSystemAttributes,+    sendMessageBatchRequestEntry_id,+    sendMessageBatchRequestEntry_messageBody,++    -- ** SendMessageBatchResultEntry+    sendMessageBatchResultEntry_mD5OfMessageAttributes,+    sendMessageBatchResultEntry_mD5OfMessageSystemAttributes,+    sendMessageBatchResultEntry_sequenceNumber,+    sendMessageBatchResultEntry_id,+    sendMessageBatchResultEntry_messageId,+    sendMessageBatchResultEntry_mD5OfMessageBody,+  )+where++import Amazonka.SQS.AddPermission+import Amazonka.SQS.ChangeMessageVisibility+import Amazonka.SQS.ChangeMessageVisibilityBatch+import Amazonka.SQS.CreateQueue+import Amazonka.SQS.DeleteMessage+import Amazonka.SQS.DeleteMessageBatch+import Amazonka.SQS.DeleteQueue+import Amazonka.SQS.GetQueueAttributes+import Amazonka.SQS.GetQueueUrl+import Amazonka.SQS.ListDeadLetterSourceQueues+import Amazonka.SQS.ListQueueTags+import Amazonka.SQS.ListQueues+import Amazonka.SQS.PurgeQueue+import Amazonka.SQS.ReceiveMessage+import Amazonka.SQS.RemovePermission+import Amazonka.SQS.SendMessage+import Amazonka.SQS.SendMessageBatch+import Amazonka.SQS.SetQueueAttributes+import Amazonka.SQS.TagQueue+import Amazonka.SQS.Types.BatchResultErrorEntry+import Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry+import Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry+import Amazonka.SQS.Types.DeleteMessageBatchRequestEntry+import Amazonka.SQS.Types.DeleteMessageBatchResultEntry+import Amazonka.SQS.Types.Message+import Amazonka.SQS.Types.MessageAttributeValue+import Amazonka.SQS.Types.MessageSystemAttributeValue+import Amazonka.SQS.Types.SendMessageBatchRequestEntry+import Amazonka.SQS.Types.SendMessageBatchResultEntry+import Amazonka.SQS.UntagQueue
+ gen/Amazonka/SQS/ListDeadLetterSourceQueues.hs view
@@ -0,0 +1,265 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.ListDeadLetterSourceQueues+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of your queues that have the @RedrivePolicy@ queue+-- attribute configured with a dead-letter queue.+--+-- The @ListDeadLetterSourceQueues@ methods supports pagination. Set+-- parameter @MaxResults@ in the request to specify the maximum number of+-- results to be returned in the response. If you do not set @MaxResults@,+-- the response includes a maximum of 1,000 results. If you set+-- @MaxResults@ and there are additional results to display, the response+-- includes a value for @NextToken@. Use @NextToken@ as a parameter in your+-- next request to @ListDeadLetterSourceQueues@ to receive the next page of+-- results.+--+-- For more information about using dead-letter queues, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues>+-- in the /Amazon SQS Developer Guide/.+--+-- This operation returns paginated results.+module Amazonka.SQS.ListDeadLetterSourceQueues+  ( -- * Creating a Request+    ListDeadLetterSourceQueues (..),+    newListDeadLetterSourceQueues,++    -- * Request Lenses+    listDeadLetterSourceQueues_maxResults,+    listDeadLetterSourceQueues_nextToken,+    listDeadLetterSourceQueues_queueUrl,++    -- * Destructuring the Response+    ListDeadLetterSourceQueuesResponse (..),+    newListDeadLetterSourceQueuesResponse,++    -- * Response Lenses+    listDeadLetterSourceQueuesResponse_nextToken,+    listDeadLetterSourceQueuesResponse_httpStatus,+    listDeadLetterSourceQueuesResponse_queueUrls,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newListDeadLetterSourceQueues' smart constructor.+data ListDeadLetterSourceQueues = ListDeadLetterSourceQueues'+  { -- | Maximum number of results to include in the response. Value range is 1+    -- to 1000. You must set @MaxResults@ to receive a value for @NextToken@ in+    -- the response.+    maxResults :: Prelude.Maybe Prelude.Int,+    -- | Pagination token to request the next set of results.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The URL of a dead-letter queue.+    --+    -- Queue URLs and names are case-sensitive.+    queueUrl :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListDeadLetterSourceQueues' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listDeadLetterSourceQueues_maxResults' - Maximum number of results to include in the response. Value range is 1+-- to 1000. You must set @MaxResults@ to receive a value for @NextToken@ in+-- the response.+--+-- 'nextToken', 'listDeadLetterSourceQueues_nextToken' - Pagination token to request the next set of results.+--+-- 'queueUrl', 'listDeadLetterSourceQueues_queueUrl' - The URL of a dead-letter queue.+--+-- Queue URLs and names are case-sensitive.+newListDeadLetterSourceQueues ::+  -- | 'queueUrl'+  Prelude.Text ->+  ListDeadLetterSourceQueues+newListDeadLetterSourceQueues pQueueUrl_ =+  ListDeadLetterSourceQueues'+    { maxResults =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      queueUrl = pQueueUrl_+    }++-- | Maximum number of results to include in the response. Value range is 1+-- to 1000. You must set @MaxResults@ to receive a value for @NextToken@ in+-- the response.+listDeadLetterSourceQueues_maxResults :: Lens.Lens' ListDeadLetterSourceQueues (Prelude.Maybe Prelude.Int)+listDeadLetterSourceQueues_maxResults = Lens.lens (\ListDeadLetterSourceQueues' {maxResults} -> maxResults) (\s@ListDeadLetterSourceQueues' {} a -> s {maxResults = a} :: ListDeadLetterSourceQueues)++-- | Pagination token to request the next set of results.+listDeadLetterSourceQueues_nextToken :: Lens.Lens' ListDeadLetterSourceQueues (Prelude.Maybe Prelude.Text)+listDeadLetterSourceQueues_nextToken = Lens.lens (\ListDeadLetterSourceQueues' {nextToken} -> nextToken) (\s@ListDeadLetterSourceQueues' {} a -> s {nextToken = a} :: ListDeadLetterSourceQueues)++-- | The URL of a dead-letter queue.+--+-- Queue URLs and names are case-sensitive.+listDeadLetterSourceQueues_queueUrl :: Lens.Lens' ListDeadLetterSourceQueues Prelude.Text+listDeadLetterSourceQueues_queueUrl = Lens.lens (\ListDeadLetterSourceQueues' {queueUrl} -> queueUrl) (\s@ListDeadLetterSourceQueues' {} a -> s {queueUrl = a} :: ListDeadLetterSourceQueues)++instance Core.AWSPager ListDeadLetterSourceQueues where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listDeadLetterSourceQueuesResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^. listDeadLetterSourceQueuesResponse_queueUrls+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listDeadLetterSourceQueues_nextToken+          Lens..~ rs+          Lens.^? listDeadLetterSourceQueuesResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListDeadLetterSourceQueues where+  type+    AWSResponse ListDeadLetterSourceQueues =+      ListDeadLetterSourceQueuesResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveXMLWrapper+      "ListDeadLetterSourceQueuesResult"+      ( \s h x ->+          ListDeadLetterSourceQueuesResponse'+            Prelude.<$> (x Data..@? "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+            Prelude.<*> (Data.parseXMLList "QueueUrl" x)+      )++instance Prelude.Hashable ListDeadLetterSourceQueues where+  hashWithSalt _salt ListDeadLetterSourceQueues' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` queueUrl++instance Prelude.NFData ListDeadLetterSourceQueues where+  rnf ListDeadLetterSourceQueues' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf queueUrl++instance Data.ToHeaders ListDeadLetterSourceQueues where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath ListDeadLetterSourceQueues where+  toPath = Prelude.const "/"++instance Data.ToQuery ListDeadLetterSourceQueues where+  toQuery ListDeadLetterSourceQueues' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("ListDeadLetterSourceQueues" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "MaxResults" Data.=: maxResults,+        "NextToken" Data.=: nextToken,+        "QueueUrl" Data.=: queueUrl+      ]++-- | A list of your dead letter source queues.+--+-- /See:/ 'newListDeadLetterSourceQueuesResponse' smart constructor.+data ListDeadLetterSourceQueuesResponse = ListDeadLetterSourceQueuesResponse'+  { -- | Pagination token to include in the next request. Token value is @null@+    -- if there are no additional results to request, or if you did not set+    -- @MaxResults@ in the request.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int,+    -- | A list of source queue URLs that have the @RedrivePolicy@ queue+    -- attribute configured with a dead-letter queue.+    queueUrls :: [Prelude.Text]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListDeadLetterSourceQueuesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listDeadLetterSourceQueuesResponse_nextToken' - Pagination token to include in the next request. Token value is @null@+-- if there are no additional results to request, or if you did not set+-- @MaxResults@ in the request.+--+-- 'httpStatus', 'listDeadLetterSourceQueuesResponse_httpStatus' - The response's http status code.+--+-- 'queueUrls', 'listDeadLetterSourceQueuesResponse_queueUrls' - A list of source queue URLs that have the @RedrivePolicy@ queue+-- attribute configured with a dead-letter queue.+newListDeadLetterSourceQueuesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListDeadLetterSourceQueuesResponse+newListDeadLetterSourceQueuesResponse pHttpStatus_ =+  ListDeadLetterSourceQueuesResponse'+    { nextToken =+        Prelude.Nothing,+      httpStatus = pHttpStatus_,+      queueUrls = Prelude.mempty+    }++-- | Pagination token to include in the next request. Token value is @null@+-- if there are no additional results to request, or if you did not set+-- @MaxResults@ in the request.+listDeadLetterSourceQueuesResponse_nextToken :: Lens.Lens' ListDeadLetterSourceQueuesResponse (Prelude.Maybe Prelude.Text)+listDeadLetterSourceQueuesResponse_nextToken = Lens.lens (\ListDeadLetterSourceQueuesResponse' {nextToken} -> nextToken) (\s@ListDeadLetterSourceQueuesResponse' {} a -> s {nextToken = a} :: ListDeadLetterSourceQueuesResponse)++-- | The response's http status code.+listDeadLetterSourceQueuesResponse_httpStatus :: Lens.Lens' ListDeadLetterSourceQueuesResponse Prelude.Int+listDeadLetterSourceQueuesResponse_httpStatus = Lens.lens (\ListDeadLetterSourceQueuesResponse' {httpStatus} -> httpStatus) (\s@ListDeadLetterSourceQueuesResponse' {} a -> s {httpStatus = a} :: ListDeadLetterSourceQueuesResponse)++-- | A list of source queue URLs that have the @RedrivePolicy@ queue+-- attribute configured with a dead-letter queue.+listDeadLetterSourceQueuesResponse_queueUrls :: Lens.Lens' ListDeadLetterSourceQueuesResponse [Prelude.Text]+listDeadLetterSourceQueuesResponse_queueUrls = Lens.lens (\ListDeadLetterSourceQueuesResponse' {queueUrls} -> queueUrls) (\s@ListDeadLetterSourceQueuesResponse' {} a -> s {queueUrls = a} :: ListDeadLetterSourceQueuesResponse) Prelude.. Lens.coerced++instance+  Prelude.NFData+    ListDeadLetterSourceQueuesResponse+  where+  rnf ListDeadLetterSourceQueuesResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus+      `Prelude.seq` Prelude.rnf queueUrls
+ gen/Amazonka/SQS/ListQueueTags.hs view
@@ -0,0 +1,164 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.ListQueueTags+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- List all cost allocation tags added to the specified Amazon SQS queue.+-- For an overview, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html Tagging Your Amazon SQS Queues>+-- in the /Amazon SQS Developer Guide/.+--+-- Cross-account permissions don\'t apply to this action. For more+-- information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name Grant cross-account permissions to a role and a user name>+-- in the /Amazon SQS Developer Guide/.+module Amazonka.SQS.ListQueueTags+  ( -- * Creating a Request+    ListQueueTags (..),+    newListQueueTags,++    -- * Request Lenses+    listQueueTags_queueUrl,++    -- * Destructuring the Response+    ListQueueTagsResponse (..),+    newListQueueTagsResponse,++    -- * Response Lenses+    listQueueTagsResponse_tags,+    listQueueTagsResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- | /See:/ 'newListQueueTags' smart constructor.+data ListQueueTags = ListQueueTags'+  { -- | The URL of the queue.+    queueUrl :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListQueueTags' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueUrl', 'listQueueTags_queueUrl' - The URL of the queue.+newListQueueTags ::+  -- | 'queueUrl'+  Prelude.Text ->+  ListQueueTags+newListQueueTags pQueueUrl_ =+  ListQueueTags' {queueUrl = pQueueUrl_}++-- | The URL of the queue.+listQueueTags_queueUrl :: Lens.Lens' ListQueueTags Prelude.Text+listQueueTags_queueUrl = Lens.lens (\ListQueueTags' {queueUrl} -> queueUrl) (\s@ListQueueTags' {} a -> s {queueUrl = a} :: ListQueueTags)++instance Core.AWSRequest ListQueueTags where+  type+    AWSResponse ListQueueTags =+      ListQueueTagsResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveXMLWrapper+      "ListQueueTagsResult"+      ( \s h x ->+          ListQueueTagsResponse'+            Prelude.<$> (Core.may (Data.parseXMLMap "Tag" "Key" "Value") x)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListQueueTags where+  hashWithSalt _salt ListQueueTags' {..} =+    _salt `Prelude.hashWithSalt` queueUrl++instance Prelude.NFData ListQueueTags where+  rnf ListQueueTags' {..} = Prelude.rnf queueUrl++instance Data.ToHeaders ListQueueTags where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath ListQueueTags where+  toPath = Prelude.const "/"++instance Data.ToQuery ListQueueTags where+  toQuery ListQueueTags' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("ListQueueTags" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "QueueUrl" Data.=: queueUrl+      ]++-- | /See:/ 'newListQueueTagsResponse' smart constructor.+data ListQueueTagsResponse = ListQueueTagsResponse'+  { -- | The list of all tags added to the specified queue.+    tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListQueueTagsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'tags', 'listQueueTagsResponse_tags' - The list of all tags added to the specified queue.+--+-- 'httpStatus', 'listQueueTagsResponse_httpStatus' - The response's http status code.+newListQueueTagsResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListQueueTagsResponse+newListQueueTagsResponse pHttpStatus_ =+  ListQueueTagsResponse'+    { tags = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The list of all tags added to the specified queue.+listQueueTagsResponse_tags :: Lens.Lens' ListQueueTagsResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+listQueueTagsResponse_tags = Lens.lens (\ListQueueTagsResponse' {tags} -> tags) (\s@ListQueueTagsResponse' {} a -> s {tags = a} :: ListQueueTagsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listQueueTagsResponse_httpStatus :: Lens.Lens' ListQueueTagsResponse Prelude.Int+listQueueTagsResponse_httpStatus = Lens.lens (\ListQueueTagsResponse' {httpStatus} -> httpStatus) (\s@ListQueueTagsResponse' {} a -> s {httpStatus = a} :: ListQueueTagsResponse)++instance Prelude.NFData ListQueueTagsResponse where+  rnf ListQueueTagsResponse' {..} =+    Prelude.rnf tags+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/SQS/ListQueues.hs view
@@ -0,0 +1,262 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.ListQueues+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of your queues in the current region. The response+-- includes a maximum of 1,000 results. If you specify a value for the+-- optional @QueueNamePrefix@ parameter, only queues with a name that+-- begins with the specified value are returned.+--+-- The @listQueues@ methods supports pagination. Set parameter @MaxResults@+-- in the request to specify the maximum number of results to be returned+-- in the response. If you do not set @MaxResults@, the response includes a+-- maximum of 1,000 results. If you set @MaxResults@ and there are+-- additional results to display, the response includes a value for+-- @NextToken@. Use @NextToken@ as a parameter in your next request to+-- @listQueues@ to receive the next page of results.+--+-- Cross-account permissions don\'t apply to this action. For more+-- information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name Grant cross-account permissions to a role and a user name>+-- in the /Amazon SQS Developer Guide/.+--+-- This operation returns paginated results.+module Amazonka.SQS.ListQueues+  ( -- * Creating a Request+    ListQueues (..),+    newListQueues,++    -- * Request Lenses+    listQueues_maxResults,+    listQueues_nextToken,+    listQueues_queueNamePrefix,++    -- * Destructuring the Response+    ListQueuesResponse (..),+    newListQueuesResponse,++    -- * Response Lenses+    listQueuesResponse_nextToken,+    listQueuesResponse_queueUrls,+    listQueuesResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newListQueues' smart constructor.+data ListQueues = ListQueues'+  { -- | Maximum number of results to include in the response. Value range is 1+    -- to 1000. You must set @MaxResults@ to receive a value for @NextToken@ in+    -- the response.+    maxResults :: Prelude.Maybe Prelude.Int,+    -- | Pagination token to request the next set of results.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | A string to use for filtering the list results. Only those queues whose+    -- name begins with the specified string are returned.+    --+    -- Queue URLs and names are case-sensitive.+    queueNamePrefix :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListQueues' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listQueues_maxResults' - Maximum number of results to include in the response. Value range is 1+-- to 1000. You must set @MaxResults@ to receive a value for @NextToken@ in+-- the response.+--+-- 'nextToken', 'listQueues_nextToken' - Pagination token to request the next set of results.+--+-- 'queueNamePrefix', 'listQueues_queueNamePrefix' - A string to use for filtering the list results. Only those queues whose+-- name begins with the specified string are returned.+--+-- Queue URLs and names are case-sensitive.+newListQueues ::+  ListQueues+newListQueues =+  ListQueues'+    { maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      queueNamePrefix = Prelude.Nothing+    }++-- | Maximum number of results to include in the response. Value range is 1+-- to 1000. You must set @MaxResults@ to receive a value for @NextToken@ in+-- the response.+listQueues_maxResults :: Lens.Lens' ListQueues (Prelude.Maybe Prelude.Int)+listQueues_maxResults = Lens.lens (\ListQueues' {maxResults} -> maxResults) (\s@ListQueues' {} a -> s {maxResults = a} :: ListQueues)++-- | Pagination token to request the next set of results.+listQueues_nextToken :: Lens.Lens' ListQueues (Prelude.Maybe Prelude.Text)+listQueues_nextToken = Lens.lens (\ListQueues' {nextToken} -> nextToken) (\s@ListQueues' {} a -> s {nextToken = a} :: ListQueues)++-- | A string to use for filtering the list results. Only those queues whose+-- name begins with the specified string are returned.+--+-- Queue URLs and names are case-sensitive.+listQueues_queueNamePrefix :: Lens.Lens' ListQueues (Prelude.Maybe Prelude.Text)+listQueues_queueNamePrefix = Lens.lens (\ListQueues' {queueNamePrefix} -> queueNamePrefix) (\s@ListQueues' {} a -> s {queueNamePrefix = a} :: ListQueues)++instance Core.AWSPager ListQueues where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listQueuesResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listQueuesResponse_queueUrls+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listQueues_nextToken+          Lens..~ rs+          Lens.^? listQueuesResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListQueues where+  type AWSResponse ListQueues = ListQueuesResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveXMLWrapper+      "ListQueuesResult"+      ( \s h x ->+          ListQueuesResponse'+            Prelude.<$> (x Data..@? "NextToken")+            Prelude.<*> (Core.may (Data.parseXMLList "QueueUrl") x)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListQueues where+  hashWithSalt _salt ListQueues' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` queueNamePrefix++instance Prelude.NFData ListQueues where+  rnf ListQueues' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf queueNamePrefix++instance Data.ToHeaders ListQueues where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath ListQueues where+  toPath = Prelude.const "/"++instance Data.ToQuery ListQueues where+  toQuery ListQueues' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("ListQueues" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "MaxResults" Data.=: maxResults,+        "NextToken" Data.=: nextToken,+        "QueueNamePrefix" Data.=: queueNamePrefix+      ]++-- | A list of your queues.+--+-- /See:/ 'newListQueuesResponse' smart constructor.+data ListQueuesResponse = ListQueuesResponse'+  { -- | Pagination token to include in the next request. Token value is @null@+    -- if there are no additional results to request, or if you did not set+    -- @MaxResults@ in the request.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | A list of queue URLs, up to 1,000 entries, or the value of MaxResults+    -- that you sent in the request.+    queueUrls :: Prelude.Maybe [Prelude.Text],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListQueuesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listQueuesResponse_nextToken' - Pagination token to include in the next request. Token value is @null@+-- if there are no additional results to request, or if you did not set+-- @MaxResults@ in the request.+--+-- 'queueUrls', 'listQueuesResponse_queueUrls' - A list of queue URLs, up to 1,000 entries, or the value of MaxResults+-- that you sent in the request.+--+-- 'httpStatus', 'listQueuesResponse_httpStatus' - The response's http status code.+newListQueuesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListQueuesResponse+newListQueuesResponse pHttpStatus_ =+  ListQueuesResponse'+    { nextToken = Prelude.Nothing,+      queueUrls = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | Pagination token to include in the next request. Token value is @null@+-- if there are no additional results to request, or if you did not set+-- @MaxResults@ in the request.+listQueuesResponse_nextToken :: Lens.Lens' ListQueuesResponse (Prelude.Maybe Prelude.Text)+listQueuesResponse_nextToken = Lens.lens (\ListQueuesResponse' {nextToken} -> nextToken) (\s@ListQueuesResponse' {} a -> s {nextToken = a} :: ListQueuesResponse)++-- | A list of queue URLs, up to 1,000 entries, or the value of MaxResults+-- that you sent in the request.+listQueuesResponse_queueUrls :: Lens.Lens' ListQueuesResponse (Prelude.Maybe [Prelude.Text])+listQueuesResponse_queueUrls = Lens.lens (\ListQueuesResponse' {queueUrls} -> queueUrls) (\s@ListQueuesResponse' {} a -> s {queueUrls = a} :: ListQueuesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listQueuesResponse_httpStatus :: Lens.Lens' ListQueuesResponse Prelude.Int+listQueuesResponse_httpStatus = Lens.lens (\ListQueuesResponse' {httpStatus} -> httpStatus) (\s@ListQueuesResponse' {} a -> s {httpStatus = a} :: ListQueuesResponse)++instance Prelude.NFData ListQueuesResponse where+  rnf ListQueuesResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf queueUrls+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/SQS/PurgeQueue.hs view
@@ -0,0 +1,140 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.PurgeQueue+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the messages in a queue specified by the @QueueURL@ parameter.+--+-- When you use the @PurgeQueue@ action, you can\'t retrieve any messages+-- deleted from a queue.+--+-- The message deletion process takes up to 60 seconds. We recommend+-- waiting for 60 seconds regardless of your queue\'s size.+--+-- Messages sent to the queue /before/ you call @PurgeQueue@ might be+-- received but are deleted within the next minute.+--+-- Messages sent to the queue /after/ you call @PurgeQueue@ might be+-- deleted while the queue is being purged.+module Amazonka.SQS.PurgeQueue+  ( -- * Creating a Request+    PurgeQueue (..),+    newPurgeQueue,++    -- * Request Lenses+    purgeQueue_queueUrl,++    -- * Destructuring the Response+    PurgeQueueResponse (..),+    newPurgeQueueResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newPurgeQueue' smart constructor.+data PurgeQueue = PurgeQueue'+  { -- | The URL of the queue from which the @PurgeQueue@ action deletes+    -- messages.+    --+    -- Queue URLs and names are case-sensitive.+    queueUrl :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PurgeQueue' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueUrl', 'purgeQueue_queueUrl' - The URL of the queue from which the @PurgeQueue@ action deletes+-- messages.+--+-- Queue URLs and names are case-sensitive.+newPurgeQueue ::+  -- | 'queueUrl'+  Prelude.Text ->+  PurgeQueue+newPurgeQueue pQueueUrl_ =+  PurgeQueue' {queueUrl = pQueueUrl_}++-- | The URL of the queue from which the @PurgeQueue@ action deletes+-- messages.+--+-- Queue URLs and names are case-sensitive.+purgeQueue_queueUrl :: Lens.Lens' PurgeQueue Prelude.Text+purgeQueue_queueUrl = Lens.lens (\PurgeQueue' {queueUrl} -> queueUrl) (\s@PurgeQueue' {} a -> s {queueUrl = a} :: PurgeQueue)++instance Core.AWSRequest PurgeQueue where+  type AWSResponse PurgeQueue = PurgeQueueResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response = Response.receiveNull PurgeQueueResponse'++instance Prelude.Hashable PurgeQueue where+  hashWithSalt _salt PurgeQueue' {..} =+    _salt `Prelude.hashWithSalt` queueUrl++instance Prelude.NFData PurgeQueue where+  rnf PurgeQueue' {..} = Prelude.rnf queueUrl++instance Data.ToHeaders PurgeQueue where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath PurgeQueue where+  toPath = Prelude.const "/"++instance Data.ToQuery PurgeQueue where+  toQuery PurgeQueue' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("PurgeQueue" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "QueueUrl" Data.=: queueUrl+      ]++-- | /See:/ 'newPurgeQueueResponse' smart constructor.+data PurgeQueueResponse = PurgeQueueResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PurgeQueueResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newPurgeQueueResponse ::+  PurgeQueueResponse+newPurgeQueueResponse = PurgeQueueResponse'++instance Prelude.NFData PurgeQueueResponse where+  rnf _ = ()
+ gen/Amazonka/SQS/ReceiveMessage.hs view
@@ -0,0 +1,707 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.ReceiveMessage+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves one or more messages (up to 10), from the specified queue.+-- Using the @WaitTimeSeconds@ parameter enables long-poll support. For+-- more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-long-polling.html Amazon SQS Long Polling>+-- in the /Amazon SQS Developer Guide/.+--+-- Short poll is the default behavior where a weighted random set of+-- machines is sampled on a @ReceiveMessage@ call. Thus, only the messages+-- on the sampled machines are returned. If the number of messages in the+-- queue is small (fewer than 1,000), you most likely get fewer messages+-- than you requested per @ReceiveMessage@ call. If the number of messages+-- in the queue is extremely small, you might not receive any messages in a+-- particular @ReceiveMessage@ response. If this happens, repeat the+-- request.+--+-- For each message returned, the response includes the following:+--+-- -   The message body.+--+-- -   An MD5 digest of the message body. For information about MD5, see+--     <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+--+-- -   The @MessageId@ you received when you sent the message to the queue.+--+-- -   The receipt handle.+--+-- -   The message attributes.+--+-- -   An MD5 digest of the message attributes.+--+-- The receipt handle is the identifier you must provide when deleting the+-- message. For more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-message-identifiers.html Queue and Message Identifiers>+-- in the /Amazon SQS Developer Guide/.+--+-- You can provide the @VisibilityTimeout@ parameter in your request. The+-- parameter is applied to the messages that Amazon SQS returns in the+-- response. If you don\'t include the parameter, the overall visibility+-- timeout for the queue is used for the returned messages. For more+-- information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout>+-- in the /Amazon SQS Developer Guide/.+--+-- A message that isn\'t deleted or a message whose visibility isn\'t+-- extended before the visibility timeout expires counts as a failed+-- receive. Depending on the configuration of the queue, the message might+-- be sent to the dead-letter queue.+--+-- In the future, new attributes might be added. If you write code that+-- calls this action, we recommend that you structure your code so that it+-- can handle new attributes gracefully.+module Amazonka.SQS.ReceiveMessage+  ( -- * Creating a Request+    ReceiveMessage (..),+    newReceiveMessage,++    -- * Request Lenses+    receiveMessage_attributeNames,+    receiveMessage_maxNumberOfMessages,+    receiveMessage_messageAttributeNames,+    receiveMessage_receiveRequestAttemptId,+    receiveMessage_visibilityTimeout,+    receiveMessage_waitTimeSeconds,+    receiveMessage_queueUrl,++    -- * Destructuring the Response+    ReceiveMessageResponse (..),+    newReceiveMessageResponse,++    -- * Response Lenses+    receiveMessageResponse_messages,+    receiveMessageResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newReceiveMessage' smart constructor.+data ReceiveMessage = ReceiveMessage'+  { -- | A list of attributes that need to be returned along with each message.+    -- These attributes include:+    --+    -- -   @All@ – Returns all values.+    --+    -- -   @ApproximateFirstReceiveTimestamp@ – Returns the time the message+    --     was first received from the queue+    --     (<http://en.wikipedia.org/wiki/Unix_time epoch time> in+    --     milliseconds).+    --+    -- -   @ApproximateReceiveCount@ – Returns the number of times a message+    --     has been received across all queues but not deleted.+    --+    -- -   @AWSTraceHeader@ – Returns the X-Ray trace header string.+    --+    -- -   @SenderId@+    --+    --     -   For an IAM user, returns the IAM user ID, for example+    --         @ABCDEFGHI1JKLMNOPQ23R@.+    --+    --     -   For an IAM role, returns the IAM role ID, for example+    --         @ABCDE1F2GH3I4JK5LMNOP:i-a123b456@.+    --+    -- -   @SentTimestamp@ – Returns the time the message was sent to the queue+    --     (<http://en.wikipedia.org/wiki/Unix_time epoch time> in+    --     milliseconds).+    --+    -- -   @SqsManagedSseEnabled@ – Enables server-side queue encryption using+    --     SQS owned encryption keys. Only one server-side encryption option is+    --     supported per queue (e.g.+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html SSE-KMS>+    --     or+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html SSE-SQS>).+    --+    -- -   @MessageDeduplicationId@ – Returns the value provided by the+    --     producer that calls the @ @@SendMessage@@ @ action.+    --+    -- -   @MessageGroupId@ – Returns the value provided by the producer that+    --     calls the @ @@SendMessage@@ @ action. Messages with the same+    --     @MessageGroupId@ are returned in sequence.+    --+    -- -   @SequenceNumber@ – Returns the value provided by Amazon SQS.+    attributeNames :: Prelude.Maybe [MessageAttribute],+    -- | The maximum number of messages to return. Amazon SQS never returns more+    -- messages than this value (however, fewer messages might be returned).+    -- Valid values: 1 to 10. Default: 1.+    maxNumberOfMessages :: Prelude.Maybe Prelude.Int,+    -- | The name of the message attribute, where /N/ is the index.+    --+    -- -   The name can contain alphanumeric characters and the underscore+    --     (@_@), hyphen (@-@), and period (@.@).+    --+    -- -   The name is case-sensitive and must be unique among all attribute+    --     names for the message.+    --+    -- -   The name must not start with AWS-reserved prefixes such as @AWS.@ or+    --     @Amazon.@ (or any casing variants).+    --+    -- -   The name must not start or end with a period (@.@), and it should+    --     not have periods in succession (@..@).+    --+    -- -   The name can be up to 256 characters long.+    --+    -- 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 all message attributes starting+    -- with a prefix, for example @bar.*@.+    messageAttributeNames :: Prelude.Maybe [Prelude.Text],+    -- | This parameter applies only to FIFO (first-in-first-out) queues.+    --+    -- The token used for deduplication of @ReceiveMessage@ calls. If a+    -- networking issue occurs after a @ReceiveMessage@ action, and instead of+    -- a response you receive a generic error, it is possible to retry the same+    -- action with an identical @ReceiveRequestAttemptId@ to retrieve the same+    -- set of messages, even if their visibility timeout has not yet expired.+    --+    -- -   You can use @ReceiveRequestAttemptId@ only for 5 minutes after a+    --     @ReceiveMessage@ action.+    --+    -- -   When you set @FifoQueue@, a caller of the @ReceiveMessage@ action+    --     can provide a @ReceiveRequestAttemptId@ explicitly.+    --+    -- -   If a caller of the @ReceiveMessage@ action doesn\'t provide a+    --     @ReceiveRequestAttemptId@, Amazon SQS generates a+    --     @ReceiveRequestAttemptId@.+    --+    -- -   It is possible to retry the @ReceiveMessage@ action with the same+    --     @ReceiveRequestAttemptId@ if none of the messages have been modified+    --     (deleted or had their visibility changes).+    --+    -- -   During a visibility timeout, subsequent calls with the same+    --     @ReceiveRequestAttemptId@ return the same messages and receipt+    --     handles. If a retry occurs within the deduplication interval, it+    --     resets the visibility timeout. For more information, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout>+    --     in the /Amazon SQS Developer Guide/.+    --+    --     If a caller of the @ReceiveMessage@ action still processes messages+    --     when the visibility timeout expires and messages become visible,+    --     another worker consuming from the same queue can receive the same+    --     messages and therefore process duplicates. Also, if a consumer whose+    --     message processing time is longer than the visibility timeout tries+    --     to delete the processed messages, the action fails with an error.+    --+    --     To mitigate this effect, ensure that your application observes a+    --     safe threshold before the visibility timeout expires and extend the+    --     visibility timeout as necessary.+    --+    -- -   While messages with a particular @MessageGroupId@ are invisible, no+    --     more messages belonging to the same @MessageGroupId@ are returned+    --     until the visibility timeout expires. You can still receive messages+    --     with another @MessageGroupId@ as long as it is also visible.+    --+    -- -   If a caller of @ReceiveMessage@ can\'t track the+    --     @ReceiveRequestAttemptId@, no retries work until the original+    --     visibility timeout expires. As a result, delays might occur but the+    --     messages in the queue remain in a strict order.+    --+    -- The maximum length of @ReceiveRequestAttemptId@ is 128 characters.+    -- @ReceiveRequestAttemptId@ can contain alphanumeric characters (@a-z@,+    -- @A-Z@, @0-9@) and punctuation+    -- (@!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~@).+    --+    -- For best practices of using @ReceiveRequestAttemptId@, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-receiverequestattemptid-request-parameter.html Using the ReceiveRequestAttemptId Request Parameter>+    -- in the /Amazon SQS Developer Guide/.+    receiveRequestAttemptId :: Prelude.Maybe Prelude.Text,+    -- | The duration (in seconds) that the received messages are hidden from+    -- subsequent retrieve requests after being retrieved by a @ReceiveMessage@+    -- request.+    visibilityTimeout :: Prelude.Maybe Prelude.Int,+    -- | The duration (in seconds) for which the call waits for a message to+    -- arrive in the queue before returning. If a message is available, the+    -- call returns sooner than @WaitTimeSeconds@. If no messages are available+    -- and the wait time expires, the call returns successfully with an empty+    -- list of messages.+    --+    -- To avoid HTTP errors, ensure that the HTTP response timeout for+    -- @ReceiveMessage@ requests is longer than the @WaitTimeSeconds@+    -- parameter. For example, with the Java SDK, you can set HTTP transport+    -- settings using the+    -- <https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/nio/netty/NettyNioAsyncHttpClient.html NettyNioAsyncHttpClient>+    -- for asynchronous clients, or the+    -- <https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/apache/ApacheHttpClient.html ApacheHttpClient>+    -- for synchronous clients.+    waitTimeSeconds :: Prelude.Maybe Prelude.Int,+    -- | The URL of the Amazon SQS queue from which messages are received.+    --+    -- Queue URLs and names are case-sensitive.+    queueUrl :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ReceiveMessage' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'attributeNames', 'receiveMessage_attributeNames' - A list of attributes that need to be returned along with each message.+-- These attributes include:+--+-- -   @All@ – Returns all values.+--+-- -   @ApproximateFirstReceiveTimestamp@ – Returns the time the message+--     was first received from the queue+--     (<http://en.wikipedia.org/wiki/Unix_time epoch time> in+--     milliseconds).+--+-- -   @ApproximateReceiveCount@ – Returns the number of times a message+--     has been received across all queues but not deleted.+--+-- -   @AWSTraceHeader@ – Returns the X-Ray trace header string.+--+-- -   @SenderId@+--+--     -   For an IAM user, returns the IAM user ID, for example+--         @ABCDEFGHI1JKLMNOPQ23R@.+--+--     -   For an IAM role, returns the IAM role ID, for example+--         @ABCDE1F2GH3I4JK5LMNOP:i-a123b456@.+--+-- -   @SentTimestamp@ – Returns the time the message was sent to the queue+--     (<http://en.wikipedia.org/wiki/Unix_time epoch time> in+--     milliseconds).+--+-- -   @SqsManagedSseEnabled@ – Enables server-side queue encryption using+--     SQS owned encryption keys. Only one server-side encryption option is+--     supported per queue (e.g.+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html SSE-KMS>+--     or+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html SSE-SQS>).+--+-- -   @MessageDeduplicationId@ – Returns the value provided by the+--     producer that calls the @ @@SendMessage@@ @ action.+--+-- -   @MessageGroupId@ – Returns the value provided by the producer that+--     calls the @ @@SendMessage@@ @ action. Messages with the same+--     @MessageGroupId@ are returned in sequence.+--+-- -   @SequenceNumber@ – Returns the value provided by Amazon SQS.+--+-- 'maxNumberOfMessages', 'receiveMessage_maxNumberOfMessages' - The maximum number of messages to return. Amazon SQS never returns more+-- messages than this value (however, fewer messages might be returned).+-- Valid values: 1 to 10. Default: 1.+--+-- 'messageAttributeNames', 'receiveMessage_messageAttributeNames' - The name of the message attribute, where /N/ is the index.+--+-- -   The name can contain alphanumeric characters and the underscore+--     (@_@), hyphen (@-@), and period (@.@).+--+-- -   The name is case-sensitive and must be unique among all attribute+--     names for the message.+--+-- -   The name must not start with AWS-reserved prefixes such as @AWS.@ or+--     @Amazon.@ (or any casing variants).+--+-- -   The name must not start or end with a period (@.@), and it should+--     not have periods in succession (@..@).+--+-- -   The name can be up to 256 characters long.+--+-- 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 all message attributes starting+-- with a prefix, for example @bar.*@.+--+-- 'receiveRequestAttemptId', 'receiveMessage_receiveRequestAttemptId' - This parameter applies only to FIFO (first-in-first-out) queues.+--+-- The token used for deduplication of @ReceiveMessage@ calls. If a+-- networking issue occurs after a @ReceiveMessage@ action, and instead of+-- a response you receive a generic error, it is possible to retry the same+-- action with an identical @ReceiveRequestAttemptId@ to retrieve the same+-- set of messages, even if their visibility timeout has not yet expired.+--+-- -   You can use @ReceiveRequestAttemptId@ only for 5 minutes after a+--     @ReceiveMessage@ action.+--+-- -   When you set @FifoQueue@, a caller of the @ReceiveMessage@ action+--     can provide a @ReceiveRequestAttemptId@ explicitly.+--+-- -   If a caller of the @ReceiveMessage@ action doesn\'t provide a+--     @ReceiveRequestAttemptId@, Amazon SQS generates a+--     @ReceiveRequestAttemptId@.+--+-- -   It is possible to retry the @ReceiveMessage@ action with the same+--     @ReceiveRequestAttemptId@ if none of the messages have been modified+--     (deleted or had their visibility changes).+--+-- -   During a visibility timeout, subsequent calls with the same+--     @ReceiveRequestAttemptId@ return the same messages and receipt+--     handles. If a retry occurs within the deduplication interval, it+--     resets the visibility timeout. For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout>+--     in the /Amazon SQS Developer Guide/.+--+--     If a caller of the @ReceiveMessage@ action still processes messages+--     when the visibility timeout expires and messages become visible,+--     another worker consuming from the same queue can receive the same+--     messages and therefore process duplicates. Also, if a consumer whose+--     message processing time is longer than the visibility timeout tries+--     to delete the processed messages, the action fails with an error.+--+--     To mitigate this effect, ensure that your application observes a+--     safe threshold before the visibility timeout expires and extend the+--     visibility timeout as necessary.+--+-- -   While messages with a particular @MessageGroupId@ are invisible, no+--     more messages belonging to the same @MessageGroupId@ are returned+--     until the visibility timeout expires. You can still receive messages+--     with another @MessageGroupId@ as long as it is also visible.+--+-- -   If a caller of @ReceiveMessage@ can\'t track the+--     @ReceiveRequestAttemptId@, no retries work until the original+--     visibility timeout expires. As a result, delays might occur but the+--     messages in the queue remain in a strict order.+--+-- The maximum length of @ReceiveRequestAttemptId@ is 128 characters.+-- @ReceiveRequestAttemptId@ can contain alphanumeric characters (@a-z@,+-- @A-Z@, @0-9@) and punctuation+-- (@!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~@).+--+-- For best practices of using @ReceiveRequestAttemptId@, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-receiverequestattemptid-request-parameter.html Using the ReceiveRequestAttemptId Request Parameter>+-- in the /Amazon SQS Developer Guide/.+--+-- 'visibilityTimeout', 'receiveMessage_visibilityTimeout' - The duration (in seconds) that the received messages are hidden from+-- subsequent retrieve requests after being retrieved by a @ReceiveMessage@+-- request.+--+-- 'waitTimeSeconds', 'receiveMessage_waitTimeSeconds' - The duration (in seconds) for which the call waits for a message to+-- arrive in the queue before returning. If a message is available, the+-- call returns sooner than @WaitTimeSeconds@. If no messages are available+-- and the wait time expires, the call returns successfully with an empty+-- list of messages.+--+-- To avoid HTTP errors, ensure that the HTTP response timeout for+-- @ReceiveMessage@ requests is longer than the @WaitTimeSeconds@+-- parameter. For example, with the Java SDK, you can set HTTP transport+-- settings using the+-- <https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/nio/netty/NettyNioAsyncHttpClient.html NettyNioAsyncHttpClient>+-- for asynchronous clients, or the+-- <https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/apache/ApacheHttpClient.html ApacheHttpClient>+-- for synchronous clients.+--+-- 'queueUrl', 'receiveMessage_queueUrl' - The URL of the Amazon SQS queue from which messages are received.+--+-- Queue URLs and names are case-sensitive.+newReceiveMessage ::+  -- | 'queueUrl'+  Prelude.Text ->+  ReceiveMessage+newReceiveMessage pQueueUrl_ =+  ReceiveMessage'+    { attributeNames = Prelude.Nothing,+      maxNumberOfMessages = Prelude.Nothing,+      messageAttributeNames = Prelude.Nothing,+      receiveRequestAttemptId = Prelude.Nothing,+      visibilityTimeout = Prelude.Nothing,+      waitTimeSeconds = Prelude.Nothing,+      queueUrl = pQueueUrl_+    }++-- | A list of attributes that need to be returned along with each message.+-- These attributes include:+--+-- -   @All@ – Returns all values.+--+-- -   @ApproximateFirstReceiveTimestamp@ – Returns the time the message+--     was first received from the queue+--     (<http://en.wikipedia.org/wiki/Unix_time epoch time> in+--     milliseconds).+--+-- -   @ApproximateReceiveCount@ – Returns the number of times a message+--     has been received across all queues but not deleted.+--+-- -   @AWSTraceHeader@ – Returns the X-Ray trace header string.+--+-- -   @SenderId@+--+--     -   For an IAM user, returns the IAM user ID, for example+--         @ABCDEFGHI1JKLMNOPQ23R@.+--+--     -   For an IAM role, returns the IAM role ID, for example+--         @ABCDE1F2GH3I4JK5LMNOP:i-a123b456@.+--+-- -   @SentTimestamp@ – Returns the time the message was sent to the queue+--     (<http://en.wikipedia.org/wiki/Unix_time epoch time> in+--     milliseconds).+--+-- -   @SqsManagedSseEnabled@ – Enables server-side queue encryption using+--     SQS owned encryption keys. Only one server-side encryption option is+--     supported per queue (e.g.+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html SSE-KMS>+--     or+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html SSE-SQS>).+--+-- -   @MessageDeduplicationId@ – Returns the value provided by the+--     producer that calls the @ @@SendMessage@@ @ action.+--+-- -   @MessageGroupId@ – Returns the value provided by the producer that+--     calls the @ @@SendMessage@@ @ action. Messages with the same+--     @MessageGroupId@ are returned in sequence.+--+-- -   @SequenceNumber@ – Returns the value provided by Amazon SQS.+receiveMessage_attributeNames :: Lens.Lens' ReceiveMessage (Prelude.Maybe [MessageAttribute])+receiveMessage_attributeNames = Lens.lens (\ReceiveMessage' {attributeNames} -> attributeNames) (\s@ReceiveMessage' {} a -> s {attributeNames = a} :: ReceiveMessage) Prelude.. Lens.mapping Lens.coerced++-- | The maximum number of messages to return. Amazon SQS never returns more+-- messages than this value (however, fewer messages might be returned).+-- Valid values: 1 to 10. Default: 1.+receiveMessage_maxNumberOfMessages :: Lens.Lens' ReceiveMessage (Prelude.Maybe Prelude.Int)+receiveMessage_maxNumberOfMessages = Lens.lens (\ReceiveMessage' {maxNumberOfMessages} -> maxNumberOfMessages) (\s@ReceiveMessage' {} a -> s {maxNumberOfMessages = a} :: ReceiveMessage)++-- | The name of the message attribute, where /N/ is the index.+--+-- -   The name can contain alphanumeric characters and the underscore+--     (@_@), hyphen (@-@), and period (@.@).+--+-- -   The name is case-sensitive and must be unique among all attribute+--     names for the message.+--+-- -   The name must not start with AWS-reserved prefixes such as @AWS.@ or+--     @Amazon.@ (or any casing variants).+--+-- -   The name must not start or end with a period (@.@), and it should+--     not have periods in succession (@..@).+--+-- -   The name can be up to 256 characters long.+--+-- 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 all message attributes starting+-- with a prefix, for example @bar.*@.+receiveMessage_messageAttributeNames :: Lens.Lens' ReceiveMessage (Prelude.Maybe [Prelude.Text])+receiveMessage_messageAttributeNames = Lens.lens (\ReceiveMessage' {messageAttributeNames} -> messageAttributeNames) (\s@ReceiveMessage' {} a -> s {messageAttributeNames = a} :: ReceiveMessage) Prelude.. Lens.mapping Lens.coerced++-- | This parameter applies only to FIFO (first-in-first-out) queues.+--+-- The token used for deduplication of @ReceiveMessage@ calls. If a+-- networking issue occurs after a @ReceiveMessage@ action, and instead of+-- a response you receive a generic error, it is possible to retry the same+-- action with an identical @ReceiveRequestAttemptId@ to retrieve the same+-- set of messages, even if their visibility timeout has not yet expired.+--+-- -   You can use @ReceiveRequestAttemptId@ only for 5 minutes after a+--     @ReceiveMessage@ action.+--+-- -   When you set @FifoQueue@, a caller of the @ReceiveMessage@ action+--     can provide a @ReceiveRequestAttemptId@ explicitly.+--+-- -   If a caller of the @ReceiveMessage@ action doesn\'t provide a+--     @ReceiveRequestAttemptId@, Amazon SQS generates a+--     @ReceiveRequestAttemptId@.+--+-- -   It is possible to retry the @ReceiveMessage@ action with the same+--     @ReceiveRequestAttemptId@ if none of the messages have been modified+--     (deleted or had their visibility changes).+--+-- -   During a visibility timeout, subsequent calls with the same+--     @ReceiveRequestAttemptId@ return the same messages and receipt+--     handles. If a retry occurs within the deduplication interval, it+--     resets the visibility timeout. For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout>+--     in the /Amazon SQS Developer Guide/.+--+--     If a caller of the @ReceiveMessage@ action still processes messages+--     when the visibility timeout expires and messages become visible,+--     another worker consuming from the same queue can receive the same+--     messages and therefore process duplicates. Also, if a consumer whose+--     message processing time is longer than the visibility timeout tries+--     to delete the processed messages, the action fails with an error.+--+--     To mitigate this effect, ensure that your application observes a+--     safe threshold before the visibility timeout expires and extend the+--     visibility timeout as necessary.+--+-- -   While messages with a particular @MessageGroupId@ are invisible, no+--     more messages belonging to the same @MessageGroupId@ are returned+--     until the visibility timeout expires. You can still receive messages+--     with another @MessageGroupId@ as long as it is also visible.+--+-- -   If a caller of @ReceiveMessage@ can\'t track the+--     @ReceiveRequestAttemptId@, no retries work until the original+--     visibility timeout expires. As a result, delays might occur but the+--     messages in the queue remain in a strict order.+--+-- The maximum length of @ReceiveRequestAttemptId@ is 128 characters.+-- @ReceiveRequestAttemptId@ can contain alphanumeric characters (@a-z@,+-- @A-Z@, @0-9@) and punctuation+-- (@!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~@).+--+-- For best practices of using @ReceiveRequestAttemptId@, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-receiverequestattemptid-request-parameter.html Using the ReceiveRequestAttemptId Request Parameter>+-- in the /Amazon SQS Developer Guide/.+receiveMessage_receiveRequestAttemptId :: Lens.Lens' ReceiveMessage (Prelude.Maybe Prelude.Text)+receiveMessage_receiveRequestAttemptId = Lens.lens (\ReceiveMessage' {receiveRequestAttemptId} -> receiveRequestAttemptId) (\s@ReceiveMessage' {} a -> s {receiveRequestAttemptId = a} :: ReceiveMessage)++-- | The duration (in seconds) that the received messages are hidden from+-- subsequent retrieve requests after being retrieved by a @ReceiveMessage@+-- request.+receiveMessage_visibilityTimeout :: Lens.Lens' ReceiveMessage (Prelude.Maybe Prelude.Int)+receiveMessage_visibilityTimeout = Lens.lens (\ReceiveMessage' {visibilityTimeout} -> visibilityTimeout) (\s@ReceiveMessage' {} a -> s {visibilityTimeout = a} :: ReceiveMessage)++-- | The duration (in seconds) for which the call waits for a message to+-- arrive in the queue before returning. If a message is available, the+-- call returns sooner than @WaitTimeSeconds@. If no messages are available+-- and the wait time expires, the call returns successfully with an empty+-- list of messages.+--+-- To avoid HTTP errors, ensure that the HTTP response timeout for+-- @ReceiveMessage@ requests is longer than the @WaitTimeSeconds@+-- parameter. For example, with the Java SDK, you can set HTTP transport+-- settings using the+-- <https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/nio/netty/NettyNioAsyncHttpClient.html NettyNioAsyncHttpClient>+-- for asynchronous clients, or the+-- <https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/apache/ApacheHttpClient.html ApacheHttpClient>+-- for synchronous clients.+receiveMessage_waitTimeSeconds :: Lens.Lens' ReceiveMessage (Prelude.Maybe Prelude.Int)+receiveMessage_waitTimeSeconds = Lens.lens (\ReceiveMessage' {waitTimeSeconds} -> waitTimeSeconds) (\s@ReceiveMessage' {} a -> s {waitTimeSeconds = a} :: ReceiveMessage)++-- | The URL of the Amazon SQS queue from which messages are received.+--+-- Queue URLs and names are case-sensitive.+receiveMessage_queueUrl :: Lens.Lens' ReceiveMessage Prelude.Text+receiveMessage_queueUrl = Lens.lens (\ReceiveMessage' {queueUrl} -> queueUrl) (\s@ReceiveMessage' {} a -> s {queueUrl = a} :: ReceiveMessage)++instance Core.AWSRequest ReceiveMessage where+  type+    AWSResponse ReceiveMessage =+      ReceiveMessageResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveXMLWrapper+      "ReceiveMessageResult"+      ( \s h x ->+          ReceiveMessageResponse'+            Prelude.<$> (Core.may (Data.parseXMLList "Message") x)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ReceiveMessage where+  hashWithSalt _salt ReceiveMessage' {..} =+    _salt+      `Prelude.hashWithSalt` attributeNames+      `Prelude.hashWithSalt` maxNumberOfMessages+      `Prelude.hashWithSalt` messageAttributeNames+      `Prelude.hashWithSalt` receiveRequestAttemptId+      `Prelude.hashWithSalt` visibilityTimeout+      `Prelude.hashWithSalt` waitTimeSeconds+      `Prelude.hashWithSalt` queueUrl++instance Prelude.NFData ReceiveMessage where+  rnf ReceiveMessage' {..} =+    Prelude.rnf attributeNames+      `Prelude.seq` Prelude.rnf maxNumberOfMessages+      `Prelude.seq` Prelude.rnf messageAttributeNames+      `Prelude.seq` Prelude.rnf receiveRequestAttemptId+      `Prelude.seq` Prelude.rnf visibilityTimeout+      `Prelude.seq` Prelude.rnf waitTimeSeconds+      `Prelude.seq` Prelude.rnf queueUrl++instance Data.ToHeaders ReceiveMessage where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath ReceiveMessage where+  toPath = Prelude.const "/"++instance Data.ToQuery ReceiveMessage where+  toQuery ReceiveMessage' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("ReceiveMessage" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        Data.toQuery+          ( Data.toQueryList "AttributeName"+              Prelude.<$> attributeNames+          ),+        "MaxNumberOfMessages" Data.=: maxNumberOfMessages,+        Data.toQuery+          ( Data.toQueryList "MessageAttributeName"+              Prelude.<$> messageAttributeNames+          ),+        "ReceiveRequestAttemptId"+          Data.=: receiveRequestAttemptId,+        "VisibilityTimeout" Data.=: visibilityTimeout,+        "WaitTimeSeconds" Data.=: waitTimeSeconds,+        "QueueUrl" Data.=: queueUrl+      ]++-- | A list of received messages.+--+-- /See:/ 'newReceiveMessageResponse' smart constructor.+data ReceiveMessageResponse = ReceiveMessageResponse'+  { -- | A list of messages.+    messages :: Prelude.Maybe [Message],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ReceiveMessageResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'messages', 'receiveMessageResponse_messages' - A list of messages.+--+-- 'httpStatus', 'receiveMessageResponse_httpStatus' - The response's http status code.+newReceiveMessageResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ReceiveMessageResponse+newReceiveMessageResponse pHttpStatus_ =+  ReceiveMessageResponse'+    { messages = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A list of messages.+receiveMessageResponse_messages :: Lens.Lens' ReceiveMessageResponse (Prelude.Maybe [Message])+receiveMessageResponse_messages = Lens.lens (\ReceiveMessageResponse' {messages} -> messages) (\s@ReceiveMessageResponse' {} a -> s {messages = a} :: ReceiveMessageResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+receiveMessageResponse_httpStatus :: Lens.Lens' ReceiveMessageResponse Prelude.Int+receiveMessageResponse_httpStatus = Lens.lens (\ReceiveMessageResponse' {httpStatus} -> httpStatus) (\s@ReceiveMessageResponse' {} a -> s {httpStatus = a} :: ReceiveMessageResponse)++instance Prelude.NFData ReceiveMessageResponse where+  rnf ReceiveMessageResponse' {..} =+    Prelude.rnf messages+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/SQS/RemovePermission.hs view
@@ -0,0 +1,163 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.RemovePermission+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Revokes any permissions in the queue policy that matches the specified+-- @Label@ parameter.+--+-- -   Only the owner of a queue can remove permissions from it.+--+-- -   Cross-account permissions don\'t apply to this action. For more+--     information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name Grant cross-account permissions to a role and a user name>+--     in the /Amazon SQS Developer Guide/.+--+-- -   To remove the ability to change queue permissions, you must deny+--     permission to the @AddPermission@, @RemovePermission@, and+--     @SetQueueAttributes@ actions in your IAM policy.+module Amazonka.SQS.RemovePermission+  ( -- * Creating a Request+    RemovePermission (..),+    newRemovePermission,++    -- * Request Lenses+    removePermission_queueUrl,+    removePermission_label,++    -- * Destructuring the Response+    RemovePermissionResponse (..),+    newRemovePermissionResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newRemovePermission' smart constructor.+data RemovePermission = RemovePermission'+  { -- | The URL of the Amazon SQS queue from which permissions are removed.+    --+    -- Queue URLs and names are case-sensitive.+    queueUrl :: Prelude.Text,+    -- | The identification of the permission to remove. This is the label added+    -- using the @ @@AddPermission@@ @ action.+    label :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RemovePermission' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueUrl', 'removePermission_queueUrl' - The URL of the Amazon SQS queue from which permissions are removed.+--+-- Queue URLs and names are case-sensitive.+--+-- 'label', 'removePermission_label' - The identification of the permission to remove. This is the label added+-- using the @ @@AddPermission@@ @ action.+newRemovePermission ::+  -- | 'queueUrl'+  Prelude.Text ->+  -- | 'label'+  Prelude.Text ->+  RemovePermission+newRemovePermission pQueueUrl_ pLabel_ =+  RemovePermission'+    { queueUrl = pQueueUrl_,+      label = pLabel_+    }++-- | The URL of the Amazon SQS queue from which permissions are removed.+--+-- Queue URLs and names are case-sensitive.+removePermission_queueUrl :: Lens.Lens' RemovePermission Prelude.Text+removePermission_queueUrl = Lens.lens (\RemovePermission' {queueUrl} -> queueUrl) (\s@RemovePermission' {} a -> s {queueUrl = a} :: RemovePermission)++-- | The identification of the permission to remove. This is the label added+-- using the @ @@AddPermission@@ @ action.+removePermission_label :: Lens.Lens' RemovePermission Prelude.Text+removePermission_label = Lens.lens (\RemovePermission' {label} -> label) (\s@RemovePermission' {} a -> s {label = a} :: RemovePermission)++instance Core.AWSRequest RemovePermission where+  type+    AWSResponse RemovePermission =+      RemovePermissionResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveNull RemovePermissionResponse'++instance Prelude.Hashable RemovePermission where+  hashWithSalt _salt RemovePermission' {..} =+    _salt+      `Prelude.hashWithSalt` queueUrl+      `Prelude.hashWithSalt` label++instance Prelude.NFData RemovePermission where+  rnf RemovePermission' {..} =+    Prelude.rnf queueUrl+      `Prelude.seq` Prelude.rnf label++instance Data.ToHeaders RemovePermission where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath RemovePermission where+  toPath = Prelude.const "/"++instance Data.ToQuery RemovePermission where+  toQuery RemovePermission' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("RemovePermission" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "QueueUrl" Data.=: queueUrl,+        "Label" Data.=: label+      ]++-- | /See:/ 'newRemovePermissionResponse' smart constructor.+data RemovePermissionResponse = RemovePermissionResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RemovePermissionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newRemovePermissionResponse ::+  RemovePermissionResponse+newRemovePermissionResponse =+  RemovePermissionResponse'++instance Prelude.NFData RemovePermissionResponse where+  rnf _ = ()
+ gen/Amazonka/SQS/SendMessage.hs view
@@ -0,0 +1,704 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.SendMessage+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delivers a message to the specified queue.+--+-- A message can include only XML, JSON, and unformatted text. The+-- following Unicode characters are allowed:+--+-- @#x9@ | @#xA@ | @#xD@ | @#x20@ to @#xD7FF@ | @#xE000@ to @#xFFFD@ |+-- @#x10000@ to @#x10FFFF@+--+-- Any characters not included in this list will be rejected. For more+-- information, see the+-- <http://www.w3.org/TR/REC-xml/#charsets W3C specification for characters>.+module Amazonka.SQS.SendMessage+  ( -- * Creating a Request+    SendMessage (..),+    newSendMessage,++    -- * Request Lenses+    sendMessage_delaySeconds,+    sendMessage_messageAttributes,+    sendMessage_messageDeduplicationId,+    sendMessage_messageGroupId,+    sendMessage_messageSystemAttributes,+    sendMessage_queueUrl,+    sendMessage_messageBody,++    -- * Destructuring the Response+    SendMessageResponse (..),+    newSendMessageResponse,++    -- * Response Lenses+    sendMessageResponse_mD5OfMessageAttributes,+    sendMessageResponse_mD5OfMessageBody,+    sendMessageResponse_mD5OfMessageSystemAttributes,+    sendMessageResponse_messageId,+    sendMessageResponse_sequenceNumber,+    sendMessageResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newSendMessage' smart constructor.+data SendMessage = SendMessage'+  { -- | The length of time, in seconds, for which to delay a specific message.+    -- Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive+    -- @DelaySeconds@ value become available for processing after the delay+    -- period is finished. If you don\'t specify a value, the default value for+    -- the queue applies.+    --+    -- When you set @FifoQueue@, you can\'t set @DelaySeconds@ per message. You+    -- can set this parameter only on a queue level.+    delaySeconds :: Prelude.Maybe Prelude.Int,+    -- | Each message attribute consists of a @Name@, @Type@, and @Value@. For+    -- more information, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS message attributes>+    -- in the /Amazon SQS Developer Guide/.+    messageAttributes :: Prelude.Maybe (Prelude.HashMap Prelude.Text MessageAttributeValue),+    -- | This parameter applies only to FIFO (first-in-first-out) queues.+    --+    -- The token used for deduplication of sent messages. If a message with a+    -- particular @MessageDeduplicationId@ is sent successfully, any messages+    -- sent with the same @MessageDeduplicationId@ are accepted successfully+    -- but aren\'t delivered during the 5-minute deduplication interval. For+    -- more information, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+    -- in the /Amazon SQS Developer Guide/.+    --+    -- -   Every message must have a unique @MessageDeduplicationId@,+    --+    --     -   You may provide a @MessageDeduplicationId@ explicitly.+    --+    --     -   If you aren\'t able to provide a @MessageDeduplicationId@ and+    --         you enable @ContentBasedDeduplication@ for your queue, Amazon+    --         SQS uses a SHA-256 hash to generate the @MessageDeduplicationId@+    --         using the body of the message (but not the attributes of the+    --         message).+    --+    --     -   If you don\'t provide a @MessageDeduplicationId@ and the queue+    --         doesn\'t have @ContentBasedDeduplication@ set, the action fails+    --         with an error.+    --+    --     -   If the queue has @ContentBasedDeduplication@ set, your+    --         @MessageDeduplicationId@ overrides the generated one.+    --+    -- -   When @ContentBasedDeduplication@ is in effect, messages with+    --     identical content sent within the deduplication interval are treated+    --     as duplicates and only one copy of the message is delivered.+    --+    -- -   If you send one message with @ContentBasedDeduplication@ enabled and+    --     then another message with a @MessageDeduplicationId@ that is the+    --     same as the one generated for the first @MessageDeduplicationId@,+    --     the two messages are treated as duplicates and only one copy of the+    --     message is delivered.+    --+    -- The @MessageDeduplicationId@ is available to the consumer of the message+    -- (this can be useful for troubleshooting delivery issues).+    --+    -- If a message is sent successfully but the acknowledgement is lost and+    -- the message is resent with the same @MessageDeduplicationId@ after the+    -- deduplication interval, Amazon SQS can\'t detect duplicate messages.+    --+    -- Amazon SQS continues to keep track of the message deduplication ID even+    -- after the message is received and deleted.+    --+    -- The maximum length of @MessageDeduplicationId@ is 128 characters.+    -- @MessageDeduplicationId@ can contain alphanumeric characters (@a-z@,+    -- @A-Z@, @0-9@) and punctuation+    -- (@!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~@).+    --+    -- For best practices of using @MessageDeduplicationId@, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html Using the MessageDeduplicationId Property>+    -- in the /Amazon SQS Developer Guide/.+    messageDeduplicationId :: Prelude.Maybe Prelude.Text,+    -- | This parameter applies only to FIFO (first-in-first-out) queues.+    --+    -- The tag that specifies that a message belongs to a specific message+    -- group. Messages that belong to the same message group are processed in a+    -- FIFO manner (however, messages in different message groups might be+    -- processed out of order). To interleave multiple ordered streams within a+    -- single queue, use @MessageGroupId@ values (for example, session data for+    -- multiple users). In this scenario, multiple consumers can process the+    -- queue, but the session data of each user is processed in a FIFO fashion.+    --+    -- -   You must associate a non-empty @MessageGroupId@ with a message. If+    --     you don\'t provide a @MessageGroupId@, the action fails.+    --+    -- -   @ReceiveMessage@ might return messages with multiple+    --     @MessageGroupId@ values. For each @MessageGroupId@, the messages are+    --     sorted by time sent. The caller can\'t specify a @MessageGroupId@.+    --+    -- The length of @MessageGroupId@ is 128 characters. Valid values:+    -- alphanumeric characters and punctuation+    -- @(!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~)@.+    --+    -- For best practices of using @MessageGroupId@, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html Using the MessageGroupId Property>+    -- in the /Amazon SQS Developer Guide/.+    --+    -- @MessageGroupId@ is required for FIFO queues. You can\'t use it for+    -- Standard queues.+    messageGroupId :: Prelude.Maybe Prelude.Text,+    -- | The message system attribute to send. Each message system attribute+    -- consists of a @Name@, @Type@, and @Value@.+    --+    -- -   Currently, the only supported message system attribute is+    --     @AWSTraceHeader@. Its type must be @String@ and its value must be a+    --     correctly formatted X-Ray trace header string.+    --+    -- -   The size of a message system attribute doesn\'t count towards the+    --     total size of a message.+    messageSystemAttributes :: Prelude.Maybe (Prelude.HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue),+    -- | The URL of the Amazon SQS queue to which a message is sent.+    --+    -- Queue URLs and names are case-sensitive.+    queueUrl :: Prelude.Text,+    -- | The message to send. The minimum size is one character. The maximum size+    -- is 256 KB.+    --+    -- A message can include only XML, JSON, and unformatted text. The+    -- following Unicode characters are allowed:+    --+    -- @#x9@ | @#xA@ | @#xD@ | @#x20@ to @#xD7FF@ | @#xE000@ to @#xFFFD@ |+    -- @#x10000@ to @#x10FFFF@+    --+    -- Any characters not included in this list will be rejected. For more+    -- information, see the+    -- <http://www.w3.org/TR/REC-xml/#charsets W3C specification for characters>.+    messageBody :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SendMessage' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'delaySeconds', 'sendMessage_delaySeconds' - The length of time, in seconds, for which to delay a specific message.+-- Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive+-- @DelaySeconds@ value become available for processing after the delay+-- period is finished. If you don\'t specify a value, the default value for+-- the queue applies.+--+-- When you set @FifoQueue@, you can\'t set @DelaySeconds@ per message. You+-- can set this parameter only on a queue level.+--+-- 'messageAttributes', 'sendMessage_messageAttributes' - Each message attribute consists of a @Name@, @Type@, and @Value@. For+-- more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS message attributes>+-- in the /Amazon SQS Developer Guide/.+--+-- 'messageDeduplicationId', 'sendMessage_messageDeduplicationId' - This parameter applies only to FIFO (first-in-first-out) queues.+--+-- The token used for deduplication of sent messages. If a message with a+-- particular @MessageDeduplicationId@ is sent successfully, any messages+-- sent with the same @MessageDeduplicationId@ are accepted successfully+-- but aren\'t delivered during the 5-minute deduplication interval. For+-- more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+-- in the /Amazon SQS Developer Guide/.+--+-- -   Every message must have a unique @MessageDeduplicationId@,+--+--     -   You may provide a @MessageDeduplicationId@ explicitly.+--+--     -   If you aren\'t able to provide a @MessageDeduplicationId@ and+--         you enable @ContentBasedDeduplication@ for your queue, Amazon+--         SQS uses a SHA-256 hash to generate the @MessageDeduplicationId@+--         using the body of the message (but not the attributes of the+--         message).+--+--     -   If you don\'t provide a @MessageDeduplicationId@ and the queue+--         doesn\'t have @ContentBasedDeduplication@ set, the action fails+--         with an error.+--+--     -   If the queue has @ContentBasedDeduplication@ set, your+--         @MessageDeduplicationId@ overrides the generated one.+--+-- -   When @ContentBasedDeduplication@ is in effect, messages with+--     identical content sent within the deduplication interval are treated+--     as duplicates and only one copy of the message is delivered.+--+-- -   If you send one message with @ContentBasedDeduplication@ enabled and+--     then another message with a @MessageDeduplicationId@ that is the+--     same as the one generated for the first @MessageDeduplicationId@,+--     the two messages are treated as duplicates and only one copy of the+--     message is delivered.+--+-- The @MessageDeduplicationId@ is available to the consumer of the message+-- (this can be useful for troubleshooting delivery issues).+--+-- If a message is sent successfully but the acknowledgement is lost and+-- the message is resent with the same @MessageDeduplicationId@ after the+-- deduplication interval, Amazon SQS can\'t detect duplicate messages.+--+-- Amazon SQS continues to keep track of the message deduplication ID even+-- after the message is received and deleted.+--+-- The maximum length of @MessageDeduplicationId@ is 128 characters.+-- @MessageDeduplicationId@ can contain alphanumeric characters (@a-z@,+-- @A-Z@, @0-9@) and punctuation+-- (@!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~@).+--+-- For best practices of using @MessageDeduplicationId@, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html Using the MessageDeduplicationId Property>+-- in the /Amazon SQS Developer Guide/.+--+-- 'messageGroupId', 'sendMessage_messageGroupId' - This parameter applies only to FIFO (first-in-first-out) queues.+--+-- The tag that specifies that a message belongs to a specific message+-- group. Messages that belong to the same message group are processed in a+-- FIFO manner (however, messages in different message groups might be+-- processed out of order). To interleave multiple ordered streams within a+-- single queue, use @MessageGroupId@ values (for example, session data for+-- multiple users). In this scenario, multiple consumers can process the+-- queue, but the session data of each user is processed in a FIFO fashion.+--+-- -   You must associate a non-empty @MessageGroupId@ with a message. If+--     you don\'t provide a @MessageGroupId@, the action fails.+--+-- -   @ReceiveMessage@ might return messages with multiple+--     @MessageGroupId@ values. For each @MessageGroupId@, the messages are+--     sorted by time sent. The caller can\'t specify a @MessageGroupId@.+--+-- The length of @MessageGroupId@ is 128 characters. Valid values:+-- alphanumeric characters and punctuation+-- @(!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~)@.+--+-- For best practices of using @MessageGroupId@, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html Using the MessageGroupId Property>+-- in the /Amazon SQS Developer Guide/.+--+-- @MessageGroupId@ is required for FIFO queues. You can\'t use it for+-- Standard queues.+--+-- 'messageSystemAttributes', 'sendMessage_messageSystemAttributes' - The message system attribute to send. Each message system attribute+-- consists of a @Name@, @Type@, and @Value@.+--+-- -   Currently, the only supported message system attribute is+--     @AWSTraceHeader@. Its type must be @String@ and its value must be a+--     correctly formatted X-Ray trace header string.+--+-- -   The size of a message system attribute doesn\'t count towards the+--     total size of a message.+--+-- 'queueUrl', 'sendMessage_queueUrl' - The URL of the Amazon SQS queue to which a message is sent.+--+-- Queue URLs and names are case-sensitive.+--+-- 'messageBody', 'sendMessage_messageBody' - The message to send. The minimum size is one character. The maximum size+-- is 256 KB.+--+-- A message can include only XML, JSON, and unformatted text. The+-- following Unicode characters are allowed:+--+-- @#x9@ | @#xA@ | @#xD@ | @#x20@ to @#xD7FF@ | @#xE000@ to @#xFFFD@ |+-- @#x10000@ to @#x10FFFF@+--+-- Any characters not included in this list will be rejected. For more+-- information, see the+-- <http://www.w3.org/TR/REC-xml/#charsets W3C specification for characters>.+newSendMessage ::+  -- | 'queueUrl'+  Prelude.Text ->+  -- | 'messageBody'+  Prelude.Text ->+  SendMessage+newSendMessage pQueueUrl_ pMessageBody_ =+  SendMessage'+    { delaySeconds = Prelude.Nothing,+      messageAttributes = Prelude.Nothing,+      messageDeduplicationId = Prelude.Nothing,+      messageGroupId = Prelude.Nothing,+      messageSystemAttributes = Prelude.Nothing,+      queueUrl = pQueueUrl_,+      messageBody = pMessageBody_+    }++-- | The length of time, in seconds, for which to delay a specific message.+-- Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive+-- @DelaySeconds@ value become available for processing after the delay+-- period is finished. If you don\'t specify a value, the default value for+-- the queue applies.+--+-- When you set @FifoQueue@, you can\'t set @DelaySeconds@ per message. You+-- can set this parameter only on a queue level.+sendMessage_delaySeconds :: Lens.Lens' SendMessage (Prelude.Maybe Prelude.Int)+sendMessage_delaySeconds = Lens.lens (\SendMessage' {delaySeconds} -> delaySeconds) (\s@SendMessage' {} a -> s {delaySeconds = a} :: SendMessage)++-- | Each message attribute consists of a @Name@, @Type@, and @Value@. For+-- more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS message attributes>+-- in the /Amazon SQS Developer Guide/.+sendMessage_messageAttributes :: Lens.Lens' SendMessage (Prelude.Maybe (Prelude.HashMap Prelude.Text MessageAttributeValue))+sendMessage_messageAttributes = Lens.lens (\SendMessage' {messageAttributes} -> messageAttributes) (\s@SendMessage' {} a -> s {messageAttributes = a} :: SendMessage) Prelude.. Lens.mapping Lens.coerced++-- | This parameter applies only to FIFO (first-in-first-out) queues.+--+-- The token used for deduplication of sent messages. If a message with a+-- particular @MessageDeduplicationId@ is sent successfully, any messages+-- sent with the same @MessageDeduplicationId@ are accepted successfully+-- but aren\'t delivered during the 5-minute deduplication interval. For+-- more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+-- in the /Amazon SQS Developer Guide/.+--+-- -   Every message must have a unique @MessageDeduplicationId@,+--+--     -   You may provide a @MessageDeduplicationId@ explicitly.+--+--     -   If you aren\'t able to provide a @MessageDeduplicationId@ and+--         you enable @ContentBasedDeduplication@ for your queue, Amazon+--         SQS uses a SHA-256 hash to generate the @MessageDeduplicationId@+--         using the body of the message (but not the attributes of the+--         message).+--+--     -   If you don\'t provide a @MessageDeduplicationId@ and the queue+--         doesn\'t have @ContentBasedDeduplication@ set, the action fails+--         with an error.+--+--     -   If the queue has @ContentBasedDeduplication@ set, your+--         @MessageDeduplicationId@ overrides the generated one.+--+-- -   When @ContentBasedDeduplication@ is in effect, messages with+--     identical content sent within the deduplication interval are treated+--     as duplicates and only one copy of the message is delivered.+--+-- -   If you send one message with @ContentBasedDeduplication@ enabled and+--     then another message with a @MessageDeduplicationId@ that is the+--     same as the one generated for the first @MessageDeduplicationId@,+--     the two messages are treated as duplicates and only one copy of the+--     message is delivered.+--+-- The @MessageDeduplicationId@ is available to the consumer of the message+-- (this can be useful for troubleshooting delivery issues).+--+-- If a message is sent successfully but the acknowledgement is lost and+-- the message is resent with the same @MessageDeduplicationId@ after the+-- deduplication interval, Amazon SQS can\'t detect duplicate messages.+--+-- Amazon SQS continues to keep track of the message deduplication ID even+-- after the message is received and deleted.+--+-- The maximum length of @MessageDeduplicationId@ is 128 characters.+-- @MessageDeduplicationId@ can contain alphanumeric characters (@a-z@,+-- @A-Z@, @0-9@) and punctuation+-- (@!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~@).+--+-- For best practices of using @MessageDeduplicationId@, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html Using the MessageDeduplicationId Property>+-- in the /Amazon SQS Developer Guide/.+sendMessage_messageDeduplicationId :: Lens.Lens' SendMessage (Prelude.Maybe Prelude.Text)+sendMessage_messageDeduplicationId = Lens.lens (\SendMessage' {messageDeduplicationId} -> messageDeduplicationId) (\s@SendMessage' {} a -> s {messageDeduplicationId = a} :: SendMessage)++-- | This parameter applies only to FIFO (first-in-first-out) queues.+--+-- The tag that specifies that a message belongs to a specific message+-- group. Messages that belong to the same message group are processed in a+-- FIFO manner (however, messages in different message groups might be+-- processed out of order). To interleave multiple ordered streams within a+-- single queue, use @MessageGroupId@ values (for example, session data for+-- multiple users). In this scenario, multiple consumers can process the+-- queue, but the session data of each user is processed in a FIFO fashion.+--+-- -   You must associate a non-empty @MessageGroupId@ with a message. If+--     you don\'t provide a @MessageGroupId@, the action fails.+--+-- -   @ReceiveMessage@ might return messages with multiple+--     @MessageGroupId@ values. For each @MessageGroupId@, the messages are+--     sorted by time sent. The caller can\'t specify a @MessageGroupId@.+--+-- The length of @MessageGroupId@ is 128 characters. Valid values:+-- alphanumeric characters and punctuation+-- @(!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~)@.+--+-- For best practices of using @MessageGroupId@, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html Using the MessageGroupId Property>+-- in the /Amazon SQS Developer Guide/.+--+-- @MessageGroupId@ is required for FIFO queues. You can\'t use it for+-- Standard queues.+sendMessage_messageGroupId :: Lens.Lens' SendMessage (Prelude.Maybe Prelude.Text)+sendMessage_messageGroupId = Lens.lens (\SendMessage' {messageGroupId} -> messageGroupId) (\s@SendMessage' {} a -> s {messageGroupId = a} :: SendMessage)++-- | The message system attribute to send. Each message system attribute+-- consists of a @Name@, @Type@, and @Value@.+--+-- -   Currently, the only supported message system attribute is+--     @AWSTraceHeader@. Its type must be @String@ and its value must be a+--     correctly formatted X-Ray trace header string.+--+-- -   The size of a message system attribute doesn\'t count towards the+--     total size of a message.+sendMessage_messageSystemAttributes :: Lens.Lens' SendMessage (Prelude.Maybe (Prelude.HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue))+sendMessage_messageSystemAttributes = Lens.lens (\SendMessage' {messageSystemAttributes} -> messageSystemAttributes) (\s@SendMessage' {} a -> s {messageSystemAttributes = a} :: SendMessage) Prelude.. Lens.mapping Lens.coerced++-- | The URL of the Amazon SQS queue to which a message is sent.+--+-- Queue URLs and names are case-sensitive.+sendMessage_queueUrl :: Lens.Lens' SendMessage Prelude.Text+sendMessage_queueUrl = Lens.lens (\SendMessage' {queueUrl} -> queueUrl) (\s@SendMessage' {} a -> s {queueUrl = a} :: SendMessage)++-- | The message to send. The minimum size is one character. The maximum size+-- is 256 KB.+--+-- A message can include only XML, JSON, and unformatted text. The+-- following Unicode characters are allowed:+--+-- @#x9@ | @#xA@ | @#xD@ | @#x20@ to @#xD7FF@ | @#xE000@ to @#xFFFD@ |+-- @#x10000@ to @#x10FFFF@+--+-- Any characters not included in this list will be rejected. For more+-- information, see the+-- <http://www.w3.org/TR/REC-xml/#charsets W3C specification for characters>.+sendMessage_messageBody :: Lens.Lens' SendMessage Prelude.Text+sendMessage_messageBody = Lens.lens (\SendMessage' {messageBody} -> messageBody) (\s@SendMessage' {} a -> s {messageBody = a} :: SendMessage)++instance Core.AWSRequest SendMessage where+  type AWSResponse SendMessage = SendMessageResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveXMLWrapper+      "SendMessageResult"+      ( \s h x ->+          SendMessageResponse'+            Prelude.<$> (x Data..@? "MD5OfMessageAttributes")+            Prelude.<*> (x Data..@? "MD5OfMessageBody")+            Prelude.<*> (x Data..@? "MD5OfMessageSystemAttributes")+            Prelude.<*> (x Data..@? "MessageId")+            Prelude.<*> (x Data..@? "SequenceNumber")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable SendMessage where+  hashWithSalt _salt SendMessage' {..} =+    _salt+      `Prelude.hashWithSalt` delaySeconds+      `Prelude.hashWithSalt` messageAttributes+      `Prelude.hashWithSalt` messageDeduplicationId+      `Prelude.hashWithSalt` messageGroupId+      `Prelude.hashWithSalt` messageSystemAttributes+      `Prelude.hashWithSalt` queueUrl+      `Prelude.hashWithSalt` messageBody++instance Prelude.NFData SendMessage where+  rnf SendMessage' {..} =+    Prelude.rnf delaySeconds+      `Prelude.seq` Prelude.rnf messageAttributes+      `Prelude.seq` Prelude.rnf messageDeduplicationId+      `Prelude.seq` Prelude.rnf messageGroupId+      `Prelude.seq` Prelude.rnf messageSystemAttributes+      `Prelude.seq` Prelude.rnf queueUrl+      `Prelude.seq` Prelude.rnf messageBody++instance Data.ToHeaders SendMessage where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath SendMessage where+  toPath = Prelude.const "/"++instance Data.ToQuery SendMessage where+  toQuery SendMessage' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("SendMessage" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "DelaySeconds" Data.=: delaySeconds,+        Data.toQuery+          ( Data.toQueryMap "MessageAttribute" "Name" "Value"+              Prelude.<$> messageAttributes+          ),+        "MessageDeduplicationId"+          Data.=: messageDeduplicationId,+        "MessageGroupId" Data.=: messageGroupId,+        Data.toQuery+          ( Data.toQueryMap+              "MessageSystemAttribute"+              "Name"+              "Value"+              Prelude.<$> messageSystemAttributes+          ),+        "QueueUrl" Data.=: queueUrl,+        "MessageBody" Data.=: messageBody+      ]++-- | The @MD5OfMessageBody@ and @MessageId@ elements.+--+-- /See:/ 'newSendMessageResponse' smart constructor.+data SendMessageResponse = SendMessageResponse'+  { -- | An MD5 digest of the non-URL-encoded message attribute string. You can+    -- use this attribute to verify that Amazon SQS received the message+    -- correctly. Amazon SQS URL-decodes the message before creating the MD5+    -- digest. For information about MD5, see+    -- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+    mD5OfMessageAttributes :: Prelude.Maybe Prelude.Text,+    -- | An MD5 digest of the non-URL-encoded message body string. You can use+    -- this attribute to verify that Amazon SQS received the message correctly.+    -- Amazon SQS URL-decodes the message before creating the MD5 digest. For+    -- information about MD5, see+    -- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+    mD5OfMessageBody :: Prelude.Maybe Prelude.Text,+    -- | An MD5 digest of the non-URL-encoded message system attribute string.+    -- You can use this attribute to verify that Amazon SQS received the+    -- message correctly. Amazon SQS URL-decodes the message before creating+    -- the MD5 digest.+    mD5OfMessageSystemAttributes :: Prelude.Maybe Prelude.Text,+    -- | An attribute containing the @MessageId@ of the message sent to the+    -- queue. For more information, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-message-identifiers.html Queue and Message Identifiers>+    -- in the /Amazon SQS Developer Guide/.+    messageId :: Prelude.Maybe Prelude.Text,+    -- | This parameter applies only to FIFO (first-in-first-out) queues.+    --+    -- The large, non-consecutive number that Amazon SQS assigns to each+    -- message.+    --+    -- The length of @SequenceNumber@ is 128 bits. @SequenceNumber@ continues+    -- to increase for a particular @MessageGroupId@.+    sequenceNumber :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SendMessageResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mD5OfMessageAttributes', 'sendMessageResponse_mD5OfMessageAttributes' - An MD5 digest of the non-URL-encoded message attribute string. You can+-- use this attribute to verify that Amazon SQS received the message+-- correctly. Amazon SQS URL-decodes the message before creating the MD5+-- digest. For information about MD5, see+-- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+--+-- 'mD5OfMessageBody', 'sendMessageResponse_mD5OfMessageBody' - An MD5 digest of the non-URL-encoded message body string. You can use+-- this attribute to verify that Amazon SQS received the message correctly.+-- Amazon SQS URL-decodes the message before creating the MD5 digest. For+-- information about MD5, see+-- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+--+-- 'mD5OfMessageSystemAttributes', 'sendMessageResponse_mD5OfMessageSystemAttributes' - An MD5 digest of the non-URL-encoded message system attribute string.+-- You can use this attribute to verify that Amazon SQS received the+-- message correctly. Amazon SQS URL-decodes the message before creating+-- the MD5 digest.+--+-- 'messageId', 'sendMessageResponse_messageId' - An attribute containing the @MessageId@ of the message sent to the+-- queue. For more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-message-identifiers.html Queue and Message Identifiers>+-- in the /Amazon SQS Developer Guide/.+--+-- 'sequenceNumber', 'sendMessageResponse_sequenceNumber' - This parameter applies only to FIFO (first-in-first-out) queues.+--+-- The large, non-consecutive number that Amazon SQS assigns to each+-- message.+--+-- The length of @SequenceNumber@ is 128 bits. @SequenceNumber@ continues+-- to increase for a particular @MessageGroupId@.+--+-- 'httpStatus', 'sendMessageResponse_httpStatus' - The response's http status code.+newSendMessageResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  SendMessageResponse+newSendMessageResponse pHttpStatus_ =+  SendMessageResponse'+    { mD5OfMessageAttributes =+        Prelude.Nothing,+      mD5OfMessageBody = Prelude.Nothing,+      mD5OfMessageSystemAttributes = Prelude.Nothing,+      messageId = Prelude.Nothing,+      sequenceNumber = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | An MD5 digest of the non-URL-encoded message attribute string. You can+-- use this attribute to verify that Amazon SQS received the message+-- correctly. Amazon SQS URL-decodes the message before creating the MD5+-- digest. For information about MD5, see+-- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+sendMessageResponse_mD5OfMessageAttributes :: Lens.Lens' SendMessageResponse (Prelude.Maybe Prelude.Text)+sendMessageResponse_mD5OfMessageAttributes = Lens.lens (\SendMessageResponse' {mD5OfMessageAttributes} -> mD5OfMessageAttributes) (\s@SendMessageResponse' {} a -> s {mD5OfMessageAttributes = a} :: SendMessageResponse)++-- | An MD5 digest of the non-URL-encoded message body string. You can use+-- this attribute to verify that Amazon SQS received the message correctly.+-- Amazon SQS URL-decodes the message before creating the MD5 digest. For+-- information about MD5, see+-- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+sendMessageResponse_mD5OfMessageBody :: Lens.Lens' SendMessageResponse (Prelude.Maybe Prelude.Text)+sendMessageResponse_mD5OfMessageBody = Lens.lens (\SendMessageResponse' {mD5OfMessageBody} -> mD5OfMessageBody) (\s@SendMessageResponse' {} a -> s {mD5OfMessageBody = a} :: SendMessageResponse)++-- | An MD5 digest of the non-URL-encoded message system attribute string.+-- You can use this attribute to verify that Amazon SQS received the+-- message correctly. Amazon SQS URL-decodes the message before creating+-- the MD5 digest.+sendMessageResponse_mD5OfMessageSystemAttributes :: Lens.Lens' SendMessageResponse (Prelude.Maybe Prelude.Text)+sendMessageResponse_mD5OfMessageSystemAttributes = Lens.lens (\SendMessageResponse' {mD5OfMessageSystemAttributes} -> mD5OfMessageSystemAttributes) (\s@SendMessageResponse' {} a -> s {mD5OfMessageSystemAttributes = a} :: SendMessageResponse)++-- | An attribute containing the @MessageId@ of the message sent to the+-- queue. For more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-message-identifiers.html Queue and Message Identifiers>+-- in the /Amazon SQS Developer Guide/.+sendMessageResponse_messageId :: Lens.Lens' SendMessageResponse (Prelude.Maybe Prelude.Text)+sendMessageResponse_messageId = Lens.lens (\SendMessageResponse' {messageId} -> messageId) (\s@SendMessageResponse' {} a -> s {messageId = a} :: SendMessageResponse)++-- | This parameter applies only to FIFO (first-in-first-out) queues.+--+-- The large, non-consecutive number that Amazon SQS assigns to each+-- message.+--+-- The length of @SequenceNumber@ is 128 bits. @SequenceNumber@ continues+-- to increase for a particular @MessageGroupId@.+sendMessageResponse_sequenceNumber :: Lens.Lens' SendMessageResponse (Prelude.Maybe Prelude.Text)+sendMessageResponse_sequenceNumber = Lens.lens (\SendMessageResponse' {sequenceNumber} -> sequenceNumber) (\s@SendMessageResponse' {} a -> s {sequenceNumber = a} :: SendMessageResponse)++-- | The response's http status code.+sendMessageResponse_httpStatus :: Lens.Lens' SendMessageResponse Prelude.Int+sendMessageResponse_httpStatus = Lens.lens (\SendMessageResponse' {httpStatus} -> httpStatus) (\s@SendMessageResponse' {} a -> s {httpStatus = a} :: SendMessageResponse)++instance Prelude.NFData SendMessageResponse where+  rnf SendMessageResponse' {..} =+    Prelude.rnf mD5OfMessageAttributes+      `Prelude.seq` Prelude.rnf mD5OfMessageBody+      `Prelude.seq` Prelude.rnf mD5OfMessageSystemAttributes+      `Prelude.seq` Prelude.rnf messageId+      `Prelude.seq` Prelude.rnf sequenceNumber+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/SQS/SendMessageBatch.hs view
@@ -0,0 +1,235 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.SendMessageBatch+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delivers up to ten messages to the specified queue. This is a batch+-- version of @ @@SendMessage@@.@ For a FIFO queue, multiple messages+-- within a single batch are enqueued in the order they are sent.+--+-- The result of sending each message is reported individually in the+-- response. 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@.+--+-- The maximum allowed individual message size and the maximum total+-- payload size (the sum of the individual lengths of all of the batched+-- messages) are both 256 KB (262,144 bytes).+--+-- A message can include only XML, JSON, and unformatted text. The+-- following Unicode characters are allowed:+--+-- @#x9@ | @#xA@ | @#xD@ | @#x20@ to @#xD7FF@ | @#xE000@ to @#xFFFD@ |+-- @#x10000@ to @#x10FFFF@+--+-- Any characters not included in this list will be rejected. For more+-- information, see the+-- <http://www.w3.org/TR/REC-xml/#charsets W3C specification for characters>.+--+-- If you don\'t specify the @DelaySeconds@ parameter for an entry, Amazon+-- SQS uses the default value for the queue.+--+-- Some 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:+--+-- @&AttributeName.1=first@+--+-- @&AttributeName.2=second@+module Amazonka.SQS.SendMessageBatch+  ( -- * Creating a Request+    SendMessageBatch (..),+    newSendMessageBatch,++    -- * Request Lenses+    sendMessageBatch_queueUrl,+    sendMessageBatch_entries,++    -- * Destructuring the Response+    SendMessageBatchResponse (..),+    newSendMessageBatchResponse,++    -- * Response Lenses+    sendMessageBatchResponse_httpStatus,+    sendMessageBatchResponse_successful,+    sendMessageBatchResponse_failed,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newSendMessageBatch' smart constructor.+data SendMessageBatch = SendMessageBatch'+  { -- | The URL of the Amazon SQS queue to which batched messages are sent.+    --+    -- Queue URLs and names are case-sensitive.+    queueUrl :: Prelude.Text,+    -- | A list of @ @@SendMessageBatchRequestEntry@@ @ items.+    entries :: [SendMessageBatchRequestEntry]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SendMessageBatch' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueUrl', 'sendMessageBatch_queueUrl' - The URL of the Amazon SQS queue to which batched messages are sent.+--+-- Queue URLs and names are case-sensitive.+--+-- 'entries', 'sendMessageBatch_entries' - A list of @ @@SendMessageBatchRequestEntry@@ @ items.+newSendMessageBatch ::+  -- | 'queueUrl'+  Prelude.Text ->+  SendMessageBatch+newSendMessageBatch pQueueUrl_ =+  SendMessageBatch'+    { queueUrl = pQueueUrl_,+      entries = Prelude.mempty+    }++-- | The URL of the Amazon SQS queue to which batched messages are sent.+--+-- Queue URLs and names are case-sensitive.+sendMessageBatch_queueUrl :: Lens.Lens' SendMessageBatch Prelude.Text+sendMessageBatch_queueUrl = Lens.lens (\SendMessageBatch' {queueUrl} -> queueUrl) (\s@SendMessageBatch' {} a -> s {queueUrl = a} :: SendMessageBatch)++-- | A list of @ @@SendMessageBatchRequestEntry@@ @ items.+sendMessageBatch_entries :: Lens.Lens' SendMessageBatch [SendMessageBatchRequestEntry]+sendMessageBatch_entries = Lens.lens (\SendMessageBatch' {entries} -> entries) (\s@SendMessageBatch' {} a -> s {entries = a} :: SendMessageBatch) Prelude.. Lens.coerced++instance Core.AWSRequest SendMessageBatch where+  type+    AWSResponse SendMessageBatch =+      SendMessageBatchResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveXMLWrapper+      "SendMessageBatchResult"+      ( \s h x ->+          SendMessageBatchResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+            Prelude.<*> (Data.parseXMLList "SendMessageBatchResultEntry" x)+            Prelude.<*> (Data.parseXMLList "BatchResultErrorEntry" x)+      )++instance Prelude.Hashable SendMessageBatch where+  hashWithSalt _salt SendMessageBatch' {..} =+    _salt+      `Prelude.hashWithSalt` queueUrl+      `Prelude.hashWithSalt` entries++instance Prelude.NFData SendMessageBatch where+  rnf SendMessageBatch' {..} =+    Prelude.rnf queueUrl+      `Prelude.seq` Prelude.rnf entries++instance Data.ToHeaders SendMessageBatch where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath SendMessageBatch where+  toPath = Prelude.const "/"++instance Data.ToQuery SendMessageBatch where+  toQuery SendMessageBatch' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("SendMessageBatch" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "QueueUrl" Data.=: queueUrl,+        Data.toQueryList+          "SendMessageBatchRequestEntry"+          entries+      ]++-- | For each message in the batch, the response contains a+-- @ @@SendMessageBatchResultEntry@@ @ tag if the message succeeds or a+-- @ @@BatchResultErrorEntry@@ @ tag if the message fails.+--+-- /See:/ 'newSendMessageBatchResponse' smart constructor.+data SendMessageBatchResponse = SendMessageBatchResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int,+    -- | A list of @ @@SendMessageBatchResultEntry@@ @ items.+    successful :: [SendMessageBatchResultEntry],+    -- | A list of @ @@BatchResultErrorEntry@@ @ items with error details about+    -- each message that can\'t be enqueued.+    failed :: [BatchResultErrorEntry]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SendMessageBatchResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'sendMessageBatchResponse_httpStatus' - The response's http status code.+--+-- 'successful', 'sendMessageBatchResponse_successful' - A list of @ @@SendMessageBatchResultEntry@@ @ items.+--+-- 'failed', 'sendMessageBatchResponse_failed' - A list of @ @@BatchResultErrorEntry@@ @ items with error details about+-- each message that can\'t be enqueued.+newSendMessageBatchResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  SendMessageBatchResponse+newSendMessageBatchResponse pHttpStatus_ =+  SendMessageBatchResponse'+    { httpStatus =+        pHttpStatus_,+      successful = Prelude.mempty,+      failed = Prelude.mempty+    }++-- | The response's http status code.+sendMessageBatchResponse_httpStatus :: Lens.Lens' SendMessageBatchResponse Prelude.Int+sendMessageBatchResponse_httpStatus = Lens.lens (\SendMessageBatchResponse' {httpStatus} -> httpStatus) (\s@SendMessageBatchResponse' {} a -> s {httpStatus = a} :: SendMessageBatchResponse)++-- | A list of @ @@SendMessageBatchResultEntry@@ @ items.+sendMessageBatchResponse_successful :: Lens.Lens' SendMessageBatchResponse [SendMessageBatchResultEntry]+sendMessageBatchResponse_successful = Lens.lens (\SendMessageBatchResponse' {successful} -> successful) (\s@SendMessageBatchResponse' {} a -> s {successful = a} :: SendMessageBatchResponse) Prelude.. Lens.coerced++-- | A list of @ @@BatchResultErrorEntry@@ @ items with error details about+-- each message that can\'t be enqueued.+sendMessageBatchResponse_failed :: Lens.Lens' SendMessageBatchResponse [BatchResultErrorEntry]+sendMessageBatchResponse_failed = Lens.lens (\SendMessageBatchResponse' {failed} -> failed) (\s@SendMessageBatchResponse' {} a -> s {failed = a} :: SendMessageBatchResponse) Prelude.. Lens.coerced++instance Prelude.NFData SendMessageBatchResponse where+  rnf SendMessageBatchResponse' {..} =+    Prelude.rnf httpStatus+      `Prelude.seq` Prelude.rnf successful+      `Prelude.seq` Prelude.rnf failed
+ gen/Amazonka/SQS/SetQueueAttributes.hs view
@@ -0,0 +1,605 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.SetQueueAttributes+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Sets the value of one or more queue attributes. When you change a+-- queue\'s attributes, the change can take up to 60 seconds for most of+-- the attributes to propagate throughout the Amazon SQS system. Changes+-- made to the @MessageRetentionPeriod@ attribute can take up to 15+-- minutes.+--+-- -   In the future, new attributes might be added. If you write code that+--     calls this action, we recommend that you structure your code so that+--     it can handle new attributes gracefully.+--+-- -   Cross-account permissions don\'t apply to this action. For more+--     information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name Grant cross-account permissions to a role and a user name>+--     in the /Amazon SQS Developer Guide/.+--+-- -   To remove the ability to change queue permissions, you must deny+--     permission to the @AddPermission@, @RemovePermission@, and+--     @SetQueueAttributes@ actions in your IAM policy.+module Amazonka.SQS.SetQueueAttributes+  ( -- * Creating a Request+    SetQueueAttributes (..),+    newSetQueueAttributes,++    -- * Request Lenses+    setQueueAttributes_queueUrl,+    setQueueAttributes_attributes,++    -- * Destructuring the Response+    SetQueueAttributesResponse (..),+    newSetQueueAttributesResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- |+--+-- /See:/ 'newSetQueueAttributes' smart constructor.+data SetQueueAttributes = SetQueueAttributes'+  { -- | The URL of the Amazon SQS queue whose attributes are set.+    --+    -- Queue URLs and names are case-sensitive.+    queueUrl :: Prelude.Text,+    -- | A map of attributes to set.+    --+    -- The following lists the names, descriptions, and values of the special+    -- request parameters that the @SetQueueAttributes@ action uses:+    --+    -- -   @DelaySeconds@ – The length of time, in seconds, for which the+    --     delivery of all messages in the queue is delayed. Valid values: An+    --     integer from 0 to 900 (15 minutes). Default: 0.+    --+    -- -   @MaximumMessageSize@ – The limit of how many bytes a message can+    --     contain before Amazon SQS rejects it. Valid values: An integer from+    --     1,024 bytes (1 KiB) up to 262,144 bytes (256 KiB). Default: 262,144+    --     (256 KiB).+    --+    -- -   @MessageRetentionPeriod@ – The length of time, in seconds, for which+    --     Amazon SQS retains a message. Valid values: An integer representing+    --     seconds, from 60 (1 minute) to 1,209,600 (14 days). Default: 345,600+    --     (4 days).+    --+    -- -   @Policy@ – The queue\'s policy. A valid Amazon Web Services policy.+    --     For more information about policy structure, see+    --     <https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html Overview of Amazon Web Services IAM Policies>+    --     in the /Identity and Access Management User Guide/.+    --+    -- -   @ReceiveMessageWaitTimeSeconds@ – The length of time, in seconds,+    --     for which a @ @@ReceiveMessage@@ @ action waits for a message to+    --     arrive. Valid values: An integer from 0 to 20 (seconds). Default: 0.+    --+    -- -   @RedrivePolicy@ – The string that includes the parameters for the+    --     dead-letter queue functionality of the source queue as a JSON+    --     object. For more information about the redrive policy and+    --     dead-letter queues, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues>+    --     in the /Amazon SQS Developer Guide/.+    --+    --     -   @deadLetterTargetArn@ – The Amazon Resource Name (ARN) of the+    --         dead-letter queue to which Amazon SQS moves messages after the+    --         value of @maxReceiveCount@ is exceeded.+    --+    --     -   @maxReceiveCount@ – The number of times a message is delivered+    --         to the source queue before being moved to the dead-letter queue.+    --         When the @ReceiveCount@ for a message exceeds the+    --         @maxReceiveCount@ for a queue, Amazon SQS moves the message to+    --         the dead-letter-queue.+    --+    --     The dead-letter queue of a FIFO queue must also be a FIFO queue.+    --     Similarly, the dead-letter queue of a standard queue must also be a+    --     standard queue.+    --+    -- -   @VisibilityTimeout@ – The visibility timeout for the queue, in+    --     seconds. Valid values: An integer from 0 to 43,200 (12 hours).+    --     Default: 30. For more information about the visibility timeout, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout>+    --     in the /Amazon SQS Developer Guide/.+    --+    -- The following attributes apply only to+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption>:+    --+    -- -   @KmsMasterKeyId@ – The ID of an Amazon Web Services managed customer+    --     master key (CMK) for Amazon SQS or a custom CMK. For more+    --     information, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms>.+    --     While the alias of the AWS-managed CMK for Amazon SQS is always+    --     @alias\/aws\/sqs@, the alias of a custom CMK can, for example, be+    --     @alias\/@/@MyAlias@/@ @. For more examples, see+    --     <https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters KeyId>+    --     in the /Key Management Service API Reference/.+    --+    -- -   @KmsDataKeyReusePeriodSeconds@ – The length of time, in seconds, for+    --     which Amazon SQS can reuse a+    --     <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys data key>+    --     to encrypt or decrypt messages before calling KMS again. An integer+    --     representing seconds, between 60 seconds (1 minute) and 86,400+    --     seconds (24 hours). Default: 300 (5 minutes). A shorter time period+    --     provides better security but results in more calls to KMS which+    --     might incur charges after Free Tier. For more information, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?>.+    --+    -- -   @SqsManagedSseEnabled@ – Enables server-side queue encryption using+    --     SQS owned encryption keys. Only one server-side encryption option is+    --     supported per queue (e.g.+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html SSE-KMS>+    --     or+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html SSE-SQS>).+    --+    -- The following attribute applies only to+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues>:+    --+    -- -   @ContentBasedDeduplication@ – Enables content-based deduplication.+    --     For more information, see+    --     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+    --     in the /Amazon SQS Developer Guide/. Note the following:+    --+    --     -   Every message must have a unique @MessageDeduplicationId@.+    --+    --         -   You may provide a @MessageDeduplicationId@ explicitly.+    --+    --         -   If you aren\'t able to provide a @MessageDeduplicationId@+    --             and you enable @ContentBasedDeduplication@ for your queue,+    --             Amazon SQS uses a SHA-256 hash to generate the+    --             @MessageDeduplicationId@ using the body of the message (but+    --             not the attributes of the message).+    --+    --         -   If you don\'t provide a @MessageDeduplicationId@ and the+    --             queue doesn\'t have @ContentBasedDeduplication@ set, the+    --             action fails with an error.+    --+    --         -   If the queue has @ContentBasedDeduplication@ set, your+    --             @MessageDeduplicationId@ overrides the generated one.+    --+    --     -   When @ContentBasedDeduplication@ is in effect, messages with+    --         identical content sent within the deduplication interval are+    --         treated as duplicates and only one copy of the message is+    --         delivered.+    --+    --     -   If you send one message with @ContentBasedDeduplication@ enabled+    --         and then another message with a @MessageDeduplicationId@ that is+    --         the same as the one generated for the first+    --         @MessageDeduplicationId@, the two messages are treated as+    --         duplicates and only one copy of the message is delivered.+    --+    -- The following attributes apply only to+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html high throughput for FIFO queues>:+    --+    -- -   @DeduplicationScope@ – Specifies whether message deduplication+    --     occurs at the message group or queue level. Valid values are+    --     @messageGroup@ and @queue@.+    --+    -- -   @FifoThroughputLimit@ – Specifies whether the FIFO queue throughput+    --     quota applies to the entire queue or per message group. Valid values+    --     are @perQueue@ and @perMessageGroupId@. The @perMessageGroupId@+    --     value is allowed only when the value for @DeduplicationScope@ is+    --     @messageGroup@.+    --+    -- To enable high throughput for FIFO queues, do the following:+    --+    -- -   Set @DeduplicationScope@ to @messageGroup@.+    --+    -- -   Set @FifoThroughputLimit@ to @perMessageGroupId@.+    --+    -- If you set these attributes to anything other than the values shown for+    -- enabling high throughput, normal throughput is in effect and+    -- deduplication occurs as specified.+    --+    -- For information on throughput quotas, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html Quotas related to messages>+    -- in the /Amazon SQS Developer Guide/.+    attributes :: Prelude.HashMap QueueAttributeName Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SetQueueAttributes' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueUrl', 'setQueueAttributes_queueUrl' - The URL of the Amazon SQS queue whose attributes are set.+--+-- Queue URLs and names are case-sensitive.+--+-- 'attributes', 'setQueueAttributes_attributes' - A map of attributes to set.+--+-- The following lists the names, descriptions, and values of the special+-- request parameters that the @SetQueueAttributes@ action uses:+--+-- -   @DelaySeconds@ – The length of time, in seconds, for which the+--     delivery of all messages in the queue is delayed. Valid values: An+--     integer from 0 to 900 (15 minutes). Default: 0.+--+-- -   @MaximumMessageSize@ – The limit of how many bytes a message can+--     contain before Amazon SQS rejects it. Valid values: An integer from+--     1,024 bytes (1 KiB) up to 262,144 bytes (256 KiB). Default: 262,144+--     (256 KiB).+--+-- -   @MessageRetentionPeriod@ – The length of time, in seconds, for which+--     Amazon SQS retains a message. Valid values: An integer representing+--     seconds, from 60 (1 minute) to 1,209,600 (14 days). Default: 345,600+--     (4 days).+--+-- -   @Policy@ – The queue\'s policy. A valid Amazon Web Services policy.+--     For more information about policy structure, see+--     <https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html Overview of Amazon Web Services IAM Policies>+--     in the /Identity and Access Management User Guide/.+--+-- -   @ReceiveMessageWaitTimeSeconds@ – The length of time, in seconds,+--     for which a @ @@ReceiveMessage@@ @ action waits for a message to+--     arrive. Valid values: An integer from 0 to 20 (seconds). Default: 0.+--+-- -   @RedrivePolicy@ – The string that includes the parameters for the+--     dead-letter queue functionality of the source queue as a JSON+--     object. For more information about the redrive policy and+--     dead-letter queues, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues>+--     in the /Amazon SQS Developer Guide/.+--+--     -   @deadLetterTargetArn@ – The Amazon Resource Name (ARN) of the+--         dead-letter queue to which Amazon SQS moves messages after the+--         value of @maxReceiveCount@ is exceeded.+--+--     -   @maxReceiveCount@ – The number of times a message is delivered+--         to the source queue before being moved to the dead-letter queue.+--         When the @ReceiveCount@ for a message exceeds the+--         @maxReceiveCount@ for a queue, Amazon SQS moves the message to+--         the dead-letter-queue.+--+--     The dead-letter queue of a FIFO queue must also be a FIFO queue.+--     Similarly, the dead-letter queue of a standard queue must also be a+--     standard queue.+--+-- -   @VisibilityTimeout@ – The visibility timeout for the queue, in+--     seconds. Valid values: An integer from 0 to 43,200 (12 hours).+--     Default: 30. For more information about the visibility timeout, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout>+--     in the /Amazon SQS Developer Guide/.+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption>:+--+-- -   @KmsMasterKeyId@ – The ID of an Amazon Web Services managed customer+--     master key (CMK) for Amazon SQS or a custom CMK. For more+--     information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms>.+--     While the alias of the AWS-managed CMK for Amazon SQS is always+--     @alias\/aws\/sqs@, the alias of a custom CMK can, for example, be+--     @alias\/@/@MyAlias@/@ @. For more examples, see+--     <https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters KeyId>+--     in the /Key Management Service API Reference/.+--+-- -   @KmsDataKeyReusePeriodSeconds@ – The length of time, in seconds, for+--     which Amazon SQS can reuse a+--     <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys data key>+--     to encrypt or decrypt messages before calling KMS again. An integer+--     representing seconds, between 60 seconds (1 minute) and 86,400+--     seconds (24 hours). Default: 300 (5 minutes). A shorter time period+--     provides better security but results in more calls to KMS which+--     might incur charges after Free Tier. For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?>.+--+-- -   @SqsManagedSseEnabled@ – Enables server-side queue encryption using+--     SQS owned encryption keys. Only one server-side encryption option is+--     supported per queue (e.g.+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html SSE-KMS>+--     or+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html SSE-SQS>).+--+-- The following attribute applies only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues>:+--+-- -   @ContentBasedDeduplication@ – Enables content-based deduplication.+--     For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+--     in the /Amazon SQS Developer Guide/. Note the following:+--+--     -   Every message must have a unique @MessageDeduplicationId@.+--+--         -   You may provide a @MessageDeduplicationId@ explicitly.+--+--         -   If you aren\'t able to provide a @MessageDeduplicationId@+--             and you enable @ContentBasedDeduplication@ for your queue,+--             Amazon SQS uses a SHA-256 hash to generate the+--             @MessageDeduplicationId@ using the body of the message (but+--             not the attributes of the message).+--+--         -   If you don\'t provide a @MessageDeduplicationId@ and the+--             queue doesn\'t have @ContentBasedDeduplication@ set, the+--             action fails with an error.+--+--         -   If the queue has @ContentBasedDeduplication@ set, your+--             @MessageDeduplicationId@ overrides the generated one.+--+--     -   When @ContentBasedDeduplication@ is in effect, messages with+--         identical content sent within the deduplication interval are+--         treated as duplicates and only one copy of the message is+--         delivered.+--+--     -   If you send one message with @ContentBasedDeduplication@ enabled+--         and then another message with a @MessageDeduplicationId@ that is+--         the same as the one generated for the first+--         @MessageDeduplicationId@, the two messages are treated as+--         duplicates and only one copy of the message is delivered.+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html high throughput for FIFO queues>:+--+-- -   @DeduplicationScope@ – Specifies whether message deduplication+--     occurs at the message group or queue level. Valid values are+--     @messageGroup@ and @queue@.+--+-- -   @FifoThroughputLimit@ – Specifies whether the FIFO queue throughput+--     quota applies to the entire queue or per message group. Valid values+--     are @perQueue@ and @perMessageGroupId@. The @perMessageGroupId@+--     value is allowed only when the value for @DeduplicationScope@ is+--     @messageGroup@.+--+-- To enable high throughput for FIFO queues, do the following:+--+-- -   Set @DeduplicationScope@ to @messageGroup@.+--+-- -   Set @FifoThroughputLimit@ to @perMessageGroupId@.+--+-- If you set these attributes to anything other than the values shown for+-- enabling high throughput, normal throughput is in effect and+-- deduplication occurs as specified.+--+-- For information on throughput quotas, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html Quotas related to messages>+-- in the /Amazon SQS Developer Guide/.+newSetQueueAttributes ::+  -- | 'queueUrl'+  Prelude.Text ->+  SetQueueAttributes+newSetQueueAttributes pQueueUrl_ =+  SetQueueAttributes'+    { queueUrl = pQueueUrl_,+      attributes = Prelude.mempty+    }++-- | The URL of the Amazon SQS queue whose attributes are set.+--+-- Queue URLs and names are case-sensitive.+setQueueAttributes_queueUrl :: Lens.Lens' SetQueueAttributes Prelude.Text+setQueueAttributes_queueUrl = Lens.lens (\SetQueueAttributes' {queueUrl} -> queueUrl) (\s@SetQueueAttributes' {} a -> s {queueUrl = a} :: SetQueueAttributes)++-- | A map of attributes to set.+--+-- The following lists the names, descriptions, and values of the special+-- request parameters that the @SetQueueAttributes@ action uses:+--+-- -   @DelaySeconds@ – The length of time, in seconds, for which the+--     delivery of all messages in the queue is delayed. Valid values: An+--     integer from 0 to 900 (15 minutes). Default: 0.+--+-- -   @MaximumMessageSize@ – The limit of how many bytes a message can+--     contain before Amazon SQS rejects it. Valid values: An integer from+--     1,024 bytes (1 KiB) up to 262,144 bytes (256 KiB). Default: 262,144+--     (256 KiB).+--+-- -   @MessageRetentionPeriod@ – The length of time, in seconds, for which+--     Amazon SQS retains a message. Valid values: An integer representing+--     seconds, from 60 (1 minute) to 1,209,600 (14 days). Default: 345,600+--     (4 days).+--+-- -   @Policy@ – The queue\'s policy. A valid Amazon Web Services policy.+--     For more information about policy structure, see+--     <https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html Overview of Amazon Web Services IAM Policies>+--     in the /Identity and Access Management User Guide/.+--+-- -   @ReceiveMessageWaitTimeSeconds@ – The length of time, in seconds,+--     for which a @ @@ReceiveMessage@@ @ action waits for a message to+--     arrive. Valid values: An integer from 0 to 20 (seconds). Default: 0.+--+-- -   @RedrivePolicy@ – The string that includes the parameters for the+--     dead-letter queue functionality of the source queue as a JSON+--     object. For more information about the redrive policy and+--     dead-letter queues, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues>+--     in the /Amazon SQS Developer Guide/.+--+--     -   @deadLetterTargetArn@ – The Amazon Resource Name (ARN) of the+--         dead-letter queue to which Amazon SQS moves messages after the+--         value of @maxReceiveCount@ is exceeded.+--+--     -   @maxReceiveCount@ – The number of times a message is delivered+--         to the source queue before being moved to the dead-letter queue.+--         When the @ReceiveCount@ for a message exceeds the+--         @maxReceiveCount@ for a queue, Amazon SQS moves the message to+--         the dead-letter-queue.+--+--     The dead-letter queue of a FIFO queue must also be a FIFO queue.+--     Similarly, the dead-letter queue of a standard queue must also be a+--     standard queue.+--+-- -   @VisibilityTimeout@ – The visibility timeout for the queue, in+--     seconds. Valid values: An integer from 0 to 43,200 (12 hours).+--     Default: 30. For more information about the visibility timeout, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout>+--     in the /Amazon SQS Developer Guide/.+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption>:+--+-- -   @KmsMasterKeyId@ – The ID of an Amazon Web Services managed customer+--     master key (CMK) for Amazon SQS or a custom CMK. For more+--     information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms>.+--     While the alias of the AWS-managed CMK for Amazon SQS is always+--     @alias\/aws\/sqs@, the alias of a custom CMK can, for example, be+--     @alias\/@/@MyAlias@/@ @. For more examples, see+--     <https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters KeyId>+--     in the /Key Management Service API Reference/.+--+-- -   @KmsDataKeyReusePeriodSeconds@ – The length of time, in seconds, for+--     which Amazon SQS can reuse a+--     <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys data key>+--     to encrypt or decrypt messages before calling KMS again. An integer+--     representing seconds, between 60 seconds (1 minute) and 86,400+--     seconds (24 hours). Default: 300 (5 minutes). A shorter time period+--     provides better security but results in more calls to KMS which+--     might incur charges after Free Tier. For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?>.+--+-- -   @SqsManagedSseEnabled@ – Enables server-side queue encryption using+--     SQS owned encryption keys. Only one server-side encryption option is+--     supported per queue (e.g.+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html SSE-KMS>+--     or+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html SSE-SQS>).+--+-- The following attribute applies only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues>:+--+-- -   @ContentBasedDeduplication@ – Enables content-based deduplication.+--     For more information, see+--     <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+--     in the /Amazon SQS Developer Guide/. Note the following:+--+--     -   Every message must have a unique @MessageDeduplicationId@.+--+--         -   You may provide a @MessageDeduplicationId@ explicitly.+--+--         -   If you aren\'t able to provide a @MessageDeduplicationId@+--             and you enable @ContentBasedDeduplication@ for your queue,+--             Amazon SQS uses a SHA-256 hash to generate the+--             @MessageDeduplicationId@ using the body of the message (but+--             not the attributes of the message).+--+--         -   If you don\'t provide a @MessageDeduplicationId@ and the+--             queue doesn\'t have @ContentBasedDeduplication@ set, the+--             action fails with an error.+--+--         -   If the queue has @ContentBasedDeduplication@ set, your+--             @MessageDeduplicationId@ overrides the generated one.+--+--     -   When @ContentBasedDeduplication@ is in effect, messages with+--         identical content sent within the deduplication interval are+--         treated as duplicates and only one copy of the message is+--         delivered.+--+--     -   If you send one message with @ContentBasedDeduplication@ enabled+--         and then another message with a @MessageDeduplicationId@ that is+--         the same as the one generated for the first+--         @MessageDeduplicationId@, the two messages are treated as+--         duplicates and only one copy of the message is delivered.+--+-- The following attributes apply only to+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html high throughput for FIFO queues>:+--+-- -   @DeduplicationScope@ – Specifies whether message deduplication+--     occurs at the message group or queue level. Valid values are+--     @messageGroup@ and @queue@.+--+-- -   @FifoThroughputLimit@ – Specifies whether the FIFO queue throughput+--     quota applies to the entire queue or per message group. Valid values+--     are @perQueue@ and @perMessageGroupId@. The @perMessageGroupId@+--     value is allowed only when the value for @DeduplicationScope@ is+--     @messageGroup@.+--+-- To enable high throughput for FIFO queues, do the following:+--+-- -   Set @DeduplicationScope@ to @messageGroup@.+--+-- -   Set @FifoThroughputLimit@ to @perMessageGroupId@.+--+-- If you set these attributes to anything other than the values shown for+-- enabling high throughput, normal throughput is in effect and+-- deduplication occurs as specified.+--+-- For information on throughput quotas, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html Quotas related to messages>+-- in the /Amazon SQS Developer Guide/.+setQueueAttributes_attributes :: Lens.Lens' SetQueueAttributes (Prelude.HashMap QueueAttributeName Prelude.Text)+setQueueAttributes_attributes = Lens.lens (\SetQueueAttributes' {attributes} -> attributes) (\s@SetQueueAttributes' {} a -> s {attributes = a} :: SetQueueAttributes) Prelude.. Lens.coerced++instance Core.AWSRequest SetQueueAttributes where+  type+    AWSResponse SetQueueAttributes =+      SetQueueAttributesResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response =+    Response.receiveNull SetQueueAttributesResponse'++instance Prelude.Hashable SetQueueAttributes where+  hashWithSalt _salt SetQueueAttributes' {..} =+    _salt+      `Prelude.hashWithSalt` queueUrl+      `Prelude.hashWithSalt` attributes++instance Prelude.NFData SetQueueAttributes where+  rnf SetQueueAttributes' {..} =+    Prelude.rnf queueUrl+      `Prelude.seq` Prelude.rnf attributes++instance Data.ToHeaders SetQueueAttributes where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath SetQueueAttributes where+  toPath = Prelude.const "/"++instance Data.ToQuery SetQueueAttributes where+  toQuery SetQueueAttributes' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("SetQueueAttributes" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "QueueUrl" Data.=: queueUrl,+        Data.toQueryMap+          "Attribute"+          "Name"+          "Value"+          attributes+      ]++-- | /See:/ 'newSetQueueAttributesResponse' smart constructor.+data SetQueueAttributesResponse = SetQueueAttributesResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SetQueueAttributesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newSetQueueAttributesResponse ::+  SetQueueAttributesResponse+newSetQueueAttributesResponse =+  SetQueueAttributesResponse'++instance Prelude.NFData SetQueueAttributesResponse where+  rnf _ = ()
+ gen/Amazonka/SQS/TagQueue.hs view
@@ -0,0 +1,156 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.TagQueue+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Add cost allocation tags to the specified Amazon SQS queue. For an+-- overview, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html Tagging Your Amazon SQS Queues>+-- in the /Amazon SQS Developer Guide/.+--+-- When you use queue tags, keep the following guidelines in mind:+--+-- -   Adding more than 50 tags to a queue isn\'t recommended.+--+-- -   Tags don\'t have any semantic meaning. Amazon SQS interprets tags as+--     character strings.+--+-- -   Tags are case-sensitive.+--+-- -   A new tag with a key identical to that of an existing tag overwrites+--     the existing tag.+--+-- For a full list of tag restrictions, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues Quotas related to queues>+-- in the /Amazon SQS Developer Guide/.+--+-- Cross-account permissions don\'t apply to this action. For more+-- information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name Grant cross-account permissions to a role and a user name>+-- in the /Amazon SQS Developer Guide/.+module Amazonka.SQS.TagQueue+  ( -- * Creating a Request+    TagQueue (..),+    newTagQueue,++    -- * Request Lenses+    tagQueue_queueUrl,+    tagQueue_tags,++    -- * Destructuring the Response+    TagQueueResponse (..),+    newTagQueueResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- | /See:/ 'newTagQueue' smart constructor.+data TagQueue = TagQueue'+  { -- | The URL of the queue.+    queueUrl :: Prelude.Text,+    -- | The list of tags to be added to the specified queue.+    tags :: Prelude.HashMap Prelude.Text Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagQueue' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueUrl', 'tagQueue_queueUrl' - The URL of the queue.+--+-- 'tags', 'tagQueue_tags' - The list of tags to be added to the specified queue.+newTagQueue ::+  -- | 'queueUrl'+  Prelude.Text ->+  TagQueue+newTagQueue pQueueUrl_ =+  TagQueue'+    { queueUrl = pQueueUrl_,+      tags = Prelude.mempty+    }++-- | The URL of the queue.+tagQueue_queueUrl :: Lens.Lens' TagQueue Prelude.Text+tagQueue_queueUrl = Lens.lens (\TagQueue' {queueUrl} -> queueUrl) (\s@TagQueue' {} a -> s {queueUrl = a} :: TagQueue)++-- | The list of tags to be added to the specified queue.+tagQueue_tags :: Lens.Lens' TagQueue (Prelude.HashMap Prelude.Text Prelude.Text)+tagQueue_tags = Lens.lens (\TagQueue' {tags} -> tags) (\s@TagQueue' {} a -> s {tags = a} :: TagQueue) Prelude.. Lens.coerced++instance Core.AWSRequest TagQueue where+  type AWSResponse TagQueue = TagQueueResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response = Response.receiveNull TagQueueResponse'++instance Prelude.Hashable TagQueue where+  hashWithSalt _salt TagQueue' {..} =+    _salt+      `Prelude.hashWithSalt` queueUrl+      `Prelude.hashWithSalt` tags++instance Prelude.NFData TagQueue where+  rnf TagQueue' {..} =+    Prelude.rnf queueUrl `Prelude.seq` Prelude.rnf tags++instance Data.ToHeaders TagQueue where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath TagQueue where+  toPath = Prelude.const "/"++instance Data.ToQuery TagQueue where+  toQuery TagQueue' {..} =+    Prelude.mconcat+      [ "Action" Data.=: ("TagQueue" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "QueueUrl" Data.=: queueUrl,+        Data.toQueryMap "Tags" "Key" "Value" tags+      ]++-- | /See:/ 'newTagQueueResponse' smart constructor.+data TagQueueResponse = TagQueueResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagQueueResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newTagQueueResponse ::+  TagQueueResponse+newTagQueueResponse = TagQueueResponse'++instance Prelude.NFData TagQueueResponse where+  rnf _ = ()
+ gen/Amazonka/SQS/Types.hs view
@@ -0,0 +1,353 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Types+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Types+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    _BatchEntryIdsNotDistinct,+    _BatchRequestTooLong,+    _EmptyBatchRequest,+    _InvalidAttributeName,+    _InvalidBatchEntryId,+    _InvalidIdFormat,+    _InvalidMessageContents,+    _MessageNotInflight,+    _OverLimit,+    _PurgeQueueInProgress,+    _QueueDeletedRecently,+    _QueueDoesNotExist,+    _QueueNameExists,+    _ReceiptHandleIsInvalid,+    _TooManyEntriesInBatchRequest,+    _UnsupportedOperation,++    -- * MessageAttribute+    MessageAttribute (..),++    -- * MessageSystemAttributeNameForSends+    MessageSystemAttributeNameForSends (..),++    -- * QueueAttributeName+    QueueAttributeName (..),++    -- * BatchResultErrorEntry+    BatchResultErrorEntry (..),+    newBatchResultErrorEntry,+    batchResultErrorEntry_message,+    batchResultErrorEntry_id,+    batchResultErrorEntry_senderFault,+    batchResultErrorEntry_code,++    -- * ChangeMessageVisibilityBatchRequestEntry+    ChangeMessageVisibilityBatchRequestEntry (..),+    newChangeMessageVisibilityBatchRequestEntry,+    changeMessageVisibilityBatchRequestEntry_visibilityTimeout,+    changeMessageVisibilityBatchRequestEntry_id,+    changeMessageVisibilityBatchRequestEntry_receiptHandle,++    -- * ChangeMessageVisibilityBatchResultEntry+    ChangeMessageVisibilityBatchResultEntry (..),+    newChangeMessageVisibilityBatchResultEntry,+    changeMessageVisibilityBatchResultEntry_id,++    -- * DeleteMessageBatchRequestEntry+    DeleteMessageBatchRequestEntry (..),+    newDeleteMessageBatchRequestEntry,+    deleteMessageBatchRequestEntry_id,+    deleteMessageBatchRequestEntry_receiptHandle,++    -- * DeleteMessageBatchResultEntry+    DeleteMessageBatchResultEntry (..),+    newDeleteMessageBatchResultEntry,+    deleteMessageBatchResultEntry_id,++    -- * Message+    Message (..),+    newMessage,+    message_attributes,+    message_body,+    message_mD5OfBody,+    message_mD5OfMessageAttributes,+    message_messageAttributes,+    message_messageId,+    message_receiptHandle,++    -- * MessageAttributeValue+    MessageAttributeValue (..),+    newMessageAttributeValue,+    messageAttributeValue_binaryListValues,+    messageAttributeValue_binaryValue,+    messageAttributeValue_stringListValues,+    messageAttributeValue_stringValue,+    messageAttributeValue_dataType,++    -- * MessageSystemAttributeValue+    MessageSystemAttributeValue (..),+    newMessageSystemAttributeValue,+    messageSystemAttributeValue_binaryListValues,+    messageSystemAttributeValue_binaryValue,+    messageSystemAttributeValue_stringListValues,+    messageSystemAttributeValue_stringValue,+    messageSystemAttributeValue_dataType,++    -- * SendMessageBatchRequestEntry+    SendMessageBatchRequestEntry (..),+    newSendMessageBatchRequestEntry,+    sendMessageBatchRequestEntry_delaySeconds,+    sendMessageBatchRequestEntry_messageAttributes,+    sendMessageBatchRequestEntry_messageDeduplicationId,+    sendMessageBatchRequestEntry_messageGroupId,+    sendMessageBatchRequestEntry_messageSystemAttributes,+    sendMessageBatchRequestEntry_id,+    sendMessageBatchRequestEntry_messageBody,++    -- * SendMessageBatchResultEntry+    SendMessageBatchResultEntry (..),+    newSendMessageBatchResultEntry,+    sendMessageBatchResultEntry_mD5OfMessageAttributes,+    sendMessageBatchResultEntry_mD5OfMessageSystemAttributes,+    sendMessageBatchResultEntry_sequenceNumber,+    sendMessageBatchResultEntry_id,+    sendMessageBatchResultEntry_messageId,+    sendMessageBatchResultEntry_mD5OfMessageBody,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Prelude as Prelude+import Amazonka.SQS.Types.BatchResultErrorEntry+import Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry+import Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry+import Amazonka.SQS.Types.DeleteMessageBatchRequestEntry+import Amazonka.SQS.Types.DeleteMessageBatchResultEntry+import Amazonka.SQS.Types.Message+import Amazonka.SQS.Types.MessageAttribute+import Amazonka.SQS.Types.MessageAttributeValue+import Amazonka.SQS.Types.MessageSystemAttributeNameForSends+import Amazonka.SQS.Types.MessageSystemAttributeValue+import Amazonka.SQS.Types.QueueAttributeName+import Amazonka.SQS.Types.SendMessageBatchRequestEntry+import Amazonka.SQS.Types.SendMessageBatchResultEntry+import qualified Amazonka.Sign.V4 as Sign++-- | API version @2012-11-05@ of the Amazon Simple Queue Service SDK configuration.+defaultService :: Core.Service+defaultService =+  Core.Service+    { Core.abbrev = "SQS",+      Core.signer = Sign.v4,+      Core.endpointPrefix = "sqs",+      Core.signingName = "sqs",+      Core.version = "2012-11-05",+      Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+      Core.endpoint = Core.defaultEndpoint defaultService,+      Core.timeout = Prelude.Just 70,+      Core.check = Core.statusSuccess,+      Core.error = Core.parseXMLError "SQS",+      Core.retry = retry+    }+  where+    retry =+      Core.Exponential+        { Core.base = 5.0e-2,+          Core.growth = 2,+          Core.attempts = 5,+          Core.check = check+        }+    check e+      | Lens.has (Core.hasStatus 502) e =+          Prelude.Just "bad_gateway"+      | Lens.has (Core.hasStatus 504) e =+          Prelude.Just "gateway_timeout"+      | Lens.has (Core.hasStatus 500) e =+          Prelude.Just "general_server_error"+      | Lens.has (Core.hasStatus 509) e =+          Prelude.Just "limit_exceeded"+      | Lens.has+          ( Core.hasCode "RequestThrottled"+              Prelude.. Core.hasStatus 403+          )+          e =+          Prelude.Just "request_limit_exceeded"+      | Lens.has+          ( Core.hasCode "RequestThrottledException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "request_throttled_exception"+      | Lens.has (Core.hasStatus 503) e =+          Prelude.Just "service_unavailable"+      | Lens.has+          ( Core.hasCode "ThrottledException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttled_exception"+      | Lens.has+          ( Core.hasCode "Throttling"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttling"+      | Lens.has+          ( Core.hasCode "ThrottlingException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttling_exception"+      | Lens.has+          ( Core.hasCode+              "ProvisionedThroughputExceededException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throughput_exceeded"+      | Lens.has (Core.hasStatus 429) e =+          Prelude.Just "too_many_requests"+      | Prelude.otherwise = Prelude.Nothing++-- | Two or more batch entries in the request have the same @Id@.+_BatchEntryIdsNotDistinct :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_BatchEntryIdsNotDistinct =+  Core._MatchServiceError+    defaultService+    "AWS.SimpleQueueService.BatchEntryIdsNotDistinct"+    Prelude.. Core.hasStatus 400++-- | The length of all the messages put together is more than the limit.+_BatchRequestTooLong :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_BatchRequestTooLong =+  Core._MatchServiceError+    defaultService+    "AWS.SimpleQueueService.BatchRequestTooLong"+    Prelude.. Core.hasStatus 400++-- | The batch request doesn\'t contain any entries.+_EmptyBatchRequest :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_EmptyBatchRequest =+  Core._MatchServiceError+    defaultService+    "AWS.SimpleQueueService.EmptyBatchRequest"+    Prelude.. Core.hasStatus 400++-- | The specified attribute doesn\'t exist.+_InvalidAttributeName :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidAttributeName =+  Core._MatchServiceError+    defaultService+    "InvalidAttributeName"++-- | The @Id@ of a batch entry in a batch request doesn\'t abide by the+-- specification.+_InvalidBatchEntryId :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidBatchEntryId =+  Core._MatchServiceError+    defaultService+    "AWS.SimpleQueueService.InvalidBatchEntryId"+    Prelude.. Core.hasStatus 400++-- | The specified receipt handle isn\'t valid for the current version.+_InvalidIdFormat :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidIdFormat =+  Core._MatchServiceError+    defaultService+    "InvalidIdFormat"++-- | The message contains characters outside the allowed set.+_InvalidMessageContents :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidMessageContents =+  Core._MatchServiceError+    defaultService+    "InvalidMessageContents"++-- | The specified message isn\'t in flight.+_MessageNotInflight :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_MessageNotInflight =+  Core._MatchServiceError+    defaultService+    "AWS.SimpleQueueService.MessageNotInflight"+    Prelude.. Core.hasStatus 400++-- | The specified action violates a limit. For example, @ReceiveMessage@+-- returns this error if the maximum number of inflight messages is reached+-- and @AddPermission@ returns this error if the maximum number of+-- permissions for the queue is reached.+_OverLimit :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_OverLimit =+  Core._MatchServiceError defaultService "OverLimit"+    Prelude.. Core.hasStatus 403++-- | Indicates that the specified queue previously received a @PurgeQueue@+-- request within the last 60 seconds (the time it can take to delete the+-- messages in the queue).+_PurgeQueueInProgress :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_PurgeQueueInProgress =+  Core._MatchServiceError+    defaultService+    "AWS.SimpleQueueService.PurgeQueueInProgress"+    Prelude.. Core.hasStatus 403++-- | You must wait 60 seconds after deleting a queue before you can create+-- another queue with the same name.+_QueueDeletedRecently :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_QueueDeletedRecently =+  Core._MatchServiceError+    defaultService+    "AWS.SimpleQueueService.QueueDeletedRecently"+    Prelude.. Core.hasStatus 400++-- | The specified queue doesn\'t exist.+_QueueDoesNotExist :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_QueueDoesNotExist =+  Core._MatchServiceError+    defaultService+    "AWS.SimpleQueueService.NonExistentQueue"+    Prelude.. Core.hasStatus 400++-- | A queue with this name already exists. Amazon SQS returns this error+-- only if the request includes attributes whose values differ from those+-- of the existing queue.+_QueueNameExists :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_QueueNameExists =+  Core._MatchServiceError+    defaultService+    "QueueAlreadyExists"+    Prelude.. Core.hasStatus 400++-- | The specified receipt handle isn\'t valid.+_ReceiptHandleIsInvalid :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ReceiptHandleIsInvalid =+  Core._MatchServiceError+    defaultService+    "ReceiptHandleIsInvalid"++-- | The batch request contains more entries than permissible.+_TooManyEntriesInBatchRequest :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_TooManyEntriesInBatchRequest =+  Core._MatchServiceError+    defaultService+    "AWS.SimpleQueueService.TooManyEntriesInBatchRequest"+    Prelude.. Core.hasStatus 400++-- | Error code 400. Unsupported operation.+_UnsupportedOperation :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_UnsupportedOperation =+  Core._MatchServiceError+    defaultService+    "AWS.SimpleQueueService.UnsupportedOperation"+    Prelude.. Core.hasStatus 400
+ gen/Amazonka/SQS/Types/BatchResultErrorEntry.hs view
@@ -0,0 +1,114 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Types.BatchResultErrorEntry+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Types.BatchResultErrorEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Gives a detailed description of the result of an action on each entry in+-- the request.+--+-- /See:/ 'newBatchResultErrorEntry' smart constructor.+data BatchResultErrorEntry = BatchResultErrorEntry'+  { -- | A message explaining why the action failed on this entry.+    message :: Prelude.Maybe Prelude.Text,+    -- | The @Id@ of an entry in a batch request.+    id :: Prelude.Text,+    -- | Specifies whether the error happened due to the caller of the batch API+    -- action.+    senderFault :: Prelude.Bool,+    -- | An error code representing why the action failed on this entry.+    code :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'BatchResultErrorEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'message', 'batchResultErrorEntry_message' - A message explaining why the action failed on this entry.+--+-- 'id', 'batchResultErrorEntry_id' - The @Id@ of an entry in a batch request.+--+-- 'senderFault', 'batchResultErrorEntry_senderFault' - Specifies whether the error happened due to the caller of the batch API+-- action.+--+-- 'code', 'batchResultErrorEntry_code' - An error code representing why the action failed on this entry.+newBatchResultErrorEntry ::+  -- | 'id'+  Prelude.Text ->+  -- | 'senderFault'+  Prelude.Bool ->+  -- | 'code'+  Prelude.Text ->+  BatchResultErrorEntry+newBatchResultErrorEntry pId_ pSenderFault_ pCode_ =+  BatchResultErrorEntry'+    { message = Prelude.Nothing,+      id = pId_,+      senderFault = pSenderFault_,+      code = pCode_+    }++-- | A message explaining why the action failed on this entry.+batchResultErrorEntry_message :: Lens.Lens' BatchResultErrorEntry (Prelude.Maybe Prelude.Text)+batchResultErrorEntry_message = Lens.lens (\BatchResultErrorEntry' {message} -> message) (\s@BatchResultErrorEntry' {} a -> s {message = a} :: BatchResultErrorEntry)++-- | The @Id@ of an entry in a batch request.+batchResultErrorEntry_id :: Lens.Lens' BatchResultErrorEntry Prelude.Text+batchResultErrorEntry_id = Lens.lens (\BatchResultErrorEntry' {id} -> id) (\s@BatchResultErrorEntry' {} a -> s {id = a} :: BatchResultErrorEntry)++-- | Specifies whether the error happened due to the caller of the batch API+-- action.+batchResultErrorEntry_senderFault :: Lens.Lens' BatchResultErrorEntry Prelude.Bool+batchResultErrorEntry_senderFault = Lens.lens (\BatchResultErrorEntry' {senderFault} -> senderFault) (\s@BatchResultErrorEntry' {} a -> s {senderFault = a} :: BatchResultErrorEntry)++-- | An error code representing why the action failed on this entry.+batchResultErrorEntry_code :: Lens.Lens' BatchResultErrorEntry Prelude.Text+batchResultErrorEntry_code = Lens.lens (\BatchResultErrorEntry' {code} -> code) (\s@BatchResultErrorEntry' {} a -> s {code = a} :: BatchResultErrorEntry)++instance Data.FromXML BatchResultErrorEntry where+  parseXML x =+    BatchResultErrorEntry'+      Prelude.<$> (x Data..@? "Message")+      Prelude.<*> (x Data..@ "Id")+      Prelude.<*> (x Data..@ "SenderFault")+      Prelude.<*> (x Data..@ "Code")++instance Prelude.Hashable BatchResultErrorEntry where+  hashWithSalt _salt BatchResultErrorEntry' {..} =+    _salt+      `Prelude.hashWithSalt` message+      `Prelude.hashWithSalt` id+      `Prelude.hashWithSalt` senderFault+      `Prelude.hashWithSalt` code++instance Prelude.NFData BatchResultErrorEntry where+  rnf BatchResultErrorEntry' {..} =+    Prelude.rnf message+      `Prelude.seq` Prelude.rnf id+      `Prelude.seq` Prelude.rnf senderFault+      `Prelude.seq` Prelude.rnf code
+ gen/Amazonka/SQS/Types/ChangeMessageVisibilityBatchRequestEntry.hs view
@@ -0,0 +1,141 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Encloses a receipt handle and an entry id for each message in+-- @ @@ChangeMessageVisibilityBatch@@.@+--+-- All of the following list parameters 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.ReceiptHandle=your_receipt_handle@+--+-- @&ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45@+--+-- /See:/ 'newChangeMessageVisibilityBatchRequestEntry' smart constructor.+data ChangeMessageVisibilityBatchRequestEntry = ChangeMessageVisibilityBatchRequestEntry'+  { -- | The new value (in seconds) for the message\'s visibility timeout.+    visibilityTimeout :: Prelude.Maybe Prelude.Int,+    -- | An identifier for this particular receipt handle used to communicate the+    -- result.+    --+    -- The @Id@s of a batch request need to be unique within a request.+    --+    -- This identifier can have up to 80 characters. The following characters+    -- are accepted: alphanumeric characters, hyphens(-), and underscores (_).+    id :: Prelude.Text,+    -- | A receipt handle.+    receiptHandle :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ChangeMessageVisibilityBatchRequestEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'visibilityTimeout', 'changeMessageVisibilityBatchRequestEntry_visibilityTimeout' - The new value (in seconds) for the message\'s visibility timeout.+--+-- 'id', 'changeMessageVisibilityBatchRequestEntry_id' - An identifier for this particular receipt handle used to communicate the+-- result.+--+-- The @Id@s of a batch request need to be unique within a request.+--+-- This identifier can have up to 80 characters. The following characters+-- are accepted: alphanumeric characters, hyphens(-), and underscores (_).+--+-- 'receiptHandle', 'changeMessageVisibilityBatchRequestEntry_receiptHandle' - A receipt handle.+newChangeMessageVisibilityBatchRequestEntry ::+  -- | 'id'+  Prelude.Text ->+  -- | 'receiptHandle'+  Prelude.Text ->+  ChangeMessageVisibilityBatchRequestEntry+newChangeMessageVisibilityBatchRequestEntry+  pId_+  pReceiptHandle_ =+    ChangeMessageVisibilityBatchRequestEntry'+      { visibilityTimeout =+          Prelude.Nothing,+        id = pId_,+        receiptHandle = pReceiptHandle_+      }++-- | The new value (in seconds) for the message\'s visibility timeout.+changeMessageVisibilityBatchRequestEntry_visibilityTimeout :: Lens.Lens' ChangeMessageVisibilityBatchRequestEntry (Prelude.Maybe Prelude.Int)+changeMessageVisibilityBatchRequestEntry_visibilityTimeout = Lens.lens (\ChangeMessageVisibilityBatchRequestEntry' {visibilityTimeout} -> visibilityTimeout) (\s@ChangeMessageVisibilityBatchRequestEntry' {} a -> s {visibilityTimeout = a} :: ChangeMessageVisibilityBatchRequestEntry)++-- | An identifier for this particular receipt handle used to communicate the+-- result.+--+-- The @Id@s of a batch request need to be unique within a request.+--+-- This identifier can have up to 80 characters. The following characters+-- are accepted: alphanumeric characters, hyphens(-), and underscores (_).+changeMessageVisibilityBatchRequestEntry_id :: Lens.Lens' ChangeMessageVisibilityBatchRequestEntry Prelude.Text+changeMessageVisibilityBatchRequestEntry_id = Lens.lens (\ChangeMessageVisibilityBatchRequestEntry' {id} -> id) (\s@ChangeMessageVisibilityBatchRequestEntry' {} a -> s {id = a} :: ChangeMessageVisibilityBatchRequestEntry)++-- | A receipt handle.+changeMessageVisibilityBatchRequestEntry_receiptHandle :: Lens.Lens' ChangeMessageVisibilityBatchRequestEntry Prelude.Text+changeMessageVisibilityBatchRequestEntry_receiptHandle = Lens.lens (\ChangeMessageVisibilityBatchRequestEntry' {receiptHandle} -> receiptHandle) (\s@ChangeMessageVisibilityBatchRequestEntry' {} a -> s {receiptHandle = a} :: ChangeMessageVisibilityBatchRequestEntry)++instance+  Prelude.Hashable+    ChangeMessageVisibilityBatchRequestEntry+  where+  hashWithSalt+    _salt+    ChangeMessageVisibilityBatchRequestEntry' {..} =+      _salt+        `Prelude.hashWithSalt` visibilityTimeout+        `Prelude.hashWithSalt` id+        `Prelude.hashWithSalt` receiptHandle++instance+  Prelude.NFData+    ChangeMessageVisibilityBatchRequestEntry+  where+  rnf ChangeMessageVisibilityBatchRequestEntry' {..} =+    Prelude.rnf visibilityTimeout+      `Prelude.seq` Prelude.rnf id+      `Prelude.seq` Prelude.rnf receiptHandle++instance+  Data.ToQuery+    ChangeMessageVisibilityBatchRequestEntry+  where+  toQuery ChangeMessageVisibilityBatchRequestEntry' {..} =+    Prelude.mconcat+      [ "VisibilityTimeout" Data.=: visibilityTimeout,+        "Id" Data.=: id,+        "ReceiptHandle" Data.=: receiptHandle+      ]
+ gen/Amazonka/SQS/Types/ChangeMessageVisibilityBatchResultEntry.hs view
@@ -0,0 +1,81 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Encloses the @Id@ of an entry in @ @@ChangeMessageVisibilityBatch@@.@+--+-- /See:/ 'newChangeMessageVisibilityBatchResultEntry' smart constructor.+data ChangeMessageVisibilityBatchResultEntry = ChangeMessageVisibilityBatchResultEntry'+  { -- | Represents a message whose visibility timeout has been changed+    -- successfully.+    id :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ChangeMessageVisibilityBatchResultEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'id', 'changeMessageVisibilityBatchResultEntry_id' - Represents a message whose visibility timeout has been changed+-- successfully.+newChangeMessageVisibilityBatchResultEntry ::+  -- | 'id'+  Prelude.Text ->+  ChangeMessageVisibilityBatchResultEntry+newChangeMessageVisibilityBatchResultEntry pId_ =+  ChangeMessageVisibilityBatchResultEntry' {id = pId_}++-- | Represents a message whose visibility timeout has been changed+-- successfully.+changeMessageVisibilityBatchResultEntry_id :: Lens.Lens' ChangeMessageVisibilityBatchResultEntry Prelude.Text+changeMessageVisibilityBatchResultEntry_id = Lens.lens (\ChangeMessageVisibilityBatchResultEntry' {id} -> id) (\s@ChangeMessageVisibilityBatchResultEntry' {} a -> s {id = a} :: ChangeMessageVisibilityBatchResultEntry)++instance+  Data.FromXML+    ChangeMessageVisibilityBatchResultEntry+  where+  parseXML x =+    ChangeMessageVisibilityBatchResultEntry'+      Prelude.<$> (x Data..@ "Id")++instance+  Prelude.Hashable+    ChangeMessageVisibilityBatchResultEntry+  where+  hashWithSalt+    _salt+    ChangeMessageVisibilityBatchResultEntry' {..} =+      _salt `Prelude.hashWithSalt` id++instance+  Prelude.NFData+    ChangeMessageVisibilityBatchResultEntry+  where+  rnf ChangeMessageVisibilityBatchResultEntry' {..} =+    Prelude.rnf id
+ gen/Amazonka/SQS/Types/DeleteMessageBatchRequestEntry.hs view
@@ -0,0 +1,113 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Types.DeleteMessageBatchRequestEntry+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Types.DeleteMessageBatchRequestEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Encloses a receipt handle and an identifier for it.+--+-- /See:/ 'newDeleteMessageBatchRequestEntry' smart constructor.+data DeleteMessageBatchRequestEntry = DeleteMessageBatchRequestEntry'+  { -- | An identifier for this particular receipt handle. This is used to+    -- communicate the result.+    --+    -- The @Id@s of a batch request need to be unique within a request.+    --+    -- This identifier can have up to 80 characters. The following characters+    -- are accepted: alphanumeric characters, hyphens(-), and underscores (_).+    id :: Prelude.Text,+    -- | A receipt handle.+    receiptHandle :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteMessageBatchRequestEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'id', 'deleteMessageBatchRequestEntry_id' - An identifier for this particular receipt handle. This is used to+-- communicate the result.+--+-- The @Id@s of a batch request need to be unique within a request.+--+-- This identifier can have up to 80 characters. The following characters+-- are accepted: alphanumeric characters, hyphens(-), and underscores (_).+--+-- 'receiptHandle', 'deleteMessageBatchRequestEntry_receiptHandle' - A receipt handle.+newDeleteMessageBatchRequestEntry ::+  -- | 'id'+  Prelude.Text ->+  -- | 'receiptHandle'+  Prelude.Text ->+  DeleteMessageBatchRequestEntry+newDeleteMessageBatchRequestEntry+  pId_+  pReceiptHandle_ =+    DeleteMessageBatchRequestEntry'+      { id = pId_,+        receiptHandle = pReceiptHandle_+      }++-- | An identifier for this particular receipt handle. This is used to+-- communicate the result.+--+-- The @Id@s of a batch request need to be unique within a request.+--+-- This identifier can have up to 80 characters. The following characters+-- are accepted: alphanumeric characters, hyphens(-), and underscores (_).+deleteMessageBatchRequestEntry_id :: Lens.Lens' DeleteMessageBatchRequestEntry Prelude.Text+deleteMessageBatchRequestEntry_id = Lens.lens (\DeleteMessageBatchRequestEntry' {id} -> id) (\s@DeleteMessageBatchRequestEntry' {} a -> s {id = a} :: DeleteMessageBatchRequestEntry)++-- | A receipt handle.+deleteMessageBatchRequestEntry_receiptHandle :: Lens.Lens' DeleteMessageBatchRequestEntry Prelude.Text+deleteMessageBatchRequestEntry_receiptHandle = Lens.lens (\DeleteMessageBatchRequestEntry' {receiptHandle} -> receiptHandle) (\s@DeleteMessageBatchRequestEntry' {} a -> s {receiptHandle = a} :: DeleteMessageBatchRequestEntry)++instance+  Prelude.Hashable+    DeleteMessageBatchRequestEntry+  where+  hashWithSalt+    _salt+    DeleteMessageBatchRequestEntry' {..} =+      _salt+        `Prelude.hashWithSalt` id+        `Prelude.hashWithSalt` receiptHandle++instance+  Prelude.NFData+    DeleteMessageBatchRequestEntry+  where+  rnf DeleteMessageBatchRequestEntry' {..} =+    Prelude.rnf id+      `Prelude.seq` Prelude.rnf receiptHandle++instance Data.ToQuery DeleteMessageBatchRequestEntry where+  toQuery DeleteMessageBatchRequestEntry' {..} =+    Prelude.mconcat+      [ "Id" Data.=: id,+        "ReceiptHandle" Data.=: receiptHandle+      ]
+ gen/Amazonka/SQS/Types/DeleteMessageBatchResultEntry.hs view
@@ -0,0 +1,70 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Types.DeleteMessageBatchResultEntry+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Types.DeleteMessageBatchResultEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Encloses the @Id@ of an entry in @ @@DeleteMessageBatch@@.@+--+-- /See:/ 'newDeleteMessageBatchResultEntry' smart constructor.+data DeleteMessageBatchResultEntry = DeleteMessageBatchResultEntry'+  { -- | Represents a successfully deleted message.+    id :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteMessageBatchResultEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'id', 'deleteMessageBatchResultEntry_id' - Represents a successfully deleted message.+newDeleteMessageBatchResultEntry ::+  -- | 'id'+  Prelude.Text ->+  DeleteMessageBatchResultEntry+newDeleteMessageBatchResultEntry pId_ =+  DeleteMessageBatchResultEntry' {id = pId_}++-- | Represents a successfully deleted message.+deleteMessageBatchResultEntry_id :: Lens.Lens' DeleteMessageBatchResultEntry Prelude.Text+deleteMessageBatchResultEntry_id = Lens.lens (\DeleteMessageBatchResultEntry' {id} -> id) (\s@DeleteMessageBatchResultEntry' {} a -> s {id = a} :: DeleteMessageBatchResultEntry)++instance Data.FromXML DeleteMessageBatchResultEntry where+  parseXML x =+    DeleteMessageBatchResultEntry'+      Prelude.<$> (x Data..@ "Id")++instance+  Prelude.Hashable+    DeleteMessageBatchResultEntry+  where+  hashWithSalt _salt DeleteMessageBatchResultEntry' {..} =+    _salt `Prelude.hashWithSalt` id++instance Prelude.NFData DeleteMessageBatchResultEntry where+  rnf DeleteMessageBatchResultEntry' {..} =+    Prelude.rnf id
+ gen/Amazonka/SQS/Types/Message.hs view
@@ -0,0 +1,238 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Types.Message+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Types.Message where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.SQS.Types.MessageAttribute+import Amazonka.SQS.Types.MessageAttributeValue++-- | An Amazon SQS message.+--+-- /See:/ 'newMessage' smart constructor.+data Message = Message'+  { -- | A map of the attributes requested in @ @@ReceiveMessage@@ @ to their+    -- respective values. Supported attributes:+    --+    -- -   @ApproximateReceiveCount@+    --+    -- -   @ApproximateFirstReceiveTimestamp@+    --+    -- -   @MessageDeduplicationId@+    --+    -- -   @MessageGroupId@+    --+    -- -   @SenderId@+    --+    -- -   @SentTimestamp@+    --+    -- -   @SequenceNumber@+    --+    -- @ApproximateFirstReceiveTimestamp@ and @SentTimestamp@ are each returned+    -- as an integer representing the+    -- <http://en.wikipedia.org/wiki/Unix_time epoch time> in milliseconds.+    attributes :: Prelude.Maybe (Prelude.HashMap MessageAttribute Prelude.Text),+    -- | The message\'s contents (not URL-encoded).+    body :: Prelude.Maybe Prelude.Text,+    -- | An MD5 digest of the non-URL-encoded message body string.+    mD5OfBody :: Prelude.Maybe Prelude.Text,+    -- | An MD5 digest of the non-URL-encoded message attribute string. You can+    -- use this attribute to verify that Amazon SQS received the message+    -- correctly. Amazon SQS URL-decodes the message before creating the MD5+    -- digest. For information about MD5, see+    -- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+    mD5OfMessageAttributes :: Prelude.Maybe Prelude.Text,+    -- | Each message attribute consists of a @Name@, @Type@, and @Value@. For+    -- more information, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS message attributes>+    -- in the /Amazon SQS Developer Guide/.+    messageAttributes :: Prelude.Maybe (Prelude.HashMap Prelude.Text MessageAttributeValue),+    -- | A unique identifier for the message. A @MessageId@is considered unique+    -- across all Amazon Web Services accounts for an extended period of time.+    messageId :: Prelude.Maybe Prelude.Text,+    -- | An identifier associated with the act of receiving the message. A new+    -- receipt handle is returned every time you receive a message. When+    -- deleting a message, you provide the last received receipt handle to+    -- delete the message.+    receiptHandle :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Message' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'attributes', 'message_attributes' - A map of the attributes requested in @ @@ReceiveMessage@@ @ to their+-- respective values. Supported attributes:+--+-- -   @ApproximateReceiveCount@+--+-- -   @ApproximateFirstReceiveTimestamp@+--+-- -   @MessageDeduplicationId@+--+-- -   @MessageGroupId@+--+-- -   @SenderId@+--+-- -   @SentTimestamp@+--+-- -   @SequenceNumber@+--+-- @ApproximateFirstReceiveTimestamp@ and @SentTimestamp@ are each returned+-- as an integer representing the+-- <http://en.wikipedia.org/wiki/Unix_time epoch time> in milliseconds.+--+-- 'body', 'message_body' - The message\'s contents (not URL-encoded).+--+-- 'mD5OfBody', 'message_mD5OfBody' - An MD5 digest of the non-URL-encoded message body string.+--+-- 'mD5OfMessageAttributes', 'message_mD5OfMessageAttributes' - An MD5 digest of the non-URL-encoded message attribute string. You can+-- use this attribute to verify that Amazon SQS received the message+-- correctly. Amazon SQS URL-decodes the message before creating the MD5+-- digest. For information about MD5, see+-- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+--+-- 'messageAttributes', 'message_messageAttributes' - Each message attribute consists of a @Name@, @Type@, and @Value@. For+-- more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS message attributes>+-- in the /Amazon SQS Developer Guide/.+--+-- 'messageId', 'message_messageId' - A unique identifier for the message. A @MessageId@is considered unique+-- across all Amazon Web Services accounts for an extended period of time.+--+-- 'receiptHandle', 'message_receiptHandle' - An identifier associated with the act of receiving the message. A new+-- receipt handle is returned every time you receive a message. When+-- deleting a message, you provide the last received receipt handle to+-- delete the message.+newMessage ::+  Message+newMessage =+  Message'+    { attributes = Prelude.Nothing,+      body = Prelude.Nothing,+      mD5OfBody = Prelude.Nothing,+      mD5OfMessageAttributes = Prelude.Nothing,+      messageAttributes = Prelude.Nothing,+      messageId = Prelude.Nothing,+      receiptHandle = Prelude.Nothing+    }++-- | A map of the attributes requested in @ @@ReceiveMessage@@ @ to their+-- respective values. Supported attributes:+--+-- -   @ApproximateReceiveCount@+--+-- -   @ApproximateFirstReceiveTimestamp@+--+-- -   @MessageDeduplicationId@+--+-- -   @MessageGroupId@+--+-- -   @SenderId@+--+-- -   @SentTimestamp@+--+-- -   @SequenceNumber@+--+-- @ApproximateFirstReceiveTimestamp@ and @SentTimestamp@ are each returned+-- as an integer representing the+-- <http://en.wikipedia.org/wiki/Unix_time epoch time> in milliseconds.+message_attributes :: Lens.Lens' Message (Prelude.Maybe (Prelude.HashMap MessageAttribute Prelude.Text))+message_attributes = Lens.lens (\Message' {attributes} -> attributes) (\s@Message' {} a -> s {attributes = a} :: Message) Prelude.. Lens.mapping Lens.coerced++-- | The message\'s contents (not URL-encoded).+message_body :: Lens.Lens' Message (Prelude.Maybe Prelude.Text)+message_body = Lens.lens (\Message' {body} -> body) (\s@Message' {} a -> s {body = a} :: Message)++-- | An MD5 digest of the non-URL-encoded message body string.+message_mD5OfBody :: Lens.Lens' Message (Prelude.Maybe Prelude.Text)+message_mD5OfBody = Lens.lens (\Message' {mD5OfBody} -> mD5OfBody) (\s@Message' {} a -> s {mD5OfBody = a} :: Message)++-- | An MD5 digest of the non-URL-encoded message attribute string. You can+-- use this attribute to verify that Amazon SQS received the message+-- correctly. Amazon SQS URL-decodes the message before creating the MD5+-- digest. For information about MD5, see+-- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+message_mD5OfMessageAttributes :: Lens.Lens' Message (Prelude.Maybe Prelude.Text)+message_mD5OfMessageAttributes = Lens.lens (\Message' {mD5OfMessageAttributes} -> mD5OfMessageAttributes) (\s@Message' {} a -> s {mD5OfMessageAttributes = a} :: Message)++-- | Each message attribute consists of a @Name@, @Type@, and @Value@. For+-- more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS message attributes>+-- in the /Amazon SQS Developer Guide/.+message_messageAttributes :: Lens.Lens' Message (Prelude.Maybe (Prelude.HashMap Prelude.Text MessageAttributeValue))+message_messageAttributes = Lens.lens (\Message' {messageAttributes} -> messageAttributes) (\s@Message' {} a -> s {messageAttributes = a} :: Message) Prelude.. Lens.mapping Lens.coerced++-- | A unique identifier for the message. A @MessageId@is considered unique+-- across all Amazon Web Services accounts for an extended period of time.+message_messageId :: Lens.Lens' Message (Prelude.Maybe Prelude.Text)+message_messageId = Lens.lens (\Message' {messageId} -> messageId) (\s@Message' {} a -> s {messageId = a} :: Message)++-- | An identifier associated with the act of receiving the message. A new+-- receipt handle is returned every time you receive a message. When+-- deleting a message, you provide the last received receipt handle to+-- delete the message.+message_receiptHandle :: Lens.Lens' Message (Prelude.Maybe Prelude.Text)+message_receiptHandle = Lens.lens (\Message' {receiptHandle} -> receiptHandle) (\s@Message' {} a -> s {receiptHandle = a} :: Message)++instance Data.FromXML Message where+  parseXML x =+    Message'+      Prelude.<$> ( Core.may+                      (Data.parseXMLMap "Attribute" "Name" "Value")+                      x+                  )+      Prelude.<*> (x Data..@? "Body")+      Prelude.<*> (x Data..@? "MD5OfBody")+      Prelude.<*> (x Data..@? "MD5OfMessageAttributes")+      Prelude.<*> ( Core.may+                      (Data.parseXMLMap "MessageAttribute" "Name" "Value")+                      x+                  )+      Prelude.<*> (x Data..@? "MessageId")+      Prelude.<*> (x Data..@? "ReceiptHandle")++instance Prelude.Hashable Message where+  hashWithSalt _salt Message' {..} =+    _salt+      `Prelude.hashWithSalt` attributes+      `Prelude.hashWithSalt` body+      `Prelude.hashWithSalt` mD5OfBody+      `Prelude.hashWithSalt` mD5OfMessageAttributes+      `Prelude.hashWithSalt` messageAttributes+      `Prelude.hashWithSalt` messageId+      `Prelude.hashWithSalt` receiptHandle++instance Prelude.NFData Message where+  rnf Message' {..} =+    Prelude.rnf attributes+      `Prelude.seq` Prelude.rnf body+      `Prelude.seq` Prelude.rnf mD5OfBody+      `Prelude.seq` Prelude.rnf mD5OfMessageAttributes+      `Prelude.seq` Prelude.rnf messageAttributes+      `Prelude.seq` Prelude.rnf messageId+      `Prelude.seq` Prelude.rnf receiptHandle
+ gen/Amazonka/SQS/Types/MessageAttribute.hs view
@@ -0,0 +1,86 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Types.MessageAttribute+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Types.MessageAttribute+  ( MessageAttribute+      ( ..,+        MessageAttribute_All,+        MessageAttribute_ApproximateFirstReceiveTimestamp,+        MessageAttribute_ApproximateReceiveCount,+        MessageAttribute_SenderId,+        MessageAttribute_SentTimestamp+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype MessageAttribute = MessageAttribute'+  { fromMessageAttribute ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern MessageAttribute_All :: MessageAttribute+pattern MessageAttribute_All = MessageAttribute' "All"++pattern MessageAttribute_ApproximateFirstReceiveTimestamp :: MessageAttribute+pattern MessageAttribute_ApproximateFirstReceiveTimestamp = MessageAttribute' "ApproximateFirstReceiveTimestamp"++pattern MessageAttribute_ApproximateReceiveCount :: MessageAttribute+pattern MessageAttribute_ApproximateReceiveCount = MessageAttribute' "ApproximateReceiveCount"++pattern MessageAttribute_SenderId :: MessageAttribute+pattern MessageAttribute_SenderId = MessageAttribute' "SenderId"++pattern MessageAttribute_SentTimestamp :: MessageAttribute+pattern MessageAttribute_SentTimestamp = MessageAttribute' "SentTimestamp"++{-# COMPLETE+  MessageAttribute_All,+  MessageAttribute_ApproximateFirstReceiveTimestamp,+  MessageAttribute_ApproximateReceiveCount,+  MessageAttribute_SenderId,+  MessageAttribute_SentTimestamp,+  MessageAttribute'+  #-}
+ gen/Amazonka/SQS/Types/MessageAttributeValue.hs view
@@ -0,0 +1,187 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Types.MessageAttributeValue+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Types.MessageAttributeValue where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The user-specified message attribute value. For string data types, the+-- @Value@ attribute has the same restrictions on the content as the+-- message body. For more information, see @ @@SendMessage@@.@+--+-- @Name@, @type@, @value@ and the message body must not be empty or null.+-- All parts of the message attribute, including @Name@, @Type@, and+-- @Value@, are part of the message size restriction (256 KB or 262,144+-- bytes).+--+-- /See:/ 'newMessageAttributeValue' smart constructor.+data MessageAttributeValue = MessageAttributeValue'+  { -- | Not implemented. Reserved for future use.+    binaryListValues :: Prelude.Maybe [Data.Base64],+    -- | Binary type attributes can store any binary data, such as compressed+    -- data, encrypted data, or images.+    binaryValue :: Prelude.Maybe Data.Base64,+    -- | Not implemented. Reserved for future use.+    stringListValues :: Prelude.Maybe [Prelude.Text],+    -- | Strings are Unicode with UTF-8 binary encoding. For a list of code+    -- values, see+    -- <http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters ASCII Printable Characters>.+    stringValue :: Prelude.Maybe Prelude.Text,+    -- | 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+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS Message Attributes>+    -- in the /Amazon SQS Developer Guide/.+    dataType :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MessageAttributeValue' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'binaryListValues', 'messageAttributeValue_binaryListValues' - Not implemented. Reserved for future use.+--+-- 'binaryValue', 'messageAttributeValue_binaryValue' - Binary type attributes can store any binary data, such as compressed+-- data, encrypted data, or images.--+-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.+-- -- The underlying isomorphism will encode to Base64 representation during+-- -- serialisation, and decode from Base64 representation during deserialisation.+-- -- This 'Lens' accepts and returns only raw unencoded data.+--+-- 'stringListValues', 'messageAttributeValue_stringListValues' - Not implemented. Reserved for future use.+--+-- 'stringValue', 'messageAttributeValue_stringValue' - Strings are Unicode with UTF-8 binary encoding. For a list of code+-- values, see+-- <http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters ASCII Printable Characters>.+--+-- 'dataType', 'messageAttributeValue_dataType' - 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+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS Message Attributes>+-- in the /Amazon SQS Developer Guide/.+newMessageAttributeValue ::+  -- | 'dataType'+  Prelude.Text ->+  MessageAttributeValue+newMessageAttributeValue pDataType_ =+  MessageAttributeValue'+    { binaryListValues =+        Prelude.Nothing,+      binaryValue = Prelude.Nothing,+      stringListValues = Prelude.Nothing,+      stringValue = Prelude.Nothing,+      dataType = pDataType_+    }++-- | Not implemented. Reserved for future use.+messageAttributeValue_binaryListValues :: Lens.Lens' MessageAttributeValue (Prelude.Maybe [Prelude.ByteString])+messageAttributeValue_binaryListValues = Lens.lens (\MessageAttributeValue' {binaryListValues} -> binaryListValues) (\s@MessageAttributeValue' {} a -> s {binaryListValues = a} :: MessageAttributeValue) Prelude.. Lens.mapping Lens.coerced++-- | Binary type attributes can store any binary data, such as compressed+-- data, encrypted data, or images.--+-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.+-- -- The underlying isomorphism will encode to Base64 representation during+-- -- serialisation, and decode from Base64 representation during deserialisation.+-- -- This 'Lens' accepts and returns only raw unencoded data.+messageAttributeValue_binaryValue :: Lens.Lens' MessageAttributeValue (Prelude.Maybe Prelude.ByteString)+messageAttributeValue_binaryValue = Lens.lens (\MessageAttributeValue' {binaryValue} -> binaryValue) (\s@MessageAttributeValue' {} a -> s {binaryValue = a} :: MessageAttributeValue) Prelude.. Lens.mapping Data._Base64++-- | Not implemented. Reserved for future use.+messageAttributeValue_stringListValues :: Lens.Lens' MessageAttributeValue (Prelude.Maybe [Prelude.Text])+messageAttributeValue_stringListValues = Lens.lens (\MessageAttributeValue' {stringListValues} -> stringListValues) (\s@MessageAttributeValue' {} a -> s {stringListValues = a} :: MessageAttributeValue) Prelude.. Lens.mapping Lens.coerced++-- | Strings are Unicode with UTF-8 binary encoding. For a list of code+-- values, see+-- <http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters ASCII Printable Characters>.+messageAttributeValue_stringValue :: Lens.Lens' MessageAttributeValue (Prelude.Maybe Prelude.Text)+messageAttributeValue_stringValue = Lens.lens (\MessageAttributeValue' {stringValue} -> stringValue) (\s@MessageAttributeValue' {} a -> s {stringValue = a} :: MessageAttributeValue)++-- | 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+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS Message Attributes>+-- in the /Amazon SQS Developer Guide/.+messageAttributeValue_dataType :: Lens.Lens' MessageAttributeValue Prelude.Text+messageAttributeValue_dataType = Lens.lens (\MessageAttributeValue' {dataType} -> dataType) (\s@MessageAttributeValue' {} a -> s {dataType = a} :: MessageAttributeValue)++instance Data.FromXML MessageAttributeValue where+  parseXML x =+    MessageAttributeValue'+      Prelude.<$> ( x+                      Data..@? "BinaryListValue"+                      Core..!@ Prelude.mempty+                      Prelude.>>= Core.may (Data.parseXMLList "BinaryListValue")+                  )+      Prelude.<*> (x Data..@? "BinaryValue")+      Prelude.<*> ( x+                      Data..@? "StringListValue"+                      Core..!@ Prelude.mempty+                      Prelude.>>= Core.may (Data.parseXMLList "StringListValue")+                  )+      Prelude.<*> (x Data..@? "StringValue")+      Prelude.<*> (x Data..@ "DataType")++instance Prelude.Hashable MessageAttributeValue where+  hashWithSalt _salt MessageAttributeValue' {..} =+    _salt+      `Prelude.hashWithSalt` binaryListValues+      `Prelude.hashWithSalt` binaryValue+      `Prelude.hashWithSalt` stringListValues+      `Prelude.hashWithSalt` stringValue+      `Prelude.hashWithSalt` dataType++instance Prelude.NFData MessageAttributeValue where+  rnf MessageAttributeValue' {..} =+    Prelude.rnf binaryListValues+      `Prelude.seq` Prelude.rnf binaryValue+      `Prelude.seq` Prelude.rnf stringListValues+      `Prelude.seq` Prelude.rnf stringValue+      `Prelude.seq` Prelude.rnf dataType++instance Data.ToQuery MessageAttributeValue where+  toQuery MessageAttributeValue' {..} =+    Prelude.mconcat+      [ "BinaryListValue"+          Data.=: Data.toQuery+            ( Data.toQueryList "BinaryListValue"+                Prelude.<$> binaryListValues+            ),+        "BinaryValue" Data.=: binaryValue,+        "StringListValue"+          Data.=: Data.toQuery+            ( Data.toQueryList "StringListValue"+                Prelude.<$> stringListValues+            ),+        "StringValue" Data.=: stringValue,+        "DataType" Data.=: dataType+      ]
+ gen/Amazonka/SQS/Types/MessageSystemAttributeNameForSends.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Types.MessageSystemAttributeNameForSends+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Types.MessageSystemAttributeNameForSends+  ( MessageSystemAttributeNameForSends+      ( ..,+        MessageSystemAttributeNameForSends_AWSTraceHeader+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype MessageSystemAttributeNameForSends = MessageSystemAttributeNameForSends'+  { fromMessageSystemAttributeNameForSends ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern MessageSystemAttributeNameForSends_AWSTraceHeader :: MessageSystemAttributeNameForSends+pattern MessageSystemAttributeNameForSends_AWSTraceHeader = MessageSystemAttributeNameForSends' "AWSTraceHeader"++{-# COMPLETE+  MessageSystemAttributeNameForSends_AWSTraceHeader,+  MessageSystemAttributeNameForSends'+  #-}
+ gen/Amazonka/SQS/Types/MessageSystemAttributeValue.hs view
@@ -0,0 +1,167 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Types.MessageSystemAttributeValue+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Types.MessageSystemAttributeValue where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The user-specified message system attribute value. For string data+-- types, the @Value@ attribute has the same restrictions on the content as+-- the message body. For more information, see @ @@SendMessage@@.@+--+-- @Name@, @type@, @value@ and the message body must not be empty or null.+--+-- /See:/ 'newMessageSystemAttributeValue' smart constructor.+data MessageSystemAttributeValue = MessageSystemAttributeValue'+  { -- | Not implemented. Reserved for future use.+    binaryListValues :: Prelude.Maybe [Data.Base64],+    -- | Binary type attributes can store any binary data, such as compressed+    -- data, encrypted data, or images.+    binaryValue :: Prelude.Maybe Data.Base64,+    -- | Not implemented. Reserved for future use.+    stringListValues :: Prelude.Maybe [Prelude.Text],+    -- | Strings are Unicode with UTF-8 binary encoding. For a list of code+    -- values, see+    -- <http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters ASCII Printable Characters>.+    stringValue :: Prelude.Maybe Prelude.Text,+    -- | 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+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS Message Attributes>+    -- in the /Amazon SQS Developer Guide/.+    dataType :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MessageSystemAttributeValue' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'binaryListValues', 'messageSystemAttributeValue_binaryListValues' - Not implemented. Reserved for future use.+--+-- 'binaryValue', 'messageSystemAttributeValue_binaryValue' - Binary type attributes can store any binary data, such as compressed+-- data, encrypted data, or images.--+-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.+-- -- The underlying isomorphism will encode to Base64 representation during+-- -- serialisation, and decode from Base64 representation during deserialisation.+-- -- This 'Lens' accepts and returns only raw unencoded data.+--+-- 'stringListValues', 'messageSystemAttributeValue_stringListValues' - Not implemented. Reserved for future use.+--+-- 'stringValue', 'messageSystemAttributeValue_stringValue' - Strings are Unicode with UTF-8 binary encoding. For a list of code+-- values, see+-- <http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters ASCII Printable Characters>.+--+-- 'dataType', 'messageSystemAttributeValue_dataType' - 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+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS Message Attributes>+-- in the /Amazon SQS Developer Guide/.+newMessageSystemAttributeValue ::+  -- | 'dataType'+  Prelude.Text ->+  MessageSystemAttributeValue+newMessageSystemAttributeValue pDataType_ =+  MessageSystemAttributeValue'+    { binaryListValues =+        Prelude.Nothing,+      binaryValue = Prelude.Nothing,+      stringListValues = Prelude.Nothing,+      stringValue = Prelude.Nothing,+      dataType = pDataType_+    }++-- | Not implemented. Reserved for future use.+messageSystemAttributeValue_binaryListValues :: Lens.Lens' MessageSystemAttributeValue (Prelude.Maybe [Prelude.ByteString])+messageSystemAttributeValue_binaryListValues = Lens.lens (\MessageSystemAttributeValue' {binaryListValues} -> binaryListValues) (\s@MessageSystemAttributeValue' {} a -> s {binaryListValues = a} :: MessageSystemAttributeValue) Prelude.. Lens.mapping Lens.coerced++-- | Binary type attributes can store any binary data, such as compressed+-- data, encrypted data, or images.--+-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.+-- -- The underlying isomorphism will encode to Base64 representation during+-- -- serialisation, and decode from Base64 representation during deserialisation.+-- -- This 'Lens' accepts and returns only raw unencoded data.+messageSystemAttributeValue_binaryValue :: Lens.Lens' MessageSystemAttributeValue (Prelude.Maybe Prelude.ByteString)+messageSystemAttributeValue_binaryValue = Lens.lens (\MessageSystemAttributeValue' {binaryValue} -> binaryValue) (\s@MessageSystemAttributeValue' {} a -> s {binaryValue = a} :: MessageSystemAttributeValue) Prelude.. Lens.mapping Data._Base64++-- | Not implemented. Reserved for future use.+messageSystemAttributeValue_stringListValues :: Lens.Lens' MessageSystemAttributeValue (Prelude.Maybe [Prelude.Text])+messageSystemAttributeValue_stringListValues = Lens.lens (\MessageSystemAttributeValue' {stringListValues} -> stringListValues) (\s@MessageSystemAttributeValue' {} a -> s {stringListValues = a} :: MessageSystemAttributeValue) Prelude.. Lens.mapping Lens.coerced++-- | Strings are Unicode with UTF-8 binary encoding. For a list of code+-- values, see+-- <http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters ASCII Printable Characters>.+messageSystemAttributeValue_stringValue :: Lens.Lens' MessageSystemAttributeValue (Prelude.Maybe Prelude.Text)+messageSystemAttributeValue_stringValue = Lens.lens (\MessageSystemAttributeValue' {stringValue} -> stringValue) (\s@MessageSystemAttributeValue' {} a -> s {stringValue = a} :: MessageSystemAttributeValue)++-- | 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+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS Message Attributes>+-- in the /Amazon SQS Developer Guide/.+messageSystemAttributeValue_dataType :: Lens.Lens' MessageSystemAttributeValue Prelude.Text+messageSystemAttributeValue_dataType = Lens.lens (\MessageSystemAttributeValue' {dataType} -> dataType) (\s@MessageSystemAttributeValue' {} a -> s {dataType = a} :: MessageSystemAttributeValue)++instance Prelude.Hashable MessageSystemAttributeValue where+  hashWithSalt _salt MessageSystemAttributeValue' {..} =+    _salt+      `Prelude.hashWithSalt` binaryListValues+      `Prelude.hashWithSalt` binaryValue+      `Prelude.hashWithSalt` stringListValues+      `Prelude.hashWithSalt` stringValue+      `Prelude.hashWithSalt` dataType++instance Prelude.NFData MessageSystemAttributeValue where+  rnf MessageSystemAttributeValue' {..} =+    Prelude.rnf binaryListValues+      `Prelude.seq` Prelude.rnf binaryValue+      `Prelude.seq` Prelude.rnf stringListValues+      `Prelude.seq` Prelude.rnf stringValue+      `Prelude.seq` Prelude.rnf dataType++instance Data.ToQuery MessageSystemAttributeValue where+  toQuery MessageSystemAttributeValue' {..} =+    Prelude.mconcat+      [ "BinaryListValue"+          Data.=: Data.toQuery+            ( Data.toQueryList "BinaryListValue"+                Prelude.<$> binaryListValues+            ),+        "BinaryValue" Data.=: binaryValue,+        "StringListValue"+          Data.=: Data.toQuery+            ( Data.toQueryList "StringListValue"+                Prelude.<$> stringListValues+            ),+        "StringValue" Data.=: stringValue,+        "DataType" Data.=: dataType+      ]
+ gen/Amazonka/SQS/Types/QueueAttributeName.hs view
@@ -0,0 +1,171 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Types.QueueAttributeName+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Types.QueueAttributeName+  ( QueueAttributeName+      ( ..,+        QueueAttributeName_All,+        QueueAttributeName_ApproximateNumberOfMessages,+        QueueAttributeName_ApproximateNumberOfMessagesDelayed,+        QueueAttributeName_ApproximateNumberOfMessagesNotVisible,+        QueueAttributeName_ContentBasedDeduplication,+        QueueAttributeName_CreatedTimestamp,+        QueueAttributeName_DeduplicationScope,+        QueueAttributeName_DelaySeconds,+        QueueAttributeName_FifoQueue,+        QueueAttributeName_FifoThroughputLimit,+        QueueAttributeName_KmsDataKeyReusePeriodSeconds,+        QueueAttributeName_KmsMasterKeyId,+        QueueAttributeName_LastModifiedTimestamp,+        QueueAttributeName_MaximumMessageSize,+        QueueAttributeName_MessageRetentionPeriod,+        QueueAttributeName_Policy,+        QueueAttributeName_QueueArn,+        QueueAttributeName_ReceiveMessageWaitTimeSeconds,+        QueueAttributeName_RedriveAllowPolicy,+        QueueAttributeName_RedrivePolicy,+        QueueAttributeName_SqsManagedSseEnabled,+        QueueAttributeName_VisibilityTimeout+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype QueueAttributeName = QueueAttributeName'+  { fromQueueAttributeName ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern QueueAttributeName_All :: QueueAttributeName+pattern QueueAttributeName_All = QueueAttributeName' "All"++pattern QueueAttributeName_ApproximateNumberOfMessages :: QueueAttributeName+pattern QueueAttributeName_ApproximateNumberOfMessages = QueueAttributeName' "ApproximateNumberOfMessages"++pattern QueueAttributeName_ApproximateNumberOfMessagesDelayed :: QueueAttributeName+pattern QueueAttributeName_ApproximateNumberOfMessagesDelayed = QueueAttributeName' "ApproximateNumberOfMessagesDelayed"++pattern QueueAttributeName_ApproximateNumberOfMessagesNotVisible :: QueueAttributeName+pattern QueueAttributeName_ApproximateNumberOfMessagesNotVisible = QueueAttributeName' "ApproximateNumberOfMessagesNotVisible"++pattern QueueAttributeName_ContentBasedDeduplication :: QueueAttributeName+pattern QueueAttributeName_ContentBasedDeduplication = QueueAttributeName' "ContentBasedDeduplication"++pattern QueueAttributeName_CreatedTimestamp :: QueueAttributeName+pattern QueueAttributeName_CreatedTimestamp = QueueAttributeName' "CreatedTimestamp"++pattern QueueAttributeName_DeduplicationScope :: QueueAttributeName+pattern QueueAttributeName_DeduplicationScope = QueueAttributeName' "DeduplicationScope"++pattern QueueAttributeName_DelaySeconds :: QueueAttributeName+pattern QueueAttributeName_DelaySeconds = QueueAttributeName' "DelaySeconds"++pattern QueueAttributeName_FifoQueue :: QueueAttributeName+pattern QueueAttributeName_FifoQueue = QueueAttributeName' "FifoQueue"++pattern QueueAttributeName_FifoThroughputLimit :: QueueAttributeName+pattern QueueAttributeName_FifoThroughputLimit = QueueAttributeName' "FifoThroughputLimit"++pattern QueueAttributeName_KmsDataKeyReusePeriodSeconds :: QueueAttributeName+pattern QueueAttributeName_KmsDataKeyReusePeriodSeconds = QueueAttributeName' "KmsDataKeyReusePeriodSeconds"++pattern QueueAttributeName_KmsMasterKeyId :: QueueAttributeName+pattern QueueAttributeName_KmsMasterKeyId = QueueAttributeName' "KmsMasterKeyId"++pattern QueueAttributeName_LastModifiedTimestamp :: QueueAttributeName+pattern QueueAttributeName_LastModifiedTimestamp = QueueAttributeName' "LastModifiedTimestamp"++pattern QueueAttributeName_MaximumMessageSize :: QueueAttributeName+pattern QueueAttributeName_MaximumMessageSize = QueueAttributeName' "MaximumMessageSize"++pattern QueueAttributeName_MessageRetentionPeriod :: QueueAttributeName+pattern QueueAttributeName_MessageRetentionPeriod = QueueAttributeName' "MessageRetentionPeriod"++pattern QueueAttributeName_Policy :: QueueAttributeName+pattern QueueAttributeName_Policy = QueueAttributeName' "Policy"++pattern QueueAttributeName_QueueArn :: QueueAttributeName+pattern QueueAttributeName_QueueArn = QueueAttributeName' "QueueArn"++pattern QueueAttributeName_ReceiveMessageWaitTimeSeconds :: QueueAttributeName+pattern QueueAttributeName_ReceiveMessageWaitTimeSeconds = QueueAttributeName' "ReceiveMessageWaitTimeSeconds"++pattern QueueAttributeName_RedriveAllowPolicy :: QueueAttributeName+pattern QueueAttributeName_RedriveAllowPolicy = QueueAttributeName' "RedriveAllowPolicy"++pattern QueueAttributeName_RedrivePolicy :: QueueAttributeName+pattern QueueAttributeName_RedrivePolicy = QueueAttributeName' "RedrivePolicy"++pattern QueueAttributeName_SqsManagedSseEnabled :: QueueAttributeName+pattern QueueAttributeName_SqsManagedSseEnabled = QueueAttributeName' "SqsManagedSseEnabled"++pattern QueueAttributeName_VisibilityTimeout :: QueueAttributeName+pattern QueueAttributeName_VisibilityTimeout = QueueAttributeName' "VisibilityTimeout"++{-# COMPLETE+  QueueAttributeName_All,+  QueueAttributeName_ApproximateNumberOfMessages,+  QueueAttributeName_ApproximateNumberOfMessagesDelayed,+  QueueAttributeName_ApproximateNumberOfMessagesNotVisible,+  QueueAttributeName_ContentBasedDeduplication,+  QueueAttributeName_CreatedTimestamp,+  QueueAttributeName_DeduplicationScope,+  QueueAttributeName_DelaySeconds,+  QueueAttributeName_FifoQueue,+  QueueAttributeName_FifoThroughputLimit,+  QueueAttributeName_KmsDataKeyReusePeriodSeconds,+  QueueAttributeName_KmsMasterKeyId,+  QueueAttributeName_LastModifiedTimestamp,+  QueueAttributeName_MaximumMessageSize,+  QueueAttributeName_MessageRetentionPeriod,+  QueueAttributeName_Policy,+  QueueAttributeName_QueueArn,+  QueueAttributeName_ReceiveMessageWaitTimeSeconds,+  QueueAttributeName_RedriveAllowPolicy,+  QueueAttributeName_RedrivePolicy,+  QueueAttributeName_SqsManagedSseEnabled,+  QueueAttributeName_VisibilityTimeout,+  QueueAttributeName'+  #-}
+ gen/Amazonka/SQS/Types/SendMessageBatchRequestEntry.hs view
@@ -0,0 +1,474 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Types.SendMessageBatchRequestEntry+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Types.SendMessageBatchRequestEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.SQS.Types.MessageAttributeValue+import Amazonka.SQS.Types.MessageSystemAttributeNameForSends+import Amazonka.SQS.Types.MessageSystemAttributeValue++-- | Contains the details of a single Amazon SQS message along with an @Id@.+--+-- /See:/ 'newSendMessageBatchRequestEntry' smart constructor.+data SendMessageBatchRequestEntry = SendMessageBatchRequestEntry'+  { -- | The length of time, in seconds, for which a specific message is delayed.+    -- Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive+    -- @DelaySeconds@ value become available for processing after the delay+    -- period is finished. If you don\'t specify a value, the default value for+    -- the queue is applied.+    --+    -- When you set @FifoQueue@, you can\'t set @DelaySeconds@ per message. You+    -- can set this parameter only on a queue level.+    delaySeconds :: Prelude.Maybe Prelude.Int,+    -- | Each message attribute consists of a @Name@, @Type@, and @Value@. For+    -- more information, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS message attributes>+    -- in the /Amazon SQS Developer Guide/.+    messageAttributes :: Prelude.Maybe (Prelude.HashMap Prelude.Text MessageAttributeValue),+    -- | This parameter applies only to FIFO (first-in-first-out) queues.+    --+    -- The token used for deduplication of messages within a 5-minute minimum+    -- deduplication interval. If a message with a particular+    -- @MessageDeduplicationId@ is sent successfully, subsequent messages with+    -- the same @MessageDeduplicationId@ are accepted successfully but aren\'t+    -- delivered. For more information, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+    -- in the /Amazon SQS Developer Guide/.+    --+    -- -   Every message must have a unique @MessageDeduplicationId@,+    --+    --     -   You may provide a @MessageDeduplicationId@ explicitly.+    --+    --     -   If you aren\'t able to provide a @MessageDeduplicationId@ and+    --         you enable @ContentBasedDeduplication@ for your queue, Amazon+    --         SQS uses a SHA-256 hash to generate the @MessageDeduplicationId@+    --         using the body of the message (but not the attributes of the+    --         message).+    --+    --     -   If you don\'t provide a @MessageDeduplicationId@ and the queue+    --         doesn\'t have @ContentBasedDeduplication@ set, the action fails+    --         with an error.+    --+    --     -   If the queue has @ContentBasedDeduplication@ set, your+    --         @MessageDeduplicationId@ overrides the generated one.+    --+    -- -   When @ContentBasedDeduplication@ is in effect, messages with+    --     identical content sent within the deduplication interval are treated+    --     as duplicates and only one copy of the message is delivered.+    --+    -- -   If you send one message with @ContentBasedDeduplication@ enabled and+    --     then another message with a @MessageDeduplicationId@ that is the+    --     same as the one generated for the first @MessageDeduplicationId@,+    --     the two messages are treated as duplicates and only one copy of the+    --     message is delivered.+    --+    -- The @MessageDeduplicationId@ is available to the consumer of the message+    -- (this can be useful for troubleshooting delivery issues).+    --+    -- If a message is sent successfully but the acknowledgement is lost and+    -- the message is resent with the same @MessageDeduplicationId@ after the+    -- deduplication interval, Amazon SQS can\'t detect duplicate messages.+    --+    -- Amazon SQS continues to keep track of the message deduplication ID even+    -- after the message is received and deleted.+    --+    -- The length of @MessageDeduplicationId@ is 128 characters.+    -- @MessageDeduplicationId@ can contain alphanumeric characters (@a-z@,+    -- @A-Z@, @0-9@) and punctuation+    -- (@!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~@).+    --+    -- For best practices of using @MessageDeduplicationId@, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html Using the MessageDeduplicationId Property>+    -- in the /Amazon SQS Developer Guide/.+    messageDeduplicationId :: Prelude.Maybe Prelude.Text,+    -- | This parameter applies only to FIFO (first-in-first-out) queues.+    --+    -- The tag that specifies that a message belongs to a specific message+    -- group. Messages that belong to the same message group are processed in a+    -- FIFO manner (however, messages in different message groups might be+    -- processed out of order). To interleave multiple ordered streams within a+    -- single queue, use @MessageGroupId@ values (for example, session data for+    -- multiple users). In this scenario, multiple consumers can process the+    -- queue, but the session data of each user is processed in a FIFO fashion.+    --+    -- -   You must associate a non-empty @MessageGroupId@ with a message. If+    --     you don\'t provide a @MessageGroupId@, the action fails.+    --+    -- -   @ReceiveMessage@ might return messages with multiple+    --     @MessageGroupId@ values. For each @MessageGroupId@, the messages are+    --     sorted by time sent. The caller can\'t specify a @MessageGroupId@.+    --+    -- The length of @MessageGroupId@ is 128 characters. Valid values:+    -- alphanumeric characters and punctuation+    -- @(!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~)@.+    --+    -- For best practices of using @MessageGroupId@, see+    -- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html Using the MessageGroupId Property>+    -- in the /Amazon SQS Developer Guide/.+    --+    -- @MessageGroupId@ is required for FIFO queues. You can\'t use it for+    -- Standard queues.+    messageGroupId :: Prelude.Maybe Prelude.Text,+    -- | The message system attribute to send Each message system attribute+    -- consists of a @Name@, @Type@, and @Value@.+    --+    -- -   Currently, the only supported message system attribute is+    --     @AWSTraceHeader@. Its type must be @String@ and its value must be a+    --     correctly formatted X-Ray trace header string.+    --+    -- -   The size of a message system attribute doesn\'t count towards the+    --     total size of a message.+    messageSystemAttributes :: Prelude.Maybe (Prelude.HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue),+    -- | An identifier for a message in this batch used to communicate the+    -- result.+    --+    -- The @Id@s of a batch request need to be unique within a request.+    --+    -- This identifier can have up to 80 characters. The following characters+    -- are accepted: alphanumeric characters, hyphens(-), and underscores (_).+    id :: Prelude.Text,+    -- | The body of the message.+    messageBody :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SendMessageBatchRequestEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'delaySeconds', 'sendMessageBatchRequestEntry_delaySeconds' - The length of time, in seconds, for which a specific message is delayed.+-- Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive+-- @DelaySeconds@ value become available for processing after the delay+-- period is finished. If you don\'t specify a value, the default value for+-- the queue is applied.+--+-- When you set @FifoQueue@, you can\'t set @DelaySeconds@ per message. You+-- can set this parameter only on a queue level.+--+-- 'messageAttributes', 'sendMessageBatchRequestEntry_messageAttributes' - Each message attribute consists of a @Name@, @Type@, and @Value@. For+-- more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS message attributes>+-- in the /Amazon SQS Developer Guide/.+--+-- 'messageDeduplicationId', 'sendMessageBatchRequestEntry_messageDeduplicationId' - This parameter applies only to FIFO (first-in-first-out) queues.+--+-- The token used for deduplication of messages within a 5-minute minimum+-- deduplication interval. If a message with a particular+-- @MessageDeduplicationId@ is sent successfully, subsequent messages with+-- the same @MessageDeduplicationId@ are accepted successfully but aren\'t+-- delivered. For more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+-- in the /Amazon SQS Developer Guide/.+--+-- -   Every message must have a unique @MessageDeduplicationId@,+--+--     -   You may provide a @MessageDeduplicationId@ explicitly.+--+--     -   If you aren\'t able to provide a @MessageDeduplicationId@ and+--         you enable @ContentBasedDeduplication@ for your queue, Amazon+--         SQS uses a SHA-256 hash to generate the @MessageDeduplicationId@+--         using the body of the message (but not the attributes of the+--         message).+--+--     -   If you don\'t provide a @MessageDeduplicationId@ and the queue+--         doesn\'t have @ContentBasedDeduplication@ set, the action fails+--         with an error.+--+--     -   If the queue has @ContentBasedDeduplication@ set, your+--         @MessageDeduplicationId@ overrides the generated one.+--+-- -   When @ContentBasedDeduplication@ is in effect, messages with+--     identical content sent within the deduplication interval are treated+--     as duplicates and only one copy of the message is delivered.+--+-- -   If you send one message with @ContentBasedDeduplication@ enabled and+--     then another message with a @MessageDeduplicationId@ that is the+--     same as the one generated for the first @MessageDeduplicationId@,+--     the two messages are treated as duplicates and only one copy of the+--     message is delivered.+--+-- The @MessageDeduplicationId@ is available to the consumer of the message+-- (this can be useful for troubleshooting delivery issues).+--+-- If a message is sent successfully but the acknowledgement is lost and+-- the message is resent with the same @MessageDeduplicationId@ after the+-- deduplication interval, Amazon SQS can\'t detect duplicate messages.+--+-- Amazon SQS continues to keep track of the message deduplication ID even+-- after the message is received and deleted.+--+-- The length of @MessageDeduplicationId@ is 128 characters.+-- @MessageDeduplicationId@ can contain alphanumeric characters (@a-z@,+-- @A-Z@, @0-9@) and punctuation+-- (@!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~@).+--+-- For best practices of using @MessageDeduplicationId@, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html Using the MessageDeduplicationId Property>+-- in the /Amazon SQS Developer Guide/.+--+-- 'messageGroupId', 'sendMessageBatchRequestEntry_messageGroupId' - This parameter applies only to FIFO (first-in-first-out) queues.+--+-- The tag that specifies that a message belongs to a specific message+-- group. Messages that belong to the same message group are processed in a+-- FIFO manner (however, messages in different message groups might be+-- processed out of order). To interleave multiple ordered streams within a+-- single queue, use @MessageGroupId@ values (for example, session data for+-- multiple users). In this scenario, multiple consumers can process the+-- queue, but the session data of each user is processed in a FIFO fashion.+--+-- -   You must associate a non-empty @MessageGroupId@ with a message. If+--     you don\'t provide a @MessageGroupId@, the action fails.+--+-- -   @ReceiveMessage@ might return messages with multiple+--     @MessageGroupId@ values. For each @MessageGroupId@, the messages are+--     sorted by time sent. The caller can\'t specify a @MessageGroupId@.+--+-- The length of @MessageGroupId@ is 128 characters. Valid values:+-- alphanumeric characters and punctuation+-- @(!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~)@.+--+-- For best practices of using @MessageGroupId@, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html Using the MessageGroupId Property>+-- in the /Amazon SQS Developer Guide/.+--+-- @MessageGroupId@ is required for FIFO queues. You can\'t use it for+-- Standard queues.+--+-- 'messageSystemAttributes', 'sendMessageBatchRequestEntry_messageSystemAttributes' - The message system attribute to send Each message system attribute+-- consists of a @Name@, @Type@, and @Value@.+--+-- -   Currently, the only supported message system attribute is+--     @AWSTraceHeader@. Its type must be @String@ and its value must be a+--     correctly formatted X-Ray trace header string.+--+-- -   The size of a message system attribute doesn\'t count towards the+--     total size of a message.+--+-- 'id', 'sendMessageBatchRequestEntry_id' - An identifier for a message in this batch used to communicate the+-- result.+--+-- The @Id@s of a batch request need to be unique within a request.+--+-- This identifier can have up to 80 characters. The following characters+-- are accepted: alphanumeric characters, hyphens(-), and underscores (_).+--+-- 'messageBody', 'sendMessageBatchRequestEntry_messageBody' - The body of the message.+newSendMessageBatchRequestEntry ::+  -- | 'id'+  Prelude.Text ->+  -- | 'messageBody'+  Prelude.Text ->+  SendMessageBatchRequestEntry+newSendMessageBatchRequestEntry pId_ pMessageBody_ =+  SendMessageBatchRequestEntry'+    { delaySeconds =+        Prelude.Nothing,+      messageAttributes = Prelude.Nothing,+      messageDeduplicationId = Prelude.Nothing,+      messageGroupId = Prelude.Nothing,+      messageSystemAttributes = Prelude.Nothing,+      id = pId_,+      messageBody = pMessageBody_+    }++-- | The length of time, in seconds, for which a specific message is delayed.+-- Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive+-- @DelaySeconds@ value become available for processing after the delay+-- period is finished. If you don\'t specify a value, the default value for+-- the queue is applied.+--+-- When you set @FifoQueue@, you can\'t set @DelaySeconds@ per message. You+-- can set this parameter only on a queue level.+sendMessageBatchRequestEntry_delaySeconds :: Lens.Lens' SendMessageBatchRequestEntry (Prelude.Maybe Prelude.Int)+sendMessageBatchRequestEntry_delaySeconds = Lens.lens (\SendMessageBatchRequestEntry' {delaySeconds} -> delaySeconds) (\s@SendMessageBatchRequestEntry' {} a -> s {delaySeconds = a} :: SendMessageBatchRequestEntry)++-- | Each message attribute consists of a @Name@, @Type@, and @Value@. For+-- more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes Amazon SQS message attributes>+-- in the /Amazon SQS Developer Guide/.+sendMessageBatchRequestEntry_messageAttributes :: Lens.Lens' SendMessageBatchRequestEntry (Prelude.Maybe (Prelude.HashMap Prelude.Text MessageAttributeValue))+sendMessageBatchRequestEntry_messageAttributes = Lens.lens (\SendMessageBatchRequestEntry' {messageAttributes} -> messageAttributes) (\s@SendMessageBatchRequestEntry' {} a -> s {messageAttributes = a} :: SendMessageBatchRequestEntry) Prelude.. Lens.mapping Lens.coerced++-- | This parameter applies only to FIFO (first-in-first-out) queues.+--+-- The token used for deduplication of messages within a 5-minute minimum+-- deduplication interval. If a message with a particular+-- @MessageDeduplicationId@ is sent successfully, subsequent messages with+-- the same @MessageDeduplicationId@ are accepted successfully but aren\'t+-- delivered. For more information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html Exactly-once processing>+-- in the /Amazon SQS Developer Guide/.+--+-- -   Every message must have a unique @MessageDeduplicationId@,+--+--     -   You may provide a @MessageDeduplicationId@ explicitly.+--+--     -   If you aren\'t able to provide a @MessageDeduplicationId@ and+--         you enable @ContentBasedDeduplication@ for your queue, Amazon+--         SQS uses a SHA-256 hash to generate the @MessageDeduplicationId@+--         using the body of the message (but not the attributes of the+--         message).+--+--     -   If you don\'t provide a @MessageDeduplicationId@ and the queue+--         doesn\'t have @ContentBasedDeduplication@ set, the action fails+--         with an error.+--+--     -   If the queue has @ContentBasedDeduplication@ set, your+--         @MessageDeduplicationId@ overrides the generated one.+--+-- -   When @ContentBasedDeduplication@ is in effect, messages with+--     identical content sent within the deduplication interval are treated+--     as duplicates and only one copy of the message is delivered.+--+-- -   If you send one message with @ContentBasedDeduplication@ enabled and+--     then another message with a @MessageDeduplicationId@ that is the+--     same as the one generated for the first @MessageDeduplicationId@,+--     the two messages are treated as duplicates and only one copy of the+--     message is delivered.+--+-- The @MessageDeduplicationId@ is available to the consumer of the message+-- (this can be useful for troubleshooting delivery issues).+--+-- If a message is sent successfully but the acknowledgement is lost and+-- the message is resent with the same @MessageDeduplicationId@ after the+-- deduplication interval, Amazon SQS can\'t detect duplicate messages.+--+-- Amazon SQS continues to keep track of the message deduplication ID even+-- after the message is received and deleted.+--+-- The length of @MessageDeduplicationId@ is 128 characters.+-- @MessageDeduplicationId@ can contain alphanumeric characters (@a-z@,+-- @A-Z@, @0-9@) and punctuation+-- (@!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~@).+--+-- For best practices of using @MessageDeduplicationId@, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html Using the MessageDeduplicationId Property>+-- in the /Amazon SQS Developer Guide/.+sendMessageBatchRequestEntry_messageDeduplicationId :: Lens.Lens' SendMessageBatchRequestEntry (Prelude.Maybe Prelude.Text)+sendMessageBatchRequestEntry_messageDeduplicationId = Lens.lens (\SendMessageBatchRequestEntry' {messageDeduplicationId} -> messageDeduplicationId) (\s@SendMessageBatchRequestEntry' {} a -> s {messageDeduplicationId = a} :: SendMessageBatchRequestEntry)++-- | This parameter applies only to FIFO (first-in-first-out) queues.+--+-- The tag that specifies that a message belongs to a specific message+-- group. Messages that belong to the same message group are processed in a+-- FIFO manner (however, messages in different message groups might be+-- processed out of order). To interleave multiple ordered streams within a+-- single queue, use @MessageGroupId@ values (for example, session data for+-- multiple users). In this scenario, multiple consumers can process the+-- queue, but the session data of each user is processed in a FIFO fashion.+--+-- -   You must associate a non-empty @MessageGroupId@ with a message. If+--     you don\'t provide a @MessageGroupId@, the action fails.+--+-- -   @ReceiveMessage@ might return messages with multiple+--     @MessageGroupId@ values. For each @MessageGroupId@, the messages are+--     sorted by time sent. The caller can\'t specify a @MessageGroupId@.+--+-- The length of @MessageGroupId@ is 128 characters. Valid values:+-- alphanumeric characters and punctuation+-- @(!\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~)@.+--+-- For best practices of using @MessageGroupId@, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html Using the MessageGroupId Property>+-- in the /Amazon SQS Developer Guide/.+--+-- @MessageGroupId@ is required for FIFO queues. You can\'t use it for+-- Standard queues.+sendMessageBatchRequestEntry_messageGroupId :: Lens.Lens' SendMessageBatchRequestEntry (Prelude.Maybe Prelude.Text)+sendMessageBatchRequestEntry_messageGroupId = Lens.lens (\SendMessageBatchRequestEntry' {messageGroupId} -> messageGroupId) (\s@SendMessageBatchRequestEntry' {} a -> s {messageGroupId = a} :: SendMessageBatchRequestEntry)++-- | The message system attribute to send Each message system attribute+-- consists of a @Name@, @Type@, and @Value@.+--+-- -   Currently, the only supported message system attribute is+--     @AWSTraceHeader@. Its type must be @String@ and its value must be a+--     correctly formatted X-Ray trace header string.+--+-- -   The size of a message system attribute doesn\'t count towards the+--     total size of a message.+sendMessageBatchRequestEntry_messageSystemAttributes :: Lens.Lens' SendMessageBatchRequestEntry (Prelude.Maybe (Prelude.HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue))+sendMessageBatchRequestEntry_messageSystemAttributes = Lens.lens (\SendMessageBatchRequestEntry' {messageSystemAttributes} -> messageSystemAttributes) (\s@SendMessageBatchRequestEntry' {} a -> s {messageSystemAttributes = a} :: SendMessageBatchRequestEntry) Prelude.. Lens.mapping Lens.coerced++-- | An identifier for a message in this batch used to communicate the+-- result.+--+-- The @Id@s of a batch request need to be unique within a request.+--+-- This identifier can have up to 80 characters. The following characters+-- are accepted: alphanumeric characters, hyphens(-), and underscores (_).+sendMessageBatchRequestEntry_id :: Lens.Lens' SendMessageBatchRequestEntry Prelude.Text+sendMessageBatchRequestEntry_id = Lens.lens (\SendMessageBatchRequestEntry' {id} -> id) (\s@SendMessageBatchRequestEntry' {} a -> s {id = a} :: SendMessageBatchRequestEntry)++-- | The body of the message.+sendMessageBatchRequestEntry_messageBody :: Lens.Lens' SendMessageBatchRequestEntry Prelude.Text+sendMessageBatchRequestEntry_messageBody = Lens.lens (\SendMessageBatchRequestEntry' {messageBody} -> messageBody) (\s@SendMessageBatchRequestEntry' {} a -> s {messageBody = a} :: SendMessageBatchRequestEntry)++instance+  Prelude.Hashable+    SendMessageBatchRequestEntry+  where+  hashWithSalt _salt SendMessageBatchRequestEntry' {..} =+    _salt+      `Prelude.hashWithSalt` delaySeconds+      `Prelude.hashWithSalt` messageAttributes+      `Prelude.hashWithSalt` messageDeduplicationId+      `Prelude.hashWithSalt` messageGroupId+      `Prelude.hashWithSalt` messageSystemAttributes+      `Prelude.hashWithSalt` id+      `Prelude.hashWithSalt` messageBody++instance Prelude.NFData SendMessageBatchRequestEntry where+  rnf SendMessageBatchRequestEntry' {..} =+    Prelude.rnf delaySeconds+      `Prelude.seq` Prelude.rnf messageAttributes+      `Prelude.seq` Prelude.rnf messageDeduplicationId+      `Prelude.seq` Prelude.rnf messageGroupId+      `Prelude.seq` Prelude.rnf messageSystemAttributes+      `Prelude.seq` Prelude.rnf id+      `Prelude.seq` Prelude.rnf messageBody++instance Data.ToQuery SendMessageBatchRequestEntry where+  toQuery SendMessageBatchRequestEntry' {..} =+    Prelude.mconcat+      [ "DelaySeconds" Data.=: delaySeconds,+        Data.toQuery+          ( Data.toQueryMap "MessageAttribute" "Name" "Value"+              Prelude.<$> messageAttributes+          ),+        "MessageDeduplicationId"+          Data.=: messageDeduplicationId,+        "MessageGroupId" Data.=: messageGroupId,+        Data.toQuery+          ( Data.toQueryMap+              "MessageSystemAttribute"+              "Name"+              "Value"+              Prelude.<$> messageSystemAttributes+          ),+        "Id" Data.=: id,+        "MessageBody" Data.=: messageBody+      ]
+ gen/Amazonka/SQS/Types/SendMessageBatchResultEntry.hs view
@@ -0,0 +1,193 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Types.SendMessageBatchResultEntry+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Types.SendMessageBatchResultEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Encloses a @MessageId@ for a successfully-enqueued message in a+-- @ @@SendMessageBatch@@.@+--+-- /See:/ 'newSendMessageBatchResultEntry' smart constructor.+data SendMessageBatchResultEntry = SendMessageBatchResultEntry'+  { -- | An MD5 digest of the non-URL-encoded message attribute string. You can+    -- use this attribute to verify that Amazon SQS received the message+    -- correctly. Amazon SQS URL-decodes the message before creating the MD5+    -- digest. For information about MD5, see+    -- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+    mD5OfMessageAttributes :: Prelude.Maybe Prelude.Text,+    -- | An MD5 digest of the non-URL-encoded message system attribute string.+    -- You can use this attribute to verify that Amazon SQS received the+    -- message correctly. Amazon SQS URL-decodes the message before creating+    -- the MD5 digest. For information about MD5, see+    -- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+    mD5OfMessageSystemAttributes :: Prelude.Maybe Prelude.Text,+    -- | This parameter applies only to FIFO (first-in-first-out) queues.+    --+    -- The large, non-consecutive number that Amazon SQS assigns to each+    -- message.+    --+    -- The length of @SequenceNumber@ is 128 bits. As @SequenceNumber@+    -- continues to increase for a particular @MessageGroupId@.+    sequenceNumber :: Prelude.Maybe Prelude.Text,+    -- | An identifier for the message in this batch.+    id :: Prelude.Text,+    -- | An identifier for the message.+    messageId :: Prelude.Text,+    -- | An MD5 digest of the non-URL-encoded message body string. You can use+    -- this attribute to verify that Amazon SQS received the message correctly.+    -- Amazon SQS URL-decodes the message before creating the MD5 digest. For+    -- information about MD5, see+    -- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+    mD5OfMessageBody :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SendMessageBatchResultEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mD5OfMessageAttributes', 'sendMessageBatchResultEntry_mD5OfMessageAttributes' - An MD5 digest of the non-URL-encoded message attribute string. You can+-- use this attribute to verify that Amazon SQS received the message+-- correctly. Amazon SQS URL-decodes the message before creating the MD5+-- digest. For information about MD5, see+-- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+--+-- 'mD5OfMessageSystemAttributes', 'sendMessageBatchResultEntry_mD5OfMessageSystemAttributes' - An MD5 digest of the non-URL-encoded message system attribute string.+-- You can use this attribute to verify that Amazon SQS received the+-- message correctly. Amazon SQS URL-decodes the message before creating+-- the MD5 digest. For information about MD5, see+-- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+--+-- 'sequenceNumber', 'sendMessageBatchResultEntry_sequenceNumber' - This parameter applies only to FIFO (first-in-first-out) queues.+--+-- The large, non-consecutive number that Amazon SQS assigns to each+-- message.+--+-- The length of @SequenceNumber@ is 128 bits. As @SequenceNumber@+-- continues to increase for a particular @MessageGroupId@.+--+-- 'id', 'sendMessageBatchResultEntry_id' - An identifier for the message in this batch.+--+-- 'messageId', 'sendMessageBatchResultEntry_messageId' - An identifier for the message.+--+-- 'mD5OfMessageBody', 'sendMessageBatchResultEntry_mD5OfMessageBody' - An MD5 digest of the non-URL-encoded message body string. You can use+-- this attribute to verify that Amazon SQS received the message correctly.+-- Amazon SQS URL-decodes the message before creating the MD5 digest. For+-- information about MD5, see+-- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+newSendMessageBatchResultEntry ::+  -- | 'id'+  Prelude.Text ->+  -- | 'messageId'+  Prelude.Text ->+  -- | 'mD5OfMessageBody'+  Prelude.Text ->+  SendMessageBatchResultEntry+newSendMessageBatchResultEntry+  pId_+  pMessageId_+  pMD5OfMessageBody_ =+    SendMessageBatchResultEntry'+      { mD5OfMessageAttributes =+          Prelude.Nothing,+        mD5OfMessageSystemAttributes = Prelude.Nothing,+        sequenceNumber = Prelude.Nothing,+        id = pId_,+        messageId = pMessageId_,+        mD5OfMessageBody = pMD5OfMessageBody_+      }++-- | An MD5 digest of the non-URL-encoded message attribute string. You can+-- use this attribute to verify that Amazon SQS received the message+-- correctly. Amazon SQS URL-decodes the message before creating the MD5+-- digest. For information about MD5, see+-- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+sendMessageBatchResultEntry_mD5OfMessageAttributes :: Lens.Lens' SendMessageBatchResultEntry (Prelude.Maybe Prelude.Text)+sendMessageBatchResultEntry_mD5OfMessageAttributes = Lens.lens (\SendMessageBatchResultEntry' {mD5OfMessageAttributes} -> mD5OfMessageAttributes) (\s@SendMessageBatchResultEntry' {} a -> s {mD5OfMessageAttributes = a} :: SendMessageBatchResultEntry)++-- | An MD5 digest of the non-URL-encoded message system attribute string.+-- You can use this attribute to verify that Amazon SQS received the+-- message correctly. Amazon SQS URL-decodes the message before creating+-- the MD5 digest. For information about MD5, see+-- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+sendMessageBatchResultEntry_mD5OfMessageSystemAttributes :: Lens.Lens' SendMessageBatchResultEntry (Prelude.Maybe Prelude.Text)+sendMessageBatchResultEntry_mD5OfMessageSystemAttributes = Lens.lens (\SendMessageBatchResultEntry' {mD5OfMessageSystemAttributes} -> mD5OfMessageSystemAttributes) (\s@SendMessageBatchResultEntry' {} a -> s {mD5OfMessageSystemAttributes = a} :: SendMessageBatchResultEntry)++-- | This parameter applies only to FIFO (first-in-first-out) queues.+--+-- The large, non-consecutive number that Amazon SQS assigns to each+-- message.+--+-- The length of @SequenceNumber@ is 128 bits. As @SequenceNumber@+-- continues to increase for a particular @MessageGroupId@.+sendMessageBatchResultEntry_sequenceNumber :: Lens.Lens' SendMessageBatchResultEntry (Prelude.Maybe Prelude.Text)+sendMessageBatchResultEntry_sequenceNumber = Lens.lens (\SendMessageBatchResultEntry' {sequenceNumber} -> sequenceNumber) (\s@SendMessageBatchResultEntry' {} a -> s {sequenceNumber = a} :: SendMessageBatchResultEntry)++-- | An identifier for the message in this batch.+sendMessageBatchResultEntry_id :: Lens.Lens' SendMessageBatchResultEntry Prelude.Text+sendMessageBatchResultEntry_id = Lens.lens (\SendMessageBatchResultEntry' {id} -> id) (\s@SendMessageBatchResultEntry' {} a -> s {id = a} :: SendMessageBatchResultEntry)++-- | An identifier for the message.+sendMessageBatchResultEntry_messageId :: Lens.Lens' SendMessageBatchResultEntry Prelude.Text+sendMessageBatchResultEntry_messageId = Lens.lens (\SendMessageBatchResultEntry' {messageId} -> messageId) (\s@SendMessageBatchResultEntry' {} a -> s {messageId = a} :: SendMessageBatchResultEntry)++-- | An MD5 digest of the non-URL-encoded message body string. You can use+-- this attribute to verify that Amazon SQS received the message correctly.+-- Amazon SQS URL-decodes the message before creating the MD5 digest. For+-- information about MD5, see+-- <https://www.ietf.org/rfc/rfc1321.txt RFC1321>.+sendMessageBatchResultEntry_mD5OfMessageBody :: Lens.Lens' SendMessageBatchResultEntry Prelude.Text+sendMessageBatchResultEntry_mD5OfMessageBody = Lens.lens (\SendMessageBatchResultEntry' {mD5OfMessageBody} -> mD5OfMessageBody) (\s@SendMessageBatchResultEntry' {} a -> s {mD5OfMessageBody = a} :: SendMessageBatchResultEntry)++instance Data.FromXML SendMessageBatchResultEntry where+  parseXML x =+    SendMessageBatchResultEntry'+      Prelude.<$> (x Data..@? "MD5OfMessageAttributes")+      Prelude.<*> (x Data..@? "MD5OfMessageSystemAttributes")+      Prelude.<*> (x Data..@? "SequenceNumber")+      Prelude.<*> (x Data..@ "Id")+      Prelude.<*> (x Data..@ "MessageId")+      Prelude.<*> (x Data..@ "MD5OfMessageBody")++instance Prelude.Hashable SendMessageBatchResultEntry where+  hashWithSalt _salt SendMessageBatchResultEntry' {..} =+    _salt+      `Prelude.hashWithSalt` mD5OfMessageAttributes+      `Prelude.hashWithSalt` mD5OfMessageSystemAttributes+      `Prelude.hashWithSalt` sequenceNumber+      `Prelude.hashWithSalt` id+      `Prelude.hashWithSalt` messageId+      `Prelude.hashWithSalt` mD5OfMessageBody++instance Prelude.NFData SendMessageBatchResultEntry where+  rnf SendMessageBatchResultEntry' {..} =+    Prelude.rnf mD5OfMessageAttributes+      `Prelude.seq` Prelude.rnf mD5OfMessageSystemAttributes+      `Prelude.seq` Prelude.rnf sequenceNumber+      `Prelude.seq` Prelude.rnf id+      `Prelude.seq` Prelude.rnf messageId+      `Prelude.seq` Prelude.rnf mD5OfMessageBody
+ gen/Amazonka/SQS/UntagQueue.hs view
@@ -0,0 +1,142 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.UntagQueue+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Remove cost allocation tags from the specified Amazon SQS queue. For an+-- overview, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html Tagging Your Amazon SQS Queues>+-- in the /Amazon SQS Developer Guide/.+--+-- Cross-account permissions don\'t apply to this action. For more+-- information, see+-- <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name Grant cross-account permissions to a role and a user name>+-- in the /Amazon SQS Developer Guide/.+module Amazonka.SQS.UntagQueue+  ( -- * Creating a Request+    UntagQueue (..),+    newUntagQueue,++    -- * Request Lenses+    untagQueue_queueUrl,+    untagQueue_tagKeys,++    -- * Destructuring the Response+    UntagQueueResponse (..),+    newUntagQueueResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.SQS.Types++-- | /See:/ 'newUntagQueue' smart constructor.+data UntagQueue = UntagQueue'+  { -- | The URL of the queue.+    queueUrl :: Prelude.Text,+    -- | The list of tags to be removed from the specified queue.+    tagKeys :: [Prelude.Text]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagQueue' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queueUrl', 'untagQueue_queueUrl' - The URL of the queue.+--+-- 'tagKeys', 'untagQueue_tagKeys' - The list of tags to be removed from the specified queue.+newUntagQueue ::+  -- | 'queueUrl'+  Prelude.Text ->+  UntagQueue+newUntagQueue pQueueUrl_ =+  UntagQueue'+    { queueUrl = pQueueUrl_,+      tagKeys = Prelude.mempty+    }++-- | The URL of the queue.+untagQueue_queueUrl :: Lens.Lens' UntagQueue Prelude.Text+untagQueue_queueUrl = Lens.lens (\UntagQueue' {queueUrl} -> queueUrl) (\s@UntagQueue' {} a -> s {queueUrl = a} :: UntagQueue)++-- | The list of tags to be removed from the specified queue.+untagQueue_tagKeys :: Lens.Lens' UntagQueue [Prelude.Text]+untagQueue_tagKeys = Lens.lens (\UntagQueue' {tagKeys} -> tagKeys) (\s@UntagQueue' {} a -> s {tagKeys = a} :: UntagQueue) Prelude.. Lens.coerced++instance Core.AWSRequest UntagQueue where+  type AWSResponse UntagQueue = UntagQueueResponse+  request overrides =+    Request.postQuery (overrides defaultService)+  response = Response.receiveNull UntagQueueResponse'++instance Prelude.Hashable UntagQueue where+  hashWithSalt _salt UntagQueue' {..} =+    _salt+      `Prelude.hashWithSalt` queueUrl+      `Prelude.hashWithSalt` tagKeys++instance Prelude.NFData UntagQueue where+  rnf UntagQueue' {..} =+    Prelude.rnf queueUrl+      `Prelude.seq` Prelude.rnf tagKeys++instance Data.ToHeaders UntagQueue where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath UntagQueue where+  toPath = Prelude.const "/"++instance Data.ToQuery UntagQueue where+  toQuery UntagQueue' {..} =+    Prelude.mconcat+      [ "Action"+          Data.=: ("UntagQueue" :: Prelude.ByteString),+        "Version"+          Data.=: ("2012-11-05" :: Prelude.ByteString),+        "QueueUrl" Data.=: queueUrl,+        Data.toQueryList "TagKey" tagKeys+      ]++-- | /See:/ 'newUntagQueueResponse' smart constructor.+data UntagQueueResponse = UntagQueueResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagQueueResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newUntagQueueResponse ::+  UntagQueueResponse+newUntagQueueResponse = UntagQueueResponse'++instance Prelude.NFData UntagQueueResponse where+  rnf _ = ()
+ gen/Amazonka/SQS/Waiters.hs view
@@ -0,0 +1,24 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.SQS.Waiters+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.SQS.Waiters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.SQS.Lens+import Amazonka.SQS.Types
− gen/Network/AWS/SQS.hs
@@ -1,303 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Welcome to the /Amazon Simple Queue Service API Reference/ .--------- Amazon Simple Queue Service (Amazon SQS) is a reliable, highly-scalable hosted queue for storing messages as they travel between applications or microservices. Amazon SQS moves data between distributed application components and helps you decouple these components.------ You can use <http://aws.amazon.com/tools/#sdk AWS SDKs> to access Amazon SQS using your favorite programming language. The SDKs perform tasks such as the following automatically:------     * Cryptographically sign your service requests------     * Retry requests------     * Handle error responses------------ __Additional Information__------     * <http://aws.amazon.com/sqs/ Amazon SQS Product Page>------     * /Amazon Simple Queue Service Developer Guide/------     * <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/MakingRequestsArticle.html Making API Requests>------     * <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html Using Amazon SQS Message Attributes>------     * <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues>------------     * /Amazon Web Services General Reference/------     * <http://docs.aws.amazon.com/general/latest/gr/rande.html#sqs_region Regions and Endpoints>----------------module Network.AWS.SQS-    (-    -- * Service Configuration-      sqs--    -- * Errors-    -- $errors--    -- ** InvalidBatchEntryId-    , _InvalidBatchEntryId--    -- ** TooManyEntriesInBatchRequest-    , _TooManyEntriesInBatchRequest--    -- ** QueueDeletedRecently-    , _QueueDeletedRecently--    -- ** QueueDoesNotExist-    , _QueueDoesNotExist--    -- ** InvalidAttributeName-    , _InvalidAttributeName--    -- ** UnsupportedOperation-    , _UnsupportedOperation--    -- ** InvalidMessageContents-    , _InvalidMessageContents--    -- ** BatchRequestTooLong-    , _BatchRequestTooLong--    -- ** OverLimit-    , _OverLimit--    -- ** QueueNameExists-    , _QueueNameExists--    -- ** PurgeQueueInProgress-    , _PurgeQueueInProgress--    -- ** InvalidIdFormat-    , _InvalidIdFormat--    -- ** ReceiptHandleIsInvalid-    , _ReceiptHandleIsInvalid--    -- ** EmptyBatchRequest-    , _EmptyBatchRequest--    -- ** BatchEntryIdsNotDistinct-    , _BatchEntryIdsNotDistinct--    -- ** MessageNotInflight-    , _MessageNotInflight--    -- * Waiters-    -- $waiters--    -- * Operations-    -- $operations--    -- ** GetQueueURL-    , module Network.AWS.SQS.GetQueueURL--    -- ** PurgeQueue-    , module Network.AWS.SQS.PurgeQueue--    -- ** ChangeMessageVisibilityBatch-    , module Network.AWS.SQS.ChangeMessageVisibilityBatch--    -- ** SendMessage-    , module Network.AWS.SQS.SendMessage--    -- ** RemovePermission-    , module Network.AWS.SQS.RemovePermission--    -- ** GetQueueAttributes-    , module Network.AWS.SQS.GetQueueAttributes--    -- ** ListQueues-    , module Network.AWS.SQS.ListQueues--    -- ** ReceiveMessage-    , module Network.AWS.SQS.ReceiveMessage--    -- ** DeleteQueue-    , module Network.AWS.SQS.DeleteQueue--    -- ** TagQueue-    , module Network.AWS.SQS.TagQueue--    -- ** DeleteMessageBatch-    , module Network.AWS.SQS.DeleteMessageBatch--    -- ** SetQueueAttributes-    , module Network.AWS.SQS.SetQueueAttributes--    -- ** ListDeadLetterSourceQueues-    , module Network.AWS.SQS.ListDeadLetterSourceQueues--    -- ** AddPermission-    , module Network.AWS.SQS.AddPermission--    -- ** DeleteMessage-    , module Network.AWS.SQS.DeleteMessage--    -- ** ListQueueTags-    , module Network.AWS.SQS.ListQueueTags--    -- ** CreateQueue-    , module Network.AWS.SQS.CreateQueue--    -- ** UntagQueue-    , module Network.AWS.SQS.UntagQueue--    -- ** SendMessageBatch-    , module Network.AWS.SQS.SendMessageBatch--    -- ** ChangeMessageVisibility-    , module Network.AWS.SQS.ChangeMessageVisibility--    -- * Types--    -- ** MessageAttribute-    , MessageAttribute (..)--    -- ** QueueAttributeName-    , QueueAttributeName (..)--    -- ** BatchResultErrorEntry-    , BatchResultErrorEntry-    , batchResultErrorEntry-    , breeMessage-    , breeId-    , breeSenderFault-    , breeCode--    -- ** ChangeMessageVisibilityBatchRequestEntry-    , ChangeMessageVisibilityBatchRequestEntry-    , changeMessageVisibilityBatchRequestEntry-    , cVisibilityTimeout-    , cId-    , cReceiptHandle--    -- ** ChangeMessageVisibilityBatchResultEntry-    , ChangeMessageVisibilityBatchResultEntry-    , changeMessageVisibilityBatchResultEntry-    , cmvbreId--    -- ** DeleteMessageBatchRequestEntry-    , DeleteMessageBatchRequestEntry-    , deleteMessageBatchRequestEntry-    , dmbreId-    , dmbreReceiptHandle--    -- ** DeleteMessageBatchResultEntry-    , DeleteMessageBatchResultEntry-    , deleteMessageBatchResultEntry-    , dId--    -- ** Message-    , Message-    , message-    , mMessageAttributes-    , mMD5OfBody-    , mBody-    , mAttributes-    , mReceiptHandle-    , mMessageId-    , mMD5OfMessageAttributes--    -- ** MessageAttributeValue-    , MessageAttributeValue-    , messageAttributeValue-    , mavBinaryValue-    , mavStringListValues-    , mavStringValue-    , mavBinaryListValues-    , mavDataType--    -- ** SendMessageBatchRequestEntry-    , SendMessageBatchRequestEntry-    , sendMessageBatchRequestEntry-    , sMessageAttributes-    , sDelaySeconds-    , sMessageDeduplicationId-    , sMessageGroupId-    , sId-    , sMessageBody--    -- ** SendMessageBatchResultEntry-    , SendMessageBatchResultEntry-    , sendMessageBatchResultEntry-    , smbreSequenceNumber-    , smbreMD5OfMessageAttributes-    , smbreId-    , smbreMessageId-    , smbreMD5OfMessageBody-    ) where--import Network.AWS.SQS.AddPermission-import Network.AWS.SQS.ChangeMessageVisibility-import Network.AWS.SQS.ChangeMessageVisibilityBatch-import Network.AWS.SQS.CreateQueue-import Network.AWS.SQS.DeleteMessage-import Network.AWS.SQS.DeleteMessageBatch-import Network.AWS.SQS.DeleteQueue-import Network.AWS.SQS.GetQueueAttributes-import Network.AWS.SQS.GetQueueURL-import Network.AWS.SQS.ListDeadLetterSourceQueues-import Network.AWS.SQS.ListQueues-import Network.AWS.SQS.ListQueueTags-import Network.AWS.SQS.PurgeQueue-import Network.AWS.SQS.ReceiveMessage-import Network.AWS.SQS.RemovePermission-import Network.AWS.SQS.SendMessage-import Network.AWS.SQS.SendMessageBatch-import Network.AWS.SQS.SetQueueAttributes-import Network.AWS.SQS.TagQueue-import Network.AWS.SQS.Types-import Network.AWS.SQS.UntagQueue-import Network.AWS.SQS.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'SQS'.--}--{- $operations-Some AWS operations return results that are incomplete and require subsequent-requests in order to obtain the entire result set. The process of sending-subsequent requests to continue where a previous request left off is called-pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to-1000 objects at a time, and you must send subsequent requests with the-appropriate Marker in order to retrieve the next page of results.--Operations that have an 'AWSPager' instance can transparently perform subsequent-requests, correctly setting Markers and other request facets to iterate through-the entire result set of a truncated API operation. Operations which support-this have an additional note in the documentation.--Many operations have the ability to filter results on the server side. See the-individual operation parameters for details.--}--{- $waiters-Waiters poll by repeatedly sending a request until some remote success condition-configured by the 'Wait' specification is fulfilled. The 'Wait' specification-determines how many attempts should be made, in addition to delay and retry strategies.--}
− gen/Network/AWS/SQS/AddPermission.hs
@@ -1,139 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.AddPermission--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Adds a permission to a queue for a specific <http://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P principal> . This allows sharing access to the queue.--------- When you create a queue, you have full control access rights for the queue. Only you, the 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 Simple Queue Service Developer Guide/ .----module Network.AWS.SQS.AddPermission-    (-    -- * Creating a Request-      addPermission-    , AddPermission-    -- * Request Lenses-    , apQueueURL-    , apLabel-    , apAWSAccountIds-    , apActions--    -- * Destructuring the Response-    , addPermissionResponse-    , AddPermissionResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'addPermission' smart constructor.-data AddPermission = AddPermission'-  { _apQueueURL      :: !Text-  , _apLabel         :: !Text-  , _apAWSAccountIds :: ![Text]-  , _apActions       :: ![Text]-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AddPermission' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'apQueueURL' - The URL of the Amazon SQS queue to which permissions are added. Queue URLs are case-sensitive.------ * 'apLabel' - The unique identification of the permission you're setting (for example, @AliceSendMessage@ ). Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (@-@ ), and underscores (@_@ ).------ * 'apAWSAccountIds' - The AWS account number of the <http://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P principal> who is given permission. The principal must have an AWS account, but does not need to be signed up for Amazon SQS. For information about locating the AWS account identification, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AWSCredentials.html Your AWS Identifiers> in the /Amazon Simple Queue Service Developer Guide/ .------ * 'apActions' - The action the client wants to allow for the specified principal. The following values are valid:     * @*@      * @ChangeMessageVisibility@      * @DeleteMessage@      * @GetQueueAttributes@      * @GetQueueUrl@      * @ReceiveMessage@      * @SendMessage@  For more information about these actions, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/acp-overview.html#PermissionTypes Understanding Permissions> in the /Amazon Simple Queue Service Developer Guide/ . Specifying @SendMessage@ , @DeleteMessage@ , or @ChangeMessageVisibility@ for @ActionName.n@ also grants permissions for the corresponding batch versions of those actions: @SendMessageBatch@ , @DeleteMessageBatch@ , and @ChangeMessageVisibilityBatch@ .-addPermission-    :: Text -- ^ 'apQueueURL'-    -> Text -- ^ 'apLabel'-    -> AddPermission-addPermission pQueueURL_ pLabel_ =-  AddPermission'-    { _apQueueURL = pQueueURL_-    , _apLabel = pLabel_-    , _apAWSAccountIds = mempty-    , _apActions = mempty-    }----- | The URL of the Amazon SQS queue to which permissions are added. Queue URLs are case-sensitive.-apQueueURL :: Lens' AddPermission Text-apQueueURL = lens _apQueueURL (\ s a -> s{_apQueueURL = a})---- | The unique identification of the permission you're setting (for example, @AliceSendMessage@ ). Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (@-@ ), and underscores (@_@ ).-apLabel :: Lens' AddPermission Text-apLabel = lens _apLabel (\ s a -> s{_apLabel = a})---- | The AWS account number of the <http://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P principal> who is given permission. The principal must have an AWS account, but does not need to be signed up for Amazon SQS. For information about locating the AWS account identification, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AWSCredentials.html Your AWS Identifiers> in the /Amazon Simple Queue Service Developer Guide/ .-apAWSAccountIds :: Lens' AddPermission [Text]-apAWSAccountIds = lens _apAWSAccountIds (\ s a -> s{_apAWSAccountIds = a}) . _Coerce---- | The action the client wants to allow for the specified principal. The following values are valid:     * @*@      * @ChangeMessageVisibility@      * @DeleteMessage@      * @GetQueueAttributes@      * @GetQueueUrl@      * @ReceiveMessage@      * @SendMessage@  For more information about these actions, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/acp-overview.html#PermissionTypes Understanding Permissions> in the /Amazon Simple Queue Service Developer Guide/ . Specifying @SendMessage@ , @DeleteMessage@ , or @ChangeMessageVisibility@ for @ActionName.n@ also grants permissions for the corresponding batch versions of those actions: @SendMessageBatch@ , @DeleteMessageBatch@ , and @ChangeMessageVisibilityBatch@ .-apActions :: Lens' AddPermission [Text]-apActions = lens _apActions (\ s a -> s{_apActions = a}) . _Coerce--instance AWSRequest AddPermission where-        type Rs AddPermission = AddPermissionResponse-        request = postQuery sqs-        response = receiveNull AddPermissionResponse'--instance Hashable AddPermission where--instance NFData AddPermission where--instance ToHeaders AddPermission where-        toHeaders = const mempty--instance ToPath AddPermission where-        toPath = const "/"--instance ToQuery AddPermission where-        toQuery AddPermission'{..}-          = mconcat-              ["Action" =: ("AddPermission" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueUrl" =: _apQueueURL, "Label" =: _apLabel,-               toQueryList "AWSAccountId" _apAWSAccountIds,-               toQueryList "ActionName" _apActions]---- | /See:/ 'addPermissionResponse' smart constructor.-data AddPermissionResponse =-  AddPermissionResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AddPermissionResponse' with the minimum fields required to make a request.----addPermissionResponse-    :: AddPermissionResponse-addPermissionResponse = AddPermissionResponse'---instance NFData AddPermissionResponse where
− gen/Network/AWS/SQS/ChangeMessageVisibility.hs
@@ -1,140 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.ChangeMessageVisibility--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Changes the visibility timeout of a specified message in a queue to a new value. The maximum allowed timeout value is 12 hours. Thus, you can't extend the timeout of a message in an existing queue to more than a total visibility timeout of 12 hours. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout> in the /Amazon Simple Queue Service Developer Guide/ .--------- For example, you have a message with a visibility timeout of 5 minutes. After 3 minutes, you call @ChangeMessageVisiblity@ with a timeout of 10 minutes. At that time, the timeout for the message is extended by 10 minutes beyond the time of the @ChangeMessageVisibility@ action. This results in a total visibility timeout of 13 minutes. You can continue to call the @ChangeMessageVisibility@ to extend the visibility timeout to a maximum of 12 hours. If you try to extend the visibility timeout beyond 12 hours, your request is rejected.------ A message is considered to be /in flight/ after it's received from a queue by a consumer, but not yet deleted from the queue.------ For standard queues, there can be a maximum of 120,000 inflight messages per queue. If you reach this limit, Amazon SQS returns the @OverLimit@ error message. To avoid reaching the limit, you should delete messages from the queue after they're processed. You can also increase the number of queues you use to process your messages.------ For FIFO queues, there can be a maximum of 20,000 inflight messages per queue. If you reach this limit, Amazon SQS returns no error messages.------ /Important:/ If you attempt to set the @VisibilityTimeout@ to a value greater than the maximum time left, Amazon SQS returns an error. Amazon SQS doesn't automatically recalculate and increase the timeout to the maximum remaining time.------ Unlike with a queue, when you change the visibility timeout for a specific message the timeout value is applied immediately but isn't saved in memory for that message. If you don't delete a message after it is received, the visibility timeout for the message reverts to the original timeout value (not to the value you set using the @ChangeMessageVisibility@ action) the next time the message is received.----module Network.AWS.SQS.ChangeMessageVisibility-    (-    -- * Creating a Request-      changeMessageVisibility-    , ChangeMessageVisibility-    -- * Request Lenses-    , cmvQueueURL-    , cmvReceiptHandle-    , cmvVisibilityTimeout--    -- * Destructuring the Response-    , changeMessageVisibilityResponse-    , ChangeMessageVisibilityResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- | /See:/ 'changeMessageVisibility' smart constructor.-data ChangeMessageVisibility = ChangeMessageVisibility'-  { _cmvQueueURL          :: !Text-  , _cmvReceiptHandle     :: !Text-  , _cmvVisibilityTimeout :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ChangeMessageVisibility' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cmvQueueURL' - The URL of the Amazon SQS queue whose message's visibility is changed. Queue URLs are case-sensitive.------ * 'cmvReceiptHandle' - The receipt handle associated with the message whose visibility timeout is changed. This parameter is returned by the @'ReceiveMessage' @ action.------ * 'cmvVisibilityTimeout' - The new value for the message's visibility timeout (in seconds). Values values: @0@ to @43200@ . Maximum: 12 hours.-changeMessageVisibility-    :: Text -- ^ 'cmvQueueURL'-    -> Text -- ^ 'cmvReceiptHandle'-    -> Int -- ^ 'cmvVisibilityTimeout'-    -> ChangeMessageVisibility-changeMessageVisibility pQueueURL_ pReceiptHandle_ pVisibilityTimeout_ =-  ChangeMessageVisibility'-    { _cmvQueueURL = pQueueURL_-    , _cmvReceiptHandle = pReceiptHandle_-    , _cmvVisibilityTimeout = pVisibilityTimeout_-    }----- | The URL of the Amazon SQS queue whose message's visibility is changed. Queue URLs are case-sensitive.-cmvQueueURL :: Lens' ChangeMessageVisibility Text-cmvQueueURL = lens _cmvQueueURL (\ s a -> s{_cmvQueueURL = a})---- | The receipt handle associated with the message whose visibility timeout is changed. This parameter is returned by the @'ReceiveMessage' @ action.-cmvReceiptHandle :: Lens' ChangeMessageVisibility Text-cmvReceiptHandle = lens _cmvReceiptHandle (\ s a -> s{_cmvReceiptHandle = a})---- | The new value for the message's visibility timeout (in seconds). Values values: @0@ to @43200@ . Maximum: 12 hours.-cmvVisibilityTimeout :: Lens' ChangeMessageVisibility Int-cmvVisibilityTimeout = lens _cmvVisibilityTimeout (\ s a -> s{_cmvVisibilityTimeout = a})--instance AWSRequest ChangeMessageVisibility where-        type Rs ChangeMessageVisibility =-             ChangeMessageVisibilityResponse-        request = postQuery sqs-        response-          = receiveNull ChangeMessageVisibilityResponse'--instance Hashable ChangeMessageVisibility where--instance NFData ChangeMessageVisibility where--instance ToHeaders ChangeMessageVisibility where-        toHeaders = const mempty--instance ToPath ChangeMessageVisibility where-        toPath = const "/"--instance ToQuery ChangeMessageVisibility where-        toQuery ChangeMessageVisibility'{..}-          = mconcat-              ["Action" =:-                 ("ChangeMessageVisibility" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueUrl" =: _cmvQueueURL,-               "ReceiptHandle" =: _cmvReceiptHandle,-               "VisibilityTimeout" =: _cmvVisibilityTimeout]---- | /See:/ 'changeMessageVisibilityResponse' smart constructor.-data ChangeMessageVisibilityResponse =-  ChangeMessageVisibilityResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ChangeMessageVisibilityResponse' with the minimum fields required to make a request.----changeMessageVisibilityResponse-    :: ChangeMessageVisibilityResponse-changeMessageVisibilityResponse = ChangeMessageVisibilityResponse'---instance NFData ChangeMessageVisibilityResponse where
− gen/Network/AWS/SQS/ChangeMessageVisibilityBatch.hs
@@ -1,167 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.ChangeMessageVisibilityBatch--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Changes the visibility timeout of multiple messages. This is a batch version of @'ChangeMessageVisibility' .@ The result of the action on each message is reported individually in the response. You can send up to 10 @'ChangeMessageVisibility' @ requests with each @ChangeMessageVisibilityBatch@ action.--------- /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@ .----module Network.AWS.SQS.ChangeMessageVisibilityBatch-    (-    -- * Creating a Request-      changeMessageVisibilityBatch-    , ChangeMessageVisibilityBatch-    -- * Request Lenses-    , cmvbQueueURL-    , cmvbEntries--    -- * Destructuring the Response-    , changeMessageVisibilityBatchResponse-    , ChangeMessageVisibilityBatchResponse-    -- * Response Lenses-    , cmvbrsResponseStatus-    , cmvbrsSuccessful-    , cmvbrsFailed-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'changeMessageVisibilityBatch' smart constructor.-data ChangeMessageVisibilityBatch = ChangeMessageVisibilityBatch'-  { _cmvbQueueURL :: !Text-  , _cmvbEntries  :: ![ChangeMessageVisibilityBatchRequestEntry]-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ChangeMessageVisibilityBatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cmvbQueueURL' - The URL of the Amazon SQS queue whose messages' visibility is changed. Queue URLs are case-sensitive.------ * 'cmvbEntries' - A list of receipt handles of the messages for which the visibility timeout must be changed.-changeMessageVisibilityBatch-    :: Text -- ^ 'cmvbQueueURL'-    -> ChangeMessageVisibilityBatch-changeMessageVisibilityBatch pQueueURL_ =-  ChangeMessageVisibilityBatch'-    {_cmvbQueueURL = pQueueURL_, _cmvbEntries = mempty}----- | The URL of the Amazon SQS queue whose messages' visibility is changed. Queue URLs are case-sensitive.-cmvbQueueURL :: Lens' ChangeMessageVisibilityBatch Text-cmvbQueueURL = lens _cmvbQueueURL (\ s a -> s{_cmvbQueueURL = a})---- | A list of receipt handles of the messages for which the visibility timeout must be changed.-cmvbEntries :: Lens' ChangeMessageVisibilityBatch [ChangeMessageVisibilityBatchRequestEntry]-cmvbEntries = lens _cmvbEntries (\ s a -> s{_cmvbEntries = a}) . _Coerce--instance AWSRequest ChangeMessageVisibilityBatch-         where-        type Rs ChangeMessageVisibilityBatch =-             ChangeMessageVisibilityBatchResponse-        request = postQuery sqs-        response-          = receiveXMLWrapper-              "ChangeMessageVisibilityBatchResult"-              (\ s h x ->-                 ChangeMessageVisibilityBatchResponse' <$>-                   (pure (fromEnum s)) <*>-                     (parseXMLList-                        "ChangeMessageVisibilityBatchResultEntry"-                        x)-                     <*> (parseXMLList "BatchResultErrorEntry" x))--instance Hashable ChangeMessageVisibilityBatch where--instance NFData ChangeMessageVisibilityBatch where--instance ToHeaders ChangeMessageVisibilityBatch where-        toHeaders = const mempty--instance ToPath ChangeMessageVisibilityBatch where-        toPath = const "/"--instance ToQuery ChangeMessageVisibilityBatch where-        toQuery ChangeMessageVisibilityBatch'{..}-          = mconcat-              ["Action" =:-                 ("ChangeMessageVisibilityBatch" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueUrl" =: _cmvbQueueURL,-               toQueryList-                 "ChangeMessageVisibilityBatchRequestEntry"-                 _cmvbEntries]---- | For each message in the batch, the response contains a @'ChangeMessageVisibilityBatchResultEntry' @ tag if the message succeeds or a @'BatchResultErrorEntry' @ tag if the message fails.------------ /See:/ 'changeMessageVisibilityBatchResponse' smart constructor.-data ChangeMessageVisibilityBatchResponse = ChangeMessageVisibilityBatchResponse'-  { _cmvbrsResponseStatus :: !Int-  , _cmvbrsSuccessful     :: ![ChangeMessageVisibilityBatchResultEntry]-  , _cmvbrsFailed         :: ![BatchResultErrorEntry]-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ChangeMessageVisibilityBatchResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cmvbrsResponseStatus' - -- | The response status code.------ * 'cmvbrsSuccessful' - A list of @'ChangeMessageVisibilityBatchResultEntry' @ items.------ * 'cmvbrsFailed' - A list of @'BatchResultErrorEntry' @ items.-changeMessageVisibilityBatchResponse-    :: Int -- ^ 'cmvbrsResponseStatus'-    -> ChangeMessageVisibilityBatchResponse-changeMessageVisibilityBatchResponse pResponseStatus_ =-  ChangeMessageVisibilityBatchResponse'-    { _cmvbrsResponseStatus = pResponseStatus_-    , _cmvbrsSuccessful = mempty-    , _cmvbrsFailed = mempty-    }----- | -- | The response status code.-cmvbrsResponseStatus :: Lens' ChangeMessageVisibilityBatchResponse Int-cmvbrsResponseStatus = lens _cmvbrsResponseStatus (\ s a -> s{_cmvbrsResponseStatus = a})---- | A list of @'ChangeMessageVisibilityBatchResultEntry' @ items.-cmvbrsSuccessful :: Lens' ChangeMessageVisibilityBatchResponse [ChangeMessageVisibilityBatchResultEntry]-cmvbrsSuccessful = lens _cmvbrsSuccessful (\ s a -> s{_cmvbrsSuccessful = a}) . _Coerce---- | A list of @'BatchResultErrorEntry' @ items.-cmvbrsFailed :: Lens' ChangeMessageVisibilityBatchResponse [BatchResultErrorEntry]-cmvbrsFailed = lens _cmvbrsFailed (\ s a -> s{_cmvbrsFailed = a}) . _Coerce--instance NFData ChangeMessageVisibilityBatchResponse-         where
− gen/Network/AWS/SQS/CreateQueue.hs
@@ -1,162 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.CreateQueue--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a new standard or FIFO queue. You can pass one or more attributes in the request. Keep the following caveats in mind:---------     * If you don't specify the @FifoQueue@ attribute, Amazon SQS creates a standard queue.------     * If you don't provide a value for an attribute, the queue is created with the default value for the attribute.------     * If you delete a queue, you must wait at least 60 seconds before creating a queue with the same name.------------ To successfully create a new queue, you must provide a queue name that adheres to the <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html limits related to queues> and is unique within the scope of your queues.------ To get the queue URL, use the @'GetQueueUrl' @ action. @'GetQueueUrl' @ requires only the @QueueName@ parameter. be aware of existing queue names:------     * 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 don't match an existing queue, @CreateQueue@ returns an error.----------module Network.AWS.SQS.CreateQueue-    (-    -- * Creating a Request-      createQueue-    , CreateQueue-    -- * Request Lenses-    , cqAttributes-    , cqQueueName--    -- * Destructuring the Response-    , createQueueResponse-    , CreateQueueResponse-    -- * Response Lenses-    , cqrsQueueURL-    , cqrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'createQueue' smart constructor.-data CreateQueue = CreateQueue'-  { _cqAttributes :: !(Maybe (Map QueueAttributeName Text))-  , _cqQueueName  :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateQueue' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cqAttributes' - A map of attributes with their corresponding values. The following lists the names, descriptions, and values of the special request parameters that the @CreateQueue@ action uses:     * @DelaySeconds@ - The length of time, in seconds, for which the delivery of all messages in the queue is delayed. Valid values: An integer from 0 to 900 seconds (15 minutes). The default is 0 (zero).      * @MaximumMessageSize@ - The limit of how many bytes a message can contain before Amazon SQS rejects it. Valid values: An integer from 1,024 bytes (1 KiB) to 262,144 bytes (256 KiB). The default is 262,144 (256 KiB).      * @MessageRetentionPeriod@ - The length of time, in seconds, for which Amazon SQS retains a message. Valid values: An integer from 60 seconds (1 minute) to 1,209,600 seconds (14 days). The default is 345,600 (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 length of time, in seconds, for which a @'ReceiveMessage' @ action waits for a message to arrive. Valid values: An integer from 0 to 20 (seconds). The default is 0 (zero).      * @RedrivePolicy@ - The string that includes the parameters for the 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/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues> in the /Amazon Simple Queue Service Developer Guide/ .      * @deadLetterTargetArn@ - The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of @maxReceiveCount@ is exceeded.     * @maxReceiveCount@ - The number of times a message is delivered to the source queue before being moved to the dead-letter queue.     * @VisibilityTimeout@ - The visibility timeout for the queue. Valid values: An integer from 0 to 43,200 (12 hours). The default is 30. For more information about the visibility timeout, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout> in the /Amazon Simple Queue Service Developer Guide/ . The following attributes apply only to <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption> :     * @KmsMasterKeyId@ - The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms> . While the alias of the AWS-managed CMK for Amazon SQS is always @alias/aws/sqs@ , the alias of a custom CMK can, for example, be @alias//MyAlias/ @ . For more examples, see <http://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters KeyId> in the /AWS Key Management Service API Reference/ .      * @KmsDataKeyReusePeriodSeconds@ - The length of time, in seconds, for which Amazon SQS can reuse a <http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys data key> to encrypt or decrypt messages before calling AWS KMS again. An integer representing seconds, between 60 seconds (1 minute) and 86,400 seconds (24 hours). The default is 300 (5 minutes). A shorter time period provides better security but results in more calls to KMS which might incur charges after Free Tier. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?> .  The following attributes apply only to <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues> :     * @FifoQueue@ - Designates a queue as FIFO. Valid values: @true@ , @false@ . You can provide this attribute only during queue creation. You can't change it for an existing queue. When you set this attribute, you must also provide the @MessageGroupId@ for your messages explicitly. 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 Simple Queue Service Developer Guide/ .     * @ContentBasedDeduplication@ - Enables content-based deduplication. Valid values: @true@ , @false@ . 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 Simple Queue Service Developer Guide/ .      * Every message must have a unique @MessageDeduplicationId@ ,     * You may provide a @MessageDeduplicationId@ explicitly.     * If you aren't able to provide a @MessageDeduplicationId@ and you enable @ContentBasedDeduplication@ for your queue, Amazon SQS uses a SHA-256 hash to generate the @MessageDeduplicationId@ using the body of the message (but not the attributes of the message).      * If you don't provide a @MessageDeduplicationId@ and the queue doesn't have @ContentBasedDeduplication@ set, the action fails with an error.     * If the queue has @ContentBasedDeduplication@ set, your @MessageDeduplicationId@ overrides the generated one.     * When @ContentBasedDeduplication@ is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered.     * If you send one message with @ContentBasedDeduplication@ enabled and then another message with a @MessageDeduplicationId@ that is the same as the one generated for the first @MessageDeduplicationId@ , the two messages are treated as duplicates and only one copy of the message is delivered.  Any other valid special request parameters (such as the following) are ignored:     * @ApproximateNumberOfMessages@      * @ApproximateNumberOfMessagesDelayed@      * @ApproximateNumberOfMessagesNotVisible@      * @CreatedTimestamp@      * @LastModifiedTimestamp@      * @QueueArn@------ * 'cqQueueName' - The name of the new queue. The following limits apply to this name:     * A queue name can have up to 80 characters.     * Valid values: alphanumeric characters, hyphens (@-@ ), and underscores (@_@ ).     * A FIFO queue name must end with the @.fifo@ suffix. Queue names are case-sensitive.-createQueue-    :: Text -- ^ 'cqQueueName'-    -> CreateQueue-createQueue pQueueName_ =-  CreateQueue' {_cqAttributes = Nothing, _cqQueueName = pQueueName_}----- | A map of attributes with their corresponding values. The following lists the names, descriptions, and values of the special request parameters that the @CreateQueue@ action uses:     * @DelaySeconds@ - The length of time, in seconds, for which the delivery of all messages in the queue is delayed. Valid values: An integer from 0 to 900 seconds (15 minutes). The default is 0 (zero).      * @MaximumMessageSize@ - The limit of how many bytes a message can contain before Amazon SQS rejects it. Valid values: An integer from 1,024 bytes (1 KiB) to 262,144 bytes (256 KiB). The default is 262,144 (256 KiB).      * @MessageRetentionPeriod@ - The length of time, in seconds, for which Amazon SQS retains a message. Valid values: An integer from 60 seconds (1 minute) to 1,209,600 seconds (14 days). The default is 345,600 (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 length of time, in seconds, for which a @'ReceiveMessage' @ action waits for a message to arrive. Valid values: An integer from 0 to 20 (seconds). The default is 0 (zero).      * @RedrivePolicy@ - The string that includes the parameters for the 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/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues> in the /Amazon Simple Queue Service Developer Guide/ .      * @deadLetterTargetArn@ - The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of @maxReceiveCount@ is exceeded.     * @maxReceiveCount@ - The number of times a message is delivered to the source queue before being moved to the dead-letter queue.     * @VisibilityTimeout@ - The visibility timeout for the queue. Valid values: An integer from 0 to 43,200 (12 hours). The default is 30. For more information about the visibility timeout, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout> in the /Amazon Simple Queue Service Developer Guide/ . The following attributes apply only to <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption> :     * @KmsMasterKeyId@ - The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms> . While the alias of the AWS-managed CMK for Amazon SQS is always @alias/aws/sqs@ , the alias of a custom CMK can, for example, be @alias//MyAlias/ @ . For more examples, see <http://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters KeyId> in the /AWS Key Management Service API Reference/ .      * @KmsDataKeyReusePeriodSeconds@ - The length of time, in seconds, for which Amazon SQS can reuse a <http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys data key> to encrypt or decrypt messages before calling AWS KMS again. An integer representing seconds, between 60 seconds (1 minute) and 86,400 seconds (24 hours). The default is 300 (5 minutes). A shorter time period provides better security but results in more calls to KMS which might incur charges after Free Tier. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?> .  The following attributes apply only to <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues> :     * @FifoQueue@ - Designates a queue as FIFO. Valid values: @true@ , @false@ . You can provide this attribute only during queue creation. You can't change it for an existing queue. When you set this attribute, you must also provide the @MessageGroupId@ for your messages explicitly. 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 Simple Queue Service Developer Guide/ .     * @ContentBasedDeduplication@ - Enables content-based deduplication. Valid values: @true@ , @false@ . 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 Simple Queue Service Developer Guide/ .      * Every message must have a unique @MessageDeduplicationId@ ,     * You may provide a @MessageDeduplicationId@ explicitly.     * If you aren't able to provide a @MessageDeduplicationId@ and you enable @ContentBasedDeduplication@ for your queue, Amazon SQS uses a SHA-256 hash to generate the @MessageDeduplicationId@ using the body of the message (but not the attributes of the message).      * If you don't provide a @MessageDeduplicationId@ and the queue doesn't have @ContentBasedDeduplication@ set, the action fails with an error.     * If the queue has @ContentBasedDeduplication@ set, your @MessageDeduplicationId@ overrides the generated one.     * When @ContentBasedDeduplication@ is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered.     * If you send one message with @ContentBasedDeduplication@ enabled and then another message with a @MessageDeduplicationId@ that is the same as the one generated for the first @MessageDeduplicationId@ , the two messages are treated as duplicates and only one copy of the message is delivered.  Any other valid special request parameters (such as the following) are ignored:     * @ApproximateNumberOfMessages@      * @ApproximateNumberOfMessagesDelayed@      * @ApproximateNumberOfMessagesNotVisible@      * @CreatedTimestamp@      * @LastModifiedTimestamp@      * @QueueArn@-cqAttributes :: Lens' CreateQueue (HashMap QueueAttributeName Text)-cqAttributes = lens _cqAttributes (\ s a -> s{_cqAttributes = a}) . _Default . _Map---- | The name of the new queue. The following limits apply to this name:     * A queue name can have up to 80 characters.     * Valid values: alphanumeric characters, hyphens (@-@ ), and underscores (@_@ ).     * A FIFO queue name must end with the @.fifo@ suffix. Queue names are case-sensitive.-cqQueueName :: Lens' CreateQueue Text-cqQueueName = lens _cqQueueName (\ s a -> s{_cqQueueName = a})--instance AWSRequest CreateQueue where-        type Rs CreateQueue = CreateQueueResponse-        request = postQuery sqs-        response-          = receiveXMLWrapper "CreateQueueResult"-              (\ s h x ->-                 CreateQueueResponse' <$>-                   (x .@? "QueueUrl") <*> (pure (fromEnum s)))--instance Hashable CreateQueue where--instance NFData CreateQueue where--instance ToHeaders CreateQueue where-        toHeaders = const mempty--instance ToPath CreateQueue where-        toPath = const "/"--instance ToQuery CreateQueue where-        toQuery CreateQueue'{..}-          = mconcat-              ["Action" =: ("CreateQueue" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               toQuery-                 (toQueryMap "Attribute" "Name" "Value" <$>-                    _cqAttributes),-               "QueueName" =: _cqQueueName]---- | Returns the @QueueUrl@ attribute of the created queue.------------ /See:/ 'createQueueResponse' smart constructor.-data CreateQueueResponse = CreateQueueResponse'-  { _cqrsQueueURL       :: !(Maybe Text)-  , _cqrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateQueueResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cqrsQueueURL' - The URL of the created Amazon SQS queue.------ * 'cqrsResponseStatus' - -- | The response status code.-createQueueResponse-    :: Int -- ^ 'cqrsResponseStatus'-    -> CreateQueueResponse-createQueueResponse pResponseStatus_ =-  CreateQueueResponse'-    {_cqrsQueueURL = Nothing, _cqrsResponseStatus = pResponseStatus_}----- | The URL of the created Amazon SQS queue.-cqrsQueueURL :: Lens' CreateQueueResponse (Maybe Text)-cqrsQueueURL = lens _cqrsQueueURL (\ s a -> s{_cqrsQueueURL = a})---- | -- | The response status code.-cqrsResponseStatus :: Lens' CreateQueueResponse Int-cqrsResponseStatus = lens _cqrsResponseStatus (\ s a -> s{_cqrsResponseStatus = a})--instance NFData CreateQueueResponse where
− gen/Network/AWS/SQS/DeleteMessage.hs
@@ -1,115 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.DeleteMessage--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the specified message from the specified queue. You specify the message by using the message's /receipt handle/ and not the /MessageId/ you receive when you send the message. Even if the message is locked by another reader due to the visibility timeout setting, it is still deleted from the queue. If you leave a message in the queue for longer than the queue's configured retention period, Amazon SQS automatically deletes the message.-------module Network.AWS.SQS.DeleteMessage-    (-    -- * Creating a Request-      deleteMessage-    , DeleteMessage-    -- * Request Lenses-    , dmQueueURL-    , dmReceiptHandle--    -- * Destructuring the Response-    , deleteMessageResponse-    , DeleteMessageResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'deleteMessage' smart constructor.-data DeleteMessage = DeleteMessage'-  { _dmQueueURL      :: !Text-  , _dmReceiptHandle :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteMessage' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dmQueueURL' - The URL of the Amazon SQS queue from which messages are deleted. Queue URLs are case-sensitive.------ * 'dmReceiptHandle' - The receipt handle associated with the message to delete.-deleteMessage-    :: Text -- ^ 'dmQueueURL'-    -> Text -- ^ 'dmReceiptHandle'-    -> DeleteMessage-deleteMessage pQueueURL_ pReceiptHandle_ =-  DeleteMessage' {_dmQueueURL = pQueueURL_, _dmReceiptHandle = pReceiptHandle_}----- | The URL of the Amazon SQS queue from which messages are deleted. Queue URLs are case-sensitive.-dmQueueURL :: Lens' DeleteMessage Text-dmQueueURL = lens _dmQueueURL (\ s a -> s{_dmQueueURL = a})---- | The receipt handle associated with the message to delete.-dmReceiptHandle :: Lens' DeleteMessage Text-dmReceiptHandle = lens _dmReceiptHandle (\ s a -> s{_dmReceiptHandle = a})--instance AWSRequest DeleteMessage where-        type Rs DeleteMessage = DeleteMessageResponse-        request = postQuery sqs-        response = receiveNull DeleteMessageResponse'--instance Hashable DeleteMessage where--instance NFData DeleteMessage where--instance ToHeaders DeleteMessage where-        toHeaders = const mempty--instance ToPath DeleteMessage where-        toPath = const "/"--instance ToQuery DeleteMessage where-        toQuery DeleteMessage'{..}-          = mconcat-              ["Action" =: ("DeleteMessage" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueUrl" =: _dmQueueURL,-               "ReceiptHandle" =: _dmReceiptHandle]---- | /See:/ 'deleteMessageResponse' smart constructor.-data DeleteMessageResponse =-  DeleteMessageResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteMessageResponse' with the minimum fields required to make a request.----deleteMessageResponse-    :: DeleteMessageResponse-deleteMessageResponse = DeleteMessageResponse'---instance NFData DeleteMessageResponse where
− gen/Network/AWS/SQS/DeleteMessageBatch.hs
@@ -1,159 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.DeleteMessageBatch--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes up to ten messages from the specified queue. This is a batch version of @'DeleteMessage' .@ The result of the action on each message is reported individually in the response.--------- /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@ .----module Network.AWS.SQS.DeleteMessageBatch-    (-    -- * Creating a Request-      deleteMessageBatch-    , DeleteMessageBatch-    -- * Request Lenses-    , dmbQueueURL-    , dmbEntries--    -- * Destructuring the Response-    , deleteMessageBatchResponse-    , DeleteMessageBatchResponse-    -- * Response Lenses-    , dmbrsResponseStatus-    , dmbrsSuccessful-    , dmbrsFailed-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'deleteMessageBatch' smart constructor.-data DeleteMessageBatch = DeleteMessageBatch'-  { _dmbQueueURL :: !Text-  , _dmbEntries  :: ![DeleteMessageBatchRequestEntry]-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteMessageBatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dmbQueueURL' - The URL of the Amazon SQS queue from which messages are deleted. Queue URLs are case-sensitive.------ * 'dmbEntries' - A list of receipt handles for the messages to be deleted.-deleteMessageBatch-    :: Text -- ^ 'dmbQueueURL'-    -> DeleteMessageBatch-deleteMessageBatch pQueueURL_ =-  DeleteMessageBatch' {_dmbQueueURL = pQueueURL_, _dmbEntries = mempty}----- | The URL of the Amazon SQS queue from which messages are deleted. Queue URLs are case-sensitive.-dmbQueueURL :: Lens' DeleteMessageBatch Text-dmbQueueURL = lens _dmbQueueURL (\ s a -> s{_dmbQueueURL = a})---- | A list of receipt handles for the messages to be deleted.-dmbEntries :: Lens' DeleteMessageBatch [DeleteMessageBatchRequestEntry]-dmbEntries = lens _dmbEntries (\ s a -> s{_dmbEntries = a}) . _Coerce--instance AWSRequest DeleteMessageBatch where-        type Rs DeleteMessageBatch =-             DeleteMessageBatchResponse-        request = postQuery sqs-        response-          = receiveXMLWrapper "DeleteMessageBatchResult"-              (\ s h x ->-                 DeleteMessageBatchResponse' <$>-                   (pure (fromEnum s)) <*>-                     (parseXMLList "DeleteMessageBatchResultEntry" x)-                     <*> (parseXMLList "BatchResultErrorEntry" x))--instance Hashable DeleteMessageBatch where--instance NFData DeleteMessageBatch where--instance ToHeaders DeleteMessageBatch where-        toHeaders = const mempty--instance ToPath DeleteMessageBatch where-        toPath = const "/"--instance ToQuery DeleteMessageBatch where-        toQuery DeleteMessageBatch'{..}-          = mconcat-              ["Action" =: ("DeleteMessageBatch" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueUrl" =: _dmbQueueURL,-               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 can't be deleted.------------ /See:/ 'deleteMessageBatchResponse' smart constructor.-data DeleteMessageBatchResponse = DeleteMessageBatchResponse'-  { _dmbrsResponseStatus :: !Int-  , _dmbrsSuccessful     :: ![DeleteMessageBatchResultEntry]-  , _dmbrsFailed         :: ![BatchResultErrorEntry]-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteMessageBatchResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dmbrsResponseStatus' - -- | The response status code.------ * 'dmbrsSuccessful' - A list of @'DeleteMessageBatchResultEntry' @ items.------ * 'dmbrsFailed' - A list of @'BatchResultErrorEntry' @ items.-deleteMessageBatchResponse-    :: Int -- ^ 'dmbrsResponseStatus'-    -> DeleteMessageBatchResponse-deleteMessageBatchResponse pResponseStatus_ =-  DeleteMessageBatchResponse'-    { _dmbrsResponseStatus = pResponseStatus_-    , _dmbrsSuccessful = mempty-    , _dmbrsFailed = mempty-    }----- | -- | The response status code.-dmbrsResponseStatus :: Lens' DeleteMessageBatchResponse Int-dmbrsResponseStatus = lens _dmbrsResponseStatus (\ s a -> s{_dmbrsResponseStatus = a})---- | A list of @'DeleteMessageBatchResultEntry' @ items.-dmbrsSuccessful :: Lens' DeleteMessageBatchResponse [DeleteMessageBatchResultEntry]-dmbrsSuccessful = lens _dmbrsSuccessful (\ s a -> s{_dmbrsSuccessful = a}) . _Coerce---- | A list of @'BatchResultErrorEntry' @ items.-dmbrsFailed :: Lens' DeleteMessageBatchResponse [BatchResultErrorEntry]-dmbrsFailed = lens _dmbrsFailed (\ s a -> s{_dmbrsFailed = a}) . _Coerce--instance NFData DeleteMessageBatchResponse where
− gen/Network/AWS/SQS/DeleteQueue.hs
@@ -1,110 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.DeleteQueue--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the queue specified by the @QueueUrl@ , regardless of the queue's contents. If the specified queue doesn't exist, Amazon SQS returns a successful response.--------- /Important:/ Be careful with the @DeleteQueue@ action: When you delete a queue, any messages in the queue are no longer available.------ When you delete a queue, the deletion process takes up to 60 seconds. Requests you send involving that queue during the 60 seconds might succeed. For example, a @'SendMessage' @ request might succeed, but after 60 seconds the queue and the message you sent no longer exist.------ When you delete a queue, you must wait at least 60 seconds before creating a queue with the same name.----module Network.AWS.SQS.DeleteQueue-    (-    -- * Creating a Request-      deleteQueue-    , DeleteQueue-    -- * Request Lenses-    , dqQueueURL--    -- * Destructuring the Response-    , deleteQueueResponse-    , DeleteQueueResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'deleteQueue' smart constructor.-newtype DeleteQueue = DeleteQueue'-  { _dqQueueURL :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteQueue' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dqQueueURL' - The URL of the Amazon SQS queue to delete. Queue URLs are case-sensitive.-deleteQueue-    :: Text -- ^ 'dqQueueURL'-    -> DeleteQueue-deleteQueue pQueueURL_ = DeleteQueue' {_dqQueueURL = pQueueURL_}----- | The URL of the Amazon SQS queue to delete. Queue URLs are case-sensitive.-dqQueueURL :: Lens' DeleteQueue Text-dqQueueURL = lens _dqQueueURL (\ s a -> s{_dqQueueURL = a})--instance AWSRequest DeleteQueue where-        type Rs DeleteQueue = DeleteQueueResponse-        request = postQuery sqs-        response = receiveNull DeleteQueueResponse'--instance Hashable DeleteQueue where--instance NFData DeleteQueue where--instance ToHeaders DeleteQueue where-        toHeaders = const mempty--instance ToPath DeleteQueue where-        toPath = const "/"--instance ToQuery DeleteQueue where-        toQuery DeleteQueue'{..}-          = mconcat-              ["Action" =: ("DeleteQueue" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueUrl" =: _dqQueueURL]---- | /See:/ 'deleteQueueResponse' smart constructor.-data DeleteQueueResponse =-  DeleteQueueResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteQueueResponse' with the minimum fields required to make a request.----deleteQueueResponse-    :: DeleteQueueResponse-deleteQueueResponse = DeleteQueueResponse'---instance NFData DeleteQueueResponse where
− gen/Network/AWS/SQS/GetQueueAttributes.hs
@@ -1,145 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.GetQueueAttributes--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Gets attributes for the specified queue.-------module Network.AWS.SQS.GetQueueAttributes-    (-    -- * Creating a Request-      getQueueAttributes-    , GetQueueAttributes-    -- * Request Lenses-    , gqaAttributeNames-    , gqaQueueURL--    -- * Destructuring the Response-    , getQueueAttributesResponse-    , GetQueueAttributesResponse-    -- * Response Lenses-    , gqarsAttributes-    , gqarsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'getQueueAttributes' smart constructor.-data GetQueueAttributes = GetQueueAttributes'-  { _gqaAttributeNames :: !(Maybe [QueueAttributeName])-  , _gqaQueueURL       :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetQueueAttributes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * '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/sqs-resources-required-process-messages.html Resources Required to Process Messages> in the /Amazon Simple Queue Service 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 aren't deleted. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-resources-required-process-messages.html Resources Required to Process Messages> in the /Amazon Simple Queue Service Developer Guide/ .      * @CreatedTimestamp@ - Returns the time when the queue was created in seconds (<http://en.wikipedia.org/wiki/Unix_time epoch time> ).     * @DelaySeconds@ - Returns the default delay on the queue in seconds.     * @LastModifiedTimestamp@ - Returns the time when the queue was last changed in seconds (<http://en.wikipedia.org/wiki/Unix_time epoch time> ).     * @MaximumMessageSize@ - Returns the limit of how many bytes a message can contain before Amazon SQS rejects it.     * @MessageRetentionPeriod@ - Returns the length of time, in 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 length of time, in seconds, for which the @ReceiveMessage@ action waits for a message to arrive.      * @RedrivePolicy@ - Returns the string that includes 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/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues> in the /Amazon Simple Queue Service Developer Guide/ .      * @deadLetterTargetArn@ - The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of @maxReceiveCount@ is exceeded.     * @maxReceiveCount@ - The number of times a message is delivered to the source queue before being moved to the dead-letter queue.     * @VisibilityTimeout@ - Returns the visibility timeout for the queue. For more information about the visibility timeout, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout> in the /Amazon Simple Queue Service Developer Guide/ .  The following attributes apply only to <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption> :     * @KmsMasterKeyId@ - Returns the ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms> .      * @KmsDataKeyReusePeriodSeconds@ - Returns the length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?> .  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 Simple Queue Service 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 Simple Queue Service Developer Guide/ .------ * 'gqaQueueURL' - The URL of the Amazon SQS queue whose attribute information is retrieved. Queue URLs are case-sensitive.-getQueueAttributes-    :: Text -- ^ 'gqaQueueURL'-    -> GetQueueAttributes-getQueueAttributes pQueueURL_ =-  GetQueueAttributes' {_gqaAttributeNames = Nothing, _gqaQueueURL = pQueueURL_}----- | 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/sqs-resources-required-process-messages.html Resources Required to Process Messages> in the /Amazon Simple Queue Service 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 aren't deleted. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-resources-required-process-messages.html Resources Required to Process Messages> in the /Amazon Simple Queue Service Developer Guide/ .      * @CreatedTimestamp@ - Returns the time when the queue was created in seconds (<http://en.wikipedia.org/wiki/Unix_time epoch time> ).     * @DelaySeconds@ - Returns the default delay on the queue in seconds.     * @LastModifiedTimestamp@ - Returns the time when the queue was last changed in seconds (<http://en.wikipedia.org/wiki/Unix_time epoch time> ).     * @MaximumMessageSize@ - Returns the limit of how many bytes a message can contain before Amazon SQS rejects it.     * @MessageRetentionPeriod@ - Returns the length of time, in 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 length of time, in seconds, for which the @ReceiveMessage@ action waits for a message to arrive.      * @RedrivePolicy@ - Returns the string that includes 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/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues> in the /Amazon Simple Queue Service Developer Guide/ .      * @deadLetterTargetArn@ - The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of @maxReceiveCount@ is exceeded.     * @maxReceiveCount@ - The number of times a message is delivered to the source queue before being moved to the dead-letter queue.     * @VisibilityTimeout@ - Returns the visibility timeout for the queue. For more information about the visibility timeout, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout> in the /Amazon Simple Queue Service Developer Guide/ .  The following attributes apply only to <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption> :     * @KmsMasterKeyId@ - Returns the ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms> .      * @KmsDataKeyReusePeriodSeconds@ - Returns the length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?> .  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 Simple Queue Service 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 Simple Queue Service Developer Guide/ .-gqaAttributeNames :: Lens' GetQueueAttributes [QueueAttributeName]-gqaAttributeNames = lens _gqaAttributeNames (\ s a -> s{_gqaAttributeNames = a}) . _Default . _Coerce---- | The URL of the Amazon SQS queue whose attribute information is retrieved. Queue URLs are case-sensitive.-gqaQueueURL :: Lens' GetQueueAttributes Text-gqaQueueURL = lens _gqaQueueURL (\ s a -> s{_gqaQueueURL = a})--instance AWSRequest GetQueueAttributes where-        type Rs GetQueueAttributes =-             GetQueueAttributesResponse-        request = postQuery sqs-        response-          = receiveXMLWrapper "GetQueueAttributesResult"-              (\ s h x ->-                 GetQueueAttributesResponse' <$>-                   (may (parseXMLMap "Attribute" "Name" "Value") x) <*>-                     (pure (fromEnum s)))--instance Hashable GetQueueAttributes where--instance NFData GetQueueAttributes where--instance ToHeaders GetQueueAttributes where-        toHeaders = const mempty--instance ToPath GetQueueAttributes where-        toPath = const "/"--instance ToQuery GetQueueAttributes where-        toQuery GetQueueAttributes'{..}-          = mconcat-              ["Action" =: ("GetQueueAttributes" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               toQuery-                 (toQueryList "AttributeName" <$> _gqaAttributeNames),-               "QueueUrl" =: _gqaQueueURL]---- | A list of returned queue attributes.------------ /See:/ 'getQueueAttributesResponse' smart constructor.-data GetQueueAttributesResponse = GetQueueAttributesResponse'-  { _gqarsAttributes     :: !(Maybe (Map QueueAttributeName Text))-  , _gqarsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetQueueAttributesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gqarsAttributes' - A map of attributes to their respective values.------ * 'gqarsResponseStatus' - -- | The response status code.-getQueueAttributesResponse-    :: Int -- ^ 'gqarsResponseStatus'-    -> GetQueueAttributesResponse-getQueueAttributesResponse pResponseStatus_ =-  GetQueueAttributesResponse'-    {_gqarsAttributes = Nothing, _gqarsResponseStatus = pResponseStatus_}----- | A map of attributes to their respective values.-gqarsAttributes :: Lens' GetQueueAttributesResponse (HashMap QueueAttributeName Text)-gqarsAttributes = lens _gqarsAttributes (\ s a -> s{_gqarsAttributes = a}) . _Default . _Map---- | -- | The response status code.-gqarsResponseStatus :: Lens' GetQueueAttributesResponse Int-gqarsResponseStatus = lens _gqarsResponseStatus (\ s a -> s{_gqarsResponseStatus = a})--instance NFData GetQueueAttributesResponse where
− gen/Network/AWS/SQS/GetQueueURL.hs
@@ -1,147 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.GetQueueURL--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ 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 see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/acp-overview.html Shared Queues> in the /Amazon Simple Queue Service Developer Guide/ .----module Network.AWS.SQS.GetQueueURL-    (-    -- * Creating a Request-      getQueueURL-    , GetQueueURL-    -- * Request Lenses-    , gquQueueOwnerAWSAccountId-    , gquQueueName--    -- * Destructuring the Response-    , getQueueURLResponse-    , GetQueueURLResponse-    -- * Response Lenses-    , gqursResponseStatus-    , gqursQueueURL-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'getQueueURL' smart constructor.-data GetQueueURL = GetQueueURL'-  { _gquQueueOwnerAWSAccountId :: !(Maybe Text)-  , _gquQueueName              :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetQueueURL' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gquQueueOwnerAWSAccountId' - The AWS account ID of the account that created the queue.------ * 'gquQueueName' - The name of the queue whose URL must be fetched. Maximum 80 characters. Valid values: alphanumeric characters, hyphens (@-@ ), and underscores (@_@ ). Queue names are case-sensitive.-getQueueURL-    :: Text -- ^ 'gquQueueName'-    -> GetQueueURL-getQueueURL pQueueName_ =-  GetQueueURL'-    {_gquQueueOwnerAWSAccountId = Nothing, _gquQueueName = pQueueName_}----- | The AWS account ID of the account that created the queue.-gquQueueOwnerAWSAccountId :: Lens' GetQueueURL (Maybe Text)-gquQueueOwnerAWSAccountId = lens _gquQueueOwnerAWSAccountId (\ s a -> s{_gquQueueOwnerAWSAccountId = a})---- | The name of the queue whose URL must be fetched. Maximum 80 characters. Valid values: alphanumeric characters, hyphens (@-@ ), and underscores (@_@ ). Queue names are case-sensitive.-gquQueueName :: Lens' GetQueueURL Text-gquQueueName = lens _gquQueueName (\ s a -> s{_gquQueueName = a})--instance AWSRequest GetQueueURL where-        type Rs GetQueueURL = GetQueueURLResponse-        request = postQuery sqs-        response-          = receiveXMLWrapper "GetQueueUrlResult"-              (\ s h x ->-                 GetQueueURLResponse' <$>-                   (pure (fromEnum s)) <*> (x .@ "QueueUrl"))--instance Hashable GetQueueURL where--instance NFData GetQueueURL where--instance ToHeaders GetQueueURL where-        toHeaders = const mempty--instance ToPath GetQueueURL where-        toPath = const "/"--instance ToQuery GetQueueURL where-        toQuery GetQueueURL'{..}-          = mconcat-              ["Action" =: ("GetQueueUrl" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueOwnerAWSAccountId" =:-                 _gquQueueOwnerAWSAccountId,-               "QueueName" =: _gquQueueName]---- | For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/UnderstandingResponses.html Responses> in the /Amazon Simple Queue Service Developer Guide/ .------------ /See:/ 'getQueueURLResponse' smart constructor.-data GetQueueURLResponse = GetQueueURLResponse'-  { _gqursResponseStatus :: !Int-  , _gqursQueueURL       :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetQueueURLResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gqursResponseStatus' - -- | The response status code.------ * 'gqursQueueURL' - The URL of the queue.-getQueueURLResponse-    :: Int -- ^ 'gqursResponseStatus'-    -> Text -- ^ 'gqursQueueURL'-    -> GetQueueURLResponse-getQueueURLResponse pResponseStatus_ pQueueURL_ =-  GetQueueURLResponse'-    {_gqursResponseStatus = pResponseStatus_, _gqursQueueURL = pQueueURL_}----- | -- | The response status code.-gqursResponseStatus :: Lens' GetQueueURLResponse Int-gqursResponseStatus = lens _gqursResponseStatus (\ s a -> s{_gqursResponseStatus = a})---- | The URL of the queue.-gqursQueueURL :: Lens' GetQueueURLResponse Text-gqursQueueURL = lens _gqursQueueURL (\ s a -> s{_gqursQueueURL = a})--instance NFData GetQueueURLResponse where
− gen/Network/AWS/SQS/ListDeadLetterSourceQueues.hs
@@ -1,139 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.ListDeadLetterSourceQueues--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ 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/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues> in the /Amazon Simple Queue Service Developer Guide/ .----module Network.AWS.SQS.ListDeadLetterSourceQueues-    (-    -- * Creating a Request-      listDeadLetterSourceQueues-    , ListDeadLetterSourceQueues-    -- * Request Lenses-    , ldlsqQueueURL--    -- * Destructuring the Response-    , listDeadLetterSourceQueuesResponse-    , ListDeadLetterSourceQueuesResponse-    -- * Response Lenses-    , ldlsqrsResponseStatus-    , ldlsqrsQueueURLs-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'listDeadLetterSourceQueues' smart constructor.-newtype ListDeadLetterSourceQueues = ListDeadLetterSourceQueues'-  { _ldlsqQueueURL :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListDeadLetterSourceQueues' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ldlsqQueueURL' - The URL of a dead-letter queue. Queue URLs are case-sensitive.-listDeadLetterSourceQueues-    :: Text -- ^ 'ldlsqQueueURL'-    -> ListDeadLetterSourceQueues-listDeadLetterSourceQueues pQueueURL_ =-  ListDeadLetterSourceQueues' {_ldlsqQueueURL = pQueueURL_}----- | The URL of a dead-letter queue. Queue URLs are case-sensitive.-ldlsqQueueURL :: Lens' ListDeadLetterSourceQueues Text-ldlsqQueueURL = lens _ldlsqQueueURL (\ s a -> s{_ldlsqQueueURL = a})--instance AWSRequest ListDeadLetterSourceQueues where-        type Rs ListDeadLetterSourceQueues =-             ListDeadLetterSourceQueuesResponse-        request = postQuery sqs-        response-          = receiveXMLWrapper-              "ListDeadLetterSourceQueuesResult"-              (\ s h x ->-                 ListDeadLetterSourceQueuesResponse' <$>-                   (pure (fromEnum s)) <*> (parseXMLList "QueueUrl" x))--instance Hashable ListDeadLetterSourceQueues where--instance NFData ListDeadLetterSourceQueues where--instance ToHeaders ListDeadLetterSourceQueues where-        toHeaders = const mempty--instance ToPath ListDeadLetterSourceQueues where-        toPath = const "/"--instance ToQuery ListDeadLetterSourceQueues where-        toQuery ListDeadLetterSourceQueues'{..}-          = mconcat-              ["Action" =:-                 ("ListDeadLetterSourceQueues" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueUrl" =: _ldlsqQueueURL]---- | A list of your dead letter source queues.------------ /See:/ 'listDeadLetterSourceQueuesResponse' smart constructor.-data ListDeadLetterSourceQueuesResponse = ListDeadLetterSourceQueuesResponse'-  { _ldlsqrsResponseStatus :: !Int-  , _ldlsqrsQueueURLs      :: ![Text]-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListDeadLetterSourceQueuesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ldlsqrsResponseStatus' - -- | The response status code.------ * 'ldlsqrsQueueURLs' - A list of source queue URLs that have the @RedrivePolicy@ queue attribute configured with a dead-letter queue.-listDeadLetterSourceQueuesResponse-    :: Int -- ^ 'ldlsqrsResponseStatus'-    -> ListDeadLetterSourceQueuesResponse-listDeadLetterSourceQueuesResponse pResponseStatus_ =-  ListDeadLetterSourceQueuesResponse'-    {_ldlsqrsResponseStatus = pResponseStatus_, _ldlsqrsQueueURLs = mempty}----- | -- | The response status code.-ldlsqrsResponseStatus :: Lens' ListDeadLetterSourceQueuesResponse Int-ldlsqrsResponseStatus = lens _ldlsqrsResponseStatus (\ s a -> s{_ldlsqrsResponseStatus = a})---- | A list of source queue URLs that have the @RedrivePolicy@ queue attribute configured with a dead-letter queue.-ldlsqrsQueueURLs :: Lens' ListDeadLetterSourceQueuesResponse [Text]-ldlsqrsQueueURLs = lens _ldlsqrsQueueURLs (\ s a -> s{_ldlsqrsQueueURLs = a}) . _Coerce--instance NFData ListDeadLetterSourceQueuesResponse-         where
− gen/Network/AWS/SQS/ListQueueTags.hs
@@ -1,141 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.ListQueueTags--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all cost allocation tags added to the specified Amazon SQS queue. For an overview, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-tagging-queues.html Tagging Amazon SQS Queues> in the /Amazon Simple Queue Service Developer Guide/ .--------- When you use queue tags, keep the following guidelines in mind:------     * Adding more than 50 tags to a queue isn't recommended.------     * Tags don't have any semantic meaning. Amazon SQS interprets tags as character strings.------     * Tags are case-sensitive.------     * A new tag with a key identical to that of an existing tag overwrites the existing tag.------     * Tagging API actions are limited to 5 TPS per AWS account. If your application requires a higher throughput, file a <https://console.aws.amazon.com/support/home#/case/create?issueType=technical technical support request> .------------ For a full list of tag restrictions, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html Limits Related to Queues> in the /Amazon Simple Queue Service Developer Guide/ .----module Network.AWS.SQS.ListQueueTags-    (-    -- * Creating a Request-      listQueueTags-    , ListQueueTags-    -- * Request Lenses-    , lqtQueueURL--    -- * Destructuring the Response-    , listQueueTagsResponse-    , ListQueueTagsResponse-    -- * Response Lenses-    , lqtrsTags-    , lqtrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- | /See:/ 'listQueueTags' smart constructor.-newtype ListQueueTags = ListQueueTags'-  { _lqtQueueURL :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListQueueTags' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lqtQueueURL' - The URL of the queue.-listQueueTags-    :: Text -- ^ 'lqtQueueURL'-    -> ListQueueTags-listQueueTags pQueueURL_ = ListQueueTags' {_lqtQueueURL = pQueueURL_}----- | The URL of the queue.-lqtQueueURL :: Lens' ListQueueTags Text-lqtQueueURL = lens _lqtQueueURL (\ s a -> s{_lqtQueueURL = a})--instance AWSRequest ListQueueTags where-        type Rs ListQueueTags = ListQueueTagsResponse-        request = postQuery sqs-        response-          = receiveXMLWrapper "ListQueueTagsResult"-              (\ s h x ->-                 ListQueueTagsResponse' <$>-                   (may (parseXMLMap "Tag" "Key" "Value") x) <*>-                     (pure (fromEnum s)))--instance Hashable ListQueueTags where--instance NFData ListQueueTags where--instance ToHeaders ListQueueTags where-        toHeaders = const mempty--instance ToPath ListQueueTags where-        toPath = const "/"--instance ToQuery ListQueueTags where-        toQuery ListQueueTags'{..}-          = mconcat-              ["Action" =: ("ListQueueTags" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueUrl" =: _lqtQueueURL]---- | /See:/ 'listQueueTagsResponse' smart constructor.-data ListQueueTagsResponse = ListQueueTagsResponse'-  { _lqtrsTags           :: !(Maybe (Map Text Text))-  , _lqtrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListQueueTagsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lqtrsTags' - The list of all tags added to the specified queue.------ * 'lqtrsResponseStatus' - -- | The response status code.-listQueueTagsResponse-    :: Int -- ^ 'lqtrsResponseStatus'-    -> ListQueueTagsResponse-listQueueTagsResponse pResponseStatus_ =-  ListQueueTagsResponse'-    {_lqtrsTags = Nothing, _lqtrsResponseStatus = pResponseStatus_}----- | The list of all tags added to the specified queue.-lqtrsTags :: Lens' ListQueueTagsResponse (HashMap Text Text)-lqtrsTags = lens _lqtrsTags (\ s a -> s{_lqtrsTags = a}) . _Default . _Map---- | -- | The response status code.-lqtrsResponseStatus :: Lens' ListQueueTagsResponse Int-lqtrsResponseStatus = lens _lqtrsResponseStatus (\ s a -> s{_lqtrsResponseStatus = a})--instance NFData ListQueueTagsResponse where
− gen/Network/AWS/SQS/ListQueues.hs
@@ -1,132 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.ListQueues--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a list of your queues. The maximum number of queues that can be returned is 1,000. If you specify a value for the optional @QueueNamePrefix@ parameter, only queues with a name that begins with the specified value are returned.-------module Network.AWS.SQS.ListQueues-    (-    -- * Creating a Request-      listQueues-    , ListQueues-    -- * Request Lenses-    , lqQueueNamePrefix--    -- * Destructuring the Response-    , listQueuesResponse-    , ListQueuesResponse-    -- * Response Lenses-    , lqrsQueueURLs-    , lqrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'listQueues' smart constructor.-newtype ListQueues = ListQueues'-  { _lqQueueNamePrefix :: Maybe Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListQueues' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lqQueueNamePrefix' - 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.-listQueues-    :: ListQueues-listQueues = ListQueues' {_lqQueueNamePrefix = Nothing}----- | 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})--instance AWSRequest ListQueues where-        type Rs ListQueues = ListQueuesResponse-        request = postQuery sqs-        response-          = receiveXMLWrapper "ListQueuesResult"-              (\ s h x ->-                 ListQueuesResponse' <$>-                   (may (parseXMLList "QueueUrl") x) <*>-                     (pure (fromEnum s)))--instance Hashable ListQueues where--instance NFData ListQueues where--instance ToHeaders ListQueues where-        toHeaders = const mempty--instance ToPath ListQueues where-        toPath = const "/"--instance ToQuery ListQueues where-        toQuery ListQueues'{..}-          = mconcat-              ["Action" =: ("ListQueues" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueNamePrefix" =: _lqQueueNamePrefix]---- | A list of your queues.------------ /See:/ 'listQueuesResponse' smart constructor.-data ListQueuesResponse = ListQueuesResponse'-  { _lqrsQueueURLs      :: !(Maybe [Text])-  , _lqrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListQueuesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lqrsQueueURLs' - A list of queue URLs, up to 1,000 entries.------ * 'lqrsResponseStatus' - -- | The response status code.-listQueuesResponse-    :: Int -- ^ 'lqrsResponseStatus'-    -> ListQueuesResponse-listQueuesResponse pResponseStatus_ =-  ListQueuesResponse'-    {_lqrsQueueURLs = Nothing, _lqrsResponseStatus = pResponseStatus_}----- | A list of queue URLs, up to 1,000 entries.-lqrsQueueURLs :: Lens' ListQueuesResponse [Text]-lqrsQueueURLs = lens _lqrsQueueURLs (\ s a -> s{_lqrsQueueURLs = a}) . _Default . _Coerce---- | -- | The response status code.-lqrsResponseStatus :: Lens' ListQueuesResponse Int-lqrsResponseStatus = lens _lqrsResponseStatus (\ s a -> s{_lqrsResponseStatus = a})--instance NFData ListQueuesResponse where
− gen/Network/AWS/SQS/PurgeQueue.hs
@@ -1,108 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.PurgeQueue--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the messages in a queue specified by the @QueueURL@ parameter.--------- /Important:/ When you use the @PurgeQueue@ action, you can't retrieve a message deleted from a queue.------ When you purge a queue, the message deletion process takes up to 60 seconds. All messages sent to the queue before calling the @PurgeQueue@ action are 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@ is called might be received, but are deleted within the next minute.----module Network.AWS.SQS.PurgeQueue-    (-    -- * Creating a Request-      purgeQueue-    , PurgeQueue-    -- * Request Lenses-    , pqQueueURL--    -- * Destructuring the Response-    , purgeQueueResponse-    , PurgeQueueResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'purgeQueue' smart constructor.-newtype PurgeQueue = PurgeQueue'-  { _pqQueueURL :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PurgeQueue' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pqQueueURL' - The URL of the queue from which the @PurgeQueue@ action deletes messages. Queue URLs are case-sensitive.-purgeQueue-    :: Text -- ^ 'pqQueueURL'-    -> PurgeQueue-purgeQueue pQueueURL_ = PurgeQueue' {_pqQueueURL = pQueueURL_}----- | The URL of the queue from which the @PurgeQueue@ action deletes messages. Queue URLs are case-sensitive.-pqQueueURL :: Lens' PurgeQueue Text-pqQueueURL = lens _pqQueueURL (\ s a -> s{_pqQueueURL = a})--instance AWSRequest PurgeQueue where-        type Rs PurgeQueue = PurgeQueueResponse-        request = postQuery sqs-        response = receiveNull PurgeQueueResponse'--instance Hashable PurgeQueue where--instance NFData PurgeQueue where--instance ToHeaders PurgeQueue where-        toHeaders = const mempty--instance ToPath PurgeQueue where-        toPath = const "/"--instance ToQuery PurgeQueue where-        toQuery PurgeQueue'{..}-          = mconcat-              ["Action" =: ("PurgeQueue" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueUrl" =: _pqQueueURL]---- | /See:/ 'purgeQueueResponse' smart constructor.-data PurgeQueueResponse =-  PurgeQueueResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PurgeQueueResponse' with the minimum fields required to make a request.----purgeQueueResponse-    :: PurgeQueueResponse-purgeQueueResponse = PurgeQueueResponse'---instance NFData PurgeQueueResponse where
− gen/Network/AWS/SQS/ReceiveMessage.hs
@@ -1,224 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.ReceiveMessage--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Retrieves one or more messages (up to 10), from the specified queue. Using the @WaitTimeSeconds@ parameter enables long-poll support. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-long-polling.html Amazon SQS Long Polling> in the /Amazon Simple Queue Service Developer Guide/ .--------- Short poll is the default behavior where a weighted random set of machines is sampled on a @ReceiveMessage@ call. Thus, only the messages on the sampled machines are returned. If the number of messages in the queue is small (fewer than 1,000), you most likely get fewer messages than you requested per @ReceiveMessage@ call. If the number of messages in the queue is extremely small, you might not receive any messages in a particular @ReceiveMessage@ response. If this happens, repeat the request.------ For each message returned, the response includes the following:------     * The message body.------     * An MD5 digest of the message body. For information about MD5, see <https://www.ietf.org/rfc/rfc1321.txt RFC1321> .------     * The @MessageId@ you received when you sent the message to the queue.------     * The receipt handle.------     * The message attributes.------     * An MD5 digest of the message attributes.------------ The receipt handle is the identifier you must provide when deleting the message. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-message-identifiers.html Queue and Message Identifiers> in the /Amazon Simple Queue Service Developer Guide/ .------ You can provide the @VisibilityTimeout@ parameter in your request. The parameter is applied to the messages that Amazon SQS returns in the response. If you don't include the parameter, the overall visibility timeout for the queue is used for the returned messages. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout> in the /Amazon Simple Queue Service Developer Guide/ .------ A message that isn't deleted or a message whose visibility isn't extended before the visibility timeout expires counts as a failed receive. Depending on the configuration of the queue, the message might be sent to the dead-letter queue.----module Network.AWS.SQS.ReceiveMessage-    (-    -- * Creating a Request-      receiveMessage-    , ReceiveMessage-    -- * Request Lenses-    , rmReceiveRequestAttemptId-    , rmVisibilityTimeout-    , rmMessageAttributeNames-    , rmWaitTimeSeconds-    , rmAttributeNames-    , rmMaxNumberOfMessages-    , rmQueueURL--    -- * Destructuring the Response-    , receiveMessageResponse-    , ReceiveMessageResponse-    -- * Response Lenses-    , rmrsMessages-    , rmrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'receiveMessage' smart constructor.-data ReceiveMessage = ReceiveMessage'-  { _rmReceiveRequestAttemptId :: !(Maybe Text)-  , _rmVisibilityTimeout       :: !(Maybe Int)-  , _rmMessageAttributeNames   :: !(Maybe [Text])-  , _rmWaitTimeSeconds         :: !(Maybe Int)-  , _rmAttributeNames          :: !(Maybe [MessageAttribute])-  , _rmMaxNumberOfMessages     :: !(Maybe Int)-  , _rmQueueURL                :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ReceiveMessage' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rmReceiveRequestAttemptId' - This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of @ReceiveMessage@ calls. If a networking issue occurs after a @ReceiveMessage@ action, and instead of a response you receive a generic error, you can retry the same action with an identical @ReceiveRequestAttemptId@ to retrieve the same set of messages, even if their visibility timeout has not yet expired.     * You can use @ReceiveRequestAttemptId@ only for 5 minutes after a @ReceiveMessage@ action.     * When you set @FifoQueue@ , a caller of the @ReceiveMessage@ action can provide a @ReceiveRequestAttemptId@ explicitly.     * If a caller of the @ReceiveMessage@ action doesn't provide a @ReceiveRequestAttemptId@ , Amazon SQS generates a @ReceiveRequestAttemptId@ .     * You can retry the @ReceiveMessage@ action with the same @ReceiveRequestAttemptId@ if none of the messages have been modified (deleted or had their visibility changes).     * During a visibility timeout, subsequent calls with the same @ReceiveRequestAttemptId@ return the same messages and receipt handles. If a retry occurs within the deduplication interval, it resets the visibility timeout. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout> in the /Amazon Simple Queue Service Developer Guide/ . /Important:/ If a caller of the @ReceiveMessage@ action is still processing messages when the visibility timeout expires and messages become visible, another worker reading from the same queue can receive the same messages and therefore process duplicates. Also, if a reader whose message processing time is longer than the visibility timeout tries to delete the processed messages, the action fails with an error. To mitigate this effect, ensure that your application observes a safe threshold before the visibility timeout expires and extend the visibility timeout as necessary.     * While messages with a particular @MessageGroupId@ are invisible, no more messages belonging to the same @MessageGroupId@ are returned until the visibility timeout expires. You can still receive messages with another @MessageGroupId@ as long as it is also visible.     * If a caller of @ReceiveMessage@ can't track the @ReceiveRequestAttemptId@ , no retries work until the original visibility timeout expires. As a result, delays might occur but the messages in the queue remain in a strict order. The length of @ReceiveRequestAttemptId@ is 128 characters. @ReceiveRequestAttemptId@ can contain alphanumeric characters (@a-z@ , @A-Z@ , @0-9@ ) and punctuation (@!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~@ ). For best practices of using @ReceiveRequestAttemptId@ , see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-receiverequestattemptid-request-parameter Using the ReceiveRequestAttemptId Request Parameter> in the /Amazon Simple Queue Service Developer Guide/ .------ * 'rmVisibilityTimeout' - The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a @ReceiveMessage@ request.------ * 'rmMessageAttributeNames' - The name of the message attribute, where /N/ is the index.     * The name can contain alphanumeric characters and the underscore (@_@ ), hyphen (@-@ ), and period (@.@ ).     * The name is case-sensitive and must be unique among all attribute names for the message.     * The name must not start with AWS-reserved prefixes such as @AWS.@ or @Amazon.@ (or any casing variants).     * The name must not start or end with a period (@.@ ), and it should not have periods in succession (@..@ ).     * The name can be up to 256 characters long. 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 all message attributes starting with a prefix, for example @bar.*@ .------ * 'rmWaitTimeSeconds' - The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. If a message is available, the call returns sooner than @WaitTimeSeconds@ . If no messages are available and the wait time expires, the call returns successfully with an empty list of messages.------ * 'rmAttributeNames' - A list of attributes that need to be returned along with each message. These attributes include:     * @All@ - Returns all values.     * @ApproximateFirstReceiveTimestamp@ - Returns the time the message was first received from the queue (<http://en.wikipedia.org/wiki/Unix_time epoch time> in milliseconds).     * @ApproximateReceiveCount@ - Returns the number of times a message has been received from the queue but not deleted.     * @SenderId@      * For an IAM user, returns the IAM user ID, for example @ABCDEFGHI1JKLMNOPQ23R@ .     * For an IAM role, returns the IAM role ID, for example @ABCDE1F2GH3I4JK5LMNOP:i-a123b456@ .     * @SentTimestamp@ - Returns the time the message was sent to the queue (<http://en.wikipedia.org/wiki/Unix_time epoch time> in milliseconds).     * @MessageDeduplicationId@ - Returns the value provided by the sender that calls the @'SendMessage' @ action.     * @MessageGroupId@ - Returns the value provided by the sender that calls the @'SendMessage' @ action. Messages with the same @MessageGroupId@ are returned in sequence.     * @SequenceNumber@ - Returns the value provided by Amazon SQS. Any other valid special request parameters (such as the following) are ignored:     * @ApproximateNumberOfMessages@      * @ApproximateNumberOfMessagesDelayed@      * @ApproximateNumberOfMessagesNotVisible@      * @CreatedTimestamp@      * @ContentBasedDeduplication@      * @DelaySeconds@      * @FifoQueue@      * @LastModifiedTimestamp@      * @MaximumMessageSize@      * @MessageRetentionPeriod@      * @Policy@      * @QueueArn@ ,      * @ReceiveMessageWaitTimeSeconds@      * @RedrivePolicy@      * @VisibilityTimeout@------ * 'rmMaxNumberOfMessages' - The maximum number of messages to return. Amazon SQS never returns more messages than this value (however, fewer messages might be returned). Valid values are 1 to 10. Default is 1.------ * 'rmQueueURL' - The URL of the Amazon SQS queue from which messages are received. Queue URLs are case-sensitive.-receiveMessage-    :: Text -- ^ 'rmQueueURL'-    -> ReceiveMessage-receiveMessage pQueueURL_ =-  ReceiveMessage'-    { _rmReceiveRequestAttemptId = Nothing-    , _rmVisibilityTimeout = Nothing-    , _rmMessageAttributeNames = Nothing-    , _rmWaitTimeSeconds = Nothing-    , _rmAttributeNames = Nothing-    , _rmMaxNumberOfMessages = Nothing-    , _rmQueueURL = pQueueURL_-    }----- | This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of @ReceiveMessage@ calls. If a networking issue occurs after a @ReceiveMessage@ action, and instead of a response you receive a generic error, you can retry the same action with an identical @ReceiveRequestAttemptId@ to retrieve the same set of messages, even if their visibility timeout has not yet expired.     * You can use @ReceiveRequestAttemptId@ only for 5 minutes after a @ReceiveMessage@ action.     * When you set @FifoQueue@ , a caller of the @ReceiveMessage@ action can provide a @ReceiveRequestAttemptId@ explicitly.     * If a caller of the @ReceiveMessage@ action doesn't provide a @ReceiveRequestAttemptId@ , Amazon SQS generates a @ReceiveRequestAttemptId@ .     * You can retry the @ReceiveMessage@ action with the same @ReceiveRequestAttemptId@ if none of the messages have been modified (deleted or had their visibility changes).     * During a visibility timeout, subsequent calls with the same @ReceiveRequestAttemptId@ return the same messages and receipt handles. If a retry occurs within the deduplication interval, it resets the visibility timeout. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout> in the /Amazon Simple Queue Service Developer Guide/ . /Important:/ If a caller of the @ReceiveMessage@ action is still processing messages when the visibility timeout expires and messages become visible, another worker reading from the same queue can receive the same messages and therefore process duplicates. Also, if a reader whose message processing time is longer than the visibility timeout tries to delete the processed messages, the action fails with an error. To mitigate this effect, ensure that your application observes a safe threshold before the visibility timeout expires and extend the visibility timeout as necessary.     * While messages with a particular @MessageGroupId@ are invisible, no more messages belonging to the same @MessageGroupId@ are returned until the visibility timeout expires. You can still receive messages with another @MessageGroupId@ as long as it is also visible.     * If a caller of @ReceiveMessage@ can't track the @ReceiveRequestAttemptId@ , no retries work until the original visibility timeout expires. As a result, delays might occur but the messages in the queue remain in a strict order. The length of @ReceiveRequestAttemptId@ is 128 characters. @ReceiveRequestAttemptId@ can contain alphanumeric characters (@a-z@ , @A-Z@ , @0-9@ ) and punctuation (@!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~@ ). For best practices of using @ReceiveRequestAttemptId@ , see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-receiverequestattemptid-request-parameter Using the ReceiveRequestAttemptId Request Parameter> in the /Amazon Simple Queue Service Developer Guide/ .-rmReceiveRequestAttemptId :: Lens' ReceiveMessage (Maybe Text)-rmReceiveRequestAttemptId = lens _rmReceiveRequestAttemptId (\ s a -> s{_rmReceiveRequestAttemptId = a})---- | The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a @ReceiveMessage@ request.-rmVisibilityTimeout :: Lens' ReceiveMessage (Maybe Int)-rmVisibilityTimeout = lens _rmVisibilityTimeout (\ s a -> s{_rmVisibilityTimeout = a})---- | The name of the message attribute, where /N/ is the index.     * The name can contain alphanumeric characters and the underscore (@_@ ), hyphen (@-@ ), and period (@.@ ).     * The name is case-sensitive and must be unique among all attribute names for the message.     * The name must not start with AWS-reserved prefixes such as @AWS.@ or @Amazon.@ (or any casing variants).     * The name must not start or end with a period (@.@ ), and it should not have periods in succession (@..@ ).     * The name can be up to 256 characters long. 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 all message attributes starting with a prefix, for example @bar.*@ .-rmMessageAttributeNames :: Lens' ReceiveMessage [Text]-rmMessageAttributeNames = lens _rmMessageAttributeNames (\ s a -> s{_rmMessageAttributeNames = a}) . _Default . _Coerce---- | The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. If a message is available, the call returns sooner than @WaitTimeSeconds@ . If no messages are available and the wait time expires, the call returns successfully with an empty list of messages.-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. These attributes include:     * @All@ - Returns all values.     * @ApproximateFirstReceiveTimestamp@ - Returns the time the message was first received from the queue (<http://en.wikipedia.org/wiki/Unix_time epoch time> in milliseconds).     * @ApproximateReceiveCount@ - Returns the number of times a message has been received from the queue but not deleted.     * @SenderId@      * For an IAM user, returns the IAM user ID, for example @ABCDEFGHI1JKLMNOPQ23R@ .     * For an IAM role, returns the IAM role ID, for example @ABCDE1F2GH3I4JK5LMNOP:i-a123b456@ .     * @SentTimestamp@ - Returns the time the message was sent to the queue (<http://en.wikipedia.org/wiki/Unix_time epoch time> in milliseconds).     * @MessageDeduplicationId@ - Returns the value provided by the sender that calls the @'SendMessage' @ action.     * @MessageGroupId@ - Returns the value provided by the sender that calls the @'SendMessage' @ action. Messages with the same @MessageGroupId@ are returned in sequence.     * @SequenceNumber@ - Returns the value provided by Amazon SQS. Any other valid special request parameters (such as the following) are ignored:     * @ApproximateNumberOfMessages@      * @ApproximateNumberOfMessagesDelayed@      * @ApproximateNumberOfMessagesNotVisible@      * @CreatedTimestamp@      * @ContentBasedDeduplication@      * @DelaySeconds@      * @FifoQueue@      * @LastModifiedTimestamp@      * @MaximumMessageSize@      * @MessageRetentionPeriod@      * @Policy@      * @QueueArn@ ,      * @ReceiveMessageWaitTimeSeconds@      * @RedrivePolicy@      * @VisibilityTimeout@-rmAttributeNames :: Lens' ReceiveMessage [MessageAttribute]-rmAttributeNames = lens _rmAttributeNames (\ s a -> s{_rmAttributeNames = a}) . _Default . _Coerce---- | The maximum number of messages to return. Amazon SQS never returns more messages than this value (however, fewer messages might be returned). Valid values are 1 to 10. Default is 1.-rmMaxNumberOfMessages :: Lens' ReceiveMessage (Maybe Int)-rmMaxNumberOfMessages = lens _rmMaxNumberOfMessages (\ s a -> s{_rmMaxNumberOfMessages = a})---- | The URL of the Amazon SQS queue from which messages are received. Queue URLs are case-sensitive.-rmQueueURL :: Lens' ReceiveMessage Text-rmQueueURL = lens _rmQueueURL (\ s a -> s{_rmQueueURL = a})--instance AWSRequest ReceiveMessage where-        type Rs ReceiveMessage = ReceiveMessageResponse-        request = postQuery sqs-        response-          = receiveXMLWrapper "ReceiveMessageResult"-              (\ s h x ->-                 ReceiveMessageResponse' <$>-                   (may (parseXMLList "Message") x) <*>-                     (pure (fromEnum s)))--instance Hashable ReceiveMessage where--instance NFData ReceiveMessage where--instance ToHeaders ReceiveMessage where-        toHeaders = const mempty--instance ToPath ReceiveMessage where-        toPath = const "/"--instance ToQuery ReceiveMessage where-        toQuery ReceiveMessage'{..}-          = mconcat-              ["Action" =: ("ReceiveMessage" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "ReceiveRequestAttemptId" =:-                 _rmReceiveRequestAttemptId,-               "VisibilityTimeout" =: _rmVisibilityTimeout,-               toQuery-                 (toQueryList "MessageAttributeName" <$>-                    _rmMessageAttributeNames),-               "WaitTimeSeconds" =: _rmWaitTimeSeconds,-               toQuery-                 (toQueryList "AttributeName" <$> _rmAttributeNames),-               "MaxNumberOfMessages" =: _rmMaxNumberOfMessages,-               "QueueUrl" =: _rmQueueURL]---- | A list of received messages.------------ /See:/ 'receiveMessageResponse' smart constructor.-data ReceiveMessageResponse = ReceiveMessageResponse'-  { _rmrsMessages       :: !(Maybe [Message])-  , _rmrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ReceiveMessageResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rmrsMessages' - A list of messages.------ * 'rmrsResponseStatus' - -- | The response status code.-receiveMessageResponse-    :: Int -- ^ 'rmrsResponseStatus'-    -> ReceiveMessageResponse-receiveMessageResponse pResponseStatus_ =-  ReceiveMessageResponse'-    {_rmrsMessages = Nothing, _rmrsResponseStatus = pResponseStatus_}----- | A list of messages.-rmrsMessages :: Lens' ReceiveMessageResponse [Message]-rmrsMessages = lens _rmrsMessages (\ s a -> s{_rmrsMessages = a}) . _Default . _Coerce---- | -- | The response status code.-rmrsResponseStatus :: Lens' ReceiveMessageResponse Int-rmrsResponseStatus = lens _rmrsResponseStatus (\ s a -> s{_rmrsResponseStatus = a})--instance NFData ReceiveMessageResponse where
− gen/Network/AWS/SQS/RemovePermission.hs
@@ -1,114 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.RemovePermission--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Revokes any permissions in the queue policy that matches the specified @Label@ parameter. Only the owner of the queue can remove permissions.-------module Network.AWS.SQS.RemovePermission-    (-    -- * Creating a Request-      removePermission-    , RemovePermission-    -- * Request Lenses-    , rpQueueURL-    , rpLabel--    -- * Destructuring the Response-    , removePermissionResponse-    , RemovePermissionResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'removePermission' smart constructor.-data RemovePermission = RemovePermission'-  { _rpQueueURL :: !Text-  , _rpLabel    :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RemovePermission' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rpQueueURL' - The URL of the Amazon SQS queue from which permissions are removed. Queue URLs are case-sensitive.------ * 'rpLabel' - The identification of the permission to remove. This is the label added using the @'AddPermission' @ action.-removePermission-    :: Text -- ^ 'rpQueueURL'-    -> Text -- ^ 'rpLabel'-    -> RemovePermission-removePermission pQueueURL_ pLabel_ =-  RemovePermission' {_rpQueueURL = pQueueURL_, _rpLabel = pLabel_}----- | The URL of the Amazon SQS queue from which permissions are removed. Queue URLs are case-sensitive.-rpQueueURL :: Lens' RemovePermission Text-rpQueueURL = lens _rpQueueURL (\ s a -> s{_rpQueueURL = a})---- | The identification of the permission to remove. This is the label added using the @'AddPermission' @ action.-rpLabel :: Lens' RemovePermission Text-rpLabel = lens _rpLabel (\ s a -> s{_rpLabel = a})--instance AWSRequest RemovePermission where-        type Rs RemovePermission = RemovePermissionResponse-        request = postQuery sqs-        response = receiveNull RemovePermissionResponse'--instance Hashable RemovePermission where--instance NFData RemovePermission where--instance ToHeaders RemovePermission where-        toHeaders = const mempty--instance ToPath RemovePermission where-        toPath = const "/"--instance ToQuery RemovePermission where-        toQuery RemovePermission'{..}-          = mconcat-              ["Action" =: ("RemovePermission" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueUrl" =: _rpQueueURL, "Label" =: _rpLabel]---- | /See:/ 'removePermissionResponse' smart constructor.-data RemovePermissionResponse =-  RemovePermissionResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RemovePermissionResponse' with the minimum fields required to make a request.----removePermissionResponse-    :: RemovePermissionResponse-removePermissionResponse = RemovePermissionResponse'---instance NFData RemovePermissionResponse where
− gen/Network/AWS/SQS/SendMessage.hs
@@ -1,227 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.SendMessage--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Delivers a message to the specified queue.--------- /Important:/ A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:------ @#x9@ | @#xA@ | @#xD@ | @#x20@ to @#xD7FF@ | @#xE000@ to @#xFFFD@ | @#x10000@ to @#x10FFFF@------ Any characters not included in this list will be rejected. For more information, see the <http://www.w3.org/TR/REC-xml/#charsets W3C specification for characters> .----module Network.AWS.SQS.SendMessage-    (-    -- * Creating a Request-      sendMessage-    , SendMessage-    -- * Request Lenses-    , smMessageAttributes-    , smDelaySeconds-    , smMessageDeduplicationId-    , smMessageGroupId-    , smQueueURL-    , smMessageBody--    -- * Destructuring the Response-    , sendMessageResponse-    , SendMessageResponse-    -- * Response Lenses-    , smrsSequenceNumber-    , smrsMessageId-    , smrsMD5OfMessageBody-    , smrsMD5OfMessageAttributes-    , smrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'sendMessage' smart constructor.-data SendMessage = SendMessage'-  { _smMessageAttributes      :: !(Maybe (Map Text MessageAttributeValue))-  , _smDelaySeconds           :: !(Maybe Int)-  , _smMessageDeduplicationId :: !(Maybe Text)-  , _smMessageGroupId         :: !(Maybe Text)-  , _smQueueURL               :: !Text-  , _smMessageBody            :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SendMessage' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'smMessageAttributes' - Each message attribute consists of a @Name@ , @Type@ , and @Value@ . For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html#message-attributes-items-validation Message Attribute Items and Validation> in the /Amazon Simple Queue Service Developer Guide/ .------ * 'smDelaySeconds' - The length of time, in seconds, for which to delay a specific message. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive @DelaySeconds@ value become available for processing after the delay period is finished. If you don't specify a value, the default value for the queue applies.------ * 'smMessageDeduplicationId' - This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of sent messages. If a message with a particular @MessageDeduplicationId@ is sent successfully, any messages sent with the same @MessageDeduplicationId@ are accepted successfully but aren't delivered during the 5-minute deduplication interval. 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 Simple Queue Service Developer Guide/ .     * Every message must have a unique @MessageDeduplicationId@ ,     * You may provide a @MessageDeduplicationId@ explicitly.     * If you aren't able to provide a @MessageDeduplicationId@ and you enable @ContentBasedDeduplication@ for your queue, Amazon SQS uses a SHA-256 hash to generate the @MessageDeduplicationId@ using the body of the message (but not the attributes of the message).      * If you don't provide a @MessageDeduplicationId@ and the queue doesn't have @ContentBasedDeduplication@ set, the action fails with an error.     * If the queue has @ContentBasedDeduplication@ set, your @MessageDeduplicationId@ overrides the generated one.     * When @ContentBasedDeduplication@ is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered.     * If you send one message with @ContentBasedDeduplication@ enabled and then another message with a @MessageDeduplicationId@ that is the same as the one generated for the first @MessageDeduplicationId@ , the two messages are treated as duplicates and only one copy of the message is delivered.  The length of @MessageDeduplicationId@ is 128 characters. @MessageDeduplicationId@ can contain alphanumeric characters (@a-z@ , @A-Z@ , @0-9@ ) and punctuation (@!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~@ ). For best practices of using @MessageDeduplicationId@ , see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagededuplicationid-property Using the MessageDeduplicationId Property> in the /Amazon Simple Queue Service Developer Guide/ .------ * 'smMessageGroupId' - This parameter applies only to FIFO (first-in-first-out) queues. The tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). To interleave multiple ordered streams within a single queue, use @MessageGroupId@ values (for example, session data for multiple users). In this scenario, multiple readers can process the queue, but the session data of each user is processed in a FIFO fashion.     * You must associate a non-empty @MessageGroupId@ with a message. If you don't provide a @MessageGroupId@ , the action fails.     * @ReceiveMessage@ might return messages with multiple @MessageGroupId@ values. For each @MessageGroupId@ , the messages are sorted by time sent. The caller can't specify a @MessageGroupId@ . The length of @MessageGroupId@ is 128 characters. Valid values are alphanumeric characters and punctuation @(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)@ . For best practices of using @MessageGroupId@ , see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagegroupid-property Using the MessageGroupId Property> in the /Amazon Simple Queue Service Developer Guide/ . /Important:/ @MessageGroupId@ is required for FIFO queues. You can't use it for Standard queues.------ * 'smQueueURL' - The URL of the Amazon SQS queue to which a message is sent. Queue URLs are case-sensitive.------ * 'smMessageBody' - The message to send. The maximum string size is 256 KB. /Important:/ A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed: @#x9@ | @#xA@ | @#xD@ | @#x20@ to @#xD7FF@ | @#xE000@ to @#xFFFD@ | @#x10000@ to @#x10FFFF@  Any characters not included in this list will be rejected. For more information, see the <http://www.w3.org/TR/REC-xml/#charsets W3C specification for characters> .-sendMessage-    :: Text -- ^ 'smQueueURL'-    -> Text -- ^ 'smMessageBody'-    -> SendMessage-sendMessage pQueueURL_ pMessageBody_ =-  SendMessage'-    { _smMessageAttributes = Nothing-    , _smDelaySeconds = Nothing-    , _smMessageDeduplicationId = Nothing-    , _smMessageGroupId = Nothing-    , _smQueueURL = pQueueURL_-    , _smMessageBody = pMessageBody_-    }----- | Each message attribute consists of a @Name@ , @Type@ , and @Value@ . For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html#message-attributes-items-validation Message Attribute Items and Validation> in the /Amazon Simple Queue Service Developer Guide/ .-smMessageAttributes :: Lens' SendMessage (HashMap Text MessageAttributeValue)-smMessageAttributes = lens _smMessageAttributes (\ s a -> s{_smMessageAttributes = a}) . _Default . _Map---- | The length of time, in seconds, for which to delay a specific message. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive @DelaySeconds@ value become available for processing after the delay period is finished. If you don't specify a value, the default value for the queue applies.-smDelaySeconds :: Lens' SendMessage (Maybe Int)-smDelaySeconds = lens _smDelaySeconds (\ s a -> s{_smDelaySeconds = a})---- | This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of sent messages. If a message with a particular @MessageDeduplicationId@ is sent successfully, any messages sent with the same @MessageDeduplicationId@ are accepted successfully but aren't delivered during the 5-minute deduplication interval. 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 Simple Queue Service Developer Guide/ .     * Every message must have a unique @MessageDeduplicationId@ ,     * You may provide a @MessageDeduplicationId@ explicitly.     * If you aren't able to provide a @MessageDeduplicationId@ and you enable @ContentBasedDeduplication@ for your queue, Amazon SQS uses a SHA-256 hash to generate the @MessageDeduplicationId@ using the body of the message (but not the attributes of the message).      * If you don't provide a @MessageDeduplicationId@ and the queue doesn't have @ContentBasedDeduplication@ set, the action fails with an error.     * If the queue has @ContentBasedDeduplication@ set, your @MessageDeduplicationId@ overrides the generated one.     * When @ContentBasedDeduplication@ is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered.     * If you send one message with @ContentBasedDeduplication@ enabled and then another message with a @MessageDeduplicationId@ that is the same as the one generated for the first @MessageDeduplicationId@ , the two messages are treated as duplicates and only one copy of the message is delivered.  The length of @MessageDeduplicationId@ is 128 characters. @MessageDeduplicationId@ can contain alphanumeric characters (@a-z@ , @A-Z@ , @0-9@ ) and punctuation (@!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~@ ). For best practices of using @MessageDeduplicationId@ , see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagededuplicationid-property Using the MessageDeduplicationId Property> in the /Amazon Simple Queue Service Developer Guide/ .-smMessageDeduplicationId :: Lens' SendMessage (Maybe Text)-smMessageDeduplicationId = lens _smMessageDeduplicationId (\ s a -> s{_smMessageDeduplicationId = a})---- | This parameter applies only to FIFO (first-in-first-out) queues. The tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). To interleave multiple ordered streams within a single queue, use @MessageGroupId@ values (for example, session data for multiple users). In this scenario, multiple readers can process the queue, but the session data of each user is processed in a FIFO fashion.     * You must associate a non-empty @MessageGroupId@ with a message. If you don't provide a @MessageGroupId@ , the action fails.     * @ReceiveMessage@ might return messages with multiple @MessageGroupId@ values. For each @MessageGroupId@ , the messages are sorted by time sent. The caller can't specify a @MessageGroupId@ . The length of @MessageGroupId@ is 128 characters. Valid values are alphanumeric characters and punctuation @(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)@ . For best practices of using @MessageGroupId@ , see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagegroupid-property Using the MessageGroupId Property> in the /Amazon Simple Queue Service Developer Guide/ . /Important:/ @MessageGroupId@ is required for FIFO queues. You can't use it for Standard queues.-smMessageGroupId :: Lens' SendMessage (Maybe Text)-smMessageGroupId = lens _smMessageGroupId (\ s a -> s{_smMessageGroupId = a})---- | The URL of the Amazon SQS queue to which a message is sent. Queue URLs are case-sensitive.-smQueueURL :: Lens' SendMessage Text-smQueueURL = lens _smQueueURL (\ s a -> s{_smQueueURL = a})---- | The message to send. The maximum string size is 256 KB. /Important:/ A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed: @#x9@ | @#xA@ | @#xD@ | @#x20@ to @#xD7FF@ | @#xE000@ to @#xFFFD@ | @#x10000@ to @#x10FFFF@  Any characters not included in this list will be rejected. For more information, see the <http://www.w3.org/TR/REC-xml/#charsets W3C specification for characters> .-smMessageBody :: Lens' SendMessage Text-smMessageBody = lens _smMessageBody (\ s a -> s{_smMessageBody = a})--instance AWSRequest SendMessage where-        type Rs SendMessage = SendMessageResponse-        request = postQuery sqs-        response-          = receiveXMLWrapper "SendMessageResult"-              (\ s h x ->-                 SendMessageResponse' <$>-                   (x .@? "SequenceNumber") <*> (x .@? "MessageId") <*>-                     (x .@? "MD5OfMessageBody")-                     <*> (x .@? "MD5OfMessageAttributes")-                     <*> (pure (fromEnum s)))--instance Hashable SendMessage where--instance NFData SendMessage where--instance ToHeaders SendMessage where-        toHeaders = const mempty--instance ToPath SendMessage where-        toPath = const "/"--instance ToQuery SendMessage where-        toQuery SendMessage'{..}-          = mconcat-              ["Action" =: ("SendMessage" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               toQuery-                 (toQueryMap "MessageAttribute" "Name" "Value" <$>-                    _smMessageAttributes),-               "DelaySeconds" =: _smDelaySeconds,-               "MessageDeduplicationId" =:-                 _smMessageDeduplicationId,-               "MessageGroupId" =: _smMessageGroupId,-               "QueueUrl" =: _smQueueURL,-               "MessageBody" =: _smMessageBody]---- | The @MD5OfMessageBody@ and @MessageId@ elements.------------ /See:/ 'sendMessageResponse' smart constructor.-data SendMessageResponse = SendMessageResponse'-  { _smrsSequenceNumber         :: !(Maybe Text)-  , _smrsMessageId              :: !(Maybe Text)-  , _smrsMD5OfMessageBody       :: !(Maybe Text)-  , _smrsMD5OfMessageAttributes :: !(Maybe Text)-  , _smrsResponseStatus         :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SendMessageResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'smrsSequenceNumber' - This parameter applies only to FIFO (first-in-first-out) queues. The large, non-consecutive number that Amazon SQS assigns to each message. The length of @SequenceNumber@ is 128 bits. @SequenceNumber@ continues to increase for a particular @MessageGroupId@ .------ * 'smrsMessageId' - An attribute containing the @MessageId@ of the message sent to the queue. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-message-identifiers.html Queue and Message Identifiers> in the /Amazon Simple Queue Service Developer Guide/ .------ * 'smrsMD5OfMessageBody' - An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <https://www.ietf.org/rfc/rfc1321.txt RFC1321> .------ * 'smrsMD5OfMessageAttributes' - An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <https://www.ietf.org/rfc/rfc1321.txt RFC1321> .------ * 'smrsResponseStatus' - -- | The response status code.-sendMessageResponse-    :: Int -- ^ 'smrsResponseStatus'-    -> SendMessageResponse-sendMessageResponse pResponseStatus_ =-  SendMessageResponse'-    { _smrsSequenceNumber = Nothing-    , _smrsMessageId = Nothing-    , _smrsMD5OfMessageBody = Nothing-    , _smrsMD5OfMessageAttributes = Nothing-    , _smrsResponseStatus = pResponseStatus_-    }----- | This parameter applies only to FIFO (first-in-first-out) queues. The large, non-consecutive number that Amazon SQS assigns to each message. The length of @SequenceNumber@ is 128 bits. @SequenceNumber@ continues to increase for a particular @MessageGroupId@ .-smrsSequenceNumber :: Lens' SendMessageResponse (Maybe Text)-smrsSequenceNumber = lens _smrsSequenceNumber (\ s a -> s{_smrsSequenceNumber = a})---- | An attribute containing the @MessageId@ of the message sent to the queue. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-message-identifiers.html Queue and Message Identifiers> in the /Amazon Simple Queue Service Developer Guide/ .-smrsMessageId :: Lens' SendMessageResponse (Maybe Text)-smrsMessageId = lens _smrsMessageId (\ s a -> s{_smrsMessageId = a})---- | An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <https://www.ietf.org/rfc/rfc1321.txt RFC1321> .-smrsMD5OfMessageBody :: Lens' SendMessageResponse (Maybe Text)-smrsMD5OfMessageBody = lens _smrsMD5OfMessageBody (\ s a -> s{_smrsMD5OfMessageBody = a})---- | An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <https://www.ietf.org/rfc/rfc1321.txt RFC1321> .-smrsMD5OfMessageAttributes :: Lens' SendMessageResponse (Maybe Text)-smrsMD5OfMessageAttributes = lens _smrsMD5OfMessageAttributes (\ s a -> s{_smrsMD5OfMessageAttributes = a})---- | -- | The response status code.-smrsResponseStatus :: Lens' SendMessageResponse Int-smrsResponseStatus = lens _smrsResponseStatus (\ s a -> s{_smrsResponseStatus = a})--instance NFData SendMessageResponse where
− gen/Network/AWS/SQS/SendMessageBatch.hs
@@ -1,168 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.SendMessageBatch--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Delivers up to ten messages to the specified queue. This is a batch version of @'SendMessage' .@ For a FIFO queue, multiple messages within a single batch are enqueued in the order they are sent.--------- The result of sending each message is reported individually in the response. 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@ .------ The maximum allowed individual message size and the maximum total payload size (the sum of the individual lengths of all of the batched messages) are both 256 KB (262,144 bytes).------ /Important:/ A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:------ @#x9@ | @#xA@ | @#xD@ | @#x20@ to @#xD7FF@ | @#xE000@ to @#xFFFD@ | @#x10000@ to @#x10FFFF@------ Any characters not included in this list will be rejected. For more information, see the <http://www.w3.org/TR/REC-xml/#charsets W3C specification for characters> .------ If you don't specify the @DelaySeconds@ parameter for an entry, Amazon SQS uses the default value for the queue.----module Network.AWS.SQS.SendMessageBatch-    (-    -- * Creating a Request-      sendMessageBatch-    , SendMessageBatch-    -- * Request Lenses-    , smbQueueURL-    , smbEntries--    -- * Destructuring the Response-    , sendMessageBatchResponse-    , SendMessageBatchResponse-    -- * Response Lenses-    , smbrsResponseStatus-    , smbrsSuccessful-    , smbrsFailed-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'sendMessageBatch' smart constructor.-data SendMessageBatch = SendMessageBatch'-  { _smbQueueURL :: !Text-  , _smbEntries  :: ![SendMessageBatchRequestEntry]-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SendMessageBatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'smbQueueURL' - The URL of the Amazon SQS queue to which batched messages are sent. Queue URLs are case-sensitive.------ * 'smbEntries' - A list of @'SendMessageBatchRequestEntry' @ items.-sendMessageBatch-    :: Text -- ^ 'smbQueueURL'-    -> SendMessageBatch-sendMessageBatch pQueueURL_ =-  SendMessageBatch' {_smbQueueURL = pQueueURL_, _smbEntries = mempty}----- | The URL of the Amazon SQS queue to which batched messages are sent. Queue URLs are case-sensitive.-smbQueueURL :: Lens' SendMessageBatch Text-smbQueueURL = lens _smbQueueURL (\ s a -> s{_smbQueueURL = a})---- | A list of @'SendMessageBatchRequestEntry' @ items.-smbEntries :: Lens' SendMessageBatch [SendMessageBatchRequestEntry]-smbEntries = lens _smbEntries (\ s a -> s{_smbEntries = a}) . _Coerce--instance AWSRequest SendMessageBatch where-        type Rs SendMessageBatch = SendMessageBatchResponse-        request = postQuery sqs-        response-          = receiveXMLWrapper "SendMessageBatchResult"-              (\ s h x ->-                 SendMessageBatchResponse' <$>-                   (pure (fromEnum s)) <*>-                     (parseXMLList "SendMessageBatchResultEntry" x)-                     <*> (parseXMLList "BatchResultErrorEntry" x))--instance Hashable SendMessageBatch where--instance NFData SendMessageBatch where--instance ToHeaders SendMessageBatch where-        toHeaders = const mempty--instance ToPath SendMessageBatch where-        toPath = const "/"--instance ToQuery SendMessageBatch where-        toQuery SendMessageBatch'{..}-          = mconcat-              ["Action" =: ("SendMessageBatch" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueUrl" =: _smbQueueURL,-               toQueryList "SendMessageBatchRequestEntry"-                 _smbEntries]---- | For each message in the batch, the response contains a @'SendMessageBatchResultEntry' @ tag if the message succeeds or a @'BatchResultErrorEntry' @ tag if the message fails.------------ /See:/ 'sendMessageBatchResponse' smart constructor.-data SendMessageBatchResponse = SendMessageBatchResponse'-  { _smbrsResponseStatus :: !Int-  , _smbrsSuccessful     :: ![SendMessageBatchResultEntry]-  , _smbrsFailed         :: ![BatchResultErrorEntry]-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SendMessageBatchResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'smbrsResponseStatus' - -- | The response status code.------ * 'smbrsSuccessful' - A list of @'SendMessageBatchResultEntry' @ items.------ * 'smbrsFailed' - A list of @'BatchResultErrorEntry' @ items with error details about each message that can't be enqueued.-sendMessageBatchResponse-    :: Int -- ^ 'smbrsResponseStatus'-    -> SendMessageBatchResponse-sendMessageBatchResponse pResponseStatus_ =-  SendMessageBatchResponse'-    { _smbrsResponseStatus = pResponseStatus_-    , _smbrsSuccessful = mempty-    , _smbrsFailed = mempty-    }----- | -- | The response status code.-smbrsResponseStatus :: Lens' SendMessageBatchResponse Int-smbrsResponseStatus = lens _smbrsResponseStatus (\ s a -> s{_smbrsResponseStatus = a})---- | A list of @'SendMessageBatchResultEntry' @ items.-smbrsSuccessful :: Lens' SendMessageBatchResponse [SendMessageBatchResultEntry]-smbrsSuccessful = lens _smbrsSuccessful (\ s a -> s{_smbrsSuccessful = a}) . _Coerce---- | A list of @'BatchResultErrorEntry' @ items with error details about each message that can't be enqueued.-smbrsFailed :: Lens' SendMessageBatchResponse [BatchResultErrorEntry]-smbrsFailed = lens _smbrsFailed (\ s a -> s{_smbrsFailed = a}) . _Coerce--instance NFData SendMessageBatchResponse where
− gen/Network/AWS/SQS/SetQueueAttributes.hs
@@ -1,115 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.SetQueueAttributes--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Sets the value of one or more queue attributes. When you change a queue's attributes, the change can take up to 60 seconds for most of the attributes to propagate throughout the Amazon SQS system. Changes made to the @MessageRetentionPeriod@ attribute can take up to 15 minutes.-------module Network.AWS.SQS.SetQueueAttributes-    (-    -- * Creating a Request-      setQueueAttributes-    , SetQueueAttributes-    -- * Request Lenses-    , sqaQueueURL-    , sqaAttributes--    -- * Destructuring the Response-    , setQueueAttributesResponse-    , SetQueueAttributesResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- |------------ /See:/ 'setQueueAttributes' smart constructor.-data SetQueueAttributes = SetQueueAttributes'-  { _sqaQueueURL   :: !Text-  , _sqaAttributes :: !(Map QueueAttributeName Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SetQueueAttributes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sqaQueueURL' - The URL of the Amazon SQS queue whose attributes are set. Queue URLs are case-sensitive.------ * 'sqaAttributes' - A map of attributes to set. The following lists the names, descriptions, and values of the special request parameters that the @SetQueueAttributes@ action uses:     * @DelaySeconds@ - The length of time, in seconds, for which the delivery of all messages in the queue is delayed. Valid values: An integer from 0 to 900 (15 minutes). The default is 0 (zero).      * @MaximumMessageSize@ - The limit of how many bytes a message can contain before Amazon SQS rejects it. Valid values: An integer from 1,024 bytes (1 KiB) up to 262,144 bytes (256 KiB). The default is 262,144 (256 KiB).      * @MessageRetentionPeriod@ - The length of time, in seconds, for which Amazon SQS retains a message. Valid values: An integer representing seconds, from 60 (1 minute) to 1,209,600 (14 days). The default is 345,600 (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 length of time, in seconds, for which a @'ReceiveMessage' @ action waits for a message to arrive. Valid values: an integer from 0 to 20 (seconds). The default is 0.      * @RedrivePolicy@ - The string that includes the parameters for the 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/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues> in the /Amazon Simple Queue Service Developer Guide/ .      * @deadLetterTargetArn@ - The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of @maxReceiveCount@ is exceeded.     * @maxReceiveCount@ - The number of times a message is delivered to the source queue before being moved to the dead-letter queue.     * @VisibilityTimeout@ - The visibility timeout for the queue. Valid values: an integer from 0 to 43,200 (12 hours). The default is 30. For more information about the visibility timeout, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout> in the /Amazon Simple Queue Service Developer Guide/ . The following attributes apply only to <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption> :     * @KmsMasterKeyId@ - The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms> . While the alias of the AWS-managed CMK for Amazon SQS is always @alias/aws/sqs@ , the alias of a custom CMK can, for example, be @alias//MyAlias/ @ . For more examples, see <http://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters KeyId> in the /AWS Key Management Service API Reference/ .      * @KmsDataKeyReusePeriodSeconds@ - The length of time, in seconds, for which Amazon SQS can reuse a <http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys data key> to encrypt or decrypt messages before calling AWS KMS again. An integer representing seconds, between 60 seconds (1 minute) and 86,400 seconds (24 hours). The default is 300 (5 minutes). A shorter time period provides better security but results in more calls to KMS which might incur charges after Free Tier. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?> .  The following attribute applies only to <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues> :     * @ContentBasedDeduplication@ - Enables content-based deduplication. 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 Simple Queue Service Developer Guide/ .      * Every message must have a unique @MessageDeduplicationId@ ,     * You may provide a @MessageDeduplicationId@ explicitly.     * If you aren't able to provide a @MessageDeduplicationId@ and you enable @ContentBasedDeduplication@ for your queue, Amazon SQS uses a SHA-256 hash to generate the @MessageDeduplicationId@ using the body of the message (but not the attributes of the message).      * If you don't provide a @MessageDeduplicationId@ and the queue doesn't have @ContentBasedDeduplication@ set, the action fails with an error.     * If the queue has @ContentBasedDeduplication@ set, your @MessageDeduplicationId@ overrides the generated one.     * When @ContentBasedDeduplication@ is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered.     * If you send one message with @ContentBasedDeduplication@ enabled and then another message with a @MessageDeduplicationId@ that is the same as the one generated for the first @MessageDeduplicationId@ , the two messages are treated as duplicates and only one copy of the message is delivered.  Any other valid special request parameters (such as the following) are ignored:     * @ApproximateNumberOfMessages@      * @ApproximateNumberOfMessagesDelayed@      * @ApproximateNumberOfMessagesNotVisible@      * @CreatedTimestamp@      * @LastModifiedTimestamp@      * @QueueArn@-setQueueAttributes-    :: Text -- ^ 'sqaQueueURL'-    -> SetQueueAttributes-setQueueAttributes pQueueURL_ =-  SetQueueAttributes' {_sqaQueueURL = pQueueURL_, _sqaAttributes = mempty}----- | The URL of the Amazon SQS queue whose attributes are set. Queue URLs are case-sensitive.-sqaQueueURL :: Lens' SetQueueAttributes Text-sqaQueueURL = lens _sqaQueueURL (\ s a -> s{_sqaQueueURL = a})---- | A map of attributes to set. The following lists the names, descriptions, and values of the special request parameters that the @SetQueueAttributes@ action uses:     * @DelaySeconds@ - The length of time, in seconds, for which the delivery of all messages in the queue is delayed. Valid values: An integer from 0 to 900 (15 minutes). The default is 0 (zero).      * @MaximumMessageSize@ - The limit of how many bytes a message can contain before Amazon SQS rejects it. Valid values: An integer from 1,024 bytes (1 KiB) up to 262,144 bytes (256 KiB). The default is 262,144 (256 KiB).      * @MessageRetentionPeriod@ - The length of time, in seconds, for which Amazon SQS retains a message. Valid values: An integer representing seconds, from 60 (1 minute) to 1,209,600 (14 days). The default is 345,600 (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 length of time, in seconds, for which a @'ReceiveMessage' @ action waits for a message to arrive. Valid values: an integer from 0 to 20 (seconds). The default is 0.      * @RedrivePolicy@ - The string that includes the parameters for the 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/sqs-dead-letter-queues.html Using Amazon SQS Dead-Letter Queues> in the /Amazon Simple Queue Service Developer Guide/ .      * @deadLetterTargetArn@ - The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of @maxReceiveCount@ is exceeded.     * @maxReceiveCount@ - The number of times a message is delivered to the source queue before being moved to the dead-letter queue.     * @VisibilityTimeout@ - The visibility timeout for the queue. Valid values: an integer from 0 to 43,200 (12 hours). The default is 30. For more information about the visibility timeout, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html Visibility Timeout> in the /Amazon Simple Queue Service Developer Guide/ . The following attributes apply only to <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html server-side-encryption> :     * @KmsMasterKeyId@ - The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms Key Terms> . While the alias of the AWS-managed CMK for Amazon SQS is always @alias/aws/sqs@ , the alias of a custom CMK can, for example, be @alias//MyAlias/ @ . For more examples, see <http://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters KeyId> in the /AWS Key Management Service API Reference/ .      * @KmsDataKeyReusePeriodSeconds@ - The length of time, in seconds, for which Amazon SQS can reuse a <http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys data key> to encrypt or decrypt messages before calling AWS KMS again. An integer representing seconds, between 60 seconds (1 minute) and 86,400 seconds (24 hours). The default is 300 (5 minutes). A shorter time period provides better security but results in more calls to KMS which might incur charges after Free Tier. For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work How Does the Data Key Reuse Period Work?> .  The following attribute applies only to <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html FIFO (first-in-first-out) queues> :     * @ContentBasedDeduplication@ - Enables content-based deduplication. 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 Simple Queue Service Developer Guide/ .      * Every message must have a unique @MessageDeduplicationId@ ,     * You may provide a @MessageDeduplicationId@ explicitly.     * If you aren't able to provide a @MessageDeduplicationId@ and you enable @ContentBasedDeduplication@ for your queue, Amazon SQS uses a SHA-256 hash to generate the @MessageDeduplicationId@ using the body of the message (but not the attributes of the message).      * If you don't provide a @MessageDeduplicationId@ and the queue doesn't have @ContentBasedDeduplication@ set, the action fails with an error.     * If the queue has @ContentBasedDeduplication@ set, your @MessageDeduplicationId@ overrides the generated one.     * When @ContentBasedDeduplication@ is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered.     * If you send one message with @ContentBasedDeduplication@ enabled and then another message with a @MessageDeduplicationId@ that is the same as the one generated for the first @MessageDeduplicationId@ , the two messages are treated as duplicates and only one copy of the message is delivered.  Any other valid special request parameters (such as the following) are ignored:     * @ApproximateNumberOfMessages@      * @ApproximateNumberOfMessagesDelayed@      * @ApproximateNumberOfMessagesNotVisible@      * @CreatedTimestamp@      * @LastModifiedTimestamp@      * @QueueArn@-sqaAttributes :: Lens' SetQueueAttributes (HashMap QueueAttributeName Text)-sqaAttributes = lens _sqaAttributes (\ s a -> s{_sqaAttributes = a}) . _Map--instance AWSRequest SetQueueAttributes where-        type Rs SetQueueAttributes =-             SetQueueAttributesResponse-        request = postQuery sqs-        response = receiveNull SetQueueAttributesResponse'--instance Hashable SetQueueAttributes where--instance NFData SetQueueAttributes where--instance ToHeaders SetQueueAttributes where-        toHeaders = const mempty--instance ToPath SetQueueAttributes where-        toPath = const "/"--instance ToQuery SetQueueAttributes where-        toQuery SetQueueAttributes'{..}-          = mconcat-              ["Action" =: ("SetQueueAttributes" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueUrl" =: _sqaQueueURL,-               toQueryMap "Attribute" "Name" "Value" _sqaAttributes]---- | /See:/ 'setQueueAttributesResponse' smart constructor.-data SetQueueAttributesResponse =-  SetQueueAttributesResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SetQueueAttributesResponse' with the minimum fields required to make a request.----setQueueAttributesResponse-    :: SetQueueAttributesResponse-setQueueAttributesResponse = SetQueueAttributesResponse'---instance NFData SetQueueAttributesResponse where
− gen/Network/AWS/SQS/TagQueue.hs
@@ -1,125 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.TagQueue--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Add cost allocation tags to the specified Amazon SQS queue. For an overview, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-tagging-queues.html Tagging Amazon SQS Queues> in the /Amazon Simple Queue Service Developer Guide/ .--------- When you use queue tags, keep the following guidelines in mind:------     * Adding more than 50 tags to a queue isn't recommended.------     * Tags don't have any semantic meaning. Amazon SQS interprets tags as character strings.------     * Tags are case-sensitive.------     * A new tag with a key identical to that of an existing tag overwrites the existing tag.------     * Tagging API actions are limited to 5 TPS per AWS account. If your application requires a higher throughput, file a <https://console.aws.amazon.com/support/home#/case/create?issueType=technical technical support request> .------------ For a full list of tag restrictions, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html Limits Related to Queues> in the /Amazon Simple Queue Service Developer Guide/ .----module Network.AWS.SQS.TagQueue-    (-    -- * Creating a Request-      tagQueue-    , TagQueue-    -- * Request Lenses-    , tqQueueURL-    , tqTags--    -- * Destructuring the Response-    , tagQueueResponse-    , TagQueueResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- | /See:/ 'tagQueue' smart constructor.-data TagQueue = TagQueue'-  { _tqQueueURL :: !Text-  , _tqTags     :: !(Map Text Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TagQueue' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tqQueueURL' - The URL of the queue.------ * 'tqTags' - The list of tags to be added to the specified queue.-tagQueue-    :: Text -- ^ 'tqQueueURL'-    -> TagQueue-tagQueue pQueueURL_ = TagQueue' {_tqQueueURL = pQueueURL_, _tqTags = mempty}----- | The URL of the queue.-tqQueueURL :: Lens' TagQueue Text-tqQueueURL = lens _tqQueueURL (\ s a -> s{_tqQueueURL = a})---- | The list of tags to be added to the specified queue.-tqTags :: Lens' TagQueue (HashMap Text Text)-tqTags = lens _tqTags (\ s a -> s{_tqTags = a}) . _Map--instance AWSRequest TagQueue where-        type Rs TagQueue = TagQueueResponse-        request = postQuery sqs-        response = receiveNull TagQueueResponse'--instance Hashable TagQueue where--instance NFData TagQueue where--instance ToHeaders TagQueue where-        toHeaders = const mempty--instance ToPath TagQueue where-        toPath = const "/"--instance ToQuery TagQueue where-        toQuery TagQueue'{..}-          = mconcat-              ["Action" =: ("TagQueue" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueUrl" =: _tqQueueURL,-               toQueryMap "Tags" "Key" "Value" _tqTags]---- | /See:/ 'tagQueueResponse' smart constructor.-data TagQueueResponse =-  TagQueueResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TagQueueResponse' with the minimum fields required to make a request.----tagQueueResponse-    :: TagQueueResponse-tagQueueResponse = TagQueueResponse'---instance NFData TagQueueResponse where
− gen/Network/AWS/SQS/Types.hs
@@ -1,290 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.Types--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.SQS.Types-    (-    -- * Service Configuration-      sqs--    -- * Errors-    , _InvalidBatchEntryId-    , _TooManyEntriesInBatchRequest-    , _QueueDeletedRecently-    , _QueueDoesNotExist-    , _InvalidAttributeName-    , _UnsupportedOperation-    , _InvalidMessageContents-    , _BatchRequestTooLong-    , _OverLimit-    , _QueueNameExists-    , _PurgeQueueInProgress-    , _InvalidIdFormat-    , _ReceiptHandleIsInvalid-    , _EmptyBatchRequest-    , _BatchEntryIdsNotDistinct-    , _MessageNotInflight--    -- * MessageAttribute-    , MessageAttribute (..)--    -- * QueueAttributeName-    , QueueAttributeName (..)--    -- * BatchResultErrorEntry-    , BatchResultErrorEntry-    , batchResultErrorEntry-    , breeMessage-    , breeId-    , breeSenderFault-    , breeCode--    -- * ChangeMessageVisibilityBatchRequestEntry-    , ChangeMessageVisibilityBatchRequestEntry-    , changeMessageVisibilityBatchRequestEntry-    , cVisibilityTimeout-    , cId-    , cReceiptHandle--    -- * ChangeMessageVisibilityBatchResultEntry-    , ChangeMessageVisibilityBatchResultEntry-    , changeMessageVisibilityBatchResultEntry-    , cmvbreId--    -- * DeleteMessageBatchRequestEntry-    , DeleteMessageBatchRequestEntry-    , deleteMessageBatchRequestEntry-    , dmbreId-    , dmbreReceiptHandle--    -- * DeleteMessageBatchResultEntry-    , DeleteMessageBatchResultEntry-    , deleteMessageBatchResultEntry-    , dId--    -- * Message-    , Message-    , message-    , mMessageAttributes-    , mMD5OfBody-    , mBody-    , mAttributes-    , mReceiptHandle-    , mMessageId-    , mMD5OfMessageAttributes--    -- * MessageAttributeValue-    , MessageAttributeValue-    , messageAttributeValue-    , mavBinaryValue-    , mavStringListValues-    , mavStringValue-    , mavBinaryListValues-    , mavDataType--    -- * SendMessageBatchRequestEntry-    , SendMessageBatchRequestEntry-    , sendMessageBatchRequestEntry-    , sMessageAttributes-    , sDelaySeconds-    , sMessageDeduplicationId-    , sMessageGroupId-    , sId-    , sMessageBody--    -- * SendMessageBatchResultEntry-    , SendMessageBatchResultEntry-    , sendMessageBatchResultEntry-    , smbreSequenceNumber-    , smbreMD5OfMessageAttributes-    , smbreId-    , smbreMessageId-    , smbreMD5OfMessageBody-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Sign.V4-import Network.AWS.SQS.Types.Product-import Network.AWS.SQS.Types.Sum---- | API version @2012-11-05@ of the Amazon Simple Queue Service SDK configuration.-sqs :: Service-sqs =-  Service-    { _svcAbbrev = "SQS"-    , _svcSigner = v4-    , _svcPrefix = "sqs"-    , _svcVersion = "2012-11-05"-    , _svcEndpoint = defaultEndpoint sqs-    , _svcTimeout = Just 70-    , _svcCheck = statusSuccess-    , _svcError = parseXMLError "SQS"-    , _svcRetry = retry-    }-  where-    retry =-      Exponential-        { _retryBase = 5.0e-2-        , _retryGrowth = 2-        , _retryAttempts = 5-        , _retryCheck = check-        }-    check e-      | has (hasCode "ThrottledException" . hasStatus 400) e =-        Just "throttled_exception"-      | has (hasCode "RequestThrottled" . hasStatus 403) e =-        Just "request_limit_exceeded"-      | has (hasStatus 429) e = Just "too_many_requests"-      | has (hasCode "ThrottlingException" . hasStatus 400) e =-        Just "throttling_exception"-      | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"-      | has (hasStatus 504) e = Just "gateway_timeout"-      | has (hasCode "RequestThrottledException" . hasStatus 400) e =-        Just "request_throttled_exception"-      | has (hasStatus 502) e = Just "bad_gateway"-      | has (hasStatus 503) e = Just "service_unavailable"-      | has (hasStatus 500) e = Just "general_server_error"-      | has (hasStatus 509) e = Just "limit_exceeded"-      | otherwise = Nothing----- | The @Id@ of a batch entry in a batch request doesn't abide by the specification.-------_InvalidBatchEntryId :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidBatchEntryId =-  _MatchServiceError sqs "AWS.SimpleQueueService.InvalidBatchEntryId" .-  hasStatus 400----- | The batch request contains more entries than permissible.-------_TooManyEntriesInBatchRequest :: AsError a => Getting (First ServiceError) a ServiceError-_TooManyEntriesInBatchRequest =-  _MatchServiceError sqs "AWS.SimpleQueueService.TooManyEntriesInBatchRequest" .-  hasStatus 400----- | You must wait 60 seconds after deleting a queue before you can create another one with the same name.-------_QueueDeletedRecently :: AsError a => Getting (First ServiceError) a ServiceError-_QueueDeletedRecently =-  _MatchServiceError sqs "AWS.SimpleQueueService.QueueDeletedRecently" .-  hasStatus 400----- | The queue referred to doesn't exist.-------_QueueDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError-_QueueDoesNotExist =-  _MatchServiceError sqs "AWS.SimpleQueueService.NonExistentQueue" .-  hasStatus 400----- | The attribute referred to doesn't exist.-------_InvalidAttributeName :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidAttributeName = _MatchServiceError sqs "InvalidAttributeName"----- | Error code 400. Unsupported operation.-------_UnsupportedOperation :: AsError a => Getting (First ServiceError) a ServiceError-_UnsupportedOperation =-  _MatchServiceError sqs "AWS.SimpleQueueService.UnsupportedOperation" .-  hasStatus 400----- | The message contains characters outside the allowed set.-------_InvalidMessageContents :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidMessageContents = _MatchServiceError sqs "InvalidMessageContents"----- | The length of all the messages put together is more than the limit.-------_BatchRequestTooLong :: AsError a => Getting (First ServiceError) a ServiceError-_BatchRequestTooLong =-  _MatchServiceError sqs "AWS.SimpleQueueService.BatchRequestTooLong" .-  hasStatus 400----- | The action that you requested would violate a limit. For example, @ReceiveMessage@ returns this error if the maximum number of inflight messages is reached. @'AddPermission' @ returns this error if the maximum number of permissions for the queue is reached.-------_OverLimit :: AsError a => Getting (First ServiceError) a ServiceError-_OverLimit = _MatchServiceError sqs "OverLimit" . hasStatus 403----- | 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.-------_QueueNameExists :: AsError a => Getting (First ServiceError) a ServiceError-_QueueNameExists = _MatchServiceError sqs "QueueAlreadyExists" . hasStatus 400----- | Indicates that the specified queue previously received a @PurgeQueue@ request within the last 60 seconds (the time it can take to delete the messages in the queue).-------_PurgeQueueInProgress :: AsError a => Getting (First ServiceError) a ServiceError-_PurgeQueueInProgress =-  _MatchServiceError sqs "AWS.SimpleQueueService.PurgeQueueInProgress" .-  hasStatus 403----- | The receipt handle isn't valid for the current version.-------_InvalidIdFormat :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidIdFormat = _MatchServiceError sqs "InvalidIdFormat"----- | The receipt handle provided isn't valid.-------_ReceiptHandleIsInvalid :: AsError a => Getting (First ServiceError) a ServiceError-_ReceiptHandleIsInvalid = _MatchServiceError sqs "ReceiptHandleIsInvalid"----- | The batch request doesn't contain any entries.-------_EmptyBatchRequest :: AsError a => Getting (First ServiceError) a ServiceError-_EmptyBatchRequest =-  _MatchServiceError sqs "AWS.SimpleQueueService.EmptyBatchRequest" .-  hasStatus 400----- | Two or more batch entries in the request have the same @Id@ .-------_BatchEntryIdsNotDistinct :: AsError a => Getting (First ServiceError) a ServiceError-_BatchEntryIdsNotDistinct =-  _MatchServiceError sqs "AWS.SimpleQueueService.BatchEntryIdsNotDistinct" .-  hasStatus 400----- | The message referred to isn't in flight.-------_MessageNotInflight :: AsError a => Getting (First ServiceError) a ServiceError-_MessageNotInflight =-  _MatchServiceError sqs "AWS.SimpleQueueService.MessageNotInflight" .-  hasStatus 400-
− gen/Network/AWS/SQS/Types/Product.hs
@@ -1,620 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.Types.Product--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.SQS.Types.Product where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.SQS.Types.Sum---- | This is used in the responses of batch API to give a detailed description of the result of an action on each entry in the request.------------ /See:/ 'batchResultErrorEntry' smart constructor.-data BatchResultErrorEntry = BatchResultErrorEntry'-  { _breeMessage     :: !(Maybe Text)-  , _breeId          :: !Text-  , _breeSenderFault :: !Bool-  , _breeCode        :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'BatchResultErrorEntry' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'breeMessage' - A message explaining why the action failed on this entry.------ * 'breeId' - The @Id@ of an entry in a batch request.------ * 'breeSenderFault' - Specifies whether the error happened due to the sender's fault.------ * 'breeCode' - An error code representing why the action failed on this entry.-batchResultErrorEntry-    :: Text -- ^ 'breeId'-    -> Bool -- ^ 'breeSenderFault'-    -> Text -- ^ 'breeCode'-    -> BatchResultErrorEntry-batchResultErrorEntry pId_ pSenderFault_ pCode_ =-  BatchResultErrorEntry'-    { _breeMessage = Nothing-    , _breeId = pId_-    , _breeSenderFault = pSenderFault_-    , _breeCode = pCode_-    }----- | A message explaining why the action failed on this entry.-breeMessage :: Lens' BatchResultErrorEntry (Maybe Text)-breeMessage = lens _breeMessage (\ s a -> s{_breeMessage = a})---- | The @Id@ of an entry in a batch request.-breeId :: Lens' BatchResultErrorEntry Text-breeId = lens _breeId (\ s a -> s{_breeId = a})---- | Specifies whether the error happened due to the sender's fault.-breeSenderFault :: Lens' BatchResultErrorEntry Bool-breeSenderFault = lens _breeSenderFault (\ s a -> s{_breeSenderFault = a})---- | An error code representing why the action failed on this entry.-breeCode :: Lens' BatchResultErrorEntry Text-breeCode = lens _breeCode (\ s a -> s{_breeCode = a})--instance FromXML BatchResultErrorEntry where-        parseXML x-          = BatchResultErrorEntry' <$>-              (x .@? "Message") <*> (x .@ "Id") <*>-                (x .@ "SenderFault")-                <*> (x .@ "Code")--instance Hashable BatchResultErrorEntry where--instance NFData BatchResultErrorEntry where---- | Encloses a receipt handle and an entry id for each message in @'ChangeMessageVisibilityBatch' .@--------- /Important:/ All of the following list parameters 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:------ @&amp;ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2@------ @&amp;ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=<replaceable>Your_Receipt_Handle</replaceable>@------ @&amp;ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45@--------- /See:/ 'changeMessageVisibilityBatchRequestEntry' smart constructor.-data ChangeMessageVisibilityBatchRequestEntry = ChangeMessageVisibilityBatchRequestEntry'-  { _cVisibilityTimeout :: !(Maybe Int)-  , _cId                :: !Text-  , _cReceiptHandle     :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ChangeMessageVisibilityBatchRequestEntry' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cVisibilityTimeout' - The new value (in seconds) for the message's visibility timeout.------ * 'cId' - An identifier for this particular receipt handle used to communicate the result.------ * 'cReceiptHandle' - A receipt handle.-changeMessageVisibilityBatchRequestEntry-    :: Text -- ^ 'cId'-    -> Text -- ^ 'cReceiptHandle'-    -> ChangeMessageVisibilityBatchRequestEntry-changeMessageVisibilityBatchRequestEntry pId_ pReceiptHandle_ =-  ChangeMessageVisibilityBatchRequestEntry'-    { _cVisibilityTimeout = Nothing-    , _cId = pId_-    , _cReceiptHandle = pReceiptHandle_-    }----- | The new value (in seconds) for the message's visibility timeout.-cVisibilityTimeout :: Lens' ChangeMessageVisibilityBatchRequestEntry (Maybe Int)-cVisibilityTimeout = lens _cVisibilityTimeout (\ s a -> s{_cVisibilityTimeout = a})---- | An identifier for this particular receipt handle used to communicate the result.-cId :: Lens' ChangeMessageVisibilityBatchRequestEntry Text-cId = lens _cId (\ s a -> s{_cId = a})---- | A receipt handle.-cReceiptHandle :: Lens' ChangeMessageVisibilityBatchRequestEntry Text-cReceiptHandle = lens _cReceiptHandle (\ s a -> s{_cReceiptHandle = a})--instance Hashable-           ChangeMessageVisibilityBatchRequestEntry-         where--instance NFData-           ChangeMessageVisibilityBatchRequestEntry-         where--instance ToQuery-           ChangeMessageVisibilityBatchRequestEntry-         where-        toQuery ChangeMessageVisibilityBatchRequestEntry'{..}-          = mconcat-              ["VisibilityTimeout" =: _cVisibilityTimeout,-               "Id" =: _cId, "ReceiptHandle" =: _cReceiptHandle]---- | Encloses the @Id@ of an entry in @'ChangeMessageVisibilityBatch' .@------------ /See:/ 'changeMessageVisibilityBatchResultEntry' smart constructor.-newtype ChangeMessageVisibilityBatchResultEntry = ChangeMessageVisibilityBatchResultEntry'-  { _cmvbreId :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ChangeMessageVisibilityBatchResultEntry' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cmvbreId' - Represents a message whose visibility timeout has been changed successfully.-changeMessageVisibilityBatchResultEntry-    :: Text -- ^ 'cmvbreId'-    -> ChangeMessageVisibilityBatchResultEntry-changeMessageVisibilityBatchResultEntry pId_ =-  ChangeMessageVisibilityBatchResultEntry' {_cmvbreId = pId_}----- | Represents a message whose visibility timeout has been changed successfully.-cmvbreId :: Lens' ChangeMessageVisibilityBatchResultEntry Text-cmvbreId = lens _cmvbreId (\ s a -> s{_cmvbreId = a})--instance FromXML-           ChangeMessageVisibilityBatchResultEntry-         where-        parseXML x-          = ChangeMessageVisibilityBatchResultEntry' <$>-              (x .@ "Id")--instance Hashable-           ChangeMessageVisibilityBatchResultEntry-         where--instance NFData-           ChangeMessageVisibilityBatchResultEntry-         where---- | Encloses a receipt handle and an identifier for it.------------ /See:/ 'deleteMessageBatchRequestEntry' smart constructor.-data DeleteMessageBatchRequestEntry = DeleteMessageBatchRequestEntry'-  { _dmbreId            :: !Text-  , _dmbreReceiptHandle :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteMessageBatchRequestEntry' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dmbreId' - An identifier for this particular receipt handle. This is used to communicate the result.------ * 'dmbreReceiptHandle' - A receipt handle.-deleteMessageBatchRequestEntry-    :: Text -- ^ 'dmbreId'-    -> Text -- ^ 'dmbreReceiptHandle'-    -> DeleteMessageBatchRequestEntry-deleteMessageBatchRequestEntry pId_ pReceiptHandle_ =-  DeleteMessageBatchRequestEntry'-    {_dmbreId = pId_, _dmbreReceiptHandle = pReceiptHandle_}----- | An identifier for this particular receipt handle. This is used to communicate the result.-dmbreId :: Lens' DeleteMessageBatchRequestEntry Text-dmbreId = lens _dmbreId (\ s a -> s{_dmbreId = a})---- | A receipt handle.-dmbreReceiptHandle :: Lens' DeleteMessageBatchRequestEntry Text-dmbreReceiptHandle = lens _dmbreReceiptHandle (\ s a -> s{_dmbreReceiptHandle = a})--instance Hashable DeleteMessageBatchRequestEntry-         where--instance NFData DeleteMessageBatchRequestEntry where--instance ToQuery DeleteMessageBatchRequestEntry where-        toQuery DeleteMessageBatchRequestEntry'{..}-          = mconcat-              ["Id" =: _dmbreId,-               "ReceiptHandle" =: _dmbreReceiptHandle]---- | Encloses the @Id@ of an entry in @'DeleteMessageBatch' .@------------ /See:/ 'deleteMessageBatchResultEntry' smart constructor.-newtype DeleteMessageBatchResultEntry = DeleteMessageBatchResultEntry'-  { _dId :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteMessageBatchResultEntry' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dId' - Represents a successfully deleted message.-deleteMessageBatchResultEntry-    :: Text -- ^ 'dId'-    -> DeleteMessageBatchResultEntry-deleteMessageBatchResultEntry pId_ =-  DeleteMessageBatchResultEntry' {_dId = pId_}----- | Represents a successfully deleted message.-dId :: Lens' DeleteMessageBatchResultEntry Text-dId = lens _dId (\ s a -> s{_dId = a})--instance FromXML DeleteMessageBatchResultEntry where-        parseXML x-          = DeleteMessageBatchResultEntry' <$> (x .@ "Id")--instance Hashable DeleteMessageBatchResultEntry where--instance NFData DeleteMessageBatchResultEntry where---- | An Amazon SQS message.------------ /See:/ 'message' smart constructor.-data Message = Message'-  { _mMessageAttributes      :: !(Maybe (Map Text MessageAttributeValue))-  , _mMD5OfBody              :: !(Maybe Text)-  , _mBody                   :: !(Maybe Text)-  , _mAttributes             :: !(Maybe (Map MessageAttribute Text))-  , _mReceiptHandle          :: !(Maybe Text)-  , _mMessageId              :: !(Maybe Text)-  , _mMD5OfMessageAttributes :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Message' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mMessageAttributes' - Each message attribute consists of a @Name@ , @Type@ , and @Value@ . For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html#message-attributes-items-validation Message Attribute Items and Validation> in the /Amazon Simple Queue Service Developer Guide/ .------ * 'mMD5OfBody' - An MD5 digest of the non-URL-encoded message body string.------ * 'mBody' - The message's contents (not URL-encoded).------ * 'mAttributes' - @SenderId@ , @SentTimestamp@ , @ApproximateReceiveCount@ , and/or @ApproximateFirstReceiveTimestamp@ . @SentTimestamp@ and @ApproximateFirstReceiveTimestamp@ are each returned as an integer representing the <http://en.wikipedia.org/wiki/Unix_time epoch time> in milliseconds.------ * 'mReceiptHandle' - An identifier associated with the act of receiving the message. A new receipt handle is returned every time you receive a message. When deleting a message, you provide the last received receipt handle to delete the message.------ * 'mMessageId' - A unique identifier for the message. A @MessageId@ is considered unique across all AWS accounts for an extended period of time.------ * 'mMD5OfMessageAttributes' - An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <https://www.ietf.org/rfc/rfc1321.txt RFC1321> .-message-    :: Message-message =-  Message'-    { _mMessageAttributes = Nothing-    , _mMD5OfBody = Nothing-    , _mBody = Nothing-    , _mAttributes = Nothing-    , _mReceiptHandle = Nothing-    , _mMessageId = Nothing-    , _mMD5OfMessageAttributes = Nothing-    }----- | Each message attribute consists of a @Name@ , @Type@ , and @Value@ . For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html#message-attributes-items-validation Message Attribute Items and Validation> in the /Amazon Simple Queue Service Developer Guide/ .-mMessageAttributes :: Lens' Message (HashMap Text MessageAttributeValue)-mMessageAttributes = lens _mMessageAttributes (\ s a -> s{_mMessageAttributes = a}) . _Default . _Map---- | An MD5 digest of the non-URL-encoded message body string.-mMD5OfBody :: Lens' Message (Maybe Text)-mMD5OfBody = lens _mMD5OfBody (\ s a -> s{_mMD5OfBody = a})---- | The message's contents (not URL-encoded).-mBody :: Lens' Message (Maybe Text)-mBody = lens _mBody (\ s a -> s{_mBody = a})---- | @SenderId@ , @SentTimestamp@ , @ApproximateReceiveCount@ , and/or @ApproximateFirstReceiveTimestamp@ . @SentTimestamp@ and @ApproximateFirstReceiveTimestamp@ are each returned as an integer representing the <http://en.wikipedia.org/wiki/Unix_time epoch time> in milliseconds.-mAttributes :: Lens' Message (HashMap MessageAttribute Text)-mAttributes = lens _mAttributes (\ s a -> s{_mAttributes = a}) . _Default . _Map---- | An identifier associated with the act of receiving the message. A new receipt handle is returned every time you receive a message. When deleting a message, you provide the last received receipt handle to delete the message.-mReceiptHandle :: Lens' Message (Maybe Text)-mReceiptHandle = lens _mReceiptHandle (\ s a -> s{_mReceiptHandle = a})---- | A unique identifier for the message. A @MessageId@ is considered unique across all AWS accounts for an extended period of time.-mMessageId :: Lens' Message (Maybe Text)-mMessageId = lens _mMessageId (\ s a -> s{_mMessageId = a})---- | An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <https://www.ietf.org/rfc/rfc1321.txt RFC1321> .-mMD5OfMessageAttributes :: Lens' Message (Maybe Text)-mMD5OfMessageAttributes = lens _mMD5OfMessageAttributes (\ s a -> s{_mMD5OfMessageAttributes = a})--instance FromXML Message where-        parseXML x-          = Message' <$>-              (may (parseXMLMap "MessageAttribute" "Name" "Value")-                 x)-                <*> (x .@? "MD5OfBody")-                <*> (x .@? "Body")-                <*> (may (parseXMLMap "Attribute" "Name" "Value") x)-                <*> (x .@? "ReceiptHandle")-                <*> (x .@? "MessageId")-                <*> (x .@? "MD5OfMessageAttributes")--instance Hashable Message where--instance NFData Message where---- | The user-specified message attribute value. For string data types, the @Value@ attribute has the same restrictions on the content as the message body. For more information, see @'SendMessage' .@--------- @Name@ , @type@ , @value@ and the message body must not be empty or null. All parts of the message attribute, including @Name@ , @Type@ , and @Value@ , are part of the message size restriction (256 KB or 262,144 bytes).--------- /See:/ 'messageAttributeValue' smart constructor.-data MessageAttributeValue = MessageAttributeValue'-  { _mavBinaryValue      :: !(Maybe Base64)-  , _mavStringListValues :: !(Maybe [Text])-  , _mavStringValue      :: !(Maybe Text)-  , _mavBinaryListValues :: !(Maybe [Base64])-  , _mavDataType         :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'MessageAttributeValue' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mavBinaryValue' - Binary type attributes can store any binary data, such as compressed data, encrypted data, or images.-- /Note:/ This 'Lens' automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This 'Lens' accepts and returns only raw unencoded data.------ * 'mavStringListValues' - Not implemented. Reserved for future use.------ * 'mavStringValue' - Strings are Unicode with UTF-8 binary encoding. For a list of code values, see <http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters ASCII Printable Characters> .------ * 'mavBinaryListValues' - Not implemented. Reserved for future use.------ * 'mavDataType' - 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/sqs-message-attributes.html#message-attributes-data-types-validation Message Attribute Data Types and Validation> in the /Amazon Simple Queue Service Developer Guide/ .-messageAttributeValue-    :: Text -- ^ 'mavDataType'-    -> MessageAttributeValue-messageAttributeValue pDataType_ =-  MessageAttributeValue'-    { _mavBinaryValue = Nothing-    , _mavStringListValues = Nothing-    , _mavStringValue = Nothing-    , _mavBinaryListValues = Nothing-    , _mavDataType = pDataType_-    }----- | Binary type attributes can store any binary data, such as compressed data, encrypted data, or images.-- /Note:/ This 'Lens' automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This 'Lens' accepts and returns only raw unencoded data.-mavBinaryValue :: Lens' MessageAttributeValue (Maybe ByteString)-mavBinaryValue = lens _mavBinaryValue (\ s a -> s{_mavBinaryValue = a}) . mapping _Base64---- | Not implemented. Reserved for future use.-mavStringListValues :: Lens' MessageAttributeValue [Text]-mavStringListValues = lens _mavStringListValues (\ s a -> s{_mavStringListValues = a}) . _Default . _Coerce---- | Strings are Unicode with UTF-8 binary encoding. For a list of code values, see <http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters ASCII Printable Characters> .-mavStringValue :: Lens' MessageAttributeValue (Maybe Text)-mavStringValue = lens _mavStringValue (\ s a -> s{_mavStringValue = a})---- | Not implemented. Reserved for future use.-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@ . 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/sqs-message-attributes.html#message-attributes-data-types-validation Message Attribute Data Types and Validation> in the /Amazon Simple Queue Service Developer Guide/ .-mavDataType :: Lens' MessageAttributeValue Text-mavDataType = lens _mavDataType (\ s a -> s{_mavDataType = a})--instance FromXML MessageAttributeValue where-        parseXML x-          = MessageAttributeValue' <$>-              (x .@? "BinaryValue") <*>-                (x .@? "StringListValue" .!@ mempty >>=-                   may (parseXMLList "StringListValue"))-                <*> (x .@? "StringValue")-                <*>-                (x .@? "BinaryListValue" .!@ mempty >>=-                   may (parseXMLList "BinaryListValue"))-                <*> (x .@ "DataType")--instance Hashable MessageAttributeValue where--instance NFData MessageAttributeValue where--instance ToQuery MessageAttributeValue where-        toQuery MessageAttributeValue'{..}-          = mconcat-              ["BinaryValue" =: _mavBinaryValue,-               "StringListValue" =:-                 toQuery-                   (toQueryList "StringListValue" <$>-                      _mavStringListValues),-               "StringValue" =: _mavStringValue,-               "BinaryListValue" =:-                 toQuery-                   (toQueryList "BinaryListValue" <$>-                      _mavBinaryListValues),-               "DataType" =: _mavDataType]---- | Contains the details of a single Amazon SQS message along with an @Id@ .------------ /See:/ 'sendMessageBatchRequestEntry' smart constructor.-data SendMessageBatchRequestEntry = SendMessageBatchRequestEntry'-  { _sMessageAttributes      :: !(Maybe (Map Text MessageAttributeValue))-  , _sDelaySeconds           :: !(Maybe Int)-  , _sMessageDeduplicationId :: !(Maybe Text)-  , _sMessageGroupId         :: !(Maybe Text)-  , _sId                     :: !Text-  , _sMessageBody            :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SendMessageBatchRequestEntry' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sMessageAttributes' - Each message attribute consists of a @Name@ , @Type@ , and @Value@ . For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html#message-attributes-items-validation Message Attribute Items and Validation> in the /Amazon Simple Queue Service Developer Guide/ .------ * 'sDelaySeconds' - The length of time, in seconds, for which a specific message is delayed. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive @DelaySeconds@ value become available for processing after the delay period is finished. If you don't specify a value, the default value for the queue is applied.------ * 'sMessageDeduplicationId' - This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of messages within a 5-minute minimum deduplication interval. If a message with a particular @MessageDeduplicationId@ is sent successfully, subsequent messages with the same @MessageDeduplicationId@ are accepted successfully but aren't delivered. 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 Simple Queue Service Developer Guide/ .     * Every message must have a unique @MessageDeduplicationId@ ,     * You may provide a @MessageDeduplicationId@ explicitly.     * If you aren't able to provide a @MessageDeduplicationId@ and you enable @ContentBasedDeduplication@ for your queue, Amazon SQS uses a SHA-256 hash to generate the @MessageDeduplicationId@ using the body of the message (but not the attributes of the message).      * If you don't provide a @MessageDeduplicationId@ and the queue doesn't have @ContentBasedDeduplication@ set, the action fails with an error.     * If the queue has @ContentBasedDeduplication@ set, your @MessageDeduplicationId@ overrides the generated one.     * When @ContentBasedDeduplication@ is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered.     * If you send one message with @ContentBasedDeduplication@ enabled and then another message with a @MessageDeduplicationId@ that is the same as the one generated for the first @MessageDeduplicationId@ , the two messages are treated as duplicates and only one copy of the message is delivered.  The length of @MessageDeduplicationId@ is 128 characters. @MessageDeduplicationId@ can contain alphanumeric characters (@a-z@ , @A-Z@ , @0-9@ ) and punctuation (@!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~@ ). For best practices of using @MessageDeduplicationId@ , see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagededuplicationid-property Using the MessageDeduplicationId Property> in the /Amazon Simple Queue Service Developer Guide/ .------ * 'sMessageGroupId' - This parameter applies only to FIFO (first-in-first-out) queues. The tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). To interleave multiple ordered streams within a single queue, use @MessageGroupId@ values (for example, session data for multiple users). In this scenario, multiple readers can process the queue, but the session data of each user is processed in a FIFO fashion.     * You must associate a non-empty @MessageGroupId@ with a message. If you don't provide a @MessageGroupId@ , the action fails.     * @ReceiveMessage@ might return messages with multiple @MessageGroupId@ values. For each @MessageGroupId@ , the messages are sorted by time sent. The caller can't specify a @MessageGroupId@ . The length of @MessageGroupId@ is 128 characters. Valid values are alphanumeric characters and punctuation @(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)@ . For best practices of using @MessageGroupId@ , see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagegroupid-property Using the MessageGroupId Property> in the /Amazon Simple Queue Service Developer Guide/ . /Important:/ @MessageGroupId@ is required for FIFO queues. You can't use it for Standard queues.------ * 'sId' - An identifier for a message in this batch used to communicate the result.------ * 'sMessageBody' - The body of the message.-sendMessageBatchRequestEntry-    :: Text -- ^ 'sId'-    -> Text -- ^ 'sMessageBody'-    -> SendMessageBatchRequestEntry-sendMessageBatchRequestEntry pId_ pMessageBody_ =-  SendMessageBatchRequestEntry'-    { _sMessageAttributes = Nothing-    , _sDelaySeconds = Nothing-    , _sMessageDeduplicationId = Nothing-    , _sMessageGroupId = Nothing-    , _sId = pId_-    , _sMessageBody = pMessageBody_-    }----- | Each message attribute consists of a @Name@ , @Type@ , and @Value@ . For more information, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html#message-attributes-items-validation Message Attribute Items and Validation> in the /Amazon Simple Queue Service Developer Guide/ .-sMessageAttributes :: Lens' SendMessageBatchRequestEntry (HashMap Text MessageAttributeValue)-sMessageAttributes = lens _sMessageAttributes (\ s a -> s{_sMessageAttributes = a}) . _Default . _Map---- | The length of time, in seconds, for which a specific message is delayed. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive @DelaySeconds@ value become available for processing after the delay period is finished. If you don't specify a value, the default value for the queue is applied.-sDelaySeconds :: Lens' SendMessageBatchRequestEntry (Maybe Int)-sDelaySeconds = lens _sDelaySeconds (\ s a -> s{_sDelaySeconds = a})---- | This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of messages within a 5-minute minimum deduplication interval. If a message with a particular @MessageDeduplicationId@ is sent successfully, subsequent messages with the same @MessageDeduplicationId@ are accepted successfully but aren't delivered. 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 Simple Queue Service Developer Guide/ .     * Every message must have a unique @MessageDeduplicationId@ ,     * You may provide a @MessageDeduplicationId@ explicitly.     * If you aren't able to provide a @MessageDeduplicationId@ and you enable @ContentBasedDeduplication@ for your queue, Amazon SQS uses a SHA-256 hash to generate the @MessageDeduplicationId@ using the body of the message (but not the attributes of the message).      * If you don't provide a @MessageDeduplicationId@ and the queue doesn't have @ContentBasedDeduplication@ set, the action fails with an error.     * If the queue has @ContentBasedDeduplication@ set, your @MessageDeduplicationId@ overrides the generated one.     * When @ContentBasedDeduplication@ is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered.     * If you send one message with @ContentBasedDeduplication@ enabled and then another message with a @MessageDeduplicationId@ that is the same as the one generated for the first @MessageDeduplicationId@ , the two messages are treated as duplicates and only one copy of the message is delivered.  The length of @MessageDeduplicationId@ is 128 characters. @MessageDeduplicationId@ can contain alphanumeric characters (@a-z@ , @A-Z@ , @0-9@ ) and punctuation (@!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~@ ). For best practices of using @MessageDeduplicationId@ , see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagededuplicationid-property Using the MessageDeduplicationId Property> in the /Amazon Simple Queue Service Developer Guide/ .-sMessageDeduplicationId :: Lens' SendMessageBatchRequestEntry (Maybe Text)-sMessageDeduplicationId = lens _sMessageDeduplicationId (\ s a -> s{_sMessageDeduplicationId = a})---- | This parameter applies only to FIFO (first-in-first-out) queues. The tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). To interleave multiple ordered streams within a single queue, use @MessageGroupId@ values (for example, session data for multiple users). In this scenario, multiple readers can process the queue, but the session data of each user is processed in a FIFO fashion.     * You must associate a non-empty @MessageGroupId@ with a message. If you don't provide a @MessageGroupId@ , the action fails.     * @ReceiveMessage@ might return messages with multiple @MessageGroupId@ values. For each @MessageGroupId@ , the messages are sorted by time sent. The caller can't specify a @MessageGroupId@ . The length of @MessageGroupId@ is 128 characters. Valid values are alphanumeric characters and punctuation @(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)@ . For best practices of using @MessageGroupId@ , see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagegroupid-property Using the MessageGroupId Property> in the /Amazon Simple Queue Service Developer Guide/ . /Important:/ @MessageGroupId@ is required for FIFO queues. You can't use it for Standard queues.-sMessageGroupId :: Lens' SendMessageBatchRequestEntry (Maybe Text)-sMessageGroupId = lens _sMessageGroupId (\ s a -> s{_sMessageGroupId = a})---- | An identifier for a message in this batch used to communicate the result.-sId :: Lens' SendMessageBatchRequestEntry Text-sId = lens _sId (\ s a -> s{_sId = a})---- | The body of the message.-sMessageBody :: Lens' SendMessageBatchRequestEntry Text-sMessageBody = lens _sMessageBody (\ s a -> s{_sMessageBody = a})--instance Hashable SendMessageBatchRequestEntry where--instance NFData SendMessageBatchRequestEntry where--instance ToQuery SendMessageBatchRequestEntry where-        toQuery SendMessageBatchRequestEntry'{..}-          = mconcat-              [toQuery-                 (toQueryMap "MessageAttribute" "Name" "Value" <$>-                    _sMessageAttributes),-               "DelaySeconds" =: _sDelaySeconds,-               "MessageDeduplicationId" =: _sMessageDeduplicationId,-               "MessageGroupId" =: _sMessageGroupId, "Id" =: _sId,-               "MessageBody" =: _sMessageBody]---- | Encloses a @MessageId@ for a successfully-enqueued message in a @'SendMessageBatch' .@------------ /See:/ 'sendMessageBatchResultEntry' smart constructor.-data SendMessageBatchResultEntry = SendMessageBatchResultEntry'-  { _smbreSequenceNumber         :: !(Maybe Text)-  , _smbreMD5OfMessageAttributes :: !(Maybe Text)-  , _smbreId                     :: !Text-  , _smbreMessageId              :: !Text-  , _smbreMD5OfMessageBody       :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SendMessageBatchResultEntry' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'smbreSequenceNumber' - This parameter applies only to FIFO (first-in-first-out) queues. The large, non-consecutive number that Amazon SQS assigns to each message. The length of @SequenceNumber@ is 128 bits. As @SequenceNumber@ continues to increase for a particular @MessageGroupId@ .------ * 'smbreMD5OfMessageAttributes' - An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <https://www.ietf.org/rfc/rfc1321.txt RFC1321> .------ * 'smbreId' - An identifier for the message in this batch.------ * 'smbreMessageId' - An identifier for the message.------ * 'smbreMD5OfMessageBody' - An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <https://www.ietf.org/rfc/rfc1321.txt RFC1321> .-sendMessageBatchResultEntry-    :: Text -- ^ 'smbreId'-    -> Text -- ^ 'smbreMessageId'-    -> Text -- ^ 'smbreMD5OfMessageBody'-    -> SendMessageBatchResultEntry-sendMessageBatchResultEntry pId_ pMessageId_ pMD5OfMessageBody_ =-  SendMessageBatchResultEntry'-    { _smbreSequenceNumber = Nothing-    , _smbreMD5OfMessageAttributes = Nothing-    , _smbreId = pId_-    , _smbreMessageId = pMessageId_-    , _smbreMD5OfMessageBody = pMD5OfMessageBody_-    }----- | This parameter applies only to FIFO (first-in-first-out) queues. The large, non-consecutive number that Amazon SQS assigns to each message. The length of @SequenceNumber@ is 128 bits. As @SequenceNumber@ continues to increase for a particular @MessageGroupId@ .-smbreSequenceNumber :: Lens' SendMessageBatchResultEntry (Maybe Text)-smbreSequenceNumber = lens _smbreSequenceNumber (\ s a -> s{_smbreSequenceNumber = a})---- | An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <https://www.ietf.org/rfc/rfc1321.txt RFC1321> .-smbreMD5OfMessageAttributes :: Lens' SendMessageBatchResultEntry (Maybe Text)-smbreMD5OfMessageAttributes = lens _smbreMD5OfMessageAttributes (\ s a -> s{_smbreMD5OfMessageAttributes = a})---- | An identifier for the message in this batch.-smbreId :: Lens' SendMessageBatchResultEntry Text-smbreId = lens _smbreId (\ s a -> s{_smbreId = a})---- | An identifier for the message.-smbreMessageId :: Lens' SendMessageBatchResultEntry Text-smbreMessageId = lens _smbreMessageId (\ s a -> s{_smbreMessageId = a})---- | An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <https://www.ietf.org/rfc/rfc1321.txt RFC1321> .-smbreMD5OfMessageBody :: Lens' SendMessageBatchResultEntry Text-smbreMD5OfMessageBody = lens _smbreMD5OfMessageBody (\ s a -> s{_smbreMD5OfMessageBody = a})--instance FromXML SendMessageBatchResultEntry where-        parseXML x-          = SendMessageBatchResultEntry' <$>-              (x .@? "SequenceNumber") <*>-                (x .@? "MD5OfMessageAttributes")-                <*> (x .@ "Id")-                <*> (x .@ "MessageId")-                <*> (x .@ "MD5OfMessageBody")--instance Hashable SendMessageBatchResultEntry where--instance NFData SendMessageBatchResultEntry where
− gen/Network/AWS/SQS/Types/Sum.hs
@@ -1,131 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE LambdaCase         #-}-{-# LANGUAGE OverloadedStrings  #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.Types.Sum--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.SQS.Types.Sum where--import Network.AWS.Prelude--data MessageAttribute-  = All-  | ApproximateFirstReceiveTimestamp-  | ApproximateReceiveCount-  | SenderId-  | SentTimestamp-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText MessageAttribute where-    parser = takeLowerText >>= \case-        "all" -> pure All-        "approximatefirstreceivetimestamp" -> pure ApproximateFirstReceiveTimestamp-        "approximatereceivecount" -> pure ApproximateReceiveCount-        "senderid" -> pure SenderId-        "senttimestamp" -> pure SentTimestamp-        e -> fromTextError $ "Failure parsing MessageAttribute from value: '" <> e-           <> "'. Accepted values: all, approximatefirstreceivetimestamp, approximatereceivecount, senderid, senttimestamp"--instance ToText MessageAttribute where-    toText = \case-        All -> "All"-        ApproximateFirstReceiveTimestamp -> "ApproximateFirstReceiveTimestamp"-        ApproximateReceiveCount -> "ApproximateReceiveCount"-        SenderId -> "SenderId"-        SentTimestamp -> "SentTimestamp"--instance Hashable     MessageAttribute-instance NFData       MessageAttribute-instance ToByteString MessageAttribute-instance ToQuery      MessageAttribute-instance ToHeader     MessageAttribute--instance FromXML MessageAttribute where-    parseXML = parseXMLText "MessageAttribute"--data QueueAttributeName-  = QANAll-  | QANApproximateNumberOfMessages-  | QANApproximateNumberOfMessagesDelayed-  | QANApproximateNumberOfMessagesNotVisible-  | QANContentBasedDeduplication-  | QANCreatedTimestamp-  | QANDelaySeconds-  | QANFifoQueue-  | QANKMSDataKeyReusePeriodSeconds-  | QANKMSMasterKeyId-  | QANLastModifiedTimestamp-  | QANMaximumMessageSize-  | QANMessageRetentionPeriod-  | QANPolicy-  | QANQueueARN-  | QANReceiveMessageWaitTimeSeconds-  | QANRedrivePolicy-  | QANVisibilityTimeout-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText QueueAttributeName where-    parser = takeLowerText >>= \case-        "all" -> pure QANAll-        "approximatenumberofmessages" -> pure QANApproximateNumberOfMessages-        "approximatenumberofmessagesdelayed" -> pure QANApproximateNumberOfMessagesDelayed-        "approximatenumberofmessagesnotvisible" -> pure QANApproximateNumberOfMessagesNotVisible-        "contentbaseddeduplication" -> pure QANContentBasedDeduplication-        "createdtimestamp" -> pure QANCreatedTimestamp-        "delayseconds" -> pure QANDelaySeconds-        "fifoqueue" -> pure QANFifoQueue-        "kmsdatakeyreuseperiodseconds" -> pure QANKMSDataKeyReusePeriodSeconds-        "kmsmasterkeyid" -> pure QANKMSMasterKeyId-        "lastmodifiedtimestamp" -> pure QANLastModifiedTimestamp-        "maximummessagesize" -> pure QANMaximumMessageSize-        "messageretentionperiod" -> pure QANMessageRetentionPeriod-        "policy" -> pure QANPolicy-        "queuearn" -> pure QANQueueARN-        "receivemessagewaittimeseconds" -> pure QANReceiveMessageWaitTimeSeconds-        "redrivepolicy" -> pure QANRedrivePolicy-        "visibilitytimeout" -> pure QANVisibilityTimeout-        e -> fromTextError $ "Failure parsing QueueAttributeName from value: '" <> e-           <> "'. Accepted values: all, approximatenumberofmessages, approximatenumberofmessagesdelayed, approximatenumberofmessagesnotvisible, contentbaseddeduplication, createdtimestamp, delayseconds, fifoqueue, kmsdatakeyreuseperiodseconds, kmsmasterkeyid, lastmodifiedtimestamp, maximummessagesize, messageretentionperiod, policy, queuearn, receivemessagewaittimeseconds, redrivepolicy, visibilitytimeout"--instance ToText QueueAttributeName where-    toText = \case-        QANAll -> "All"-        QANApproximateNumberOfMessages -> "ApproximateNumberOfMessages"-        QANApproximateNumberOfMessagesDelayed -> "ApproximateNumberOfMessagesDelayed"-        QANApproximateNumberOfMessagesNotVisible -> "ApproximateNumberOfMessagesNotVisible"-        QANContentBasedDeduplication -> "ContentBasedDeduplication"-        QANCreatedTimestamp -> "CreatedTimestamp"-        QANDelaySeconds -> "DelaySeconds"-        QANFifoQueue -> "FifoQueue"-        QANKMSDataKeyReusePeriodSeconds -> "KmsDataKeyReusePeriodSeconds"-        QANKMSMasterKeyId -> "KmsMasterKeyId"-        QANLastModifiedTimestamp -> "LastModifiedTimestamp"-        QANMaximumMessageSize -> "MaximumMessageSize"-        QANMessageRetentionPeriod -> "MessageRetentionPeriod"-        QANPolicy -> "Policy"-        QANQueueARN -> "QueueArn"-        QANReceiveMessageWaitTimeSeconds -> "ReceiveMessageWaitTimeSeconds"-        QANRedrivePolicy -> "RedrivePolicy"-        QANVisibilityTimeout -> "VisibilityTimeout"--instance Hashable     QueueAttributeName-instance NFData       QueueAttributeName-instance ToByteString QueueAttributeName-instance ToQuery      QueueAttributeName-instance ToHeader     QueueAttributeName--instance FromXML QueueAttributeName where-    parseXML = parseXMLText "QueueAttributeName"
− gen/Network/AWS/SQS/UntagQueue.hs
@@ -1,126 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.UntagQueue--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Remove cost allocation tags from the specified Amazon SQS queue. For an overview, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-tagging-queues.html Tagging Amazon SQS Queues> in the /Amazon Simple Queue Service Developer Guide/ .--------- When you use queue tags, keep the following guidelines in mind:------     * Adding more than 50 tags to a queue isn't recommended.------     * Tags don't have any semantic meaning. Amazon SQS interprets tags as character strings.------     * Tags are case-sensitive.------     * A new tag with a key identical to that of an existing tag overwrites the existing tag.------     * Tagging API actions are limited to 5 TPS per AWS account. If your application requires a higher throughput, file a <https://console.aws.amazon.com/support/home#/case/create?issueType=technical technical support request> .------------ For a full list of tag restrictions, see <http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html Limits Related to Queues> in the /Amazon Simple Queue Service Developer Guide/ .----module Network.AWS.SQS.UntagQueue-    (-    -- * Creating a Request-      untagQueue-    , UntagQueue-    -- * Request Lenses-    , uqQueueURL-    , uqTagKeys--    -- * Destructuring the Response-    , untagQueueResponse-    , UntagQueueResponse-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.SQS.Types-import Network.AWS.SQS.Types.Product---- | /See:/ 'untagQueue' smart constructor.-data UntagQueue = UntagQueue'-  { _uqQueueURL :: !Text-  , _uqTagKeys  :: ![Text]-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UntagQueue' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uqQueueURL' - The URL of the queue.------ * 'uqTagKeys' - The list of tags to be removed from the specified queue.-untagQueue-    :: Text -- ^ 'uqQueueURL'-    -> UntagQueue-untagQueue pQueueURL_ =-  UntagQueue' {_uqQueueURL = pQueueURL_, _uqTagKeys = mempty}----- | The URL of the queue.-uqQueueURL :: Lens' UntagQueue Text-uqQueueURL = lens _uqQueueURL (\ s a -> s{_uqQueueURL = a})---- | The list of tags to be removed from the specified queue.-uqTagKeys :: Lens' UntagQueue [Text]-uqTagKeys = lens _uqTagKeys (\ s a -> s{_uqTagKeys = a}) . _Coerce--instance AWSRequest UntagQueue where-        type Rs UntagQueue = UntagQueueResponse-        request = postQuery sqs-        response = receiveNull UntagQueueResponse'--instance Hashable UntagQueue where--instance NFData UntagQueue where--instance ToHeaders UntagQueue where-        toHeaders = const mempty--instance ToPath UntagQueue where-        toPath = const "/"--instance ToQuery UntagQueue where-        toQuery UntagQueue'{..}-          = mconcat-              ["Action" =: ("UntagQueue" :: ByteString),-               "Version" =: ("2012-11-05" :: ByteString),-               "QueueUrl" =: _uqQueueURL,-               toQueryList "TagKey" _uqTagKeys]---- | /See:/ 'untagQueueResponse' smart constructor.-data UntagQueueResponse =-  UntagQueueResponse'-  deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UntagQueueResponse' with the minimum fields required to make a request.----untagQueueResponse-    :: UntagQueueResponse-untagQueueResponse = UntagQueueResponse'---instance NFData UntagQueueResponse where
− gen/Network/AWS/SQS/Waiters.hs
@@ -1,21 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies      #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.SQS.Waiters--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.SQS.Waiters where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.SQS.Types-import Network.AWS.Waiter
test/Main.hs view
@@ -2,20 +2,22 @@  -- | -- Module      : Main--- Copyright   : (c) 2013-2018 Brendan Hay+-- Copyright   : (c) 2013-2023 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer  : Brendan Hay -- Stability   : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.SQS+import Test.Amazonka.SQS.Internal import Test.Tasty-import Test.AWS.SQS-import Test.AWS.SQS.Internal  main :: IO ()-main = defaultMain $ testGroup "SQS"-    [ testGroup "tests"    tests-    , testGroup "fixtures" fixtures-    ]+main =+  defaultMain $+    testGroup+      "SQS"+      [ testGroup "tests" tests,+        testGroup "fixtures" fixtures+      ]
− test/Test/AWS/Gen/SQS.hs
@@ -1,399 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans        #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Test.AWS.Gen.SQS--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Gen.SQS where--import Data.Proxy-import Network.AWS.SQS-import Test.AWS.Fixture-import Test.AWS.Prelude-import Test.AWS.SQS.Internal-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =---     [ testGroup "request"---         [ requestGetQueueURL $---             getQueueURL------         , requestPurgeQueue $---             purgeQueue------         , requestChangeMessageVisibilityBatch $---             changeMessageVisibilityBatch------         , requestSendMessage $---             sendMessage------         , requestRemovePermission $---             removePermission------         , requestGetQueueAttributes $---             getQueueAttributes------         , requestListQueues $---             listQueues------         , requestReceiveMessage $---             receiveMessage------         , requestDeleteQueue $---             deleteQueue------         , requestTagQueue $---             tagQueue------         , requestDeleteMessageBatch $---             deleteMessageBatch------         , requestSetQueueAttributes $---             setQueueAttributes------         , requestListDeadLetterSourceQueues $---             listDeadLetterSourceQueues------         , requestAddPermission $---             addPermission------         , requestDeleteMessage $---             deleteMessage------         , requestListQueueTags $---             listQueueTags------         , requestCreateQueue $---             createQueue------         , requestUntagQueue $---             untagQueue------         , requestSendMessageBatch $---             sendMessageBatch------         , requestChangeMessageVisibility $---             changeMessageVisibility------           ]----     , testGroup "response"---         [ responseGetQueueURL $---             getQueueURLResponse------         , responsePurgeQueue $---             purgeQueueResponse------         , responseChangeMessageVisibilityBatch $---             changeMessageVisibilityBatchResponse------         , responseSendMessage $---             sendMessageResponse------         , responseRemovePermission $---             removePermissionResponse------         , responseGetQueueAttributes $---             getQueueAttributesResponse------         , responseListQueues $---             listQueuesResponse------         , responseReceiveMessage $---             receiveMessageResponse------         , responseDeleteQueue $---             deleteQueueResponse------         , responseTagQueue $---             tagQueueResponse------         , responseDeleteMessageBatch $---             deleteMessageBatchResponse------         , responseSetQueueAttributes $---             setQueueAttributesResponse------         , responseListDeadLetterSourceQueues $---             listDeadLetterSourceQueuesResponse------         , responseAddPermission $---             addPermissionResponse------         , responseDeleteMessage $---             deleteMessageResponse------         , responseListQueueTags $---             listQueueTagsResponse------         , responseCreateQueue $---             createQueueResponse------         , responseUntagQueue $---             untagQueueResponse------         , responseSendMessageBatch $---             sendMessageBatchResponse------         , responseChangeMessageVisibility $---             changeMessageVisibilityResponse------           ]---     ]---- Requests--requestGetQueueURL :: GetQueueURL -> TestTree-requestGetQueueURL = req-    "GetQueueURL"-    "fixture/GetQueueURL.yaml"--requestPurgeQueue :: PurgeQueue -> TestTree-requestPurgeQueue = req-    "PurgeQueue"-    "fixture/PurgeQueue.yaml"--requestChangeMessageVisibilityBatch :: ChangeMessageVisibilityBatch -> TestTree-requestChangeMessageVisibilityBatch = req-    "ChangeMessageVisibilityBatch"-    "fixture/ChangeMessageVisibilityBatch.yaml"--requestSendMessage :: SendMessage -> TestTree-requestSendMessage = req-    "SendMessage"-    "fixture/SendMessage.yaml"--requestRemovePermission :: RemovePermission -> TestTree-requestRemovePermission = req-    "RemovePermission"-    "fixture/RemovePermission.yaml"--requestGetQueueAttributes :: GetQueueAttributes -> TestTree-requestGetQueueAttributes = req-    "GetQueueAttributes"-    "fixture/GetQueueAttributes.yaml"--requestListQueues :: ListQueues -> TestTree-requestListQueues = req-    "ListQueues"-    "fixture/ListQueues.yaml"--requestReceiveMessage :: ReceiveMessage -> TestTree-requestReceiveMessage = req-    "ReceiveMessage"-    "fixture/ReceiveMessage.yaml"--requestDeleteQueue :: DeleteQueue -> TestTree-requestDeleteQueue = req-    "DeleteQueue"-    "fixture/DeleteQueue.yaml"--requestTagQueue :: TagQueue -> TestTree-requestTagQueue = req-    "TagQueue"-    "fixture/TagQueue.yaml"--requestDeleteMessageBatch :: DeleteMessageBatch -> TestTree-requestDeleteMessageBatch = req-    "DeleteMessageBatch"-    "fixture/DeleteMessageBatch.yaml"--requestSetQueueAttributes :: SetQueueAttributes -> TestTree-requestSetQueueAttributes = req-    "SetQueueAttributes"-    "fixture/SetQueueAttributes.yaml"--requestListDeadLetterSourceQueues :: ListDeadLetterSourceQueues -> TestTree-requestListDeadLetterSourceQueues = req-    "ListDeadLetterSourceQueues"-    "fixture/ListDeadLetterSourceQueues.yaml"--requestAddPermission :: AddPermission -> TestTree-requestAddPermission = req-    "AddPermission"-    "fixture/AddPermission.yaml"--requestDeleteMessage :: DeleteMessage -> TestTree-requestDeleteMessage = req-    "DeleteMessage"-    "fixture/DeleteMessage.yaml"--requestListQueueTags :: ListQueueTags -> TestTree-requestListQueueTags = req-    "ListQueueTags"-    "fixture/ListQueueTags.yaml"--requestCreateQueue :: CreateQueue -> TestTree-requestCreateQueue = req-    "CreateQueue"-    "fixture/CreateQueue.yaml"--requestUntagQueue :: UntagQueue -> TestTree-requestUntagQueue = req-    "UntagQueue"-    "fixture/UntagQueue.yaml"--requestSendMessageBatch :: SendMessageBatch -> TestTree-requestSendMessageBatch = req-    "SendMessageBatch"-    "fixture/SendMessageBatch.yaml"--requestChangeMessageVisibility :: ChangeMessageVisibility -> TestTree-requestChangeMessageVisibility = req-    "ChangeMessageVisibility"-    "fixture/ChangeMessageVisibility.yaml"---- Responses--responseGetQueueURL :: GetQueueURLResponse -> TestTree-responseGetQueueURL = res-    "GetQueueURLResponse"-    "fixture/GetQueueURLResponse.proto"-    sqs-    (Proxy :: Proxy GetQueueURL)--responsePurgeQueue :: PurgeQueueResponse -> TestTree-responsePurgeQueue = res-    "PurgeQueueResponse"-    "fixture/PurgeQueueResponse.proto"-    sqs-    (Proxy :: Proxy PurgeQueue)--responseChangeMessageVisibilityBatch :: ChangeMessageVisibilityBatchResponse -> TestTree-responseChangeMessageVisibilityBatch = res-    "ChangeMessageVisibilityBatchResponse"-    "fixture/ChangeMessageVisibilityBatchResponse.proto"-    sqs-    (Proxy :: Proxy ChangeMessageVisibilityBatch)--responseSendMessage :: SendMessageResponse -> TestTree-responseSendMessage = res-    "SendMessageResponse"-    "fixture/SendMessageResponse.proto"-    sqs-    (Proxy :: Proxy SendMessage)--responseRemovePermission :: RemovePermissionResponse -> TestTree-responseRemovePermission = res-    "RemovePermissionResponse"-    "fixture/RemovePermissionResponse.proto"-    sqs-    (Proxy :: Proxy RemovePermission)--responseGetQueueAttributes :: GetQueueAttributesResponse -> TestTree-responseGetQueueAttributes = res-    "GetQueueAttributesResponse"-    "fixture/GetQueueAttributesResponse.proto"-    sqs-    (Proxy :: Proxy GetQueueAttributes)--responseListQueues :: ListQueuesResponse -> TestTree-responseListQueues = res-    "ListQueuesResponse"-    "fixture/ListQueuesResponse.proto"-    sqs-    (Proxy :: Proxy ListQueues)--responseReceiveMessage :: ReceiveMessageResponse -> TestTree-responseReceiveMessage = res-    "ReceiveMessageResponse"-    "fixture/ReceiveMessageResponse.proto"-    sqs-    (Proxy :: Proxy ReceiveMessage)--responseDeleteQueue :: DeleteQueueResponse -> TestTree-responseDeleteQueue = res-    "DeleteQueueResponse"-    "fixture/DeleteQueueResponse.proto"-    sqs-    (Proxy :: Proxy DeleteQueue)--responseTagQueue :: TagQueueResponse -> TestTree-responseTagQueue = res-    "TagQueueResponse"-    "fixture/TagQueueResponse.proto"-    sqs-    (Proxy :: Proxy TagQueue)--responseDeleteMessageBatch :: DeleteMessageBatchResponse -> TestTree-responseDeleteMessageBatch = res-    "DeleteMessageBatchResponse"-    "fixture/DeleteMessageBatchResponse.proto"-    sqs-    (Proxy :: Proxy DeleteMessageBatch)--responseSetQueueAttributes :: SetQueueAttributesResponse -> TestTree-responseSetQueueAttributes = res-    "SetQueueAttributesResponse"-    "fixture/SetQueueAttributesResponse.proto"-    sqs-    (Proxy :: Proxy SetQueueAttributes)--responseListDeadLetterSourceQueues :: ListDeadLetterSourceQueuesResponse -> TestTree-responseListDeadLetterSourceQueues = res-    "ListDeadLetterSourceQueuesResponse"-    "fixture/ListDeadLetterSourceQueuesResponse.proto"-    sqs-    (Proxy :: Proxy ListDeadLetterSourceQueues)--responseAddPermission :: AddPermissionResponse -> TestTree-responseAddPermission = res-    "AddPermissionResponse"-    "fixture/AddPermissionResponse.proto"-    sqs-    (Proxy :: Proxy AddPermission)--responseDeleteMessage :: DeleteMessageResponse -> TestTree-responseDeleteMessage = res-    "DeleteMessageResponse"-    "fixture/DeleteMessageResponse.proto"-    sqs-    (Proxy :: Proxy DeleteMessage)--responseListQueueTags :: ListQueueTagsResponse -> TestTree-responseListQueueTags = res-    "ListQueueTagsResponse"-    "fixture/ListQueueTagsResponse.proto"-    sqs-    (Proxy :: Proxy ListQueueTags)--responseCreateQueue :: CreateQueueResponse -> TestTree-responseCreateQueue = res-    "CreateQueueResponse"-    "fixture/CreateQueueResponse.proto"-    sqs-    (Proxy :: Proxy CreateQueue)--responseUntagQueue :: UntagQueueResponse -> TestTree-responseUntagQueue = res-    "UntagQueueResponse"-    "fixture/UntagQueueResponse.proto"-    sqs-    (Proxy :: Proxy UntagQueue)--responseSendMessageBatch :: SendMessageBatchResponse -> TestTree-responseSendMessageBatch = res-    "SendMessageBatchResponse"-    "fixture/SendMessageBatchResponse.proto"-    sqs-    (Proxy :: Proxy SendMessageBatch)--responseChangeMessageVisibility :: ChangeMessageVisibilityResponse -> TestTree-responseChangeMessageVisibility = res-    "ChangeMessageVisibilityResponse"-    "fixture/ChangeMessageVisibilityResponse.proto"-    sqs-    (Proxy :: Proxy ChangeMessageVisibility)
− test/Test/AWS/SQS.hs
@@ -1,86 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- |--- Module      : Test.AWS.SQS--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : experimental--- Portability : non-portable (GHC extensions)----module Test.AWS.SQS-    ( tests-    , fixtures-    ) where--import qualified Data.HashMap.Strict as Map-import           Data.Monoid-import           Data.Text           (Text)-import           Network.AWS.Lens    ((&), (.~), (?~))-import           Network.AWS.SQS-import           Test.AWS.Gen.SQS-import           Test.Tasty--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures =-    [ testGroup "request" $-        [ requestSendMessage $-            sendMessage url "This+is+a+test+message"-                & smMessageAttributes .~ Map.fromList-                    [ ("test_attribute_name_1", messageAttributeValue "String"-                        & mavStringValue ?~ "test_attribute_value_1")-                    , ("test_attribute_name_2", messageAttributeValue "String"-                        & mavStringValue ?~ "test_attribute_value_2")-                    ]--        , requestChangeMessageVisibility $-            changeMessageVisibility url handle 60--        , requestChangeMessageVisibilityBatch $-            changeMessageVisibilityBatch url-               & cmvbEntries .~-                   [ changeMessageVisibilityBatchRequestEntry-                       "change_visibility_msg_2" handle-                           & cVisibilityTimeout ?~ 45-                   , changeMessageVisibilityBatchRequestEntry-                       "change_visibility_msg_3" handle-                           & cVisibilityTimeout ?~ 45-                   ]-        ]--    , testGroup "response"-        [ responseGetQueueURL $ getQueueURLResponse 200 url-        , responsePurgeQueue  $ purgeQueueResponse--        , responseSendMessage $-            sendMessageResponse 200-                & smrsMessageId              ?~ "5fea7756-0ea4-451a-a703-a558b933e274"-                & smrsMD5OfMessageBody       ?~ "fafb00f5732ab283681e124bf8747ed1"-                & smrsMD5OfMessageAttributes ?~ "3ae8f24a165a8cedc005670c81a27295"--        , responseReceiveMessage $-            receiveMessageResponse 200 & rmrsMessages .~-                [ message-                    & mMessageId         ?~ "5fea7756-0ea4-451a-a703-a558b933e274"-                    & mReceiptHandle     ?~ "MbZj6wDWli+JvwwJaBV+3dcjk2YW2vA3+STFFljTM8tJJg6HRG6PYSasuWXPJB+CwLj1FjgXUv1uSj1gUPAWV66FU/WeR4mq2OKpEGYWbnLmpRCJVAyeMjeU5ZBdtcQ+QEauMZc8ZRv37sIW2iJKq3M9MFx1YvV11A2x/KSbkJ0="-                    & mMD5OfBody         ?~ "fafb00f5732ab283681e124bf8747ed1"-                    & mBody              ?~ "This is a test message"-                    & mMessageAttributes .~ mempty-                    & mAttributes        .~ Map.fromList-                        [ (SenderId,                         "195004372649")-                        , (SentTimestamp,                    "1238099229000")-                        , (ApproximateReceiveCount,          "5")-                        , (ApproximateFirstReceiveTimestamp, "1250700979248")-                        ]-                ]-        ]-    ]--url :: Text-url = "http://sqs.us-east-1.amazonaws.com/123456789012/testQueue/"--handle :: Text-handle = "MbZli+JvwwJaBV+3dcjk2W2vA3+STFFljTJg6HYSasuWXPJB/WeR4mq21A2x/KSbkJ0="
− test/Test/AWS/SQS/Internal.hs
@@ -1,16 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Module      : Test.AWS.SQS.Internal--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : This Source Code Form is subject to the terms of---               the Mozilla Public License, v. 2.0.---               A copy of the MPL can be found in the LICENSE file or---               you can obtain it at http://mozilla.org/MPL/2.0/.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : experimental--- Portability : non-portable (GHC extensions)--module Test.AWS.SQS.Internal where--import Test.AWS.Prelude
+ test/Test/Amazonka/Gen/SQS.hs view
@@ -0,0 +1,438 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Test.Amazonka.Gen.SQS+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.SQS where++import Amazonka.SQS+import qualified Data.Proxy as Proxy+import Test.Amazonka.Fixture+import Test.Amazonka.Prelude+import Test.Amazonka.SQS.Internal+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+--     [ testGroup "request"+--         [ requestAddPermission $+--             newAddPermission+--+--         , requestChangeMessageVisibility $+--             newChangeMessageVisibility+--+--         , requestChangeMessageVisibilityBatch $+--             newChangeMessageVisibilityBatch+--+--         , requestCreateQueue $+--             newCreateQueue+--+--         , requestDeleteMessage $+--             newDeleteMessage+--+--         , requestDeleteMessageBatch $+--             newDeleteMessageBatch+--+--         , requestDeleteQueue $+--             newDeleteQueue+--+--         , requestGetQueueAttributes $+--             newGetQueueAttributes+--+--         , requestGetQueueUrl $+--             newGetQueueUrl+--+--         , requestListDeadLetterSourceQueues $+--             newListDeadLetterSourceQueues+--+--         , requestListQueueTags $+--             newListQueueTags+--+--         , requestListQueues $+--             newListQueues+--+--         , requestPurgeQueue $+--             newPurgeQueue+--+--         , requestReceiveMessage $+--             newReceiveMessage+--+--         , requestRemovePermission $+--             newRemovePermission+--+--         , requestSendMessage $+--             newSendMessage+--+--         , requestSendMessageBatch $+--             newSendMessageBatch+--+--         , requestSetQueueAttributes $+--             newSetQueueAttributes+--+--         , requestTagQueue $+--             newTagQueue+--+--         , requestUntagQueue $+--             newUntagQueue+--+--           ]++--     , testGroup "response"+--         [ responseAddPermission $+--             newAddPermissionResponse+--+--         , responseChangeMessageVisibility $+--             newChangeMessageVisibilityResponse+--+--         , responseChangeMessageVisibilityBatch $+--             newChangeMessageVisibilityBatchResponse+--+--         , responseCreateQueue $+--             newCreateQueueResponse+--+--         , responseDeleteMessage $+--             newDeleteMessageResponse+--+--         , responseDeleteMessageBatch $+--             newDeleteMessageBatchResponse+--+--         , responseDeleteQueue $+--             newDeleteQueueResponse+--+--         , responseGetQueueAttributes $+--             newGetQueueAttributesResponse+--+--         , responseGetQueueUrl $+--             newGetQueueUrlResponse+--+--         , responseListDeadLetterSourceQueues $+--             newListDeadLetterSourceQueuesResponse+--+--         , responseListQueueTags $+--             newListQueueTagsResponse+--+--         , responseListQueues $+--             newListQueuesResponse+--+--         , responsePurgeQueue $+--             newPurgeQueueResponse+--+--         , responseReceiveMessage $+--             newReceiveMessageResponse+--+--         , responseRemovePermission $+--             newRemovePermissionResponse+--+--         , responseSendMessage $+--             newSendMessageResponse+--+--         , responseSendMessageBatch $+--             newSendMessageBatchResponse+--+--         , responseSetQueueAttributes $+--             newSetQueueAttributesResponse+--+--         , responseTagQueue $+--             newTagQueueResponse+--+--         , responseUntagQueue $+--             newUntagQueueResponse+--+--           ]+--     ]++-- Requests++requestAddPermission :: AddPermission -> TestTree+requestAddPermission =+  req+    "AddPermission"+    "fixture/AddPermission.yaml"++requestChangeMessageVisibility :: ChangeMessageVisibility -> TestTree+requestChangeMessageVisibility =+  req+    "ChangeMessageVisibility"+    "fixture/ChangeMessageVisibility.yaml"++requestChangeMessageVisibilityBatch :: ChangeMessageVisibilityBatch -> TestTree+requestChangeMessageVisibilityBatch =+  req+    "ChangeMessageVisibilityBatch"+    "fixture/ChangeMessageVisibilityBatch.yaml"++requestCreateQueue :: CreateQueue -> TestTree+requestCreateQueue =+  req+    "CreateQueue"+    "fixture/CreateQueue.yaml"++requestDeleteMessage :: DeleteMessage -> TestTree+requestDeleteMessage =+  req+    "DeleteMessage"+    "fixture/DeleteMessage.yaml"++requestDeleteMessageBatch :: DeleteMessageBatch -> TestTree+requestDeleteMessageBatch =+  req+    "DeleteMessageBatch"+    "fixture/DeleteMessageBatch.yaml"++requestDeleteQueue :: DeleteQueue -> TestTree+requestDeleteQueue =+  req+    "DeleteQueue"+    "fixture/DeleteQueue.yaml"++requestGetQueueAttributes :: GetQueueAttributes -> TestTree+requestGetQueueAttributes =+  req+    "GetQueueAttributes"+    "fixture/GetQueueAttributes.yaml"++requestGetQueueUrl :: GetQueueUrl -> TestTree+requestGetQueueUrl =+  req+    "GetQueueUrl"+    "fixture/GetQueueUrl.yaml"++requestListDeadLetterSourceQueues :: ListDeadLetterSourceQueues -> TestTree+requestListDeadLetterSourceQueues =+  req+    "ListDeadLetterSourceQueues"+    "fixture/ListDeadLetterSourceQueues.yaml"++requestListQueueTags :: ListQueueTags -> TestTree+requestListQueueTags =+  req+    "ListQueueTags"+    "fixture/ListQueueTags.yaml"++requestListQueues :: ListQueues -> TestTree+requestListQueues =+  req+    "ListQueues"+    "fixture/ListQueues.yaml"++requestPurgeQueue :: PurgeQueue -> TestTree+requestPurgeQueue =+  req+    "PurgeQueue"+    "fixture/PurgeQueue.yaml"++requestReceiveMessage :: ReceiveMessage -> TestTree+requestReceiveMessage =+  req+    "ReceiveMessage"+    "fixture/ReceiveMessage.yaml"++requestRemovePermission :: RemovePermission -> TestTree+requestRemovePermission =+  req+    "RemovePermission"+    "fixture/RemovePermission.yaml"++requestSendMessage :: SendMessage -> TestTree+requestSendMessage =+  req+    "SendMessage"+    "fixture/SendMessage.yaml"++requestSendMessageBatch :: SendMessageBatch -> TestTree+requestSendMessageBatch =+  req+    "SendMessageBatch"+    "fixture/SendMessageBatch.yaml"++requestSetQueueAttributes :: SetQueueAttributes -> TestTree+requestSetQueueAttributes =+  req+    "SetQueueAttributes"+    "fixture/SetQueueAttributes.yaml"++requestTagQueue :: TagQueue -> TestTree+requestTagQueue =+  req+    "TagQueue"+    "fixture/TagQueue.yaml"++requestUntagQueue :: UntagQueue -> TestTree+requestUntagQueue =+  req+    "UntagQueue"+    "fixture/UntagQueue.yaml"++-- Responses++responseAddPermission :: AddPermissionResponse -> TestTree+responseAddPermission =+  res+    "AddPermissionResponse"+    "fixture/AddPermissionResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy AddPermission)++responseChangeMessageVisibility :: ChangeMessageVisibilityResponse -> TestTree+responseChangeMessageVisibility =+  res+    "ChangeMessageVisibilityResponse"+    "fixture/ChangeMessageVisibilityResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ChangeMessageVisibility)++responseChangeMessageVisibilityBatch :: ChangeMessageVisibilityBatchResponse -> TestTree+responseChangeMessageVisibilityBatch =+  res+    "ChangeMessageVisibilityBatchResponse"+    "fixture/ChangeMessageVisibilityBatchResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ChangeMessageVisibilityBatch)++responseCreateQueue :: CreateQueueResponse -> TestTree+responseCreateQueue =+  res+    "CreateQueueResponse"+    "fixture/CreateQueueResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy CreateQueue)++responseDeleteMessage :: DeleteMessageResponse -> TestTree+responseDeleteMessage =+  res+    "DeleteMessageResponse"+    "fixture/DeleteMessageResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteMessage)++responseDeleteMessageBatch :: DeleteMessageBatchResponse -> TestTree+responseDeleteMessageBatch =+  res+    "DeleteMessageBatchResponse"+    "fixture/DeleteMessageBatchResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteMessageBatch)++responseDeleteQueue :: DeleteQueueResponse -> TestTree+responseDeleteQueue =+  res+    "DeleteQueueResponse"+    "fixture/DeleteQueueResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteQueue)++responseGetQueueAttributes :: GetQueueAttributesResponse -> TestTree+responseGetQueueAttributes =+  res+    "GetQueueAttributesResponse"+    "fixture/GetQueueAttributesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy GetQueueAttributes)++responseGetQueueUrl :: GetQueueUrlResponse -> TestTree+responseGetQueueUrl =+  res+    "GetQueueUrlResponse"+    "fixture/GetQueueUrlResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy GetQueueUrl)++responseListDeadLetterSourceQueues :: ListDeadLetterSourceQueuesResponse -> TestTree+responseListDeadLetterSourceQueues =+  res+    "ListDeadLetterSourceQueuesResponse"+    "fixture/ListDeadLetterSourceQueuesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListDeadLetterSourceQueues)++responseListQueueTags :: ListQueueTagsResponse -> TestTree+responseListQueueTags =+  res+    "ListQueueTagsResponse"+    "fixture/ListQueueTagsResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListQueueTags)++responseListQueues :: ListQueuesResponse -> TestTree+responseListQueues =+  res+    "ListQueuesResponse"+    "fixture/ListQueuesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListQueues)++responsePurgeQueue :: PurgeQueueResponse -> TestTree+responsePurgeQueue =+  res+    "PurgeQueueResponse"+    "fixture/PurgeQueueResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy PurgeQueue)++responseReceiveMessage :: ReceiveMessageResponse -> TestTree+responseReceiveMessage =+  res+    "ReceiveMessageResponse"+    "fixture/ReceiveMessageResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ReceiveMessage)++responseRemovePermission :: RemovePermissionResponse -> TestTree+responseRemovePermission =+  res+    "RemovePermissionResponse"+    "fixture/RemovePermissionResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy RemovePermission)++responseSendMessage :: SendMessageResponse -> TestTree+responseSendMessage =+  res+    "SendMessageResponse"+    "fixture/SendMessageResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy SendMessage)++responseSendMessageBatch :: SendMessageBatchResponse -> TestTree+responseSendMessageBatch =+  res+    "SendMessageBatchResponse"+    "fixture/SendMessageBatchResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy SendMessageBatch)++responseSetQueueAttributes :: SetQueueAttributesResponse -> TestTree+responseSetQueueAttributes =+  res+    "SetQueueAttributesResponse"+    "fixture/SetQueueAttributesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy SetQueueAttributes)++responseTagQueue :: TagQueueResponse -> TestTree+responseTagQueue =+  res+    "TagQueueResponse"+    "fixture/TagQueueResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy TagQueue)++responseUntagQueue :: UntagQueueResponse -> TestTree+responseUntagQueue =+  res+    "UntagQueueResponse"+    "fixture/UntagQueueResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy UntagQueue)
+ test/Test/Amazonka/SQS.hs view
@@ -0,0 +1,20 @@+-- |+-- Module      : Test.Amazonka.SQS+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.SQS+  ( tests,+    fixtures,+  )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/SQS/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module      : Test.Amazonka.SQS.Internal+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.SQS.Internal where