diff --git a/clients/client-sqs/README.md b/clients/client-sqs/README.md index 522279aa8100..398f34f08d4a 100644 --- a/clients/client-sqs/README.md +++ b/clients/client-sqs/README.md @@ -7,15 +7,15 @@ AWS SDK for JavaScript SQS Client for Node.js, Browser and React Native.

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.

+

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:

+

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:

*

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.

+ * 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.

* @public */ AttributeNames?: QueueAttributeName[]; @@ -1382,8 +1343,7 @@ export interface GetQueueUrlRequest { QueueName: string | undefined; /** - *

The Amazon Web - * Services account ID of the account that created the queue.

+ *

The Amazon Web Services account ID of the account that created the queue.

* @public */ QueueOwnerAWSAccountId?: string; @@ -1391,7 +1351,7 @@ export interface GetQueueUrlRequest { /** *

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

+ * Guide
.

* @public */ export interface GetQueueUrlResult { @@ -1520,7 +1480,8 @@ export interface ListMessageMoveTasksResultEntry { /** *

The number of messages to be moved from the source queue. This number is obtained at - * the time of starting the message movement task.

+ * the time of starting the message movement task and is only included after the message + * movement task is selected to start.

* @public */ ApproximateNumberOfMessagesToMove?: number; @@ -1809,6 +1770,28 @@ export class KmsThrottled extends __BaseException { } } +/** + * @public + * @enum + */ +export const MessageSystemAttributeName = { + AWSTraceHeader: "AWSTraceHeader", + All: "All", + ApproximateFirstReceiveTimestamp: "ApproximateFirstReceiveTimestamp", + ApproximateReceiveCount: "ApproximateReceiveCount", + DeadLetterQueueSourceArn: "DeadLetterQueueSourceArn", + MessageDeduplicationId: "MessageDeduplicationId", + MessageGroupId: "MessageGroupId", + SenderId: "SenderId", + SentTimestamp: "SentTimestamp", + SequenceNumber: "SequenceNumber", +} as const; + +/** + * @public + */ +export type MessageSystemAttributeName = (typeof MessageSystemAttributeName)[keyof typeof MessageSystemAttributeName]; + /** *

* @public @@ -1822,7 +1805,15 @@ export interface ReceiveMessageRequest { QueueUrl: string | undefined; /** - *

A list of attributes that need to be returned along with each message. These + * @deprecated + * + * + *

+ * This parameter has been deprecated but will be supported for backward compatibility. + * To provide attribute names, you are encouraged to use MessageSystemAttributeNames. + *

+ * + *

A list of attributes that need to be returned along with each message. These * attributes include:

* * @public */ AttributeNames?: QueueAttributeName[]; + /** + *

A list of attributes that need to be returned along with each message. These + * attributes include:

+ * + * @public + */ + MessageSystemAttributeNames?: MessageSystemAttributeName[]; + /** *

The name of the message attribute, where N is the index.

*