@aws-sdk/client-pinpoint-sms-voice-v2 3.61.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 +11 -0
- package/LICENSE +201 -0
- package/README.md +221 -0
- package/dist-cjs/PinpointSMSVoiceV2.js +652 -0
- package/dist-cjs/PinpointSMSVoiceV2Client.js +35 -0
- package/dist-cjs/commands/AssociateOriginationIdentityCommand.js +36 -0
- package/dist-cjs/commands/CreateConfigurationSetCommand.js +36 -0
- package/dist-cjs/commands/CreateEventDestinationCommand.js +36 -0
- package/dist-cjs/commands/CreateOptOutListCommand.js +36 -0
- package/dist-cjs/commands/CreatePoolCommand.js +36 -0
- package/dist-cjs/commands/DeleteConfigurationSetCommand.js +36 -0
- package/dist-cjs/commands/DeleteDefaultMessageTypeCommand.js +36 -0
- package/dist-cjs/commands/DeleteDefaultSenderIdCommand.js +36 -0
- package/dist-cjs/commands/DeleteEventDestinationCommand.js +36 -0
- package/dist-cjs/commands/DeleteKeywordCommand.js +36 -0
- package/dist-cjs/commands/DeleteOptOutListCommand.js +36 -0
- package/dist-cjs/commands/DeleteOptedOutNumberCommand.js +36 -0
- package/dist-cjs/commands/DeletePoolCommand.js +36 -0
- package/dist-cjs/commands/DeleteTextMessageSpendLimitOverrideCommand.js +36 -0
- package/dist-cjs/commands/DeleteVoiceMessageSpendLimitOverrideCommand.js +36 -0
- package/dist-cjs/commands/DescribeAccountAttributesCommand.js +36 -0
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js +36 -0
- package/dist-cjs/commands/DescribeConfigurationSetsCommand.js +36 -0
- package/dist-cjs/commands/DescribeKeywordsCommand.js +36 -0
- package/dist-cjs/commands/DescribeOptOutListsCommand.js +36 -0
- package/dist-cjs/commands/DescribeOptedOutNumbersCommand.js +36 -0
- package/dist-cjs/commands/DescribePhoneNumbersCommand.js +36 -0
- package/dist-cjs/commands/DescribePoolsCommand.js +36 -0
- package/dist-cjs/commands/DescribeSenderIdsCommand.js +36 -0
- package/dist-cjs/commands/DescribeSpendLimitsCommand.js +36 -0
- package/dist-cjs/commands/DisassociateOriginationIdentityCommand.js +36 -0
- package/dist-cjs/commands/ListPoolOriginationIdentitiesCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/PutKeywordCommand.js +36 -0
- package/dist-cjs/commands/PutOptedOutNumberCommand.js +36 -0
- package/dist-cjs/commands/ReleasePhoneNumberCommand.js +36 -0
- package/dist-cjs/commands/RequestPhoneNumberCommand.js +36 -0
- package/dist-cjs/commands/SendTextMessageCommand.js +36 -0
- package/dist-cjs/commands/SendVoiceMessageCommand.js +36 -0
- package/dist-cjs/commands/SetDefaultMessageTypeCommand.js +36 -0
- package/dist-cjs/commands/SetDefaultSenderIdCommand.js +36 -0
- package/dist-cjs/commands/SetTextMessageSpendLimitOverrideCommand.js +36 -0
- package/dist-cjs/commands/SetVoiceMessageSpendLimitOverrideCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateEventDestinationCommand.js +36 -0
- package/dist-cjs/commands/UpdatePhoneNumberCommand.js +36 -0
- package/dist-cjs/commands/UpdatePoolCommand.js +36 -0
- package/dist-cjs/commands/index.js +46 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/PinpointSMSVoiceV2ServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +1074 -0
- package/dist-cjs/pagination/DescribeAccountAttributesPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeAccountLimitsPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeConfigurationSetsPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeKeywordsPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeOptOutListsPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeOptedOutNumbersPaginator.js +35 -0
- package/dist-cjs/pagination/DescribePhoneNumbersPaginator.js +35 -0
- package/dist-cjs/pagination/DescribePoolsPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeSenderIdsPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeSpendLimitsPaginator.js +35 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListPoolOriginationIdentitiesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +15 -0
- package/dist-cjs/protocols/Aws_json1_0.js +4247 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/PinpointSMSVoiceV2.js +655 -0
- package/dist-es/PinpointSMSVoiceV2Client.js +37 -0
- package/dist-es/commands/AssociateOriginationIdentityCommand.js +39 -0
- package/dist-es/commands/CreateConfigurationSetCommand.js +39 -0
- package/dist-es/commands/CreateEventDestinationCommand.js +39 -0
- package/dist-es/commands/CreateOptOutListCommand.js +39 -0
- package/dist-es/commands/CreatePoolCommand.js +39 -0
- package/dist-es/commands/DeleteConfigurationSetCommand.js +39 -0
- package/dist-es/commands/DeleteDefaultMessageTypeCommand.js +39 -0
- package/dist-es/commands/DeleteDefaultSenderIdCommand.js +39 -0
- package/dist-es/commands/DeleteEventDestinationCommand.js +39 -0
- package/dist-es/commands/DeleteKeywordCommand.js +39 -0
- package/dist-es/commands/DeleteOptOutListCommand.js +39 -0
- package/dist-es/commands/DeleteOptedOutNumberCommand.js +39 -0
- package/dist-es/commands/DeletePoolCommand.js +39 -0
- package/dist-es/commands/DeleteTextMessageSpendLimitOverrideCommand.js +39 -0
- package/dist-es/commands/DeleteVoiceMessageSpendLimitOverrideCommand.js +39 -0
- package/dist-es/commands/DescribeAccountAttributesCommand.js +39 -0
- package/dist-es/commands/DescribeAccountLimitsCommand.js +39 -0
- package/dist-es/commands/DescribeConfigurationSetsCommand.js +39 -0
- package/dist-es/commands/DescribeKeywordsCommand.js +39 -0
- package/dist-es/commands/DescribeOptOutListsCommand.js +39 -0
- package/dist-es/commands/DescribeOptedOutNumbersCommand.js +39 -0
- package/dist-es/commands/DescribePhoneNumbersCommand.js +39 -0
- package/dist-es/commands/DescribePoolsCommand.js +39 -0
- package/dist-es/commands/DescribeSenderIdsCommand.js +39 -0
- package/dist-es/commands/DescribeSpendLimitsCommand.js +39 -0
- package/dist-es/commands/DisassociateOriginationIdentityCommand.js +39 -0
- package/dist-es/commands/ListPoolOriginationIdentitiesCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/PutKeywordCommand.js +39 -0
- package/dist-es/commands/PutOptedOutNumberCommand.js +39 -0
- package/dist-es/commands/ReleasePhoneNumberCommand.js +39 -0
- package/dist-es/commands/RequestPhoneNumberCommand.js +39 -0
- package/dist-es/commands/SendTextMessageCommand.js +39 -0
- package/dist-es/commands/SendVoiceMessageCommand.js +39 -0
- package/dist-es/commands/SetDefaultMessageTypeCommand.js +39 -0
- package/dist-es/commands/SetDefaultSenderIdCommand.js +39 -0
- package/dist-es/commands/SetTextMessageSpendLimitOverrideCommand.js +39 -0
- package/dist-es/commands/SetVoiceMessageSpendLimitOverrideCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateEventDestinationCommand.js +39 -0
- package/dist-es/commands/UpdatePhoneNumberCommand.js +39 -0
- package/dist-es/commands/UpdatePoolCommand.js +39 -0
- package/dist-es/commands/index.js +43 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/PinpointSMSVoiceV2ServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +841 -0
- package/dist-es/pagination/DescribeAccountAttributesPaginator.js +74 -0
- package/dist-es/pagination/DescribeAccountLimitsPaginator.js +74 -0
- package/dist-es/pagination/DescribeConfigurationSetsPaginator.js +74 -0
- package/dist-es/pagination/DescribeKeywordsPaginator.js +74 -0
- package/dist-es/pagination/DescribeOptOutListsPaginator.js +74 -0
- package/dist-es/pagination/DescribeOptedOutNumbersPaginator.js +74 -0
- package/dist-es/pagination/DescribePhoneNumbersPaginator.js +74 -0
- package/dist-es/pagination/DescribePoolsPaginator.js +74 -0
- package/dist-es/pagination/DescribeSenderIdsPaginator.js +74 -0
- package/dist-es/pagination/DescribeSpendLimitsPaginator.js +74 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListPoolOriginationIdentitiesPaginator.js +74 -0
- package/dist-es/pagination/index.js +12 -0
- package/dist-es/protocols/Aws_json1_0.js +4868 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +28 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/PinpointSMSVoiceV2.d.ts +517 -0
- package/dist-types/PinpointSMSVoiceV2Client.d.ts +202 -0
- package/dist-types/commands/AssociateOriginationIdentityCommand.d.ts +39 -0
- package/dist-types/commands/CreateConfigurationSetCommand.d.ts +39 -0
- package/dist-types/commands/CreateEventDestinationCommand.d.ts +43 -0
- package/dist-types/commands/CreateOptOutListCommand.d.ts +43 -0
- package/dist-types/commands/CreatePoolCommand.d.ts +43 -0
- package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +38 -0
- package/dist-types/commands/DeleteDefaultMessageTypeCommand.d.ts +40 -0
- package/dist-types/commands/DeleteDefaultSenderIdCommand.d.ts +38 -0
- package/dist-types/commands/DeleteEventDestinationCommand.d.ts +39 -0
- package/dist-types/commands/DeleteKeywordCommand.d.ts +41 -0
- package/dist-types/commands/DeleteOptOutListCommand.d.ts +38 -0
- package/dist-types/commands/DeleteOptedOutNumberCommand.d.ts +39 -0
- package/dist-types/commands/DeletePoolCommand.d.ts +41 -0
- package/dist-types/commands/DeleteTextMessageSpendLimitOverrideCommand.d.ts +39 -0
- package/dist-types/commands/DeleteVoiceMessageSpendLimitOverrideCommand.d.ts +39 -0
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +41 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +42 -0
- package/dist-types/commands/DescribeConfigurationSetsCommand.d.ts +41 -0
- package/dist-types/commands/DescribeKeywordsCommand.d.ts +42 -0
- package/dist-types/commands/DescribeOptOutListsCommand.d.ts +40 -0
- package/dist-types/commands/DescribeOptedOutNumbersCommand.d.ts +42 -0
- package/dist-types/commands/DescribePhoneNumbersCommand.d.ts +41 -0
- package/dist-types/commands/DescribePoolsCommand.d.ts +44 -0
- package/dist-types/commands/DescribeSenderIdsCommand.d.ts +40 -0
- package/dist-types/commands/DescribeSpendLimitsCommand.d.ts +41 -0
- package/dist-types/commands/DisassociateOriginationIdentityCommand.d.ts +37 -0
- package/dist-types/commands/ListPoolOriginationIdentitiesCommand.d.ts +37 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/PutKeywordCommand.d.ts +42 -0
- package/dist-types/commands/PutOptedOutNumberCommand.d.ts +37 -0
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +38 -0
- package/dist-types/commands/RequestPhoneNumberCommand.d.ts +37 -0
- package/dist-types/commands/SendTextMessageCommand.d.ts +40 -0
- package/dist-types/commands/SendVoiceMessageCommand.d.ts +37 -0
- package/dist-types/commands/SetDefaultMessageTypeCommand.d.ts +40 -0
- package/dist-types/commands/SetDefaultSenderIdCommand.d.ts +38 -0
- package/dist-types/commands/SetTextMessageSpendLimitOverrideCommand.d.ts +37 -0
- package/dist-types/commands/SetVoiceMessageSpendLimitOverrideCommand.d.ts +37 -0
- package/dist-types/commands/TagResourceCommand.d.ts +40 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateEventDestinationCommand.d.ts +40 -0
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +39 -0
- package/dist-types/commands/UpdatePoolCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +43 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/PinpointSMSVoiceV2ServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +3339 -0
- package/dist-types/pagination/DescribeAccountAttributesPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeAccountLimitsPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeConfigurationSetsPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeKeywordsPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeOptOutListsPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeOptedOutNumbersPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribePhoneNumbersPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribePoolsPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeSenderIdsPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeSpendLimitsPaginator.d.ts +4 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListPoolOriginationIdentitiesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +12 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +131 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/PinpointSMSVoiceV2.d.ts +220 -0
- package/dist-types/ts3.4/PinpointSMSVoiceV2Client.d.ts +116 -0
- package/dist-types/ts3.4/commands/AssociateOriginationIdentityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateEventDestinationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateOptOutListCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePoolCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDefaultMessageTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDefaultSenderIdCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteEventDestinationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteKeywordCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteOptOutListCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteOptedOutNumberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePoolCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteTextMessageSpendLimitOverrideCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteVoiceMessageSpendLimitOverrideCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAccountAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeConfigurationSetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeKeywordsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeOptOutListsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeOptedOutNumbersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePhoneNumbersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePoolsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSenderIdsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSpendLimitsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateOriginationIdentityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPoolOriginationIdentitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutKeywordCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutOptedOutNumberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RequestPhoneNumberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SendTextMessageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SendVoiceMessageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetDefaultMessageTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetDefaultSenderIdCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetTextMessageSpendLimitOverrideCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetVoiceMessageSpendLimitOverrideCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEventDestinationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePhoneNumberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePoolCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +43 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/PinpointSMSVoiceV2ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1883 -0
- package/dist-types/ts3.4/pagination/DescribeAccountAttributesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeAccountLimitsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeConfigurationSetsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeKeywordsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeOptOutListsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeOptedOutNumbersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribePhoneNumbersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribePoolsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeSenderIdsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeSpendLimitsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListPoolOriginationIdentitiesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +12 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +131 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +95 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DisassociateOriginationIdentityRequest, DisassociateOriginationIdentityResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface DisassociateOriginationIdentityCommandInput extends DisassociateOriginationIdentityRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DisassociateOriginationIdentityCommandOutput extends DisassociateOriginationIdentityResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Removes the specified origination identity from an existing pool.</p>
|
|
11
|
+
* <p>If the origination identity isn't associated with the specified pool, an Error is
|
|
12
|
+
* returned.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { PinpointSMSVoiceV2Client, DisassociateOriginationIdentityCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
17
|
+
* // const { PinpointSMSVoiceV2Client, DisassociateOriginationIdentityCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
18
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
19
|
+
* const command = new DisassociateOriginationIdentityCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link DisassociateOriginationIdentityCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link DisassociateOriginationIdentityCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class DisassociateOriginationIdentityCommand extends $Command<DisassociateOriginationIdentityCommandInput, DisassociateOriginationIdentityCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
29
|
+
readonly input: DisassociateOriginationIdentityCommandInput;
|
|
30
|
+
constructor(input: DisassociateOriginationIdentityCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateOriginationIdentityCommandInput, DisassociateOriginationIdentityCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListPoolOriginationIdentitiesRequest, ListPoolOriginationIdentitiesResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface ListPoolOriginationIdentitiesCommandInput extends ListPoolOriginationIdentitiesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListPoolOriginationIdentitiesCommandOutput extends ListPoolOriginationIdentitiesResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists all associated origination identities in your pool.</p>
|
|
11
|
+
* <p>If you specify filters, the output includes information for only those origination
|
|
12
|
+
* identities that meet the filter criteria.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { PinpointSMSVoiceV2Client, ListPoolOriginationIdentitiesCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
17
|
+
* // const { PinpointSMSVoiceV2Client, ListPoolOriginationIdentitiesCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
18
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
19
|
+
* const command = new ListPoolOriginationIdentitiesCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link ListPoolOriginationIdentitiesCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link ListPoolOriginationIdentitiesCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class ListPoolOriginationIdentitiesCommand extends $Command<ListPoolOriginationIdentitiesCommandInput, ListPoolOriginationIdentitiesCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
29
|
+
readonly input: ListPoolOriginationIdentitiesCommandInput;
|
|
30
|
+
constructor(input: ListPoolOriginationIdentitiesCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPoolOriginationIdentitiesCommandInput, ListPoolOriginationIdentitiesCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>List all tags associated with a resource.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { PinpointSMSVoiceV2Client, ListTagsForResourceCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
15
|
+
* // const { PinpointSMSVoiceV2Client, ListTagsForResourceCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
16
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
17
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
27
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
28
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { PutKeywordRequest, PutKeywordResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface PutKeywordCommandInput extends PutKeywordRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PutKeywordCommandOutput extends PutKeywordResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates or updates a keyword configuration on an origination phone number or
|
|
11
|
+
* pool.</p>
|
|
12
|
+
* <p> A keyword is a word that you can search for on a particular phone number or pool. It
|
|
13
|
+
* is also a specific word or phrase that an end user can send to your number to elicit a
|
|
14
|
+
* response, such as an informational message or a special offer. When your number receives
|
|
15
|
+
* a message that begins with a keyword, Amazon Pinpoint responds with a customizable
|
|
16
|
+
* message.</p>
|
|
17
|
+
* <p>If you specify a keyword that isn't valid, an Error is returned.</p>
|
|
18
|
+
* @example
|
|
19
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
+
* ```javascript
|
|
21
|
+
* import { PinpointSMSVoiceV2Client, PutKeywordCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
22
|
+
* // const { PinpointSMSVoiceV2Client, PutKeywordCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
23
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
24
|
+
* const command = new PutKeywordCommand(input);
|
|
25
|
+
* const response = await client.send(command);
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @see {@link PutKeywordCommandInput} for command's `input` shape.
|
|
29
|
+
* @see {@link PutKeywordCommandOutput} for command's `response` shape.
|
|
30
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare class PutKeywordCommand extends $Command<PutKeywordCommandInput, PutKeywordCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
34
|
+
readonly input: PutKeywordCommandInput;
|
|
35
|
+
constructor(input: PutKeywordCommandInput);
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutKeywordCommandInput, PutKeywordCommandOutput>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { PutOptedOutNumberRequest, PutOptedOutNumberResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface PutOptedOutNumberCommandInput extends PutOptedOutNumberRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PutOptedOutNumberCommandOutput extends PutOptedOutNumberResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates an opted out destination phone number in the opt-out list.</p>
|
|
11
|
+
* <p>If the destination phone number isn't valid or if the specified opt-out list doesn't
|
|
12
|
+
* exist, an Error is returned.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { PinpointSMSVoiceV2Client, PutOptedOutNumberCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
17
|
+
* // const { PinpointSMSVoiceV2Client, PutOptedOutNumberCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
18
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
19
|
+
* const command = new PutOptedOutNumberCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link PutOptedOutNumberCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link PutOptedOutNumberCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class PutOptedOutNumberCommand extends $Command<PutOptedOutNumberCommandInput, PutOptedOutNumberCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
29
|
+
readonly input: PutOptedOutNumberCommandInput;
|
|
30
|
+
constructor(input: PutOptedOutNumberCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutOptedOutNumberCommandInput, PutOptedOutNumberCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ReleasePhoneNumberRequest, ReleasePhoneNumberResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface ReleasePhoneNumberCommandInput extends ReleasePhoneNumberRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ReleasePhoneNumberCommandOutput extends ReleasePhoneNumberResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Releases an existing origination phone number in your account. Once released, a phone
|
|
11
|
+
* number is no longer available for sending messages.</p>
|
|
12
|
+
* <p>If the origination phone number has deletion protection enabled or is associated with
|
|
13
|
+
* a pool, an Error is returned.</p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { PinpointSMSVoiceV2Client, ReleasePhoneNumberCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
18
|
+
* // const { PinpointSMSVoiceV2Client, ReleasePhoneNumberCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
19
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
20
|
+
* const command = new ReleasePhoneNumberCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link ReleasePhoneNumberCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link ReleasePhoneNumberCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class ReleasePhoneNumberCommand extends $Command<ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
30
|
+
readonly input: ReleasePhoneNumberCommandInput;
|
|
31
|
+
constructor(input: ReleasePhoneNumberCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { RequestPhoneNumberRequest, RequestPhoneNumberResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface RequestPhoneNumberCommandInput extends RequestPhoneNumberRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface RequestPhoneNumberCommandOutput extends RequestPhoneNumberResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Request an origination phone number for use in your account. For more information on
|
|
11
|
+
* phone number request see <a href="https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-request-number.html"> Requesting a
|
|
12
|
+
* number </a> in the <i>Amazon Pinpoint User Guide</i>.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { PinpointSMSVoiceV2Client, RequestPhoneNumberCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
17
|
+
* // const { PinpointSMSVoiceV2Client, RequestPhoneNumberCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
18
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
19
|
+
* const command = new RequestPhoneNumberCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link RequestPhoneNumberCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link RequestPhoneNumberCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class RequestPhoneNumberCommand extends $Command<RequestPhoneNumberCommandInput, RequestPhoneNumberCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
29
|
+
readonly input: RequestPhoneNumberCommandInput;
|
|
30
|
+
constructor(input: RequestPhoneNumberCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RequestPhoneNumberCommandInput, RequestPhoneNumberCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { SendTextMessageRequest, SendTextMessageResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface SendTextMessageCommandInput extends SendTextMessageRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SendTextMessageCommandOutput extends SendTextMessageResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a new text message and sends it to a recipient's phone number.</p>
|
|
11
|
+
* <p>SMS throughput limits are measured in Message Parts per Second (MPS). Your MPS limit
|
|
12
|
+
* depends on the destination country of your messages, as well as the type of phone number
|
|
13
|
+
* (origination number) that you use to send the message. For more information, see <a href="https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-limitations-mps.html">Message Parts per
|
|
14
|
+
* Second (MPS) limits</a> in the <i>Amazon Pinpoint User
|
|
15
|
+
* Guide</i>.</p>
|
|
16
|
+
* @example
|
|
17
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
+
* ```javascript
|
|
19
|
+
* import { PinpointSMSVoiceV2Client, SendTextMessageCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
20
|
+
* // const { PinpointSMSVoiceV2Client, SendTextMessageCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
21
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
22
|
+
* const command = new SendTextMessageCommand(input);
|
|
23
|
+
* const response = await client.send(command);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @see {@link SendTextMessageCommandInput} for command's `input` shape.
|
|
27
|
+
* @see {@link SendTextMessageCommandOutput} for command's `response` shape.
|
|
28
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class SendTextMessageCommand extends $Command<SendTextMessageCommandInput, SendTextMessageCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
32
|
+
readonly input: SendTextMessageCommandInput;
|
|
33
|
+
constructor(input: SendTextMessageCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendTextMessageCommandInput, SendTextMessageCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { SendVoiceMessageRequest, SendVoiceMessageResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface SendVoiceMessageCommandInput extends SendVoiceMessageRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SendVoiceMessageCommandOutput extends SendVoiceMessageResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Allows you to send a request that sends a text message through Amazon Pinpoint.
|
|
11
|
+
* This operation uses <a href="http://aws.amazon.com/polly/">Amazon Polly</a> to
|
|
12
|
+
* convert a text script into a voice message.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { PinpointSMSVoiceV2Client, SendVoiceMessageCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
17
|
+
* // const { PinpointSMSVoiceV2Client, SendVoiceMessageCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
18
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
19
|
+
* const command = new SendVoiceMessageCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link SendVoiceMessageCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link SendVoiceMessageCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class SendVoiceMessageCommand extends $Command<SendVoiceMessageCommandInput, SendVoiceMessageCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
29
|
+
readonly input: SendVoiceMessageCommandInput;
|
|
30
|
+
constructor(input: SendVoiceMessageCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendVoiceMessageCommandInput, SendVoiceMessageCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { SetDefaultMessageTypeRequest, SetDefaultMessageTypeResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface SetDefaultMessageTypeCommandInput extends SetDefaultMessageTypeRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SetDefaultMessageTypeCommandOutput extends SetDefaultMessageTypeResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Sets the default message type on a configuration set.</p>
|
|
11
|
+
* <p>Choose the category of SMS messages that you plan to send from this account. If you
|
|
12
|
+
* send account-related messages or time-sensitive messages such as one-time passcodes,
|
|
13
|
+
* choose <b>Transactional</b>. If you plan to send messages that
|
|
14
|
+
* contain marketing material or other promotional content, choose <b>Promotional</b>. This setting applies to your entire Amazon Web Services
|
|
15
|
+
* account.</p>
|
|
16
|
+
* @example
|
|
17
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
+
* ```javascript
|
|
19
|
+
* import { PinpointSMSVoiceV2Client, SetDefaultMessageTypeCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
20
|
+
* // const { PinpointSMSVoiceV2Client, SetDefaultMessageTypeCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
21
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
22
|
+
* const command = new SetDefaultMessageTypeCommand(input);
|
|
23
|
+
* const response = await client.send(command);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @see {@link SetDefaultMessageTypeCommandInput} for command's `input` shape.
|
|
27
|
+
* @see {@link SetDefaultMessageTypeCommandOutput} for command's `response` shape.
|
|
28
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class SetDefaultMessageTypeCommand extends $Command<SetDefaultMessageTypeCommandInput, SetDefaultMessageTypeCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
32
|
+
readonly input: SetDefaultMessageTypeCommandInput;
|
|
33
|
+
constructor(input: SetDefaultMessageTypeCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetDefaultMessageTypeCommandInput, SetDefaultMessageTypeCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { SetDefaultSenderIdRequest, SetDefaultSenderIdResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface SetDefaultSenderIdCommandInput extends SetDefaultSenderIdRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SetDefaultSenderIdCommandOutput extends SetDefaultSenderIdResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Sets default sender ID on a configuration set.</p>
|
|
11
|
+
* <p>When sending a text message to a destination country that supports sender IDs, the
|
|
12
|
+
* default sender ID on the configuration set specified will be used if no dedicated
|
|
13
|
+
* origination phone numbers or registered sender IDs are available in your account.</p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { PinpointSMSVoiceV2Client, SetDefaultSenderIdCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
18
|
+
* // const { PinpointSMSVoiceV2Client, SetDefaultSenderIdCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
19
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
20
|
+
* const command = new SetDefaultSenderIdCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link SetDefaultSenderIdCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link SetDefaultSenderIdCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class SetDefaultSenderIdCommand extends $Command<SetDefaultSenderIdCommandInput, SetDefaultSenderIdCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
30
|
+
readonly input: SetDefaultSenderIdCommandInput;
|
|
31
|
+
constructor(input: SetDefaultSenderIdCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetDefaultSenderIdCommandInput, SetDefaultSenderIdCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { SetTextMessageSpendLimitOverrideRequest, SetTextMessageSpendLimitOverrideResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface SetTextMessageSpendLimitOverrideCommandInput extends SetTextMessageSpendLimitOverrideRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SetTextMessageSpendLimitOverrideCommandOutput extends SetTextMessageSpendLimitOverrideResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Sets an account level monthly spend limit override for sending text messages. The
|
|
11
|
+
* requested spend limit must be less than or equal to the <code>MaxLimit</code>, which is
|
|
12
|
+
* set by Amazon Web Services. </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { PinpointSMSVoiceV2Client, SetTextMessageSpendLimitOverrideCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
17
|
+
* // const { PinpointSMSVoiceV2Client, SetTextMessageSpendLimitOverrideCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
18
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
19
|
+
* const command = new SetTextMessageSpendLimitOverrideCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link SetTextMessageSpendLimitOverrideCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link SetTextMessageSpendLimitOverrideCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class SetTextMessageSpendLimitOverrideCommand extends $Command<SetTextMessageSpendLimitOverrideCommandInput, SetTextMessageSpendLimitOverrideCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
29
|
+
readonly input: SetTextMessageSpendLimitOverrideCommandInput;
|
|
30
|
+
constructor(input: SetTextMessageSpendLimitOverrideCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetTextMessageSpendLimitOverrideCommandInput, SetTextMessageSpendLimitOverrideCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { SetVoiceMessageSpendLimitOverrideRequest, SetVoiceMessageSpendLimitOverrideResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface SetVoiceMessageSpendLimitOverrideCommandInput extends SetVoiceMessageSpendLimitOverrideRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SetVoiceMessageSpendLimitOverrideCommandOutput extends SetVoiceMessageSpendLimitOverrideResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Sets an account level monthly spend limit override for sending voice messages. The
|
|
11
|
+
* requested spend limit must be less than or equal to the <code>MaxLimit</code>, which is
|
|
12
|
+
* set by Amazon Web Services. </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { PinpointSMSVoiceV2Client, SetVoiceMessageSpendLimitOverrideCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
17
|
+
* // const { PinpointSMSVoiceV2Client, SetVoiceMessageSpendLimitOverrideCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
18
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
19
|
+
* const command = new SetVoiceMessageSpendLimitOverrideCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link SetVoiceMessageSpendLimitOverrideCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link SetVoiceMessageSpendLimitOverrideCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class SetVoiceMessageSpendLimitOverrideCommand extends $Command<SetVoiceMessageSpendLimitOverrideCommandInput, SetVoiceMessageSpendLimitOverrideCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
29
|
+
readonly input: SetVoiceMessageSpendLimitOverrideCommandInput;
|
|
30
|
+
constructor(input: SetVoiceMessageSpendLimitOverrideCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetVoiceMessageSpendLimitOverrideCommandInput, SetVoiceMessageSpendLimitOverrideCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { TagResourceRequest, TagResourceResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface TagResourceCommandOutput extends TagResourceResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Adds or overwrites only the specified tags for the specified Amazon Pinpoint SMS
|
|
11
|
+
* Voice, version 2 resource. When you specify an existing tag key, the value is
|
|
12
|
+
* overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag
|
|
13
|
+
* consists of a key and an optional value. Tag keys must be unique per resource. For more
|
|
14
|
+
* information about tags, see <a href="https://docs.aws.amazon.com/pinpoint/latest/developerguide/tagging-resources.html"> Tagging Amazon Pinpoint resources</a> in the <i>Amazon Pinpoint Developer
|
|
15
|
+
* Guide</i>.</p>
|
|
16
|
+
* @example
|
|
17
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
+
* ```javascript
|
|
19
|
+
* import { PinpointSMSVoiceV2Client, TagResourceCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
20
|
+
* // const { PinpointSMSVoiceV2Client, TagResourceCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
21
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
22
|
+
* const command = new TagResourceCommand(input);
|
|
23
|
+
* const response = await client.send(command);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
27
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
28
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
32
|
+
readonly input: TagResourceCommandInput;
|
|
33
|
+
constructor(input: TagResourceCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { UntagResourceRequest, UntagResourceResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UntagResourceCommandOutput extends UntagResourceResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Removes the association of the specified tags from an Amazon Pinpoint SMS Voice V2
|
|
11
|
+
* resource. For more information on tags see <a href="https://docs.aws.amazon.com/pinpoint/latest/developerguide/tagging-resources.html"> Tagging Amazon Pinpoint resources</a> in the <i>Amazon Pinpoint Developer
|
|
12
|
+
* Guide</i>. </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { PinpointSMSVoiceV2Client, UntagResourceCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
17
|
+
* // const { PinpointSMSVoiceV2Client, UntagResourceCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
18
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
19
|
+
* const command = new UntagResourceCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
29
|
+
readonly input: UntagResourceCommandInput;
|
|
30
|
+
constructor(input: UntagResourceCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { UpdateEventDestinationRequest, UpdateEventDestinationResult } from "../models/models_0";
|
|
4
|
+
import { PinpointSMSVoiceV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceV2Client";
|
|
5
|
+
export interface UpdateEventDestinationCommandInput extends UpdateEventDestinationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateEventDestinationCommandOutput extends UpdateEventDestinationResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates an existing event destination in a configuration set. You can update the
|
|
11
|
+
* IAM role ARN for CloudWatch Logs and Kinesis Data Firehose. You can
|
|
12
|
+
* also enable or disable the event destination.</p>
|
|
13
|
+
* <p>You may want to update an event destination to change its matching event types or
|
|
14
|
+
* updating the destination resource ARN. You can't change an event destination's type
|
|
15
|
+
* between CloudWatch Logs, Kinesis Data Firehose, and Amazon SNS.</p>
|
|
16
|
+
* @example
|
|
17
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
+
* ```javascript
|
|
19
|
+
* import { PinpointSMSVoiceV2Client, UpdateEventDestinationCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
20
|
+
* // const { PinpointSMSVoiceV2Client, UpdateEventDestinationCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
21
|
+
* const client = new PinpointSMSVoiceV2Client(config);
|
|
22
|
+
* const command = new UpdateEventDestinationCommand(input);
|
|
23
|
+
* const response = await client.send(command);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @see {@link UpdateEventDestinationCommandInput} for command's `input` shape.
|
|
27
|
+
* @see {@link UpdateEventDestinationCommandOutput} for command's `response` shape.
|
|
28
|
+
* @see {@link PinpointSMSVoiceV2ClientResolvedConfig | config} for PinpointSMSVoiceV2Client's `config` shape.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class UpdateEventDestinationCommand extends $Command<UpdateEventDestinationCommandInput, UpdateEventDestinationCommandOutput, PinpointSMSVoiceV2ClientResolvedConfig> {
|
|
32
|
+
readonly input: UpdateEventDestinationCommandInput;
|
|
33
|
+
constructor(input: UpdateEventDestinationCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointSMSVoiceV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateEventDestinationCommandInput, UpdateEventDestinationCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|