amazonka-sqs-2.0: Amazon Simple Queue Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

BatchEntryIdsNotDistinct

_BatchEntryIdsNotDistinct :: AsError a => Fold a ServiceError Source #

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

BatchRequestTooLong

_BatchRequestTooLong :: AsError a => Fold a ServiceError Source #

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

EmptyBatchRequest

_EmptyBatchRequest :: AsError a => Fold a ServiceError Source #

The batch request doesn't contain any entries.

InvalidAttributeName

_InvalidAttributeName :: AsError a => Fold a ServiceError Source #

The specified attribute doesn't exist.

InvalidBatchEntryId

_InvalidBatchEntryId :: AsError a => Fold a ServiceError Source #

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

InvalidIdFormat

_InvalidIdFormat :: AsError a => Fold a ServiceError Source #

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

InvalidMessageContents

_InvalidMessageContents :: AsError a => Fold a ServiceError Source #

The message contains characters outside the allowed set.

MessageNotInflight

_MessageNotInflight :: AsError a => Fold a ServiceError Source #

The specified message isn't in flight.

OverLimit

_OverLimit :: AsError a => Fold 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.

PurgeQueueInProgress

_PurgeQueueInProgress :: AsError a => Fold 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).

QueueDeletedRecently

_QueueDeletedRecently :: AsError a => Fold 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 => Fold a ServiceError Source #

The specified queue doesn't exist.

QueueNameExists

_QueueNameExists :: AsError a => Fold 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.

ReceiptHandleIsInvalid

_ReceiptHandleIsInvalid :: AsError a => Fold a ServiceError Source #

The specified receipt handle isn't valid.

TooManyEntriesInBatchRequest

_TooManyEntriesInBatchRequest :: AsError a => Fold a ServiceError Source #

The batch request contains more entries than permissible.

UnsupportedOperation

_UnsupportedOperation :: AsError a => Fold a ServiceError Source #

Error code 400. Unsupported operation.

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.

AddPermission

data AddPermission Source #

See: newAddPermission smart constructor.

Constructors

AddPermission' Text Text [Text] [Text] 

Instances

Instances details
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

AWSRequest AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Associated Types

type AWSResponse AddPermission #

Generic AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Associated Types

type Rep AddPermission :: Type -> Type #

Read AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Show AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

NFData AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Methods

rnf :: AddPermission -> () #

Eq AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Hashable AddPermission Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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]))))

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 Amazon Web Services account numbers of the principals who are to receive permission. For information about locating the Amazon Web Services 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
Generic AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Associated Types

type Rep AddPermissionResponse :: Type -> Type #

Read AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Show AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

NFData AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

Methods

rnf :: AddPermissionResponse -> () #

Eq AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

type Rep AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.AddPermission

type Rep AddPermissionResponse = D1 ('MetaData "AddPermissionResponse" "Amazonka.SQS.AddPermission" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

ChangeMessageVisibility

data ChangeMessageVisibility Source #

See: newChangeMessageVisibility smart constructor.

Instances

Instances details
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

AWSRequest 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 #

Read ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Show ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

NFData ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Methods

rnf :: ChangeMessageVisibility -> () #

Eq ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Hashable ChangeMessageVisibility Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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))))

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.

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

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
Generic ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Associated Types

type Rep ChangeMessageVisibilityResponse :: Type -> Type #

Read ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Show ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

NFData ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibility

Eq 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

ChangeMessageVisibilityBatch

data ChangeMessageVisibilityBatch Source #

See: newChangeMessageVisibilityBatch smart constructor.

Instances

Instances details
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

AWSRequest 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 #

Read ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

Show ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

NFData ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

Eq ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

Hashable ChangeMessageVisibilityBatch Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "ChangeMessageVisibilityBatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ChangeMessageVisibilityBatchRequestEntry])))

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
Generic 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

NFData ChangeMessageVisibilityBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.ChangeMessageVisibilityBatch

Eq 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

CreateQueue

data CreateQueue Source #

See: newCreateQueue smart constructor.

Instances

Instances details
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

AWSRequest CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Associated Types

type AWSResponse CreateQueue #

Generic CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Associated Types

type Rep CreateQueue :: Type -> Type #

Read CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Show CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

NFData CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Methods

rnf :: CreateQueue -> () #

Eq CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Hashable CreateQueue Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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))))

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:

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.
  • RedrivePolicy – The string that includes the parameters for the dead-letter queue functionality of the source queue as a JSON object. For more information about the redrive policy and dead-letter queues, see Using Amazon SQS Dead-Letter Queues in the Amazon SQS Developer Guide.

    • deadLetterTargetArn – The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded.
    • maxReceiveCount – The number of times a message is delivered to the source queue before being moved to the dead-letter queue. When the ReceiveCount for a message exceeds the maxReceiveCount for a queue, Amazon SQS moves the message to the dead-letter-queue.

    The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead-letter queue of a standard queue must also be a standard queue.

  • VisibilityTimeout – The visibility timeout for the queue, in seconds. Valid values: An integer from 0 to 43,200 (12 hours). Default: 30. For more information about the visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide.

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?.
  • SqsManagedSseEnabled – Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (e.g. SSE-KMS or SSE-SQS).

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
Generic CreateQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Associated Types

type Rep CreateQueueResponse :: Type -> Type #

Read CreateQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Show CreateQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

NFData CreateQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

Methods

rnf :: CreateQueueResponse -> () #

Eq CreateQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

type Rep CreateQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.CreateQueue

type Rep CreateQueueResponse = D1 ('MetaData "CreateQueueResponse" "Amazonka.SQS.CreateQueue" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

DeleteMessage

data DeleteMessage Source #

See: newDeleteMessage smart constructor.

Constructors

DeleteMessage' Text Text 

Instances

Instances details
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

AWSRequest DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Associated Types

type AWSResponse DeleteMessage #

Generic DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Associated Types

type Rep DeleteMessage :: Type -> Type #

Read DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Show DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

NFData DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Methods

rnf :: DeleteMessage -> () #

Eq DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Hashable DeleteMessage Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "DeleteMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "receiptHandle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

DeleteMessage, deleteMessage_receiptHandle - The receipt handle associated with the message to delete.

data DeleteMessageResponse Source #

See: newDeleteMessageResponse smart constructor.

Instances

Instances details
Generic DeleteMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Associated Types

type Rep DeleteMessageResponse :: Type -> Type #

Read DeleteMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Show DeleteMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

NFData DeleteMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

Methods

rnf :: DeleteMessageResponse -> () #

Eq DeleteMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

type Rep DeleteMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessage

type Rep DeleteMessageResponse = D1 ('MetaData "DeleteMessageResponse" "Amazonka.SQS.DeleteMessage" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

DeleteMessageBatch

data DeleteMessageBatch Source #

See: newDeleteMessageBatch smart constructor.

Instances

Instances details
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

AWSRequest DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Associated Types

type AWSResponse DeleteMessageBatch #

Generic DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Associated Types

type Rep DeleteMessageBatch :: Type -> Type #

Read DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Show DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

NFData DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Methods

rnf :: DeleteMessageBatch -> () #

Eq DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Hashable DeleteMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "DeleteMessageBatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [DeleteMessageBatchRequestEntry])))

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
Generic DeleteMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Associated Types

type Rep DeleteMessageBatchResponse :: Type -> Type #

Read DeleteMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Show DeleteMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

NFData DeleteMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.DeleteMessageBatch

Eq 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

DeleteQueue

data DeleteQueue Source #

See: newDeleteQueue smart constructor.

Constructors

DeleteQueue' Text 

Instances

Instances details
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

AWSRequest DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

Associated Types

type AWSResponse DeleteQueue #

Generic DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

Associated Types

type Rep DeleteQueue :: Type -> Type #

Read DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

Show DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

NFData DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

Methods

rnf :: DeleteQueue -> () #

Eq DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

Hashable DeleteQueue Source # 
Instance details

Defined in Amazonka.SQS.DeleteQueue

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "DeleteQueue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

GetQueueAttributes

data GetQueueAttributes Source #

See: newGetQueueAttributes smart constructor.

Instances

Instances details
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

AWSRequest GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Associated Types

type AWSResponse GetQueueAttributes #

Generic GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Associated Types

type Rep GetQueueAttributes :: Type -> Type #

Read GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Show GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

NFData GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Methods

rnf :: GetQueueAttributes -> () #

Eq GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Hashable GetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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)))

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.
  • RedrivePolicy – The string that includes the parameters for the dead-letter queue functionality of the source queue as a JSON object. For more information about the redrive policy and dead-letter queues, see Using Amazon SQS Dead-Letter Queues in the Amazon SQS Developer Guide.

    • deadLetterTargetArn – The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded.
    • maxReceiveCount – The number of times a message is delivered to the source queue before being moved to the dead-letter queue. When the ReceiveCount for a message exceeds the maxReceiveCount for a queue, Amazon SQS moves the message to the dead-letter-queue.
  • VisibilityTimeout – Returns the visibility timeout for the queue. For more information about the visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide.

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?.
  • SqsManagedSseEnabled – Returns information about whether the queue is using SSE-SQS encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (e.g. SSE-KMS or SSE-SQS).

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
Generic GetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Associated Types

type Rep GetQueueAttributesResponse :: Type -> Type #

Read GetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Show GetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

NFData GetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueAttributes

Eq 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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:

GetQueueAttributesResponse, getQueueAttributesResponse_attributes - A map of attributes to their respective values.

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

GetQueueUrl

data GetQueueUrl Source #

See: newGetQueueUrl smart constructor.

Constructors

GetQueueUrl' (Maybe Text) Text 

Instances

Instances details
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

AWSRequest GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Associated Types

type AWSResponse GetQueueUrl #

Generic GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Associated Types

type Rep GetQueueUrl :: Type -> Type #

Read GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Show GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

NFData GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Methods

rnf :: GetQueueUrl -> () #

Eq GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Hashable GetQueueUrl Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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)))

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 Amazon Web Services 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
Generic GetQueueUrlResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Associated Types

type Rep GetQueueUrlResponse :: Type -> Type #

Read GetQueueUrlResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Show GetQueueUrlResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

NFData GetQueueUrlResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

Methods

rnf :: GetQueueUrlResponse -> () #

Eq GetQueueUrlResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

type Rep GetQueueUrlResponse Source # 
Instance details

Defined in Amazonka.SQS.GetQueueUrl

type Rep GetQueueUrlResponse = D1 ('MetaData "GetQueueUrlResponse" "Amazonka.SQS.GetQueueUrl" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

ListDeadLetterSourceQueues (Paginated)

data ListDeadLetterSourceQueues Source #

See: newListDeadLetterSourceQueues smart constructor.

Instances

Instances details
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

AWSPager ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

AWSRequest 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 #

Read ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Show ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

NFData ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Eq ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Hashable ListDeadLetterSourceQueues Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "ListDeadLetterSourceQueues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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

ListDeadLetterSourceQueues, listDeadLetterSourceQueues_nextToken - Pagination token to request the next set of results.

$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
Generic ListDeadLetterSourceQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Associated Types

type Rep ListDeadLetterSourceQueuesResponse :: Type -> Type #

Read ListDeadLetterSourceQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Show ListDeadLetterSourceQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

NFData ListDeadLetterSourceQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListDeadLetterSourceQueues

Eq 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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:

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.

ListQueueTags

data ListQueueTags Source #

See: newListQueueTags smart constructor.

Constructors

ListQueueTags' Text 

Instances

Instances details
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

AWSRequest ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Associated Types

type AWSResponse ListQueueTags #

Generic ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Associated Types

type Rep ListQueueTags :: Type -> Type #

Read ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Show ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

NFData ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Methods

rnf :: ListQueueTags -> () #

Eq ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Hashable ListQueueTags Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "ListQueueTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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
Generic ListQueueTagsResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Associated Types

type Rep ListQueueTagsResponse :: Type -> Type #

Read ListQueueTagsResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Show ListQueueTagsResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

NFData ListQueueTagsResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

Methods

rnf :: ListQueueTagsResponse -> () #

Eq ListQueueTagsResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

type Rep ListQueueTagsResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueueTags

type Rep ListQueueTagsResponse = D1 ('MetaData "ListQueueTagsResponse" "Amazonka.SQS.ListQueueTags" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

ListQueues (Paginated)

data ListQueues Source #

See: newListQueues smart constructor.

Constructors

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

Instances

Instances details
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

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 #

Generic ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Associated Types

type Rep ListQueues :: Type -> Type #

Read ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Show ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

NFData ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Methods

rnf :: ListQueues -> () #

Eq ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Hashable ListQueues Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "ListQueues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queueNamePrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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

ListQueues, listQueues_nextToken - Pagination token to request the next set of results.

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

data ListQueuesResponse Source #

A list of your queues.

See: newListQueuesResponse smart constructor.

Instances

Instances details
Generic ListQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Associated Types

type Rep ListQueuesResponse :: Type -> Type #

Read ListQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Show ListQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

NFData ListQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

Methods

rnf :: ListQueuesResponse -> () #

Eq ListQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

type Rep ListQueuesResponse Source # 
Instance details

Defined in Amazonka.SQS.ListQueues

type Rep ListQueuesResponse = D1 ('MetaData "ListQueuesResponse" "Amazonka.SQS.ListQueues" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "ListQueuesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "queueUrls") '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:

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: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:httpStatus:ListQueuesResponse', listQueuesResponse_httpStatus - The response's http status code.

PurgeQueue

data PurgeQueue Source #

See: newPurgeQueue smart constructor.

Constructors

PurgeQueue' Text 

Instances

Instances details
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

AWSRequest PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Associated Types

type AWSResponse PurgeQueue #

Generic PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Associated Types

type Rep PurgeQueue :: Type -> Type #

Read PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Show PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

NFData PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Methods

rnf :: PurgeQueue -> () #

Eq PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Hashable PurgeQueue Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "PurgeQueue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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
Generic PurgeQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Associated Types

type Rep PurgeQueueResponse :: Type -> Type #

Read PurgeQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Show PurgeQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

NFData PurgeQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

Methods

rnf :: PurgeQueueResponse -> () #

Eq PurgeQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

type Rep PurgeQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.PurgeQueue

type Rep PurgeQueueResponse = D1 ('MetaData "PurgeQueueResponse" "Amazonka.SQS.PurgeQueue" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

ReceiveMessage

data ReceiveMessage Source #

See: newReceiveMessage smart constructor.

Instances

Instances details
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

AWSRequest ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Associated Types

type AWSResponse ReceiveMessage #

Generic ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Associated Types

type Rep ReceiveMessage :: Type -> Type #

Read ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Show ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

NFData ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Methods

rnf :: ReceiveMessage -> () #

Eq ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Hashable ReceiveMessage Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "ReceiveMessage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "attributeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MessageAttribute])) :*: (S1 ('MetaSel ('Just "maxNumberOfMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "messageAttributeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "receiveRequestAttemptId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "visibilityTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "waitTimeSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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: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).
  • SqsManagedSseEnabled – Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (e.g. SSE-KMS or SSE-SQS).
  • MessageDeduplicationId – Returns the value provided by the producer that calls the SendMessage action.
  • MessageGroupId – Returns the value provided by the producer that calls the SendMessage action. Messages with the same MessageGroupId are returned in sequence.
  • SequenceNumber – Returns the value provided by Amazon SQS.

$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: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: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.

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: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: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
Generic ReceiveMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Associated Types

type Rep ReceiveMessageResponse :: Type -> Type #

Read ReceiveMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Show ReceiveMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

NFData ReceiveMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

Methods

rnf :: ReceiveMessageResponse -> () #

Eq ReceiveMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

type Rep ReceiveMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.ReceiveMessage

type Rep ReceiveMessageResponse = D1 ('MetaData "ReceiveMessageResponse" "Amazonka.SQS.ReceiveMessage" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

RemovePermission

data RemovePermission Source #

See: newRemovePermission smart constructor.

Instances

Instances details
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

AWSRequest RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Associated Types

type AWSResponse RemovePermission #

Generic RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Associated Types

type Rep RemovePermission :: Type -> Type #

Read RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Show RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

NFData RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Methods

rnf :: RemovePermission -> () #

Eq RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Hashable RemovePermission Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "RemovePermission'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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
Generic RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Associated Types

type Rep RemovePermissionResponse :: Type -> Type #

Read RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Show RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

NFData RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SQS.RemovePermission

Eq 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

SendMessage

data SendMessage Source #

See: newSendMessage smart constructor.

Instances

Instances details
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

AWSRequest SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Associated Types

type AWSResponse SendMessage #

Generic SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Associated Types

type Rep SendMessage :: Type -> Type #

Read SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Show SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

NFData SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Methods

rnf :: SendMessage -> () #

Eq SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Hashable SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

type AWSResponse SendMessage Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

type Rep 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:

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.

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.

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.

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.

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:queueUrl:SendMessage', sendMessage_queueUrl - The URL of the Amazon SQS queue to which a message is sent.

Queue URLs and names are case-sensitive.

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
Generic SendMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Associated Types

type Rep SendMessageResponse :: Type -> Type #

Read SendMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Show SendMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

NFData SendMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

Methods

rnf :: SendMessageResponse -> () #

Eq SendMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

type Rep SendMessageResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessage

type Rep SendMessageResponse = D1 ('MetaData "SendMessageResponse" "Amazonka.SQS.SendMessage" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "SendMessageResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "mD5OfMessageAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mD5OfMessageBody") '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 "sequenceNumber") '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:

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.

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.

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.

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.

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:httpStatus:SendMessageResponse', sendMessageResponse_httpStatus - The response's http status code.

SendMessageBatch

data SendMessageBatch Source #

See: newSendMessageBatch smart constructor.

Instances

Instances details
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

AWSRequest SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Associated Types

type AWSResponse SendMessageBatch #

Generic SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Associated Types

type Rep SendMessageBatch :: Type -> Type #

Read SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Show SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

NFData SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Methods

rnf :: SendMessageBatch -> () #

Eq SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Hashable SendMessageBatch Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "SendMessageBatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SendMessageBatchRequestEntry])))

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
Generic SendMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Associated Types

type Rep SendMessageBatchResponse :: Type -> Type #

Read SendMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Show SendMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

NFData SendMessageBatchResponse Source # 
Instance details

Defined in Amazonka.SQS.SendMessageBatch

Eq 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

SetQueueAttributes

data SetQueueAttributes Source #

See: newSetQueueAttributes smart constructor.

Instances

Instances details
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

AWSRequest SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Associated Types

type AWSResponse SetQueueAttributes #

Generic SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Associated Types

type Rep SetQueueAttributes :: Type -> Type #

Read SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Show SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

NFData SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Methods

rnf :: SetQueueAttributes -> () #

Eq SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Hashable SetQueueAttributes Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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))))

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.

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.
  • RedrivePolicy – The string that includes the parameters for the dead-letter queue functionality of the source queue as a JSON object. For more information about the redrive policy and dead-letter queues, see Using Amazon SQS Dead-Letter Queues in the Amazon SQS Developer Guide.

    • deadLetterTargetArn – The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded.
    • maxReceiveCount – The number of times a message is delivered to the source queue before being moved to the dead-letter queue. When the ReceiveCount for a message exceeds the maxReceiveCount for a queue, Amazon SQS moves the message to the dead-letter-queue.

    The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead-letter queue of a standard queue must also be a standard queue.

  • VisibilityTimeout – The visibility timeout for the queue, in seconds. Valid values: An integer from 0 to 43,200 (12 hours). Default: 30. For more information about the visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide.

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?.
  • SqsManagedSseEnabled – Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (e.g. SSE-KMS or SSE-SQS).

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
Generic SetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Associated Types

type Rep SetQueueAttributesResponse :: Type -> Type #

Read SetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Show SetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

NFData SetQueueAttributesResponse Source # 
Instance details

Defined in Amazonka.SQS.SetQueueAttributes

Eq 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

TagQueue

data TagQueue Source #

See: newTagQueue smart constructor.

Constructors

TagQueue' Text (HashMap Text Text) 

Instances

Instances details
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

AWSRequest TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Associated Types

type AWSResponse 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 #

Read TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Show TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

NFData TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Methods

rnf :: TagQueue -> () #

Eq TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Hashable TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Methods

hashWithSalt :: Int -> TagQueue -> Int #

hash :: TagQueue -> Int #

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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))))

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
Generic TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Associated Types

type Rep TagQueueResponse :: Type -> Type #

Read TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Show TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

NFData TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Methods

rnf :: TagQueueResponse -> () #

Eq TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

type Rep TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

type Rep TagQueueResponse = D1 ('MetaData "TagQueueResponse" "Amazonka.SQS.TagQueue" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

UntagQueue

data UntagQueue Source #

See: newUntagQueue smart constructor.

Constructors

UntagQueue' Text [Text] 

Instances

Instances details
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

AWSRequest UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Associated Types

type AWSResponse UntagQueue #

Generic UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Associated Types

type Rep UntagQueue :: Type -> Type #

Read UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Show UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

NFData UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Methods

rnf :: UntagQueue -> () #

Eq UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Hashable UntagQueue Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

type AWSResponse 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "UntagQueue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

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
Generic UntagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Associated Types

type Rep UntagQueueResponse :: Type -> Type #

Read UntagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Show UntagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

NFData UntagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

Methods

rnf :: UntagQueueResponse -> () #

Eq UntagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

type Rep UntagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.UntagQueue

type Rep UntagQueueResponse = D1 ('MetaData "UntagQueueResponse" "Amazonka.SQS.UntagQueue" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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.

Types

MessageAttribute

newtype MessageAttribute Source #

Instances

Instances details
FromJSON MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

FromJSONKey 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

ToByteString MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

ToHeader MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

ToLog MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

ToQuery 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

FromXML MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

ToXML 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 #

Read MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

Show MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

NFData MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

Methods

rnf :: MessageAttribute -> () #

Eq MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

Ord MessageAttribute Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttribute

Hashable 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'True) (C1 ('MetaCons "MessageAttribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMessageAttribute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MessageSystemAttributeNameForSends

newtype MessageSystemAttributeNameForSends Source #

Instances

Instances details
FromJSON MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

FromJSONKey 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

ToByteString MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

ToHeader MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

ToLog MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

ToQuery 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

FromXML MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

ToXML 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 #

Read MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

Show MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

NFData MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

Eq MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

Ord MessageSystemAttributeNameForSends Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeNameForSends

Hashable 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'True) (C1 ('MetaCons "MessageSystemAttributeNameForSends'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMessageSystemAttributeNameForSends") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

QueueAttributeName

newtype QueueAttributeName Source #

Bundled Patterns

pattern QueueAttributeName_All :: QueueAttributeName 
pattern QueueAttributeName_ApproximateNumberOfMessages :: QueueAttributeName 
pattern QueueAttributeName_ApproximateNumberOfMessagesDelayed :: QueueAttributeName 
pattern QueueAttributeName_ApproximateNumberOfMessagesNotVisible :: QueueAttributeName 
pattern QueueAttributeName_ContentBasedDeduplication :: QueueAttributeName 
pattern QueueAttributeName_CreatedTimestamp :: QueueAttributeName 
pattern QueueAttributeName_DeduplicationScope :: QueueAttributeName 
pattern QueueAttributeName_DelaySeconds :: QueueAttributeName 
pattern QueueAttributeName_FifoQueue :: QueueAttributeName 
pattern QueueAttributeName_FifoThroughputLimit :: QueueAttributeName 
pattern QueueAttributeName_KmsDataKeyReusePeriodSeconds :: QueueAttributeName 
pattern QueueAttributeName_KmsMasterKeyId :: QueueAttributeName 
pattern QueueAttributeName_LastModifiedTimestamp :: QueueAttributeName 
pattern QueueAttributeName_MaximumMessageSize :: QueueAttributeName 
pattern QueueAttributeName_MessageRetentionPeriod :: QueueAttributeName 
pattern QueueAttributeName_Policy :: QueueAttributeName 
pattern QueueAttributeName_QueueArn :: QueueAttributeName 
pattern QueueAttributeName_ReceiveMessageWaitTimeSeconds :: QueueAttributeName 
pattern QueueAttributeName_RedriveAllowPolicy :: QueueAttributeName 
pattern QueueAttributeName_RedrivePolicy :: QueueAttributeName 
pattern QueueAttributeName_SqsManagedSseEnabled :: QueueAttributeName 
pattern QueueAttributeName_VisibilityTimeout :: QueueAttributeName 

Instances

Instances details
FromJSON QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

FromJSONKey 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

ToByteString QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

ToHeader QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

ToLog QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

ToQuery 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

FromXML QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

ToXML 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 #

Read QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

Show QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

NFData QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

Methods

rnf :: QueueAttributeName -> () #

Eq QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

Ord QueueAttributeName Source # 
Instance details

Defined in Amazonka.SQS.Types.QueueAttributeName

Hashable 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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
FromXML 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 #

Read BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

Show BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

NFData BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

Methods

rnf :: BatchResultErrorEntry -> () #

Eq BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

Hashable 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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
ToQuery ChangeMessageVisibilityBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry

Generic 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

NFData ChangeMessageVisibilityBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry

Eq ChangeMessageVisibilityBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchRequestEntry

Hashable 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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
FromXML ChangeMessageVisibilityBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry

Generic 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

NFData ChangeMessageVisibilityBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry

Eq ChangeMessageVisibilityBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.ChangeMessageVisibilityBatchResultEntry

Hashable 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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
ToQuery 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 #

Read DeleteMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchRequestEntry

Show DeleteMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchRequestEntry

NFData DeleteMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchRequestEntry

Eq DeleteMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchRequestEntry

Hashable 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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
FromXML 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 #

Read DeleteMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchResultEntry

Show DeleteMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchResultEntry

NFData DeleteMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchResultEntry

Eq DeleteMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.DeleteMessageBatchResultEntry

Hashable 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" '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
FromXML 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 #

Read Message Source # 
Instance details

Defined in Amazonka.SQS.Types.Message

Show Message Source # 
Instance details

Defined in Amazonka.SQS.Types.Message

NFData Message Source # 
Instance details

Defined in Amazonka.SQS.Types.Message

Methods

rnf :: Message -> () #

Eq Message Source # 
Instance details

Defined in Amazonka.SQS.Types.Message

Methods

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

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

Hashable Message Source # 
Instance details

Defined in Amazonka.SQS.Types.Message

Methods

hashWithSalt :: Int -> Message -> Int #

hash :: Message -> Int #

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: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:body:Message', message_body - The message's contents (not URL-encoded).

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

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

$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:messageId:Message', message_messageId - A unique identifier for the message. A MessageIdis considered unique across all Amazon Web Services accounts for an extended period of time.

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

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
ToQuery MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttributeValue

FromXML 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 #

Read MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttributeValue

Show MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttributeValue

NFData MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttributeValue

Methods

rnf :: MessageAttributeValue -> () #

Eq MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageAttributeValue

Hashable 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "MessageAttributeValue'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "binaryListValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Base64])) :*: 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 "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:binaryListValues:MessageAttributeValue', messageAttributeValue_binaryListValues - Not implemented. Reserved for future use.

$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: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
ToQuery 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 #

Read MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

Show MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

NFData MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

Eq MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

Hashable 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "MessageSystemAttributeValue'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "binaryListValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Base64])) :*: 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 "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:binaryListValues:MessageSystemAttributeValue', messageSystemAttributeValue_binaryListValues - Not implemented. Reserved for future use.

$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: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
ToQuery 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 #

Read SendMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchRequestEntry

Show SendMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchRequestEntry

NFData SendMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchRequestEntry

Eq SendMessageBatchRequestEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchRequestEntry

Hashable 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "SendMessageBatchRequestEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "delaySeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "messageAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MessageAttributeValue))) :*: S1 ('MetaSel ('Just "messageDeduplicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "messageGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "messageSystemAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap MessageSystemAttributeNameForSends MessageSystemAttributeValue)))) :*: (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: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: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: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: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: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
FromXML 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 #

Read SendMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchResultEntry

Show SendMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchResultEntry

NFData SendMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchResultEntry

Eq SendMessageBatchResultEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.SendMessageBatchResultEntry

Hashable 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" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "SendMessageBatchResultEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "mD5OfMessageAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mD5OfMessageSystemAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sequenceNumber") '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: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: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: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: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.