@aws-sdk/client-sns 3.696.0 → 3.699.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.
|
@@ -37,12 +37,12 @@ declare const CreatePlatformApplicationCommand_base: {
|
|
|
37
37
|
* the notification service.</p>
|
|
38
38
|
* <ul>
|
|
39
39
|
* <li>
|
|
40
|
-
* <p>For ADM, <code>PlatformPrincipal</code> is <code>client id</code>
|
|
41
|
-
*
|
|
40
|
+
* <p>For ADM, <code>PlatformPrincipal</code> is <code>client id</code> and
|
|
41
|
+
* <code>PlatformCredential</code> is <code>client secret</code>.</p>
|
|
42
42
|
* </li>
|
|
43
43
|
* <li>
|
|
44
|
-
* <p>For APNS and <code>APNS_SANDBOX</code> using certificate
|
|
45
|
-
*
|
|
44
|
+
* <p>For APNS and <code>APNS_SANDBOX</code> using certificate credentials,
|
|
45
|
+
* <code>PlatformPrincipal</code> is <code>SSL certificate</code> and
|
|
46
46
|
* <code>PlatformCredential</code> is <code>private key</code>.</p>
|
|
47
47
|
* </li>
|
|
48
48
|
* <li>
|
|
@@ -51,8 +51,8 @@ declare const CreatePlatformApplicationCommand_base: {
|
|
|
51
51
|
* <code>PlatformCredential</code> is <code>signing key</code>.</p>
|
|
52
52
|
* </li>
|
|
53
53
|
* <li>
|
|
54
|
-
* <p>For Baidu, <code>PlatformPrincipal</code> is <code>API key</code>
|
|
55
|
-
*
|
|
54
|
+
* <p>For Baidu, <code>PlatformPrincipal</code> is <code>API key</code> and
|
|
55
|
+
* <code>PlatformCredential</code> is <code>secret key</code>.</p>
|
|
56
56
|
* </li>
|
|
57
57
|
* <li>
|
|
58
58
|
* <p>For GCM (Firebase Cloud Messaging) using key credentials, there is no
|
|
@@ -68,9 +68,8 @@ declare const CreatePlatformApplicationCommand_base: {
|
|
|
68
68
|
* @json <<< cat service.json`</code>.</p>
|
|
69
69
|
* </li>
|
|
70
70
|
* <li>
|
|
71
|
-
* <p>For MPNS, <code>PlatformPrincipal</code> is <code>TLS
|
|
72
|
-
*
|
|
73
|
-
* key</code>.</p>
|
|
71
|
+
* <p>For MPNS, <code>PlatformPrincipal</code> is <code>TLS certificate</code> and
|
|
72
|
+
* <code>PlatformCredential</code> is <code>private key</code>.</p>
|
|
74
73
|
* </li>
|
|
75
74
|
* <li>
|
|
76
75
|
* <p>For WNS, <code>PlatformPrincipal</code> is <code>Package Security
|
|
@@ -398,8 +398,8 @@ export interface CreateTopicInput {
|
|
|
398
398
|
Name: string | undefined;
|
|
399
399
|
/**
|
|
400
400
|
* <p>A map of attributes with their corresponding values.</p>
|
|
401
|
-
* <p>The following lists names, descriptions, and values of the special request
|
|
402
|
-
*
|
|
401
|
+
* <p>The following lists names, descriptions, and values of the special request parameters
|
|
402
|
+
* that the <code>CreateTopic</code> action uses:</p>
|
|
403
403
|
* <ul>
|
|
404
404
|
* <li>
|
|
405
405
|
* <p>
|
|
@@ -452,34 +452,30 @@ export interface CreateTopicInput {
|
|
|
452
452
|
* <ul>
|
|
453
453
|
* <li>
|
|
454
454
|
* <p>
|
|
455
|
-
* <code>ArchivePolicy</code> –
|
|
456
|
-
*
|
|
455
|
+
* <code>ArchivePolicy</code> – The policy that sets the retention period
|
|
456
|
+
* for messages stored in the message archive of an Amazon SNS FIFO
|
|
457
|
+
* topic.</p>
|
|
457
458
|
* </li>
|
|
458
459
|
* <li>
|
|
459
460
|
* <p>
|
|
460
|
-
* <code>
|
|
461
|
-
*
|
|
462
|
-
* is based on the configured message retention period set by the topic’s message
|
|
463
|
-
* archiving policy.</p>
|
|
464
|
-
* </li>
|
|
465
|
-
* <li>
|
|
466
|
-
* <p>
|
|
467
|
-
* <code>ContentBasedDeduplication</code> – Enables content-based deduplication for
|
|
468
|
-
* FIFO topics.</p>
|
|
461
|
+
* <code>ContentBasedDeduplication</code> – Enables content-based
|
|
462
|
+
* deduplication for FIFO topics.</p>
|
|
469
463
|
* <ul>
|
|
470
464
|
* <li>
|
|
471
|
-
* <p>By default, <code>ContentBasedDeduplication</code> is set to
|
|
472
|
-
*
|
|
473
|
-
*
|
|
474
|
-
*
|
|
465
|
+
* <p>By default, <code>ContentBasedDeduplication</code> is set to
|
|
466
|
+
* <code>false</code>. If you create a FIFO topic and this attribute is
|
|
467
|
+
* <code>false</code>, you must specify a value for the
|
|
468
|
+
* <code>MessageDeduplicationId</code> parameter for the <a href="https://docs.aws.amazon.com/sns/latest/api/API_Publish.html">Publish</a>
|
|
469
|
+
* action. </p>
|
|
475
470
|
* </li>
|
|
476
471
|
* <li>
|
|
477
472
|
* <p>When you set <code>ContentBasedDeduplication</code> to <code>true</code>,
|
|
478
|
-
*
|
|
479
|
-
*
|
|
480
|
-
*
|
|
481
|
-
*
|
|
482
|
-
*
|
|
473
|
+
* Amazon SNS uses a SHA-256 hash to generate the
|
|
474
|
+
* <code>MessageDeduplicationId</code> using the body of the message (but not
|
|
475
|
+
* the attributes of the message).</p>
|
|
476
|
+
* <p>(Optional) To override the generated value, you can specify a value for the
|
|
477
|
+
* <code>MessageDeduplicationId</code> parameter for the <code>Publish</code>
|
|
478
|
+
* action.</p>
|
|
483
479
|
* </li>
|
|
484
480
|
* </ul>
|
|
485
481
|
* </li>
|
|
@@ -1062,30 +1058,44 @@ export interface GetTopicAttributesResponse {
|
|
|
1062
1058
|
* <ul>
|
|
1063
1059
|
* <li>
|
|
1064
1060
|
* <p>
|
|
1065
|
-
* <code>
|
|
1066
|
-
*
|
|
1061
|
+
* <code>ArchivePolicy</code> – The policy that sets the retention period
|
|
1062
|
+
* for messages stored in the message archive of an Amazon SNS FIFO
|
|
1063
|
+
* topic.</p>
|
|
1064
|
+
* </li>
|
|
1065
|
+
* <li>
|
|
1066
|
+
* <p>
|
|
1067
|
+
* <code>BeginningArchiveTime</code> – The earliest starting point at
|
|
1068
|
+
* which a message in the topic’s archive can be replayed from. This point in time
|
|
1069
|
+
* is based on the configured message retention period set by the topic’s message
|
|
1070
|
+
* archiving policy.</p>
|
|
1067
1071
|
* </li>
|
|
1068
1072
|
* <li>
|
|
1069
1073
|
* <p>
|
|
1070
|
-
* <code>ContentBasedDeduplication</code> – Enables content-based
|
|
1071
|
-
* FIFO topics.</p>
|
|
1074
|
+
* <code>ContentBasedDeduplication</code> – Enables content-based
|
|
1075
|
+
* deduplication for FIFO topics.</p>
|
|
1072
1076
|
* <ul>
|
|
1073
1077
|
* <li>
|
|
1074
|
-
* <p>By default, <code>ContentBasedDeduplication</code> is set to
|
|
1075
|
-
*
|
|
1076
|
-
*
|
|
1077
|
-
*
|
|
1078
|
+
* <p>By default, <code>ContentBasedDeduplication</code> is set to
|
|
1079
|
+
* <code>false</code>. If you create a FIFO topic and this attribute is
|
|
1080
|
+
* <code>false</code>, you must specify a value for the
|
|
1081
|
+
* <code>MessageDeduplicationId</code> parameter for the <a href="https://docs.aws.amazon.com/sns/latest/api/API_Publish.html">Publish</a> action. </p>
|
|
1078
1082
|
* </li>
|
|
1079
1083
|
* <li>
|
|
1080
|
-
* <p>When you set <code>ContentBasedDeduplication</code> to
|
|
1081
|
-
*
|
|
1082
|
-
*
|
|
1084
|
+
* <p>When you set <code>ContentBasedDeduplication</code> to
|
|
1085
|
+
* <code>true</code>, Amazon SNS uses a SHA-256 hash to
|
|
1086
|
+
* generate the <code>MessageDeduplicationId</code> using the body of the
|
|
1087
|
+
* message (but not the attributes of the message).</p>
|
|
1083
1088
|
* <p>(Optional) To override the generated value, you can specify a value
|
|
1084
|
-
* for the <code>MessageDeduplicationId</code> parameter for the
|
|
1085
|
-
*
|
|
1089
|
+
* for the <code>MessageDeduplicationId</code> parameter for the
|
|
1090
|
+
* <code>Publish</code> action.</p>
|
|
1086
1091
|
* </li>
|
|
1087
1092
|
* </ul>
|
|
1088
1093
|
* </li>
|
|
1094
|
+
* <li>
|
|
1095
|
+
* <p>
|
|
1096
|
+
* <code>FifoTopic</code> – When this is set to <code>true</code>, a FIFO
|
|
1097
|
+
* topic is created.</p>
|
|
1098
|
+
* </li>
|
|
1089
1099
|
* </ul>
|
|
1090
1100
|
* @public
|
|
1091
1101
|
*/
|
|
@@ -2772,22 +2782,30 @@ export interface SetTopicAttributesInput {
|
|
|
2772
2782
|
* <ul>
|
|
2773
2783
|
* <li>
|
|
2774
2784
|
* <p>
|
|
2775
|
-
* <code>
|
|
2776
|
-
*
|
|
2785
|
+
* <code>ArchivePolicy</code> – The policy that sets the retention period
|
|
2786
|
+
* for messages stored in the message archive of an Amazon SNS FIFO
|
|
2787
|
+
* topic.</p>
|
|
2788
|
+
* </li>
|
|
2789
|
+
* <li>
|
|
2790
|
+
* <p>
|
|
2791
|
+
* <code>ContentBasedDeduplication</code> – Enables content-based
|
|
2792
|
+
* deduplication for FIFO topics.</p>
|
|
2777
2793
|
* <ul>
|
|
2778
2794
|
* <li>
|
|
2779
|
-
* <p>By default, <code>ContentBasedDeduplication</code> is set to
|
|
2780
|
-
*
|
|
2781
|
-
*
|
|
2782
|
-
*
|
|
2795
|
+
* <p>By default, <code>ContentBasedDeduplication</code> is set to
|
|
2796
|
+
* <code>false</code>. If you create a FIFO topic and this attribute is
|
|
2797
|
+
* <code>false</code>, you must specify a value for the
|
|
2798
|
+
* <code>MessageDeduplicationId</code> parameter for the <a href="https://docs.aws.amazon.com/sns/latest/api/API_Publish.html">Publish</a>
|
|
2799
|
+
* action. </p>
|
|
2783
2800
|
* </li>
|
|
2784
2801
|
* <li>
|
|
2785
2802
|
* <p>When you set <code>ContentBasedDeduplication</code> to <code>true</code>,
|
|
2786
|
-
*
|
|
2787
|
-
*
|
|
2788
|
-
*
|
|
2789
|
-
*
|
|
2790
|
-
*
|
|
2803
|
+
* Amazon SNS uses a SHA-256 hash to generate the
|
|
2804
|
+
* <code>MessageDeduplicationId</code> using the body of the message (but not
|
|
2805
|
+
* the attributes of the message).</p>
|
|
2806
|
+
* <p>(Optional) To override the generated value, you can specify a value for the
|
|
2807
|
+
* <code>MessageDeduplicationId</code> parameter for the <code>Publish</code>
|
|
2808
|
+
* action.</p>
|
|
2791
2809
|
* </li>
|
|
2792
2810
|
* </ul>
|
|
2793
2811
|
* </li>
|
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.699.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,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.699.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.699.0",
|
|
25
25
|
"@aws-sdk/core": "3.696.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.699.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.696.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.696.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.696.0",
|