@aws-sdk/client-sns 3.295.0 → 3.297.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_query.js +65 -224
- package/dist-es/protocols/Aws_query.js +65 -224
- package/dist-types/SNS.d.ts +43 -0
- package/dist-types/SNSClient.d.ts +24 -4
- package/dist-types/commands/AddPermissionCommand.d.ts +16 -0
- package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +16 -0
- package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +16 -0
- package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +16 -0
- package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +16 -0
- package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +16 -0
- package/dist-types/commands/CreateTopicCommand.d.ts +16 -0
- package/dist-types/commands/DeleteEndpointCommand.d.ts +16 -0
- package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +16 -0
- package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTopicCommand.d.ts +16 -0
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetEndpointAttributesCommand.d.ts +16 -0
- package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +16 -0
- package/dist-types/commands/GetSMSAttributesCommand.d.ts +16 -0
- package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +16 -0
- package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +16 -0
- package/dist-types/commands/GetTopicAttributesCommand.d.ts +16 -0
- package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +16 -0
- package/dist-types/commands/ListOriginationNumbersCommand.d.ts +16 -0
- package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +16 -0
- package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +16 -0
- package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +16 -0
- package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +16 -0
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListTopicsCommand.d.ts +16 -0
- package/dist-types/commands/OptInPhoneNumberCommand.d.ts +16 -0
- package/dist-types/commands/PublishBatchCommand.d.ts +16 -0
- package/dist-types/commands/PublishCommand.d.ts +16 -0
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +16 -0
- package/dist-types/commands/SetEndpointAttributesCommand.d.ts +16 -0
- package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +16 -0
- package/dist-types/commands/SetSMSAttributesCommand.d.ts +16 -0
- package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +16 -0
- package/dist-types/commands/SetTopicAttributesCommand.d.ts +16 -0
- package/dist-types/commands/SubscribeCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UnsubscribeCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +16 -0
- package/dist-types/models/SNSServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +182 -4
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +3 -0
- package/dist-types/pagination/ListOriginationNumbersPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPlatformApplicationsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSubscriptionsByTopicPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTopicsPaginator.d.ts +3 -0
- package/package.json +29 -29
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListEndpointsByPlatformApplicationCommandInput, ListEndpointsByPlatformApplicationCommandOutput } from "../commands/ListEndpointsByPlatformApplicationCommand";
|
|
3
3
|
import { SNSPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListEndpointsByPlatformApplication(config: SNSPaginationConfiguration, input: ListEndpointsByPlatformApplicationCommandInput, ...additionalArguments: any): Paginator<ListEndpointsByPlatformApplicationCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListOriginationNumbersCommandInput, ListOriginationNumbersCommandOutput } from "../commands/ListOriginationNumbersCommand";
|
|
3
3
|
import { SNSPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListOriginationNumbers(config: SNSPaginationConfiguration, input: ListOriginationNumbersCommandInput, ...additionalArguments: any): Paginator<ListOriginationNumbersCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListPhoneNumbersOptedOutCommandInput, ListPhoneNumbersOptedOutCommandOutput } from "../commands/ListPhoneNumbersOptedOutCommand";
|
|
3
3
|
import { SNSPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListPhoneNumbersOptedOut(config: SNSPaginationConfiguration, input: ListPhoneNumbersOptedOutCommandInput, ...additionalArguments: any): Paginator<ListPhoneNumbersOptedOutCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListPlatformApplicationsCommandInput, ListPlatformApplicationsCommandOutput } from "../commands/ListPlatformApplicationsCommand";
|
|
3
3
|
import { SNSPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListPlatformApplications(config: SNSPaginationConfiguration, input: ListPlatformApplicationsCommandInput, ...additionalArguments: any): Paginator<ListPlatformApplicationsCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListSMSSandboxPhoneNumbersCommandInput, ListSMSSandboxPhoneNumbersCommandOutput } from "../commands/ListSMSSandboxPhoneNumbersCommand";
|
|
3
3
|
import { SNSPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListSMSSandboxPhoneNumbers(config: SNSPaginationConfiguration, input: ListSMSSandboxPhoneNumbersCommandInput, ...additionalArguments: any): Paginator<ListSMSSandboxPhoneNumbersCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListSubscriptionsByTopicCommandInput, ListSubscriptionsByTopicCommandOutput } from "../commands/ListSubscriptionsByTopicCommand";
|
|
3
3
|
import { SNSPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListSubscriptionsByTopic(config: SNSPaginationConfiguration, input: ListSubscriptionsByTopicCommandInput, ...additionalArguments: any): Paginator<ListSubscriptionsByTopicCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput } from "../commands/ListSubscriptionsCommand";
|
|
3
3
|
import { SNSPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListSubscriptions(config: SNSPaginationConfiguration, input: ListSubscriptionsCommandInput, ...additionalArguments: any): Paginator<ListSubscriptionsCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListTopicsCommandInput, ListTopicsCommandOutput } from "../commands/ListTopicsCommand";
|
|
3
3
|
import { SNSPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListTopics(config: SNSPaginationConfiguration, input: ListTopicsCommandInput, ...additionalArguments: any): Paginator<ListTopicsCommandOutput>;
|
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.297.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",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.296.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.296.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.296.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.296.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.296.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.296.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.296.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.296.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.296.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.296.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.296.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.296.0",
|
|
43
|
+
"@aws-sdk/types": "3.296.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.296.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.295.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.296.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.296.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.296.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.296.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.296.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
55
55
|
"fast-xml-parser": "4.1.2",
|
|
56
56
|
"tslib": "^2.5.0"
|