@aws-sdk/client-pinpoint-sms-voice-v2 3.299.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AssociateOriginationIdentityCommand.d.ts +6 -0
- package/dist-types/commands/CreateConfigurationSetCommand.d.ts +10 -0
- package/dist-types/commands/CreateEventDestinationCommand.d.ts +19 -0
- package/dist-types/commands/CreateOptOutListCommand.d.ts +10 -0
- package/dist-types/commands/CreatePoolCommand.d.ts +13 -0
- package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDefaultMessageTypeCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDefaultSenderIdCommand.d.ts +3 -0
- package/dist-types/commands/DeleteEventDestinationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteKeywordCommand.d.ts +4 -0
- package/dist-types/commands/DeleteOptOutListCommand.d.ts +3 -0
- package/dist-types/commands/DeleteOptedOutNumberCommand.d.ts +4 -0
- package/dist-types/commands/DeletePoolCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTextMessageSpendLimitOverrideCommand.d.ts +1 -0
- package/dist-types/commands/DeleteVoiceMessageSpendLimitOverrideCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeConfigurationSetsCommand.d.ts +15 -0
- package/dist-types/commands/DescribeKeywordsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeOptOutListsCommand.d.ts +7 -0
- package/dist-types/commands/DescribeOptedOutNumbersCommand.d.ts +16 -0
- package/dist-types/commands/DescribePhoneNumbersCommand.d.ts +15 -0
- package/dist-types/commands/DescribePoolsCommand.d.ts +15 -0
- package/dist-types/commands/DescribeSenderIdsCommand.d.ts +18 -0
- package/dist-types/commands/DescribeSpendLimitsCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateOriginationIdentityCommand.d.ts +6 -0
- package/dist-types/commands/ListPoolOriginationIdentitiesCommand.d.ts +13 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PutKeywordCommand.d.ts +6 -0
- package/dist-types/commands/PutOptedOutNumberCommand.d.ts +4 -0
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +3 -0
- package/dist-types/commands/RequestPhoneNumberCommand.d.ts +19 -0
- package/dist-types/commands/SendTextMessageCommand.d.ts +17 -0
- package/dist-types/commands/SendVoiceMessageCommand.d.ts +14 -0
- package/dist-types/commands/SetDefaultMessageTypeCommand.d.ts +4 -0
- package/dist-types/commands/SetDefaultSenderIdCommand.d.ts +4 -0
- package/dist-types/commands/SetTextMessageSpendLimitOverrideCommand.d.ts +3 -0
- package/dist-types/commands/SetVoiceMessageSpendLimitOverrideCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateEventDestinationCommand.d.ts +19 -0
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +8 -0
- package/dist-types/commands/UpdatePoolCommand.d.ts +9 -0
- package/package.json +8 -8
|
@@ -30,6 +30,12 @@ export interface AssociateOriginationIdentityCommandOutput extends AssociateOrig
|
|
|
30
30
|
* import { PinpointSMSVoiceV2Client, AssociateOriginationIdentityCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
31
31
|
* // const { PinpointSMSVoiceV2Client, AssociateOriginationIdentityCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
32
32
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
33
|
+
* const input = { // AssociateOriginationIdentityRequest
|
|
34
|
+
* PoolId: "STRING_VALUE", // required
|
|
35
|
+
* OriginationIdentity: "STRING_VALUE", // required
|
|
36
|
+
* IsoCountryCode: "STRING_VALUE", // required
|
|
37
|
+
* ClientToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
33
39
|
* const command = new AssociateOriginationIdentityCommand(input);
|
|
34
40
|
* const response = await client.send(command);
|
|
35
41
|
* ```
|
|
@@ -30,6 +30,16 @@ export interface CreateConfigurationSetCommandOutput extends CreateConfiguration
|
|
|
30
30
|
* import { PinpointSMSVoiceV2Client, CreateConfigurationSetCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
31
31
|
* // const { PinpointSMSVoiceV2Client, CreateConfigurationSetCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
32
32
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
33
|
+
* const input = { // CreateConfigurationSetRequest
|
|
34
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
35
|
+
* Tags: [ // TagList
|
|
36
|
+
* { // Tag
|
|
37
|
+
* Key: "STRING_VALUE", // required
|
|
38
|
+
* Value: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* ClientToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
33
43
|
* const command = new CreateConfigurationSetCommand(input);
|
|
34
44
|
* const response = await client.send(command);
|
|
35
45
|
* ```
|
|
@@ -34,6 +34,25 @@ export interface CreateEventDestinationCommandOutput extends CreateEventDestinat
|
|
|
34
34
|
* import { PinpointSMSVoiceV2Client, CreateEventDestinationCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
35
35
|
* // const { PinpointSMSVoiceV2Client, CreateEventDestinationCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
36
36
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
37
|
+
* const input = { // CreateEventDestinationRequest
|
|
38
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
39
|
+
* EventDestinationName: "STRING_VALUE", // required
|
|
40
|
+
* MatchingEventTypes: [ // EventTypeList // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* CloudWatchLogsDestination: { // CloudWatchLogsDestination
|
|
44
|
+
* IamRoleArn: "STRING_VALUE", // required
|
|
45
|
+
* LogGroupArn: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* KinesisFirehoseDestination: { // KinesisFirehoseDestination
|
|
48
|
+
* IamRoleArn: "STRING_VALUE", // required
|
|
49
|
+
* DeliveryStreamArn: "STRING_VALUE", // required
|
|
50
|
+
* },
|
|
51
|
+
* SnsDestination: { // SnsDestination
|
|
52
|
+
* TopicArn: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ClientToken: "STRING_VALUE",
|
|
55
|
+
* };
|
|
37
56
|
* const command = new CreateEventDestinationCommand(input);
|
|
38
57
|
* const response = await client.send(command);
|
|
39
58
|
* ```
|
|
@@ -34,6 +34,16 @@ export interface CreateOptOutListCommandOutput extends CreateOptOutListResult, _
|
|
|
34
34
|
* import { PinpointSMSVoiceV2Client, CreateOptOutListCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
35
35
|
* // const { PinpointSMSVoiceV2Client, CreateOptOutListCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
36
36
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
37
|
+
* const input = { // CreateOptOutListRequest
|
|
38
|
+
* OptOutListName: "STRING_VALUE", // required
|
|
39
|
+
* Tags: [ // TagList
|
|
40
|
+
* { // Tag
|
|
41
|
+
* Key: "STRING_VALUE", // required
|
|
42
|
+
* Value: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* ClientToken: "STRING_VALUE",
|
|
46
|
+
* };
|
|
37
47
|
* const command = new CreateOptOutListCommand(input);
|
|
38
48
|
* const response = await client.send(command);
|
|
39
49
|
* ```
|
|
@@ -34,6 +34,19 @@ export interface CreatePoolCommandOutput extends CreatePoolResult, __MetadataBea
|
|
|
34
34
|
* import { PinpointSMSVoiceV2Client, CreatePoolCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
35
35
|
* // const { PinpointSMSVoiceV2Client, CreatePoolCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
36
36
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
37
|
+
* const input = { // CreatePoolRequest
|
|
38
|
+
* OriginationIdentity: "STRING_VALUE", // required
|
|
39
|
+
* IsoCountryCode: "STRING_VALUE", // required
|
|
40
|
+
* MessageType: "STRING_VALUE", // required
|
|
41
|
+
* DeletionProtectionEnabled: true || false,
|
|
42
|
+
* Tags: [ // TagList
|
|
43
|
+
* { // Tag
|
|
44
|
+
* Key: "STRING_VALUE", // required
|
|
45
|
+
* Value: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* ClientToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
37
50
|
* const command = new CreatePoolCommand(input);
|
|
38
51
|
* const response = await client.send(command);
|
|
39
52
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteConfigurationSetCommandOutput extends DeleteConfiguration
|
|
|
29
29
|
* import { PinpointSMSVoiceV2Client, DeleteConfigurationSetCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
30
30
|
* // const { PinpointSMSVoiceV2Client, DeleteConfigurationSetCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
31
31
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
32
|
+
* const input = { // DeleteConfigurationSetRequest
|
|
33
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteConfigurationSetCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface DeleteDefaultMessageTypeCommandOutput extends DeleteDefaultMess
|
|
|
31
31
|
* import { PinpointSMSVoiceV2Client, DeleteDefaultMessageTypeCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
32
32
|
* // const { PinpointSMSVoiceV2Client, DeleteDefaultMessageTypeCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
33
33
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
34
|
+
* const input = { // DeleteDefaultMessageTypeRequest
|
|
35
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new DeleteDefaultMessageTypeCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteDefaultSenderIdCommandOutput extends DeleteDefaultSenderI
|
|
|
29
29
|
* import { PinpointSMSVoiceV2Client, DeleteDefaultSenderIdCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
30
30
|
* // const { PinpointSMSVoiceV2Client, DeleteDefaultSenderIdCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
31
31
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
32
|
+
* const input = { // DeleteDefaultSenderIdRequest
|
|
33
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteDefaultSenderIdCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface DeleteEventDestinationCommandOutput extends DeleteEventDestinat
|
|
|
30
30
|
* import { PinpointSMSVoiceV2Client, DeleteEventDestinationCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
31
31
|
* // const { PinpointSMSVoiceV2Client, DeleteEventDestinationCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
32
32
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
33
|
+
* const input = { // DeleteEventDestinationRequest
|
|
34
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
35
|
+
* EventDestinationName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
33
37
|
* const command = new DeleteEventDestinationCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -32,6 +32,10 @@ export interface DeleteKeywordCommandOutput extends DeleteKeywordResult, __Metad
|
|
|
32
32
|
* import { PinpointSMSVoiceV2Client, DeleteKeywordCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
33
33
|
* // const { PinpointSMSVoiceV2Client, DeleteKeywordCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
34
34
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
35
|
+
* const input = { // DeleteKeywordRequest
|
|
36
|
+
* OriginationIdentity: "STRING_VALUE", // required
|
|
37
|
+
* Keyword: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
35
39
|
* const command = new DeleteKeywordCommand(input);
|
|
36
40
|
* const response = await client.send(command);
|
|
37
41
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteOptOutListCommandOutput extends DeleteOptOutListResult, _
|
|
|
29
29
|
* import { PinpointSMSVoiceV2Client, DeleteOptOutListCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
30
30
|
* // const { PinpointSMSVoiceV2Client, DeleteOptOutListCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
31
31
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
32
|
+
* const input = { // DeleteOptOutListRequest
|
|
33
|
+
* OptOutListName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteOptOutListCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface DeleteOptedOutNumberCommandOutput extends DeleteOptedOutNumberR
|
|
|
30
30
|
* import { PinpointSMSVoiceV2Client, DeleteOptedOutNumberCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
31
31
|
* // const { PinpointSMSVoiceV2Client, DeleteOptedOutNumberCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
32
32
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
33
|
+
* const input = { // DeleteOptedOutNumberRequest
|
|
34
|
+
* OptOutListName: "STRING_VALUE", // required
|
|
35
|
+
* OptedOutNumber: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
33
37
|
* const command = new DeleteOptedOutNumberCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -32,6 +32,9 @@ export interface DeletePoolCommandOutput extends DeletePoolResult, __MetadataBea
|
|
|
32
32
|
* import { PinpointSMSVoiceV2Client, DeletePoolCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
33
33
|
* // const { PinpointSMSVoiceV2Client, DeletePoolCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
34
34
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
35
|
+
* const input = { // DeletePoolRequest
|
|
36
|
+
* PoolId: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
35
38
|
* const command = new DeletePoolCommand(input);
|
|
36
39
|
* const response = await client.send(command);
|
|
37
40
|
* ```
|
|
@@ -30,6 +30,7 @@ export interface DeleteTextMessageSpendLimitOverrideCommandOutput extends Delete
|
|
|
30
30
|
* import { PinpointSMSVoiceV2Client, DeleteTextMessageSpendLimitOverrideCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
31
31
|
* // const { PinpointSMSVoiceV2Client, DeleteTextMessageSpendLimitOverrideCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
32
32
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
33
|
+
* const input = {};
|
|
33
34
|
* const command = new DeleteTextMessageSpendLimitOverrideCommand(input);
|
|
34
35
|
* const response = await client.send(command);
|
|
35
36
|
* ```
|
|
@@ -30,6 +30,7 @@ export interface DeleteVoiceMessageSpendLimitOverrideCommandOutput extends Delet
|
|
|
30
30
|
* import { PinpointSMSVoiceV2Client, DeleteVoiceMessageSpendLimitOverrideCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
31
31
|
* // const { PinpointSMSVoiceV2Client, DeleteVoiceMessageSpendLimitOverrideCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
32
32
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
33
|
+
* const input = {};
|
|
33
34
|
* const command = new DeleteVoiceMessageSpendLimitOverrideCommand(input);
|
|
34
35
|
* const response = await client.send(command);
|
|
35
36
|
* ```
|
|
@@ -32,6 +32,10 @@ export interface DescribeAccountAttributesCommandOutput extends DescribeAccountA
|
|
|
32
32
|
* import { PinpointSMSVoiceV2Client, DescribeAccountAttributesCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
33
33
|
* // const { PinpointSMSVoiceV2Client, DescribeAccountAttributesCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
34
34
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
35
|
+
* const input = { // DescribeAccountAttributesRequest
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* };
|
|
35
39
|
* const command = new DescribeAccountAttributesCommand(input);
|
|
36
40
|
* const response = await client.send(command);
|
|
37
41
|
* ```
|
|
@@ -33,6 +33,10 @@ export interface DescribeAccountLimitsCommandOutput extends DescribeAccountLimit
|
|
|
33
33
|
* import { PinpointSMSVoiceV2Client, DescribeAccountLimitsCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
34
34
|
* // const { PinpointSMSVoiceV2Client, DescribeAccountLimitsCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
35
35
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
36
|
+
* const input = { // DescribeAccountLimitsRequest
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* };
|
|
36
40
|
* const command = new DescribeAccountLimitsCommand(input);
|
|
37
41
|
* const response = await client.send(command);
|
|
38
42
|
* ```
|
|
@@ -32,6 +32,21 @@ export interface DescribeConfigurationSetsCommandOutput extends DescribeConfigur
|
|
|
32
32
|
* import { PinpointSMSVoiceV2Client, DescribeConfigurationSetsCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
33
33
|
* // const { PinpointSMSVoiceV2Client, DescribeConfigurationSetsCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
34
34
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
35
|
+
* const input = { // DescribeConfigurationSetsRequest
|
|
36
|
+
* ConfigurationSetNames: [ // ConfigurationSetNameList
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* Filters: [ // ConfigurationSetFilterList
|
|
40
|
+
* { // ConfigurationSetFilter
|
|
41
|
+
* Name: "STRING_VALUE", // required
|
|
42
|
+
* Values: [ // FilterValueList // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* NextToken: "STRING_VALUE",
|
|
48
|
+
* MaxResults: Number("int"),
|
|
49
|
+
* };
|
|
35
50
|
* const command = new DescribeConfigurationSetsCommand(input);
|
|
36
51
|
* const response = await client.send(command);
|
|
37
52
|
* ```
|
|
@@ -33,6 +33,22 @@ export interface DescribeKeywordsCommandOutput extends DescribeKeywordsResult, _
|
|
|
33
33
|
* import { PinpointSMSVoiceV2Client, DescribeKeywordsCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
34
34
|
* // const { PinpointSMSVoiceV2Client, DescribeKeywordsCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
35
35
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
36
|
+
* const input = { // DescribeKeywordsRequest
|
|
37
|
+
* OriginationIdentity: "STRING_VALUE", // required
|
|
38
|
+
* Keywords: [ // KeywordList
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* Filters: [ // KeywordFilterList
|
|
42
|
+
* { // KeywordFilter
|
|
43
|
+
* Name: "STRING_VALUE", // required
|
|
44
|
+
* Values: [ // FilterValueList // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* NextToken: "STRING_VALUE",
|
|
50
|
+
* MaxResults: Number("int"),
|
|
51
|
+
* };
|
|
36
52
|
* const command = new DescribeKeywordsCommand(input);
|
|
37
53
|
* const response = await client.send(command);
|
|
38
54
|
* ```
|
|
@@ -31,6 +31,13 @@ export interface DescribeOptOutListsCommandOutput extends DescribeOptOutListsRes
|
|
|
31
31
|
* import { PinpointSMSVoiceV2Client, DescribeOptOutListsCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
32
32
|
* // const { PinpointSMSVoiceV2Client, DescribeOptOutListsCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
33
33
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
34
|
+
* const input = { // DescribeOptOutListsRequest
|
|
35
|
+
* OptOutListNames: [ // OptOutListNameList
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* };
|
|
34
41
|
* const command = new DescribeOptOutListsCommand(input);
|
|
35
42
|
* const response = await client.send(command);
|
|
36
43
|
* ```
|
|
@@ -33,6 +33,22 @@ export interface DescribeOptedOutNumbersCommandOutput extends DescribeOptedOutNu
|
|
|
33
33
|
* import { PinpointSMSVoiceV2Client, DescribeOptedOutNumbersCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
34
34
|
* // const { PinpointSMSVoiceV2Client, DescribeOptedOutNumbersCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
35
35
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
36
|
+
* const input = { // DescribeOptedOutNumbersRequest
|
|
37
|
+
* OptOutListName: "STRING_VALUE", // required
|
|
38
|
+
* OptedOutNumbers: [ // OptedOutNumberList
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* Filters: [ // OptedOutFilterList
|
|
42
|
+
* { // OptedOutFilter
|
|
43
|
+
* Name: "STRING_VALUE", // required
|
|
44
|
+
* Values: [ // FilterValueList // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* NextToken: "STRING_VALUE",
|
|
50
|
+
* MaxResults: Number("int"),
|
|
51
|
+
* };
|
|
36
52
|
* const command = new DescribeOptedOutNumbersCommand(input);
|
|
37
53
|
* const response = await client.send(command);
|
|
38
54
|
* ```
|
|
@@ -32,6 +32,21 @@ export interface DescribePhoneNumbersCommandOutput extends DescribePhoneNumbersR
|
|
|
32
32
|
* import { PinpointSMSVoiceV2Client, DescribePhoneNumbersCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
33
33
|
* // const { PinpointSMSVoiceV2Client, DescribePhoneNumbersCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
34
34
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
35
|
+
* const input = { // DescribePhoneNumbersRequest
|
|
36
|
+
* PhoneNumberIds: [ // PhoneNumberIdList
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* Filters: [ // PhoneNumberFilterList
|
|
40
|
+
* { // PhoneNumberFilter
|
|
41
|
+
* Name: "STRING_VALUE", // required
|
|
42
|
+
* Values: [ // FilterValueList // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* NextToken: "STRING_VALUE",
|
|
48
|
+
* MaxResults: Number("int"),
|
|
49
|
+
* };
|
|
35
50
|
* const command = new DescribePhoneNumbersCommand(input);
|
|
36
51
|
* const response = await client.send(command);
|
|
37
52
|
* ```
|
|
@@ -35,6 +35,21 @@ export interface DescribePoolsCommandOutput extends DescribePoolsResult, __Metad
|
|
|
35
35
|
* import { PinpointSMSVoiceV2Client, DescribePoolsCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
36
36
|
* // const { PinpointSMSVoiceV2Client, DescribePoolsCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
37
37
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
38
|
+
* const input = { // DescribePoolsRequest
|
|
39
|
+
* PoolIds: [ // PoolIdList
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* Filters: [ // PoolFilterList
|
|
43
|
+
* { // PoolFilter
|
|
44
|
+
* Name: "STRING_VALUE", // required
|
|
45
|
+
* Values: [ // FilterValueList // required
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* NextToken: "STRING_VALUE",
|
|
51
|
+
* MaxResults: Number("int"),
|
|
52
|
+
* };
|
|
38
53
|
* const command = new DescribePoolsCommand(input);
|
|
39
54
|
* const response = await client.send(command);
|
|
40
55
|
* ```
|
|
@@ -31,6 +31,24 @@ export interface DescribeSenderIdsCommandOutput extends DescribeSenderIdsResult,
|
|
|
31
31
|
* import { PinpointSMSVoiceV2Client, DescribeSenderIdsCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
32
32
|
* // const { PinpointSMSVoiceV2Client, DescribeSenderIdsCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
33
33
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
34
|
+
* const input = { // DescribeSenderIdsRequest
|
|
35
|
+
* SenderIds: [ // SenderIdList
|
|
36
|
+
* { // SenderIdAndCountry
|
|
37
|
+
* SenderId: "STRING_VALUE", // required
|
|
38
|
+
* IsoCountryCode: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* Filters: [ // SenderIdFilterList
|
|
42
|
+
* { // SenderIdFilter
|
|
43
|
+
* Name: "STRING_VALUE", // required
|
|
44
|
+
* Values: [ // FilterValueList // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* NextToken: "STRING_VALUE",
|
|
50
|
+
* MaxResults: Number("int"),
|
|
51
|
+
* };
|
|
34
52
|
* const command = new DescribeSenderIdsCommand(input);
|
|
35
53
|
* const response = await client.send(command);
|
|
36
54
|
* ```
|
|
@@ -32,6 +32,10 @@ export interface DescribeSpendLimitsCommandOutput extends DescribeSpendLimitsRes
|
|
|
32
32
|
* import { PinpointSMSVoiceV2Client, DescribeSpendLimitsCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
33
33
|
* // const { PinpointSMSVoiceV2Client, DescribeSpendLimitsCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
34
34
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
35
|
+
* const input = { // DescribeSpendLimitsRequest
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* };
|
|
35
39
|
* const command = new DescribeSpendLimitsCommand(input);
|
|
36
40
|
* const response = await client.send(command);
|
|
37
41
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface DisassociateOriginationIdentityCommandOutput extends Disassocia
|
|
|
28
28
|
* import { PinpointSMSVoiceV2Client, DisassociateOriginationIdentityCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
29
29
|
* // const { PinpointSMSVoiceV2Client, DisassociateOriginationIdentityCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
30
30
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
31
|
+
* const input = { // DisassociateOriginationIdentityRequest
|
|
32
|
+
* PoolId: "STRING_VALUE", // required
|
|
33
|
+
* OriginationIdentity: "STRING_VALUE", // required
|
|
34
|
+
* IsoCountryCode: "STRING_VALUE", // required
|
|
35
|
+
* ClientToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
31
37
|
* const command = new DisassociateOriginationIdentityCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -28,6 +28,19 @@ export interface ListPoolOriginationIdentitiesCommandOutput extends ListPoolOrig
|
|
|
28
28
|
* import { PinpointSMSVoiceV2Client, ListPoolOriginationIdentitiesCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
29
29
|
* // const { PinpointSMSVoiceV2Client, ListPoolOriginationIdentitiesCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
30
30
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
31
|
+
* const input = { // ListPoolOriginationIdentitiesRequest
|
|
32
|
+
* PoolId: "STRING_VALUE", // required
|
|
33
|
+
* Filters: [ // PoolOriginationIdentitiesFilterList
|
|
34
|
+
* { // PoolOriginationIdentitiesFilter
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* Values: [ // FilterValueList // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* MaxResults: Number("int"),
|
|
43
|
+
* };
|
|
31
44
|
* const command = new ListPoolOriginationIdentitiesCommand(input);
|
|
32
45
|
* const response = await client.send(command);
|
|
33
46
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { PinpointSMSVoiceV2Client, ListTagsForResourceCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
27
27
|
* // const { PinpointSMSVoiceV2Client, ListTagsForResourceCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
28
28
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -33,6 +33,12 @@ export interface PutKeywordCommandOutput extends PutKeywordResult, __MetadataBea
|
|
|
33
33
|
* import { PinpointSMSVoiceV2Client, PutKeywordCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
34
34
|
* // const { PinpointSMSVoiceV2Client, PutKeywordCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
35
35
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
36
|
+
* const input = { // PutKeywordRequest
|
|
37
|
+
* OriginationIdentity: "STRING_VALUE", // required
|
|
38
|
+
* Keyword: "STRING_VALUE", // required
|
|
39
|
+
* KeywordMessage: "STRING_VALUE", // required
|
|
40
|
+
* KeywordAction: "STRING_VALUE",
|
|
41
|
+
* };
|
|
36
42
|
* const command = new PutKeywordCommand(input);
|
|
37
43
|
* const response = await client.send(command);
|
|
38
44
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface PutOptedOutNumberCommandOutput extends PutOptedOutNumberResult,
|
|
|
28
28
|
* import { PinpointSMSVoiceV2Client, PutOptedOutNumberCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
29
29
|
* // const { PinpointSMSVoiceV2Client, PutOptedOutNumberCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
30
30
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
31
|
+
* const input = { // PutOptedOutNumberRequest
|
|
32
|
+
* OptOutListName: "STRING_VALUE", // required
|
|
33
|
+
* OptedOutNumber: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new PutOptedOutNumberCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface ReleasePhoneNumberCommandOutput extends ReleasePhoneNumberResul
|
|
|
29
29
|
* import { PinpointSMSVoiceV2Client, ReleasePhoneNumberCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
30
30
|
* // const { PinpointSMSVoiceV2Client, ReleasePhoneNumberCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
31
31
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
32
|
+
* const input = { // ReleasePhoneNumberRequest
|
|
33
|
+
* PhoneNumberId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new ReleasePhoneNumberCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -28,6 +28,25 @@ export interface RequestPhoneNumberCommandOutput extends RequestPhoneNumberResul
|
|
|
28
28
|
* import { PinpointSMSVoiceV2Client, RequestPhoneNumberCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
29
29
|
* // const { PinpointSMSVoiceV2Client, RequestPhoneNumberCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
30
30
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
31
|
+
* const input = { // RequestPhoneNumberRequest
|
|
32
|
+
* IsoCountryCode: "STRING_VALUE", // required
|
|
33
|
+
* MessageType: "STRING_VALUE", // required
|
|
34
|
+
* NumberCapabilities: [ // NumberCapabilityList // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* NumberType: "STRING_VALUE", // required
|
|
38
|
+
* OptOutListName: "STRING_VALUE",
|
|
39
|
+
* PoolId: "STRING_VALUE",
|
|
40
|
+
* RegistrationId: "STRING_VALUE",
|
|
41
|
+
* DeletionProtectionEnabled: true || false,
|
|
42
|
+
* Tags: [ // TagList
|
|
43
|
+
* { // Tag
|
|
44
|
+
* Key: "STRING_VALUE", // required
|
|
45
|
+
* Value: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* ClientToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
31
50
|
* const command = new RequestPhoneNumberCommand(input);
|
|
32
51
|
* const response = await client.send(command);
|
|
33
52
|
* ```
|
|
@@ -31,6 +31,23 @@ export interface SendTextMessageCommandOutput extends SendTextMessageResult, __M
|
|
|
31
31
|
* import { PinpointSMSVoiceV2Client, SendTextMessageCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
32
32
|
* // const { PinpointSMSVoiceV2Client, SendTextMessageCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
33
33
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
34
|
+
* const input = { // SendTextMessageRequest
|
|
35
|
+
* DestinationPhoneNumber: "STRING_VALUE", // required
|
|
36
|
+
* OriginationIdentity: "STRING_VALUE",
|
|
37
|
+
* MessageBody: "STRING_VALUE",
|
|
38
|
+
* MessageType: "STRING_VALUE",
|
|
39
|
+
* Keyword: "STRING_VALUE",
|
|
40
|
+
* ConfigurationSetName: "STRING_VALUE",
|
|
41
|
+
* MaxPrice: "STRING_VALUE",
|
|
42
|
+
* TimeToLive: Number("int"),
|
|
43
|
+
* Context: { // ContextMap
|
|
44
|
+
* "<keys>": "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* DestinationCountryParameters: { // DestinationCountryParameters
|
|
47
|
+
* "<keys>": "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* DryRun: true || false,
|
|
50
|
+
* };
|
|
34
51
|
* const command = new SendTextMessageCommand(input);
|
|
35
52
|
* const response = await client.send(command);
|
|
36
53
|
* ```
|
|
@@ -28,6 +28,20 @@ export interface SendVoiceMessageCommandOutput extends SendVoiceMessageResult, _
|
|
|
28
28
|
* import { PinpointSMSVoiceV2Client, SendVoiceMessageCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
29
29
|
* // const { PinpointSMSVoiceV2Client, SendVoiceMessageCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
30
30
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
31
|
+
* const input = { // SendVoiceMessageRequest
|
|
32
|
+
* DestinationPhoneNumber: "STRING_VALUE", // required
|
|
33
|
+
* OriginationIdentity: "STRING_VALUE", // required
|
|
34
|
+
* MessageBody: "STRING_VALUE",
|
|
35
|
+
* MessageBodyTextType: "STRING_VALUE",
|
|
36
|
+
* VoiceId: "STRING_VALUE",
|
|
37
|
+
* ConfigurationSetName: "STRING_VALUE",
|
|
38
|
+
* MaxPricePerMinute: "STRING_VALUE",
|
|
39
|
+
* TimeToLive: Number("int"),
|
|
40
|
+
* Context: { // ContextMap
|
|
41
|
+
* "<keys>": "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* DryRun: true || false,
|
|
44
|
+
* };
|
|
31
45
|
* const command = new SendVoiceMessageCommand(input);
|
|
32
46
|
* const response = await client.send(command);
|
|
33
47
|
* ```
|
|
@@ -31,6 +31,10 @@ export interface SetDefaultMessageTypeCommandOutput extends SetDefaultMessageTyp
|
|
|
31
31
|
* import { PinpointSMSVoiceV2Client, SetDefaultMessageTypeCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
32
32
|
* // const { PinpointSMSVoiceV2Client, SetDefaultMessageTypeCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
33
33
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
34
|
+
* const input = { // SetDefaultMessageTypeRequest
|
|
35
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
36
|
+
* MessageType: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
34
38
|
* const command = new SetDefaultMessageTypeCommand(input);
|
|
35
39
|
* const response = await client.send(command);
|
|
36
40
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface SetDefaultSenderIdCommandOutput extends SetDefaultSenderIdResul
|
|
|
29
29
|
* import { PinpointSMSVoiceV2Client, SetDefaultSenderIdCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
30
30
|
* // const { PinpointSMSVoiceV2Client, SetDefaultSenderIdCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
31
31
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
32
|
+
* const input = { // SetDefaultSenderIdRequest
|
|
33
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
34
|
+
* SenderId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new SetDefaultSenderIdCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface SetTextMessageSpendLimitOverrideCommandOutput extends SetTextMe
|
|
|
28
28
|
* import { PinpointSMSVoiceV2Client, SetTextMessageSpendLimitOverrideCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
29
29
|
* // const { PinpointSMSVoiceV2Client, SetTextMessageSpendLimitOverrideCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
30
30
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
31
|
+
* const input = { // SetTextMessageSpendLimitOverrideRequest
|
|
32
|
+
* MonthlyLimit: Number("long"), // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new SetTextMessageSpendLimitOverrideCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface SetVoiceMessageSpendLimitOverrideCommandOutput extends SetVoice
|
|
|
28
28
|
* import { PinpointSMSVoiceV2Client, SetVoiceMessageSpendLimitOverrideCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
29
29
|
* // const { PinpointSMSVoiceV2Client, SetVoiceMessageSpendLimitOverrideCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
30
30
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
31
|
+
* const input = { // SetVoiceMessageSpendLimitOverrideRequest
|
|
32
|
+
* MonthlyLimit: Number("long"), // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new SetVoiceMessageSpendLimitOverrideCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -31,6 +31,15 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
|
|
|
31
31
|
* import { PinpointSMSVoiceV2Client, TagResourceCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
32
32
|
* // const { PinpointSMSVoiceV2Client, TagResourceCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
33
33
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
34
|
+
* const input = { // TagResourceRequest
|
|
35
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
36
|
+
* Tags: [ // NonEmptyTagList // required
|
|
37
|
+
* { // Tag
|
|
38
|
+
* Key: "STRING_VALUE", // required
|
|
39
|
+
* Value: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
34
43
|
* const command = new TagResourceCommand(input);
|
|
35
44
|
* const response = await client.send(command);
|
|
36
45
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
|
|
|
28
28
|
* import { PinpointSMSVoiceV2Client, UntagResourceCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
29
29
|
* // const { PinpointSMSVoiceV2Client, UntagResourceCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
30
30
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
31
|
+
* const input = { // UntagResourceRequest
|
|
32
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
33
|
+
* TagKeys: [ // TagKeyList // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* };
|
|
31
37
|
* const command = new UntagResourceCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -31,6 +31,25 @@ export interface UpdateEventDestinationCommandOutput extends UpdateEventDestinat
|
|
|
31
31
|
* import { PinpointSMSVoiceV2Client, UpdateEventDestinationCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
32
32
|
* // const { PinpointSMSVoiceV2Client, UpdateEventDestinationCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
33
33
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
34
|
+
* const input = { // UpdateEventDestinationRequest
|
|
35
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
36
|
+
* EventDestinationName: "STRING_VALUE", // required
|
|
37
|
+
* Enabled: true || false,
|
|
38
|
+
* MatchingEventTypes: [ // EventTypeList
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* CloudWatchLogsDestination: { // CloudWatchLogsDestination
|
|
42
|
+
* IamRoleArn: "STRING_VALUE", // required
|
|
43
|
+
* LogGroupArn: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* KinesisFirehoseDestination: { // KinesisFirehoseDestination
|
|
46
|
+
* IamRoleArn: "STRING_VALUE", // required
|
|
47
|
+
* DeliveryStreamArn: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* SnsDestination: { // SnsDestination
|
|
50
|
+
* TopicArn: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* };
|
|
34
53
|
* const command = new UpdateEventDestinationCommand(input);
|
|
35
54
|
* const response = await client.send(command);
|
|
36
55
|
* ```
|
|
@@ -30,6 +30,14 @@ export interface UpdatePhoneNumberCommandOutput extends UpdatePhoneNumberResult,
|
|
|
30
30
|
* import { PinpointSMSVoiceV2Client, UpdatePhoneNumberCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
31
31
|
* // const { PinpointSMSVoiceV2Client, UpdatePhoneNumberCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
32
32
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
33
|
+
* const input = { // UpdatePhoneNumberRequest
|
|
34
|
+
* PhoneNumberId: "STRING_VALUE", // required
|
|
35
|
+
* TwoWayEnabled: true || false,
|
|
36
|
+
* TwoWayChannelArn: "STRING_VALUE",
|
|
37
|
+
* SelfManagedOptOutsEnabled: true || false,
|
|
38
|
+
* OptOutListName: "STRING_VALUE",
|
|
39
|
+
* DeletionProtectionEnabled: true || false,
|
|
40
|
+
* };
|
|
33
41
|
* const command = new UpdatePhoneNumberCommand(input);
|
|
34
42
|
* const response = await client.send(command);
|
|
35
43
|
* ```
|
|
@@ -29,6 +29,15 @@ export interface UpdatePoolCommandOutput extends UpdatePoolResult, __MetadataBea
|
|
|
29
29
|
* import { PinpointSMSVoiceV2Client, UpdatePoolCommand } from "@aws-sdk/client-pinpoint-sms-voice-v2"; // ES Modules import
|
|
30
30
|
* // const { PinpointSMSVoiceV2Client, UpdatePoolCommand } = require("@aws-sdk/client-pinpoint-sms-voice-v2"); // CommonJS import
|
|
31
31
|
* const client = new PinpointSMSVoiceV2Client(config);
|
|
32
|
+
* const input = { // UpdatePoolRequest
|
|
33
|
+
* PoolId: "STRING_VALUE", // required
|
|
34
|
+
* TwoWayEnabled: true || false,
|
|
35
|
+
* TwoWayChannelArn: "STRING_VALUE",
|
|
36
|
+
* SelfManagedOptOutsEnabled: true || false,
|
|
37
|
+
* OptOutListName: "STRING_VALUE",
|
|
38
|
+
* SharedRoutesEnabled: true || false,
|
|
39
|
+
* DeletionProtectionEnabled: true || false,
|
|
40
|
+
* };
|
|
32
41
|
* const command = new UpdatePoolCommand(input);
|
|
33
42
|
* const response = await client.send(command);
|
|
34
43
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint-sms-voice-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pinpoint Sms Voice V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|