@aws-sdk/client-sns 3.296.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 +3 -3
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { VerifySMSSandboxPhoneNumberInput, VerifySMSSandboxPhoneNumberResult } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link VerifySMSSandboxPhoneNumberCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface VerifySMSSandboxPhoneNumberCommandInput extends VerifySMSSandboxPhoneNumberInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link VerifySMSSandboxPhoneNumberCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface VerifySMSSandboxPhoneNumberCommandOutput extends VerifySMSSandboxPhoneNumberResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Verifies a destination phone number with a one-time password (OTP) for the calling
|
|
18
23
|
* Amazon Web Services account.</p>
|
|
19
24
|
* <p>When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the
|
|
@@ -34,6 +39,8 @@ export interface VerifySMSSandboxPhoneNumberCommandOutput extends VerifySMSSandb
|
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
36
41
|
*
|
|
42
|
+
* @param VerifySMSSandboxPhoneNumberCommandInput - {@link VerifySMSSandboxPhoneNumberCommandInput}
|
|
43
|
+
* @returns {@link VerifySMSSandboxPhoneNumberCommandOutput}
|
|
37
44
|
* @see {@link VerifySMSSandboxPhoneNumberCommandInput} for command's `input` shape.
|
|
38
45
|
* @see {@link VerifySMSSandboxPhoneNumberCommandOutput} for command's `response` shape.
|
|
39
46
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
@@ -63,11 +70,20 @@ export interface VerifySMSSandboxPhoneNumberCommandOutput extends VerifySMSSandb
|
|
|
63
70
|
export declare class VerifySMSSandboxPhoneNumberCommand extends $Command<VerifySMSSandboxPhoneNumberCommandInput, VerifySMSSandboxPhoneNumberCommandOutput, SNSClientResolvedConfig> {
|
|
64
71
|
readonly input: VerifySMSSandboxPhoneNumberCommandInput;
|
|
65
72
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
66
76
|
constructor(input: VerifySMSSandboxPhoneNumberCommandInput);
|
|
67
77
|
/**
|
|
68
78
|
* @internal
|
|
69
79
|
*/
|
|
70
80
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<VerifySMSSandboxPhoneNumberCommandInput, VerifySMSSandboxPhoneNumberCommandOutput>;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
71
84
|
private serialize;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
72
88
|
private deserialize;
|
|
73
89
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from SNS service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class SNSServiceException extends __ServiceException {
|