@aws-sdk/client-sns 3.858.0 → 3.862.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/dist-types/commands/ConfirmSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +4 -4
- package/dist-types/commands/PublishBatchCommand.d.ts +27 -13
- package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +1 -1
- package/dist-types/commands/SubscribeCommand.d.ts +1 -1
- package/dist-types/commands/UnsubscribeCommand.d.ts +0 -5
- package/dist-types/models/models_0.d.ts +167 -46
- package/package.json +33 -33
|
@@ -62,7 +62,7 @@ declare const ConfirmSubscriptionCommand_base: {
|
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link FilterPolicyLimitExceededException} (client fault)
|
|
64
64
|
* <p>Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To
|
|
65
|
-
* add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web
|
|
65
|
+
* add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web ServicesSupport
|
|
66
66
|
* Center.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link InternalErrorException} (server fault)
|
|
@@ -62,10 +62,10 @@ declare const CreatePlatformApplicationCommand_base: {
|
|
|
62
62
|
* <li>
|
|
63
63
|
* <p>For GCM (Firebase Cloud Messaging) using token credentials, there is no
|
|
64
64
|
* <code>PlatformPrincipal</code>. The <code>PlatformCredential</code> is a
|
|
65
|
-
* JSON formatted private key file. When using the Amazon Web Services CLI
|
|
66
|
-
* string format and special characters must be ignored. To format
|
|
67
|
-
* correctly, Amazon SNS recommends using the following command:
|
|
68
|
-
* @json
|
|
65
|
+
* JSON formatted private key file. When using the Amazon Web Services CLI or Amazon Web Services SDKs, the
|
|
66
|
+
* file must be in string format and special characters must be ignored. To format
|
|
67
|
+
* the file correctly, Amazon SNS recommends using the following command:
|
|
68
|
+
* <code>SERVICE_JSON=$(jq @json < service.json)</code>.</p>
|
|
69
69
|
* </li>
|
|
70
70
|
* <li>
|
|
71
71
|
* <p>For MPNS, <code>PlatformPrincipal</code> is <code>TLS certificate</code> and
|
|
@@ -27,26 +27,40 @@ declare const PublishBatchCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Publishes up to
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* <p>Publishes up to 10 messages to the specified topic in a single batch. This is a batch
|
|
31
|
+
* version of the <code>Publish</code> API. If you try to send more than 10 messages in a
|
|
32
|
+
* single batch request, you will receive a <code>TooManyEntriesInBatchRequest</code>
|
|
33
|
+
* exception.</p>
|
|
34
|
+
* <p>For FIFO topics, multiple messages within a single batch are published in the order
|
|
35
|
+
* they are sent, and messages are deduplicated within the batch and across batches for
|
|
36
|
+
* five minutes.</p>
|
|
34
37
|
* <p>The result of publishing each message is reported individually in the response.
|
|
35
38
|
* Because the batch request can result in a combination of successful and unsuccessful
|
|
36
39
|
* actions, you should check for batch errors even when the call returns an HTTP status
|
|
37
|
-
* code of
|
|
38
|
-
* <p>The maximum allowed individual message size and the maximum total payload size (the
|
|
39
|
-
*
|
|
40
|
-
* bytes)
|
|
40
|
+
* code of 200.</p>
|
|
41
|
+
* <p>The maximum allowed individual message size and the maximum total payload size (the sum
|
|
42
|
+
* of the individual lengths of all of the batched messages) are both 256 KB (262,144
|
|
43
|
+
* bytes).</p>
|
|
44
|
+
* <important>
|
|
45
|
+
* <p>The <code>PublishBatch</code> API can send up to 10 messages at a time. If you
|
|
46
|
+
* attempt to send more than 10 messages in one request, you will encounter a
|
|
47
|
+
* <code>TooManyEntriesInBatchRequest</code> exception. In such cases, split your
|
|
48
|
+
* messages into multiple requests, each containing no more than 10 messages.</p>
|
|
49
|
+
* </important>
|
|
41
50
|
* <p>Some actions take lists of parameters. These lists are specified using the
|
|
42
51
|
* <code>param.n</code> notation. Values of <code>n</code> are integers starting from
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* <p
|
|
52
|
+
* <b>1</b>. For example, a parameter list with two elements
|
|
53
|
+
* looks like this:</p>
|
|
54
|
+
* <p>
|
|
55
|
+
* <code>&AttributeName.1=first</code>
|
|
56
|
+
* </p>
|
|
57
|
+
* <p>
|
|
58
|
+
* <code>&AttributeName.2=second</code>
|
|
59
|
+
* </p>
|
|
46
60
|
* <p>If you send a batch message to a topic, Amazon SNS publishes the batch message to each
|
|
47
61
|
* endpoint that is subscribed to the topic. The format of the batch message depends on the
|
|
48
62
|
* notification protocol for each subscribed endpoint.</p>
|
|
49
|
-
* <p>When a <code>messageId</code> is returned, the batch message is saved and Amazon SNS
|
|
63
|
+
* <p>When a <code>messageId</code> is returned, the batch message is saved, and Amazon SNS
|
|
50
64
|
* immediately delivers the message to subscribers.</p>
|
|
51
65
|
* @example
|
|
52
66
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -167,7 +181,7 @@ declare const PublishBatchCommand_base: {
|
|
|
167
181
|
* <p>Exception error indicating platform application disabled.</p>
|
|
168
182
|
*
|
|
169
183
|
* @throws {@link TooManyEntriesInBatchRequestException} (client fault)
|
|
170
|
-
* <p>The batch request contains more entries than permissible.</p>
|
|
184
|
+
* <p> The batch request contains more entries than permissible (more than 10).</p>
|
|
171
185
|
*
|
|
172
186
|
* @throws {@link ValidationException} (client fault)
|
|
173
187
|
* <p>Indicates that a parameter in the request is invalid.</p>
|
|
@@ -57,7 +57,7 @@ declare const SetSubscriptionAttributesCommand_base: {
|
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link FilterPolicyLimitExceededException} (client fault)
|
|
59
59
|
* <p>Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To
|
|
60
|
-
* add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web
|
|
60
|
+
* add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web ServicesSupport
|
|
61
61
|
* Center.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link InternalErrorException} (server fault)
|
|
@@ -67,7 +67,7 @@ declare const SubscribeCommand_base: {
|
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link FilterPolicyLimitExceededException} (client fault)
|
|
69
69
|
* <p>Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To
|
|
70
|
-
* add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web
|
|
70
|
+
* add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web ServicesSupport
|
|
71
71
|
* Center.</p>
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link InternalErrorException} (server fault)
|
|
@@ -33,11 +33,6 @@ declare const UnsubscribeCommand_base: {
|
|
|
33
33
|
* authentication and the requester is not the subscription owner, a final cancellation
|
|
34
34
|
* message is delivered to the endpoint, so that the endpoint owner can easily resubscribe
|
|
35
35
|
* to the topic if the <code>Unsubscribe</code> request was unintended.</p>
|
|
36
|
-
* <note>
|
|
37
|
-
* <p>Amazon SQS queue subscriptions require authentication for deletion. Only the owner of
|
|
38
|
-
* the subscription, or the owner of the topic can unsubscribe using the required Amazon Web Services
|
|
39
|
-
* signature.</p>
|
|
40
|
-
* </note>
|
|
41
36
|
* <p>This action is throttled at 100 transactions per second (TPS).</p>
|
|
42
37
|
* @example
|
|
43
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -160,7 +160,7 @@ export interface ConfirmSubscriptionResponse {
|
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
162
|
* <p>Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To
|
|
163
|
-
* add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web
|
|
163
|
+
* add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web ServicesSupport
|
|
164
164
|
* Center.</p>
|
|
165
165
|
* @public
|
|
166
166
|
*/
|
|
@@ -413,23 +413,12 @@ export interface CreateTopicInput {
|
|
|
413
413
|
* </li>
|
|
414
414
|
* <li>
|
|
415
415
|
* <p>
|
|
416
|
-
* <code>FifoTopic</code> – Set to true to create a FIFO topic.</p>
|
|
417
|
-
* </li>
|
|
418
|
-
* <li>
|
|
419
|
-
* <p>
|
|
420
416
|
* <code>Policy</code> – The policy that defines who can access your
|
|
421
417
|
* topic. By default, only the topic owner can publish or subscribe to the
|
|
422
418
|
* topic.</p>
|
|
423
419
|
* </li>
|
|
424
420
|
* <li>
|
|
425
421
|
* <p>
|
|
426
|
-
* <code>SignatureVersion</code> – The signature version corresponds to
|
|
427
|
-
* the hashing algorithm used while creating the signature of the notifications,
|
|
428
|
-
* subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS.
|
|
429
|
-
* By default, <code>SignatureVersion</code> is set to <code>1</code>.</p>
|
|
430
|
-
* </li>
|
|
431
|
-
* <li>
|
|
432
|
-
* <p>
|
|
433
422
|
* <code>TracingConfig</code> – Tracing mode of an Amazon SNS topic. By default
|
|
434
423
|
* <code>TracingConfig</code> is set to <code>PassThrough</code>, and the topic
|
|
435
424
|
* passes through the tracing header it receives from an Amazon SNS publisher to its
|
|
@@ -437,7 +426,139 @@ export interface CreateTopicInput {
|
|
|
437
426
|
* to topic owner account if the sampled flag in the tracing header is true. This
|
|
438
427
|
* is only supported on standard topics.</p>
|
|
439
428
|
* </li>
|
|
429
|
+
* <li>
|
|
430
|
+
* <p>HTTP</p>
|
|
431
|
+
* <ul>
|
|
432
|
+
* <li>
|
|
433
|
+
* <p>
|
|
434
|
+
* <code>HTTPSuccessFeedbackRoleArn</code> – Indicates successful
|
|
435
|
+
* message delivery status for an Amazon SNS topic that is subscribed to an HTTP
|
|
436
|
+
* endpoint. </p>
|
|
437
|
+
* </li>
|
|
438
|
+
* <li>
|
|
439
|
+
* <p>
|
|
440
|
+
* <code>HTTPSuccessFeedbackSampleRate</code> – Indicates
|
|
441
|
+
* percentage of successful messages to sample for an Amazon SNS topic that is
|
|
442
|
+
* subscribed to an HTTP endpoint.</p>
|
|
443
|
+
* </li>
|
|
444
|
+
* <li>
|
|
445
|
+
* <p>
|
|
446
|
+
* <code>HTTPFailureFeedbackRoleArn</code> – Indicates failed
|
|
447
|
+
* message delivery status for an Amazon SNS topic that is subscribed to an HTTP
|
|
448
|
+
* endpoint.</p>
|
|
449
|
+
* </li>
|
|
450
|
+
* </ul>
|
|
451
|
+
* </li>
|
|
452
|
+
* <li>
|
|
453
|
+
* <p>Amazon Data Firehose</p>
|
|
454
|
+
* <ul>
|
|
455
|
+
* <li>
|
|
456
|
+
* <p>
|
|
457
|
+
* <code>FirehoseSuccessFeedbackRoleArn</code> – Indicates
|
|
458
|
+
* successful message delivery status for an Amazon SNS topic that is subscribed
|
|
459
|
+
* to an Amazon Data Firehose endpoint.</p>
|
|
460
|
+
* </li>
|
|
461
|
+
* <li>
|
|
462
|
+
* <p>
|
|
463
|
+
* <code>FirehoseSuccessFeedbackSampleRate</code> – Indicates
|
|
464
|
+
* percentage of successful messages to sample for an Amazon SNS topic that is
|
|
465
|
+
* subscribed to an Amazon Data Firehose endpoint.</p>
|
|
466
|
+
* </li>
|
|
467
|
+
* <li>
|
|
468
|
+
* <p>
|
|
469
|
+
* <code>FirehoseFailureFeedbackRoleArn</code> – Indicates failed
|
|
470
|
+
* message delivery status for an Amazon SNS topic that is subscribed to an
|
|
471
|
+
* Amazon Data Firehose endpoint. </p>
|
|
472
|
+
* </li>
|
|
473
|
+
* </ul>
|
|
474
|
+
* </li>
|
|
475
|
+
* <li>
|
|
476
|
+
* <p>Lambda</p>
|
|
477
|
+
* <ul>
|
|
478
|
+
* <li>
|
|
479
|
+
* <p>
|
|
480
|
+
* <code>LambdaSuccessFeedbackRoleArn</code> – Indicates
|
|
481
|
+
* successful message delivery status for an Amazon SNS topic that is subscribed
|
|
482
|
+
* to an Lambda endpoint.</p>
|
|
483
|
+
* </li>
|
|
484
|
+
* <li>
|
|
485
|
+
* <p>
|
|
486
|
+
* <code>LambdaSuccessFeedbackSampleRate</code> – Indicates
|
|
487
|
+
* percentage of successful messages to sample for an Amazon SNS topic that is
|
|
488
|
+
* subscribed to an Lambda endpoint.</p>
|
|
489
|
+
* </li>
|
|
490
|
+
* <li>
|
|
491
|
+
* <p>
|
|
492
|
+
* <code>LambdaFailureFeedbackRoleArn</code> – Indicates failed
|
|
493
|
+
* message delivery status for an Amazon SNS topic that is subscribed to an
|
|
494
|
+
* Lambda endpoint. </p>
|
|
495
|
+
* </li>
|
|
496
|
+
* </ul>
|
|
497
|
+
* </li>
|
|
498
|
+
* <li>
|
|
499
|
+
* <p>Platform application endpoint</p>
|
|
500
|
+
* <ul>
|
|
501
|
+
* <li>
|
|
502
|
+
* <p>
|
|
503
|
+
* <code>ApplicationSuccessFeedbackRoleArn</code> – Indicates
|
|
504
|
+
* successful message delivery status for an Amazon SNS topic that is subscribed
|
|
505
|
+
* to a platform application endpoint.</p>
|
|
506
|
+
* </li>
|
|
507
|
+
* <li>
|
|
508
|
+
* <p>
|
|
509
|
+
* <code>ApplicationSuccessFeedbackSampleRate</code> – Indicates
|
|
510
|
+
* percentage of successful messages to sample for an Amazon SNS topic that is
|
|
511
|
+
* subscribed to an platform application endpoint.</p>
|
|
512
|
+
* </li>
|
|
513
|
+
* <li>
|
|
514
|
+
* <p>
|
|
515
|
+
* <code>ApplicationFailureFeedbackRoleArn</code> – Indicates
|
|
516
|
+
* failed message delivery status for an Amazon SNS topic that is subscribed to
|
|
517
|
+
* an platform application endpoint.</p>
|
|
518
|
+
* </li>
|
|
519
|
+
* </ul>
|
|
520
|
+
* <note>
|
|
521
|
+
* <p>In addition to being able to configure topic attributes for message
|
|
522
|
+
* delivery status of notification messages sent to Amazon SNS application
|
|
523
|
+
* endpoints, you can also configure application attributes for the delivery
|
|
524
|
+
* status of push notification messages sent to push notification
|
|
525
|
+
* services.</p>
|
|
526
|
+
* <p>For example, For more information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-msg-status.html">Using Amazon SNS Application
|
|
527
|
+
* Attributes for Message Delivery Status</a>. </p>
|
|
528
|
+
* </note>
|
|
529
|
+
* </li>
|
|
530
|
+
* <li>
|
|
531
|
+
* <p>Amazon SQS</p>
|
|
532
|
+
* <ul>
|
|
533
|
+
* <li>
|
|
534
|
+
* <p>
|
|
535
|
+
* <code>SQSSuccessFeedbackRoleArn</code> – Indicates successful
|
|
536
|
+
* message delivery status for an Amazon SNS topic that is subscribed to an
|
|
537
|
+
* Amazon SQS endpoint. </p>
|
|
538
|
+
* </li>
|
|
539
|
+
* <li>
|
|
540
|
+
* <p>
|
|
541
|
+
* <code>SQSSuccessFeedbackSampleRate</code> – Indicates
|
|
542
|
+
* percentage of successful messages to sample for an Amazon SNS topic that is
|
|
543
|
+
* subscribed to an Amazon SQS endpoint. </p>
|
|
544
|
+
* </li>
|
|
545
|
+
* <li>
|
|
546
|
+
* <p>
|
|
547
|
+
* <code>SQSFailureFeedbackRoleArn</code> – Indicates failed
|
|
548
|
+
* message delivery status for an Amazon SNS topic that is subscribed to an
|
|
549
|
+
* Amazon SQS endpoint. </p>
|
|
550
|
+
* </li>
|
|
551
|
+
* </ul>
|
|
552
|
+
* </li>
|
|
440
553
|
* </ul>
|
|
554
|
+
* <note>
|
|
555
|
+
* <p>The <ENDPOINT>SuccessFeedbackRoleArn and <ENDPOINT>FailureFeedbackRoleArn
|
|
556
|
+
* attributes are used to give Amazon SNS write access to use CloudWatch Logs on your
|
|
557
|
+
* behalf. The <ENDPOINT>SuccessFeedbackSampleRate attribute is for specifying the
|
|
558
|
+
* sample rate percentage (0-100) of successfully delivered messages. After you
|
|
559
|
+
* configure the <ENDPOINT>FailureFeedbackRoleArn attribute, then all failed message
|
|
560
|
+
* deliveries generate CloudWatch Logs. </p>
|
|
561
|
+
* </note>
|
|
441
562
|
* <p>The following attribute applies only to <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html">server-side
|
|
442
563
|
* encryption</a>:</p>
|
|
443
564
|
* <ul>
|
|
@@ -1944,14 +2065,22 @@ export interface PublishInput {
|
|
|
1944
2065
|
*/
|
|
1945
2066
|
MessageDeduplicationId?: string | undefined;
|
|
1946
2067
|
/**
|
|
1947
|
-
* <p>
|
|
2068
|
+
* <p>The
|
|
1948
2069
|
* <code>MessageGroupId</code> can contain up to 128 alphanumeric characters
|
|
1949
2070
|
* <code>(a-z, A-Z, 0-9)</code> and punctuation
|
|
1950
2071
|
* <code>(!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~)</code>.</p>
|
|
1951
|
-
* <p>
|
|
2072
|
+
* <p>
|
|
2073
|
+
* For FIFO topics: The <code>MessageGroupId</code> is a tag that specifies that a message belongs to a
|
|
1952
2074
|
* specific message group. Messages that belong to the same message group are processed in
|
|
1953
2075
|
* a FIFO manner (however, messages in different message groups might be processed out of
|
|
1954
|
-
* order). Every message must include a <code>MessageGroupId</code
|
|
2076
|
+
* order). Every message must include a <code>MessageGroupId</code>.
|
|
2077
|
+
* </p>
|
|
2078
|
+
* <p>
|
|
2079
|
+
* For standard topics: The <code>MessageGroupId</code> is optional
|
|
2080
|
+
* and is forwarded only to Amazon SQS standard subscriptions to activate <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fair-queues.html">fair queues</a>.
|
|
2081
|
+
* The <code>MessageGroupId</code> is not used for, or sent to, any other endpoint types.
|
|
2082
|
+
* When provided, the same validation rules apply as for FIFO topics.
|
|
2083
|
+
* </p>
|
|
1955
2084
|
* @public
|
|
1956
2085
|
*/
|
|
1957
2086
|
MessageGroupId?: string | undefined;
|
|
@@ -2067,7 +2196,7 @@ export interface PublishBatchRequestEntry {
|
|
|
2067
2196
|
* </li>
|
|
2068
2197
|
* </ul>
|
|
2069
2198
|
* <p>You can define other top-level keys that define the message you want to send to a
|
|
2070
|
-
* specific transport protocol (
|
|
2199
|
+
* specific transport protocol (for example, http). </p>
|
|
2071
2200
|
* @public
|
|
2072
2201
|
*/
|
|
2073
2202
|
MessageStructure?: string | undefined;
|
|
@@ -2156,25 +2285,23 @@ export interface PublishBatchRequestEntry {
|
|
|
2156
2285
|
*/
|
|
2157
2286
|
MessageDeduplicationId?: string | undefined;
|
|
2158
2287
|
/**
|
|
2159
|
-
* <p>
|
|
2160
|
-
*
|
|
2161
|
-
*
|
|
2162
|
-
*
|
|
2163
|
-
*
|
|
2164
|
-
*
|
|
2165
|
-
*
|
|
2166
|
-
*
|
|
2167
|
-
*
|
|
2288
|
+
* <p>FIFO topics: The tag that specifies that a message belongs to a specific message group.
|
|
2289
|
+
* Messages that belong to the same message group are processed in a FIFO manner
|
|
2290
|
+
* (however, messages in different message groups might be processed out of order).
|
|
2291
|
+
* To interleave multiple ordered streams within a single topic, use <code>MessageGroupId</code> values
|
|
2292
|
+
* (for example, session data for multiple users). In this scenario, multiple consumers can process the topic,
|
|
2293
|
+
* but the session data of each user is processed in a FIFO fashion.
|
|
2294
|
+
* You must associate a non-empty <code>MessageGroupId</code> with a message.
|
|
2295
|
+
* If you do not provide a <code>MessageGroupId</code>, the action fails.
|
|
2296
|
+
* </p>
|
|
2297
|
+
* <p>Standard topics: The <code>MessageGroupId</code> is optional and is forwarded only to Amazon SQS
|
|
2298
|
+
* standard subscriptions to activate <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fair-queues.html">fair queues</a>.
|
|
2299
|
+
* The <code>MessageGroupId</code> is not used for, or sent to, any other endpoint types.</p>
|
|
2168
2300
|
* <p>The length of <code>MessageGroupId</code> is 128 characters.</p>
|
|
2169
2301
|
* <p>
|
|
2170
2302
|
* <code>MessageGroupId</code> can contain alphanumeric characters <code>(a-z, A-Z,
|
|
2171
2303
|
* 0-9)</code> and punctuation
|
|
2172
2304
|
* <code>(!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~)</code>.</p>
|
|
2173
|
-
* <important>
|
|
2174
|
-
* <p>
|
|
2175
|
-
* <code>MessageGroupId</code> is required for FIFO topics. You can't use it for
|
|
2176
|
-
* standard topics. </p>
|
|
2177
|
-
* </important>
|
|
2178
2305
|
* @public
|
|
2179
2306
|
*/
|
|
2180
2307
|
MessageGroupId?: string | undefined;
|
|
@@ -2261,7 +2388,7 @@ export interface PublishBatchResponse {
|
|
|
2261
2388
|
Failed?: BatchResultErrorEntry[] | undefined;
|
|
2262
2389
|
}
|
|
2263
2390
|
/**
|
|
2264
|
-
* <p>The batch request contains more entries than permissible.</p>
|
|
2391
|
+
* <p> The batch request contains more entries than permissible (more than 10).</p>
|
|
2265
2392
|
* @public
|
|
2266
2393
|
*/
|
|
2267
2394
|
export declare class TooManyEntriesInBatchRequestException extends __BaseException {
|
|
@@ -2680,12 +2807,6 @@ export interface SetTopicAttributesInput {
|
|
|
2680
2807
|
* <ul>
|
|
2681
2808
|
* <li>
|
|
2682
2809
|
* <p>
|
|
2683
|
-
* <code>ApplicationSuccessFeedbackRoleArn</code> – Indicates failed
|
|
2684
|
-
* message delivery status for an Amazon SNS topic that is subscribed to a platform
|
|
2685
|
-
* application endpoint.</p>
|
|
2686
|
-
* </li>
|
|
2687
|
-
* <li>
|
|
2688
|
-
* <p>
|
|
2689
2810
|
* <code>DeliveryPolicy</code> – The policy that defines how Amazon SNS retries
|
|
2690
2811
|
* failed deliveries to HTTP/S endpoints.</p>
|
|
2691
2812
|
* </li>
|
|
@@ -2733,25 +2854,25 @@ export interface SetTopicAttributesInput {
|
|
|
2733
2854
|
* </ul>
|
|
2734
2855
|
* </li>
|
|
2735
2856
|
* <li>
|
|
2736
|
-
* <p>Amazon
|
|
2857
|
+
* <p>Amazon Data Firehose</p>
|
|
2737
2858
|
* <ul>
|
|
2738
2859
|
* <li>
|
|
2739
2860
|
* <p>
|
|
2740
2861
|
* <code>FirehoseSuccessFeedbackRoleArn</code> – Indicates
|
|
2741
2862
|
* successful message delivery status for an Amazon SNS topic that is subscribed
|
|
2742
|
-
* to an Amazon
|
|
2863
|
+
* to an Amazon Data Firehose endpoint.</p>
|
|
2743
2864
|
* </li>
|
|
2744
2865
|
* <li>
|
|
2745
2866
|
* <p>
|
|
2746
2867
|
* <code>FirehoseSuccessFeedbackSampleRate</code> – Indicates
|
|
2747
2868
|
* percentage of successful messages to sample for an Amazon SNS topic that is
|
|
2748
|
-
* subscribed to an Amazon
|
|
2869
|
+
* subscribed to an Amazon Data Firehose endpoint.</p>
|
|
2749
2870
|
* </li>
|
|
2750
2871
|
* <li>
|
|
2751
2872
|
* <p>
|
|
2752
2873
|
* <code>FirehoseFailureFeedbackRoleArn</code> – Indicates failed
|
|
2753
2874
|
* message delivery status for an Amazon SNS topic that is subscribed to an
|
|
2754
|
-
* Amazon
|
|
2875
|
+
* Amazon Data Firehose endpoint. </p>
|
|
2755
2876
|
* </li>
|
|
2756
2877
|
* </ul>
|
|
2757
2878
|
* </li>
|
|
@@ -2785,19 +2906,19 @@ export interface SetTopicAttributesInput {
|
|
|
2785
2906
|
* <p>
|
|
2786
2907
|
* <code>ApplicationSuccessFeedbackRoleArn</code> – Indicates
|
|
2787
2908
|
* successful message delivery status for an Amazon SNS topic that is subscribed
|
|
2788
|
-
* to an
|
|
2909
|
+
* to an platform application endpoint.</p>
|
|
2789
2910
|
* </li>
|
|
2790
2911
|
* <li>
|
|
2791
2912
|
* <p>
|
|
2792
2913
|
* <code>ApplicationSuccessFeedbackSampleRate</code> – Indicates
|
|
2793
2914
|
* percentage of successful messages to sample for an Amazon SNS topic that is
|
|
2794
|
-
* subscribed to an
|
|
2915
|
+
* subscribed to an platform application endpoint.</p>
|
|
2795
2916
|
* </li>
|
|
2796
2917
|
* <li>
|
|
2797
2918
|
* <p>
|
|
2798
2919
|
* <code>ApplicationFailureFeedbackRoleArn</code> – Indicates
|
|
2799
2920
|
* failed message delivery status for an Amazon SNS topic that is subscribed to
|
|
2800
|
-
* an
|
|
2921
|
+
* an platform application endpoint.</p>
|
|
2801
2922
|
* </li>
|
|
2802
2923
|
* </ul>
|
|
2803
2924
|
* <note>
|
|
@@ -2968,7 +3089,7 @@ export interface SubscribeInput {
|
|
|
2968
3089
|
* <li>
|
|
2969
3090
|
* <p>
|
|
2970
3091
|
* <code>firehose</code> – delivery of JSON-encoded message to an Amazon
|
|
2971
|
-
*
|
|
3092
|
+
* Data Firehose delivery stream.</p>
|
|
2972
3093
|
* </li>
|
|
2973
3094
|
* </ul>
|
|
2974
3095
|
* @public
|
|
@@ -3011,7 +3132,7 @@ export interface SubscribeInput {
|
|
|
3011
3132
|
* </li>
|
|
3012
3133
|
* <li>
|
|
3013
3134
|
* <p>For the <code>firehose</code> protocol, the endpoint is the ARN of an Amazon
|
|
3014
|
-
*
|
|
3135
|
+
* Data Firehose delivery stream.</p>
|
|
3015
3136
|
* </li>
|
|
3016
3137
|
* </ul>
|
|
3017
3138
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sns",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sns Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.862.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sns",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.1.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.1.
|
|
37
|
-
"@smithy/hash-node": "^4.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
42
|
-
"@smithy/middleware-serde": "^4.0.
|
|
43
|
-
"@smithy/middleware-stack": "^4.0.
|
|
44
|
-
"@smithy/node-config-provider": "^4.1.
|
|
45
|
-
"@smithy/node-http-handler": "^4.1.
|
|
46
|
-
"@smithy/protocol-http": "^5.1.
|
|
47
|
-
"@smithy/smithy-client": "^4.4.
|
|
48
|
-
"@smithy/types": "^4.3.
|
|
49
|
-
"@smithy/url-parser": "^4.0.
|
|
23
|
+
"@aws-sdk/core": "3.862.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.862.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.862.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.862.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.862.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.862.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.862.0",
|
|
30
|
+
"@aws-sdk/types": "3.862.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.862.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.862.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.862.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.1.5",
|
|
35
|
+
"@smithy/core": "^3.8.0",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.1.1",
|
|
37
|
+
"@smithy/hash-node": "^4.0.5",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.0.5",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.0.5",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.18",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.19",
|
|
42
|
+
"@smithy/middleware-serde": "^4.0.9",
|
|
43
|
+
"@smithy/middleware-stack": "^4.0.5",
|
|
44
|
+
"@smithy/node-config-provider": "^4.1.4",
|
|
45
|
+
"@smithy/node-http-handler": "^4.1.1",
|
|
46
|
+
"@smithy/protocol-http": "^5.1.3",
|
|
47
|
+
"@smithy/smithy-client": "^4.4.10",
|
|
48
|
+
"@smithy/types": "^4.3.2",
|
|
49
|
+
"@smithy/url-parser": "^4.0.5",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
55
|
-
"@smithy/util-endpoints": "^3.0.
|
|
56
|
-
"@smithy/util-middleware": "^4.0.
|
|
57
|
-
"@smithy/util-retry": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.26",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.26",
|
|
55
|
+
"@smithy/util-endpoints": "^3.0.7",
|
|
56
|
+
"@smithy/util-middleware": "^4.0.5",
|
|
57
|
+
"@smithy/util-retry": "^4.0.7",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|