@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,652 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PinpointSMSVoiceV2 = void 0;
|
|
4
|
+
const AssociateOriginationIdentityCommand_1 = require("./commands/AssociateOriginationIdentityCommand");
|
|
5
|
+
const CreateConfigurationSetCommand_1 = require("./commands/CreateConfigurationSetCommand");
|
|
6
|
+
const CreateEventDestinationCommand_1 = require("./commands/CreateEventDestinationCommand");
|
|
7
|
+
const CreateOptOutListCommand_1 = require("./commands/CreateOptOutListCommand");
|
|
8
|
+
const CreatePoolCommand_1 = require("./commands/CreatePoolCommand");
|
|
9
|
+
const DeleteConfigurationSetCommand_1 = require("./commands/DeleteConfigurationSetCommand");
|
|
10
|
+
const DeleteDefaultMessageTypeCommand_1 = require("./commands/DeleteDefaultMessageTypeCommand");
|
|
11
|
+
const DeleteDefaultSenderIdCommand_1 = require("./commands/DeleteDefaultSenderIdCommand");
|
|
12
|
+
const DeleteEventDestinationCommand_1 = require("./commands/DeleteEventDestinationCommand");
|
|
13
|
+
const DeleteKeywordCommand_1 = require("./commands/DeleteKeywordCommand");
|
|
14
|
+
const DeleteOptedOutNumberCommand_1 = require("./commands/DeleteOptedOutNumberCommand");
|
|
15
|
+
const DeleteOptOutListCommand_1 = require("./commands/DeleteOptOutListCommand");
|
|
16
|
+
const DeletePoolCommand_1 = require("./commands/DeletePoolCommand");
|
|
17
|
+
const DeleteTextMessageSpendLimitOverrideCommand_1 = require("./commands/DeleteTextMessageSpendLimitOverrideCommand");
|
|
18
|
+
const DeleteVoiceMessageSpendLimitOverrideCommand_1 = require("./commands/DeleteVoiceMessageSpendLimitOverrideCommand");
|
|
19
|
+
const DescribeAccountAttributesCommand_1 = require("./commands/DescribeAccountAttributesCommand");
|
|
20
|
+
const DescribeAccountLimitsCommand_1 = require("./commands/DescribeAccountLimitsCommand");
|
|
21
|
+
const DescribeConfigurationSetsCommand_1 = require("./commands/DescribeConfigurationSetsCommand");
|
|
22
|
+
const DescribeKeywordsCommand_1 = require("./commands/DescribeKeywordsCommand");
|
|
23
|
+
const DescribeOptedOutNumbersCommand_1 = require("./commands/DescribeOptedOutNumbersCommand");
|
|
24
|
+
const DescribeOptOutListsCommand_1 = require("./commands/DescribeOptOutListsCommand");
|
|
25
|
+
const DescribePhoneNumbersCommand_1 = require("./commands/DescribePhoneNumbersCommand");
|
|
26
|
+
const DescribePoolsCommand_1 = require("./commands/DescribePoolsCommand");
|
|
27
|
+
const DescribeSenderIdsCommand_1 = require("./commands/DescribeSenderIdsCommand");
|
|
28
|
+
const DescribeSpendLimitsCommand_1 = require("./commands/DescribeSpendLimitsCommand");
|
|
29
|
+
const DisassociateOriginationIdentityCommand_1 = require("./commands/DisassociateOriginationIdentityCommand");
|
|
30
|
+
const ListPoolOriginationIdentitiesCommand_1 = require("./commands/ListPoolOriginationIdentitiesCommand");
|
|
31
|
+
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
32
|
+
const PutKeywordCommand_1 = require("./commands/PutKeywordCommand");
|
|
33
|
+
const PutOptedOutNumberCommand_1 = require("./commands/PutOptedOutNumberCommand");
|
|
34
|
+
const ReleasePhoneNumberCommand_1 = require("./commands/ReleasePhoneNumberCommand");
|
|
35
|
+
const RequestPhoneNumberCommand_1 = require("./commands/RequestPhoneNumberCommand");
|
|
36
|
+
const SendTextMessageCommand_1 = require("./commands/SendTextMessageCommand");
|
|
37
|
+
const SendVoiceMessageCommand_1 = require("./commands/SendVoiceMessageCommand");
|
|
38
|
+
const SetDefaultMessageTypeCommand_1 = require("./commands/SetDefaultMessageTypeCommand");
|
|
39
|
+
const SetDefaultSenderIdCommand_1 = require("./commands/SetDefaultSenderIdCommand");
|
|
40
|
+
const SetTextMessageSpendLimitOverrideCommand_1 = require("./commands/SetTextMessageSpendLimitOverrideCommand");
|
|
41
|
+
const SetVoiceMessageSpendLimitOverrideCommand_1 = require("./commands/SetVoiceMessageSpendLimitOverrideCommand");
|
|
42
|
+
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
43
|
+
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
44
|
+
const UpdateEventDestinationCommand_1 = require("./commands/UpdateEventDestinationCommand");
|
|
45
|
+
const UpdatePhoneNumberCommand_1 = require("./commands/UpdatePhoneNumberCommand");
|
|
46
|
+
const UpdatePoolCommand_1 = require("./commands/UpdatePoolCommand");
|
|
47
|
+
const PinpointSMSVoiceV2Client_1 = require("./PinpointSMSVoiceV2Client");
|
|
48
|
+
class PinpointSMSVoiceV2 extends PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client {
|
|
49
|
+
associateOriginationIdentity(args, optionsOrCb, cb) {
|
|
50
|
+
const command = new AssociateOriginationIdentityCommand_1.AssociateOriginationIdentityCommand(args);
|
|
51
|
+
if (typeof optionsOrCb === "function") {
|
|
52
|
+
this.send(command, optionsOrCb);
|
|
53
|
+
}
|
|
54
|
+
else if (typeof cb === "function") {
|
|
55
|
+
if (typeof optionsOrCb !== "object")
|
|
56
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
57
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
return this.send(command, optionsOrCb);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
createConfigurationSet(args, optionsOrCb, cb) {
|
|
64
|
+
const command = new CreateConfigurationSetCommand_1.CreateConfigurationSetCommand(args);
|
|
65
|
+
if (typeof optionsOrCb === "function") {
|
|
66
|
+
this.send(command, optionsOrCb);
|
|
67
|
+
}
|
|
68
|
+
else if (typeof cb === "function") {
|
|
69
|
+
if (typeof optionsOrCb !== "object")
|
|
70
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
71
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
return this.send(command, optionsOrCb);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
createEventDestination(args, optionsOrCb, cb) {
|
|
78
|
+
const command = new CreateEventDestinationCommand_1.CreateEventDestinationCommand(args);
|
|
79
|
+
if (typeof optionsOrCb === "function") {
|
|
80
|
+
this.send(command, optionsOrCb);
|
|
81
|
+
}
|
|
82
|
+
else if (typeof cb === "function") {
|
|
83
|
+
if (typeof optionsOrCb !== "object")
|
|
84
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
85
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
return this.send(command, optionsOrCb);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
createOptOutList(args, optionsOrCb, cb) {
|
|
92
|
+
const command = new CreateOptOutListCommand_1.CreateOptOutListCommand(args);
|
|
93
|
+
if (typeof optionsOrCb === "function") {
|
|
94
|
+
this.send(command, optionsOrCb);
|
|
95
|
+
}
|
|
96
|
+
else if (typeof cb === "function") {
|
|
97
|
+
if (typeof optionsOrCb !== "object")
|
|
98
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
99
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
return this.send(command, optionsOrCb);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
createPool(args, optionsOrCb, cb) {
|
|
106
|
+
const command = new CreatePoolCommand_1.CreatePoolCommand(args);
|
|
107
|
+
if (typeof optionsOrCb === "function") {
|
|
108
|
+
this.send(command, optionsOrCb);
|
|
109
|
+
}
|
|
110
|
+
else if (typeof cb === "function") {
|
|
111
|
+
if (typeof optionsOrCb !== "object")
|
|
112
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
113
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
return this.send(command, optionsOrCb);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
deleteConfigurationSet(args, optionsOrCb, cb) {
|
|
120
|
+
const command = new DeleteConfigurationSetCommand_1.DeleteConfigurationSetCommand(args);
|
|
121
|
+
if (typeof optionsOrCb === "function") {
|
|
122
|
+
this.send(command, optionsOrCb);
|
|
123
|
+
}
|
|
124
|
+
else if (typeof cb === "function") {
|
|
125
|
+
if (typeof optionsOrCb !== "object")
|
|
126
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
127
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
return this.send(command, optionsOrCb);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
deleteDefaultMessageType(args, optionsOrCb, cb) {
|
|
134
|
+
const command = new DeleteDefaultMessageTypeCommand_1.DeleteDefaultMessageTypeCommand(args);
|
|
135
|
+
if (typeof optionsOrCb === "function") {
|
|
136
|
+
this.send(command, optionsOrCb);
|
|
137
|
+
}
|
|
138
|
+
else if (typeof cb === "function") {
|
|
139
|
+
if (typeof optionsOrCb !== "object")
|
|
140
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
141
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
142
|
+
}
|
|
143
|
+
else {
|
|
144
|
+
return this.send(command, optionsOrCb);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
deleteDefaultSenderId(args, optionsOrCb, cb) {
|
|
148
|
+
const command = new DeleteDefaultSenderIdCommand_1.DeleteDefaultSenderIdCommand(args);
|
|
149
|
+
if (typeof optionsOrCb === "function") {
|
|
150
|
+
this.send(command, optionsOrCb);
|
|
151
|
+
}
|
|
152
|
+
else if (typeof cb === "function") {
|
|
153
|
+
if (typeof optionsOrCb !== "object")
|
|
154
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
155
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
return this.send(command, optionsOrCb);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
deleteEventDestination(args, optionsOrCb, cb) {
|
|
162
|
+
const command = new DeleteEventDestinationCommand_1.DeleteEventDestinationCommand(args);
|
|
163
|
+
if (typeof optionsOrCb === "function") {
|
|
164
|
+
this.send(command, optionsOrCb);
|
|
165
|
+
}
|
|
166
|
+
else if (typeof cb === "function") {
|
|
167
|
+
if (typeof optionsOrCb !== "object")
|
|
168
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
169
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
170
|
+
}
|
|
171
|
+
else {
|
|
172
|
+
return this.send(command, optionsOrCb);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
deleteKeyword(args, optionsOrCb, cb) {
|
|
176
|
+
const command = new DeleteKeywordCommand_1.DeleteKeywordCommand(args);
|
|
177
|
+
if (typeof optionsOrCb === "function") {
|
|
178
|
+
this.send(command, optionsOrCb);
|
|
179
|
+
}
|
|
180
|
+
else if (typeof cb === "function") {
|
|
181
|
+
if (typeof optionsOrCb !== "object")
|
|
182
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
183
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
return this.send(command, optionsOrCb);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
deleteOptedOutNumber(args, optionsOrCb, cb) {
|
|
190
|
+
const command = new DeleteOptedOutNumberCommand_1.DeleteOptedOutNumberCommand(args);
|
|
191
|
+
if (typeof optionsOrCb === "function") {
|
|
192
|
+
this.send(command, optionsOrCb);
|
|
193
|
+
}
|
|
194
|
+
else if (typeof cb === "function") {
|
|
195
|
+
if (typeof optionsOrCb !== "object")
|
|
196
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
197
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
198
|
+
}
|
|
199
|
+
else {
|
|
200
|
+
return this.send(command, optionsOrCb);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
deleteOptOutList(args, optionsOrCb, cb) {
|
|
204
|
+
const command = new DeleteOptOutListCommand_1.DeleteOptOutListCommand(args);
|
|
205
|
+
if (typeof optionsOrCb === "function") {
|
|
206
|
+
this.send(command, optionsOrCb);
|
|
207
|
+
}
|
|
208
|
+
else if (typeof cb === "function") {
|
|
209
|
+
if (typeof optionsOrCb !== "object")
|
|
210
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
211
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
212
|
+
}
|
|
213
|
+
else {
|
|
214
|
+
return this.send(command, optionsOrCb);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
deletePool(args, optionsOrCb, cb) {
|
|
218
|
+
const command = new DeletePoolCommand_1.DeletePoolCommand(args);
|
|
219
|
+
if (typeof optionsOrCb === "function") {
|
|
220
|
+
this.send(command, optionsOrCb);
|
|
221
|
+
}
|
|
222
|
+
else if (typeof cb === "function") {
|
|
223
|
+
if (typeof optionsOrCb !== "object")
|
|
224
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
225
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
226
|
+
}
|
|
227
|
+
else {
|
|
228
|
+
return this.send(command, optionsOrCb);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
deleteTextMessageSpendLimitOverride(args, optionsOrCb, cb) {
|
|
232
|
+
const command = new DeleteTextMessageSpendLimitOverrideCommand_1.DeleteTextMessageSpendLimitOverrideCommand(args);
|
|
233
|
+
if (typeof optionsOrCb === "function") {
|
|
234
|
+
this.send(command, optionsOrCb);
|
|
235
|
+
}
|
|
236
|
+
else if (typeof cb === "function") {
|
|
237
|
+
if (typeof optionsOrCb !== "object")
|
|
238
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
239
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
240
|
+
}
|
|
241
|
+
else {
|
|
242
|
+
return this.send(command, optionsOrCb);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
deleteVoiceMessageSpendLimitOverride(args, optionsOrCb, cb) {
|
|
246
|
+
const command = new DeleteVoiceMessageSpendLimitOverrideCommand_1.DeleteVoiceMessageSpendLimitOverrideCommand(args);
|
|
247
|
+
if (typeof optionsOrCb === "function") {
|
|
248
|
+
this.send(command, optionsOrCb);
|
|
249
|
+
}
|
|
250
|
+
else if (typeof cb === "function") {
|
|
251
|
+
if (typeof optionsOrCb !== "object")
|
|
252
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
253
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
254
|
+
}
|
|
255
|
+
else {
|
|
256
|
+
return this.send(command, optionsOrCb);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
describeAccountAttributes(args, optionsOrCb, cb) {
|
|
260
|
+
const command = new DescribeAccountAttributesCommand_1.DescribeAccountAttributesCommand(args);
|
|
261
|
+
if (typeof optionsOrCb === "function") {
|
|
262
|
+
this.send(command, optionsOrCb);
|
|
263
|
+
}
|
|
264
|
+
else if (typeof cb === "function") {
|
|
265
|
+
if (typeof optionsOrCb !== "object")
|
|
266
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
267
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
268
|
+
}
|
|
269
|
+
else {
|
|
270
|
+
return this.send(command, optionsOrCb);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
describeAccountLimits(args, optionsOrCb, cb) {
|
|
274
|
+
const command = new DescribeAccountLimitsCommand_1.DescribeAccountLimitsCommand(args);
|
|
275
|
+
if (typeof optionsOrCb === "function") {
|
|
276
|
+
this.send(command, optionsOrCb);
|
|
277
|
+
}
|
|
278
|
+
else if (typeof cb === "function") {
|
|
279
|
+
if (typeof optionsOrCb !== "object")
|
|
280
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
281
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
282
|
+
}
|
|
283
|
+
else {
|
|
284
|
+
return this.send(command, optionsOrCb);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
describeConfigurationSets(args, optionsOrCb, cb) {
|
|
288
|
+
const command = new DescribeConfigurationSetsCommand_1.DescribeConfigurationSetsCommand(args);
|
|
289
|
+
if (typeof optionsOrCb === "function") {
|
|
290
|
+
this.send(command, optionsOrCb);
|
|
291
|
+
}
|
|
292
|
+
else if (typeof cb === "function") {
|
|
293
|
+
if (typeof optionsOrCb !== "object")
|
|
294
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
295
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
296
|
+
}
|
|
297
|
+
else {
|
|
298
|
+
return this.send(command, optionsOrCb);
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
describeKeywords(args, optionsOrCb, cb) {
|
|
302
|
+
const command = new DescribeKeywordsCommand_1.DescribeKeywordsCommand(args);
|
|
303
|
+
if (typeof optionsOrCb === "function") {
|
|
304
|
+
this.send(command, optionsOrCb);
|
|
305
|
+
}
|
|
306
|
+
else if (typeof cb === "function") {
|
|
307
|
+
if (typeof optionsOrCb !== "object")
|
|
308
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
309
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
310
|
+
}
|
|
311
|
+
else {
|
|
312
|
+
return this.send(command, optionsOrCb);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
describeOptedOutNumbers(args, optionsOrCb, cb) {
|
|
316
|
+
const command = new DescribeOptedOutNumbersCommand_1.DescribeOptedOutNumbersCommand(args);
|
|
317
|
+
if (typeof optionsOrCb === "function") {
|
|
318
|
+
this.send(command, optionsOrCb);
|
|
319
|
+
}
|
|
320
|
+
else if (typeof cb === "function") {
|
|
321
|
+
if (typeof optionsOrCb !== "object")
|
|
322
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
323
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
324
|
+
}
|
|
325
|
+
else {
|
|
326
|
+
return this.send(command, optionsOrCb);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
describeOptOutLists(args, optionsOrCb, cb) {
|
|
330
|
+
const command = new DescribeOptOutListsCommand_1.DescribeOptOutListsCommand(args);
|
|
331
|
+
if (typeof optionsOrCb === "function") {
|
|
332
|
+
this.send(command, optionsOrCb);
|
|
333
|
+
}
|
|
334
|
+
else if (typeof cb === "function") {
|
|
335
|
+
if (typeof optionsOrCb !== "object")
|
|
336
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
337
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
338
|
+
}
|
|
339
|
+
else {
|
|
340
|
+
return this.send(command, optionsOrCb);
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
describePhoneNumbers(args, optionsOrCb, cb) {
|
|
344
|
+
const command = new DescribePhoneNumbersCommand_1.DescribePhoneNumbersCommand(args);
|
|
345
|
+
if (typeof optionsOrCb === "function") {
|
|
346
|
+
this.send(command, optionsOrCb);
|
|
347
|
+
}
|
|
348
|
+
else if (typeof cb === "function") {
|
|
349
|
+
if (typeof optionsOrCb !== "object")
|
|
350
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
351
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
352
|
+
}
|
|
353
|
+
else {
|
|
354
|
+
return this.send(command, optionsOrCb);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
describePools(args, optionsOrCb, cb) {
|
|
358
|
+
const command = new DescribePoolsCommand_1.DescribePoolsCommand(args);
|
|
359
|
+
if (typeof optionsOrCb === "function") {
|
|
360
|
+
this.send(command, optionsOrCb);
|
|
361
|
+
}
|
|
362
|
+
else if (typeof cb === "function") {
|
|
363
|
+
if (typeof optionsOrCb !== "object")
|
|
364
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
365
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
366
|
+
}
|
|
367
|
+
else {
|
|
368
|
+
return this.send(command, optionsOrCb);
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
describeSenderIds(args, optionsOrCb, cb) {
|
|
372
|
+
const command = new DescribeSenderIdsCommand_1.DescribeSenderIdsCommand(args);
|
|
373
|
+
if (typeof optionsOrCb === "function") {
|
|
374
|
+
this.send(command, optionsOrCb);
|
|
375
|
+
}
|
|
376
|
+
else if (typeof cb === "function") {
|
|
377
|
+
if (typeof optionsOrCb !== "object")
|
|
378
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
379
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
380
|
+
}
|
|
381
|
+
else {
|
|
382
|
+
return this.send(command, optionsOrCb);
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
describeSpendLimits(args, optionsOrCb, cb) {
|
|
386
|
+
const command = new DescribeSpendLimitsCommand_1.DescribeSpendLimitsCommand(args);
|
|
387
|
+
if (typeof optionsOrCb === "function") {
|
|
388
|
+
this.send(command, optionsOrCb);
|
|
389
|
+
}
|
|
390
|
+
else if (typeof cb === "function") {
|
|
391
|
+
if (typeof optionsOrCb !== "object")
|
|
392
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
393
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
394
|
+
}
|
|
395
|
+
else {
|
|
396
|
+
return this.send(command, optionsOrCb);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
disassociateOriginationIdentity(args, optionsOrCb, cb) {
|
|
400
|
+
const command = new DisassociateOriginationIdentityCommand_1.DisassociateOriginationIdentityCommand(args);
|
|
401
|
+
if (typeof optionsOrCb === "function") {
|
|
402
|
+
this.send(command, optionsOrCb);
|
|
403
|
+
}
|
|
404
|
+
else if (typeof cb === "function") {
|
|
405
|
+
if (typeof optionsOrCb !== "object")
|
|
406
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
407
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
408
|
+
}
|
|
409
|
+
else {
|
|
410
|
+
return this.send(command, optionsOrCb);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
listPoolOriginationIdentities(args, optionsOrCb, cb) {
|
|
414
|
+
const command = new ListPoolOriginationIdentitiesCommand_1.ListPoolOriginationIdentitiesCommand(args);
|
|
415
|
+
if (typeof optionsOrCb === "function") {
|
|
416
|
+
this.send(command, optionsOrCb);
|
|
417
|
+
}
|
|
418
|
+
else if (typeof cb === "function") {
|
|
419
|
+
if (typeof optionsOrCb !== "object")
|
|
420
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
421
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
422
|
+
}
|
|
423
|
+
else {
|
|
424
|
+
return this.send(command, optionsOrCb);
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
428
|
+
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
429
|
+
if (typeof optionsOrCb === "function") {
|
|
430
|
+
this.send(command, optionsOrCb);
|
|
431
|
+
}
|
|
432
|
+
else if (typeof cb === "function") {
|
|
433
|
+
if (typeof optionsOrCb !== "object")
|
|
434
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
435
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
436
|
+
}
|
|
437
|
+
else {
|
|
438
|
+
return this.send(command, optionsOrCb);
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
putKeyword(args, optionsOrCb, cb) {
|
|
442
|
+
const command = new PutKeywordCommand_1.PutKeywordCommand(args);
|
|
443
|
+
if (typeof optionsOrCb === "function") {
|
|
444
|
+
this.send(command, optionsOrCb);
|
|
445
|
+
}
|
|
446
|
+
else if (typeof cb === "function") {
|
|
447
|
+
if (typeof optionsOrCb !== "object")
|
|
448
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
449
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
450
|
+
}
|
|
451
|
+
else {
|
|
452
|
+
return this.send(command, optionsOrCb);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
putOptedOutNumber(args, optionsOrCb, cb) {
|
|
456
|
+
const command = new PutOptedOutNumberCommand_1.PutOptedOutNumberCommand(args);
|
|
457
|
+
if (typeof optionsOrCb === "function") {
|
|
458
|
+
this.send(command, optionsOrCb);
|
|
459
|
+
}
|
|
460
|
+
else if (typeof cb === "function") {
|
|
461
|
+
if (typeof optionsOrCb !== "object")
|
|
462
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
463
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
464
|
+
}
|
|
465
|
+
else {
|
|
466
|
+
return this.send(command, optionsOrCb);
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
releasePhoneNumber(args, optionsOrCb, cb) {
|
|
470
|
+
const command = new ReleasePhoneNumberCommand_1.ReleasePhoneNumberCommand(args);
|
|
471
|
+
if (typeof optionsOrCb === "function") {
|
|
472
|
+
this.send(command, optionsOrCb);
|
|
473
|
+
}
|
|
474
|
+
else if (typeof cb === "function") {
|
|
475
|
+
if (typeof optionsOrCb !== "object")
|
|
476
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
477
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
478
|
+
}
|
|
479
|
+
else {
|
|
480
|
+
return this.send(command, optionsOrCb);
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
requestPhoneNumber(args, optionsOrCb, cb) {
|
|
484
|
+
const command = new RequestPhoneNumberCommand_1.RequestPhoneNumberCommand(args);
|
|
485
|
+
if (typeof optionsOrCb === "function") {
|
|
486
|
+
this.send(command, optionsOrCb);
|
|
487
|
+
}
|
|
488
|
+
else if (typeof cb === "function") {
|
|
489
|
+
if (typeof optionsOrCb !== "object")
|
|
490
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
491
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
492
|
+
}
|
|
493
|
+
else {
|
|
494
|
+
return this.send(command, optionsOrCb);
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
sendTextMessage(args, optionsOrCb, cb) {
|
|
498
|
+
const command = new SendTextMessageCommand_1.SendTextMessageCommand(args);
|
|
499
|
+
if (typeof optionsOrCb === "function") {
|
|
500
|
+
this.send(command, optionsOrCb);
|
|
501
|
+
}
|
|
502
|
+
else if (typeof cb === "function") {
|
|
503
|
+
if (typeof optionsOrCb !== "object")
|
|
504
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
505
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
506
|
+
}
|
|
507
|
+
else {
|
|
508
|
+
return this.send(command, optionsOrCb);
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
sendVoiceMessage(args, optionsOrCb, cb) {
|
|
512
|
+
const command = new SendVoiceMessageCommand_1.SendVoiceMessageCommand(args);
|
|
513
|
+
if (typeof optionsOrCb === "function") {
|
|
514
|
+
this.send(command, optionsOrCb);
|
|
515
|
+
}
|
|
516
|
+
else if (typeof cb === "function") {
|
|
517
|
+
if (typeof optionsOrCb !== "object")
|
|
518
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
519
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
520
|
+
}
|
|
521
|
+
else {
|
|
522
|
+
return this.send(command, optionsOrCb);
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
setDefaultMessageType(args, optionsOrCb, cb) {
|
|
526
|
+
const command = new SetDefaultMessageTypeCommand_1.SetDefaultMessageTypeCommand(args);
|
|
527
|
+
if (typeof optionsOrCb === "function") {
|
|
528
|
+
this.send(command, optionsOrCb);
|
|
529
|
+
}
|
|
530
|
+
else if (typeof cb === "function") {
|
|
531
|
+
if (typeof optionsOrCb !== "object")
|
|
532
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
533
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
534
|
+
}
|
|
535
|
+
else {
|
|
536
|
+
return this.send(command, optionsOrCb);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
setDefaultSenderId(args, optionsOrCb, cb) {
|
|
540
|
+
const command = new SetDefaultSenderIdCommand_1.SetDefaultSenderIdCommand(args);
|
|
541
|
+
if (typeof optionsOrCb === "function") {
|
|
542
|
+
this.send(command, optionsOrCb);
|
|
543
|
+
}
|
|
544
|
+
else if (typeof cb === "function") {
|
|
545
|
+
if (typeof optionsOrCb !== "object")
|
|
546
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
547
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
548
|
+
}
|
|
549
|
+
else {
|
|
550
|
+
return this.send(command, optionsOrCb);
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
setTextMessageSpendLimitOverride(args, optionsOrCb, cb) {
|
|
554
|
+
const command = new SetTextMessageSpendLimitOverrideCommand_1.SetTextMessageSpendLimitOverrideCommand(args);
|
|
555
|
+
if (typeof optionsOrCb === "function") {
|
|
556
|
+
this.send(command, optionsOrCb);
|
|
557
|
+
}
|
|
558
|
+
else if (typeof cb === "function") {
|
|
559
|
+
if (typeof optionsOrCb !== "object")
|
|
560
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
561
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
562
|
+
}
|
|
563
|
+
else {
|
|
564
|
+
return this.send(command, optionsOrCb);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
setVoiceMessageSpendLimitOverride(args, optionsOrCb, cb) {
|
|
568
|
+
const command = new SetVoiceMessageSpendLimitOverrideCommand_1.SetVoiceMessageSpendLimitOverrideCommand(args);
|
|
569
|
+
if (typeof optionsOrCb === "function") {
|
|
570
|
+
this.send(command, optionsOrCb);
|
|
571
|
+
}
|
|
572
|
+
else if (typeof cb === "function") {
|
|
573
|
+
if (typeof optionsOrCb !== "object")
|
|
574
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
575
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
576
|
+
}
|
|
577
|
+
else {
|
|
578
|
+
return this.send(command, optionsOrCb);
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
tagResource(args, optionsOrCb, cb) {
|
|
582
|
+
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
583
|
+
if (typeof optionsOrCb === "function") {
|
|
584
|
+
this.send(command, optionsOrCb);
|
|
585
|
+
}
|
|
586
|
+
else if (typeof cb === "function") {
|
|
587
|
+
if (typeof optionsOrCb !== "object")
|
|
588
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
589
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
590
|
+
}
|
|
591
|
+
else {
|
|
592
|
+
return this.send(command, optionsOrCb);
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
untagResource(args, optionsOrCb, cb) {
|
|
596
|
+
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
597
|
+
if (typeof optionsOrCb === "function") {
|
|
598
|
+
this.send(command, optionsOrCb);
|
|
599
|
+
}
|
|
600
|
+
else if (typeof cb === "function") {
|
|
601
|
+
if (typeof optionsOrCb !== "object")
|
|
602
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
603
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
604
|
+
}
|
|
605
|
+
else {
|
|
606
|
+
return this.send(command, optionsOrCb);
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
updateEventDestination(args, optionsOrCb, cb) {
|
|
610
|
+
const command = new UpdateEventDestinationCommand_1.UpdateEventDestinationCommand(args);
|
|
611
|
+
if (typeof optionsOrCb === "function") {
|
|
612
|
+
this.send(command, optionsOrCb);
|
|
613
|
+
}
|
|
614
|
+
else if (typeof cb === "function") {
|
|
615
|
+
if (typeof optionsOrCb !== "object")
|
|
616
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
617
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
618
|
+
}
|
|
619
|
+
else {
|
|
620
|
+
return this.send(command, optionsOrCb);
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
updatePhoneNumber(args, optionsOrCb, cb) {
|
|
624
|
+
const command = new UpdatePhoneNumberCommand_1.UpdatePhoneNumberCommand(args);
|
|
625
|
+
if (typeof optionsOrCb === "function") {
|
|
626
|
+
this.send(command, optionsOrCb);
|
|
627
|
+
}
|
|
628
|
+
else if (typeof cb === "function") {
|
|
629
|
+
if (typeof optionsOrCb !== "object")
|
|
630
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
631
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
632
|
+
}
|
|
633
|
+
else {
|
|
634
|
+
return this.send(command, optionsOrCb);
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
updatePool(args, optionsOrCb, cb) {
|
|
638
|
+
const command = new UpdatePoolCommand_1.UpdatePoolCommand(args);
|
|
639
|
+
if (typeof optionsOrCb === "function") {
|
|
640
|
+
this.send(command, optionsOrCb);
|
|
641
|
+
}
|
|
642
|
+
else if (typeof cb === "function") {
|
|
643
|
+
if (typeof optionsOrCb !== "object")
|
|
644
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
645
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
646
|
+
}
|
|
647
|
+
else {
|
|
648
|
+
return this.send(command, optionsOrCb);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
exports.PinpointSMSVoiceV2 = PinpointSMSVoiceV2;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PinpointSMSVoiceV2Client = void 0;
|
|
4
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
+
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
|
+
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
|
+
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
|
+
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
|
+
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
|
+
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
+
class PinpointSMSVoiceV2Client extends smithy_client_1.Client {
|
|
14
|
+
constructor(configuration) {
|
|
15
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
16
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
17
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
18
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
19
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
20
|
+
const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
|
|
21
|
+
const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
|
|
22
|
+
super(_config_6);
|
|
23
|
+
this.config = _config_6;
|
|
24
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
25
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
28
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
|
+
}
|
|
31
|
+
destroy() {
|
|
32
|
+
super.destroy();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.PinpointSMSVoiceV2Client = PinpointSMSVoiceV2Client;
|