@aws-sdk/client-pinpoint-sms-voice 3.533.0 → 3.540.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-cjs/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/PinpointSMSVoice.d.ts +4 -1
- package/dist-types/PinpointSMSVoiceClient.d.ts +1 -1
- package/dist-types/commands/CreateConfigurationSetCommand.d.ts +2 -1
- package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +2 -1
- package/dist-types/commands/GetConfigurationSetEventDestinationsCommand.d.ts +2 -1
- package/dist-types/commands/ListConfigurationSetsCommand.d.ts +2 -1
- package/dist-types/commands/SendVoiceMessageCommand.d.ts +2 -1
- package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +2 -1
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +75 -75
- package/dist-types/ts3.4/PinpointSMSVoice.d.ts +3 -0
- package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetConfigurationSetEventDestinationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SendVoiceMessageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/package.json +40 -40
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -805,9 +805,6 @@ var _PinpointSMSVoice = class _PinpointSMSVoice extends PinpointSMSVoiceClient {
|
|
|
805
805
|
__name(_PinpointSMSVoice, "PinpointSMSVoice");
|
|
806
806
|
var PinpointSMSVoice = _PinpointSMSVoice;
|
|
807
807
|
(0, import_smithy_client.createAggregatedClient)(commands, PinpointSMSVoice);
|
|
808
|
-
|
|
809
|
-
// src/index.ts
|
|
810
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
811
808
|
// Annotate the CommonJS export names for ESM import in node:
|
|
812
809
|
|
|
813
810
|
0 && (module.exports = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-es/index.js
CHANGED
|
@@ -12,6 +12,7 @@ export interface PinpointSMSVoice {
|
|
|
12
12
|
/**
|
|
13
13
|
* @see {@link CreateConfigurationSetCommand}
|
|
14
14
|
*/
|
|
15
|
+
createConfigurationSet(): Promise<CreateConfigurationSetCommandOutput>;
|
|
15
16
|
createConfigurationSet(args: CreateConfigurationSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateConfigurationSetCommandOutput>;
|
|
16
17
|
createConfigurationSet(args: CreateConfigurationSetCommandInput, cb: (err: any, data?: CreateConfigurationSetCommandOutput) => void): void;
|
|
17
18
|
createConfigurationSet(args: CreateConfigurationSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfigurationSetCommandOutput) => void): void;
|
|
@@ -42,12 +43,14 @@ export interface PinpointSMSVoice {
|
|
|
42
43
|
/**
|
|
43
44
|
* @see {@link ListConfigurationSetsCommand}
|
|
44
45
|
*/
|
|
46
|
+
listConfigurationSets(): Promise<ListConfigurationSetsCommandOutput>;
|
|
45
47
|
listConfigurationSets(args: ListConfigurationSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationSetsCommandOutput>;
|
|
46
48
|
listConfigurationSets(args: ListConfigurationSetsCommandInput, cb: (err: any, data?: ListConfigurationSetsCommandOutput) => void): void;
|
|
47
49
|
listConfigurationSets(args: ListConfigurationSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationSetsCommandOutput) => void): void;
|
|
48
50
|
/**
|
|
49
51
|
* @see {@link SendVoiceMessageCommand}
|
|
50
52
|
*/
|
|
53
|
+
sendVoiceMessage(): Promise<SendVoiceMessageCommandOutput>;
|
|
51
54
|
sendVoiceMessage(args: SendVoiceMessageCommandInput, options?: __HttpHandlerOptions): Promise<SendVoiceMessageCommandOutput>;
|
|
52
55
|
sendVoiceMessage(args: SendVoiceMessageCommandInput, cb: (err: any, data?: SendVoiceMessageCommandOutput) => void): void;
|
|
53
56
|
sendVoiceMessage(args: SendVoiceMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendVoiceMessageCommandOutput) => void): void;
|
|
@@ -59,8 +62,8 @@ export interface PinpointSMSVoice {
|
|
|
59
62
|
updateConfigurationSetEventDestination(args: UpdateConfigurationSetEventDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfigurationSetEventDestinationCommandOutput) => void): void;
|
|
60
63
|
}
|
|
61
64
|
/**
|
|
62
|
-
* @public
|
|
63
65
|
* Pinpoint SMS and Voice Messaging public facing APIs
|
|
66
|
+
* @public
|
|
64
67
|
*/
|
|
65
68
|
export declare class PinpointSMSVoice extends PinpointSMSVoiceClient implements PinpointSMSVoice {
|
|
66
69
|
}
|
|
@@ -159,8 +159,8 @@ export type PinpointSMSVoiceClientResolvedConfigType = __SmithyResolvedConfigura
|
|
|
159
159
|
export interface PinpointSMSVoiceClientResolvedConfig extends PinpointSMSVoiceClientResolvedConfigType {
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
|
-
* @public
|
|
163
162
|
* Pinpoint SMS and Voice Messaging public facing APIs
|
|
163
|
+
* @public
|
|
164
164
|
*/
|
|
165
165
|
export declare class PinpointSMSVoiceClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, PinpointSMSVoiceClientResolvedConfig> {
|
|
166
166
|
/**
|
|
@@ -22,10 +22,10 @@ export interface CreateConfigurationSetCommandOutput extends CreateConfiguration
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateConfigurationSetCommand_base: {
|
|
24
24
|
new (input: CreateConfigurationSetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [CreateConfigurationSetCommandInput]): import("@smithy/smithy-client").CommandImpl<CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* Create a new configuration set. After you create the configuration set, you can add one or more event destinations to it.
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -66,6 +66,7 @@ declare const CreateConfigurationSetCommand_base: {
|
|
|
66
66
|
* @throws {@link PinpointSMSVoiceServiceException}
|
|
67
67
|
* <p>Base exception class for all service exceptions from PinpointSMSVoice service.</p>
|
|
68
68
|
*
|
|
69
|
+
* @public
|
|
69
70
|
*/
|
|
70
71
|
export declare class CreateConfigurationSetCommand extends CreateConfigurationSetCommand_base {
|
|
71
72
|
}
|
|
@@ -22,10 +22,10 @@ export interface CreateConfigurationSetEventDestinationCommandOutput extends Cre
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateConfigurationSetEventDestinationCommand_base: {
|
|
24
24
|
new (input: CreateConfigurationSetEventDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateConfigurationSetEventDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* Create a new event destination in a configuration set.
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -87,6 +87,7 @@ declare const CreateConfigurationSetEventDestinationCommand_base: {
|
|
|
87
87
|
* @throws {@link PinpointSMSVoiceServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from PinpointSMSVoice service.</p>
|
|
89
89
|
*
|
|
90
|
+
* @public
|
|
90
91
|
*/
|
|
91
92
|
export declare class CreateConfigurationSetEventDestinationCommand extends CreateConfigurationSetEventDestinationCommand_base {
|
|
92
93
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteConfigurationSetCommandOutput extends DeleteConfiguration
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteConfigurationSetCommand_base: {
|
|
24
24
|
new (input: DeleteConfigurationSetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConfigurationSetCommandInput, DeleteConfigurationSetCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteConfigurationSetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConfigurationSetCommandInput, DeleteConfigurationSetCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* Deletes an existing configuration set.
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -63,6 +63,7 @@ declare const DeleteConfigurationSetCommand_base: {
|
|
|
63
63
|
* @throws {@link PinpointSMSVoiceServiceException}
|
|
64
64
|
* <p>Base exception class for all service exceptions from PinpointSMSVoice service.</p>
|
|
65
65
|
*
|
|
66
|
+
* @public
|
|
66
67
|
*/
|
|
67
68
|
export declare class DeleteConfigurationSetCommand extends DeleteConfigurationSetCommand_base {
|
|
68
69
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteConfigurationSetEventDestinationCommandOutput extends Del
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteConfigurationSetEventDestinationCommand_base: {
|
|
24
24
|
new (input: DeleteConfigurationSetEventDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConfigurationSetEventDestinationCommandInput, DeleteConfigurationSetEventDestinationCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteConfigurationSetEventDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConfigurationSetEventDestinationCommandInput, DeleteConfigurationSetEventDestinationCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* Deletes an event destination in a configuration set.
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -64,6 +64,7 @@ declare const DeleteConfigurationSetEventDestinationCommand_base: {
|
|
|
64
64
|
* @throws {@link PinpointSMSVoiceServiceException}
|
|
65
65
|
* <p>Base exception class for all service exceptions from PinpointSMSVoice service.</p>
|
|
66
66
|
*
|
|
67
|
+
* @public
|
|
67
68
|
*/
|
|
68
69
|
export declare class DeleteConfigurationSetEventDestinationCommand extends DeleteConfigurationSetEventDestinationCommand_base {
|
|
69
70
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetConfigurationSetEventDestinationsCommandOutput extends GetCo
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetConfigurationSetEventDestinationsCommand_base: {
|
|
24
24
|
new (input: GetConfigurationSetEventDestinationsCommandInput): import("@smithy/smithy-client").CommandImpl<GetConfigurationSetEventDestinationsCommandInput, GetConfigurationSetEventDestinationsCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetConfigurationSetEventDestinationsCommandInput): import("@smithy/smithy-client").CommandImpl<GetConfigurationSetEventDestinationsCommandInput, GetConfigurationSetEventDestinationsCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* 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.
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -84,6 +84,7 @@ declare const GetConfigurationSetEventDestinationsCommand_base: {
|
|
|
84
84
|
* @throws {@link PinpointSMSVoiceServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from PinpointSMSVoice service.</p>
|
|
86
86
|
*
|
|
87
|
+
* @public
|
|
87
88
|
*/
|
|
88
89
|
export declare class GetConfigurationSetEventDestinationsCommand extends GetConfigurationSetEventDestinationsCommand_base {
|
|
89
90
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListConfigurationSetsCommandOutput extends ListConfigurationSet
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListConfigurationSetsCommand_base: {
|
|
24
24
|
new (input: ListConfigurationSetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConfigurationSetsCommandInput, ListConfigurationSetsCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListConfigurationSetsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListConfigurationSetsCommandInput, ListConfigurationSetsCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* List all of the configuration sets associated with your Amazon Pinpoint account in the current region.
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -66,6 +66,7 @@ declare const ListConfigurationSetsCommand_base: {
|
|
|
66
66
|
* @throws {@link PinpointSMSVoiceServiceException}
|
|
67
67
|
* <p>Base exception class for all service exceptions from PinpointSMSVoice service.</p>
|
|
68
68
|
*
|
|
69
|
+
* @public
|
|
69
70
|
*/
|
|
70
71
|
export declare class ListConfigurationSetsCommand extends ListConfigurationSetsCommand_base {
|
|
71
72
|
}
|
|
@@ -22,10 +22,10 @@ export interface SendVoiceMessageCommandOutput extends SendVoiceMessageResponse,
|
|
|
22
22
|
}
|
|
23
23
|
declare const SendVoiceMessageCommand_base: {
|
|
24
24
|
new (input: SendVoiceMessageCommandInput): import("@smithy/smithy-client").CommandImpl<SendVoiceMessageCommandInput, SendVoiceMessageCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [SendVoiceMessageCommandInput]): import("@smithy/smithy-client").CommandImpl<SendVoiceMessageCommandInput, SendVoiceMessageCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* Create a new voice message and send it to a recipient's phone number.
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -80,6 +80,7 @@ declare const SendVoiceMessageCommand_base: {
|
|
|
80
80
|
* @throws {@link PinpointSMSVoiceServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from PinpointSMSVoice service.</p>
|
|
82
82
|
*
|
|
83
|
+
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class SendVoiceMessageCommand extends SendVoiceMessageCommand_base {
|
|
85
86
|
}
|
|
@@ -22,10 +22,10 @@ export interface UpdateConfigurationSetEventDestinationCommandOutput extends Upd
|
|
|
22
22
|
}
|
|
23
23
|
declare const UpdateConfigurationSetEventDestinationCommand_base: {
|
|
24
24
|
new (input: UpdateConfigurationSetEventDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateConfigurationSetEventDestinationCommandInput, UpdateConfigurationSetEventDestinationCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateConfigurationSetEventDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateConfigurationSetEventDestinationCommandInput, UpdateConfigurationSetEventDestinationCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* 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.
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -81,6 +81,7 @@ declare const UpdateConfigurationSetEventDestinationCommand_base: {
|
|
|
81
81
|
* @throws {@link PinpointSMSVoiceServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from PinpointSMSVoice service.</p>
|
|
83
83
|
*
|
|
84
|
+
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class UpdateConfigurationSetEventDestinationCommand extends UpdateConfigurationSetEventDestinationCommand_base {
|
|
86
87
|
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,4 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export { PinpointSMSVoiceExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./models";
|
|
13
|
-
import "@aws-sdk/util-endpoints";
|
|
14
13
|
export { PinpointSMSVoiceServiceException } from "./models/PinpointSMSVoiceServiceException";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { PinpointSMSVoiceServiceException as __BaseException } from "./PinpointSMSVoiceServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* The resource specified in your request already exists.
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AlreadyExistsException extends __BaseException {
|
|
8
8
|
readonly name: "AlreadyExistsException";
|
|
@@ -14,8 +14,8 @@ export declare class AlreadyExistsException extends __BaseException {
|
|
|
14
14
|
constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* @public
|
|
18
17
|
* The input you provided is invalid.
|
|
18
|
+
* @public
|
|
19
19
|
*/
|
|
20
20
|
export declare class BadRequestException extends __BaseException {
|
|
21
21
|
readonly name: "BadRequestException";
|
|
@@ -27,52 +27,52 @@ export declare class BadRequestException extends __BaseException {
|
|
|
27
27
|
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* @public
|
|
31
30
|
* An object that defines a message that contains text formatted using Amazon Pinpoint Voice Instructions markup.
|
|
31
|
+
* @public
|
|
32
32
|
*/
|
|
33
33
|
export interface CallInstructionsMessageType {
|
|
34
34
|
/**
|
|
35
|
-
* @public
|
|
36
35
|
* The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.
|
|
36
|
+
* @public
|
|
37
37
|
*/
|
|
38
38
|
Text?: string;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* @public
|
|
42
41
|
* An object that contains information about an event destination that sends data to Amazon CloudWatch Logs.
|
|
42
|
+
* @public
|
|
43
43
|
*/
|
|
44
44
|
export interface CloudWatchLogsDestination {
|
|
45
45
|
/**
|
|
46
|
-
* @public
|
|
47
46
|
* The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.
|
|
47
|
+
* @public
|
|
48
48
|
*/
|
|
49
49
|
IamRoleArn?: string;
|
|
50
50
|
/**
|
|
51
|
-
* @public
|
|
52
51
|
* The name of the Amazon CloudWatch Log Group that you want to record events in.
|
|
52
|
+
* @public
|
|
53
53
|
*/
|
|
54
54
|
LogGroupArn?: string;
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
|
-
* @public
|
|
58
57
|
* A request to create a new configuration set.
|
|
58
|
+
* @public
|
|
59
59
|
*/
|
|
60
60
|
export interface CreateConfigurationSetRequest {
|
|
61
61
|
/**
|
|
62
|
-
* @public
|
|
63
62
|
* The name that you want to give the configuration set.
|
|
63
|
+
* @public
|
|
64
64
|
*/
|
|
65
65
|
ConfigurationSetName?: string;
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
|
-
* @public
|
|
69
68
|
* An empty object that indicates that the configuration set was successfully created.
|
|
69
|
+
* @public
|
|
70
70
|
*/
|
|
71
71
|
export interface CreateConfigurationSetResponse {
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
* @public
|
|
75
74
|
* The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
|
|
75
|
+
* @public
|
|
76
76
|
*/
|
|
77
77
|
export declare class InternalServiceErrorException extends __BaseException {
|
|
78
78
|
readonly name: "InternalServiceErrorException";
|
|
@@ -84,8 +84,8 @@ export declare class InternalServiceErrorException extends __BaseException {
|
|
|
84
84
|
constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
|
-
* @public
|
|
88
87
|
* There are too many instances of the specified resource type.
|
|
88
|
+
* @public
|
|
89
89
|
*/
|
|
90
90
|
export declare class LimitExceededException extends __BaseException {
|
|
91
91
|
readonly name: "LimitExceededException";
|
|
@@ -97,8 +97,8 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
97
97
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
|
-
* @public
|
|
101
100
|
* You've issued too many requests to the resource. Wait a few minutes, and then try again.
|
|
101
|
+
* @public
|
|
102
102
|
*/
|
|
103
103
|
export declare class TooManyRequestsException extends __BaseException {
|
|
104
104
|
readonly name: "TooManyRequestsException";
|
|
@@ -110,18 +110,18 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
110
110
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
|
-
* @public
|
|
114
113
|
* An object that contains information about an event destination that sends data to Amazon Kinesis Data Firehose.
|
|
114
|
+
* @public
|
|
115
115
|
*/
|
|
116
116
|
export interface KinesisFirehoseDestination {
|
|
117
117
|
/**
|
|
118
|
-
* @public
|
|
119
118
|
* The Amazon Resource Name (ARN) of an IAM role that can write data to an Amazon Kinesis Data Firehose stream.
|
|
119
|
+
* @public
|
|
120
120
|
*/
|
|
121
121
|
DeliveryStreamArn?: string;
|
|
122
122
|
/**
|
|
123
|
-
* @public
|
|
124
123
|
* The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose destination that you want to use in the event destination.
|
|
124
|
+
* @public
|
|
125
125
|
*/
|
|
126
126
|
IamRoleArn?: string;
|
|
127
127
|
}
|
|
@@ -143,77 +143,77 @@ export declare const EventType: {
|
|
|
143
143
|
*/
|
|
144
144
|
export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
145
145
|
/**
|
|
146
|
-
* @public
|
|
147
146
|
* An object that contains information about an event destination that sends data to Amazon SNS.
|
|
147
|
+
* @public
|
|
148
148
|
*/
|
|
149
149
|
export interface SnsDestination {
|
|
150
150
|
/**
|
|
151
|
-
* @public
|
|
152
151
|
* The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.
|
|
152
|
+
* @public
|
|
153
153
|
*/
|
|
154
154
|
TopicArn?: string;
|
|
155
155
|
}
|
|
156
156
|
/**
|
|
157
|
-
* @public
|
|
158
157
|
* An object that defines a single event destination.
|
|
158
|
+
* @public
|
|
159
159
|
*/
|
|
160
160
|
export interface EventDestinationDefinition {
|
|
161
161
|
/**
|
|
162
|
-
* @public
|
|
163
162
|
* An object that contains information about an event destination that sends data to Amazon CloudWatch Logs.
|
|
163
|
+
* @public
|
|
164
164
|
*/
|
|
165
165
|
CloudWatchLogsDestination?: CloudWatchLogsDestination;
|
|
166
166
|
/**
|
|
167
|
-
* @public
|
|
168
167
|
* Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination.
|
|
168
|
+
* @public
|
|
169
169
|
*/
|
|
170
170
|
Enabled?: boolean;
|
|
171
171
|
/**
|
|
172
|
-
* @public
|
|
173
172
|
* An object that contains information about an event destination that sends data to Amazon Kinesis Data Firehose.
|
|
173
|
+
* @public
|
|
174
174
|
*/
|
|
175
175
|
KinesisFirehoseDestination?: KinesisFirehoseDestination;
|
|
176
176
|
/**
|
|
177
|
-
* @public
|
|
178
177
|
* An array of EventDestination objects. Each EventDestination object includes ARNs and other information that define an event destination.
|
|
178
|
+
* @public
|
|
179
179
|
*/
|
|
180
180
|
MatchingEventTypes?: EventType[];
|
|
181
181
|
/**
|
|
182
|
-
* @public
|
|
183
182
|
* An object that contains information about an event destination that sends data to Amazon SNS.
|
|
183
|
+
* @public
|
|
184
184
|
*/
|
|
185
185
|
SnsDestination?: SnsDestination;
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
188
|
-
* @public
|
|
189
188
|
* Create a new event destination in a configuration set.
|
|
189
|
+
* @public
|
|
190
190
|
*/
|
|
191
191
|
export interface CreateConfigurationSetEventDestinationRequest {
|
|
192
192
|
/**
|
|
193
|
-
* @public
|
|
194
193
|
* ConfigurationSetName
|
|
194
|
+
* @public
|
|
195
195
|
*/
|
|
196
196
|
ConfigurationSetName: string | undefined;
|
|
197
197
|
/**
|
|
198
|
-
* @public
|
|
199
198
|
* An object that defines a single event destination.
|
|
199
|
+
* @public
|
|
200
200
|
*/
|
|
201
201
|
EventDestination?: EventDestinationDefinition;
|
|
202
202
|
/**
|
|
203
|
-
* @public
|
|
204
203
|
* A name that identifies the event destination.
|
|
204
|
+
* @public
|
|
205
205
|
*/
|
|
206
206
|
EventDestinationName?: string;
|
|
207
207
|
}
|
|
208
208
|
/**
|
|
209
|
-
* @public
|
|
210
209
|
* An empty object that indicates that the event destination was created successfully.
|
|
210
|
+
* @public
|
|
211
211
|
*/
|
|
212
212
|
export interface CreateConfigurationSetEventDestinationResponse {
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
|
-
* @public
|
|
216
215
|
* The resource you attempted to access doesn't exist.
|
|
216
|
+
* @public
|
|
217
217
|
*/
|
|
218
218
|
export declare class NotFoundException extends __BaseException {
|
|
219
219
|
readonly name: "NotFoundException";
|
|
@@ -229,14 +229,14 @@ export declare class NotFoundException extends __BaseException {
|
|
|
229
229
|
*/
|
|
230
230
|
export interface DeleteConfigurationSetRequest {
|
|
231
231
|
/**
|
|
232
|
-
* @public
|
|
233
232
|
* ConfigurationSetName
|
|
233
|
+
* @public
|
|
234
234
|
*/
|
|
235
235
|
ConfigurationSetName: string | undefined;
|
|
236
236
|
}
|
|
237
237
|
/**
|
|
238
|
-
* @public
|
|
239
238
|
* An empty object that indicates that the configuration set was deleted successfully.
|
|
239
|
+
* @public
|
|
240
240
|
*/
|
|
241
241
|
export interface DeleteConfigurationSetResponse {
|
|
242
242
|
}
|
|
@@ -245,55 +245,55 @@ export interface DeleteConfigurationSetResponse {
|
|
|
245
245
|
*/
|
|
246
246
|
export interface DeleteConfigurationSetEventDestinationRequest {
|
|
247
247
|
/**
|
|
248
|
-
* @public
|
|
249
248
|
* ConfigurationSetName
|
|
249
|
+
* @public
|
|
250
250
|
*/
|
|
251
251
|
ConfigurationSetName: string | undefined;
|
|
252
252
|
/**
|
|
253
|
-
* @public
|
|
254
253
|
* EventDestinationName
|
|
254
|
+
* @public
|
|
255
255
|
*/
|
|
256
256
|
EventDestinationName: string | undefined;
|
|
257
257
|
}
|
|
258
258
|
/**
|
|
259
|
-
* @public
|
|
260
259
|
* An empty object that indicates that the event destination was deleted successfully.
|
|
260
|
+
* @public
|
|
261
261
|
*/
|
|
262
262
|
export interface DeleteConfigurationSetEventDestinationResponse {
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
|
-
* @public
|
|
266
265
|
* An object that defines an event destination.
|
|
266
|
+
* @public
|
|
267
267
|
*/
|
|
268
268
|
export interface EventDestination {
|
|
269
269
|
/**
|
|
270
|
-
* @public
|
|
271
270
|
* An object that contains information about an event destination that sends data to Amazon CloudWatch Logs.
|
|
271
|
+
* @public
|
|
272
272
|
*/
|
|
273
273
|
CloudWatchLogsDestination?: CloudWatchLogsDestination;
|
|
274
274
|
/**
|
|
275
|
-
* @public
|
|
276
275
|
* Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination.
|
|
276
|
+
* @public
|
|
277
277
|
*/
|
|
278
278
|
Enabled?: boolean;
|
|
279
279
|
/**
|
|
280
|
-
* @public
|
|
281
280
|
* An object that contains information about an event destination that sends data to Amazon Kinesis Data Firehose.
|
|
281
|
+
* @public
|
|
282
282
|
*/
|
|
283
283
|
KinesisFirehoseDestination?: KinesisFirehoseDestination;
|
|
284
284
|
/**
|
|
285
|
-
* @public
|
|
286
285
|
* An array of EventDestination objects. Each EventDestination object includes ARNs and other information that define an event destination.
|
|
286
|
+
* @public
|
|
287
287
|
*/
|
|
288
288
|
MatchingEventTypes?: EventType[];
|
|
289
289
|
/**
|
|
290
|
-
* @public
|
|
291
290
|
* A name that identifies the event destination configuration.
|
|
291
|
+
* @public
|
|
292
292
|
*/
|
|
293
293
|
Name?: string;
|
|
294
294
|
/**
|
|
295
|
-
* @public
|
|
296
295
|
* An object that contains information about an event destination that sends data to Amazon SNS.
|
|
296
|
+
* @public
|
|
297
297
|
*/
|
|
298
298
|
SnsDestination?: SnsDestination;
|
|
299
299
|
}
|
|
@@ -302,19 +302,19 @@ export interface EventDestination {
|
|
|
302
302
|
*/
|
|
303
303
|
export interface GetConfigurationSetEventDestinationsRequest {
|
|
304
304
|
/**
|
|
305
|
-
* @public
|
|
306
305
|
* ConfigurationSetName
|
|
306
|
+
* @public
|
|
307
307
|
*/
|
|
308
308
|
ConfigurationSetName: string | undefined;
|
|
309
309
|
}
|
|
310
310
|
/**
|
|
311
|
-
* @public
|
|
312
311
|
* An object that contains information about an event destination.
|
|
312
|
+
* @public
|
|
313
313
|
*/
|
|
314
314
|
export interface GetConfigurationSetEventDestinationsResponse {
|
|
315
315
|
/**
|
|
316
|
-
* @public
|
|
317
316
|
* An array of EventDestination objects. Each EventDestination object includes ARNs and other information that define an event destination.
|
|
317
|
+
* @public
|
|
318
318
|
*/
|
|
319
319
|
EventDestinations?: EventDestination[];
|
|
320
320
|
}
|
|
@@ -323,161 +323,161 @@ export interface GetConfigurationSetEventDestinationsResponse {
|
|
|
323
323
|
*/
|
|
324
324
|
export interface ListConfigurationSetsRequest {
|
|
325
325
|
/**
|
|
326
|
-
* @public
|
|
327
326
|
* A token returned from a previous call to the API that indicates the position in the list of results.
|
|
327
|
+
* @public
|
|
328
328
|
*/
|
|
329
329
|
NextToken?: string;
|
|
330
330
|
/**
|
|
331
|
-
* @public
|
|
332
331
|
* Used to specify the number of items that should be returned in the response.
|
|
332
|
+
* @public
|
|
333
333
|
*/
|
|
334
334
|
PageSize?: string;
|
|
335
335
|
}
|
|
336
336
|
/**
|
|
337
|
-
* @public
|
|
338
337
|
* An object that contains information about the configuration sets for your account in the current region.
|
|
338
|
+
* @public
|
|
339
339
|
*/
|
|
340
340
|
export interface ListConfigurationSetsResponse {
|
|
341
341
|
/**
|
|
342
|
-
* @public
|
|
343
342
|
* An object that contains a list of configuration sets for your account in the current region.
|
|
343
|
+
* @public
|
|
344
344
|
*/
|
|
345
345
|
ConfigurationSets?: string[];
|
|
346
346
|
/**
|
|
347
|
-
* @public
|
|
348
347
|
* A token returned from a previous call to ListConfigurationSets to indicate the position in the list of configuration sets.
|
|
348
|
+
* @public
|
|
349
349
|
*/
|
|
350
350
|
NextToken?: string;
|
|
351
351
|
}
|
|
352
352
|
/**
|
|
353
|
-
* @public
|
|
354
353
|
* An object that defines a message that contains unformatted text.
|
|
354
|
+
* @public
|
|
355
355
|
*/
|
|
356
356
|
export interface PlainTextMessageType {
|
|
357
357
|
/**
|
|
358
|
-
* @public
|
|
359
358
|
* The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.
|
|
359
|
+
* @public
|
|
360
360
|
*/
|
|
361
361
|
LanguageCode?: string;
|
|
362
362
|
/**
|
|
363
|
-
* @public
|
|
364
363
|
* The plain (not SSML-formatted) text to deliver to the recipient.
|
|
364
|
+
* @public
|
|
365
365
|
*/
|
|
366
366
|
Text?: string;
|
|
367
367
|
/**
|
|
368
|
-
* @public
|
|
369
368
|
* The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide.
|
|
369
|
+
* @public
|
|
370
370
|
*/
|
|
371
371
|
VoiceId?: string;
|
|
372
372
|
}
|
|
373
373
|
/**
|
|
374
|
-
* @public
|
|
375
374
|
* An object that defines a message that contains SSML-formatted text.
|
|
375
|
+
* @public
|
|
376
376
|
*/
|
|
377
377
|
export interface SSMLMessageType {
|
|
378
378
|
/**
|
|
379
|
-
* @public
|
|
380
379
|
* The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.
|
|
380
|
+
* @public
|
|
381
381
|
*/
|
|
382
382
|
LanguageCode?: string;
|
|
383
383
|
/**
|
|
384
|
-
* @public
|
|
385
384
|
* The SSML-formatted text to deliver to the recipient.
|
|
385
|
+
* @public
|
|
386
386
|
*/
|
|
387
387
|
Text?: string;
|
|
388
388
|
/**
|
|
389
|
-
* @public
|
|
390
389
|
* The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide.
|
|
390
|
+
* @public
|
|
391
391
|
*/
|
|
392
392
|
VoiceId?: string;
|
|
393
393
|
}
|
|
394
394
|
/**
|
|
395
|
-
* @public
|
|
396
395
|
* An object that contains a voice message and information about the recipient that you want to send it to.
|
|
396
|
+
* @public
|
|
397
397
|
*/
|
|
398
398
|
export interface VoiceMessageContent {
|
|
399
399
|
/**
|
|
400
|
-
* @public
|
|
401
400
|
* An object that defines a message that contains text formatted using Amazon Pinpoint Voice Instructions markup.
|
|
401
|
+
* @public
|
|
402
402
|
*/
|
|
403
403
|
CallInstructionsMessage?: CallInstructionsMessageType;
|
|
404
404
|
/**
|
|
405
|
-
* @public
|
|
406
405
|
* An object that defines a message that contains unformatted text.
|
|
406
|
+
* @public
|
|
407
407
|
*/
|
|
408
408
|
PlainTextMessage?: PlainTextMessageType;
|
|
409
409
|
/**
|
|
410
|
-
* @public
|
|
411
410
|
* An object that defines a message that contains SSML-formatted text.
|
|
411
|
+
* @public
|
|
412
412
|
*/
|
|
413
413
|
SSMLMessage?: SSMLMessageType;
|
|
414
414
|
}
|
|
415
415
|
/**
|
|
416
|
-
* @public
|
|
417
416
|
* SendVoiceMessageRequest
|
|
417
|
+
* @public
|
|
418
418
|
*/
|
|
419
419
|
export interface SendVoiceMessageRequest {
|
|
420
420
|
/**
|
|
421
|
-
* @public
|
|
422
421
|
* The phone number that appears on recipients' devices when they receive the message.
|
|
422
|
+
* @public
|
|
423
423
|
*/
|
|
424
424
|
CallerId?: string;
|
|
425
425
|
/**
|
|
426
|
-
* @public
|
|
427
426
|
* The name of the configuration set that you want to use to send the message.
|
|
427
|
+
* @public
|
|
428
428
|
*/
|
|
429
429
|
ConfigurationSetName?: string;
|
|
430
430
|
/**
|
|
431
|
-
* @public
|
|
432
431
|
* An object that contains a voice message and information about the recipient that you want to send it to.
|
|
432
|
+
* @public
|
|
433
433
|
*/
|
|
434
434
|
Content?: VoiceMessageContent;
|
|
435
435
|
/**
|
|
436
|
-
* @public
|
|
437
436
|
* The phone number that you want to send the voice message to.
|
|
437
|
+
* @public
|
|
438
438
|
*/
|
|
439
439
|
DestinationPhoneNumber?: string;
|
|
440
440
|
/**
|
|
441
|
-
* @public
|
|
442
441
|
* The phone number that Amazon Pinpoint should use to send the voice message. This isn't necessarily the phone number that appears on recipients' devices when they receive the message, because you can specify a CallerId parameter in the request.
|
|
442
|
+
* @public
|
|
443
443
|
*/
|
|
444
444
|
OriginationPhoneNumber?: string;
|
|
445
445
|
}
|
|
446
446
|
/**
|
|
447
|
-
* @public
|
|
448
447
|
* An object that that contains the Message ID of a Voice message that was sent successfully.
|
|
448
|
+
* @public
|
|
449
449
|
*/
|
|
450
450
|
export interface SendVoiceMessageResponse {
|
|
451
451
|
/**
|
|
452
|
-
* @public
|
|
453
452
|
* A unique identifier for the voice message.
|
|
453
|
+
* @public
|
|
454
454
|
*/
|
|
455
455
|
MessageId?: string;
|
|
456
456
|
}
|
|
457
457
|
/**
|
|
458
|
-
* @public
|
|
459
458
|
* UpdateConfigurationSetEventDestinationRequest
|
|
459
|
+
* @public
|
|
460
460
|
*/
|
|
461
461
|
export interface UpdateConfigurationSetEventDestinationRequest {
|
|
462
462
|
/**
|
|
463
|
-
* @public
|
|
464
463
|
* ConfigurationSetName
|
|
464
|
+
* @public
|
|
465
465
|
*/
|
|
466
466
|
ConfigurationSetName: string | undefined;
|
|
467
467
|
/**
|
|
468
|
-
* @public
|
|
469
468
|
* An object that defines a single event destination.
|
|
469
|
+
* @public
|
|
470
470
|
*/
|
|
471
471
|
EventDestination?: EventDestinationDefinition;
|
|
472
472
|
/**
|
|
473
|
-
* @public
|
|
474
473
|
* EventDestinationName
|
|
474
|
+
* @public
|
|
475
475
|
*/
|
|
476
476
|
EventDestinationName: string | undefined;
|
|
477
477
|
}
|
|
478
478
|
/**
|
|
479
|
-
* @public
|
|
480
479
|
* An empty object that indicates that the event destination was updated successfully.
|
|
480
|
+
* @public
|
|
481
481
|
*/
|
|
482
482
|
export interface UpdateConfigurationSetEventDestinationResponse {
|
|
483
483
|
}
|
|
@@ -33,6 +33,7 @@ import {
|
|
|
33
33
|
} from "./commands/UpdateConfigurationSetEventDestinationCommand";
|
|
34
34
|
import { PinpointSMSVoiceClient } from "./PinpointSMSVoiceClient";
|
|
35
35
|
export interface PinpointSMSVoice {
|
|
36
|
+
createConfigurationSet(): Promise<CreateConfigurationSetCommandOutput>;
|
|
36
37
|
createConfigurationSet(
|
|
37
38
|
args: CreateConfigurationSetCommandInput,
|
|
38
39
|
options?: __HttpHandlerOptions
|
|
@@ -116,6 +117,7 @@ export interface PinpointSMSVoice {
|
|
|
116
117
|
data?: GetConfigurationSetEventDestinationsCommandOutput
|
|
117
118
|
) => void
|
|
118
119
|
): void;
|
|
120
|
+
listConfigurationSets(): Promise<ListConfigurationSetsCommandOutput>;
|
|
119
121
|
listConfigurationSets(
|
|
120
122
|
args: ListConfigurationSetsCommandInput,
|
|
121
123
|
options?: __HttpHandlerOptions
|
|
@@ -129,6 +131,7 @@ export interface PinpointSMSVoice {
|
|
|
129
131
|
options: __HttpHandlerOptions,
|
|
130
132
|
cb: (err: any, data?: ListConfigurationSetsCommandOutput) => void
|
|
131
133
|
): void;
|
|
134
|
+
sendVoiceMessage(): Promise<SendVoiceMessageCommandOutput>;
|
|
132
135
|
sendVoiceMessage(
|
|
133
136
|
args: SendVoiceMessageCommandInput,
|
|
134
137
|
options?: __HttpHandlerOptions
|
|
@@ -25,6 +25,15 @@ declare const CreateConfigurationSetCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [CreateConfigurationSetCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
CreateConfigurationSetCommandInput,
|
|
32
|
+
CreateConfigurationSetCommandOutput,
|
|
33
|
+
PinpointSMSVoiceClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class CreateConfigurationSetCommand extends CreateConfigurationSetCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const CreateConfigurationSetEventDestinationCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: CreateConfigurationSetEventDestinationCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
CreateConfigurationSetEventDestinationCommandInput,
|
|
32
|
+
CreateConfigurationSetEventDestinationCommandOutput,
|
|
33
|
+
PinpointSMSVoiceClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class CreateConfigurationSetEventDestinationCommand extends CreateConfigurationSetEventDestinationCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const DeleteConfigurationSetCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: DeleteConfigurationSetCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
DeleteConfigurationSetCommandInput,
|
|
32
|
+
DeleteConfigurationSetCommandOutput,
|
|
33
|
+
PinpointSMSVoiceClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class DeleteConfigurationSetCommand extends DeleteConfigurationSetCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const DeleteConfigurationSetEventDestinationCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: DeleteConfigurationSetEventDestinationCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
DeleteConfigurationSetEventDestinationCommandInput,
|
|
32
|
+
DeleteConfigurationSetEventDestinationCommandOutput,
|
|
33
|
+
PinpointSMSVoiceClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class DeleteConfigurationSetEventDestinationCommand extends DeleteConfigurationSetEventDestinationCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const GetConfigurationSetEventDestinationsCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: GetConfigurationSetEventDestinationsCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetConfigurationSetEventDestinationsCommandInput,
|
|
32
|
+
GetConfigurationSetEventDestinationsCommandOutput,
|
|
33
|
+
PinpointSMSVoiceClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class GetConfigurationSetEventDestinationsCommand extends GetConfigurationSetEventDestinationsCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const ListConfigurationSetsCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [ListConfigurationSetsCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListConfigurationSetsCommandInput,
|
|
32
|
+
ListConfigurationSetsCommandOutput,
|
|
33
|
+
PinpointSMSVoiceClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class ListConfigurationSetsCommand extends ListConfigurationSetsCommand_base {}
|
|
@@ -24,6 +24,15 @@ declare const SendVoiceMessageCommand_base: {
|
|
|
24
24
|
ServiceInputTypes,
|
|
25
25
|
ServiceOutputTypes
|
|
26
26
|
>;
|
|
27
|
+
new (
|
|
28
|
+
...[input]: [] | [SendVoiceMessageCommandInput]
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
SendVoiceMessageCommandInput,
|
|
31
|
+
SendVoiceMessageCommandOutput,
|
|
32
|
+
PinpointSMSVoiceClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
27
36
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
37
|
};
|
|
29
38
|
export declare class SendVoiceMessageCommand extends SendVoiceMessageCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const UpdateConfigurationSetEventDestinationCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: UpdateConfigurationSetEventDestinationCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UpdateConfigurationSetEventDestinationCommandInput,
|
|
32
|
+
UpdateConfigurationSetEventDestinationCommandOutput,
|
|
33
|
+
PinpointSMSVoiceClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class UpdateConfigurationSetEventDestinationCommand extends UpdateConfigurationSetEventDestinationCommand_base {}
|
|
@@ -5,5 +5,4 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { PinpointSMSVoiceExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./models";
|
|
8
|
-
import "@aws-sdk/util-endpoints";
|
|
9
8
|
export { PinpointSMSVoiceServiceException } from "./models/PinpointSMSVoiceServiceException";
|
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.540.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-pinpoint-sms-voice",
|
|
@@ -20,47 +20,47 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.
|
|
36
|
-
"@smithy/core": "^1.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.
|
|
38
|
-
"@smithy/hash-node": "^2.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
43
|
-
"@smithy/middleware-serde": "^2.
|
|
44
|
-
"@smithy/middleware-stack": "^2.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.
|
|
47
|
-
"@smithy/protocol-http": "^3.
|
|
48
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.
|
|
51
|
-
"@smithy/util-base64": "^2.
|
|
52
|
-
"@smithy/util-body-length-browser": "^2.
|
|
53
|
-
"@smithy/util-body-length-node": "^2.
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.
|
|
57
|
-
"@smithy/util-middleware": "^2.
|
|
58
|
-
"@smithy/util-retry": "^2.
|
|
59
|
-
"@smithy/util-utf8": "^2.
|
|
60
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.540.0",
|
|
24
|
+
"@aws-sdk/core": "3.535.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.540.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
|
+
"@aws-sdk/types": "3.535.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
+
"@smithy/core": "^1.4.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
|
+
"@smithy/hash-node": "^2.2.0",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
+
"@smithy/middleware-retry": "^2.2.0",
|
|
43
|
+
"@smithy/middleware-serde": "^2.3.0",
|
|
44
|
+
"@smithy/middleware-stack": "^2.2.0",
|
|
45
|
+
"@smithy/node-config-provider": "^2.3.0",
|
|
46
|
+
"@smithy/node-http-handler": "^2.5.0",
|
|
47
|
+
"@smithy/protocol-http": "^3.3.0",
|
|
48
|
+
"@smithy/smithy-client": "^2.5.0",
|
|
49
|
+
"@smithy/types": "^2.12.0",
|
|
50
|
+
"@smithy/url-parser": "^2.2.0",
|
|
51
|
+
"@smithy/util-base64": "^2.3.0",
|
|
52
|
+
"@smithy/util-body-length-browser": "^2.2.0",
|
|
53
|
+
"@smithy/util-body-length-node": "^2.3.0",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.3.0",
|
|
56
|
+
"@smithy/util-endpoints": "^1.2.0",
|
|
57
|
+
"@smithy/util-middleware": "^2.2.0",
|
|
58
|
+
"@smithy/util-retry": "^2.2.0",
|
|
59
|
+
"@smithy/util-utf8": "^2.3.0",
|
|
60
|
+
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
63
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
64
64
|
"@tsconfig/node14": "1.0.3",
|
|
65
65
|
"@types/node": "^14.14.31",
|
|
66
66
|
"concurrently": "7.0.0",
|