@aws-sdk/client-sns 3.267.0 → 3.269.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const s = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [v]: "Region" }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, o = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, p = [j], q = [k], r = [m];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://sns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: f, [u]: [m, "us-gov-east-1"] }], endpoint: { url: "https://sns.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-gov-west-1"] }], endpoint: { url: "https://sns.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://sns-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://sns.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://sns.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const s = "
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [v]: "Region" }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, o = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, p = [j], q = [k], r = [m];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://sns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: f, [u]: [m, "us-gov-east-1"] }], endpoint: { url: "https://sns.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-gov-west-1"] }], endpoint: { url: "https://sns.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://sns-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://sns.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://sns.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -347,7 +347,16 @@ export interface CreateTopicInput {
|
|
|
347
347
|
* <code>SignatureVersion</code> – The signature version corresponds to
|
|
348
348
|
* the hashing algorithm used while creating the signature of the notifications,
|
|
349
349
|
* subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS.
|
|
350
|
-
* By default, <code>SignatureVersion</code> is set to 1
|
|
350
|
+
* By default, <code>SignatureVersion</code> is set to <code>1</code>.</p>
|
|
351
|
+
* </li>
|
|
352
|
+
* <li>
|
|
353
|
+
* <p>
|
|
354
|
+
* <code>TracingConfig</code> – Tracing mode of an Amazon SNS topic. By default
|
|
355
|
+
* <code>TracingConfig</code> is set to <code>PassThrough</code>, and the topic
|
|
356
|
+
* passes through the tracing header it receives from an Amazon SNS publisher to its
|
|
357
|
+
* subscriptions. If set to <code>Active</code>, Amazon SNS will vend X-Ray segment data
|
|
358
|
+
* to topic owner account if the sampled flag in the tracing header is true. This
|
|
359
|
+
* is only supported on standard topics.</p>
|
|
351
360
|
* </li>
|
|
352
361
|
* </ul>
|
|
353
362
|
* <p>The following attribute applies only to <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html">server-side
|
|
@@ -815,8 +824,10 @@ export interface GetTopicAttributesResponse {
|
|
|
815
824
|
* </li>
|
|
816
825
|
* <li>
|
|
817
826
|
* <p>
|
|
818
|
-
* <code>SignatureVersion</code> – The version
|
|
819
|
-
*
|
|
827
|
+
* <code>SignatureVersion</code> – The signature version corresponds to
|
|
828
|
+
* the hashing algorithm used while creating the signature of the notifications,
|
|
829
|
+
* subscription confirmations, or unsubscribe confirmation messages sent by
|
|
830
|
+
* Amazon SNS.</p>
|
|
820
831
|
* <ul>
|
|
821
832
|
* <li>
|
|
822
833
|
* <p>By default, <code>SignatureVersion</code> is set to <b>1</b>. The signature is a Base64-encoded
|
|
@@ -851,6 +862,15 @@ export interface GetTopicAttributesResponse {
|
|
|
851
862
|
* <p>
|
|
852
863
|
* <code>TopicArn</code> – The topic's ARN.</p>
|
|
853
864
|
* </li>
|
|
865
|
+
* <li>
|
|
866
|
+
* <p>
|
|
867
|
+
* <code>TracingConfig</code> – Tracing mode of an Amazon SNS topic. By default
|
|
868
|
+
* <code>TracingConfig</code> is set to <code>PassThrough</code>, and the topic
|
|
869
|
+
* passes through the tracing header it receives from an Amazon SNS publisher to its
|
|
870
|
+
* subscriptions. If set to <code>Active</code>, Amazon SNS will vend X-Ray segment data
|
|
871
|
+
* to topic owner account if the sampled flag in the tracing header is true. This
|
|
872
|
+
* is only supported on standard topics.</p>
|
|
873
|
+
* </li>
|
|
854
874
|
* </ul>
|
|
855
875
|
* <p>The following attribute applies only to <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html">server-side-encryption</a>:</p>
|
|
856
876
|
* <ul>
|
|
@@ -1361,12 +1381,12 @@ export declare class PlatformApplicationDisabledException extends __BaseExceptio
|
|
|
1361
1381
|
/**
|
|
1362
1382
|
* <p>The user-specified message attribute value. For string data types, the value attribute
|
|
1363
1383
|
* has the same restrictions on the content as the message body. For more information, see
|
|
1364
|
-
*
|
|
1384
|
+
* <a href="https://docs.aws.amazon.com/sns/latest/api/API_Publish.html">Publish</a>.</p>
|
|
1365
1385
|
* <p>Name, type, and value must not be empty or null. In addition, the message body should
|
|
1366
1386
|
* not be empty or null. All parts of the message attribute, including name, type, and
|
|
1367
1387
|
* value, are included in the message size restriction, which is currently 256 KB (262,144
|
|
1368
1388
|
* bytes). For more information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html">Amazon SNS message attributes</a> and
|
|
1369
|
-
*
|
|
1389
|
+
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html">Publishing
|
|
1370
1390
|
* to a mobile phone</a> in the <i>Amazon SNS Developer Guide.</i>
|
|
1371
1391
|
* </p>
|
|
1372
1392
|
*/
|
|
@@ -1379,7 +1399,7 @@ export interface MessageAttributeValue {
|
|
|
1379
1399
|
DataType: string | undefined;
|
|
1380
1400
|
/**
|
|
1381
1401
|
* <p>Strings are Unicode with UTF8 binary encoding. For a list of code values, see <a href="https://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters">ASCII Printable
|
|
1382
|
-
*
|
|
1402
|
+
* Characters</a>.</p>
|
|
1383
1403
|
*/
|
|
1384
1404
|
StringValue?: string;
|
|
1385
1405
|
/**
|
|
@@ -1599,14 +1619,16 @@ export declare class InvalidBatchEntryIdException extends __BaseException {
|
|
|
1599
1619
|
constructor(opts: __ExceptionOptionType<InvalidBatchEntryIdException, __BaseException>);
|
|
1600
1620
|
}
|
|
1601
1621
|
/**
|
|
1602
|
-
* <p>Contains the details of a single Amazon SNS message along with an <code>Id</code> that
|
|
1622
|
+
* <p>Contains the details of a single Amazon SNS message along with an <code>Id</code> that
|
|
1623
|
+
* identifies a message within the batch. </p>
|
|
1603
1624
|
*/
|
|
1604
1625
|
export interface PublishBatchRequestEntry {
|
|
1605
1626
|
/**
|
|
1606
1627
|
* <p>An identifier for the message in this batch.</p>
|
|
1607
1628
|
* <note>
|
|
1608
1629
|
* <p>The <code>Ids</code> of a batch request must be unique within a request. </p>
|
|
1609
|
-
* <p>This identifier can have up to 80 characters. The following characters are
|
|
1630
|
+
* <p>This identifier can have up to 80 characters. The following characters are
|
|
1631
|
+
* accepted: alphanumeric characters, hyphens(-), and underscores (_). </p>
|
|
1610
1632
|
* </note>
|
|
1611
1633
|
*/
|
|
1612
1634
|
Id: string | undefined;
|
|
@@ -1619,13 +1641,18 @@ export interface PublishBatchRequestEntry {
|
|
|
1619
1641
|
*/
|
|
1620
1642
|
Subject?: string;
|
|
1621
1643
|
/**
|
|
1622
|
-
* <p>Set <code>MessageStructure</code> to <code>json</code> if you want to send a different
|
|
1644
|
+
* <p>Set <code>MessageStructure</code> to <code>json</code> if you want to send a different
|
|
1645
|
+
* message for each protocol. For example, using one publish action, you can send a short
|
|
1646
|
+
* message to your SMS subscribers and a longer message to your email subscribers. If you
|
|
1647
|
+
* set <code>MessageStructure</code> to <code>json</code>, the value of the
|
|
1648
|
+
* <code>Message</code> parameter must: </p>
|
|
1623
1649
|
* <ul>
|
|
1624
1650
|
* <li>
|
|
1625
1651
|
* <p>be a syntactically valid JSON object; and</p>
|
|
1626
1652
|
* </li>
|
|
1627
1653
|
* <li>
|
|
1628
|
-
* <p>contain at least a top-level JSON key of "default" with a value that is a
|
|
1654
|
+
* <p>contain at least a top-level JSON key of "default" with a value that is a
|
|
1655
|
+
* string.</p>
|
|
1629
1656
|
* </li>
|
|
1630
1657
|
* </ul>
|
|
1631
1658
|
* <p>You can define other top-level keys that define the message you want to send to a
|
|
@@ -1633,61 +1660,92 @@ export interface PublishBatchRequestEntry {
|
|
|
1633
1660
|
*/
|
|
1634
1661
|
MessageStructure?: string;
|
|
1635
1662
|
/**
|
|
1636
|
-
* <p>Each message attribute consists of a <code>Name</code>, <code>Type</code>, and
|
|
1663
|
+
* <p>Each message attribute consists of a <code>Name</code>, <code>Type</code>, and
|
|
1664
|
+
* <code>Value</code>. For more information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-message-attributes.html">Amazon SNS message attributes</a> in
|
|
1665
|
+
* the Amazon SNS Developer Guide.</p>
|
|
1637
1666
|
*/
|
|
1638
1667
|
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
1639
1668
|
/**
|
|
1640
1669
|
* <p>This parameter applies only to FIFO (first-in-first-out) topics.</p>
|
|
1641
|
-
* <p>The token used for deduplication of messages within a 5-minute minimum deduplication
|
|
1670
|
+
* <p>The token used for deduplication of messages within a 5-minute minimum deduplication
|
|
1671
|
+
* interval. If a message with a particular <code>MessageDeduplicationId</code> is sent
|
|
1672
|
+
* successfully, subsequent messages with the same <code>MessageDeduplicationId</code> are
|
|
1673
|
+
* accepted successfully but aren't delivered.</p>
|
|
1642
1674
|
* <ul>
|
|
1643
1675
|
* <li>
|
|
1644
1676
|
* <p>Every message must have a unique <code>MessageDeduplicationId</code>.</p>
|
|
1645
1677
|
* <ul>
|
|
1646
1678
|
* <li>
|
|
1647
|
-
* <p>You may provide a <code>MessageDeduplicationId</code>
|
|
1679
|
+
* <p>You may provide a <code>MessageDeduplicationId</code>
|
|
1680
|
+
* explicitly.</p>
|
|
1648
1681
|
* </li>
|
|
1649
1682
|
* <li>
|
|
1650
|
-
* <p>If you aren't able to provide a <code>MessageDeduplicationId</code>
|
|
1683
|
+
* <p>If you aren't able to provide a <code>MessageDeduplicationId</code>
|
|
1684
|
+
* and you enable <code>ContentBasedDeduplication</code> for your topic,
|
|
1685
|
+
* Amazon SNS uses a SHA-256 hash to generate the
|
|
1686
|
+
* <code>MessageDeduplicationId</code> using the body of the message
|
|
1687
|
+
* (but not the attributes of the message).</p>
|
|
1651
1688
|
* </li>
|
|
1652
1689
|
* <li>
|
|
1653
|
-
* <p>If you don't provide a <code>MessageDeduplicationId</code> and the
|
|
1690
|
+
* <p>If you don't provide a <code>MessageDeduplicationId</code> and the
|
|
1691
|
+
* topic doesn't have <code>ContentBasedDeduplication</code> set, the
|
|
1692
|
+
* action fails with an error.</p>
|
|
1654
1693
|
* </li>
|
|
1655
1694
|
* <li>
|
|
1656
1695
|
* <p>If the topic has a <code>ContentBasedDeduplication</code> set, your
|
|
1657
|
-
* <code>MessageDeduplicationId</code> overrides the generated one.
|
|
1696
|
+
* <code>MessageDeduplicationId</code> overrides the generated one.
|
|
1697
|
+
* </p>
|
|
1658
1698
|
* </li>
|
|
1659
1699
|
* </ul>
|
|
1660
1700
|
* </li>
|
|
1661
1701
|
* <li>
|
|
1662
|
-
* <p>When <code>ContentBasedDeduplication</code> is in effect, messages with
|
|
1702
|
+
* <p>When <code>ContentBasedDeduplication</code> is in effect, messages with
|
|
1703
|
+
* identical content sent within the deduplication interval are treated as
|
|
1704
|
+
* duplicates and only one copy of the message is delivered.</p>
|
|
1663
1705
|
* </li>
|
|
1664
1706
|
* <li>
|
|
1665
|
-
* <p>If you send one message with <code>ContentBasedDeduplication</code> enabled,
|
|
1666
|
-
* message with a <code>MessageDeduplicationId</code> that is the
|
|
1667
|
-
* generated for the first <code>MessageDeduplicationId</code>, the
|
|
1668
|
-
* are treated as duplicates and only one copy of the message is
|
|
1707
|
+
* <p>If you send one message with <code>ContentBasedDeduplication</code> enabled,
|
|
1708
|
+
* and then another message with a <code>MessageDeduplicationId</code> that is the
|
|
1709
|
+
* same as the one generated for the first <code>MessageDeduplicationId</code>, the
|
|
1710
|
+
* two messages are treated as duplicates and only one copy of the message is
|
|
1711
|
+
* delivered. </p>
|
|
1669
1712
|
* </li>
|
|
1670
1713
|
* </ul>
|
|
1671
1714
|
* <note>
|
|
1672
|
-
* <p>The <code>MessageDeduplicationId</code> is available to the consumer of the
|
|
1673
|
-
*
|
|
1674
|
-
* <p>
|
|
1715
|
+
* <p>The <code>MessageDeduplicationId</code> is available to the consumer of the
|
|
1716
|
+
* message (this can be useful for troubleshooting delivery issues).</p>
|
|
1717
|
+
* <p>If a message is sent successfully but the acknowledgement is lost and the message
|
|
1718
|
+
* is resent with the same <code>MessageDeduplicationId</code> after the deduplication
|
|
1719
|
+
* interval, Amazon SNS can't detect duplicate messages. </p>
|
|
1720
|
+
* <p>Amazon SNS continues to keep track of the message deduplication ID even after the
|
|
1721
|
+
* message is received and deleted. </p>
|
|
1675
1722
|
* </note>
|
|
1676
1723
|
* <p>The length of <code>MessageDeduplicationId</code> is 128 characters.</p>
|
|
1677
1724
|
* <p>
|
|
1678
|
-
* <code>MessageDeduplicationId</code> can contain alphanumeric characters <code>(a-z,
|
|
1725
|
+
* <code>MessageDeduplicationId</code> can contain alphanumeric characters <code>(a-z,
|
|
1726
|
+
* A-Z, 0-9)</code> and punctuation
|
|
1727
|
+
* <code>(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)</code>.</p>
|
|
1679
1728
|
*/
|
|
1680
1729
|
MessageDeduplicationId?: string;
|
|
1681
1730
|
/**
|
|
1682
1731
|
* <p>This parameter applies only to FIFO (first-in-first-out) topics.</p>
|
|
1683
|
-
* <p>The tag that specifies that a message belongs to a specific message group. Messages
|
|
1684
|
-
*
|
|
1732
|
+
* <p>The tag that specifies that a message belongs to a specific message group. Messages
|
|
1733
|
+
* that belong to the same message group are processed in a FIFO manner (however, messages
|
|
1734
|
+
* in different message groups might be processed out of order). To interleave multiple
|
|
1735
|
+
* ordered streams within a single topic, use <code>MessageGroupId</code> values (for
|
|
1736
|
+
* example, session data for multiple users). In this scenario, multiple consumers can
|
|
1737
|
+
* process the topic, but the session data of each user is processed in a FIFO fashion. </p>
|
|
1738
|
+
* <p>You must associate a non-empty <code>MessageGroupId</code> with a message. If you
|
|
1739
|
+
* don't provide a <code>MessageGroupId</code>, the action fails. </p>
|
|
1685
1740
|
* <p>The length of <code>MessageGroupId</code> is 128 characters.</p>
|
|
1686
1741
|
* <p>
|
|
1687
|
-
* <code>MessageGroupId</code> can contain alphanumeric characters <code>(a-z, A-Z,
|
|
1742
|
+
* <code>MessageGroupId</code> can contain alphanumeric characters <code>(a-z, A-Z,
|
|
1743
|
+
* 0-9)</code> and punctuation
|
|
1744
|
+
* <code>(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)</code>.</p>
|
|
1688
1745
|
* <important>
|
|
1689
1746
|
* <p>
|
|
1690
|
-
* <code>MessageGroupId</code> is required for FIFO topics. You can't use it for
|
|
1747
|
+
* <code>MessageGroupId</code> is required for FIFO topics. You can't use it for
|
|
1748
|
+
* standard topics. </p>
|
|
1691
1749
|
* </important>
|
|
1692
1750
|
*/
|
|
1693
1751
|
MessageGroupId?: string;
|
|
@@ -1739,7 +1797,8 @@ export interface PublishBatchResultEntry {
|
|
|
1739
1797
|
/**
|
|
1740
1798
|
* <p>This parameter applies only to FIFO (first-in-first-out) topics.</p>
|
|
1741
1799
|
* <p>The large, non-consecutive number that Amazon SNS assigns to each message.</p>
|
|
1742
|
-
* <p>The length of <code>SequenceNumber</code> is 128 bits. <code>SequenceNumber</code>
|
|
1800
|
+
* <p>The length of <code>SequenceNumber</code> is 128 bits. <code>SequenceNumber</code>
|
|
1801
|
+
* continues to increase for a particular <code>MessageGroupId</code>.</p>
|
|
1743
1802
|
*/
|
|
1744
1803
|
SequenceNumber?: string;
|
|
1745
1804
|
}
|
|
@@ -2158,6 +2217,15 @@ export interface SetTopicAttributesInput {
|
|
|
2158
2217
|
* topic.</p>
|
|
2159
2218
|
* </li>
|
|
2160
2219
|
* <li>
|
|
2220
|
+
* <p>
|
|
2221
|
+
* <code>TracingConfig</code> – Tracing mode of an Amazon SNS topic. By default
|
|
2222
|
+
* <code>TracingConfig</code> is set to <code>PassThrough</code>, and the topic
|
|
2223
|
+
* passes through the tracing header it receives from an Amazon SNS publisher to its
|
|
2224
|
+
* subscriptions. If set to <code>Active</code>, Amazon SNS will vend X-Ray segment data
|
|
2225
|
+
* to topic owner account if the sampled flag in the tracing header is true. This
|
|
2226
|
+
* is only supported on standard topics.</p>
|
|
2227
|
+
* </li>
|
|
2228
|
+
* <li>
|
|
2161
2229
|
* <p>HTTP</p>
|
|
2162
2230
|
* <ul>
|
|
2163
2231
|
* <li>
|
|
@@ -2243,16 +2311,16 @@ export interface SetTopicAttributesInput {
|
|
|
2243
2311
|
* </li>
|
|
2244
2312
|
* <li>
|
|
2245
2313
|
* <p>
|
|
2246
|
-
* <code>ApplicationFailureFeedbackRoleArn</code> – Indicates
|
|
2247
|
-
* message delivery status for an Amazon SNS topic that is subscribed to
|
|
2248
|
-
* Amazon Web Services application endpoint.</p>
|
|
2314
|
+
* <code>ApplicationFailureFeedbackRoleArn</code> – Indicates
|
|
2315
|
+
* failed message delivery status for an Amazon SNS topic that is subscribed to
|
|
2316
|
+
* an Amazon Web Services application endpoint.</p>
|
|
2249
2317
|
* </li>
|
|
2250
2318
|
* </ul>
|
|
2251
2319
|
* <note>
|
|
2252
2320
|
* <p>In addition to being able to configure topic attributes for message
|
|
2253
2321
|
* delivery status of notification messages sent to Amazon SNS application
|
|
2254
|
-
* endpoints, you can also configure application attributes for the
|
|
2255
|
-
*
|
|
2322
|
+
* endpoints, you can also configure application attributes for the delivery
|
|
2323
|
+
* status of push notification messages sent to push notification
|
|
2256
2324
|
* services.</p>
|
|
2257
2325
|
* <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
|
|
2258
2326
|
* Attributes for Message Delivery Status</a>. </p>
|
|
@@ -2284,11 +2352,11 @@ export interface SetTopicAttributesInput {
|
|
|
2284
2352
|
* </ul>
|
|
2285
2353
|
* <note>
|
|
2286
2354
|
* <p>The <ENDPOINT>SuccessFeedbackRoleArn and <ENDPOINT>FailureFeedbackRoleArn
|
|
2287
|
-
*
|
|
2288
|
-
*
|
|
2289
|
-
*
|
|
2290
|
-
*
|
|
2291
|
-
*
|
|
2355
|
+
* attributes are used to give Amazon SNS write access to use CloudWatch Logs on your
|
|
2356
|
+
* behalf. The <ENDPOINT>SuccessFeedbackSampleRate attribute is for specifying the
|
|
2357
|
+
* sample rate percentage (0-100) of successfully delivered messages. After you
|
|
2358
|
+
* configure the <ENDPOINT>FailureFeedbackRoleArn attribute, then all failed message
|
|
2359
|
+
* deliveries generate CloudWatch Logs. </p>
|
|
2292
2360
|
* </note>
|
|
2293
2361
|
* <p>The following attribute applies only to <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html">server-side-encryption</a>:</p>
|
|
2294
2362
|
* <ul>
|
|
@@ -2302,8 +2370,8 @@ export interface SetTopicAttributesInput {
|
|
|
2302
2370
|
* <p>
|
|
2303
2371
|
* <code>SignatureVersion</code> – The signature version corresponds to the
|
|
2304
2372
|
* hashing algorithm used while creating the signature of the notifications,
|
|
2305
|
-
* subscription confirmations, or unsubscribe confirmation messages sent by
|
|
2306
|
-
*
|
|
2373
|
+
* subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS.
|
|
2374
|
+
* By default, <code>SignatureVersion</code> is set to <code>1</code>.</p>
|
|
2307
2375
|
* </li>
|
|
2308
2376
|
* </ul>
|
|
2309
2377
|
* <p>The following attribute applies only to <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html">FIFO topics</a>:</p>
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region?: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
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.269.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|