@aws-sdk/client-sqs 3.42.0 → 3.47.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.
@@ -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;
@@ -43,12 +43,6 @@ export interface OverLimit extends __SmithyException, $MetadataBearer {
43
43
  name: "OverLimit";
44
44
  $fault: "client";
45
45
  }
46
- export declare namespace OverLimit {
47
- /**
48
- * @internal
49
- */
50
- const filterSensitiveLog: (obj: OverLimit) => any;
51
- }
52
46
  export interface ChangeMessageVisibilityRequest {
53
47
  /**
54
48
  * <p>The URL of the Amazon SQS queue whose message's visibility is changed.</p>
@@ -79,12 +73,6 @@ export interface MessageNotInflight extends __SmithyException, $MetadataBearer {
79
73
  name: "MessageNotInflight";
80
74
  $fault: "client";
81
75
  }
82
- export declare namespace MessageNotInflight {
83
- /**
84
- * @internal
85
- */
86
- const filterSensitiveLog: (obj: MessageNotInflight) => any;
87
- }
88
76
  /**
89
77
  * <p>The specified receipt handle isn't valid.</p>
90
78
  */
@@ -92,12 +80,6 @@ export interface ReceiptHandleIsInvalid extends __SmithyException, $MetadataBear
92
80
  name: "ReceiptHandleIsInvalid";
93
81
  $fault: "client";
94
82
  }
95
- export declare namespace ReceiptHandleIsInvalid {
96
- /**
97
- * @internal
98
- */
99
- const filterSensitiveLog: (obj: ReceiptHandleIsInvalid) => any;
100
- }
101
83
  /**
102
84
  * <p>Two or more batch entries in the request have the same <code>Id</code>.</p>
103
85
  */
@@ -105,12 +87,6 @@ export interface BatchEntryIdsNotDistinct extends __SmithyException, $MetadataBe
105
87
  name: "BatchEntryIdsNotDistinct";
106
88
  $fault: "client";
107
89
  }
108
- export declare namespace BatchEntryIdsNotDistinct {
109
- /**
110
- * @internal
111
- */
112
- const filterSensitiveLog: (obj: BatchEntryIdsNotDistinct) => any;
113
- }
114
90
  /**
115
91
  * <p>Encloses a receipt handle and an entry id for each message in <code>
116
92
  * <a>ChangeMessageVisibilityBatch</a>.</code>
@@ -251,12 +227,6 @@ export interface EmptyBatchRequest extends __SmithyException, $MetadataBearer {
251
227
  name: "EmptyBatchRequest";
252
228
  $fault: "client";
253
229
  }
254
- export declare namespace EmptyBatchRequest {
255
- /**
256
- * @internal
257
- */
258
- const filterSensitiveLog: (obj: EmptyBatchRequest) => any;
259
- }
260
230
  /**
261
231
  * <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the specification.</p>
262
232
  */
@@ -264,12 +234,6 @@ export interface InvalidBatchEntryId extends __SmithyException, $MetadataBearer
264
234
  name: "InvalidBatchEntryId";
265
235
  $fault: "client";
266
236
  }
267
- export declare namespace InvalidBatchEntryId {
268
- /**
269
- * @internal
270
- */
271
- const filterSensitiveLog: (obj: InvalidBatchEntryId) => any;
272
- }
273
237
  /**
274
238
  * <p>The batch request contains more entries than permissible.</p>
275
239
  */
@@ -277,13 +241,7 @@ export interface TooManyEntriesInBatchRequest extends __SmithyException, $Metada
277
241
  name: "TooManyEntriesInBatchRequest";
278
242
  $fault: "client";
279
243
  }
280
- export declare namespace TooManyEntriesInBatchRequest {
281
- /**
282
- * @internal
283
- */
284
- const filterSensitiveLog: (obj: TooManyEntriesInBatchRequest) => any;
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";
244
+ 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
245
  /**
288
246
  * <p></p>
289
247
  */
@@ -369,79 +327,31 @@ export interface CreateQueueRequest {
369
327
  * </p>
370
328
  * </li>
371
329
  * <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
330
  * <p>
384
331
  * <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>
332
+ * 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>
333
+ * in the <i>Amazon SQS Developer Guide</i>.</p>
334
+ * <ul>
387
335
  * <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>
336
+ * <p>
337
+ * <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
338
  * </li>
392
339
  * <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>
340
+ * <p>
341
+ * <code>maxReceiveCount</code> – The number of times a message is delivered to the source queue before being moved to the dead-letter queue.
342
+ * 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
343
  * </li>
398
344
  * </ul>
345
+ * <note>
346
+ * <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>
347
+ * </note>
399
348
  * </li>
400
349
  * <li>
401
350
  * <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>
351
+ * <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
352
+ * <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>
353
+ * </li>
437
354
  * </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
355
  *
446
356
  * <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
357
  * <ul>
@@ -461,6 +371,10 @@ export interface CreateQueueRequest {
461
371
  * <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
372
  * </p>
463
373
  * </li>
374
+ * <li>
375
+ * <p>
376
+ * <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>
377
+ * </li>
464
378
  * </ul>
465
379
  *
466
380
  *
@@ -579,12 +493,6 @@ export interface QueueDeletedRecently extends __SmithyException, $MetadataBearer
579
493
  name: "QueueDeletedRecently";
580
494
  $fault: "client";
581
495
  }
582
- export declare namespace QueueDeletedRecently {
583
- /**
584
- * @internal
585
- */
586
- const filterSensitiveLog: (obj: QueueDeletedRecently) => any;
587
- }
588
496
  /**
589
497
  * <p>A queue with this name already exists. Amazon SQS returns this error only if the request
590
498
  * includes attributes whose values differ from those of the existing queue.</p>
@@ -593,12 +501,6 @@ export interface QueueNameExists extends __SmithyException, $MetadataBearer {
593
501
  name: "QueueNameExists";
594
502
  $fault: "client";
595
503
  }
596
- export declare namespace QueueNameExists {
597
- /**
598
- * @internal
599
- */
600
- const filterSensitiveLog: (obj: QueueNameExists) => any;
601
- }
602
504
  /**
603
505
  * <p></p>
604
506
  */
@@ -626,12 +528,6 @@ export interface InvalidIdFormat extends __SmithyException, $MetadataBearer {
626
528
  name: "InvalidIdFormat";
627
529
  $fault: "client";
628
530
  }
629
- export declare namespace InvalidIdFormat {
630
- /**
631
- * @internal
632
- */
633
- const filterSensitiveLog: (obj: InvalidIdFormat) => any;
634
- }
635
531
  /**
636
532
  * <p>Encloses a receipt handle and an identifier for it.</p>
637
533
  */
@@ -826,76 +722,27 @@ export interface GetQueueAttributesRequest {
826
722
  * </li>
827
723
  * <li>
828
724
  * <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
725
  * <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>
726
+ * 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>
727
+ * in the <i>Amazon SQS Developer Guide</i>.</p>
728
+ * <ul>
842
729
  * <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>
730
+ * <p>
731
+ * <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
732
  * </li>
847
733
  * <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>
734
+ * <p>
735
+ * <code>maxReceiveCount</code> – The number of times a message is delivered to the source queue before being moved to the dead-letter queue.
736
+ * 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
737
  * </li>
853
738
  * </ul>
854
739
  * </li>
855
740
  * <li>
856
741
  * <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>
742
+ * <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>.
743
+ * </p>
744
+ * </li>
892
745
  * </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
746
  *
900
747
  * <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
748
  * <ul>
@@ -910,6 +757,10 @@ export interface GetQueueAttributesRequest {
910
757
  * 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
758
  * </p>
912
759
  * </li>
760
+ * <li>
761
+ * <p>
762
+ * <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>
763
+ * </li>
913
764
  * </ul>
914
765
  *
915
766
  *
@@ -993,12 +844,6 @@ export interface InvalidAttributeName extends __SmithyException, $MetadataBearer
993
844
  name: "InvalidAttributeName";
994
845
  $fault: "client";
995
846
  }
996
- export declare namespace InvalidAttributeName {
997
- /**
998
- * @internal
999
- */
1000
- const filterSensitiveLog: (obj: InvalidAttributeName) => any;
1001
- }
1002
847
  /**
1003
848
  * <p></p>
1004
849
  */
@@ -1009,7 +854,7 @@ export interface GetQueueUrlRequest {
1009
854
  */
1010
855
  QueueName: string | undefined;
1011
856
  /**
1012
- * <p>The account ID of the account that created the queue.</p>
857
+ * <p>The Amazon Web Services account ID of the account that created the queue.</p>
1013
858
  */
1014
859
  QueueOwnerAWSAccountId?: string;
1015
860
  }
@@ -1041,12 +886,6 @@ export interface QueueDoesNotExist extends __SmithyException, $MetadataBearer {
1041
886
  name: "QueueDoesNotExist";
1042
887
  $fault: "client";
1043
888
  }
1044
- export declare namespace QueueDoesNotExist {
1045
- /**
1046
- * @internal
1047
- */
1048
- const filterSensitiveLog: (obj: QueueDoesNotExist) => any;
1049
- }
1050
889
  /**
1051
890
  * <p></p>
1052
891
  */
@@ -1170,12 +1009,6 @@ export interface PurgeQueueInProgress extends __SmithyException, $MetadataBearer
1170
1009
  name: "PurgeQueueInProgress";
1171
1010
  $fault: "client";
1172
1011
  }
1173
- export declare namespace PurgeQueueInProgress {
1174
- /**
1175
- * @internal
1176
- */
1177
- const filterSensitiveLog: (obj: PurgeQueueInProgress) => any;
1178
- }
1179
1012
  /**
1180
1013
  * <p></p>
1181
1014
  */
@@ -1240,6 +1073,10 @@ export interface ReceiveMessageRequest {
1240
1073
  * <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
1074
  * </li>
1242
1075
  * <li>
1076
+ * <p>
1077
+ * <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>
1078
+ * </li>
1079
+ * <li>
1243
1080
  * <p>
1244
1081
  * <code>MessageDeduplicationId</code> – Returns the value provided by the
1245
1082
  * producer that calls the <code>
@@ -1401,7 +1238,7 @@ export declare namespace MessageAttributeValue {
1401
1238
  */
1402
1239
  export interface Message {
1403
1240
  /**
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>
1241
+ * <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
1242
  */
1406
1243
  MessageId?: string;
1407
1244
  /**
@@ -1529,12 +1366,6 @@ export interface InvalidMessageContents extends __SmithyException, $MetadataBear
1529
1366
  name: "InvalidMessageContents";
1530
1367
  $fault: "client";
1531
1368
  }
1532
- export declare namespace InvalidMessageContents {
1533
- /**
1534
- * @internal
1535
- */
1536
- const filterSensitiveLog: (obj: InvalidMessageContents) => any;
1537
- }
1538
1369
  export declare type MessageSystemAttributeNameForSends = "AWSTraceHeader";
1539
1370
  /**
1540
1371
  * <p>The user-specified message system attribute value. For string data types, the <code>Value</code> attribute has the same restrictions on the content as the message body. For more information, see <code>
@@ -1758,12 +1589,6 @@ export interface UnsupportedOperation extends __SmithyException, $MetadataBearer
1758
1589
  name: "UnsupportedOperation";
1759
1590
  $fault: "client";
1760
1591
  }
1761
- export declare namespace UnsupportedOperation {
1762
- /**
1763
- * @internal
1764
- */
1765
- const filterSensitiveLog: (obj: UnsupportedOperation) => any;
1766
- }
1767
1592
  /**
1768
1593
  * <p>The length of all the messages put together is more than the limit.</p>
1769
1594
  */
@@ -1771,12 +1596,6 @@ export interface BatchRequestTooLong extends __SmithyException, $MetadataBearer
1771
1596
  name: "BatchRequestTooLong";
1772
1597
  $fault: "client";
1773
1598
  }
1774
- export declare namespace BatchRequestTooLong {
1775
- /**
1776
- * @internal
1777
- */
1778
- const filterSensitiveLog: (obj: BatchRequestTooLong) => any;
1779
- }
1780
1599
  /**
1781
1600
  * <p>Contains the details of a single Amazon SQS message along with an <code>Id</code>.</p>
1782
1601
  */
@@ -2048,76 +1867,30 @@ export interface SetQueueAttributesRequest {
2048
1867
  * </li>
2049
1868
  * <li>
2050
1869
  * <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
1870
  * <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>
1871
+ * 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>
1872
+ * in the <i>Amazon SQS Developer Guide</i>.</p>
1873
+ * <ul>
2082
1874
  * <li>
2083
1875
  * <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>
1876
+ * <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
1877
  * </li>
2104
1878
  * <li>
2105
1879
  * <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>
1880
+ * <code>maxReceiveCount</code> – The number of times a message is delivered to the source queue before being moved to the dead-letter queue.
1881
+ * 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
1882
  * </li>
2112
1883
  * </ul>
2113
- * </li>
2114
- * </ul>
2115
1884
  * <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
- *
1885
+ * <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>
1886
+ * </note>
1887
+ * </li>
1888
+ * <li>
1889
+ * <p>
1890
+ * <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,
1891
+ * 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>
1892
+ * </li>
1893
+ * </ul>
2121
1894
  *
2122
1895
  * <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
1896
  * <ul>
@@ -2137,6 +1910,10 @@ export interface SetQueueAttributesRequest {
2137
1910
  * <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
1911
  * </p>
2139
1912
  * </li>
1913
+ * <li>
1914
+ * <p>
1915
+ * <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>
1916
+ * </li>
2140
1917
  * </ul>
2141
1918
  *
2142
1919
  *
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { SQSClientConfig } from "./SQSClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: SQSClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -13,7 +14,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  md5: import("@aws-sdk/types").HashConstructor;
15
16
  region: string | import("@aws-sdk/types").Provider<any>;
16
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
17
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
17
18
  retryMode: string | import("@aws-sdk/types").Provider<string>;
18
19
  sha256: import("@aws-sdk/types").HashConstructor;
19
20
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,4 +1,4 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { HashConstructor as __HashConstructor } from "@aws-sdk/types";
3
3
  import { SQSClientConfig } from "./SQSClient";
4
4
  /**
@@ -6,15 +6,16 @@ import { SQSClientConfig } from "./SQSClient";
6
6
  */
7
7
  export declare const getRuntimeConfig: (config: SQSClientConfig) => {
8
8
  runtime: string;
9
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
10
  base64Decoder: import("@aws-sdk/types").Decoder;
10
11
  base64Encoder: import("@aws-sdk/types").Encoder;
11
12
  bodyLengthChecker: (body: any) => number | undefined;
12
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
13
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
14
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
15
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
15
16
  md5: __HashConstructor;
16
17
  region: string | import("@aws-sdk/types").Provider<string>;
17
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
18
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
18
19
  retryMode: string | import("@aws-sdk/types").Provider<string>;
19
20
  sha256: __HashConstructor;
20
21
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  md5: import("@aws-sdk/types").HashConstructor;
28
28
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
29
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
29
30
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
31
  tls?: boolean | undefined;
31
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
10
10
  import { ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput } from "./commands/ChangeMessageVisibilityBatchCommand";
@@ -73,6 +73,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
73
73
  md5?: __HashConstructor;
74
74
 
75
75
  defaultUserAgentProvider?: Provider<__UserAgent>;
76
+
77
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
76
78
  }
77
79
  declare type SQSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
78
80