@aws-sdk/client-pinpoint-sms-voice 3.299.0 → 3.300.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/CreateConfigurationSetCommand.d.ts +3 -0
- package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +21 -0
- package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +3 -0
- package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +4 -0
- package/dist-types/commands/GetConfigurationSetEventDestinationsCommand.d.ts +3 -0
- package/dist-types/commands/ListConfigurationSetsCommand.d.ts +4 -0
- package/dist-types/commands/SendVoiceMessageCommand.d.ts +21 -0
- package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +21 -0
- package/package.json +8 -8
|
@@ -26,6 +26,9 @@ export interface CreateConfigurationSetCommandOutput extends CreateConfiguration
|
|
|
26
26
|
* import { PinpointSMSVoiceClient, CreateConfigurationSetCommand } from "@aws-sdk/client-pinpoint-sms-voice"; // ES Modules import
|
|
27
27
|
* // const { PinpointSMSVoiceClient, CreateConfigurationSetCommand } = require("@aws-sdk/client-pinpoint-sms-voice"); // CommonJS import
|
|
28
28
|
* const client = new PinpointSMSVoiceClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ConfigurationSetName: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new CreateConfigurationSetCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,27 @@ export interface CreateConfigurationSetEventDestinationCommandOutput extends Cre
|
|
|
26
26
|
* import { PinpointSMSVoiceClient, CreateConfigurationSetEventDestinationCommand } from "@aws-sdk/client-pinpoint-sms-voice"; // ES Modules import
|
|
27
27
|
* // const { PinpointSMSVoiceClient, CreateConfigurationSetEventDestinationCommand } = require("@aws-sdk/client-pinpoint-sms-voice"); // CommonJS import
|
|
28
28
|
* const client = new PinpointSMSVoiceClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
31
|
+
* EventDestination: {
|
|
32
|
+
* CloudWatchLogsDestination: {
|
|
33
|
+
* IamRoleArn: "STRING_VALUE",
|
|
34
|
+
* LogGroupArn: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* Enabled: true || false,
|
|
37
|
+
* KinesisFirehoseDestination: {
|
|
38
|
+
* DeliveryStreamArn: "STRING_VALUE",
|
|
39
|
+
* IamRoleArn: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* MatchingEventTypes: [
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* SnsDestination: {
|
|
45
|
+
* TopicArn: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* EventDestinationName: "STRING_VALUE",
|
|
49
|
+
* };
|
|
29
50
|
* const command = new CreateConfigurationSetEventDestinationCommand(input);
|
|
30
51
|
* const response = await client.send(command);
|
|
31
52
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteConfigurationSetCommandOutput extends DeleteConfiguration
|
|
|
26
26
|
* import { PinpointSMSVoiceClient, DeleteConfigurationSetCommand } from "@aws-sdk/client-pinpoint-sms-voice"; // ES Modules import
|
|
27
27
|
* // const { PinpointSMSVoiceClient, DeleteConfigurationSetCommand } = require("@aws-sdk/client-pinpoint-sms-voice"); // CommonJS import
|
|
28
28
|
* const client = new PinpointSMSVoiceClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteConfigurationSetCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteConfigurationSetEventDestinationCommandOutput extends Del
|
|
|
26
26
|
* import { PinpointSMSVoiceClient, DeleteConfigurationSetEventDestinationCommand } from "@aws-sdk/client-pinpoint-sms-voice"; // ES Modules import
|
|
27
27
|
* // const { PinpointSMSVoiceClient, DeleteConfigurationSetEventDestinationCommand } = require("@aws-sdk/client-pinpoint-sms-voice"); // CommonJS import
|
|
28
28
|
* const client = new PinpointSMSVoiceClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
31
|
+
* EventDestinationName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteConfigurationSetEventDestinationCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetConfigurationSetEventDestinationsCommandOutput extends GetCo
|
|
|
26
26
|
* import { PinpointSMSVoiceClient, GetConfigurationSetEventDestinationsCommand } from "@aws-sdk/client-pinpoint-sms-voice"; // ES Modules import
|
|
27
27
|
* // const { PinpointSMSVoiceClient, GetConfigurationSetEventDestinationsCommand } = require("@aws-sdk/client-pinpoint-sms-voice"); // CommonJS import
|
|
28
28
|
* const client = new PinpointSMSVoiceClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetConfigurationSetEventDestinationsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListConfigurationSetsCommandOutput extends ListConfigurationSet
|
|
|
26
26
|
* import { PinpointSMSVoiceClient, ListConfigurationSetsCommand } from "@aws-sdk/client-pinpoint-sms-voice"; // ES Modules import
|
|
27
27
|
* // const { PinpointSMSVoiceClient, ListConfigurationSetsCommand } = require("@aws-sdk/client-pinpoint-sms-voice"); // CommonJS import
|
|
28
28
|
* const client = new PinpointSMSVoiceClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* PageSize: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListConfigurationSetsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,27 @@ export interface SendVoiceMessageCommandOutput extends SendVoiceMessageResponse,
|
|
|
26
26
|
* import { PinpointSMSVoiceClient, SendVoiceMessageCommand } from "@aws-sdk/client-pinpoint-sms-voice"; // ES Modules import
|
|
27
27
|
* // const { PinpointSMSVoiceClient, SendVoiceMessageCommand } = require("@aws-sdk/client-pinpoint-sms-voice"); // CommonJS import
|
|
28
28
|
* const client = new PinpointSMSVoiceClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CallerId: "STRING_VALUE",
|
|
31
|
+
* ConfigurationSetName: "STRING_VALUE",
|
|
32
|
+
* Content: {
|
|
33
|
+
* CallInstructionsMessage: {
|
|
34
|
+
* Text: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* PlainTextMessage: {
|
|
37
|
+
* LanguageCode: "STRING_VALUE",
|
|
38
|
+
* Text: "STRING_VALUE",
|
|
39
|
+
* VoiceId: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* SSMLMessage: {
|
|
42
|
+
* LanguageCode: "STRING_VALUE",
|
|
43
|
+
* Text: "STRING_VALUE",
|
|
44
|
+
* VoiceId: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* DestinationPhoneNumber: "STRING_VALUE",
|
|
48
|
+
* OriginationPhoneNumber: "STRING_VALUE",
|
|
49
|
+
* };
|
|
29
50
|
* const command = new SendVoiceMessageCommand(input);
|
|
30
51
|
* const response = await client.send(command);
|
|
31
52
|
* ```
|
|
@@ -26,6 +26,27 @@ export interface UpdateConfigurationSetEventDestinationCommandOutput extends Upd
|
|
|
26
26
|
* import { PinpointSMSVoiceClient, UpdateConfigurationSetEventDestinationCommand } from "@aws-sdk/client-pinpoint-sms-voice"; // ES Modules import
|
|
27
27
|
* // const { PinpointSMSVoiceClient, UpdateConfigurationSetEventDestinationCommand } = require("@aws-sdk/client-pinpoint-sms-voice"); // CommonJS import
|
|
28
28
|
* const client = new PinpointSMSVoiceClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
31
|
+
* EventDestination: {
|
|
32
|
+
* CloudWatchLogsDestination: {
|
|
33
|
+
* IamRoleArn: "STRING_VALUE",
|
|
34
|
+
* LogGroupArn: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* Enabled: true || false,
|
|
37
|
+
* KinesisFirehoseDestination: {
|
|
38
|
+
* DeliveryStreamArn: "STRING_VALUE",
|
|
39
|
+
* IamRoleArn: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* MatchingEventTypes: [
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* SnsDestination: {
|
|
45
|
+
* TopicArn: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* EventDestinationName: "STRING_VALUE", // required
|
|
49
|
+
* };
|
|
29
50
|
* const command = new UpdateConfigurationSetEventDestinationCommand(input);
|
|
30
51
|
* const response = await client.send(command);
|
|
31
52
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint-sms-voice",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pinpoint Sms Voice Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.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.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.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
|
},
|