@aws-sdk/client-sns 3.100.0 → 3.109.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist-cjs/SNSClient.js +2 -0
- package/dist-cjs/protocols/Aws_query.js +19 -19
- package/dist-es/SNSClient.js +2 -0
- package/dist-es/protocols/Aws_query.js +19 -19
- package/dist-types/models/models_0.d.ts +16 -48
- package/dist-types/ts3.4/models/models_0.d.ts +16 -48
- package/package.json +29 -28
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-sns
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.107.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.106.0...v3.107.0) (2022-06-08)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **clients:** handle empty xml tags ([#3623](https://github.com/aws/aws-sdk-js-v3/issues/3623)) ([543a0ce](https://github.com/aws/aws-sdk-js-v3/commit/543a0ce13bebc6e8a5f4cc8e1bd4de67692d4034))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-sns
|
package/dist-cjs/SNSClient.js
CHANGED
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class SNSClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -3514,7 +3514,7 @@ const deserializeAws_queryEndpoint = (output, context) => {
|
|
|
3514
3514
|
if (output.Attributes === "") {
|
|
3515
3515
|
contents.Attributes = {};
|
|
3516
3516
|
}
|
|
3517
|
-
if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
3517
|
+
else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
3518
3518
|
contents.Attributes = deserializeAws_queryMapStringToString((0, smithy_client_1.getArrayIfSingleItem)(output["Attributes"]["entry"]), context);
|
|
3519
3519
|
}
|
|
3520
3520
|
return contents;
|
|
@@ -3544,7 +3544,7 @@ const deserializeAws_queryGetEndpointAttributesResponse = (output, context) => {
|
|
|
3544
3544
|
if (output.Attributes === "") {
|
|
3545
3545
|
contents.Attributes = {};
|
|
3546
3546
|
}
|
|
3547
|
-
if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
3547
|
+
else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
3548
3548
|
contents.Attributes = deserializeAws_queryMapStringToString((0, smithy_client_1.getArrayIfSingleItem)(output["Attributes"]["entry"]), context);
|
|
3549
3549
|
}
|
|
3550
3550
|
return contents;
|
|
@@ -3556,7 +3556,7 @@ const deserializeAws_queryGetPlatformApplicationAttributesResponse = (output, co
|
|
|
3556
3556
|
if (output.Attributes === "") {
|
|
3557
3557
|
contents.Attributes = {};
|
|
3558
3558
|
}
|
|
3559
|
-
if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
3559
|
+
else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
3560
3560
|
contents.Attributes = deserializeAws_queryMapStringToString((0, smithy_client_1.getArrayIfSingleItem)(output["Attributes"]["entry"]), context);
|
|
3561
3561
|
}
|
|
3562
3562
|
return contents;
|
|
@@ -3568,7 +3568,7 @@ const deserializeAws_queryGetSMSAttributesResponse = (output, context) => {
|
|
|
3568
3568
|
if (output.attributes === "") {
|
|
3569
3569
|
contents.attributes = {};
|
|
3570
3570
|
}
|
|
3571
|
-
if (output["attributes"] !== undefined && output["attributes"]["entry"] !== undefined) {
|
|
3571
|
+
else if (output["attributes"] !== undefined && output["attributes"]["entry"] !== undefined) {
|
|
3572
3572
|
contents.attributes = deserializeAws_queryMapStringToString((0, smithy_client_1.getArrayIfSingleItem)(output["attributes"]["entry"]), context);
|
|
3573
3573
|
}
|
|
3574
3574
|
return contents;
|
|
@@ -3589,7 +3589,7 @@ const deserializeAws_queryGetSubscriptionAttributesResponse = (output, context)
|
|
|
3589
3589
|
if (output.Attributes === "") {
|
|
3590
3590
|
contents.Attributes = {};
|
|
3591
3591
|
}
|
|
3592
|
-
if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
3592
|
+
else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
3593
3593
|
contents.Attributes = deserializeAws_querySubscriptionAttributesMap((0, smithy_client_1.getArrayIfSingleItem)(output["Attributes"]["entry"]), context);
|
|
3594
3594
|
}
|
|
3595
3595
|
return contents;
|
|
@@ -3601,7 +3601,7 @@ const deserializeAws_queryGetTopicAttributesResponse = (output, context) => {
|
|
|
3601
3601
|
if (output.Attributes === "") {
|
|
3602
3602
|
contents.Attributes = {};
|
|
3603
3603
|
}
|
|
3604
|
-
if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
3604
|
+
else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
3605
3605
|
contents.Attributes = deserializeAws_queryTopicAttributesMap((0, smithy_client_1.getArrayIfSingleItem)(output["Attributes"]["entry"]), context);
|
|
3606
3606
|
}
|
|
3607
3607
|
return contents;
|
|
@@ -3713,7 +3713,7 @@ const deserializeAws_queryListEndpointsByPlatformApplicationResponse = (output,
|
|
|
3713
3713
|
if (output.Endpoints === "") {
|
|
3714
3714
|
contents.Endpoints = [];
|
|
3715
3715
|
}
|
|
3716
|
-
if (output["Endpoints"] !== undefined && output["Endpoints"]["member"] !== undefined) {
|
|
3716
|
+
else if (output["Endpoints"] !== undefined && output["Endpoints"]["member"] !== undefined) {
|
|
3717
3717
|
contents.Endpoints = deserializeAws_queryListOfEndpoints((0, smithy_client_1.getArrayIfSingleItem)(output["Endpoints"]["member"]), context);
|
|
3718
3718
|
}
|
|
3719
3719
|
if (output["NextToken"] !== undefined) {
|
|
@@ -3752,7 +3752,7 @@ const deserializeAws_queryListOriginationNumbersResult = (output, context) => {
|
|
|
3752
3752
|
if (output.PhoneNumbers === "") {
|
|
3753
3753
|
contents.PhoneNumbers = [];
|
|
3754
3754
|
}
|
|
3755
|
-
if (output["PhoneNumbers"] !== undefined && output["PhoneNumbers"]["member"] !== undefined) {
|
|
3755
|
+
else if (output["PhoneNumbers"] !== undefined && output["PhoneNumbers"]["member"] !== undefined) {
|
|
3756
3756
|
contents.PhoneNumbers = deserializeAws_queryPhoneNumberInformationList((0, smithy_client_1.getArrayIfSingleItem)(output["PhoneNumbers"]["member"]), context);
|
|
3757
3757
|
}
|
|
3758
3758
|
return contents;
|
|
@@ -3765,7 +3765,7 @@ const deserializeAws_queryListPhoneNumbersOptedOutResponse = (output, context) =
|
|
|
3765
3765
|
if (output.phoneNumbers === "") {
|
|
3766
3766
|
contents.phoneNumbers = [];
|
|
3767
3767
|
}
|
|
3768
|
-
if (output["phoneNumbers"] !== undefined && output["phoneNumbers"]["member"] !== undefined) {
|
|
3768
|
+
else if (output["phoneNumbers"] !== undefined && output["phoneNumbers"]["member"] !== undefined) {
|
|
3769
3769
|
contents.phoneNumbers = deserializeAws_queryPhoneNumberList((0, smithy_client_1.getArrayIfSingleItem)(output["phoneNumbers"]["member"]), context);
|
|
3770
3770
|
}
|
|
3771
3771
|
if (output["nextToken"] !== undefined) {
|
|
@@ -3781,7 +3781,7 @@ const deserializeAws_queryListPlatformApplicationsResponse = (output, context) =
|
|
|
3781
3781
|
if (output.PlatformApplications === "") {
|
|
3782
3782
|
contents.PlatformApplications = [];
|
|
3783
3783
|
}
|
|
3784
|
-
if (output["PlatformApplications"] !== undefined && output["PlatformApplications"]["member"] !== undefined) {
|
|
3784
|
+
else if (output["PlatformApplications"] !== undefined && output["PlatformApplications"]["member"] !== undefined) {
|
|
3785
3785
|
contents.PlatformApplications = deserializeAws_queryListOfPlatformApplications((0, smithy_client_1.getArrayIfSingleItem)(output["PlatformApplications"]["member"]), context);
|
|
3786
3786
|
}
|
|
3787
3787
|
if (output["NextToken"] !== undefined) {
|
|
@@ -3797,7 +3797,7 @@ const deserializeAws_queryListSMSSandboxPhoneNumbersResult = (output, context) =
|
|
|
3797
3797
|
if (output.PhoneNumbers === "") {
|
|
3798
3798
|
contents.PhoneNumbers = [];
|
|
3799
3799
|
}
|
|
3800
|
-
if (output["PhoneNumbers"] !== undefined && output["PhoneNumbers"]["member"] !== undefined) {
|
|
3800
|
+
else if (output["PhoneNumbers"] !== undefined && output["PhoneNumbers"]["member"] !== undefined) {
|
|
3801
3801
|
contents.PhoneNumbers = deserializeAws_querySMSSandboxPhoneNumberList((0, smithy_client_1.getArrayIfSingleItem)(output["PhoneNumbers"]["member"]), context);
|
|
3802
3802
|
}
|
|
3803
3803
|
if (output["NextToken"] !== undefined) {
|
|
@@ -3813,7 +3813,7 @@ const deserializeAws_queryListSubscriptionsByTopicResponse = (output, context) =
|
|
|
3813
3813
|
if (output.Subscriptions === "") {
|
|
3814
3814
|
contents.Subscriptions = [];
|
|
3815
3815
|
}
|
|
3816
|
-
if (output["Subscriptions"] !== undefined && output["Subscriptions"]["member"] !== undefined) {
|
|
3816
|
+
else if (output["Subscriptions"] !== undefined && output["Subscriptions"]["member"] !== undefined) {
|
|
3817
3817
|
contents.Subscriptions = deserializeAws_querySubscriptionsList((0, smithy_client_1.getArrayIfSingleItem)(output["Subscriptions"]["member"]), context);
|
|
3818
3818
|
}
|
|
3819
3819
|
if (output["NextToken"] !== undefined) {
|
|
@@ -3829,7 +3829,7 @@ const deserializeAws_queryListSubscriptionsResponse = (output, context) => {
|
|
|
3829
3829
|
if (output.Subscriptions === "") {
|
|
3830
3830
|
contents.Subscriptions = [];
|
|
3831
3831
|
}
|
|
3832
|
-
if (output["Subscriptions"] !== undefined && output["Subscriptions"]["member"] !== undefined) {
|
|
3832
|
+
else if (output["Subscriptions"] !== undefined && output["Subscriptions"]["member"] !== undefined) {
|
|
3833
3833
|
contents.Subscriptions = deserializeAws_querySubscriptionsList((0, smithy_client_1.getArrayIfSingleItem)(output["Subscriptions"]["member"]), context);
|
|
3834
3834
|
}
|
|
3835
3835
|
if (output["NextToken"] !== undefined) {
|
|
@@ -3844,7 +3844,7 @@ const deserializeAws_queryListTagsForResourceResponse = (output, context) => {
|
|
|
3844
3844
|
if (output.Tags === "") {
|
|
3845
3845
|
contents.Tags = [];
|
|
3846
3846
|
}
|
|
3847
|
-
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
3847
|
+
else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
3848
3848
|
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
|
|
3849
3849
|
}
|
|
3850
3850
|
return contents;
|
|
@@ -3857,7 +3857,7 @@ const deserializeAws_queryListTopicsResponse = (output, context) => {
|
|
|
3857
3857
|
if (output.Topics === "") {
|
|
3858
3858
|
contents.Topics = [];
|
|
3859
3859
|
}
|
|
3860
|
-
if (output["Topics"] !== undefined && output["Topics"]["member"] !== undefined) {
|
|
3860
|
+
else if (output["Topics"] !== undefined && output["Topics"]["member"] !== undefined) {
|
|
3861
3861
|
contents.Topics = deserializeAws_queryTopicsList((0, smithy_client_1.getArrayIfSingleItem)(output["Topics"]["member"]), context);
|
|
3862
3862
|
}
|
|
3863
3863
|
if (output["NextToken"] !== undefined) {
|
|
@@ -3935,7 +3935,7 @@ const deserializeAws_queryPhoneNumberInformation = (output, context) => {
|
|
|
3935
3935
|
if (output.NumberCapabilities === "") {
|
|
3936
3936
|
contents.NumberCapabilities = [];
|
|
3937
3937
|
}
|
|
3938
|
-
if (output["NumberCapabilities"] !== undefined && output["NumberCapabilities"]["member"] !== undefined) {
|
|
3938
|
+
else if (output["NumberCapabilities"] !== undefined && output["NumberCapabilities"]["member"] !== undefined) {
|
|
3939
3939
|
contents.NumberCapabilities = deserializeAws_queryNumberCapabilityList((0, smithy_client_1.getArrayIfSingleItem)(output["NumberCapabilities"]["member"]), context);
|
|
3940
3940
|
}
|
|
3941
3941
|
return contents;
|
|
@@ -3971,7 +3971,7 @@ const deserializeAws_queryPlatformApplication = (output, context) => {
|
|
|
3971
3971
|
if (output.Attributes === "") {
|
|
3972
3972
|
contents.Attributes = {};
|
|
3973
3973
|
}
|
|
3974
|
-
if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
3974
|
+
else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
3975
3975
|
contents.Attributes = deserializeAws_queryMapStringToString((0, smithy_client_1.getArrayIfSingleItem)(output["Attributes"]["entry"]), context);
|
|
3976
3976
|
}
|
|
3977
3977
|
return contents;
|
|
@@ -3993,13 +3993,13 @@ const deserializeAws_queryPublishBatchResponse = (output, context) => {
|
|
|
3993
3993
|
if (output.Successful === "") {
|
|
3994
3994
|
contents.Successful = [];
|
|
3995
3995
|
}
|
|
3996
|
-
if (output["Successful"] !== undefined && output["Successful"]["member"] !== undefined) {
|
|
3996
|
+
else if (output["Successful"] !== undefined && output["Successful"]["member"] !== undefined) {
|
|
3997
3997
|
contents.Successful = deserializeAws_queryPublishBatchResultEntryList((0, smithy_client_1.getArrayIfSingleItem)(output["Successful"]["member"]), context);
|
|
3998
3998
|
}
|
|
3999
3999
|
if (output.Failed === "") {
|
|
4000
4000
|
contents.Failed = [];
|
|
4001
4001
|
}
|
|
4002
|
-
if (output["Failed"] !== undefined && output["Failed"]["member"] !== undefined) {
|
|
4002
|
+
else if (output["Failed"] !== undefined && output["Failed"]["member"] !== undefined) {
|
|
4003
4003
|
contents.Failed = deserializeAws_queryBatchResultErrorEntryList((0, smithy_client_1.getArrayIfSingleItem)(output["Failed"]["member"]), context);
|
|
4004
4004
|
}
|
|
4005
4005
|
return contents;
|
package/dist-es/SNSClient.js
CHANGED
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var SNSClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -4236,7 +4236,7 @@ var deserializeAws_queryEndpoint = function (output, context) {
|
|
|
4236
4236
|
if (output.Attributes === "") {
|
|
4237
4237
|
contents.Attributes = {};
|
|
4238
4238
|
}
|
|
4239
|
-
if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
4239
|
+
else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
4240
4240
|
contents.Attributes = deserializeAws_queryMapStringToString(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
|
|
4241
4241
|
}
|
|
4242
4242
|
return contents;
|
|
@@ -4266,7 +4266,7 @@ var deserializeAws_queryGetEndpointAttributesResponse = function (output, contex
|
|
|
4266
4266
|
if (output.Attributes === "") {
|
|
4267
4267
|
contents.Attributes = {};
|
|
4268
4268
|
}
|
|
4269
|
-
if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
4269
|
+
else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
4270
4270
|
contents.Attributes = deserializeAws_queryMapStringToString(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
|
|
4271
4271
|
}
|
|
4272
4272
|
return contents;
|
|
@@ -4278,7 +4278,7 @@ var deserializeAws_queryGetPlatformApplicationAttributesResponse = function (out
|
|
|
4278
4278
|
if (output.Attributes === "") {
|
|
4279
4279
|
contents.Attributes = {};
|
|
4280
4280
|
}
|
|
4281
|
-
if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
4281
|
+
else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
4282
4282
|
contents.Attributes = deserializeAws_queryMapStringToString(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
|
|
4283
4283
|
}
|
|
4284
4284
|
return contents;
|
|
@@ -4290,7 +4290,7 @@ var deserializeAws_queryGetSMSAttributesResponse = function (output, context) {
|
|
|
4290
4290
|
if (output.attributes === "") {
|
|
4291
4291
|
contents.attributes = {};
|
|
4292
4292
|
}
|
|
4293
|
-
if (output["attributes"] !== undefined && output["attributes"]["entry"] !== undefined) {
|
|
4293
|
+
else if (output["attributes"] !== undefined && output["attributes"]["entry"] !== undefined) {
|
|
4294
4294
|
contents.attributes = deserializeAws_queryMapStringToString(__getArrayIfSingleItem(output["attributes"]["entry"]), context);
|
|
4295
4295
|
}
|
|
4296
4296
|
return contents;
|
|
@@ -4311,7 +4311,7 @@ var deserializeAws_queryGetSubscriptionAttributesResponse = function (output, co
|
|
|
4311
4311
|
if (output.Attributes === "") {
|
|
4312
4312
|
contents.Attributes = {};
|
|
4313
4313
|
}
|
|
4314
|
-
if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
4314
|
+
else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
4315
4315
|
contents.Attributes = deserializeAws_querySubscriptionAttributesMap(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
|
|
4316
4316
|
}
|
|
4317
4317
|
return contents;
|
|
@@ -4323,7 +4323,7 @@ var deserializeAws_queryGetTopicAttributesResponse = function (output, context)
|
|
|
4323
4323
|
if (output.Attributes === "") {
|
|
4324
4324
|
contents.Attributes = {};
|
|
4325
4325
|
}
|
|
4326
|
-
if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
4326
|
+
else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
4327
4327
|
contents.Attributes = deserializeAws_queryTopicAttributesMap(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
|
|
4328
4328
|
}
|
|
4329
4329
|
return contents;
|
|
@@ -4435,7 +4435,7 @@ var deserializeAws_queryListEndpointsByPlatformApplicationResponse = function (o
|
|
|
4435
4435
|
if (output.Endpoints === "") {
|
|
4436
4436
|
contents.Endpoints = [];
|
|
4437
4437
|
}
|
|
4438
|
-
if (output["Endpoints"] !== undefined && output["Endpoints"]["member"] !== undefined) {
|
|
4438
|
+
else if (output["Endpoints"] !== undefined && output["Endpoints"]["member"] !== undefined) {
|
|
4439
4439
|
contents.Endpoints = deserializeAws_queryListOfEndpoints(__getArrayIfSingleItem(output["Endpoints"]["member"]), context);
|
|
4440
4440
|
}
|
|
4441
4441
|
if (output["NextToken"] !== undefined) {
|
|
@@ -4474,7 +4474,7 @@ var deserializeAws_queryListOriginationNumbersResult = function (output, context
|
|
|
4474
4474
|
if (output.PhoneNumbers === "") {
|
|
4475
4475
|
contents.PhoneNumbers = [];
|
|
4476
4476
|
}
|
|
4477
|
-
if (output["PhoneNumbers"] !== undefined && output["PhoneNumbers"]["member"] !== undefined) {
|
|
4477
|
+
else if (output["PhoneNumbers"] !== undefined && output["PhoneNumbers"]["member"] !== undefined) {
|
|
4478
4478
|
contents.PhoneNumbers = deserializeAws_queryPhoneNumberInformationList(__getArrayIfSingleItem(output["PhoneNumbers"]["member"]), context);
|
|
4479
4479
|
}
|
|
4480
4480
|
return contents;
|
|
@@ -4487,7 +4487,7 @@ var deserializeAws_queryListPhoneNumbersOptedOutResponse = function (output, con
|
|
|
4487
4487
|
if (output.phoneNumbers === "") {
|
|
4488
4488
|
contents.phoneNumbers = [];
|
|
4489
4489
|
}
|
|
4490
|
-
if (output["phoneNumbers"] !== undefined && output["phoneNumbers"]["member"] !== undefined) {
|
|
4490
|
+
else if (output["phoneNumbers"] !== undefined && output["phoneNumbers"]["member"] !== undefined) {
|
|
4491
4491
|
contents.phoneNumbers = deserializeAws_queryPhoneNumberList(__getArrayIfSingleItem(output["phoneNumbers"]["member"]), context);
|
|
4492
4492
|
}
|
|
4493
4493
|
if (output["nextToken"] !== undefined) {
|
|
@@ -4503,7 +4503,7 @@ var deserializeAws_queryListPlatformApplicationsResponse = function (output, con
|
|
|
4503
4503
|
if (output.PlatformApplications === "") {
|
|
4504
4504
|
contents.PlatformApplications = [];
|
|
4505
4505
|
}
|
|
4506
|
-
if (output["PlatformApplications"] !== undefined && output["PlatformApplications"]["member"] !== undefined) {
|
|
4506
|
+
else if (output["PlatformApplications"] !== undefined && output["PlatformApplications"]["member"] !== undefined) {
|
|
4507
4507
|
contents.PlatformApplications = deserializeAws_queryListOfPlatformApplications(__getArrayIfSingleItem(output["PlatformApplications"]["member"]), context);
|
|
4508
4508
|
}
|
|
4509
4509
|
if (output["NextToken"] !== undefined) {
|
|
@@ -4519,7 +4519,7 @@ var deserializeAws_queryListSMSSandboxPhoneNumbersResult = function (output, con
|
|
|
4519
4519
|
if (output.PhoneNumbers === "") {
|
|
4520
4520
|
contents.PhoneNumbers = [];
|
|
4521
4521
|
}
|
|
4522
|
-
if (output["PhoneNumbers"] !== undefined && output["PhoneNumbers"]["member"] !== undefined) {
|
|
4522
|
+
else if (output["PhoneNumbers"] !== undefined && output["PhoneNumbers"]["member"] !== undefined) {
|
|
4523
4523
|
contents.PhoneNumbers = deserializeAws_querySMSSandboxPhoneNumberList(__getArrayIfSingleItem(output["PhoneNumbers"]["member"]), context);
|
|
4524
4524
|
}
|
|
4525
4525
|
if (output["NextToken"] !== undefined) {
|
|
@@ -4535,7 +4535,7 @@ var deserializeAws_queryListSubscriptionsByTopicResponse = function (output, con
|
|
|
4535
4535
|
if (output.Subscriptions === "") {
|
|
4536
4536
|
contents.Subscriptions = [];
|
|
4537
4537
|
}
|
|
4538
|
-
if (output["Subscriptions"] !== undefined && output["Subscriptions"]["member"] !== undefined) {
|
|
4538
|
+
else if (output["Subscriptions"] !== undefined && output["Subscriptions"]["member"] !== undefined) {
|
|
4539
4539
|
contents.Subscriptions = deserializeAws_querySubscriptionsList(__getArrayIfSingleItem(output["Subscriptions"]["member"]), context);
|
|
4540
4540
|
}
|
|
4541
4541
|
if (output["NextToken"] !== undefined) {
|
|
@@ -4551,7 +4551,7 @@ var deserializeAws_queryListSubscriptionsResponse = function (output, context) {
|
|
|
4551
4551
|
if (output.Subscriptions === "") {
|
|
4552
4552
|
contents.Subscriptions = [];
|
|
4553
4553
|
}
|
|
4554
|
-
if (output["Subscriptions"] !== undefined && output["Subscriptions"]["member"] !== undefined) {
|
|
4554
|
+
else if (output["Subscriptions"] !== undefined && output["Subscriptions"]["member"] !== undefined) {
|
|
4555
4555
|
contents.Subscriptions = deserializeAws_querySubscriptionsList(__getArrayIfSingleItem(output["Subscriptions"]["member"]), context);
|
|
4556
4556
|
}
|
|
4557
4557
|
if (output["NextToken"] !== undefined) {
|
|
@@ -4566,7 +4566,7 @@ var deserializeAws_queryListTagsForResourceResponse = function (output, context)
|
|
|
4566
4566
|
if (output.Tags === "") {
|
|
4567
4567
|
contents.Tags = [];
|
|
4568
4568
|
}
|
|
4569
|
-
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
4569
|
+
else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
4570
4570
|
contents.Tags = deserializeAws_queryTagList(__getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
4571
4571
|
}
|
|
4572
4572
|
return contents;
|
|
@@ -4579,7 +4579,7 @@ var deserializeAws_queryListTopicsResponse = function (output, context) {
|
|
|
4579
4579
|
if (output.Topics === "") {
|
|
4580
4580
|
contents.Topics = [];
|
|
4581
4581
|
}
|
|
4582
|
-
if (output["Topics"] !== undefined && output["Topics"]["member"] !== undefined) {
|
|
4582
|
+
else if (output["Topics"] !== undefined && output["Topics"]["member"] !== undefined) {
|
|
4583
4583
|
contents.Topics = deserializeAws_queryTopicsList(__getArrayIfSingleItem(output["Topics"]["member"]), context);
|
|
4584
4584
|
}
|
|
4585
4585
|
if (output["NextToken"] !== undefined) {
|
|
@@ -4655,7 +4655,7 @@ var deserializeAws_queryPhoneNumberInformation = function (output, context) {
|
|
|
4655
4655
|
if (output.NumberCapabilities === "") {
|
|
4656
4656
|
contents.NumberCapabilities = [];
|
|
4657
4657
|
}
|
|
4658
|
-
if (output["NumberCapabilities"] !== undefined && output["NumberCapabilities"]["member"] !== undefined) {
|
|
4658
|
+
else if (output["NumberCapabilities"] !== undefined && output["NumberCapabilities"]["member"] !== undefined) {
|
|
4659
4659
|
contents.NumberCapabilities = deserializeAws_queryNumberCapabilityList(__getArrayIfSingleItem(output["NumberCapabilities"]["member"]), context);
|
|
4660
4660
|
}
|
|
4661
4661
|
return contents;
|
|
@@ -4691,7 +4691,7 @@ var deserializeAws_queryPlatformApplication = function (output, context) {
|
|
|
4691
4691
|
if (output.Attributes === "") {
|
|
4692
4692
|
contents.Attributes = {};
|
|
4693
4693
|
}
|
|
4694
|
-
if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
4694
|
+
else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
|
|
4695
4695
|
contents.Attributes = deserializeAws_queryMapStringToString(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
|
|
4696
4696
|
}
|
|
4697
4697
|
return contents;
|
|
@@ -4713,13 +4713,13 @@ var deserializeAws_queryPublishBatchResponse = function (output, context) {
|
|
|
4713
4713
|
if (output.Successful === "") {
|
|
4714
4714
|
contents.Successful = [];
|
|
4715
4715
|
}
|
|
4716
|
-
if (output["Successful"] !== undefined && output["Successful"]["member"] !== undefined) {
|
|
4716
|
+
else if (output["Successful"] !== undefined && output["Successful"]["member"] !== undefined) {
|
|
4717
4717
|
contents.Successful = deserializeAws_queryPublishBatchResultEntryList(__getArrayIfSingleItem(output["Successful"]["member"]), context);
|
|
4718
4718
|
}
|
|
4719
4719
|
if (output.Failed === "") {
|
|
4720
4720
|
contents.Failed = [];
|
|
4721
4721
|
}
|
|
4722
|
-
if (output["Failed"] !== undefined && output["Failed"]["member"] !== undefined) {
|
|
4722
|
+
else if (output["Failed"] !== undefined && output["Failed"]["member"] !== undefined) {
|
|
4723
4723
|
contents.Failed = deserializeAws_queryBatchResultErrorEntryList(__getArrayIfSingleItem(output["Failed"]["member"]), context);
|
|
4724
4724
|
}
|
|
4725
4725
|
return contents;
|
|
@@ -209,9 +209,7 @@ export interface CreatePlatformApplicationInput {
|
|
|
209
209
|
/**
|
|
210
210
|
* <p>For a list of attributes, see <a href="https://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html">SetPlatformApplicationAttributes</a>.</p>
|
|
211
211
|
*/
|
|
212
|
-
Attributes:
|
|
213
|
-
[key: string]: string;
|
|
214
|
-
} | undefined;
|
|
212
|
+
Attributes: Record<string, string> | undefined;
|
|
215
213
|
}
|
|
216
214
|
export declare namespace CreatePlatformApplicationInput {
|
|
217
215
|
/**
|
|
@@ -274,9 +272,7 @@ export interface CreatePlatformEndpointInput {
|
|
|
274
272
|
/**
|
|
275
273
|
* <p>For a list of attributes, see <a href="https://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html">SetEndpointAttributes</a>.</p>
|
|
276
274
|
*/
|
|
277
|
-
Attributes?:
|
|
278
|
-
[key: string]: string;
|
|
279
|
-
};
|
|
275
|
+
Attributes?: Record<string, string>;
|
|
280
276
|
}
|
|
281
277
|
export declare namespace CreatePlatformEndpointInput {
|
|
282
278
|
/**
|
|
@@ -464,9 +460,7 @@ export interface CreateTopicInput {
|
|
|
464
460
|
* </li>
|
|
465
461
|
* </ul>
|
|
466
462
|
*/
|
|
467
|
-
Attributes?:
|
|
468
|
-
[key: string]: string;
|
|
469
|
-
};
|
|
463
|
+
Attributes?: Record<string, string>;
|
|
470
464
|
/**
|
|
471
465
|
* <p>The list of tags to add to a new topic.</p>
|
|
472
466
|
* <note>
|
|
@@ -677,9 +671,7 @@ export interface GetEndpointAttributesResponse {
|
|
|
677
671
|
* </li>
|
|
678
672
|
* </ul>
|
|
679
673
|
*/
|
|
680
|
-
Attributes?:
|
|
681
|
-
[key: string]: string;
|
|
682
|
-
};
|
|
674
|
+
Attributes?: Record<string, string>;
|
|
683
675
|
}
|
|
684
676
|
export declare namespace GetEndpointAttributesResponse {
|
|
685
677
|
/**
|
|
@@ -744,9 +736,7 @@ export interface GetPlatformApplicationAttributesResponse {
|
|
|
744
736
|
* </li>
|
|
745
737
|
* </ul>
|
|
746
738
|
*/
|
|
747
|
-
Attributes?:
|
|
748
|
-
[key: string]: string;
|
|
749
|
-
};
|
|
739
|
+
Attributes?: Record<string, string>;
|
|
750
740
|
}
|
|
751
741
|
export declare namespace GetPlatformApplicationAttributesResponse {
|
|
752
742
|
/**
|
|
@@ -779,9 +769,7 @@ export interface GetSMSAttributesResponse {
|
|
|
779
769
|
/**
|
|
780
770
|
* <p>The SMS attribute names and their values.</p>
|
|
781
771
|
*/
|
|
782
|
-
attributes?:
|
|
783
|
-
[key: string]: string;
|
|
784
|
-
};
|
|
772
|
+
attributes?: Record<string, string>;
|
|
785
773
|
}
|
|
786
774
|
export declare namespace GetSMSAttributesResponse {
|
|
787
775
|
/**
|
|
@@ -908,9 +896,7 @@ export interface GetSubscriptionAttributesResponse {
|
|
|
908
896
|
* </li>
|
|
909
897
|
* </ul>
|
|
910
898
|
*/
|
|
911
|
-
Attributes?:
|
|
912
|
-
[key: string]: string;
|
|
913
|
-
};
|
|
899
|
+
Attributes?: Record<string, string>;
|
|
914
900
|
}
|
|
915
901
|
export declare namespace GetSubscriptionAttributesResponse {
|
|
916
902
|
/**
|
|
@@ -1029,9 +1015,7 @@ export interface GetTopicAttributesResponse {
|
|
|
1029
1015
|
* </li>
|
|
1030
1016
|
* </ul>
|
|
1031
1017
|
*/
|
|
1032
|
-
Attributes?:
|
|
1033
|
-
[key: string]: string;
|
|
1034
|
-
};
|
|
1018
|
+
Attributes?: Record<string, string>;
|
|
1035
1019
|
}
|
|
1036
1020
|
export declare namespace GetTopicAttributesResponse {
|
|
1037
1021
|
/**
|
|
@@ -1070,9 +1054,7 @@ export interface Endpoint {
|
|
|
1070
1054
|
/**
|
|
1071
1055
|
* <p>Attributes for endpoint.</p>
|
|
1072
1056
|
*/
|
|
1073
|
-
Attributes?:
|
|
1074
|
-
[key: string]: string;
|
|
1075
|
-
};
|
|
1057
|
+
Attributes?: Record<string, string>;
|
|
1076
1058
|
}
|
|
1077
1059
|
export declare namespace Endpoint {
|
|
1078
1060
|
/**
|
|
@@ -1257,9 +1239,7 @@ export interface PlatformApplication {
|
|
|
1257
1239
|
/**
|
|
1258
1240
|
* <p>Attributes for platform application object.</p>
|
|
1259
1241
|
*/
|
|
1260
|
-
Attributes?:
|
|
1261
|
-
[key: string]: string;
|
|
1262
|
-
};
|
|
1242
|
+
Attributes?: Record<string, string>;
|
|
1263
1243
|
}
|
|
1264
1244
|
export declare namespace PlatformApplication {
|
|
1265
1245
|
/**
|
|
@@ -1820,9 +1800,7 @@ export interface PublishInput {
|
|
|
1820
1800
|
/**
|
|
1821
1801
|
* <p>Message attributes for Publish action.</p>
|
|
1822
1802
|
*/
|
|
1823
|
-
MessageAttributes?:
|
|
1824
|
-
[key: string]: MessageAttributeValue;
|
|
1825
|
-
};
|
|
1803
|
+
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
1826
1804
|
/**
|
|
1827
1805
|
* <p>This parameter applies only to FIFO (first-in-first-out) topics. The
|
|
1828
1806
|
* <code>MessageDeduplicationId</code> can contain up to 128 alphanumeric characters
|
|
@@ -1961,9 +1939,7 @@ export interface PublishBatchRequestEntry {
|
|
|
1961
1939
|
/**
|
|
1962
1940
|
* <p>Each message attribute consists of a <code>Name</code>, <code>Type</code>, and <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 the Amazon SNS Developer Guide.</p>
|
|
1963
1941
|
*/
|
|
1964
|
-
MessageAttributes?:
|
|
1965
|
-
[key: string]: MessageAttributeValue;
|
|
1966
|
-
};
|
|
1942
|
+
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
1967
1943
|
/**
|
|
1968
1944
|
* <p>This parameter applies only to FIFO (first-in-first-out) topics.</p>
|
|
1969
1945
|
* <p>The token used for deduplication of messages within a 5-minute minimum deduplication interval. If a message with a particular <code>MessageDeduplicationId</code> is sent successfully, subsequent messages with the same <code>MessageDeduplicationId</code> are accepted successfully but aren't delivered.</p>
|
|
@@ -2175,9 +2151,7 @@ export interface SetEndpointAttributesInput {
|
|
|
2175
2151
|
* </li>
|
|
2176
2152
|
* </ul>
|
|
2177
2153
|
*/
|
|
2178
|
-
Attributes:
|
|
2179
|
-
[key: string]: string;
|
|
2180
|
-
} | undefined;
|
|
2154
|
+
Attributes: Record<string, string> | undefined;
|
|
2181
2155
|
}
|
|
2182
2156
|
export declare namespace SetEndpointAttributesInput {
|
|
2183
2157
|
/**
|
|
@@ -2287,9 +2261,7 @@ export interface SetPlatformApplicationAttributesInput {
|
|
|
2287
2261
|
* </li>
|
|
2288
2262
|
* </ul>
|
|
2289
2263
|
*/
|
|
2290
|
-
Attributes:
|
|
2291
|
-
[key: string]: string;
|
|
2292
|
-
} | undefined;
|
|
2264
|
+
Attributes: Record<string, string> | undefined;
|
|
2293
2265
|
}
|
|
2294
2266
|
export declare namespace SetPlatformApplicationAttributesInput {
|
|
2295
2267
|
/**
|
|
@@ -2388,9 +2360,7 @@ export interface SetSMSAttributesInput {
|
|
|
2388
2360
|
* <p>For an example bucket policy and usage report, see <a href="https://docs.aws.amazon.com/sns/latest/dg/sms_stats.html">Monitoring SMS Activity</a> in the
|
|
2389
2361
|
* <i>Amazon SNS Developer Guide</i>.</p>
|
|
2390
2362
|
*/
|
|
2391
|
-
attributes:
|
|
2392
|
-
[key: string]: string;
|
|
2393
|
-
} | undefined;
|
|
2363
|
+
attributes: Record<string, string> | undefined;
|
|
2394
2364
|
}
|
|
2395
2365
|
export declare namespace SetSMSAttributesInput {
|
|
2396
2366
|
/**
|
|
@@ -2713,9 +2683,7 @@ export interface SubscribeInput {
|
|
|
2713
2683
|
* </li>
|
|
2714
2684
|
* </ul>
|
|
2715
2685
|
*/
|
|
2716
|
-
Attributes?:
|
|
2717
|
-
[key: string]: string;
|
|
2718
|
-
};
|
|
2686
|
+
Attributes?: Record<string, string>;
|
|
2719
2687
|
/**
|
|
2720
2688
|
* <p>Sets whether the response from the <code>Subscribe</code> request includes the
|
|
2721
2689
|
* subscription ARN, even if the subscription is not yet confirmed.</p>
|
|
@@ -110,9 +110,7 @@ export interface CreatePlatformApplicationInput {
|
|
|
110
110
|
|
|
111
111
|
Platform: string | undefined;
|
|
112
112
|
|
|
113
|
-
Attributes:
|
|
114
|
-
[key: string]: string;
|
|
115
|
-
} | undefined;
|
|
113
|
+
Attributes: Record<string, string> | undefined;
|
|
116
114
|
}
|
|
117
115
|
export declare namespace CreatePlatformApplicationInput {
|
|
118
116
|
|
|
@@ -145,9 +143,7 @@ export interface CreatePlatformEndpointInput {
|
|
|
145
143
|
|
|
146
144
|
CustomUserData?: string;
|
|
147
145
|
|
|
148
|
-
Attributes?:
|
|
149
|
-
[key: string]: string;
|
|
150
|
-
};
|
|
146
|
+
Attributes?: Record<string, string>;
|
|
151
147
|
}
|
|
152
148
|
export declare namespace CreatePlatformEndpointInput {
|
|
153
149
|
|
|
@@ -221,9 +217,7 @@ export interface CreateTopicInput {
|
|
|
221
217
|
|
|
222
218
|
Name: string | undefined;
|
|
223
219
|
|
|
224
|
-
Attributes?:
|
|
225
|
-
[key: string]: string;
|
|
226
|
-
};
|
|
220
|
+
Attributes?: Record<string, string>;
|
|
227
221
|
|
|
228
222
|
Tags?: Tag[];
|
|
229
223
|
}
|
|
@@ -334,9 +328,7 @@ export declare namespace GetEndpointAttributesInput {
|
|
|
334
328
|
|
|
335
329
|
export interface GetEndpointAttributesResponse {
|
|
336
330
|
|
|
337
|
-
Attributes?:
|
|
338
|
-
[key: string]: string;
|
|
339
|
-
};
|
|
331
|
+
Attributes?: Record<string, string>;
|
|
340
332
|
}
|
|
341
333
|
export declare namespace GetEndpointAttributesResponse {
|
|
342
334
|
|
|
@@ -354,9 +346,7 @@ export declare namespace GetPlatformApplicationAttributesInput {
|
|
|
354
346
|
|
|
355
347
|
export interface GetPlatformApplicationAttributesResponse {
|
|
356
348
|
|
|
357
|
-
Attributes?:
|
|
358
|
-
[key: string]: string;
|
|
359
|
-
};
|
|
349
|
+
Attributes?: Record<string, string>;
|
|
360
350
|
}
|
|
361
351
|
export declare namespace GetPlatformApplicationAttributesResponse {
|
|
362
352
|
|
|
@@ -374,9 +364,7 @@ export declare namespace GetSMSAttributesInput {
|
|
|
374
364
|
|
|
375
365
|
export interface GetSMSAttributesResponse {
|
|
376
366
|
|
|
377
|
-
attributes?:
|
|
378
|
-
[key: string]: string;
|
|
379
|
-
};
|
|
367
|
+
attributes?: Record<string, string>;
|
|
380
368
|
}
|
|
381
369
|
export declare namespace GetSMSAttributesResponse {
|
|
382
370
|
|
|
@@ -408,9 +396,7 @@ export declare namespace GetSubscriptionAttributesInput {
|
|
|
408
396
|
|
|
409
397
|
export interface GetSubscriptionAttributesResponse {
|
|
410
398
|
|
|
411
|
-
Attributes?:
|
|
412
|
-
[key: string]: string;
|
|
413
|
-
};
|
|
399
|
+
Attributes?: Record<string, string>;
|
|
414
400
|
}
|
|
415
401
|
export declare namespace GetSubscriptionAttributesResponse {
|
|
416
402
|
|
|
@@ -428,9 +414,7 @@ export declare namespace GetTopicAttributesInput {
|
|
|
428
414
|
|
|
429
415
|
export interface GetTopicAttributesResponse {
|
|
430
416
|
|
|
431
|
-
Attributes?:
|
|
432
|
-
[key: string]: string;
|
|
433
|
-
};
|
|
417
|
+
Attributes?: Record<string, string>;
|
|
434
418
|
}
|
|
435
419
|
export declare namespace GetTopicAttributesResponse {
|
|
436
420
|
|
|
@@ -452,9 +436,7 @@ export interface Endpoint {
|
|
|
452
436
|
|
|
453
437
|
EndpointArn?: string;
|
|
454
438
|
|
|
455
|
-
Attributes?:
|
|
456
|
-
[key: string]: string;
|
|
457
|
-
};
|
|
439
|
+
Attributes?: Record<string, string>;
|
|
458
440
|
}
|
|
459
441
|
export declare namespace Endpoint {
|
|
460
442
|
|
|
@@ -562,9 +544,7 @@ export interface PlatformApplication {
|
|
|
562
544
|
|
|
563
545
|
PlatformApplicationArn?: string;
|
|
564
546
|
|
|
565
|
-
Attributes?:
|
|
566
|
-
[key: string]: string;
|
|
567
|
-
};
|
|
547
|
+
Attributes?: Record<string, string>;
|
|
568
548
|
}
|
|
569
549
|
export declare namespace PlatformApplication {
|
|
570
550
|
|
|
@@ -826,9 +806,7 @@ export interface PublishInput {
|
|
|
826
806
|
|
|
827
807
|
MessageStructure?: string;
|
|
828
808
|
|
|
829
|
-
MessageAttributes?:
|
|
830
|
-
[key: string]: MessageAttributeValue;
|
|
831
|
-
};
|
|
809
|
+
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
832
810
|
|
|
833
811
|
MessageDeduplicationId?: string;
|
|
834
812
|
|
|
@@ -888,9 +866,7 @@ export interface PublishBatchRequestEntry {
|
|
|
888
866
|
|
|
889
867
|
MessageStructure?: string;
|
|
890
868
|
|
|
891
|
-
MessageAttributes?:
|
|
892
|
-
[key: string]: MessageAttributeValue;
|
|
893
|
-
};
|
|
869
|
+
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
894
870
|
|
|
895
871
|
MessageDeduplicationId?: string;
|
|
896
872
|
|
|
@@ -971,9 +947,7 @@ export interface SetEndpointAttributesInput {
|
|
|
971
947
|
|
|
972
948
|
EndpointArn: string | undefined;
|
|
973
949
|
|
|
974
|
-
Attributes:
|
|
975
|
-
[key: string]: string;
|
|
976
|
-
} | undefined;
|
|
950
|
+
Attributes: Record<string, string> | undefined;
|
|
977
951
|
}
|
|
978
952
|
export declare namespace SetEndpointAttributesInput {
|
|
979
953
|
|
|
@@ -984,9 +958,7 @@ export interface SetPlatformApplicationAttributesInput {
|
|
|
984
958
|
|
|
985
959
|
PlatformApplicationArn: string | undefined;
|
|
986
960
|
|
|
987
|
-
Attributes:
|
|
988
|
-
[key: string]: string;
|
|
989
|
-
} | undefined;
|
|
961
|
+
Attributes: Record<string, string> | undefined;
|
|
990
962
|
}
|
|
991
963
|
export declare namespace SetPlatformApplicationAttributesInput {
|
|
992
964
|
|
|
@@ -995,9 +967,7 @@ export declare namespace SetPlatformApplicationAttributesInput {
|
|
|
995
967
|
|
|
996
968
|
export interface SetSMSAttributesInput {
|
|
997
969
|
|
|
998
|
-
attributes:
|
|
999
|
-
[key: string]: string;
|
|
1000
|
-
} | undefined;
|
|
970
|
+
attributes: Record<string, string> | undefined;
|
|
1001
971
|
}
|
|
1002
972
|
export declare namespace SetSMSAttributesInput {
|
|
1003
973
|
|
|
@@ -1045,9 +1015,7 @@ export interface SubscribeInput {
|
|
|
1045
1015
|
|
|
1046
1016
|
Endpoint?: string;
|
|
1047
1017
|
|
|
1048
|
-
Attributes?:
|
|
1049
|
-
[key: string]: string;
|
|
1050
|
-
};
|
|
1018
|
+
Attributes?: Record<string, string>;
|
|
1051
1019
|
|
|
1052
1020
|
ReturnSubscriptionArn?: boolean;
|
|
1053
1021
|
}
|
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.109.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",
|
|
@@ -18,36 +18,37 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-
|
|
31
|
-
"@aws-sdk/middleware-
|
|
32
|
-
"@aws-sdk/middleware-
|
|
33
|
-
"@aws-sdk/middleware-
|
|
34
|
-
"@aws-sdk/middleware-
|
|
35
|
-
"@aws-sdk/
|
|
36
|
-
"@aws-sdk/node-
|
|
37
|
-
"@aws-sdk/
|
|
38
|
-
"@aws-sdk/
|
|
39
|
-
"@aws-sdk/
|
|
40
|
-
"@aws-sdk/
|
|
41
|
-
"@aws-sdk/
|
|
21
|
+
"@aws-sdk/client-sts": "3.109.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.109.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.109.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.109.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.109.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.109.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.109.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.109.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.109.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.109.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.109.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.109.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.109.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.109.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.109.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.109.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.109.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.109.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.109.0",
|
|
40
|
+
"@aws-sdk/types": "3.109.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.109.0",
|
|
42
|
+
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
42
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.109.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.109.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.109.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.109.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
51
52
|
"entities": "2.2.0",
|
|
52
53
|
"fast-xml-parser": "3.19.0",
|
|
53
54
|
"tslib": "^2.3.1"
|