@aws-sdk/client-sns 3.325.0 → 3.327.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-types/commands/AddPermissionCommand.d.ts +4 -0
- package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +6 -0
- package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +6 -0
- package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +6 -0
- package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +6 -0
- package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +4 -0
- package/dist-types/commands/CreateTopicCommand.d.ts +6 -0
- package/dist-types/commands/DeleteEndpointCommand.d.ts +4 -0
- package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +4 -0
- package/dist-types/commands/DeleteTopicCommand.d.ts +4 -0
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +6 -0
- package/dist-types/commands/GetEndpointAttributesCommand.d.ts +8 -0
- package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +8 -0
- package/dist-types/commands/GetSMSAttributesCommand.d.ts +8 -0
- package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +6 -0
- package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +8 -0
- package/dist-types/commands/GetTopicAttributesCommand.d.ts +8 -0
- package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +14 -0
- package/dist-types/commands/ListOriginationNumbersCommand.d.ts +18 -0
- package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +9 -0
- package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +14 -0
- package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +12 -0
- package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +15 -0
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +15 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/dist-types/commands/ListTopicsCommand.d.ts +11 -0
- package/dist-types/commands/OptInPhoneNumberCommand.d.ts +4 -0
- package/dist-types/commands/PublishBatchCommand.d.ts +20 -0
- package/dist-types/commands/PublishCommand.d.ts +7 -0
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +4 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +4 -0
- package/dist-types/commands/SetEndpointAttributesCommand.d.ts +4 -0
- package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +4 -0
- package/dist-types/commands/SetSMSAttributesCommand.d.ts +4 -0
- package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +4 -0
- package/dist-types/commands/SetTopicAttributesCommand.d.ts +4 -0
- package/dist-types/commands/SubscribeCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UnsubscribeCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +4 -0
- package/package.json +7 -7
|
@@ -44,6 +44,8 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
|
|
|
44
44
|
* };
|
|
45
45
|
* const command = new AddPermissionCommand(input);
|
|
46
46
|
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
47
49
|
* ```
|
|
48
50
|
*
|
|
49
51
|
* @param AddPermissionCommandInput - {@link AddPermissionCommandInput}
|
|
@@ -65,6 +67,8 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
|
|
|
65
67
|
* @throws {@link NotFoundException} (client fault)
|
|
66
68
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
67
69
|
*
|
|
70
|
+
* @throws {@link SNSServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
68
72
|
*
|
|
69
73
|
*/
|
|
70
74
|
export declare class AddPermissionCommand extends $Command<AddPermissionCommandInput, AddPermissionCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -35,6 +35,10 @@ export interface CheckIfPhoneNumberIsOptedOutCommandOutput extends CheckIfPhoneN
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new CheckIfPhoneNumberIsOptedOutCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // CheckIfPhoneNumberIsOptedOutResponse
|
|
39
|
+
* // isOptedOut: true || false,
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
38
42
|
* ```
|
|
39
43
|
*
|
|
40
44
|
* @param CheckIfPhoneNumberIsOptedOutCommandInput - {@link CheckIfPhoneNumberIsOptedOutCommandInput}
|
|
@@ -56,6 +60,8 @@ export interface CheckIfPhoneNumberIsOptedOutCommandOutput extends CheckIfPhoneN
|
|
|
56
60
|
* @throws {@link ThrottledException} (client fault)
|
|
57
61
|
* <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
|
|
58
62
|
*
|
|
63
|
+
* @throws {@link SNSServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
59
65
|
*
|
|
60
66
|
*/
|
|
61
67
|
export declare class CheckIfPhoneNumberIsOptedOutCommand extends $Command<CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -37,6 +37,10 @@ export interface ConfirmSubscriptionCommandOutput extends ConfirmSubscriptionRes
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new ConfirmSubscriptionCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // ConfirmSubscriptionResponse
|
|
41
|
+
* // SubscriptionArn: "STRING_VALUE",
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
40
44
|
* ```
|
|
41
45
|
*
|
|
42
46
|
* @param ConfirmSubscriptionCommandInput - {@link ConfirmSubscriptionCommandInput}
|
|
@@ -67,6 +71,8 @@ export interface ConfirmSubscriptionCommandOutput extends ConfirmSubscriptionRes
|
|
|
67
71
|
* <p>Indicates that the customer already owns the maximum allowed number of
|
|
68
72
|
* subscriptions.</p>
|
|
69
73
|
*
|
|
74
|
+
* @throws {@link SNSServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
70
76
|
*
|
|
71
77
|
*/
|
|
72
78
|
export declare class ConfirmSubscriptionCommand extends $Command<ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -79,6 +79,10 @@ export interface CreatePlatformApplicationCommandOutput extends CreatePlatformAp
|
|
|
79
79
|
* };
|
|
80
80
|
* const command = new CreatePlatformApplicationCommand(input);
|
|
81
81
|
* const response = await client.send(command);
|
|
82
|
+
* // { // CreatePlatformApplicationResponse
|
|
83
|
+
* // PlatformApplicationArn: "STRING_VALUE",
|
|
84
|
+
* // };
|
|
85
|
+
*
|
|
82
86
|
* ```
|
|
83
87
|
*
|
|
84
88
|
* @param CreatePlatformApplicationCommandInput - {@link CreatePlatformApplicationCommandInput}
|
|
@@ -97,6 +101,8 @@ export interface CreatePlatformApplicationCommandOutput extends CreatePlatformAp
|
|
|
97
101
|
* <p>Indicates that a request parameter does not comply with the associated
|
|
98
102
|
* constraints.</p>
|
|
99
103
|
*
|
|
104
|
+
* @throws {@link SNSServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
100
106
|
*
|
|
101
107
|
*/
|
|
102
108
|
export declare class CreatePlatformApplicationCommand extends $Command<CreatePlatformApplicationCommandInput, CreatePlatformApplicationCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -49,6 +49,10 @@ export interface CreatePlatformEndpointCommandOutput extends CreateEndpointRespo
|
|
|
49
49
|
* };
|
|
50
50
|
* const command = new CreatePlatformEndpointCommand(input);
|
|
51
51
|
* const response = await client.send(command);
|
|
52
|
+
* // { // CreateEndpointResponse
|
|
53
|
+
* // EndpointArn: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
52
56
|
* ```
|
|
53
57
|
*
|
|
54
58
|
* @param CreatePlatformEndpointCommandInput - {@link CreatePlatformEndpointCommandInput}
|
|
@@ -70,6 +74,8 @@ export interface CreatePlatformEndpointCommandOutput extends CreateEndpointRespo
|
|
|
70
74
|
* @throws {@link NotFoundException} (client fault)
|
|
71
75
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
72
76
|
*
|
|
77
|
+
* @throws {@link SNSServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
73
79
|
*
|
|
74
80
|
*/
|
|
75
81
|
export declare class CreatePlatformEndpointCommand extends $Command<CreatePlatformEndpointCommandInput, CreatePlatformEndpointCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -41,6 +41,8 @@ export interface CreateSMSSandboxPhoneNumberCommandOutput extends CreateSMSSandb
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new CreateSMSSandboxPhoneNumberCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
44
46
|
* ```
|
|
45
47
|
*
|
|
46
48
|
* @param CreateSMSSandboxPhoneNumberCommandInput - {@link CreateSMSSandboxPhoneNumberCommandInput}
|
|
@@ -70,6 +72,8 @@ export interface CreateSMSSandboxPhoneNumberCommandOutput extends CreateSMSSandb
|
|
|
70
72
|
* <p>Indicates that a request parameter does not comply with the associated
|
|
71
73
|
* constraints.</p>
|
|
72
74
|
*
|
|
75
|
+
* @throws {@link SNSServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
73
77
|
*
|
|
74
78
|
*/
|
|
75
79
|
export declare class CreateSMSSandboxPhoneNumberCommand extends $Command<CreateSMSSandboxPhoneNumberCommandInput, CreateSMSSandboxPhoneNumberCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -45,6 +45,10 @@ export interface CreateTopicCommandOutput extends CreateTopicResponse, __Metadat
|
|
|
45
45
|
* };
|
|
46
46
|
* const command = new CreateTopicCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|
|
48
|
+
* // { // CreateTopicResponse
|
|
49
|
+
* // TopicArn: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
48
52
|
* ```
|
|
49
53
|
*
|
|
50
54
|
* @param CreateTopicCommandInput - {@link CreateTopicCommandInput}
|
|
@@ -85,6 +89,8 @@ export interface CreateTopicCommandOutput extends CreateTopicResponse, __Metadat
|
|
|
85
89
|
* @throws {@link TopicLimitExceededException} (client fault)
|
|
86
90
|
* <p>Indicates that the customer already owns the maximum allowed number of topics.</p>
|
|
87
91
|
*
|
|
92
|
+
* @throws {@link SNSServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
88
94
|
*
|
|
89
95
|
*/
|
|
90
96
|
export declare class CreateTopicCommand extends $Command<CreateTopicCommandInput, CreateTopicCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -35,6 +35,8 @@ export interface DeleteEndpointCommandOutput extends __MetadataBearer {
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DeleteEndpointCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
38
40
|
* ```
|
|
39
41
|
*
|
|
40
42
|
* @param DeleteEndpointCommandInput - {@link DeleteEndpointCommandInput}
|
|
@@ -53,6 +55,8 @@ export interface DeleteEndpointCommandOutput extends __MetadataBearer {
|
|
|
53
55
|
* <p>Indicates that a request parameter does not comply with the associated
|
|
54
56
|
* constraints.</p>
|
|
55
57
|
*
|
|
58
|
+
* @throws {@link SNSServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
56
60
|
*
|
|
57
61
|
*/
|
|
58
62
|
export declare class DeleteEndpointCommand extends $Command<DeleteEndpointCommandInput, DeleteEndpointCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface DeletePlatformApplicationCommandOutput extends __MetadataBearer
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeletePlatformApplicationCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param DeletePlatformApplicationCommandInput - {@link DeletePlatformApplicationCommandInput}
|
|
@@ -52,6 +54,8 @@ export interface DeletePlatformApplicationCommandOutput extends __MetadataBearer
|
|
|
52
54
|
* <p>Indicates that a request parameter does not comply with the associated
|
|
53
55
|
* constraints.</p>
|
|
54
56
|
*
|
|
57
|
+
* @throws {@link SNSServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
55
59
|
*
|
|
56
60
|
*/
|
|
57
61
|
export declare class DeletePlatformApplicationCommand extends $Command<DeletePlatformApplicationCommandInput, DeletePlatformApplicationCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -40,6 +40,8 @@ export interface DeleteSMSSandboxPhoneNumberCommandOutput extends DeleteSMSSandb
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new DeleteSMSSandboxPhoneNumberCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
43
45
|
* ```
|
|
44
46
|
*
|
|
45
47
|
* @param DeleteSMSSandboxPhoneNumberCommandInput - {@link DeleteSMSSandboxPhoneNumberCommandInput}
|
|
@@ -69,6 +71,8 @@ export interface DeleteSMSSandboxPhoneNumberCommandOutput extends DeleteSMSSandb
|
|
|
69
71
|
* <p>Indicates that a request parameter does not comply with the associated
|
|
70
72
|
* constraints.</p>
|
|
71
73
|
*
|
|
74
|
+
* @throws {@link SNSServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
72
76
|
*
|
|
73
77
|
*/
|
|
74
78
|
export declare class DeleteSMSSandboxPhoneNumberCommand extends $Command<DeleteSMSSandboxPhoneNumberCommandInput, DeleteSMSSandboxPhoneNumberCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface DeleteTopicCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeleteTopicCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param DeleteTopicCommandInput - {@link DeleteTopicCommandInput}
|
|
@@ -67,6 +69,8 @@ export interface DeleteTopicCommandOutput extends __MetadataBearer {
|
|
|
67
69
|
* <p>The request doesn't comply with the IAM tag policy. Correct your request and then
|
|
68
70
|
* retry it.</p>
|
|
69
71
|
*
|
|
72
|
+
* @throws {@link SNSServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
70
74
|
*
|
|
71
75
|
*/
|
|
72
76
|
export declare class DeleteTopicCommand extends $Command<DeleteTopicCommandInput, DeleteTopicCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -32,6 +32,10 @@ export interface GetDataProtectionPolicyCommandOutput extends GetDataProtectionP
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetDataProtectionPolicyCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetDataProtectionPolicyResponse
|
|
36
|
+
* // DataProtectionPolicy: "STRING_VALUE",
|
|
37
|
+
* // };
|
|
38
|
+
*
|
|
35
39
|
* ```
|
|
36
40
|
*
|
|
37
41
|
* @param GetDataProtectionPolicyCommandInput - {@link GetDataProtectionPolicyCommandInput}
|
|
@@ -57,6 +61,8 @@ export interface GetDataProtectionPolicyCommandOutput extends GetDataProtectionP
|
|
|
57
61
|
* @throws {@link NotFoundException} (client fault)
|
|
58
62
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
59
63
|
*
|
|
64
|
+
* @throws {@link SNSServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
60
66
|
*
|
|
61
67
|
*/
|
|
62
68
|
export declare class GetDataProtectionPolicyCommand extends $Command<GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -33,6 +33,12 @@ export interface GetEndpointAttributesCommandOutput extends GetEndpointAttribute
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetEndpointAttributesCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetEndpointAttributesResponse
|
|
37
|
+
* // Attributes: { // MapStringToString
|
|
38
|
+
* // "<keys>": "STRING_VALUE",
|
|
39
|
+
* // },
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
36
42
|
* ```
|
|
37
43
|
*
|
|
38
44
|
* @param GetEndpointAttributesCommandInput - {@link GetEndpointAttributesCommandInput}
|
|
@@ -54,6 +60,8 @@ export interface GetEndpointAttributesCommandOutput extends GetEndpointAttribute
|
|
|
54
60
|
* @throws {@link NotFoundException} (client fault)
|
|
55
61
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
56
62
|
*
|
|
63
|
+
* @throws {@link SNSServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
57
65
|
*
|
|
58
66
|
*/
|
|
59
67
|
export declare class GetEndpointAttributesCommand extends $Command<GetEndpointAttributesCommandInput, GetEndpointAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -33,6 +33,12 @@ export interface GetPlatformApplicationAttributesCommandOutput extends GetPlatfo
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetPlatformApplicationAttributesCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetPlatformApplicationAttributesResponse
|
|
37
|
+
* // Attributes: { // MapStringToString
|
|
38
|
+
* // "<keys>": "STRING_VALUE",
|
|
39
|
+
* // },
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
36
42
|
* ```
|
|
37
43
|
*
|
|
38
44
|
* @param GetPlatformApplicationAttributesCommandInput - {@link GetPlatformApplicationAttributesCommandInput}
|
|
@@ -54,6 +60,8 @@ export interface GetPlatformApplicationAttributesCommandOutput extends GetPlatfo
|
|
|
54
60
|
* @throws {@link NotFoundException} (client fault)
|
|
55
61
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
56
62
|
*
|
|
63
|
+
* @throws {@link SNSServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
57
65
|
*
|
|
58
66
|
*/
|
|
59
67
|
export declare class GetPlatformApplicationAttributesCommand extends $Command<GetPlatformApplicationAttributesCommandInput, GetPlatformApplicationAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -34,6 +34,12 @@ export interface GetSMSAttributesCommandOutput extends GetSMSAttributesResponse,
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new GetSMSAttributesCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // GetSMSAttributesResponse
|
|
38
|
+
* // attributes: { // MapStringToString
|
|
39
|
+
* // "<keys>": "STRING_VALUE",
|
|
40
|
+
* // },
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
37
43
|
* ```
|
|
38
44
|
*
|
|
39
45
|
* @param GetSMSAttributesCommandInput - {@link GetSMSAttributesCommandInput}
|
|
@@ -55,6 +61,8 @@ export interface GetSMSAttributesCommandOutput extends GetSMSAttributesResponse,
|
|
|
55
61
|
* @throws {@link ThrottledException} (client fault)
|
|
56
62
|
* <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
|
|
57
63
|
*
|
|
64
|
+
* @throws {@link SNSServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
58
66
|
*
|
|
59
67
|
*/
|
|
60
68
|
export declare class GetSMSAttributesCommand extends $Command<GetSMSAttributesCommandInput, GetSMSAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -38,6 +38,10 @@ export interface GetSMSSandboxAccountStatusCommandOutput extends GetSMSSandboxAc
|
|
|
38
38
|
* const input = {};
|
|
39
39
|
* const command = new GetSMSSandboxAccountStatusCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // GetSMSSandboxAccountStatusResult
|
|
42
|
+
* // IsInSandbox: true || false, // required
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
41
45
|
* ```
|
|
42
46
|
*
|
|
43
47
|
* @param GetSMSSandboxAccountStatusCommandInput - {@link GetSMSSandboxAccountStatusCommandInput}
|
|
@@ -55,6 +59,8 @@ export interface GetSMSSandboxAccountStatusCommandOutput extends GetSMSSandboxAc
|
|
|
55
59
|
* @throws {@link ThrottledException} (client fault)
|
|
56
60
|
* <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
|
|
57
61
|
*
|
|
62
|
+
* @throws {@link SNSServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
58
64
|
*
|
|
59
65
|
*/
|
|
60
66
|
export declare class GetSMSSandboxAccountStatusCommand extends $Command<GetSMSSandboxAccountStatusCommandInput, GetSMSSandboxAccountStatusCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -31,6 +31,12 @@ export interface GetSubscriptionAttributesCommandOutput extends GetSubscriptionA
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetSubscriptionAttributesCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // GetSubscriptionAttributesResponse
|
|
35
|
+
* // Attributes: { // SubscriptionAttributesMap
|
|
36
|
+
* // "<keys>": "STRING_VALUE",
|
|
37
|
+
* // },
|
|
38
|
+
* // };
|
|
39
|
+
*
|
|
34
40
|
* ```
|
|
35
41
|
*
|
|
36
42
|
* @param GetSubscriptionAttributesCommandInput - {@link GetSubscriptionAttributesCommandInput}
|
|
@@ -52,6 +58,8 @@ export interface GetSubscriptionAttributesCommandOutput extends GetSubscriptionA
|
|
|
52
58
|
* @throws {@link NotFoundException} (client fault)
|
|
53
59
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
54
60
|
*
|
|
61
|
+
* @throws {@link SNSServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
55
63
|
*
|
|
56
64
|
*/
|
|
57
65
|
export declare class GetSubscriptionAttributesCommand extends $Command<GetSubscriptionAttributesCommandInput, GetSubscriptionAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -32,6 +32,12 @@ export interface GetTopicAttributesCommandOutput extends GetTopicAttributesRespo
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetTopicAttributesCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetTopicAttributesResponse
|
|
36
|
+
* // Attributes: { // TopicAttributesMap
|
|
37
|
+
* // "<keys>": "STRING_VALUE",
|
|
38
|
+
* // },
|
|
39
|
+
* // };
|
|
40
|
+
*
|
|
35
41
|
* ```
|
|
36
42
|
*
|
|
37
43
|
* @param GetTopicAttributesCommandInput - {@link GetTopicAttributesCommandInput}
|
|
@@ -57,6 +63,8 @@ export interface GetTopicAttributesCommandOutput extends GetTopicAttributesRespo
|
|
|
57
63
|
* @throws {@link NotFoundException} (client fault)
|
|
58
64
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
59
65
|
*
|
|
66
|
+
* @throws {@link SNSServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
60
68
|
*
|
|
61
69
|
*/
|
|
62
70
|
export declare class GetTopicAttributesCommand extends $Command<GetTopicAttributesCommandInput, GetTopicAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -41,6 +41,18 @@ export interface ListEndpointsByPlatformApplicationCommandOutput extends ListEnd
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new ListEndpointsByPlatformApplicationCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // { // ListEndpointsByPlatformApplicationResponse
|
|
45
|
+
* // Endpoints: [ // ListOfEndpoints
|
|
46
|
+
* // { // Endpoint
|
|
47
|
+
* // EndpointArn: "STRING_VALUE",
|
|
48
|
+
* // Attributes: { // MapStringToString
|
|
49
|
+
* // "<keys>": "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // NextToken: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
44
56
|
* ```
|
|
45
57
|
*
|
|
46
58
|
* @param ListEndpointsByPlatformApplicationCommandInput - {@link ListEndpointsByPlatformApplicationCommandInput}
|
|
@@ -62,6 +74,8 @@ export interface ListEndpointsByPlatformApplicationCommandOutput extends ListEnd
|
|
|
62
74
|
* @throws {@link NotFoundException} (client fault)
|
|
63
75
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
64
76
|
*
|
|
77
|
+
* @throws {@link SNSServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
65
79
|
*
|
|
66
80
|
*/
|
|
67
81
|
export declare class ListEndpointsByPlatformApplicationCommand extends $Command<ListEndpointsByPlatformApplicationCommandInput, ListEndpointsByPlatformApplicationCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -34,6 +34,22 @@ export interface ListOriginationNumbersCommandOutput extends ListOriginationNumb
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListOriginationNumbersCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // ListOriginationNumbersResult
|
|
38
|
+
* // NextToken: "STRING_VALUE",
|
|
39
|
+
* // PhoneNumbers: [ // PhoneNumberInformationList
|
|
40
|
+
* // { // PhoneNumberInformation
|
|
41
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
42
|
+
* // PhoneNumber: "STRING_VALUE",
|
|
43
|
+
* // Status: "STRING_VALUE",
|
|
44
|
+
* // Iso2CountryCode: "STRING_VALUE",
|
|
45
|
+
* // RouteType: "Transactional" || "Promotional" || "Premium",
|
|
46
|
+
* // NumberCapabilities: [ // NumberCapabilityList
|
|
47
|
+
* // "SMS" || "MMS" || "VOICE",
|
|
48
|
+
* // ],
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
37
53
|
* ```
|
|
38
54
|
*
|
|
39
55
|
* @param ListOriginationNumbersCommandInput - {@link ListOriginationNumbersCommandInput}
|
|
@@ -58,6 +74,8 @@ export interface ListOriginationNumbersCommandOutput extends ListOriginationNumb
|
|
|
58
74
|
* @throws {@link ValidationException} (client fault)
|
|
59
75
|
* <p>Indicates that a parameter in the request is invalid.</p>
|
|
60
76
|
*
|
|
77
|
+
* @throws {@link SNSServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
61
79
|
*
|
|
62
80
|
*/
|
|
63
81
|
export declare class ListOriginationNumbersCommand extends $Command<ListOriginationNumbersCommandInput, ListOriginationNumbersCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -38,6 +38,13 @@ export interface ListPhoneNumbersOptedOutCommandOutput extends ListPhoneNumbersO
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new ListPhoneNumbersOptedOutCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // ListPhoneNumbersOptedOutResponse
|
|
42
|
+
* // phoneNumbers: [ // PhoneNumberList
|
|
43
|
+
* // "STRING_VALUE",
|
|
44
|
+
* // ],
|
|
45
|
+
* // nextToken: "STRING_VALUE",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
41
48
|
* ```
|
|
42
49
|
*
|
|
43
50
|
* @param ListPhoneNumbersOptedOutCommandInput - {@link ListPhoneNumbersOptedOutCommandInput}
|
|
@@ -59,6 +66,8 @@ export interface ListPhoneNumbersOptedOutCommandOutput extends ListPhoneNumbersO
|
|
|
59
66
|
* @throws {@link ThrottledException} (client fault)
|
|
60
67
|
* <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
|
|
61
68
|
*
|
|
69
|
+
* @throws {@link SNSServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
62
71
|
*
|
|
63
72
|
*/
|
|
64
73
|
export declare class ListPhoneNumbersOptedOutCommand extends $Command<ListPhoneNumbersOptedOutCommandInput, ListPhoneNumbersOptedOutCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -40,6 +40,18 @@ export interface ListPlatformApplicationsCommandOutput extends ListPlatformAppli
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new ListPlatformApplicationsCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // ListPlatformApplicationsResponse
|
|
44
|
+
* // PlatformApplications: [ // ListOfPlatformApplications
|
|
45
|
+
* // { // PlatformApplication
|
|
46
|
+
* // PlatformApplicationArn: "STRING_VALUE",
|
|
47
|
+
* // Attributes: { // MapStringToString
|
|
48
|
+
* // "<keys>": "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // NextToken: "STRING_VALUE",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
43
55
|
* ```
|
|
44
56
|
*
|
|
45
57
|
* @param ListPlatformApplicationsCommandInput - {@link ListPlatformApplicationsCommandInput}
|
|
@@ -58,6 +70,8 @@ export interface ListPlatformApplicationsCommandOutput extends ListPlatformAppli
|
|
|
58
70
|
* <p>Indicates that a request parameter does not comply with the associated
|
|
59
71
|
* constraints.</p>
|
|
60
72
|
*
|
|
73
|
+
* @throws {@link SNSServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
61
75
|
*
|
|
62
76
|
*/
|
|
63
77
|
export declare class ListPlatformApplicationsCommand extends $Command<ListPlatformApplicationsCommandInput, ListPlatformApplicationsCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -41,6 +41,16 @@ export interface ListSMSSandboxPhoneNumbersCommandOutput extends ListSMSSandboxP
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new ListSMSSandboxPhoneNumbersCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // { // ListSMSSandboxPhoneNumbersResult
|
|
45
|
+
* // PhoneNumbers: [ // SMSSandboxPhoneNumberList // required
|
|
46
|
+
* // { // SMSSandboxPhoneNumber
|
|
47
|
+
* // PhoneNumber: "STRING_VALUE",
|
|
48
|
+
* // Status: "Pending" || "Verified",
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // NextToken: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
44
54
|
* ```
|
|
45
55
|
*
|
|
46
56
|
* @param ListSMSSandboxPhoneNumbersCommandInput - {@link ListSMSSandboxPhoneNumbersCommandInput}
|
|
@@ -66,6 +76,8 @@ export interface ListSMSSandboxPhoneNumbersCommandOutput extends ListSMSSandboxP
|
|
|
66
76
|
* @throws {@link ThrottledException} (client fault)
|
|
67
77
|
* <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
|
|
68
78
|
*
|
|
79
|
+
* @throws {@link SNSServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
69
81
|
*
|
|
70
82
|
*/
|
|
71
83
|
export declare class ListSMSSandboxPhoneNumbersCommand extends $Command<ListSMSSandboxPhoneNumbersCommandInput, ListSMSSandboxPhoneNumbersCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -36,6 +36,19 @@ export interface ListSubscriptionsByTopicCommandOutput extends ListSubscriptions
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new ListSubscriptionsByTopicCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // ListSubscriptionsByTopicResponse
|
|
40
|
+
* // Subscriptions: [ // SubscriptionsList
|
|
41
|
+
* // { // Subscription
|
|
42
|
+
* // SubscriptionArn: "STRING_VALUE",
|
|
43
|
+
* // Owner: "STRING_VALUE",
|
|
44
|
+
* // Protocol: "STRING_VALUE",
|
|
45
|
+
* // Endpoint: "STRING_VALUE",
|
|
46
|
+
* // TopicArn: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // NextToken: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
39
52
|
* ```
|
|
40
53
|
*
|
|
41
54
|
* @param ListSubscriptionsByTopicCommandInput - {@link ListSubscriptionsByTopicCommandInput}
|
|
@@ -57,6 +70,8 @@ export interface ListSubscriptionsByTopicCommandOutput extends ListSubscriptions
|
|
|
57
70
|
* @throws {@link NotFoundException} (client fault)
|
|
58
71
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
59
72
|
*
|
|
73
|
+
* @throws {@link SNSServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
60
75
|
*
|
|
61
76
|
*/
|
|
62
77
|
export declare class ListSubscriptionsByTopicCommand extends $Command<ListSubscriptionsByTopicCommandInput, ListSubscriptionsByTopicCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -35,6 +35,19 @@ export interface ListSubscriptionsCommandOutput extends ListSubscriptionsRespons
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new ListSubscriptionsCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // ListSubscriptionsResponse
|
|
39
|
+
* // Subscriptions: [ // SubscriptionsList
|
|
40
|
+
* // { // Subscription
|
|
41
|
+
* // SubscriptionArn: "STRING_VALUE",
|
|
42
|
+
* // Owner: "STRING_VALUE",
|
|
43
|
+
* // Protocol: "STRING_VALUE",
|
|
44
|
+
* // Endpoint: "STRING_VALUE",
|
|
45
|
+
* // TopicArn: "STRING_VALUE",
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // NextToken: "STRING_VALUE",
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
38
51
|
* ```
|
|
39
52
|
*
|
|
40
53
|
* @param ListSubscriptionsCommandInput - {@link ListSubscriptionsCommandInput}
|
|
@@ -53,6 +66,8 @@ export interface ListSubscriptionsCommandOutput extends ListSubscriptionsRespons
|
|
|
53
66
|
* <p>Indicates that a request parameter does not comply with the associated
|
|
54
67
|
* constraints.</p>
|
|
55
68
|
*
|
|
69
|
+
* @throws {@link SNSServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
56
71
|
*
|
|
57
72
|
*/
|
|
58
73
|
export declare class ListSubscriptionsCommand extends $Command<ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -32,6 +32,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ListTagsForResourceCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // ListTagsForResourceResponse
|
|
36
|
+
* // Tags: [ // TagList
|
|
37
|
+
* // { // Tag
|
|
38
|
+
* // Key: "STRING_VALUE", // required
|
|
39
|
+
* // Value: "STRING_VALUE", // required
|
|
40
|
+
* // },
|
|
41
|
+
* // ],
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
35
44
|
* ```
|
|
36
45
|
*
|
|
37
46
|
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
@@ -59,6 +68,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
59
68
|
* <p>The request doesn't comply with the IAM tag policy. Correct your request and then
|
|
60
69
|
* retry it.</p>
|
|
61
70
|
*
|
|
71
|
+
* @throws {@link SNSServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
62
73
|
*
|
|
63
74
|
*/
|
|
64
75
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -35,6 +35,15 @@ export interface ListTopicsCommandOutput extends ListTopicsResponse, __MetadataB
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new ListTopicsCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // ListTopicsResponse
|
|
39
|
+
* // Topics: [ // TopicsList
|
|
40
|
+
* // { // Topic
|
|
41
|
+
* // TopicArn: "STRING_VALUE",
|
|
42
|
+
* // },
|
|
43
|
+
* // ],
|
|
44
|
+
* // NextToken: "STRING_VALUE",
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
38
47
|
* ```
|
|
39
48
|
*
|
|
40
49
|
* @param ListTopicsCommandInput - {@link ListTopicsCommandInput}
|
|
@@ -53,6 +62,8 @@ export interface ListTopicsCommandOutput extends ListTopicsResponse, __MetadataB
|
|
|
53
62
|
* <p>Indicates that a request parameter does not comply with the associated
|
|
54
63
|
* constraints.</p>
|
|
55
64
|
*
|
|
65
|
+
* @throws {@link SNSServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
56
67
|
*
|
|
57
68
|
*/
|
|
58
69
|
export declare class ListTopicsCommand extends $Command<ListTopicsCommandInput, ListTopicsCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -33,6 +33,8 @@ export interface OptInPhoneNumberCommandOutput extends OptInPhoneNumberResponse,
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new OptInPhoneNumberCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // {};
|
|
37
|
+
*
|
|
36
38
|
* ```
|
|
37
39
|
*
|
|
38
40
|
* @param OptInPhoneNumberCommandInput - {@link OptInPhoneNumberCommandInput}
|
|
@@ -54,6 +56,8 @@ export interface OptInPhoneNumberCommandOutput extends OptInPhoneNumberResponse,
|
|
|
54
56
|
* @throws {@link ThrottledException} (client fault)
|
|
55
57
|
* <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
|
|
56
58
|
*
|
|
59
|
+
* @throws {@link SNSServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
57
61
|
*
|
|
58
62
|
*/
|
|
59
63
|
export declare class OptInPhoneNumberCommand extends $Command<OptInPhoneNumberCommandInput, OptInPhoneNumberCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -68,6 +68,24 @@ export interface PublishBatchCommandOutput extends PublishBatchResponse, __Metad
|
|
|
68
68
|
* };
|
|
69
69
|
* const command = new PublishBatchCommand(input);
|
|
70
70
|
* const response = await client.send(command);
|
|
71
|
+
* // { // PublishBatchResponse
|
|
72
|
+
* // Successful: [ // PublishBatchResultEntryList
|
|
73
|
+
* // { // PublishBatchResultEntry
|
|
74
|
+
* // Id: "STRING_VALUE",
|
|
75
|
+
* // MessageId: "STRING_VALUE",
|
|
76
|
+
* // SequenceNumber: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // Failed: [ // BatchResultErrorEntryList
|
|
80
|
+
* // { // BatchResultErrorEntry
|
|
81
|
+
* // Id: "STRING_VALUE", // required
|
|
82
|
+
* // Code: "STRING_VALUE", // required
|
|
83
|
+
* // Message: "STRING_VALUE",
|
|
84
|
+
* // SenderFault: true || false, // required
|
|
85
|
+
* // },
|
|
86
|
+
* // ],
|
|
87
|
+
* // };
|
|
88
|
+
*
|
|
71
89
|
* ```
|
|
72
90
|
*
|
|
73
91
|
* @param PublishBatchCommandInput - {@link PublishBatchCommandInput}
|
|
@@ -147,6 +165,8 @@ export interface PublishBatchCommandOutput extends PublishBatchResponse, __Metad
|
|
|
147
165
|
* @throws {@link ValidationException} (client fault)
|
|
148
166
|
* <p>Indicates that a parameter in the request is invalid.</p>
|
|
149
167
|
*
|
|
168
|
+
* @throws {@link SNSServiceException}
|
|
169
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
150
170
|
*
|
|
151
171
|
*/
|
|
152
172
|
export declare class PublishBatchCommand extends $Command<PublishBatchCommandInput, PublishBatchCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -62,6 +62,11 @@ export interface PublishCommandOutput extends PublishResponse, __MetadataBearer
|
|
|
62
62
|
* };
|
|
63
63
|
* const command = new PublishCommand(input);
|
|
64
64
|
* const response = await client.send(command);
|
|
65
|
+
* // { // PublishResponse
|
|
66
|
+
* // MessageId: "STRING_VALUE",
|
|
67
|
+
* // SequenceNumber: "STRING_VALUE",
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
65
70
|
* ```
|
|
66
71
|
*
|
|
67
72
|
* @param PublishCommandInput - {@link PublishCommandInput}
|
|
@@ -126,6 +131,8 @@ export interface PublishCommandOutput extends PublishResponse, __MetadataBearer
|
|
|
126
131
|
* @throws {@link ValidationException} (client fault)
|
|
127
132
|
* <p>Indicates that a parameter in the request is invalid.</p>
|
|
128
133
|
*
|
|
134
|
+
* @throws {@link SNSServiceException}
|
|
135
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
129
136
|
*
|
|
130
137
|
*/
|
|
131
138
|
export declare class PublishCommand extends $Command<PublishCommandInput, PublishCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -33,6 +33,8 @@ export interface PutDataProtectionPolicyCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new PutDataProtectionPolicyCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // {};
|
|
37
|
+
*
|
|
36
38
|
* ```
|
|
37
39
|
*
|
|
38
40
|
* @param PutDataProtectionPolicyCommandInput - {@link PutDataProtectionPolicyCommandInput}
|
|
@@ -58,6 +60,8 @@ export interface PutDataProtectionPolicyCommandOutput extends __MetadataBearer {
|
|
|
58
60
|
* @throws {@link NotFoundException} (client fault)
|
|
59
61
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
60
62
|
*
|
|
63
|
+
* @throws {@link SNSServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
61
65
|
*
|
|
62
66
|
*/
|
|
63
67
|
export declare class PutDataProtectionPolicyCommand extends $Command<PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -37,6 +37,8 @@ export interface RemovePermissionCommandOutput extends __MetadataBearer {
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new RemovePermissionCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
40
42
|
* ```
|
|
41
43
|
*
|
|
42
44
|
* @param RemovePermissionCommandInput - {@link RemovePermissionCommandInput}
|
|
@@ -58,6 +60,8 @@ export interface RemovePermissionCommandOutput extends __MetadataBearer {
|
|
|
58
60
|
* @throws {@link NotFoundException} (client fault)
|
|
59
61
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
60
62
|
*
|
|
63
|
+
* @throws {@link SNSServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
61
65
|
*
|
|
62
66
|
*/
|
|
63
67
|
export declare class RemovePermissionCommand extends $Command<RemovePermissionCommandInput, RemovePermissionCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -36,6 +36,8 @@ export interface SetEndpointAttributesCommandOutput extends __MetadataBearer {
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new SetEndpointAttributesCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // {};
|
|
40
|
+
*
|
|
39
41
|
* ```
|
|
40
42
|
*
|
|
41
43
|
* @param SetEndpointAttributesCommandInput - {@link SetEndpointAttributesCommandInput}
|
|
@@ -57,6 +59,8 @@ export interface SetEndpointAttributesCommandOutput extends __MetadataBearer {
|
|
|
57
59
|
* @throws {@link NotFoundException} (client fault)
|
|
58
60
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
59
61
|
*
|
|
62
|
+
* @throws {@link SNSServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
60
64
|
*
|
|
61
65
|
*/
|
|
62
66
|
export declare class SetEndpointAttributesCommand extends $Command<SetEndpointAttributesCommandInput, SetEndpointAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -38,6 +38,8 @@ export interface SetPlatformApplicationAttributesCommandOutput extends __Metadat
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new SetPlatformApplicationAttributesCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
41
43
|
* ```
|
|
42
44
|
*
|
|
43
45
|
* @param SetPlatformApplicationAttributesCommandInput - {@link SetPlatformApplicationAttributesCommandInput}
|
|
@@ -59,6 +61,8 @@ export interface SetPlatformApplicationAttributesCommandOutput extends __Metadat
|
|
|
59
61
|
* @throws {@link NotFoundException} (client fault)
|
|
60
62
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
61
63
|
*
|
|
64
|
+
* @throws {@link SNSServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
62
66
|
*
|
|
63
67
|
*/
|
|
64
68
|
export declare class SetPlatformApplicationAttributesCommand extends $Command<SetPlatformApplicationAttributesCommandInput, SetPlatformApplicationAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -43,6 +43,8 @@ export interface SetSMSAttributesCommandOutput extends SetSMSAttributesResponse,
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new SetSMSAttributesCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
46
48
|
* ```
|
|
47
49
|
*
|
|
48
50
|
* @param SetSMSAttributesCommandInput - {@link SetSMSAttributesCommandInput}
|
|
@@ -64,6 +66,8 @@ export interface SetSMSAttributesCommandOutput extends SetSMSAttributesResponse,
|
|
|
64
66
|
* @throws {@link ThrottledException} (client fault)
|
|
65
67
|
* <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
|
|
66
68
|
*
|
|
69
|
+
* @throws {@link SNSServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
67
71
|
*
|
|
68
72
|
*/
|
|
69
73
|
export declare class SetSMSAttributesCommand extends $Command<SetSMSAttributesCommandInput, SetSMSAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface SetSubscriptionAttributesCommandOutput extends __MetadataBearer
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new SetSubscriptionAttributesCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param SetSubscriptionAttributesCommandInput - {@link SetSubscriptionAttributesCommandInput}
|
|
@@ -60,6 +62,8 @@ export interface SetSubscriptionAttributesCommandOutput extends __MetadataBearer
|
|
|
60
62
|
* @throws {@link NotFoundException} (client fault)
|
|
61
63
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
62
64
|
*
|
|
65
|
+
* @throws {@link SNSServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
63
67
|
*
|
|
64
68
|
*/
|
|
65
69
|
export declare class SetSubscriptionAttributesCommand extends $Command<SetSubscriptionAttributesCommandInput, SetSubscriptionAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -38,6 +38,8 @@ export interface SetTopicAttributesCommandOutput extends __MetadataBearer {
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new SetTopicAttributesCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
41
43
|
* ```
|
|
42
44
|
*
|
|
43
45
|
* @param SetTopicAttributesCommandInput - {@link SetTopicAttributesCommandInput}
|
|
@@ -63,6 +65,8 @@ export interface SetTopicAttributesCommandOutput extends __MetadataBearer {
|
|
|
63
65
|
* @throws {@link NotFoundException} (client fault)
|
|
64
66
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
65
67
|
*
|
|
68
|
+
* @throws {@link SNSServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
66
70
|
*
|
|
67
71
|
*/
|
|
68
72
|
export declare class SetTopicAttributesCommand extends $Command<SetTopicAttributesCommandInput, SetTopicAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -42,6 +42,10 @@ export interface SubscribeCommandOutput extends SubscribeResponse, __MetadataBea
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new SubscribeCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // SubscribeResponse
|
|
46
|
+
* // SubscriptionArn: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
45
49
|
* ```
|
|
46
50
|
*
|
|
47
51
|
* @param SubscribeCommandInput - {@link SubscribeCommandInput}
|
|
@@ -76,6 +80,8 @@ export interface SubscribeCommandOutput extends SubscribeResponse, __MetadataBea
|
|
|
76
80
|
* <p>Indicates that the customer already owns the maximum allowed number of
|
|
77
81
|
* subscriptions.</p>
|
|
78
82
|
*
|
|
83
|
+
* @throws {@link SNSServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
79
85
|
*
|
|
80
86
|
*/
|
|
81
87
|
export declare class SubscribeCommand extends $Command<SubscribeCommandInput, SubscribeCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -59,6 +59,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
59
59
|
* };
|
|
60
60
|
* const command = new TagResourceCommand(input);
|
|
61
61
|
* const response = await client.send(command);
|
|
62
|
+
* // {};
|
|
63
|
+
*
|
|
62
64
|
* ```
|
|
63
65
|
*
|
|
64
66
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -93,6 +95,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
93
95
|
* <p>The request doesn't comply with the IAM tag policy. Correct your request and then
|
|
94
96
|
* retry it.</p>
|
|
95
97
|
*
|
|
98
|
+
* @throws {@link SNSServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
96
100
|
*
|
|
97
101
|
*/
|
|
98
102
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -42,6 +42,8 @@ export interface UnsubscribeCommandOutput extends __MetadataBearer {
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new UnsubscribeCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
45
47
|
* ```
|
|
46
48
|
*
|
|
47
49
|
* @param UnsubscribeCommandInput - {@link UnsubscribeCommandInput}
|
|
@@ -67,6 +69,8 @@ export interface UnsubscribeCommandOutput extends __MetadataBearer {
|
|
|
67
69
|
* @throws {@link NotFoundException} (client fault)
|
|
68
70
|
* <p>Indicates that the requested resource does not exist.</p>
|
|
69
71
|
*
|
|
72
|
+
* @throws {@link SNSServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
70
74
|
*
|
|
71
75
|
*/
|
|
72
76
|
export declare class UnsubscribeCommand extends $Command<UnsubscribeCommandInput, UnsubscribeCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -35,6 +35,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new UntagResourceCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
38
40
|
* ```
|
|
39
41
|
*
|
|
40
42
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -69,6 +71,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
69
71
|
* <p>The request doesn't comply with the IAM tag policy. Correct your request and then
|
|
70
72
|
* retry it.</p>
|
|
71
73
|
*
|
|
74
|
+
* @throws {@link SNSServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
72
76
|
*
|
|
73
77
|
*/
|
|
74
78
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SNSClientResolvedConfig> {
|
|
@@ -41,6 +41,8 @@ export interface VerifySMSSandboxPhoneNumberCommandOutput extends VerifySMSSandb
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new VerifySMSSandboxPhoneNumberCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
44
46
|
* ```
|
|
45
47
|
*
|
|
46
48
|
* @param VerifySMSSandboxPhoneNumberCommandInput - {@link VerifySMSSandboxPhoneNumberCommandInput}
|
|
@@ -69,6 +71,8 @@ export interface VerifySMSSandboxPhoneNumberCommandOutput extends VerifySMSSandb
|
|
|
69
71
|
* @throws {@link VerificationException} (client fault)
|
|
70
72
|
* <p>Indicates that the one-time password (OTP) used for verification is invalid.</p>
|
|
71
73
|
*
|
|
74
|
+
* @throws {@link SNSServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from SNS service.</p>
|
|
72
76
|
*
|
|
73
77
|
*/
|
|
74
78
|
export declare class VerifySMSSandboxPhoneNumberCommand extends $Command<VerifySMSSandboxPhoneNumberCommandInput, VerifySMSSandboxPhoneNumberCommandOutput, SNSClientResolvedConfig> {
|
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.327.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.327.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.327.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.327.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.327.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.327.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.327.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.310.0",
|