libZSservicesZSamazonka-sqsZSamazonka-sqs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SQS

Description

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 Identity and access management in the Amazon SQS Developer Guide.

You can use 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

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2012-11-05 of the Amazon Simple Queue Service SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by SQS.

InvalidBatchEntryId

_InvalidBatchEntryId :: AsError a => Getting (First ServiceError) a ServiceError Source #

The Id of a batch entry in a batch request doesn't abide by the specification.

TooManyEntriesInBatchRequest

_TooManyEntriesInBatchRequest :: AsError a => Getting (First ServiceError) a ServiceError Source #

The batch request contains more entries than permissible.

QueueDeletedRecently

_QueueDeletedRecently :: AsError a => Getting (First ServiceError) a ServiceError Source #

You must wait 60 seconds after deleting a queue before you can create another queue with the same name.

QueueDoesNotExist

_QueueDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified queue doesn't exist.

InvalidAttributeName

_InvalidAttributeName :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified attribute doesn't exist.

UnsupportedOperation

_UnsupportedOperation :: AsError a => Getting (First ServiceError) a ServiceError Source #

Error code 400. Unsupported operation.

InvalidMessageContents

_InvalidMessageContents :: AsError a => Getting (First ServiceError) a ServiceError Source #

The message contains characters outside the allowed set.

BatchRequestTooLong

_BatchRequestTooLong :: AsError a => Getting (First ServiceError) a ServiceError Source #

The length of all the messages put together is more than the limit.

OverLimit

_OverLimit :: AsError a => Getting (First ServiceError) a ServiceError Source #

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.

QueueNameExists

_QueueNameExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

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.

PurgeQueueInProgress

_PurgeQueueInProgress :: AsError a => Getting (First ServiceError) a ServiceError Source #

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).

InvalidIdFormat

_InvalidIdFormat :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified receipt handle isn't valid for the current version.

ReceiptHandleIsInvalid

_ReceiptHandleIsInvalid :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified receipt handle isn't valid.

EmptyBatchRequest

_EmptyBatchRequest :: AsError a => Getting (First ServiceError) a ServiceError Source #

The batch request doesn't contain any entries.

BatchEntryIdsNotDistinct

_BatchEntryIdsNotDistinct :: AsError a => Getting (First ServiceError) a ServiceError Source #

Two or more batch entries in the request have the same Id.

MessageNotInflight

_MessageNotInflight :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified message isn't in flight.

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.

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.

GetQueueUrl

data GetQueueUrl Source #

See: newGetQueueUrl smart constructor.

Constructors

GetQueueUrl' (Maybe Text) Text 

Instances

Instances details
Eq GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Read GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Show GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Generic GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Associated Types

type Rep GetQueueUrl :: Type -> Type #

NFData GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Methods

rnf :: GetQueueUrl -> () #

Hashable GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

AWSRequest GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Associated Types

type AWSResponse GetQueueUrl #

ToHeaders GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Methods

toHeaders :: GetQueueUrl -> [Header] #

ToPath GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

ToQuery GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

type Rep GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

type Rep GetQueueUrl = D1 ('MetaData "GetQueueUrl" "Amazonka.SQS.GetQueueUrl" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "GetQueueUrl'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueOwnerAWSAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queueName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

newGetQueueUrl Source #

Create a value of GetQueueUrl with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueOwnerAWSAccountId:GetQueueUrl', getQueueUrl_queueOwnerAWSAccountId - The account ID of the account that created the queue.

$sel:queueName:GetQueueUrl', 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.

data GetQueueUrlResponse Source #

For more information, see Interpreting Responses in the Amazon SQS Developer Guide.

See: newGetQueueUrlResponse smart constructor.

Instances

Instances details
Eq GetQueueUrlResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Read GetQueueUrlResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Show GetQueueUrlResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Generic GetQueueUrlResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Associated Types

type Rep GetQueueUrlResponse :: Type -> Type #

NFData GetQueueUrlResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Methods

rnf :: GetQueueUrlResponse -> () #

type Rep GetQueueUrlResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

type Rep GetQueueUrlResponse = D1 ('MetaData "GetQueueUrlResponse" "Amazonka.SQS.GetQueueUrl" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "GetQueueUrlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetQueueUrlResponse Source #

Create a value of GetQueueUrlResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:GetQueueUrlResponse', getQueueUrlResponse_httpStatus - The response's http status code.

$sel:queueUrl:GetQueueUrlResponse', getQueueUrlResponse_queueUrl - The URL of the queue.

PurgeQueue

data PurgeQueue Source #

See: newPurgeQueue smart constructor.

Constructors

PurgeQueue' Text 

Instances

Instances details
Eq PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Read PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Show PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Generic PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Associated Types

type Rep PurgeQueue :: Type -> Type #

NFData PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Methods

rnf :: PurgeQueue -> () #

Hashable PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

AWSRequest PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Associated Types

type AWSResponse PurgeQueue #

ToHeaders PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Methods

toHeaders :: PurgeQueue -> [Header] #

ToPath PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

ToQuery PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

type Rep PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

type Rep PurgeQueue = D1 ('MetaData "PurgeQueue" "Amazonka.SQS.PurgeQueue" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "PurgeQueue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

newPurgeQueue Source #

Create a value of PurgeQueue with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrl:PurgeQueue', purgeQueue_queueUrl - The URL of the queue from which the PurgeQueue action deletes messages.

Queue URLs and names are case-sensitive.

data PurgeQueueResponse Source #

See: newPurgeQueueResponse smart constructor.

Constructors

PurgeQueueResponse' 

Instances

Instances details
Eq PurgeQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Read PurgeQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Show PurgeQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Generic PurgeQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Associated Types

type Rep PurgeQueueResponse :: Type -> Type #

NFData PurgeQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Methods

rnf :: PurgeQueueResponse -> () #

type Rep PurgeQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

type Rep PurgeQueueResponse = D1 ('MetaData "PurgeQueueResponse" "Amazonka.SQS.PurgeQueue" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "PurgeQueueResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newPurgeQueueResponse :: PurgeQueueResponse Source #

Create a value of PurgeQueueResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

ChangeMessageVisibilityBatch

data ChangeMessageVisibilityBatch Source #

See: newChangeMessageVisibilityBatch smart constructor.

Instances

Instances details
Eq ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

Read ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

Show ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

Generic ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

Associated Types

type Rep ChangeMessageVisibilityBatch :: Type -> Type #

NFData ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

Hashable ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

AWSRequest ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

ToHeaders ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

ToPath ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

ToQuery ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

type Rep ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

type Rep ChangeMessageVisibilityBatch = D1 ('MetaData "ChangeMessageVisibilityBatch" "Amazonka.SQS.ChangeMessageVisibilityBatch" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "ChangeMessageVisibilityBatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ChangeMessageVisibilityBatchRequestEntry])))
type AWSResponse ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

newChangeMessageVisibilityBatch Source #

Create a value of ChangeMessageVisibilityBatch with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrl:ChangeMessageVisibilityBatch', changeMessageVisibilityBatch_queueUrl - The URL of the Amazon SQS queue whose messages' visibility is changed.

Queue URLs and names are case-sensitive.

$sel:entries:ChangeMessageVisibilityBatch', changeMessageVisibilityBatch_entries - A list of receipt handles of the messages for which the visibility timeout must be changed.

data ChangeMessageVisibilityBatchResponse Source #

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.

Instances

Instances details
Eq ChangeMessageVisibilityBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

Read ChangeMessageVisibilityBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

Show ChangeMessageVisibilityBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

Generic ChangeMessageVisibilityBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

NFData ChangeMessageVisibilityBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

type Rep ChangeMessageVisibilityBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

type Rep ChangeMessageVisibilityBatchResponse = D1 ('MetaData "ChangeMessageVisibilityBatchResponse" "Amazonka.SQS.ChangeMessageVisibilityBatch" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "ChangeMessageVisibilityBatchResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "successful") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ChangeMessageVisibilityBatchResultEntry]) :*: S1 ('MetaSel ('Just "failed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchResultErrorEntry]))))

newChangeMessageVisibilityBatchResponse Source #

Create a value of ChangeMessageVisibilityBatchResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:ChangeMessageVisibilityBatchResponse', changeMessageVisibilityBatchResponse_httpStatus - The response's http status code.

$sel:successful:ChangeMessageVisibilityBatchResponse', changeMessageVisibilityBatchResponse_successful - A list of ChangeMessageVisibilityBatchResultEntry items.

$sel:failed:ChangeMessageVisibilityBatchResponse', changeMessageVisibilityBatchResponse_failed - A list of BatchResultErrorEntry items.

SendMessage

data SendMessage Source #

See: newSendMessage smart constructor.

Instances

Instances details
Eq SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Read SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Show SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Generic SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Associated Types

type Rep SendMessage :: Type -> Type #

NFData SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Methods

rnf :: SendMessage -> () #

Hashable SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

AWSRequest SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Associated Types

type AWSResponse SendMessage #

ToHeaders SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Methods

toHeaders :: SendMessage -> [Header] #

ToPath SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

ToQuery SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

type Rep SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

type AWSResponse SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

newSendMessage Source #

Create a value of SendMessage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:messageAttributes:SendMessage', sendMessage_messageAttributes - Each message attribute consists of a Name, Type, and Value. For more information, see Amazon SQS message attributes in the Amazon SQS Developer Guide.

$sel:delaySeconds:SendMessage', 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.

$sel:messageSystemAttributes:SendMessage', 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.

$sel:messageDeduplicationId:SendMessage', 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 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 Using the MessageDeduplicationId Property in the Amazon SQS Developer Guide.

$sel:messageGroupId:SendMessage', 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 Using the MessageGroupId Property in the Amazon SQS Developer Guide.

MessageGroupId is required for FIFO queues. You can't use it for Standard queues.

$sel:queueUrl:SendMessage', sendMessage_queueUrl - The URL of the Amazon SQS queue to which a message is sent.

Queue URLs and names are case-sensitive.

$sel:messageBody:SendMessage', 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 W3C specification for characters.

data SendMessageResponse Source #

The MD5OfMessageBody and MessageId elements.

See: newSendMessageResponse smart constructor.

Instances

Instances details
Eq SendMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Read SendMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Show SendMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Generic SendMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Associated Types

type Rep SendMessageResponse :: Type -> Type #

NFData SendMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Methods

rnf :: SendMessageResponse -> () #

type Rep SendMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

type Rep SendMessageResponse = D1 ('MetaData "SendMessageResponse" "Amazonka.SQS.SendMessage" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "SendMessageResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mD5OfMessageSystemAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "mD5OfMessageBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mD5OfMessageAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newSendMessageResponse Source #

Create a value of SendMessageResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sequenceNumber:SendMessageResponse', 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.

$sel:mD5OfMessageSystemAttributes:SendMessageResponse', 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.

$sel:messageId:SendMessageResponse', sendMessageResponse_messageId - An attribute containing the MessageId of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.

$sel:mD5OfMessageBody:SendMessageResponse', 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 RFC1321.

$sel:mD5OfMessageAttributes:SendMessageResponse', 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 RFC1321.

$sel:httpStatus:SendMessageResponse', sendMessageResponse_httpStatus - The response's http status code.

RemovePermission

data RemovePermission Source #

See: newRemovePermission smart constructor.

Instances

Instances details
Eq RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Read RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Show RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Generic RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Associated Types

type Rep RemovePermission :: Type -> Type #

NFData RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Methods

rnf :: RemovePermission -> () #

Hashable RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

AWSRequest RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Associated Types

type AWSResponse RemovePermission #

ToHeaders RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

ToPath RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

ToQuery RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

type Rep RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

type Rep RemovePermission = D1 ('MetaData "RemovePermission" "Amazonka.SQS.RemovePermission" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "RemovePermission'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

newRemovePermission Source #

Create a value of RemovePermission with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrl:RemovePermission', removePermission_queueUrl - The URL of the Amazon SQS queue from which permissions are removed.

Queue URLs and names are case-sensitive.

$sel:label:RemovePermission', removePermission_label - The identification of the permission to remove. This is the label added using the AddPermission action.

data RemovePermissionResponse Source #

See: newRemovePermissionResponse smart constructor.

Instances

Instances details
Eq RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Read RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Show RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Generic RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Associated Types

type Rep RemovePermissionResponse :: Type -> Type #

NFData RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

type Rep RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

type Rep RemovePermissionResponse = D1 ('MetaData "RemovePermissionResponse" "Amazonka.SQS.RemovePermission" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "RemovePermissionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newRemovePermissionResponse :: RemovePermissionResponse Source #

Create a value of RemovePermissionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

GetQueueAttributes

data GetQueueAttributes Source #

See: newGetQueueAttributes smart constructor.

Instances

Instances details
Eq GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Read GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Show GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Generic GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Associated Types

type Rep GetQueueAttributes :: Type -> Type #

NFData GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Methods

rnf :: GetQueueAttributes -> () #

Hashable GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

AWSRequest GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Associated Types

type AWSResponse GetQueueAttributes #

ToHeaders GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

ToPath GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

ToQuery GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

type Rep GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

type Rep GetQueueAttributes = D1 ('MetaData "GetQueueAttributes" "Amazonka.SQS.GetQueueAttributes" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "GetQueueAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueueAttributeName])) :*: S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

newGetQueueAttributes Source #

Create a value of GetQueueAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributeNames:GetQueueAttributes', 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 (epoch time).
  • DelaySeconds – Returns the default delay on the queue in seconds.
  • LastModifiedTimestamp – Returns the time when the queue was last changed in seconds (epoch time).
  • MaximumMessageSize – Returns the limit of how many bytes a message can contain before Amazon SQS rejects it.
  • MessageRetentionPeriod – Returns the 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.
  • VisibilityTimeout – Returns the visibility timeout for the queue. For more information about the visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide.

The following attributes apply only to dead-letter queues:

  • RedrivePolicy – The string that includes the parameters for the dead-letter queue functionality of the source queue as a JSON object. The parameters are as follows:

    • 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.
  • RedriveAllowPolicy – The string that includes the parameters for the permissions for the dead-letter queue redrive permission and which source queues can specify dead-letter queues as a JSON object. The parameters are as follows:

    • redrivePermission – The permission type that defines which source queues can specify the current queue as the dead-letter queue. Valid values are:

      • allowAll – (Default) Any source queues in this Amazon Web Services account in the same Region can specify this queue as the dead-letter queue.
      • denyAll – No source queues can specify this queue as the dead-letter queue.
      • byQueue – Only queues specified by the sourceQueueArns parameter can specify this queue as the dead-letter queue.
    • sourceQueueArns – The Amazon Resource Names (ARN)s of the source queues that can specify this queue as the dead-letter queue and redrive messages. You can specify this parameter only when the redrivePermission parameter is set to byQueue. You can specify up to 10 source queue ARNs. To allow more than 10 source queues to specify dead-letter queues, set the redrivePermission parameter to allowAll.

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.

The following attributes apply only to 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 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 How Does the Data Key Reuse Period Work?.

The following attributes apply only to FIFO (first-in-first-out) queues:

  • FifoQueue – Returns information about whether the queue is FIFO. For more information, see FIFO queue logic in the Amazon SQS Developer Guide.

    To determine whether a queue is 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 Exactly-once processing in the Amazon SQS Developer Guide.

The following attributes apply only to 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 Quotas related to messages in the Amazon SQS Developer Guide.

$sel:queueUrl:GetQueueAttributes', getQueueAttributes_queueUrl - The URL of the Amazon SQS queue whose attribute information is retrieved.

Queue URLs and names are case-sensitive.

data GetQueueAttributesResponse Source #

A list of returned queue attributes.

See: newGetQueueAttributesResponse smart constructor.

Instances

Instances details
Eq GetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Read GetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Show GetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Generic GetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Associated Types

type Rep GetQueueAttributesResponse :: Type -> Type #

NFData GetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

type Rep GetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

type Rep GetQueueAttributesResponse = D1 ('MetaData "GetQueueAttributesResponse" "Amazonka.SQS.GetQueueAttributes" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "GetQueueAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap QueueAttributeName Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetQueueAttributesResponse Source #

Create a value of GetQueueAttributesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributes:GetQueueAttributesResponse', getQueueAttributesResponse_attributes - A map of attributes to their respective values.

$sel:httpStatus:GetQueueAttributesResponse', getQueueAttributesResponse_httpStatus - The response's http status code.

ListQueues (Paginated)

data ListQueues Source #

See: newListQueues smart constructor.

Constructors

ListQueues' (Maybe Text) (Maybe Text) (Maybe Int) 

Instances

Instances details
Eq ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Read ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Show ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Generic ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Associated Types

type Rep ListQueues :: Type -> Type #

NFData ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Methods

rnf :: ListQueues -> () #

Hashable ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

AWSPager ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

AWSRequest ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Associated Types

type AWSResponse ListQueues #

ToHeaders ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Methods

toHeaders :: ListQueues -> [Header] #

ToPath ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

ToQuery ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

type Rep ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

type Rep ListQueues = D1 ('MetaData "ListQueues" "Amazonka.SQS.ListQueues" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "ListQueues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueNamePrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

newListQueues :: ListQueues Source #

Create a value of ListQueues with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueNamePrefix:ListQueues', 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.

$sel:nextToken:ListQueues', listQueues_nextToken - Pagination token to request the next set of results.

$sel:maxResults:ListQueues', 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.

data ListQueuesResponse Source #

A list of your queues.

See: newListQueuesResponse smart constructor.

Instances

Instances details
Eq ListQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Read ListQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Show ListQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Generic ListQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Associated Types

type Rep ListQueuesResponse :: Type -> Type #

NFData ListQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Methods

rnf :: ListQueuesResponse -> () #

type Rep ListQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

type Rep ListQueuesResponse = D1 ('MetaData "ListQueuesResponse" "Amazonka.SQS.ListQueues" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "ListQueuesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListQueuesResponse Source #

Create a value of ListQueuesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrls:ListQueuesResponse', listQueuesResponse_queueUrls - A list of queue URLs, up to 1,000 entries, or the value of MaxResults that you sent in the request.

$sel:nextToken:ListQueues', 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.

$sel:httpStatus:ListQueuesResponse', listQueuesResponse_httpStatus - The response's http status code.

ReceiveMessage

data ReceiveMessage Source #

See: newReceiveMessage smart constructor.

Instances

Instances details
Eq ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Read ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Show ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Generic ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Associated Types

type Rep ReceiveMessage :: Type -> Type #

NFData ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Methods

rnf :: ReceiveMessage -> () #

Hashable ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

AWSRequest ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Associated Types

type AWSResponse ReceiveMessage #

ToHeaders ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

ToPath ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

ToQuery ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

type Rep ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

type Rep ReceiveMessage = D1 ('MetaData "ReceiveMessage" "Amazonka.SQS.ReceiveMessage" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "ReceiveMessage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "receiveRequestAttemptId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "visibilityTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "messageAttributeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "waitTimeSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "attributeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MessageAttribute]))) :*: (S1 ('MetaSel ('Just "maxNumberOfMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

newReceiveMessage Source #

Create a value of ReceiveMessage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:receiveRequestAttemptId:ReceiveMessage', 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 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 Using the ReceiveRequestAttemptId Request Parameter in the Amazon SQS Developer Guide.

$sel:visibilityTimeout:ReceiveMessage', receiveMessage_visibilityTimeout - The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a ReceiveMessage request.

$sel:messageAttributeNames:ReceiveMessage', 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.*.

$sel:waitTimeSeconds:ReceiveMessage', 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 NettyNioAsyncHttpClient for asynchronous clients, or the ApacheHttpClient for synchronous clients.

$sel:attributeNames:ReceiveMessage', 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 (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 (epoch time in milliseconds).
  • 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.

$sel:maxNumberOfMessages:ReceiveMessage', 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.

$sel:queueUrl:ReceiveMessage', receiveMessage_queueUrl - The URL of the Amazon SQS queue from which messages are received.

Queue URLs and names are case-sensitive.

data ReceiveMessageResponse Source #

A list of received messages.

See: newReceiveMessageResponse smart constructor.

Instances

Instances details
Eq ReceiveMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Read ReceiveMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Show ReceiveMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Generic ReceiveMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Associated Types

type Rep ReceiveMessageResponse :: Type -> Type #

NFData ReceiveMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Methods

rnf :: ReceiveMessageResponse -> () #

type Rep ReceiveMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

type Rep ReceiveMessageResponse = D1 ('MetaData "ReceiveMessageResponse" "Amazonka.SQS.ReceiveMessage" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "ReceiveMessageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "messages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Message])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newReceiveMessageResponse Source #

Create a value of ReceiveMessageResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:messages:ReceiveMessageResponse', receiveMessageResponse_messages - A list of messages.

$sel:httpStatus:ReceiveMessageResponse', receiveMessageResponse_httpStatus - The response's http status code.

DeleteQueue

data DeleteQueue Source #

See: newDeleteQueue smart constructor.

Constructors

DeleteQueue' Text 

Instances

Instances details
Eq DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

Read DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

Show DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

Generic DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

Associated Types

type Rep DeleteQueue :: Type -> Type #

NFData DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

Methods

rnf :: DeleteQueue -> () #

Hashable DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

AWSRequest DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

Associated Types

type AWSResponse DeleteQueue #

ToHeaders DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

Methods

toHeaders :: DeleteQueue -> [Header] #

ToPath DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

ToQuery DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

type Rep DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

type Rep DeleteQueue = D1 ('MetaData "DeleteQueue" "Amazonka.SQS.DeleteQueue" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "DeleteQueue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

newDeleteQueue Source #

Create a value of DeleteQueue with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrl:DeleteQueue', deleteQueue_queueUrl - The URL of the Amazon SQS queue to delete.

Queue URLs and names are case-sensitive.

data DeleteQueueResponse Source #

See: newDeleteQueueResponse smart constructor.

Constructors

DeleteQueueResponse' 

newDeleteQueueResponse :: DeleteQueueResponse Source #

Create a value of DeleteQueueResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

TagQueue

data TagQueue Source #

See: newTagQueue smart constructor.

Constructors

TagQueue' Text (HashMap Text Text) 

Instances

Instances details
Eq TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Read TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Show TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Generic TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Associated Types

type Rep TagQueue :: Type -> Type #

Methods

from :: TagQueue -> Rep TagQueue x #

to :: Rep TagQueue x -> TagQueue #

NFData TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Methods

rnf :: TagQueue -> () #

Hashable TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Methods

hashWithSalt :: Int -> TagQueue -> Int #

hash :: TagQueue -> Int #

AWSRequest TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Associated Types

type AWSResponse TagQueue #

ToHeaders TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Methods

toHeaders :: TagQueue -> [Header] #

ToPath TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

ToQuery TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

type Rep TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

type Rep TagQueue = D1 ('MetaData "TagQueue" "Amazonka.SQS.TagQueue" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "TagQueue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))
type AWSResponse TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

newTagQueue Source #

Create a value of TagQueue with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrl:TagQueue', tagQueue_queueUrl - The URL of the queue.

$sel:tags:TagQueue', tagQueue_tags - The list of tags to be added to the specified queue.

data TagQueueResponse Source #

See: newTagQueueResponse smart constructor.

Constructors

TagQueueResponse' 

Instances

Instances details
Eq TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Read TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Show TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Generic TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Associated Types

type Rep TagQueueResponse :: Type -> Type #

NFData TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Methods

rnf :: TagQueueResponse -> () #

type Rep TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

type Rep TagQueueResponse = D1 ('MetaData "TagQueueResponse" "Amazonka.SQS.TagQueue" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "TagQueueResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newTagQueueResponse :: TagQueueResponse Source #

Create a value of TagQueueResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

DeleteMessageBatch

data DeleteMessageBatch Source #

See: newDeleteMessageBatch smart constructor.

Instances

Instances details
Eq DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Read DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Show DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Generic DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Associated Types

type Rep DeleteMessageBatch :: Type -> Type #

NFData DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Methods

rnf :: DeleteMessageBatch -> () #

Hashable DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

AWSRequest DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Associated Types

type AWSResponse DeleteMessageBatch #

ToHeaders DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

ToPath DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

ToQuery DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

type Rep DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

type Rep DeleteMessageBatch = D1 ('MetaData "DeleteMessageBatch" "Amazonka.SQS.DeleteMessageBatch" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "DeleteMessageBatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [DeleteMessageBatchRequestEntry])))
type AWSResponse DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

newDeleteMessageBatch Source #

Create a value of DeleteMessageBatch with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrl:DeleteMessageBatch', deleteMessageBatch_queueUrl - The URL of the Amazon SQS queue from which messages are deleted.

Queue URLs and names are case-sensitive.

$sel:entries:DeleteMessageBatch', deleteMessageBatch_entries - A list of receipt handles for the messages to be deleted.

data DeleteMessageBatchResponse Source #

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.

Instances

Instances details
Eq DeleteMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Read DeleteMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Show DeleteMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Generic DeleteMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Associated Types

type Rep DeleteMessageBatchResponse :: Type -> Type #

NFData DeleteMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

type Rep DeleteMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

type Rep DeleteMessageBatchResponse = D1 ('MetaData "DeleteMessageBatchResponse" "Amazonka.SQS.DeleteMessageBatch" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "DeleteMessageBatchResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "successful") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [DeleteMessageBatchResultEntry]) :*: S1 ('MetaSel ('Just "failed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchResultErrorEntry]))))

newDeleteMessageBatchResponse Source #

Create a value of DeleteMessageBatchResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteMessageBatchResponse', deleteMessageBatchResponse_httpStatus - The response's http status code.

$sel:successful:DeleteMessageBatchResponse', deleteMessageBatchResponse_successful - A list of DeleteMessageBatchResultEntry items.

$sel:failed:DeleteMessageBatchResponse', deleteMessageBatchResponse_failed - A list of BatchResultErrorEntry items.

SetQueueAttributes

data SetQueueAttributes Source #

See: newSetQueueAttributes smart constructor.

Instances

Instances details
Eq SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Read SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Show SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Generic SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Associated Types

type Rep SetQueueAttributes :: Type -> Type #

NFData SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Methods

rnf :: SetQueueAttributes -> () #

Hashable SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

AWSRequest SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Associated Types

type AWSResponse SetQueueAttributes #

ToHeaders SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

ToPath SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

ToQuery SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

type Rep SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

type Rep SetQueueAttributes = D1 ('MetaData "SetQueueAttributes" "Amazonka.SQS.SetQueueAttributes" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "SetQueueAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap QueueAttributeName Text))))
type AWSResponse SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

newSetQueueAttributes Source #

Create a value of SetQueueAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrl:SetQueueAttributes', setQueueAttributes_queueUrl - The URL of the Amazon SQS queue whose attributes are set.

Queue URLs and names are case-sensitive.

$sel:attributes:SetQueueAttributes', 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 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.
  • 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 Visibility Timeout in the Amazon SQS Developer Guide.

The following attributes apply only to dead-letter queues:

  • RedrivePolicy – The string that includes the parameters for the dead-letter queue functionality of the source queue as a JSON object. The parameters are as follows:

    • 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.
  • RedriveAllowPolicy – The string that includes the parameters for the permissions for the dead-letter queue redrive permission and which source queues can specify dead-letter queues as a JSON object. The parameters are as follows:

    • redrivePermission – The permission type that defines which source queues can specify the current queue as the dead-letter queue. Valid values are:

      • allowAll – (Default) Any source queues in this Amazon Web Services account in the same Region can specify this queue as the dead-letter queue.
      • denyAll – No source queues can specify this queue as the dead-letter queue.
      • byQueue – Only queues specified by the sourceQueueArns parameter can specify this queue as the dead-letter queue.
    • sourceQueueArns – The Amazon Resource Names (ARN)s of the source queues that can specify this queue as the dead-letter queue and redrive messages. You can specify this parameter only when the redrivePermission parameter is set to byQueue. You can specify up to 10 source queue ARNs. To allow more than 10 source queues to specify dead-letter queues, set the redrivePermission parameter to allowAll.

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.

The following attributes apply only to 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 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 KeyId in the Key Management Service API Reference.
  • KmsDataKeyReusePeriodSeconds – The length of time, in seconds, for which Amazon SQS can reuse a 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 How Does the Data Key Reuse Period Work?.

The following attribute applies only to FIFO (first-in-first-out) queues:

  • ContentBasedDeduplication – Enables content-based deduplication. For more information, see 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 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 Quotas related to messages in the Amazon SQS Developer Guide.

data SetQueueAttributesResponse Source #

See: newSetQueueAttributesResponse smart constructor.

Instances

Instances details
Eq SetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Read SetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Show SetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Generic SetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Associated Types

type Rep SetQueueAttributesResponse :: Type -> Type #

NFData SetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

type Rep SetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

type Rep SetQueueAttributesResponse = D1 ('MetaData "SetQueueAttributesResponse" "Amazonka.SQS.SetQueueAttributes" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "SetQueueAttributesResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSetQueueAttributesResponse :: SetQueueAttributesResponse Source #

Create a value of SetQueueAttributesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

ListDeadLetterSourceQueues (Paginated)

data ListDeadLetterSourceQueues Source #

See: newListDeadLetterSourceQueues smart constructor.

Instances

Instances details
Eq ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Read ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Show ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Generic ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Associated Types

type Rep ListDeadLetterSourceQueues :: Type -> Type #

NFData ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Hashable ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

AWSPager ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

AWSRequest ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

ToHeaders ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

ToPath ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

ToQuery ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

type Rep ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

type Rep ListDeadLetterSourceQueues = D1 ('MetaData "ListDeadLetterSourceQueues" "Amazonka.SQS.ListDeadLetterSourceQueues" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "ListDeadLetterSourceQueues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

newListDeadLetterSourceQueues Source #

Create a value of ListDeadLetterSourceQueues with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListDeadLetterSourceQueues', listDeadLetterSourceQueues_nextToken - Pagination token to request the next set of results.

$sel:maxResults:ListDeadLetterSourceQueues', 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.

$sel:queueUrl:ListDeadLetterSourceQueues', listDeadLetterSourceQueues_queueUrl - The URL of a dead-letter queue.

Queue URLs and names are case-sensitive.

data ListDeadLetterSourceQueuesResponse Source #

A list of your dead letter source queues.

See: newListDeadLetterSourceQueuesResponse smart constructor.

Instances

Instances details
Eq ListDeadLetterSourceQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Read ListDeadLetterSourceQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Show ListDeadLetterSourceQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Generic ListDeadLetterSourceQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Associated Types

type Rep ListDeadLetterSourceQueuesResponse :: Type -> Type #

NFData ListDeadLetterSourceQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

type Rep ListDeadLetterSourceQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

type Rep ListDeadLetterSourceQueuesResponse = D1 ('MetaData "ListDeadLetterSourceQueuesResponse" "Amazonka.SQS.ListDeadLetterSourceQueues" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "ListDeadLetterSourceQueuesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "queueUrls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newListDeadLetterSourceQueuesResponse Source #

Create a value of ListDeadLetterSourceQueuesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListDeadLetterSourceQueues', 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.

$sel:httpStatus:ListDeadLetterSourceQueuesResponse', listDeadLetterSourceQueuesResponse_httpStatus - The response's http status code.

$sel:queueUrls:ListDeadLetterSourceQueuesResponse', listDeadLetterSourceQueuesResponse_queueUrls - A list of source queue URLs that have the RedrivePolicy queue attribute configured with a dead-letter queue.

AddPermission

data AddPermission Source #

See: newAddPermission smart constructor.

Constructors

AddPermission' Text Text [Text] [Text] 

Instances

Instances details
Eq AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Read AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Show AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Generic AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Associated Types

type Rep AddPermission :: Type -> Type #

NFData AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Methods

rnf :: AddPermission -> () #

Hashable AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

AWSRequest AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Associated Types

type AWSResponse AddPermission #

ToHeaders AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

ToPath AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

ToQuery AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

type Rep AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

type Rep AddPermission = D1 ('MetaData "AddPermission" "Amazonka.SQS.AddPermission" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "AddPermission'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "aWSAccountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))
type AWSResponse AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

newAddPermission Source #

Create a value of AddPermission with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrl:AddPermission', addPermission_queueUrl - The URL of the Amazon SQS queue to which permissions are added.

Queue URLs and names are case-sensitive.

$sel:label:AddPermission', 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 (_).

$sel:aWSAccountIds:AddPermission', addPermission_aWSAccountIds - The account numbers of the principals who are to receive permission. For information about locating the account identification, see Your Amazon Web Services Identifiers in the Amazon SQS Developer Guide.

$sel:actions:AddPermission', 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 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.

data AddPermissionResponse Source #

See: newAddPermissionResponse smart constructor.

Instances

Instances details
Eq AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Read AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Show AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Generic AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Associated Types

type Rep AddPermissionResponse :: Type -> Type #

NFData AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Methods

rnf :: AddPermissionResponse -> () #

type Rep AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

type Rep AddPermissionResponse = D1 ('MetaData "AddPermissionResponse" "Amazonka.SQS.AddPermission" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "AddPermissionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAddPermissionResponse :: AddPermissionResponse Source #

Create a value of AddPermissionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

DeleteMessage

data DeleteMessage Source #

See: newDeleteMessage smart constructor.

Constructors

DeleteMessage' Text Text 

Instances

Instances details
Eq DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Read DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Show DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Generic DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Associated Types

type Rep DeleteMessage :: Type -> Type #

NFData DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Methods

rnf :: DeleteMessage -> () #

Hashable DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

AWSRequest DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Associated Types

type AWSResponse DeleteMessage #

ToHeaders DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

ToPath DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

ToQuery DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

type Rep DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

type Rep DeleteMessage = D1 ('MetaData "DeleteMessage" "Amazonka.SQS.DeleteMessage" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "DeleteMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "receiptHandle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

newDeleteMessage Source #

Create a value of DeleteMessage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrl:DeleteMessage', deleteMessage_queueUrl - The URL of the Amazon SQS queue from which messages are deleted.

Queue URLs and names are case-sensitive.

$sel:receiptHandle:DeleteMessage', deleteMessage_receiptHandle - The receipt handle associated with the message to delete.

data DeleteMessageResponse Source #

See: newDeleteMessageResponse smart constructor.

Instances

Instances details
Eq DeleteMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Read DeleteMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Show DeleteMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Generic DeleteMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Associated Types

type Rep DeleteMessageResponse :: Type -> Type #

NFData DeleteMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Methods

rnf :: DeleteMessageResponse -> () #

type Rep DeleteMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

type Rep DeleteMessageResponse = D1 ('MetaData "DeleteMessageResponse" "Amazonka.SQS.DeleteMessage" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "DeleteMessageResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteMessageResponse :: DeleteMessageResponse Source #

Create a value of DeleteMessageResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

ListQueueTags

data ListQueueTags Source #

See: newListQueueTags smart constructor.

Constructors

ListQueueTags' Text 

Instances

Instances details
Eq ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Read ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Show ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Generic ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Associated Types

type Rep ListQueueTags :: Type -> Type #

NFData ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Methods

rnf :: ListQueueTags -> () #

Hashable ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

AWSRequest ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Associated Types

type AWSResponse ListQueueTags #

ToHeaders ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

ToPath ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

ToQuery ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

type Rep ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

type Rep ListQueueTags = D1 ('MetaData "ListQueueTags" "Amazonka.SQS.ListQueueTags" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "ListQueueTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

newListQueueTags Source #

Create a value of ListQueueTags with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrl:ListQueueTags', listQueueTags_queueUrl - The URL of the queue.

data ListQueueTagsResponse Source #

See: newListQueueTagsResponse smart constructor.

Instances

Instances details
Eq ListQueueTagsResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Read ListQueueTagsResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Show ListQueueTagsResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Generic ListQueueTagsResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Associated Types

type Rep ListQueueTagsResponse :: Type -> Type #

NFData ListQueueTagsResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Methods

rnf :: ListQueueTagsResponse -> () #

type Rep ListQueueTagsResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

type Rep ListQueueTagsResponse = D1 ('MetaData "ListQueueTagsResponse" "Amazonka.SQS.ListQueueTags" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "ListQueueTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newListQueueTagsResponse Source #

Create a value of ListQueueTagsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:tags:ListQueueTagsResponse', listQueueTagsResponse_tags - The list of all tags added to the specified queue.

$sel:httpStatus:ListQueueTagsResponse', listQueueTagsResponse_httpStatus - The response's http status code.

CreateQueue

data CreateQueue Source #

See: newCreateQueue smart constructor.

Instances

Instances details
Eq CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Read CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Show CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Generic CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Associated Types

type Rep CreateQueue :: Type -> Type #

NFData CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Methods

rnf :: CreateQueue -> () #

Hashable CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

AWSRequest CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Associated Types

type AWSResponse CreateQueue #

ToHeaders CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Methods

toHeaders :: CreateQueue -> [Header] #

ToPath CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

ToQuery CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

type Rep CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

type Rep CreateQueue = D1 ('MetaData "CreateQueue" "Amazonka.SQS.CreateQueue" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "CreateQueue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap QueueAttributeName Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "queueName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

newCreateQueue Source #

Create a value of CreateQueue with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributes:CreateQueue', 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 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.
  • 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 Visibility Timeout in the Amazon SQS Developer Guide.

The following attributes apply only to dead-letter queues:

  • RedrivePolicy – The string that includes the parameters for the dead-letter queue functionality of the source queue as a JSON object. The parameters are as follows:

    • 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.
  • RedriveAllowPolicy – The string that includes the parameters for the permissions for the dead-letter queue redrive permission and which source queues can specify dead-letter queues as a JSON object. The parameters are as follows:

    • redrivePermission – The permission type that defines which source queues can specify the current queue as the dead-letter queue. Valid values are:

      • allowAll – (Default) Any source queues in this Amazon Web Services account in the same Region can specify this queue as the dead-letter queue.
      • denyAll – No source queues can specify this queue as the dead-letter queue.
      • byQueue – Only queues specified by the sourceQueueArns parameter can specify this queue as the dead-letter queue.
    • sourceQueueArns – The Amazon Resource Names (ARN)s of the source queues that can specify this queue as the dead-letter queue and redrive messages. You can specify this parameter only when the redrivePermission parameter is set to byQueue. You can specify up to 10 source queue ARNs. To allow more than 10 source queues to specify dead-letter queues, set the redrivePermission parameter to allowAll.

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.

The following attributes apply only to 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 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 KeyId in the Key Management Service API Reference.
  • KmsDataKeyReusePeriodSeconds – The length of time, in seconds, for which Amazon SQS can reuse a 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 How Does the Data Key Reuse Period Work?.

The following attributes apply only to 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 FIFO queue logic in the Amazon SQS Developer Guide.

  • ContentBasedDeduplication – Enables content-based deduplication. Valid values are true and false. For more information, see 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 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 Quotas related to messages in the Amazon SQS Developer Guide.

$sel:tags:CreateQueue', createQueue_tags - Add cost allocation tags to the specified Amazon SQS queue. For an overview, see 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 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 Grant cross-account permissions to a role and a user name in the Amazon SQS Developer Guide.

$sel:queueName:CreateQueue', 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.

data CreateQueueResponse Source #

Returns the QueueUrl attribute of the created queue.

See: newCreateQueueResponse smart constructor.

Instances

Instances details
Eq CreateQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Read CreateQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Show CreateQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Generic CreateQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Associated Types

type Rep CreateQueueResponse :: Type -> Type #

NFData CreateQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Methods

rnf :: CreateQueueResponse -> () #

type Rep CreateQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

type Rep CreateQueueResponse = D1 ('MetaData "CreateQueueResponse" "Amazonka.SQS.CreateQueue" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "CreateQueueResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateQueueResponse Source #

Create a value of CreateQueueResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrl:CreateQueueResponse', createQueueResponse_queueUrl - The URL of the created Amazon SQS queue.

$sel:httpStatus:CreateQueueResponse', createQueueResponse_httpStatus - The response's http status code.

UntagQueue

data UntagQueue Source #

See: newUntagQueue smart constructor.

Constructors

UntagQueue' Text [Text] 

Instances

Instances details
Eq UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Read UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Show UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Generic UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Associated Types

type Rep UntagQueue :: Type -> Type #

NFData UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Methods

rnf :: UntagQueue -> () #

Hashable UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

AWSRequest UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Associated Types

type AWSResponse UntagQueue #

ToHeaders UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Methods

toHeaders :: UntagQueue -> [Header] #

ToPath UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

ToQuery UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

type Rep UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

type Rep UntagQueue = D1 ('MetaData "UntagQueue" "Amazonka.SQS.UntagQueue" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "UntagQueue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

newUntagQueue Source #

Create a value of UntagQueue with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrl:UntagQueue', untagQueue_queueUrl - The URL of the queue.

$sel:tagKeys:UntagQueue', untagQueue_tagKeys - The list of tags to be removed from the specified queue.

data UntagQueueResponse Source #

See: newUntagQueueResponse smart constructor.

Constructors

UntagQueueResponse' 

Instances

Instances details
Eq UntagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Read UntagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Show UntagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Generic UntagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Associated Types

type Rep UntagQueueResponse :: Type -> Type #

NFData UntagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Methods

rnf :: UntagQueueResponse -> () #

type Rep UntagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

type Rep UntagQueueResponse = D1 ('MetaData "UntagQueueResponse" "Amazonka.SQS.UntagQueue" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "UntagQueueResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUntagQueueResponse :: UntagQueueResponse Source #

Create a value of UntagQueueResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

SendMessageBatch

data SendMessageBatch Source #

See: newSendMessageBatch smart constructor.

Instances

Instances details
Eq SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Read SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Show SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Generic SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Associated Types

type Rep SendMessageBatch :: Type -> Type #

NFData SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Methods

rnf :: SendMessageBatch -> () #

Hashable SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

AWSRequest SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Associated Types

type AWSResponse SendMessageBatch #

ToHeaders SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

ToPath SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

ToQuery SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

type Rep SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

type Rep SendMessageBatch = D1 ('MetaData "SendMessageBatch" "Amazonka.SQS.SendMessageBatch" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "SendMessageBatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SendMessageBatchRequestEntry])))
type AWSResponse SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

newSendMessageBatch Source #

Create a value of SendMessageBatch with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrl:SendMessageBatch', sendMessageBatch_queueUrl - The URL of the Amazon SQS queue to which batched messages are sent.

Queue URLs and names are case-sensitive.

$sel:entries:SendMessageBatch', sendMessageBatch_entries - A list of SendMessageBatchRequestEntry items.

data SendMessageBatchResponse Source #

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.

Instances

Instances details
Eq SendMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Read SendMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Show SendMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Generic SendMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Associated Types

type Rep SendMessageBatchResponse :: Type -> Type #

NFData SendMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

type Rep SendMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

type Rep SendMessageBatchResponse = D1 ('MetaData "SendMessageBatchResponse" "Amazonka.SQS.SendMessageBatch" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "SendMessageBatchResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "successful") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SendMessageBatchResultEntry]) :*: S1 ('MetaSel ('Just "failed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchResultErrorEntry]))))

newSendMessageBatchResponse Source #

Create a value of SendMessageBatchResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:SendMessageBatchResponse', sendMessageBatchResponse_httpStatus - The response's http status code.

$sel:successful:SendMessageBatchResponse', sendMessageBatchResponse_successful - A list of SendMessageBatchResultEntry items.

$sel:failed:SendMessageBatchResponse', sendMessageBatchResponse_failed - A list of BatchResultErrorEntry items with error details about each message that can't be enqueued.

ChangeMessageVisibility

data ChangeMessageVisibility Source #

See: newChangeMessageVisibility smart constructor.

Instances

Instances details
Eq ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Read ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Show ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Generic ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Associated Types

type Rep ChangeMessageVisibility :: Type -> Type #

NFData ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Methods

rnf :: ChangeMessageVisibility -> () #

Hashable ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

AWSRequest ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

ToHeaders ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

ToPath ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

ToQuery ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

type Rep ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

type Rep ChangeMessageVisibility = D1 ('MetaData "ChangeMessageVisibility" "Amazonka.SQS.ChangeMessageVisibility" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "ChangeMessageVisibility'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "receiptHandle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "visibilityTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))
type AWSResponse ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

newChangeMessageVisibility Source #

Create a value of ChangeMessageVisibility with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queueUrl:ChangeMessageVisibility', changeMessageVisibility_queueUrl - The URL of the Amazon SQS queue whose message's visibility is changed.

Queue URLs and names are case-sensitive.

$sel:receiptHandle:ChangeMessageVisibility', changeMessageVisibility_receiptHandle - The receipt handle associated with the message whose visibility timeout is changed. This parameter is returned by the ReceiveMessage action.

$sel:visibilityTimeout:ChangeMessageVisibility', changeMessageVisibility_visibilityTimeout - The new value for the message's visibility timeout (in seconds). Values range: 0 to 43200. Maximum: 12 hours.

data ChangeMessageVisibilityResponse Source #

See: newChangeMessageVisibilityResponse smart constructor.

Instances

Instances details
Eq ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Read ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Show ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Generic ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Associated Types

type Rep ChangeMessageVisibilityResponse :: Type -> Type #

NFData ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

type Rep ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

type Rep ChangeMessageVisibilityResponse = D1 ('MetaData "ChangeMessageVisibilityResponse" "Amazonka.SQS.ChangeMessageVisibility" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "ChangeMessageVisibilityResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newChangeMessageVisibilityResponse :: ChangeMessageVisibilityResponse Source #

Create a value of ChangeMessageVisibilityResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Types

MessageAttribute

newtype MessageAttribute Source #

Instances

Instances details
Eq MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

Ord MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

Read MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

Show MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

Generic MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

Associated Types

type Rep MessageAttribute :: Type -> Type #

NFData MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

Methods

rnf :: MessageAttribute -> () #

Hashable MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

ToJSON MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

ToJSONKey MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

FromJSON MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

FromJSONKey MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

ToLog MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

ToHeader MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

ToQuery MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

FromXML MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

ToXML MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

ToByteString MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

FromText MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

ToText MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

type Rep MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

type Rep MessageAttribute = D1 ('MetaData "MessageAttribute" "Amazonka.SQS.Types.MessageAttribute" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'True) (C1 ('MetaCons "MessageAttribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMessageAttribute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MessageSystemAttributeNameForSends

newtype MessageSystemAttributeNameForSends Source #

Instances

Instances details
Eq MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

Ord MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

Read MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

Show MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

Generic MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

Associated Types

type Rep MessageSystemAttributeNameForSends :: Type -> Type #

NFData MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

Hashable MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

ToJSON MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

ToJSONKey MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

FromJSON MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

FromJSONKey MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

ToLog MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

ToHeader MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

ToQuery MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

FromXML MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

ToXML MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

ToByteString MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

FromText MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

ToText MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

type Rep MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

type Rep MessageSystemAttributeNameForSends = D1 ('MetaData "MessageSystemAttributeNameForSends" "Amazonka.SQS.Types.MessageSystemAttributeNameForSends" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'True) (C1 ('MetaCons "MessageSystemAttributeNameForSends'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMessageSystemAttributeNameForSends") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

QueueAttributeName

newtype QueueAttributeName Source #

Instances

Instances details
Eq QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

Ord QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

Read QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

Show QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

Generic QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

Associated Types

type Rep QueueAttributeName :: Type -> Type #

NFData QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

Methods

rnf :: QueueAttributeName -> () #

Hashable QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

ToJSON QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

ToJSONKey QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

FromJSON QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

FromJSONKey QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

ToLog QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

ToHeader QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

ToQuery QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

FromXML QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

ToXML QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

ToByteString QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

FromText QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

ToText QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

type Rep QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

type Rep QueueAttributeName = D1 ('MetaData "QueueAttributeName" "Amazonka.SQS.Types.QueueAttributeName" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'True) (C1 ('MetaCons "QueueAttributeName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromQueueAttributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

BatchResultErrorEntry

data BatchResultErrorEntry Source #

Gives a detailed description of the result of an action on each entry in the request.

See: newBatchResultErrorEntry smart constructor.

Instances

Instances details
Eq BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

Read BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

Show BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

Generic BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

Associated Types

type Rep BatchResultErrorEntry :: Type -> Type #

NFData BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

Methods

rnf :: BatchResultErrorEntry -> () #

Hashable BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

FromXML BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

type Rep BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

type Rep BatchResultErrorEntry = D1 ('MetaData "BatchResultErrorEntry" "Amazonka.SQS.Types.BatchResultErrorEntry" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "BatchResultErrorEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "senderFault") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newBatchResultErrorEntry Source #

Create a value of BatchResultErrorEntry with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:message:BatchResultErrorEntry', batchResultErrorEntry_message - A message explaining why the action failed on this entry.

$sel:id:BatchResultErrorEntry', batchResultErrorEntry_id - The Id of an entry in a batch request.

$sel:senderFault:BatchResultErrorEntry', batchResultErrorEntry_senderFault - Specifies whether the error happened due to the caller of the batch API action.

$sel:code:BatchResultErrorEntry', batchResultErrorEntry_code - An error code representing why the action failed on this entry.

ChangeMessageVisibilityBatchRequestEntry

data ChangeMessageVisibilityBatchRequestEntry Source #

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.

Instances

Instances details
Eq ChangeMessageVisibilityBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry

Read ChangeMessageVisibilityBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry

Show ChangeMessageVisibilityBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry

Generic ChangeMessageVisibilityBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry

NFData ChangeMessageVisibilityBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry

Hashable ChangeMessageVisibilityBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry

ToQuery ChangeMessageVisibilityBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry

type Rep ChangeMessageVisibilityBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry

type Rep ChangeMessageVisibilityBatchRequestEntry = D1 ('MetaData "ChangeMessageVisibilityBatchRequestEntry" "Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "ChangeMessageVisibilityBatchRequestEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "visibilityTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "receiptHandle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newChangeMessageVisibilityBatchRequestEntry Source #

Create a value of ChangeMessageVisibilityBatchRequestEntry with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:visibilityTimeout:ChangeMessageVisibilityBatchRequestEntry', changeMessageVisibilityBatchRequestEntry_visibilityTimeout - The new value (in seconds) for the message's visibility timeout.

$sel:id:ChangeMessageVisibilityBatchRequestEntry', changeMessageVisibilityBatchRequestEntry_id - An identifier for this particular receipt handle used to communicate the result.

The Ids 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 (_).

$sel:receiptHandle:ChangeMessageVisibilityBatchRequestEntry', changeMessageVisibilityBatchRequestEntry_receiptHandle - A receipt handle.

ChangeMessageVisibilityBatchResultEntry

data ChangeMessageVisibilityBatchResultEntry Source #

Encloses the Id of an entry in ChangeMessageVisibilityBatch.

See: newChangeMessageVisibilityBatchResultEntry smart constructor.

Instances

Instances details
Eq ChangeMessageVisibilityBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry

Read ChangeMessageVisibilityBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry

Show ChangeMessageVisibilityBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry

Generic ChangeMessageVisibilityBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry

NFData ChangeMessageVisibilityBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry

Hashable ChangeMessageVisibilityBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry

FromXML ChangeMessageVisibilityBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry

type Rep ChangeMessageVisibilityBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry

type Rep ChangeMessageVisibilityBatchResultEntry = D1 ('MetaData "ChangeMessageVisibilityBatchResultEntry" "Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "ChangeMessageVisibilityBatchResultEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newChangeMessageVisibilityBatchResultEntry Source #

Create a value of ChangeMessageVisibilityBatchResultEntry with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:id:ChangeMessageVisibilityBatchResultEntry', changeMessageVisibilityBatchResultEntry_id - Represents a message whose visibility timeout has been changed successfully.

DeleteMessageBatchRequestEntry

data DeleteMessageBatchRequestEntry Source #

Encloses a receipt handle and an identifier for it.

See: newDeleteMessageBatchRequestEntry smart constructor.

Instances

Instances details
Eq DeleteMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchRequestEntry

Read DeleteMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchRequestEntry

Show DeleteMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchRequestEntry

Generic DeleteMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchRequestEntry

Associated Types

type Rep DeleteMessageBatchRequestEntry :: Type -> Type #

NFData DeleteMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchRequestEntry

Hashable DeleteMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchRequestEntry

ToQuery DeleteMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchRequestEntry

type Rep DeleteMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchRequestEntry

type Rep DeleteMessageBatchRequestEntry = D1 ('MetaData "DeleteMessageBatchRequestEntry" "Amazonka.SQS.Types.DeleteMessageBatchRequestEntry" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "DeleteMessageBatchRequestEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "receiptHandle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteMessageBatchRequestEntry Source #

Create a value of DeleteMessageBatchRequestEntry with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:id:DeleteMessageBatchRequestEntry', deleteMessageBatchRequestEntry_id - An identifier for this particular receipt handle. This is used to communicate the result.

The Ids 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 (_).

$sel:receiptHandle:DeleteMessageBatchRequestEntry', deleteMessageBatchRequestEntry_receiptHandle - A receipt handle.

DeleteMessageBatchResultEntry

data DeleteMessageBatchResultEntry Source #

Encloses the Id of an entry in DeleteMessageBatch.

See: newDeleteMessageBatchResultEntry smart constructor.

Instances

Instances details
Eq DeleteMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchResultEntry

Read DeleteMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchResultEntry

Show DeleteMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchResultEntry

Generic DeleteMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchResultEntry

Associated Types

type Rep DeleteMessageBatchResultEntry :: Type -> Type #

NFData DeleteMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchResultEntry

Hashable DeleteMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchResultEntry

FromXML DeleteMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchResultEntry

type Rep DeleteMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchResultEntry

type Rep DeleteMessageBatchResultEntry = D1 ('MetaData "DeleteMessageBatchResultEntry" "Amazonka.SQS.Types.DeleteMessageBatchResultEntry" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "DeleteMessageBatchResultEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteMessageBatchResultEntry Source #

Create a value of DeleteMessageBatchResultEntry with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:id:DeleteMessageBatchResultEntry', deleteMessageBatchResultEntry_id - Represents a successfully deleted message.

Message

data Message Source #

An Amazon SQS message.

See: newMessage smart constructor.

Instances

Instances details
Eq Message Source # 
Instance details

Defined in Amazonka.SQS.Types.Message

Methods

(==) :: Message -> Message -> Bool #

(/=) :: Message -> Message -> Bool #

Read Message Source # 
Instance details

Defined in Amazonka.SQS.Types.Message

Show Message Source # 
Instance details

Defined in Amazonka.SQS.Types.Message

Generic Message Source # 
Instance details

Defined in Amazonka.SQS.Types.Message

Associated Types

type Rep Message :: Type -> Type #

Methods

from :: Message -> Rep Message x #

to :: Rep Message x -> Message #

NFData Message Source # 
Instance details

Defined in Amazonka.SQS.Types.Message

Methods

rnf :: Message -> () #

Hashable Message Source # 
Instance details

Defined in Amazonka.SQS.Types.Message

Methods

hashWithSalt :: Int -> Message -> Int #

hash :: Message -> Int #

FromXML Message Source # 
Instance details

Defined in Amazonka.SQS.Types.Message

type Rep Message Source # 
Instance details

Defined in Amazonka.SQS.Types.Message

newMessage :: Message Source #

Create a value of Message with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:messageAttributes:Message', message_messageAttributes - Each message attribute consists of a Name, Type, and Value. For more information, see Amazon SQS message attributes in the Amazon SQS Developer Guide.

$sel:mD5OfBody:Message', message_mD5OfBody - An MD5 digest of the non-URL-encoded message body string.

$sel:body:Message', message_body - The message's contents (not URL-encoded).

$sel:attributes:Message', 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 epoch time in milliseconds.

$sel:receiptHandle:Message', 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.

$sel:messageId:Message', message_messageId - A unique identifier for the message. A MessageIdis considered unique across all accounts for an extended period of time.

$sel:mD5OfMessageAttributes:Message', 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 RFC1321.

MessageAttributeValue

data MessageAttributeValue Source #

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.

Instances

Instances details
Eq MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttributeValue

Read MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttributeValue

Show MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttributeValue

Generic MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttributeValue

Associated Types

type Rep MessageAttributeValue :: Type -> Type #

NFData MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttributeValue

Methods

rnf :: MessageAttributeValue -> () #

Hashable MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttributeValue

ToQuery MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttributeValue

FromXML MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttributeValue

type Rep MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttributeValue

type Rep MessageAttributeValue = D1 ('MetaData "MessageAttributeValue" "Amazonka.SQS.Types.MessageAttributeValue" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "MessageAttributeValue'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "binaryValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: S1 ('MetaSel ('Just "stringListValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "binaryListValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Base64])) :*: S1 ('MetaSel ('Just "dataType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newMessageAttributeValue Source #

Create a value of MessageAttributeValue with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:binaryValue:MessageAttributeValue', 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.

$sel:stringListValues:MessageAttributeValue', messageAttributeValue_stringListValues - Not implemented. Reserved for future use.

$sel:stringValue:MessageAttributeValue', messageAttributeValue_stringValue - Strings are Unicode with UTF-8 binary encoding. For a list of code values, see ASCII Printable Characters.

$sel:binaryListValues:MessageAttributeValue', messageAttributeValue_binaryListValues - Not implemented. Reserved for future use.

$sel:dataType:MessageAttributeValue', 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 Amazon SQS Message Attributes in the Amazon SQS Developer Guide.

MessageSystemAttributeValue

data MessageSystemAttributeValue Source #

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.

Instances

Instances details
Eq MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

Read MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

Show MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

Generic MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

Associated Types

type Rep MessageSystemAttributeValue :: Type -> Type #

NFData MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

Hashable MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

ToQuery MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

type Rep MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

type Rep MessageSystemAttributeValue = D1 ('MetaData "MessageSystemAttributeValue" "Amazonka.SQS.Types.MessageSystemAttributeValue" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "MessageSystemAttributeValue'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "binaryValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: S1 ('MetaSel ('Just "stringListValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "binaryListValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Base64])) :*: S1 ('MetaSel ('Just "dataType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newMessageSystemAttributeValue Source #

Create a value of MessageSystemAttributeValue with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:binaryValue:MessageSystemAttributeValue', 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.

$sel:stringListValues:MessageSystemAttributeValue', messageSystemAttributeValue_stringListValues - Not implemented. Reserved for future use.

$sel:stringValue:MessageSystemAttributeValue', messageSystemAttributeValue_stringValue - Strings are Unicode with UTF-8 binary encoding. For a list of code values, see ASCII Printable Characters.

$sel:binaryListValues:MessageSystemAttributeValue', messageSystemAttributeValue_binaryListValues - Not implemented. Reserved for future use.

$sel:dataType:MessageSystemAttributeValue', 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 Amazon SQS Message Attributes in the Amazon SQS Developer Guide.

SendMessageBatchRequestEntry

data SendMessageBatchRequestEntry Source #

Contains the details of a single Amazon SQS message along with an Id.

See: newSendMessageBatchRequestEntry smart constructor.

Instances

Instances details
Eq SendMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchRequestEntry

Read SendMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchRequestEntry

Show SendMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchRequestEntry

Generic SendMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchRequestEntry

Associated Types

type Rep SendMessageBatchRequestEntry :: Type -> Type #

NFData SendMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchRequestEntry

Hashable SendMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchRequestEntry

ToQuery SendMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchRequestEntry

type Rep SendMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchRequestEntry

type Rep SendMessageBatchRequestEntry = D1 ('MetaData "SendMessageBatchRequestEntry" "Amazonka.SQS.Types.SendMessageBatchRequestEntry" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "SendMessageBatchRequestEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "messageAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MessageAttributeValue))) :*: (S1 ('MetaSel ('Just "delaySeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "messageSystemAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue))))) :*: ((S1 ('MetaSel ('Just "messageDeduplicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "messageGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "messageBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newSendMessageBatchRequestEntry Source #

Create a value of SendMessageBatchRequestEntry with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:messageAttributes:SendMessageBatchRequestEntry', sendMessageBatchRequestEntry_messageAttributes - Each message attribute consists of a Name, Type, and Value. For more information, see Amazon SQS message attributes in the Amazon SQS Developer Guide.

$sel:delaySeconds:SendMessageBatchRequestEntry', 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.

$sel:messageSystemAttributes:SendMessageBatchRequestEntry', 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.

$sel:messageDeduplicationId:SendMessageBatchRequestEntry', 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 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 Using the MessageDeduplicationId Property in the Amazon SQS Developer Guide.

$sel:messageGroupId:SendMessageBatchRequestEntry', 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 Using the MessageGroupId Property in the Amazon SQS Developer Guide.

MessageGroupId is required for FIFO queues. You can't use it for Standard queues.

$sel:id:SendMessageBatchRequestEntry', sendMessageBatchRequestEntry_id - An identifier for a message in this batch used to communicate the result.

The Ids 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 (_).

$sel:messageBody:SendMessageBatchRequestEntry', sendMessageBatchRequestEntry_messageBody - The body of the message.

SendMessageBatchResultEntry

data SendMessageBatchResultEntry Source #

Encloses a MessageId for a successfully-enqueued message in a SendMessageBatch.

See: newSendMessageBatchResultEntry smart constructor.

Instances

Instances details
Eq SendMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchResultEntry

Read SendMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchResultEntry

Show SendMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchResultEntry

Generic SendMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchResultEntry

Associated Types

type Rep SendMessageBatchResultEntry :: Type -> Type #

NFData SendMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchResultEntry

Hashable SendMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchResultEntry

FromXML SendMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchResultEntry

type Rep SendMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchResultEntry

type Rep SendMessageBatchResultEntry = D1 ('MetaData "SendMessageBatchResultEntry" "Amazonka.SQS.Types.SendMessageBatchResultEntry" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "SendMessageBatchResultEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mD5OfMessageSystemAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "mD5OfMessageAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "mD5OfMessageBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newSendMessageBatchResultEntry Source #

Create a value of SendMessageBatchResultEntry with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sequenceNumber:SendMessageBatchResultEntry', 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.

$sel:mD5OfMessageSystemAttributes:SendMessageBatchResultEntry', 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 RFC1321.

$sel:mD5OfMessageAttributes:SendMessageBatchResultEntry', 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 RFC1321.

$sel:id:SendMessageBatchResultEntry', sendMessageBatchResultEntry_id - An identifier for the message in this batch.

$sel:messageId:SendMessageBatchResultEntry', sendMessageBatchResultEntry_messageId - An identifier for the message.

$sel:mD5OfMessageBody:SendMessageBatchResultEntry', 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 RFC1321.