@aws-sdk/client-sns 3.29.0 → 3.33.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 +32 -0
- package/dist/cjs/SNSClient.js +13 -13
- package/dist/cjs/SNSClient.js.map +1 -1
- package/dist/cjs/commands/AddPermissionCommand.js +3 -3
- package/dist/cjs/commands/AddPermissionCommand.js.map +1 -1
- package/dist/cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +3 -3
- package/dist/cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js.map +1 -1
- package/dist/cjs/commands/ConfirmSubscriptionCommand.js +3 -3
- package/dist/cjs/commands/ConfirmSubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/CreatePlatformApplicationCommand.js +3 -3
- package/dist/cjs/commands/CreatePlatformApplicationCommand.js.map +1 -1
- package/dist/cjs/commands/CreatePlatformEndpointCommand.js +3 -3
- package/dist/cjs/commands/CreatePlatformEndpointCommand.js.map +1 -1
- package/dist/cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +3 -3
- package/dist/cjs/commands/CreateSMSSandboxPhoneNumberCommand.js.map +1 -1
- package/dist/cjs/commands/CreateTopicCommand.js +3 -3
- package/dist/cjs/commands/CreateTopicCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteEndpointCommand.js +3 -3
- package/dist/cjs/commands/DeleteEndpointCommand.js.map +1 -1
- package/dist/cjs/commands/DeletePlatformApplicationCommand.js +3 -3
- package/dist/cjs/commands/DeletePlatformApplicationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +3 -3
- package/dist/cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteTopicCommand.js +3 -3
- package/dist/cjs/commands/DeleteTopicCommand.js.map +1 -1
- package/dist/cjs/commands/GetEndpointAttributesCommand.js +3 -3
- package/dist/cjs/commands/GetEndpointAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/GetPlatformApplicationAttributesCommand.js +3 -3
- package/dist/cjs/commands/GetPlatformApplicationAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/GetSMSAttributesCommand.js +3 -3
- package/dist/cjs/commands/GetSMSAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/GetSMSSandboxAccountStatusCommand.js +3 -3
- package/dist/cjs/commands/GetSMSSandboxAccountStatusCommand.js.map +1 -1
- package/dist/cjs/commands/GetSubscriptionAttributesCommand.js +3 -3
- package/dist/cjs/commands/GetSubscriptionAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/GetTopicAttributesCommand.js +3 -3
- package/dist/cjs/commands/GetTopicAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/ListEndpointsByPlatformApplicationCommand.js +3 -3
- package/dist/cjs/commands/ListEndpointsByPlatformApplicationCommand.js.map +1 -1
- package/dist/cjs/commands/ListOriginationNumbersCommand.js +3 -3
- package/dist/cjs/commands/ListOriginationNumbersCommand.js.map +1 -1
- package/dist/cjs/commands/ListPhoneNumbersOptedOutCommand.js +3 -3
- package/dist/cjs/commands/ListPhoneNumbersOptedOutCommand.js.map +1 -1
- package/dist/cjs/commands/ListPlatformApplicationsCommand.js +3 -3
- package/dist/cjs/commands/ListPlatformApplicationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +3 -3
- package/dist/cjs/commands/ListSMSSandboxPhoneNumbersCommand.js.map +1 -1
- package/dist/cjs/commands/ListSubscriptionsByTopicCommand.js +3 -3
- package/dist/cjs/commands/ListSubscriptionsByTopicCommand.js.map +1 -1
- package/dist/cjs/commands/ListSubscriptionsCommand.js +3 -3
- package/dist/cjs/commands/ListSubscriptionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/ListTopicsCommand.js +3 -3
- package/dist/cjs/commands/ListTopicsCommand.js.map +1 -1
- package/dist/cjs/commands/OptInPhoneNumberCommand.js +3 -3
- package/dist/cjs/commands/OptInPhoneNumberCommand.js.map +1 -1
- package/dist/cjs/commands/PublishCommand.js +3 -3
- package/dist/cjs/commands/PublishCommand.js.map +1 -1
- package/dist/cjs/commands/RemovePermissionCommand.js +3 -3
- package/dist/cjs/commands/RemovePermissionCommand.js.map +1 -1
- package/dist/cjs/commands/SetEndpointAttributesCommand.js +3 -3
- package/dist/cjs/commands/SetEndpointAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/SetPlatformApplicationAttributesCommand.js +3 -3
- package/dist/cjs/commands/SetPlatformApplicationAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/SetSMSAttributesCommand.js +3 -3
- package/dist/cjs/commands/SetSMSAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/SetSubscriptionAttributesCommand.js +3 -3
- package/dist/cjs/commands/SetSubscriptionAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/SetTopicAttributesCommand.js +3 -3
- package/dist/cjs/commands/SetTopicAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/SubscribeCommand.js +3 -3
- package/dist/cjs/commands/SubscribeCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UnsubscribeCommand.js +3 -3
- package/dist/cjs/commands/UnsubscribeCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +3 -3
- package/dist/cjs/commands/VerifySMSSandboxPhoneNumberCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +51 -51
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_query.js +88 -88
- package/dist/cjs/protocols/Aws_query.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/ListEndpointsByPlatformApplicationPaginator.js +4 -4
- package/dist/es/pagination/ListEndpointsByPlatformApplicationPaginator.js.map +1 -1
- package/dist/es/pagination/ListOriginationNumbersPaginator.js +4 -4
- package/dist/es/pagination/ListOriginationNumbersPaginator.js.map +1 -1
- package/dist/es/pagination/ListPhoneNumbersOptedOutPaginator.js +4 -4
- package/dist/es/pagination/ListPhoneNumbersOptedOutPaginator.js.map +1 -1
- package/dist/es/pagination/ListPlatformApplicationsPaginator.js +4 -4
- package/dist/es/pagination/ListPlatformApplicationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListSMSSandboxPhoneNumbersPaginator.js +4 -4
- package/dist/es/pagination/ListSMSSandboxPhoneNumbersPaginator.js.map +1 -1
- package/dist/es/pagination/ListSubscriptionsByTopicPaginator.js +4 -4
- package/dist/es/pagination/ListSubscriptionsByTopicPaginator.js.map +1 -1
- package/dist/es/pagination/ListSubscriptionsPaginator.js +4 -4
- package/dist/es/pagination/ListSubscriptionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListTopicsPaginator.js +4 -4
- package/dist/es/pagination/ListTopicsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_query.js +2 -2
- package/dist/es/protocols/Aws_query.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_query.ts +3 -1
- package/tsconfig.json +1 -2
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.33.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,47 +27,47 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.33.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.33.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.33.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.33.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.33.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"entities": "2.2.0",
|
|
59
59
|
"fast-xml-parser": "3.19.0",
|
|
60
60
|
"tslib": "^2.3.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
63
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
64
64
|
"@types/node": "^12.7.5",
|
|
65
65
|
"downlevel-dts": "0.7.0",
|
|
66
66
|
"jest": "^26.1.0",
|
|
67
67
|
"rimraf": "^3.0.0",
|
|
68
68
|
"ts-jest": "^26.4.1",
|
|
69
69
|
"typedoc": "^0.19.2",
|
|
70
|
-
"typescript": "~4.
|
|
70
|
+
"typescript": "~4.3.5"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"node": ">=10.0.0"
|
package/protocols/Aws_query.ts
CHANGED
|
@@ -211,11 +211,13 @@ import {
|
|
|
211
211
|
} from "../models/models_0";
|
|
212
212
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
213
213
|
import {
|
|
214
|
+
expectNonNull as __expectNonNull,
|
|
214
215
|
expectString as __expectString,
|
|
215
216
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
216
217
|
getArrayIfSingleItem as __getArrayIfSingleItem,
|
|
217
218
|
getValueFromTextNode as __getValueFromTextNode,
|
|
218
219
|
parseBoolean as __parseBoolean,
|
|
220
|
+
parseRfc3339DateTime as __parseRfc3339DateTime,
|
|
219
221
|
} from "@aws-sdk/smithy-client";
|
|
220
222
|
import {
|
|
221
223
|
Endpoint as __Endpoint,
|
|
@@ -5907,7 +5909,7 @@ const deserializeAws_queryPhoneNumberInformation = (output: any, context: __Serd
|
|
|
5907
5909
|
NumberCapabilities: undefined,
|
|
5908
5910
|
};
|
|
5909
5911
|
if (output["CreatedAt"] !== undefined) {
|
|
5910
|
-
contents.CreatedAt =
|
|
5912
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTime(output["CreatedAt"]));
|
|
5911
5913
|
}
|
|
5912
5914
|
if (output["PhoneNumber"] !== undefined) {
|
|
5913
5915
|
contents.PhoneNumber = __expectString(output["PhoneNumber"]);
|
package/tsconfig.json
CHANGED
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
"resolveJsonModule": true,
|
|
14
14
|
"esModuleInterop": true,
|
|
15
15
|
"declarationDir": "./dist/types",
|
|
16
|
-
"outDir": "dist/cjs"
|
|
17
|
-
"useUnknownInCatchVariables": false
|
|
16
|
+
"outDir": "dist/cjs"
|
|
18
17
|
},
|
|
19
18
|
"typedocOptions": {
|
|
20
19
|
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
|