@aws-sdk/client-pinpoint-sms-voice 3.315.0 → 3.316.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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PinpointSMSVoice = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CreateConfigurationSetCommand_1 = require("./commands/CreateConfigurationSetCommand");
|
|
5
6
|
const CreateConfigurationSetEventDestinationCommand_1 = require("./commands/CreateConfigurationSetEventDestinationCommand");
|
|
6
7
|
const DeleteConfigurationSetCommand_1 = require("./commands/DeleteConfigurationSetCommand");
|
|
@@ -10,118 +11,17 @@ const ListConfigurationSetsCommand_1 = require("./commands/ListConfigurationSets
|
|
|
10
11
|
const SendVoiceMessageCommand_1 = require("./commands/SendVoiceMessageCommand");
|
|
11
12
|
const UpdateConfigurationSetEventDestinationCommand_1 = require("./commands/UpdateConfigurationSetEventDestinationCommand");
|
|
12
13
|
const PinpointSMSVoiceClient_1 = require("./PinpointSMSVoiceClient");
|
|
14
|
+
const commands = {
|
|
15
|
+
CreateConfigurationSetCommand: CreateConfigurationSetCommand_1.CreateConfigurationSetCommand,
|
|
16
|
+
CreateConfigurationSetEventDestinationCommand: CreateConfigurationSetEventDestinationCommand_1.CreateConfigurationSetEventDestinationCommand,
|
|
17
|
+
DeleteConfigurationSetCommand: DeleteConfigurationSetCommand_1.DeleteConfigurationSetCommand,
|
|
18
|
+
DeleteConfigurationSetEventDestinationCommand: DeleteConfigurationSetEventDestinationCommand_1.DeleteConfigurationSetEventDestinationCommand,
|
|
19
|
+
GetConfigurationSetEventDestinationsCommand: GetConfigurationSetEventDestinationsCommand_1.GetConfigurationSetEventDestinationsCommand,
|
|
20
|
+
ListConfigurationSetsCommand: ListConfigurationSetsCommand_1.ListConfigurationSetsCommand,
|
|
21
|
+
SendVoiceMessageCommand: SendVoiceMessageCommand_1.SendVoiceMessageCommand,
|
|
22
|
+
UpdateConfigurationSetEventDestinationCommand: UpdateConfigurationSetEventDestinationCommand_1.UpdateConfigurationSetEventDestinationCommand,
|
|
23
|
+
};
|
|
13
24
|
class PinpointSMSVoice extends PinpointSMSVoiceClient_1.PinpointSMSVoiceClient {
|
|
14
|
-
createConfigurationSet(args, optionsOrCb, cb) {
|
|
15
|
-
const command = new CreateConfigurationSetCommand_1.CreateConfigurationSetCommand(args);
|
|
16
|
-
if (typeof optionsOrCb === "function") {
|
|
17
|
-
this.send(command, optionsOrCb);
|
|
18
|
-
}
|
|
19
|
-
else if (typeof cb === "function") {
|
|
20
|
-
if (typeof optionsOrCb !== "object")
|
|
21
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
22
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
return this.send(command, optionsOrCb);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
createConfigurationSetEventDestination(args, optionsOrCb, cb) {
|
|
29
|
-
const command = new CreateConfigurationSetEventDestinationCommand_1.CreateConfigurationSetEventDestinationCommand(args);
|
|
30
|
-
if (typeof optionsOrCb === "function") {
|
|
31
|
-
this.send(command, optionsOrCb);
|
|
32
|
-
}
|
|
33
|
-
else if (typeof cb === "function") {
|
|
34
|
-
if (typeof optionsOrCb !== "object")
|
|
35
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
36
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
return this.send(command, optionsOrCb);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
deleteConfigurationSet(args, optionsOrCb, cb) {
|
|
43
|
-
const command = new DeleteConfigurationSetCommand_1.DeleteConfigurationSetCommand(args);
|
|
44
|
-
if (typeof optionsOrCb === "function") {
|
|
45
|
-
this.send(command, optionsOrCb);
|
|
46
|
-
}
|
|
47
|
-
else if (typeof cb === "function") {
|
|
48
|
-
if (typeof optionsOrCb !== "object")
|
|
49
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
50
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
return this.send(command, optionsOrCb);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
deleteConfigurationSetEventDestination(args, optionsOrCb, cb) {
|
|
57
|
-
const command = new DeleteConfigurationSetEventDestinationCommand_1.DeleteConfigurationSetEventDestinationCommand(args);
|
|
58
|
-
if (typeof optionsOrCb === "function") {
|
|
59
|
-
this.send(command, optionsOrCb);
|
|
60
|
-
}
|
|
61
|
-
else if (typeof cb === "function") {
|
|
62
|
-
if (typeof optionsOrCb !== "object")
|
|
63
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
64
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
return this.send(command, optionsOrCb);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
getConfigurationSetEventDestinations(args, optionsOrCb, cb) {
|
|
71
|
-
const command = new GetConfigurationSetEventDestinationsCommand_1.GetConfigurationSetEventDestinationsCommand(args);
|
|
72
|
-
if (typeof optionsOrCb === "function") {
|
|
73
|
-
this.send(command, optionsOrCb);
|
|
74
|
-
}
|
|
75
|
-
else if (typeof cb === "function") {
|
|
76
|
-
if (typeof optionsOrCb !== "object")
|
|
77
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
78
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
return this.send(command, optionsOrCb);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
listConfigurationSets(args, optionsOrCb, cb) {
|
|
85
|
-
const command = new ListConfigurationSetsCommand_1.ListConfigurationSetsCommand(args);
|
|
86
|
-
if (typeof optionsOrCb === "function") {
|
|
87
|
-
this.send(command, optionsOrCb);
|
|
88
|
-
}
|
|
89
|
-
else if (typeof cb === "function") {
|
|
90
|
-
if (typeof optionsOrCb !== "object")
|
|
91
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
92
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
return this.send(command, optionsOrCb);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
sendVoiceMessage(args, optionsOrCb, cb) {
|
|
99
|
-
const command = new SendVoiceMessageCommand_1.SendVoiceMessageCommand(args);
|
|
100
|
-
if (typeof optionsOrCb === "function") {
|
|
101
|
-
this.send(command, optionsOrCb);
|
|
102
|
-
}
|
|
103
|
-
else if (typeof cb === "function") {
|
|
104
|
-
if (typeof optionsOrCb !== "object")
|
|
105
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
106
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
return this.send(command, optionsOrCb);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
updateConfigurationSetEventDestination(args, optionsOrCb, cb) {
|
|
113
|
-
const command = new UpdateConfigurationSetEventDestinationCommand_1.UpdateConfigurationSetEventDestinationCommand(args);
|
|
114
|
-
if (typeof optionsOrCb === "function") {
|
|
115
|
-
this.send(command, optionsOrCb);
|
|
116
|
-
}
|
|
117
|
-
else if (typeof cb === "function") {
|
|
118
|
-
if (typeof optionsOrCb !== "object")
|
|
119
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
120
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
return this.send(command, optionsOrCb);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
25
|
}
|
|
127
26
|
exports.PinpointSMSVoice = PinpointSMSVoice;
|
|
27
|
+
(0, smithy_client_1.createAggregatedClient)(commands, PinpointSMSVoice);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { CreateConfigurationSetCommand, } from "./commands/CreateConfigurationSetCommand";
|
|
2
3
|
import { CreateConfigurationSetEventDestinationCommand, } from "./commands/CreateConfigurationSetEventDestinationCommand";
|
|
3
4
|
import { DeleteConfigurationSetCommand, } from "./commands/DeleteConfigurationSetCommand";
|
|
@@ -7,117 +8,16 @@ import { ListConfigurationSetsCommand, } from "./commands/ListConfigurationSetsC
|
|
|
7
8
|
import { SendVoiceMessageCommand, } from "./commands/SendVoiceMessageCommand";
|
|
8
9
|
import { UpdateConfigurationSetEventDestinationCommand, } from "./commands/UpdateConfigurationSetEventDestinationCommand";
|
|
9
10
|
import { PinpointSMSVoiceClient } from "./PinpointSMSVoiceClient";
|
|
11
|
+
const commands = {
|
|
12
|
+
CreateConfigurationSetCommand,
|
|
13
|
+
CreateConfigurationSetEventDestinationCommand,
|
|
14
|
+
DeleteConfigurationSetCommand,
|
|
15
|
+
DeleteConfigurationSetEventDestinationCommand,
|
|
16
|
+
GetConfigurationSetEventDestinationsCommand,
|
|
17
|
+
ListConfigurationSetsCommand,
|
|
18
|
+
SendVoiceMessageCommand,
|
|
19
|
+
UpdateConfigurationSetEventDestinationCommand,
|
|
20
|
+
};
|
|
10
21
|
export class PinpointSMSVoice extends PinpointSMSVoiceClient {
|
|
11
|
-
createConfigurationSet(args, optionsOrCb, cb) {
|
|
12
|
-
const command = new CreateConfigurationSetCommand(args);
|
|
13
|
-
if (typeof optionsOrCb === "function") {
|
|
14
|
-
this.send(command, optionsOrCb);
|
|
15
|
-
}
|
|
16
|
-
else if (typeof cb === "function") {
|
|
17
|
-
if (typeof optionsOrCb !== "object")
|
|
18
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
19
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
return this.send(command, optionsOrCb);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
createConfigurationSetEventDestination(args, optionsOrCb, cb) {
|
|
26
|
-
const command = new CreateConfigurationSetEventDestinationCommand(args);
|
|
27
|
-
if (typeof optionsOrCb === "function") {
|
|
28
|
-
this.send(command, optionsOrCb);
|
|
29
|
-
}
|
|
30
|
-
else if (typeof cb === "function") {
|
|
31
|
-
if (typeof optionsOrCb !== "object")
|
|
32
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
33
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
return this.send(command, optionsOrCb);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
deleteConfigurationSet(args, optionsOrCb, cb) {
|
|
40
|
-
const command = new DeleteConfigurationSetCommand(args);
|
|
41
|
-
if (typeof optionsOrCb === "function") {
|
|
42
|
-
this.send(command, optionsOrCb);
|
|
43
|
-
}
|
|
44
|
-
else if (typeof cb === "function") {
|
|
45
|
-
if (typeof optionsOrCb !== "object")
|
|
46
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
47
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
return this.send(command, optionsOrCb);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
deleteConfigurationSetEventDestination(args, optionsOrCb, cb) {
|
|
54
|
-
const command = new DeleteConfigurationSetEventDestinationCommand(args);
|
|
55
|
-
if (typeof optionsOrCb === "function") {
|
|
56
|
-
this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
else if (typeof cb === "function") {
|
|
59
|
-
if (typeof optionsOrCb !== "object")
|
|
60
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
61
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
return this.send(command, optionsOrCb);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
getConfigurationSetEventDestinations(args, optionsOrCb, cb) {
|
|
68
|
-
const command = new GetConfigurationSetEventDestinationsCommand(args);
|
|
69
|
-
if (typeof optionsOrCb === "function") {
|
|
70
|
-
this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
else if (typeof cb === "function") {
|
|
73
|
-
if (typeof optionsOrCb !== "object")
|
|
74
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
75
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
return this.send(command, optionsOrCb);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
listConfigurationSets(args, optionsOrCb, cb) {
|
|
82
|
-
const command = new ListConfigurationSetsCommand(args);
|
|
83
|
-
if (typeof optionsOrCb === "function") {
|
|
84
|
-
this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
else if (typeof cb === "function") {
|
|
87
|
-
if (typeof optionsOrCb !== "object")
|
|
88
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
89
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
return this.send(command, optionsOrCb);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
sendVoiceMessage(args, optionsOrCb, cb) {
|
|
96
|
-
const command = new SendVoiceMessageCommand(args);
|
|
97
|
-
if (typeof optionsOrCb === "function") {
|
|
98
|
-
this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
else if (typeof cb === "function") {
|
|
101
|
-
if (typeof optionsOrCb !== "object")
|
|
102
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
103
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
return this.send(command, optionsOrCb);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
updateConfigurationSetEventDestination(args, optionsOrCb, cb) {
|
|
110
|
-
const command = new UpdateConfigurationSetEventDestinationCommand(args);
|
|
111
|
-
if (typeof optionsOrCb === "function") {
|
|
112
|
-
this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
else if (typeof cb === "function") {
|
|
115
|
-
if (typeof optionsOrCb !== "object")
|
|
116
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
117
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
return this.send(command, optionsOrCb);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
22
|
}
|
|
23
|
+
createAggregatedClient(commands, PinpointSMSVoice);
|
|
@@ -8,65 +8,59 @@ import { ListConfigurationSetsCommandInput, ListConfigurationSetsCommandOutput }
|
|
|
8
8
|
import { SendVoiceMessageCommandInput, SendVoiceMessageCommandOutput } from "./commands/SendVoiceMessageCommand";
|
|
9
9
|
import { UpdateConfigurationSetEventDestinationCommandInput, UpdateConfigurationSetEventDestinationCommandOutput } from "./commands/UpdateConfigurationSetEventDestinationCommand";
|
|
10
10
|
import { PinpointSMSVoiceClient } from "./PinpointSMSVoiceClient";
|
|
11
|
-
|
|
12
|
-
* @public
|
|
13
|
-
* Pinpoint SMS and Voice Messaging public facing APIs
|
|
14
|
-
*/
|
|
15
|
-
export declare class PinpointSMSVoice extends PinpointSMSVoiceClient {
|
|
11
|
+
export interface PinpointSMSVoice {
|
|
16
12
|
/**
|
|
17
|
-
* @
|
|
18
|
-
* Create a new configuration set. After you create the configuration set, you can add one or more event destinations to it.
|
|
13
|
+
* @see {@link CreateConfigurationSetCommand}
|
|
19
14
|
*/
|
|
20
15
|
createConfigurationSet(args: CreateConfigurationSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateConfigurationSetCommandOutput>;
|
|
21
16
|
createConfigurationSet(args: CreateConfigurationSetCommandInput, cb: (err: any, data?: CreateConfigurationSetCommandOutput) => void): void;
|
|
22
17
|
createConfigurationSet(args: CreateConfigurationSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfigurationSetCommandOutput) => void): void;
|
|
23
18
|
/**
|
|
24
|
-
* @
|
|
25
|
-
* Create a new event destination in a configuration set.
|
|
19
|
+
* @see {@link CreateConfigurationSetEventDestinationCommand}
|
|
26
20
|
*/
|
|
27
21
|
createConfigurationSetEventDestination(args: CreateConfigurationSetEventDestinationCommandInput, options?: __HttpHandlerOptions): Promise<CreateConfigurationSetEventDestinationCommandOutput>;
|
|
28
22
|
createConfigurationSetEventDestination(args: CreateConfigurationSetEventDestinationCommandInput, cb: (err: any, data?: CreateConfigurationSetEventDestinationCommandOutput) => void): void;
|
|
29
23
|
createConfigurationSetEventDestination(args: CreateConfigurationSetEventDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfigurationSetEventDestinationCommandOutput) => void): void;
|
|
30
24
|
/**
|
|
31
|
-
* @
|
|
32
|
-
* Deletes an existing configuration set.
|
|
25
|
+
* @see {@link DeleteConfigurationSetCommand}
|
|
33
26
|
*/
|
|
34
27
|
deleteConfigurationSet(args: DeleteConfigurationSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConfigurationSetCommandOutput>;
|
|
35
28
|
deleteConfigurationSet(args: DeleteConfigurationSetCommandInput, cb: (err: any, data?: DeleteConfigurationSetCommandOutput) => void): void;
|
|
36
29
|
deleteConfigurationSet(args: DeleteConfigurationSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConfigurationSetCommandOutput) => void): void;
|
|
37
30
|
/**
|
|
38
|
-
* @
|
|
39
|
-
* Deletes an event destination in a configuration set.
|
|
31
|
+
* @see {@link DeleteConfigurationSetEventDestinationCommand}
|
|
40
32
|
*/
|
|
41
33
|
deleteConfigurationSetEventDestination(args: DeleteConfigurationSetEventDestinationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConfigurationSetEventDestinationCommandOutput>;
|
|
42
34
|
deleteConfigurationSetEventDestination(args: DeleteConfigurationSetEventDestinationCommandInput, cb: (err: any, data?: DeleteConfigurationSetEventDestinationCommandOutput) => void): void;
|
|
43
35
|
deleteConfigurationSetEventDestination(args: DeleteConfigurationSetEventDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConfigurationSetEventDestinationCommandOutput) => void): void;
|
|
44
36
|
/**
|
|
45
|
-
* @
|
|
46
|
-
* Obtain information about an event destination, including the types of events it reports, the Amazon Resource Name (ARN) of the destination, and the name of the event destination.
|
|
37
|
+
* @see {@link GetConfigurationSetEventDestinationsCommand}
|
|
47
38
|
*/
|
|
48
39
|
getConfigurationSetEventDestinations(args: GetConfigurationSetEventDestinationsCommandInput, options?: __HttpHandlerOptions): Promise<GetConfigurationSetEventDestinationsCommandOutput>;
|
|
49
40
|
getConfigurationSetEventDestinations(args: GetConfigurationSetEventDestinationsCommandInput, cb: (err: any, data?: GetConfigurationSetEventDestinationsCommandOutput) => void): void;
|
|
50
41
|
getConfigurationSetEventDestinations(args: GetConfigurationSetEventDestinationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfigurationSetEventDestinationsCommandOutput) => void): void;
|
|
51
42
|
/**
|
|
52
|
-
* @
|
|
53
|
-
* List all of the configuration sets associated with your Amazon Pinpoint account in the current region.
|
|
43
|
+
* @see {@link ListConfigurationSetsCommand}
|
|
54
44
|
*/
|
|
55
45
|
listConfigurationSets(args: ListConfigurationSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationSetsCommandOutput>;
|
|
56
46
|
listConfigurationSets(args: ListConfigurationSetsCommandInput, cb: (err: any, data?: ListConfigurationSetsCommandOutput) => void): void;
|
|
57
47
|
listConfigurationSets(args: ListConfigurationSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationSetsCommandOutput) => void): void;
|
|
58
48
|
/**
|
|
59
|
-
* @
|
|
60
|
-
* Create a new voice message and send it to a recipient's phone number.
|
|
49
|
+
* @see {@link SendVoiceMessageCommand}
|
|
61
50
|
*/
|
|
62
51
|
sendVoiceMessage(args: SendVoiceMessageCommandInput, options?: __HttpHandlerOptions): Promise<SendVoiceMessageCommandOutput>;
|
|
63
52
|
sendVoiceMessage(args: SendVoiceMessageCommandInput, cb: (err: any, data?: SendVoiceMessageCommandOutput) => void): void;
|
|
64
53
|
sendVoiceMessage(args: SendVoiceMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendVoiceMessageCommandOutput) => void): void;
|
|
65
54
|
/**
|
|
66
|
-
* @
|
|
67
|
-
* Update an event destination in a configuration set. An event destination is a location that you publish information about your voice calls to. For example, you can log an event to an Amazon CloudWatch destination when a call fails.
|
|
55
|
+
* @see {@link UpdateConfigurationSetEventDestinationCommand}
|
|
68
56
|
*/
|
|
69
57
|
updateConfigurationSetEventDestination(args: UpdateConfigurationSetEventDestinationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfigurationSetEventDestinationCommandOutput>;
|
|
70
58
|
updateConfigurationSetEventDestination(args: UpdateConfigurationSetEventDestinationCommandInput, cb: (err: any, data?: UpdateConfigurationSetEventDestinationCommandOutput) => void): void;
|
|
71
59
|
updateConfigurationSetEventDestination(args: UpdateConfigurationSetEventDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfigurationSetEventDestinationCommandOutput) => void): void;
|
|
72
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* Pinpoint SMS and Voice Messaging public facing APIs
|
|
64
|
+
*/
|
|
65
|
+
export declare class PinpointSMSVoice extends PinpointSMSVoiceClient implements PinpointSMSVoice {
|
|
66
|
+
}
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
UpdateConfigurationSetEventDestinationCommandOutput,
|
|
33
33
|
} from "./commands/UpdateConfigurationSetEventDestinationCommand";
|
|
34
34
|
import { PinpointSMSVoiceClient } from "./PinpointSMSVoiceClient";
|
|
35
|
-
export
|
|
35
|
+
export interface PinpointSMSVoice {
|
|
36
36
|
createConfigurationSet(
|
|
37
37
|
args: CreateConfigurationSetCommandInput,
|
|
38
38
|
options?: __HttpHandlerOptions
|
|
@@ -162,3 +162,6 @@ export declare class PinpointSMSVoice extends PinpointSMSVoiceClient {
|
|
|
162
162
|
) => void
|
|
163
163
|
): void;
|
|
164
164
|
}
|
|
165
|
+
export declare class PinpointSMSVoice
|
|
166
|
+
extends PinpointSMSVoiceClient
|
|
167
|
+
implements PinpointSMSVoice {}
|
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.316.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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|