@aws-sdk/client-sqs 3.40.0 → 3.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,47 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
29
+
30
+ **Note:** Version bump only for package @aws-sdk/client-sqs
31
+
32
+
33
+
34
+
35
+
36
+ # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
37
+
38
+
39
+ ### Features
40
+
41
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
42
+
43
+
44
+
45
+
46
+
6
47
  # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
7
48
 
8
49
 
@@ -81,6 +81,7 @@ const partitionHash = {
81
81
  "ap-south-1",
82
82
  "ap-southeast-1",
83
83
  "ap-southeast-2",
84
+ "ap-southeast-3",
84
85
  "ca-central-1",
85
86
  "eu-central-1",
86
87
  "eu-north-1",
@@ -149,6 +150,10 @@ const partitionHash = {
149
150
  hostname: "sqs.{region}.c2s.ic.gov",
150
151
  tags: [],
151
152
  },
153
+ {
154
+ hostname: "sqs-fips.{region}.c2s.ic.gov",
155
+ tags: ["fips"],
156
+ },
152
157
  ],
153
158
  },
154
159
  "aws-iso-b": {
@@ -159,6 +164,10 @@ const partitionHash = {
159
164
  hostname: "sqs.{region}.sc2s.sgov.gov",
160
165
  tags: [],
161
166
  },
167
+ {
168
+ hostname: "sqs-fips.{region}.sc2s.sgov.gov",
169
+ tags: ["fips"],
170
+ },
162
171
  ],
163
172
  },
164
173
  "aws-us-gov": {
@@ -79,6 +79,7 @@ var partitionHash = {
79
79
  "ap-south-1",
80
80
  "ap-southeast-1",
81
81
  "ap-southeast-2",
82
+ "ap-southeast-3",
82
83
  "ca-central-1",
83
84
  "eu-central-1",
84
85
  "eu-north-1",
@@ -147,6 +148,10 @@ var partitionHash = {
147
148
  hostname: "sqs.{region}.c2s.ic.gov",
148
149
  tags: [],
149
150
  },
151
+ {
152
+ hostname: "sqs-fips.{region}.c2s.ic.gov",
153
+ tags: ["fips"],
154
+ },
150
155
  ],
151
156
  },
152
157
  "aws-iso-b": {
@@ -157,6 +162,10 @@ var partitionHash = {
157
162
  hostname: "sqs.{region}.sc2s.sgov.gov",
158
163
  tags: [],
159
164
  },
165
+ {
166
+ hostname: "sqs-fips.{region}.sc2s.sgov.gov",
167
+ tags: ["fips"],
168
+ },
160
169
  ],
161
170
  },
162
171
  "aws-us-gov": {
@@ -59,7 +59,7 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
59
59
  *
60
60
  * @see {@link AddPermissionCommandInput} for command's `input` shape.
61
61
  * @see {@link AddPermissionCommandOutput} for command's `response` shape.
62
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
62
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
63
63
  *
64
64
  */
65
65
  export declare class AddPermissionCommand extends $Command<AddPermissionCommandInput, AddPermissionCommandOutput, SQSClientResolvedConfig> {
@@ -34,7 +34,7 @@ export interface ChangeMessageVisibilityBatchCommandOutput extends ChangeMessage
34
34
  *
35
35
  * @see {@link ChangeMessageVisibilityBatchCommandInput} for command's `input` shape.
36
36
  * @see {@link ChangeMessageVisibilityBatchCommandOutput} for command's `response` shape.
37
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
37
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
38
38
  *
39
39
  */
40
40
  export declare class ChangeMessageVisibilityBatchCommand extends $Command<ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput, SQSClientResolvedConfig> {
@@ -53,7 +53,7 @@ export interface ChangeMessageVisibilityCommandOutput extends __MetadataBearer {
53
53
  *
54
54
  * @see {@link ChangeMessageVisibilityCommandInput} for command's `input` shape.
55
55
  * @see {@link ChangeMessageVisibilityCommandOutput} for command's `response` shape.
56
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
56
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
57
57
  *
58
58
  */
59
59
  export declare class ChangeMessageVisibilityCommand extends $Command<ChangeMessageVisibilityCommandInput, ChangeMessageVisibilityCommandOutput, SQSClientResolvedConfig> {
@@ -71,7 +71,7 @@ export interface CreateQueueCommandOutput extends CreateQueueResult, __MetadataB
71
71
  *
72
72
  * @see {@link CreateQueueCommandInput} for command's `input` shape.
73
73
  * @see {@link CreateQueueCommandOutput} for command's `response` shape.
74
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
74
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
75
75
  *
76
76
  */
77
77
  export declare class CreateQueueCommand extends $Command<CreateQueueCommandInput, CreateQueueCommandOutput, SQSClientResolvedConfig> {
@@ -31,7 +31,7 @@ export interface DeleteMessageBatchCommandOutput extends DeleteMessageBatchResul
31
31
  *
32
32
  * @see {@link DeleteMessageBatchCommandInput} for command's `input` shape.
33
33
  * @see {@link DeleteMessageBatchCommandOutput} for command's `response` shape.
34
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
34
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
35
35
  *
36
36
  */
37
37
  export declare class DeleteMessageBatchCommand extends $Command<DeleteMessageBatchCommandInput, DeleteMessageBatchCommandOutput, SQSClientResolvedConfig> {
@@ -39,7 +39,7 @@ export interface DeleteMessageCommandOutput extends __MetadataBearer {
39
39
  *
40
40
  * @see {@link DeleteMessageCommandInput} for command's `input` shape.
41
41
  * @see {@link DeleteMessageCommandOutput} for command's `response` shape.
42
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
42
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
43
43
  *
44
44
  */
45
45
  export declare class DeleteMessageCommand extends $Command<DeleteMessageCommandInput, DeleteMessageCommandOutput, SQSClientResolvedConfig> {
@@ -34,7 +34,7 @@ export interface DeleteQueueCommandOutput extends __MetadataBearer {
34
34
  *
35
35
  * @see {@link DeleteQueueCommandInput} for command's `input` shape.
36
36
  * @see {@link DeleteQueueCommandOutput} for command's `response` shape.
37
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
37
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
38
38
  *
39
39
  */
40
40
  export declare class DeleteQueueCommand extends $Command<DeleteQueueCommandInput, DeleteQueueCommandOutput, SQSClientResolvedConfig> {
@@ -23,7 +23,7 @@ export interface GetQueueAttributesCommandOutput extends GetQueueAttributesResul
23
23
  *
24
24
  * @see {@link GetQueueAttributesCommandInput} for command's `input` shape.
25
25
  * @see {@link GetQueueAttributesCommandOutput} for command's `response` shape.
26
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class GetQueueAttributesCommand extends $Command<GetQueueAttributesCommandInput, GetQueueAttributesCommandOutput, SQSClientResolvedConfig> {
@@ -25,7 +25,7 @@ export interface GetQueueUrlCommandOutput extends GetQueueUrlResult, __MetadataB
25
25
  *
26
26
  * @see {@link GetQueueUrlCommandInput} for command's `input` shape.
27
27
  * @see {@link GetQueueUrlCommandOutput} for command's `response` shape.
28
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
28
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
29
29
  *
30
30
  */
31
31
  export declare class GetQueueUrlCommand extends $Command<GetQueueUrlCommandInput, GetQueueUrlCommandOutput, SQSClientResolvedConfig> {
@@ -30,7 +30,7 @@ export interface ListDeadLetterSourceQueuesCommandOutput extends ListDeadLetterS
30
30
  *
31
31
  * @see {@link ListDeadLetterSourceQueuesCommandInput} for command's `input` shape.
32
32
  * @see {@link ListDeadLetterSourceQueuesCommandOutput} for command's `response` shape.
33
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
33
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
34
34
  *
35
35
  */
36
36
  export declare class ListDeadLetterSourceQueuesCommand extends $Command<ListDeadLetterSourceQueuesCommandInput, ListDeadLetterSourceQueuesCommandOutput, SQSClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface ListQueueTagsCommandOutput extends ListQueueTagsResult, __Metad
26
26
  *
27
27
  * @see {@link ListQueueTagsCommandInput} for command's `input` shape.
28
28
  * @see {@link ListQueueTagsCommandOutput} for command's `response` shape.
29
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class ListQueueTagsCommand extends $Command<ListQueueTagsCommandInput, ListQueueTagsCommandOutput, SQSClientResolvedConfig> {
@@ -33,7 +33,7 @@ export interface ListQueuesCommandOutput extends ListQueuesResult, __MetadataBea
33
33
  *
34
34
  * @see {@link ListQueuesCommandInput} for command's `input` shape.
35
35
  * @see {@link ListQueuesCommandOutput} for command's `response` shape.
36
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
36
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
37
37
  *
38
38
  */
39
39
  export declare class ListQueuesCommand extends $Command<ListQueuesCommandInput, ListQueuesCommandOutput, SQSClientResolvedConfig> {
@@ -33,7 +33,7 @@ export interface PurgeQueueCommandOutput extends __MetadataBearer {
33
33
  *
34
34
  * @see {@link PurgeQueueCommandInput} for command's `input` shape.
35
35
  * @see {@link PurgeQueueCommandOutput} for command's `response` shape.
36
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
36
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
37
37
  *
38
38
  */
39
39
  export declare class PurgeQueueCommand extends $Command<PurgeQueueCommandInput, PurgeQueueCommandOutput, SQSClientResolvedConfig> {
@@ -55,7 +55,7 @@ export interface ReceiveMessageCommandOutput extends ReceiveMessageResult, __Met
55
55
  *
56
56
  * @see {@link ReceiveMessageCommandInput} for command's `input` shape.
57
57
  * @see {@link ReceiveMessageCommandOutput} for command's `response` shape.
58
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
58
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
59
59
  *
60
60
  */
61
61
  export declare class ReceiveMessageCommand extends $Command<ReceiveMessageCommandInput, ReceiveMessageCommandOutput, SQSClientResolvedConfig> {
@@ -35,7 +35,7 @@ export interface RemovePermissionCommandOutput extends __MetadataBearer {
35
35
  *
36
36
  * @see {@link RemovePermissionCommandInput} for command's `input` shape.
37
37
  * @see {@link RemovePermissionCommandOutput} for command's `response` shape.
38
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
38
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
39
39
  *
40
40
  */
41
41
  export declare class RemovePermissionCommand extends $Command<RemovePermissionCommandInput, RemovePermissionCommandOutput, SQSClientResolvedConfig> {
@@ -38,7 +38,7 @@ export interface SendMessageBatchCommandOutput extends SendMessageBatchResult, _
38
38
  *
39
39
  * @see {@link SendMessageBatchCommandInput} for command's `input` shape.
40
40
  * @see {@link SendMessageBatchCommandOutput} for command's `response` shape.
41
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
41
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
42
42
  *
43
43
  */
44
44
  export declare class SendMessageBatchCommand extends $Command<SendMessageBatchCommandInput, SendMessageBatchCommandOutput, SQSClientResolvedConfig> {
@@ -27,7 +27,7 @@ export interface SendMessageCommandOutput extends SendMessageResult, __MetadataB
27
27
  *
28
28
  * @see {@link SendMessageCommandInput} for command's `input` shape.
29
29
  * @see {@link SendMessageCommandOutput} for command's `response` shape.
30
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class SendMessageCommand extends $Command<SendMessageCommandInput, SendMessageCommandOutput, SQSClientResolvedConfig> {
@@ -36,7 +36,7 @@ export interface SetQueueAttributesCommandOutput extends __MetadataBearer {
36
36
  *
37
37
  * @see {@link SetQueueAttributesCommandInput} for command's `input` shape.
38
38
  * @see {@link SetQueueAttributesCommandOutput} for command's `response` shape.
39
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
39
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
40
40
  *
41
41
  */
42
42
  export declare class SetQueueAttributesCommand extends $Command<SetQueueAttributesCommandInput, SetQueueAttributesCommandOutput, SQSClientResolvedConfig> {
@@ -45,7 +45,7 @@ export interface TagQueueCommandOutput extends __MetadataBearer {
45
45
  *
46
46
  * @see {@link TagQueueCommandInput} for command's `input` shape.
47
47
  * @see {@link TagQueueCommandOutput} for command's `response` shape.
48
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
48
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
49
49
  *
50
50
  */
51
51
  export declare class TagQueueCommand extends $Command<TagQueueCommandInput, TagQueueCommandOutput, SQSClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface UntagQueueCommandOutput extends __MetadataBearer {
26
26
  *
27
27
  * @see {@link UntagQueueCommandInput} for command's `input` shape.
28
28
  * @see {@link UntagQueueCommandOutput} for command's `response` shape.
29
- * @see {@link SQSClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class UntagQueueCommand extends $Command<UntagQueueCommandInput, UntagQueueCommandOutput, SQSClientResolvedConfig> {
@@ -13,8 +13,8 @@ export interface AddPermissionRequest {
13
13
  */
14
14
  Label: string | undefined;
15
15
  /**
16
- * <p>The account numbers of the <a href="https://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P">principals</a> who are to receive
17
- * permission. For information about locating the account identification, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#sqs-api-request-authentication">Your Amazon Web Services Identifiers</a> in the <i>Amazon SQS Developer
16
+ * <p>The Amazon Web Services account numbers of the <a href="https://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P">principals</a> who are to receive
17
+ * permission. For information about locating the Amazon Web Services account identification, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#sqs-api-request-authentication">Your Amazon Web Services Identifiers</a> in the <i>Amazon SQS Developer
18
18
  * Guide</i>.</p>
19
19
  */
20
20
  AWSAccountIds: string[] | undefined;
@@ -283,7 +283,7 @@ export declare namespace TooManyEntriesInBatchRequest {
283
283
  */
284
284
  const filterSensitiveLog: (obj: TooManyEntriesInBatchRequest) => any;
285
285
  }
286
- export declare type QueueAttributeName = "All" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesDelayed" | "ApproximateNumberOfMessagesNotVisible" | "ContentBasedDeduplication" | "CreatedTimestamp" | "DeduplicationScope" | "DelaySeconds" | "FifoQueue" | "FifoThroughputLimit" | "KmsDataKeyReusePeriodSeconds" | "KmsMasterKeyId" | "LastModifiedTimestamp" | "MaximumMessageSize" | "MessageRetentionPeriod" | "Policy" | "QueueArn" | "ReceiveMessageWaitTimeSeconds" | "RedriveAllowPolicy" | "RedrivePolicy" | "VisibilityTimeout";
286
+ export declare type QueueAttributeName = "All" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesDelayed" | "ApproximateNumberOfMessagesNotVisible" | "ContentBasedDeduplication" | "CreatedTimestamp" | "DeduplicationScope" | "DelaySeconds" | "FifoQueue" | "FifoThroughputLimit" | "KmsDataKeyReusePeriodSeconds" | "KmsMasterKeyId" | "LastModifiedTimestamp" | "MaximumMessageSize" | "MessageRetentionPeriod" | "Policy" | "QueueArn" | "ReceiveMessageWaitTimeSeconds" | "RedriveAllowPolicy" | "RedrivePolicy" | "SqsManagedSseEnabled" | "VisibilityTimeout";
287
287
  /**
288
288
  * <p></p>
289
289
  */
@@ -369,79 +369,31 @@ export interface CreateQueueRequest {
369
369
  * </p>
370
370
  * </li>
371
371
  * <li>
372
- * <p>
373
- * <code>VisibilityTimeout</code> – 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
374
- * <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html">Visibility Timeout</a> in the <i>Amazon SQS Developer Guide</i>.</p>
375
- * </li>
376
- * </ul>
377
- *
378
- *
379
- * <p>The following attributes apply only to <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html">dead-letter queues:</a>
380
- * </p>
381
- * <ul>
382
- * <li>
383
372
  * <p>
384
373
  * <code>RedrivePolicy</code> – The string that includes the parameters for the dead-letter queue functionality
385
- * of the source queue as a JSON object. The parameters are as follows:</p>
386
- * <ul>
374
+ * of the source queue as a JSON object. For more information about the redrive policy and dead-letter queues, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html">Using Amazon SQS Dead-Letter Queues</a>
375
+ * in the <i>Amazon SQS Developer Guide</i>.</p>
376
+ * <ul>
387
377
  * <li>
388
- * <p>
389
- * <code>deadLetterTargetArn</code> – The Amazon Resource Name (ARN) of the dead-letter queue to
390
- * which Amazon SQS moves messages after the value of <code>maxReceiveCount</code> is exceeded.</p>
378
+ * <p>
379
+ * <code>deadLetterTargetArn</code> – The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of <code>maxReceiveCount</code> is exceeded.</p>
391
380
  * </li>
392
381
  * <li>
393
- * <p>
394
- * <code>maxReceiveCount</code> – The number of times a message is delivered to the source queue before being
395
- * moved to the dead-letter queue. When the <code>ReceiveCount</code> for a message exceeds the <code>maxReceiveCount</code>
396
- * for a queue, Amazon SQS moves the message to the dead-letter-queue.</p>
382
+ * <p>
383
+ * <code>maxReceiveCount</code> – The number of times a message is delivered to the source queue before being moved to the dead-letter queue.
384
+ * When the <code>ReceiveCount</code> for a message exceeds the <code>maxReceiveCount</code> for a queue, Amazon SQS moves the message to the dead-letter-queue.</p>
397
385
  * </li>
398
386
  * </ul>
387
+ * <note>
388
+ * <p>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.</p>
389
+ * </note>
399
390
  * </li>
400
391
  * <li>
401
392
  * <p>
402
- * <code>RedriveAllowPolicy</code> – The string that includes the parameters for the permissions for the dead-letter
403
- * queue redrive permission and which source queues can specify dead-letter queues as a JSON object. The parameters are as follows:</p>
404
- * <ul>
405
- * <li>
406
- * <p>
407
- * <code>redrivePermission</code> – The permission type that defines which source queues can
408
- * specify the current queue as the dead-letter queue. Valid values are:</p>
409
- * <ul>
410
- * <li>
411
- * <p>
412
- * <code>allowAll</code> – (Default) Any source queues in this Amazon Web Services account in the same Region can
413
- * specify this queue as the dead-letter queue.</p>
414
- * </li>
415
- * <li>
416
- * <p>
417
- * <code>denyAll</code> – No source queues can specify this queue as the dead-letter
418
- * queue.</p>
419
- * </li>
420
- * <li>
421
- * <p>
422
- * <code>byQueue</code> – Only queues specified by the <code>sourceQueueArns</code> parameter can specify
423
- * this queue as the dead-letter queue.</p>
424
- * </li>
425
- * </ul>
426
- * </li>
427
- * <li>
428
- * <p>
429
- * <code>sourceQueueArns</code> – The Amazon Resource Names (ARN)s of the source queues that can specify
430
- * this queue as the dead-letter queue and redrive messages. You can specify this parameter only when the
431
- * <code>redrivePermission</code> parameter is set to <code>byQueue</code>. You can specify up to 10 source queue ARNs.
432
- * To allow more than 10 source queues to specify dead-letter queues, set the <code>redrivePermission</code> parameter
433
- * to <code>allowAll</code>.</p>
434
- * </li>
435
- * </ul>
436
- * </li>
393
+ * <code>VisibilityTimeout</code> – 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
394
+ * <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html">Visibility Timeout</a> in the <i>Amazon SQS Developer Guide</i>.</p>
395
+ * </li>
437
396
  * </ul>
438
- * <note>
439
- * <p>The dead-letter queue of a
440
- * FIFO queue must also be a FIFO queue. Similarly, the dead-letter
441
- * queue of a standard queue must also be a standard queue.</p>
442
- * </note>
443
- *
444
- *
445
397
  *
446
398
  * <p>The following attributes apply only to <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html">server-side-encryption</a>:</p>
447
399
  * <ul>
@@ -461,6 +413,10 @@ export interface CreateQueueRequest {
461
413
  * <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work">How Does the Data Key Reuse Period Work?</a>.
462
414
  * </p>
463
415
  * </li>
416
+ * <li>
417
+ * <p>
418
+ * <code>SqsManagedSseEnabled</code> – Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (e.g. <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html">SSE-KMS</a> or <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html">SSE-SQS</a>).</p>
419
+ * </li>
464
420
  * </ul>
465
421
  *
466
422
  *
@@ -826,76 +782,27 @@ export interface GetQueueAttributesRequest {
826
782
  * </li>
827
783
  * <li>
828
784
  * <p>
829
- * <code>VisibilityTimeout</code> – Returns the visibility timeout for the queue. For more information about the visibility timeout, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html">Visibility Timeout</a> in the <i>Amazon SQS Developer Guide</i>.
830
- * </p>
831
- * </li>
832
- * </ul>
833
- *
834
- * <p>The following attributes apply only to <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html">dead-letter queues:</a>
835
- * </p>
836
- * <ul>
837
- * <li>
838
- * <p>
839
785
  * <code>RedrivePolicy</code> – The string that includes the parameters for the dead-letter queue functionality
840
- * of the source queue as a JSON object. The parameters are as follows:</p>
841
- * <ul>
786
+ * of the source queue as a JSON object. For more information about the redrive policy and dead-letter queues, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html">Using Amazon SQS Dead-Letter Queues</a>
787
+ * in the <i>Amazon SQS Developer Guide</i>.</p>
788
+ * <ul>
842
789
  * <li>
843
- * <p>
844
- * <code>deadLetterTargetArn</code> – The Amazon Resource Name (ARN) of the dead-letter queue to
845
- * which Amazon SQS moves messages after the value of <code>maxReceiveCount</code> is exceeded.</p>
790
+ * <p>
791
+ * <code>deadLetterTargetArn</code> – The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of <code>maxReceiveCount</code> is exceeded.</p>
846
792
  * </li>
847
793
  * <li>
848
- * <p>
849
- * <code>maxReceiveCount</code> – The number of times a message is delivered to the source queue before being
850
- * moved to the dead-letter queue. When the <code>ReceiveCount</code> for a message exceeds the <code>maxReceiveCount</code>
851
- * for a queue, Amazon SQS moves the message to the dead-letter-queue.</p>
794
+ * <p>
795
+ * <code>maxReceiveCount</code> – The number of times a message is delivered to the source queue before being moved to the dead-letter queue.
796
+ * When the <code>ReceiveCount</code> for a message exceeds the <code>maxReceiveCount</code> for a queue, Amazon SQS moves the message to the dead-letter-queue.</p>
852
797
  * </li>
853
798
  * </ul>
854
799
  * </li>
855
800
  * <li>
856
801
  * <p>
857
- * <code>RedriveAllowPolicy</code> – The string that includes the parameters for the permissions for the dead-letter
858
- * queue redrive permission and which source queues can specify dead-letter queues as a JSON object. The parameters are as follows:</p>
859
- * <ul>
860
- * <li>
861
- * <p>
862
- * <code>redrivePermission</code> – The permission type that defines which source queues can
863
- * specify the current queue as the dead-letter queue. Valid values are:</p>
864
- * <ul>
865
- * <li>
866
- * <p>
867
- * <code>allowAll</code> – (Default) Any source queues in this Amazon Web Services account in the same Region can
868
- * specify this queue as the dead-letter queue.</p>
869
- * </li>
870
- * <li>
871
- * <p>
872
- * <code>denyAll</code> – No source queues can specify this queue as the dead-letter
873
- * queue.</p>
874
- * </li>
875
- * <li>
876
- * <p>
877
- * <code>byQueue</code> – Only queues specified by the <code>sourceQueueArns</code> parameter can specify
878
- * this queue as the dead-letter queue.</p>
879
- * </li>
880
- * </ul>
881
- * </li>
882
- * <li>
883
- * <p>
884
- * <code>sourceQueueArns</code> – The Amazon Resource Names (ARN)s of the source queues that can specify
885
- * this queue as the dead-letter queue and redrive messages. You can specify this parameter only when the
886
- * <code>redrivePermission</code> parameter is set to <code>byQueue</code>. You can specify up to 10 source queue ARNs.
887
- * To allow more than 10 source queues to specify dead-letter queues, set the <code>redrivePermission</code> parameter
888
- * to <code>allowAll</code>.</p>
889
- * </li>
890
- * </ul>
891
- * </li>
802
+ * <code>VisibilityTimeout</code> – Returns the visibility timeout for the queue. For more information about the visibility timeout, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html">Visibility Timeout</a> in the <i>Amazon SQS Developer Guide</i>.
803
+ * </p>
804
+ * </li>
892
805
  * </ul>
893
- * <note>
894
- * <p>The dead-letter queue of a
895
- * FIFO queue must also be a FIFO queue. Similarly, the dead-letter
896
- * queue of a standard queue must also be a standard queue.</p>
897
- * </note>
898
- *
899
806
  *
900
807
  * <p>The following attributes apply only to <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html">server-side-encryption</a>:</p>
901
808
  * <ul>
@@ -910,6 +817,10 @@ export interface GetQueueAttributesRequest {
910
817
  * For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work">How Does the Data Key Reuse Period Work?</a>.
911
818
  * </p>
912
819
  * </li>
820
+ * <li>
821
+ * <p>
822
+ * <code>SqsManagedSseEnabled</code> – 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. <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html">SSE-KMS</a> or <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html">SSE-SQS</a>).</p>
823
+ * </li>
913
824
  * </ul>
914
825
  *
915
826
  *
@@ -1009,7 +920,7 @@ export interface GetQueueUrlRequest {
1009
920
  */
1010
921
  QueueName: string | undefined;
1011
922
  /**
1012
- * <p>The account ID of the account that created the queue.</p>
923
+ * <p>The Amazon Web Services account ID of the account that created the queue.</p>
1013
924
  */
1014
925
  QueueOwnerAWSAccountId?: string;
1015
926
  }
@@ -1240,6 +1151,10 @@ export interface ReceiveMessageRequest {
1240
1151
  * <code>SentTimestamp</code> – Returns the time the message was sent to the queue (<a href="http://en.wikipedia.org/wiki/Unix_time">epoch time</a> in milliseconds).</p>
1241
1152
  * </li>
1242
1153
  * <li>
1154
+ * <p>
1155
+ * <code>SqsManagedSseEnabled</code> – Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (e.g. <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html">SSE-KMS</a> or <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html">SSE-SQS</a>).</p>
1156
+ * </li>
1157
+ * <li>
1243
1158
  * <p>
1244
1159
  * <code>MessageDeduplicationId</code> – Returns the value provided by the
1245
1160
  * producer that calls the <code>
@@ -1401,7 +1316,7 @@ export declare namespace MessageAttributeValue {
1401
1316
  */
1402
1317
  export interface Message {
1403
1318
  /**
1404
- * <p>A unique identifier for the message. A <code>MessageId</code>is considered unique across all accounts for an extended period of time.</p>
1319
+ * <p>A unique identifier for the message. A <code>MessageId</code>is considered unique across all Amazon Web Services accounts for an extended period of time.</p>
1405
1320
  */
1406
1321
  MessageId?: string;
1407
1322
  /**
@@ -2048,76 +1963,30 @@ export interface SetQueueAttributesRequest {
2048
1963
  * </li>
2049
1964
  * <li>
2050
1965
  * <p>
2051
- * <code>VisibilityTimeout</code> – 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,
2052
- * see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html">Visibility Timeout</a> in the <i>Amazon SQS Developer Guide</i>.</p>
2053
- * </li>
2054
- * </ul>
2055
- *
2056
- * <p>The following attributes apply only to <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html">dead-letter queues:</a>
2057
- * </p>
2058
- * <ul>
2059
- * <li>
2060
- * <p>
2061
1966
  * <code>RedrivePolicy</code> – The string that includes the parameters for the dead-letter queue functionality
2062
- * of the source queue as a JSON object. The parameters are as follows:</p>
2063
- * <ul>
2064
- * <li>
2065
- * <p>
2066
- * <code>deadLetterTargetArn</code> – The Amazon Resource Name (ARN) of the dead-letter queue to
2067
- * which Amazon SQS moves messages after the value of <code>maxReceiveCount</code> is exceeded.</p>
2068
- * </li>
2069
- * <li>
2070
- * <p>
2071
- * <code>maxReceiveCount</code> – The number of times a message is delivered to the source queue before being
2072
- * moved to the dead-letter queue. When the <code>ReceiveCount</code> for a message exceeds the <code>maxReceiveCount</code>
2073
- * for a queue, Amazon SQS moves the message to the dead-letter-queue.</p>
2074
- * </li>
2075
- * </ul>
2076
- * </li>
2077
- * <li>
2078
- * <p>
2079
- * <code>RedriveAllowPolicy</code> – The string that includes the parameters for the permissions for the dead-letter
2080
- * queue redrive permission and which source queues can specify dead-letter queues as a JSON object. The parameters are as follows:</p>
2081
- * <ul>
1967
+ * of the source queue as a JSON object. For more information about the redrive policy and dead-letter queues, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html">Using Amazon SQS Dead-Letter Queues</a>
1968
+ * in the <i>Amazon SQS Developer Guide</i>.</p>
1969
+ * <ul>
2082
1970
  * <li>
2083
1971
  * <p>
2084
- * <code>redrivePermission</code> – The permission type that defines which source queues can
2085
- * specify the current queue as the dead-letter queue. Valid values are:</p>
2086
- * <ul>
2087
- * <li>
2088
- * <p>
2089
- * <code>allowAll</code> – (Default) Any source queues in this Amazon Web Services account in the same Region can
2090
- * specify this queue as the dead-letter queue.</p>
2091
- * </li>
2092
- * <li>
2093
- * <p>
2094
- * <code>denyAll</code> – No source queues can specify this queue as the dead-letter
2095
- * queue.</p>
2096
- * </li>
2097
- * <li>
2098
- * <p>
2099
- * <code>byQueue</code> – Only queues specified by the <code>sourceQueueArns</code> parameter can specify
2100
- * this queue as the dead-letter queue.</p>
2101
- * </li>
2102
- * </ul>
1972
+ * <code>deadLetterTargetArn</code> – The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of <code>maxReceiveCount</code> is exceeded.</p>
2103
1973
  * </li>
2104
1974
  * <li>
2105
1975
  * <p>
2106
- * <code>sourceQueueArns</code> – The Amazon Resource Names (ARN)s of the source queues that can specify
2107
- * this queue as the dead-letter queue and redrive messages. You can specify this parameter only when the
2108
- * <code>redrivePermission</code> parameter is set to <code>byQueue</code>. You can specify up to 10 source queue ARNs.
2109
- * To allow more than 10 source queues to specify dead-letter queues, set the <code>redrivePermission</code> parameter
2110
- * to <code>allowAll</code>.</p>
1976
+ * <code>maxReceiveCount</code> – The number of times a message is delivered to the source queue before being moved to the dead-letter queue.
1977
+ * When the <code>ReceiveCount</code> for a message exceeds the <code>maxReceiveCount</code> for a queue, Amazon SQS moves the message to the dead-letter-queue.</p>
2111
1978
  * </li>
2112
1979
  * </ul>
2113
- * </li>
2114
- * </ul>
2115
1980
  * <note>
2116
- * <p>The dead-letter queue of a
2117
- * FIFO queue must also be a FIFO queue. Similarly, the dead-letter
2118
- * queue of a standard queue must also be a standard queue.</p>
2119
- * </note>
2120
- *
1981
+ * <p>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.</p>
1982
+ * </note>
1983
+ * </li>
1984
+ * <li>
1985
+ * <p>
1986
+ * <code>VisibilityTimeout</code> – 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,
1987
+ * see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html">Visibility Timeout</a> in the <i>Amazon SQS Developer Guide</i>.</p>
1988
+ * </li>
1989
+ * </ul>
2121
1990
  *
2122
1991
  * <p>The following attributes apply only to <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html">server-side-encryption</a>:</p>
2123
1992
  * <ul>
@@ -2137,6 +2006,10 @@ export interface SetQueueAttributesRequest {
2137
2006
  * <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work">How Does the Data Key Reuse Period Work?</a>.
2138
2007
  * </p>
2139
2008
  * </li>
2009
+ * <li>
2010
+ * <p>
2011
+ * <code>SqsManagedSseEnabled</code> – Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (e.g. <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html">SSE-KMS</a> or <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html">SSE-SQS</a>).</p>
2012
+ * </li>
2140
2013
  * </ul>
2141
2014
  *
2142
2015
  *
@@ -148,7 +148,7 @@ export declare namespace TooManyEntriesInBatchRequest {
148
148
 
149
149
  const filterSensitiveLog: (obj: TooManyEntriesInBatchRequest) => any;
150
150
  }
151
- export declare type QueueAttributeName = "All" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesDelayed" | "ApproximateNumberOfMessagesNotVisible" | "ContentBasedDeduplication" | "CreatedTimestamp" | "DeduplicationScope" | "DelaySeconds" | "FifoQueue" | "FifoThroughputLimit" | "KmsDataKeyReusePeriodSeconds" | "KmsMasterKeyId" | "LastModifiedTimestamp" | "MaximumMessageSize" | "MessageRetentionPeriod" | "Policy" | "QueueArn" | "ReceiveMessageWaitTimeSeconds" | "RedriveAllowPolicy" | "RedrivePolicy" | "VisibilityTimeout";
151
+ export declare type QueueAttributeName = "All" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesDelayed" | "ApproximateNumberOfMessagesNotVisible" | "ContentBasedDeduplication" | "CreatedTimestamp" | "DeduplicationScope" | "DelaySeconds" | "FifoQueue" | "FifoThroughputLimit" | "KmsDataKeyReusePeriodSeconds" | "KmsMasterKeyId" | "LastModifiedTimestamp" | "MaximumMessageSize" | "MessageRetentionPeriod" | "Policy" | "QueueArn" | "ReceiveMessageWaitTimeSeconds" | "RedriveAllowPolicy" | "RedrivePolicy" | "SqsManagedSseEnabled" | "VisibilityTimeout";
152
152
 
153
153
  export interface CreateQueueRequest {
154
154
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sqs",
3
3
  "description": "AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",
4
- "version": "3.40.0",
4
+ "version": "3.45.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.40.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.40.0",
24
+ "@aws-sdk/client-sts": "3.45.0",
25
+ "@aws-sdk/config-resolver": "3.45.0",
26
+ "@aws-sdk/credential-provider-node": "3.45.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",
28
28
  "@aws-sdk/hash-node": "3.40.0",
29
29
  "@aws-sdk/invalid-dependency": "3.40.0",
@@ -34,13 +34,13 @@
34
34
  "@aws-sdk/middleware-retry": "3.40.0",
35
35
  "@aws-sdk/middleware-sdk-sqs": "3.40.0",
36
36
  "@aws-sdk/middleware-serde": "3.40.0",
37
- "@aws-sdk/middleware-signing": "3.40.0",
37
+ "@aws-sdk/middleware-signing": "3.45.0",
38
38
  "@aws-sdk/middleware-stack": "3.40.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.40.0",
40
40
  "@aws-sdk/node-config-provider": "3.40.0",
41
41
  "@aws-sdk/node-http-handler": "3.40.0",
42
42
  "@aws-sdk/protocol-http": "3.40.0",
43
- "@aws-sdk/smithy-client": "3.40.0",
43
+ "@aws-sdk/smithy-client": "3.41.0",
44
44
  "@aws-sdk/types": "3.40.0",
45
45
  "@aws-sdk/url-parser": "3.40.0",
46
46
  "@aws-sdk/util-base64-browser": "3.37.0",