@aws-sdk/client-pinpoint-sms-voice-v2 3.301.0 → 3.303.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/models/models_0.js +264 -290
- package/dist-es/models/models_0.js +264 -290
- package/dist-types/models/models_0.d.ts +398 -268
- package/dist-types/ts3.4/models/models_0.d.ts +308 -264
- package/package.json +34 -34
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { PinpointSMSVoiceV2ServiceException as __BaseException } from "./PinpointSMSVoiceV2ServiceException";
|
|
3
|
-
export declare
|
|
4
|
-
ACCOUNT_DISABLED
|
|
5
|
-
INSUFFICIENT_ACCOUNT_REPUTATION
|
|
6
|
-
}
|
|
3
|
+
export declare const AccessDeniedExceptionReason: {
|
|
4
|
+
readonly ACCOUNT_DISABLED: "ACCOUNT_DISABLED";
|
|
5
|
+
readonly INSUFFICIENT_ACCOUNT_REPUTATION: "INSUFFICIENT_ACCOUNT_REPUTATION";
|
|
6
|
+
};
|
|
7
|
+
export type AccessDeniedExceptionReason =
|
|
8
|
+
(typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
|
|
7
9
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
10
|
readonly name: "AccessDeniedException";
|
|
9
11
|
readonly $fault: "client";
|
|
@@ -13,19 +15,23 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
13
15
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
14
16
|
);
|
|
15
17
|
}
|
|
16
|
-
export declare
|
|
17
|
-
ACCOUNT_TIER
|
|
18
|
-
}
|
|
18
|
+
export declare const AccountAttributeName: {
|
|
19
|
+
readonly ACCOUNT_TIER: "ACCOUNT_TIER";
|
|
20
|
+
};
|
|
21
|
+
export type AccountAttributeName =
|
|
22
|
+
(typeof AccountAttributeName)[keyof typeof AccountAttributeName];
|
|
19
23
|
export interface AccountAttribute {
|
|
20
24
|
Name: AccountAttributeName | string | undefined;
|
|
21
25
|
Value: string | undefined;
|
|
22
26
|
}
|
|
23
|
-
export declare
|
|
24
|
-
CONFIGURATION_SETS
|
|
25
|
-
OPT_OUT_LISTS
|
|
26
|
-
PHONE_NUMBERS
|
|
27
|
-
POOLS
|
|
28
|
-
}
|
|
27
|
+
export declare const AccountLimitName: {
|
|
28
|
+
readonly CONFIGURATION_SETS: "CONFIGURATION_SETS";
|
|
29
|
+
readonly OPT_OUT_LISTS: "OPT_OUT_LISTS";
|
|
30
|
+
readonly PHONE_NUMBERS: "PHONE_NUMBERS";
|
|
31
|
+
readonly POOLS: "POOLS";
|
|
32
|
+
};
|
|
33
|
+
export type AccountLimitName =
|
|
34
|
+
(typeof AccountLimitName)[keyof typeof AccountLimitName];
|
|
29
35
|
export interface AccountLimit {
|
|
30
36
|
Name: AccountLimitName | string | undefined;
|
|
31
37
|
Used: number | undefined;
|
|
@@ -44,39 +50,42 @@ export interface AssociateOriginationIdentityResult {
|
|
|
44
50
|
OriginationIdentity?: string;
|
|
45
51
|
IsoCountryCode?: string;
|
|
46
52
|
}
|
|
47
|
-
export declare
|
|
48
|
-
DELETION_PROTECTION_ENABLED
|
|
49
|
-
DESTINATION_PHONE_NUMBER_NOT_VERIFIED
|
|
50
|
-
DESTINATION_PHONE_NUMBER_OPTED_OUT
|
|
51
|
-
EVENT_DESTINATION_MISMATCH
|
|
52
|
-
KEYWORD_MISMATCH
|
|
53
|
-
LAST_PHONE_NUMBER
|
|
54
|
-
MESSAGE_TYPE_MISMATCH
|
|
55
|
-
NO_ORIGINATION_IDENTITIES_FOUND
|
|
56
|
-
OPT_OUT_LIST_MISMATCH
|
|
57
|
-
PHONE_NUMBER_ASSOCIATED_TO_POOL
|
|
58
|
-
PHONE_NUMBER_NOT_ASSOCIATED_TO_POOL
|
|
59
|
-
PHONE_NUMBER_NOT_IN_REGISTRATION_REGION
|
|
60
|
-
RESOURCE_ALREADY_EXISTS
|
|
61
|
-
RESOURCE_DELETION_NOT_ALLOWED
|
|
62
|
-
RESOURCE_MODIFICATION_NOT_ALLOWED
|
|
63
|
-
RESOURCE_NOT_ACTIVE
|
|
64
|
-
RESOURCE_NOT_EMPTY
|
|
65
|
-
SELF_MANAGED_OPT_OUTS_MISMATCH
|
|
66
|
-
TWO_WAY_CONFIG_MISMATCH
|
|
67
|
-
}
|
|
68
|
-
export
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
53
|
+
export declare const ConflictExceptionReason: {
|
|
54
|
+
readonly DELETION_PROTECTION_ENABLED: "DELETION_PROTECTION_ENABLED";
|
|
55
|
+
readonly DESTINATION_PHONE_NUMBER_NOT_VERIFIED: "DESTINATION_PHONE_NUMBER_NOT_VERIFIED";
|
|
56
|
+
readonly DESTINATION_PHONE_NUMBER_OPTED_OUT: "DESTINATION_PHONE_NUMBER_OPTED_OUT";
|
|
57
|
+
readonly EVENT_DESTINATION_MISMATCH: "EVENT_DESTINATION_MISMATCH";
|
|
58
|
+
readonly KEYWORD_MISMATCH: "KEYWORD_MISMATCH";
|
|
59
|
+
readonly LAST_PHONE_NUMBER: "LAST_PHONE_NUMBER";
|
|
60
|
+
readonly MESSAGE_TYPE_MISMATCH: "MESSAGE_TYPE_MISMATCH";
|
|
61
|
+
readonly NO_ORIGINATION_IDENTITIES_FOUND: "NO_ORIGINATION_IDENTITIES_FOUND";
|
|
62
|
+
readonly OPT_OUT_LIST_MISMATCH: "OPT_OUT_LIST_MISMATCH";
|
|
63
|
+
readonly PHONE_NUMBER_ASSOCIATED_TO_POOL: "PHONE_NUMBER_ASSOCIATED_TO_POOL";
|
|
64
|
+
readonly PHONE_NUMBER_NOT_ASSOCIATED_TO_POOL: "PHONE_NUMBER_NOT_ASSOCIATED_TO_POOL";
|
|
65
|
+
readonly PHONE_NUMBER_NOT_IN_REGISTRATION_REGION: "PHONE_NUMBER_NOT_IN_REGISTRATION_REGION";
|
|
66
|
+
readonly RESOURCE_ALREADY_EXISTS: "RESOURCE_ALREADY_EXISTS";
|
|
67
|
+
readonly RESOURCE_DELETION_NOT_ALLOWED: "RESOURCE_DELETION_NOT_ALLOWED";
|
|
68
|
+
readonly RESOURCE_MODIFICATION_NOT_ALLOWED: "RESOURCE_MODIFICATION_NOT_ALLOWED";
|
|
69
|
+
readonly RESOURCE_NOT_ACTIVE: "RESOURCE_NOT_ACTIVE";
|
|
70
|
+
readonly RESOURCE_NOT_EMPTY: "RESOURCE_NOT_EMPTY";
|
|
71
|
+
readonly SELF_MANAGED_OPT_OUTS_MISMATCH: "SELF_MANAGED_OPT_OUTS_MISMATCH";
|
|
72
|
+
readonly TWO_WAY_CONFIG_MISMATCH: "TWO_WAY_CONFIG_MISMATCH";
|
|
73
|
+
};
|
|
74
|
+
export type ConflictExceptionReason =
|
|
75
|
+
(typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
|
|
76
|
+
export declare const ResourceType: {
|
|
77
|
+
readonly ACCOUNT: "account";
|
|
78
|
+
readonly CONFIGURATION_SET: "configuration-set";
|
|
79
|
+
readonly EVENT_DESTINATION: "event-destination";
|
|
80
|
+
readonly KEYWORD: "keyword";
|
|
81
|
+
readonly OPTED_OUT_NUMBER: "opted-out-number";
|
|
82
|
+
readonly OPT_OUT_LIST: "opt-out-list";
|
|
83
|
+
readonly PHONE_NUMBER: "phone-number";
|
|
84
|
+
readonly POOL: "pool";
|
|
85
|
+
readonly REGISTRATION: "registration";
|
|
86
|
+
readonly SENDER_ID: "sender-id";
|
|
87
|
+
};
|
|
88
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
80
89
|
export declare class ConflictException extends __BaseException {
|
|
81
90
|
readonly name: "ConflictException";
|
|
82
91
|
readonly $fault: "client";
|
|
@@ -106,21 +115,23 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
106
115
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
107
116
|
);
|
|
108
117
|
}
|
|
109
|
-
export declare
|
|
110
|
-
CONFIGURATION_SETS_PER_ACCOUNT
|
|
111
|
-
DAILY_DESTINATION_CALL_LIMIT
|
|
112
|
-
EVENT_DESTINATIONS_PER_CONFIGURATION_SET
|
|
113
|
-
KEYWORDS_PER_PHONE_NUMBER
|
|
114
|
-
KEYWORDS_PER_POOL
|
|
115
|
-
MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT
|
|
116
|
-
MONTHLY_SPEND_LIMIT_REACHED_FOR_VOICE
|
|
117
|
-
OPT_OUT_LISTS_PER_ACCOUNT
|
|
118
|
-
ORIGINATION_IDENTITIES_PER_POOL
|
|
119
|
-
PHONE_NUMBERS_PER_ACCOUNT
|
|
120
|
-
PHONE_NUMBERS_PER_REGISTRATION
|
|
121
|
-
POOLS_PER_ACCOUNT
|
|
122
|
-
TAGS_PER_RESOURCE
|
|
123
|
-
}
|
|
118
|
+
export declare const ServiceQuotaExceededExceptionReason: {
|
|
119
|
+
readonly CONFIGURATION_SETS_PER_ACCOUNT: "CONFIGURATION_SETS_PER_ACCOUNT";
|
|
120
|
+
readonly DAILY_DESTINATION_CALL_LIMIT: "DAILY_DESTINATION_CALL_LIMIT";
|
|
121
|
+
readonly EVENT_DESTINATIONS_PER_CONFIGURATION_SET: "EVENT_DESTINATIONS_PER_CONFIGURATION_SET";
|
|
122
|
+
readonly KEYWORDS_PER_PHONE_NUMBER: "KEYWORDS_PER_PHONE_NUMBER";
|
|
123
|
+
readonly KEYWORDS_PER_POOL: "KEYWORDS_PER_POOL";
|
|
124
|
+
readonly MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT: "MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT";
|
|
125
|
+
readonly MONTHLY_SPEND_LIMIT_REACHED_FOR_VOICE: "MONTHLY_SPEND_LIMIT_REACHED_FOR_VOICE";
|
|
126
|
+
readonly OPT_OUT_LISTS_PER_ACCOUNT: "OPT_OUT_LISTS_PER_ACCOUNT";
|
|
127
|
+
readonly ORIGINATION_IDENTITIES_PER_POOL: "ORIGINATION_IDENTITIES_PER_POOL";
|
|
128
|
+
readonly PHONE_NUMBERS_PER_ACCOUNT: "PHONE_NUMBERS_PER_ACCOUNT";
|
|
129
|
+
readonly PHONE_NUMBERS_PER_REGISTRATION: "PHONE_NUMBERS_PER_REGISTRATION";
|
|
130
|
+
readonly POOLS_PER_ACCOUNT: "POOLS_PER_ACCOUNT";
|
|
131
|
+
readonly TAGS_PER_RESOURCE: "TAGS_PER_RESOURCE";
|
|
132
|
+
};
|
|
133
|
+
export type ServiceQuotaExceededExceptionReason =
|
|
134
|
+
(typeof ServiceQuotaExceededExceptionReason)[keyof typeof ServiceQuotaExceededExceptionReason];
|
|
124
135
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
125
136
|
readonly name: "ServiceQuotaExceededException";
|
|
126
137
|
readonly $fault: "client";
|
|
@@ -145,32 +156,34 @@ export interface ValidationExceptionField {
|
|
|
145
156
|
Name: string | undefined;
|
|
146
157
|
Message: string | undefined;
|
|
147
158
|
}
|
|
148
|
-
export declare
|
|
149
|
-
CANNOT_ADD_OPTED_OUT_NUMBER
|
|
150
|
-
CANNOT_PARSE
|
|
151
|
-
COUNTRY_CODE_MISMATCH
|
|
152
|
-
DESTINATION_COUNTRY_BLOCKED
|
|
153
|
-
FIELD_VALIDATION_FAILED
|
|
154
|
-
INVALID_ARN
|
|
155
|
-
INVALID_FILTER_VALUES
|
|
156
|
-
INVALID_IDENTITY_FOR_DESTINATION_COUNTRY
|
|
157
|
-
INVALID_NEXT_TOKEN
|
|
158
|
-
INVALID_PARAMETER
|
|
159
|
-
MISSING_PARAMETER
|
|
160
|
-
OTHER
|
|
161
|
-
PARAMETERS_CANNOT_BE_USED_TOGETHER
|
|
162
|
-
PHONE_NUMBER_CANNOT_BE_OPTED_IN
|
|
163
|
-
PHONE_NUMBER_CANNOT_BE_RELEASED
|
|
164
|
-
PRICE_OVER_THRESHOLD
|
|
165
|
-
REQUESTED_SPEND_LIMIT_HIGHER_THAN_SERVICE_LIMIT
|
|
166
|
-
SENDER_ID_NOT_REGISTERED
|
|
167
|
-
SENDER_ID_NOT_SUPPORTED
|
|
168
|
-
TWO_WAY_NOT_ENABLED
|
|
169
|
-
TWO_WAY_NOT_SUPPORTED_IN_COUNTRY
|
|
170
|
-
TWO_WAY_NOT_SUPPORTED_IN_REGION
|
|
171
|
-
TWO_WAY_TOPIC_NOT_PRESENT
|
|
172
|
-
UNKNOWN_OPERATION
|
|
173
|
-
}
|
|
159
|
+
export declare const ValidationExceptionReason: {
|
|
160
|
+
readonly CANNOT_ADD_OPTED_OUT_NUMBER: "CANNOT_ADD_OPTED_OUT_NUMBER";
|
|
161
|
+
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
162
|
+
readonly COUNTRY_CODE_MISMATCH: "COUNTRY_CODE_MISMATCH";
|
|
163
|
+
readonly DESTINATION_COUNTRY_BLOCKED: "DESTINATION_COUNTRY_BLOCKED";
|
|
164
|
+
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
165
|
+
readonly INVALID_ARN: "INVALID_ARN";
|
|
166
|
+
readonly INVALID_FILTER_VALUES: "INVALID_FILTER_VALUES";
|
|
167
|
+
readonly INVALID_IDENTITY_FOR_DESTINATION_COUNTRY: "INVALID_IDENTITY_FOR_DESTINATION_COUNTRY";
|
|
168
|
+
readonly INVALID_NEXT_TOKEN: "INVALID_NEXT_TOKEN";
|
|
169
|
+
readonly INVALID_PARAMETER: "INVALID_PARAMETER";
|
|
170
|
+
readonly MISSING_PARAMETER: "MISSING_PARAMETER";
|
|
171
|
+
readonly OTHER: "OTHER";
|
|
172
|
+
readonly PARAMETERS_CANNOT_BE_USED_TOGETHER: "PARAMETERS_CANNOT_BE_USED_TOGETHER";
|
|
173
|
+
readonly PHONE_NUMBER_CANNOT_BE_OPTED_IN: "PHONE_NUMBER_CANNOT_BE_OPTED_IN";
|
|
174
|
+
readonly PHONE_NUMBER_CANNOT_BE_RELEASED: "PHONE_NUMBER_CANNOT_BE_RELEASED";
|
|
175
|
+
readonly PRICE_OVER_THRESHOLD: "PRICE_OVER_THRESHOLD";
|
|
176
|
+
readonly REQUESTED_SPEND_LIMIT_HIGHER_THAN_SERVICE_LIMIT: "REQUESTED_SPEND_LIMIT_HIGHER_THAN_SERVICE_LIMIT";
|
|
177
|
+
readonly SENDER_ID_NOT_REGISTERED: "SENDER_ID_NOT_REGISTERED";
|
|
178
|
+
readonly SENDER_ID_NOT_SUPPORTED: "SENDER_ID_NOT_SUPPORTED";
|
|
179
|
+
readonly TWO_WAY_NOT_ENABLED: "TWO_WAY_NOT_ENABLED";
|
|
180
|
+
readonly TWO_WAY_NOT_SUPPORTED_IN_COUNTRY: "TWO_WAY_NOT_SUPPORTED_IN_COUNTRY";
|
|
181
|
+
readonly TWO_WAY_NOT_SUPPORTED_IN_REGION: "TWO_WAY_NOT_SUPPORTED_IN_REGION";
|
|
182
|
+
readonly TWO_WAY_TOPIC_NOT_PRESENT: "TWO_WAY_TOPIC_NOT_PRESENT";
|
|
183
|
+
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
184
|
+
};
|
|
185
|
+
export type ValidationExceptionReason =
|
|
186
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
174
187
|
export declare class ValidationException extends __BaseException {
|
|
175
188
|
readonly name: "ValidationException";
|
|
176
189
|
readonly $fault: "client";
|
|
@@ -185,51 +198,55 @@ export interface CloudWatchLogsDestination {
|
|
|
185
198
|
IamRoleArn: string | undefined;
|
|
186
199
|
LogGroupArn: string | undefined;
|
|
187
200
|
}
|
|
188
|
-
export declare
|
|
189
|
-
DEFAULT_MESSAGE_TYPE
|
|
190
|
-
DEFAULT_SENDER_ID
|
|
191
|
-
EVENT_DESTINATION_NAME
|
|
192
|
-
MATCHING_EVENT_TYPES
|
|
193
|
-
}
|
|
201
|
+
export declare const ConfigurationSetFilterName: {
|
|
202
|
+
readonly DEFAULT_MESSAGE_TYPE: "default-message-type";
|
|
203
|
+
readonly DEFAULT_SENDER_ID: "default-sender-id";
|
|
204
|
+
readonly EVENT_DESTINATION_NAME: "event-destination-name";
|
|
205
|
+
readonly MATCHING_EVENT_TYPES: "matching-event-types";
|
|
206
|
+
};
|
|
207
|
+
export type ConfigurationSetFilterName =
|
|
208
|
+
(typeof ConfigurationSetFilterName)[keyof typeof ConfigurationSetFilterName];
|
|
194
209
|
export interface ConfigurationSetFilter {
|
|
195
210
|
Name: ConfigurationSetFilterName | string | undefined;
|
|
196
211
|
Values: string[] | undefined;
|
|
197
212
|
}
|
|
198
|
-
export declare
|
|
199
|
-
PROMOTIONAL
|
|
200
|
-
TRANSACTIONAL
|
|
201
|
-
}
|
|
213
|
+
export declare const MessageType: {
|
|
214
|
+
readonly PROMOTIONAL: "PROMOTIONAL";
|
|
215
|
+
readonly TRANSACTIONAL: "TRANSACTIONAL";
|
|
216
|
+
};
|
|
217
|
+
export type MessageType = (typeof MessageType)[keyof typeof MessageType];
|
|
202
218
|
export interface KinesisFirehoseDestination {
|
|
203
219
|
IamRoleArn: string | undefined;
|
|
204
220
|
DeliveryStreamArn: string | undefined;
|
|
205
221
|
}
|
|
206
|
-
export declare
|
|
207
|
-
ALL
|
|
208
|
-
TEXT_ALL
|
|
209
|
-
TEXT_BLOCKED
|
|
210
|
-
TEXT_CARRIER_BLOCKED
|
|
211
|
-
TEXT_CARRIER_UNREACHABLE
|
|
212
|
-
TEXT_DELIVERED
|
|
213
|
-
TEXT_INVALID
|
|
214
|
-
TEXT_INVALID_MESSAGE
|
|
215
|
-
TEXT_PENDING
|
|
216
|
-
TEXT_QUEUED
|
|
217
|
-
TEXT_SENT
|
|
218
|
-
TEXT_SPAM
|
|
219
|
-
TEXT_SUCCESSFUL
|
|
220
|
-
TEXT_TTL_EXPIRED
|
|
221
|
-
TEXT_UNKNOWN
|
|
222
|
-
TEXT_UNREACHABLE
|
|
223
|
-
VOICE_ALL
|
|
224
|
-
VOICE_ANSWERED
|
|
225
|
-
VOICE_BUSY
|
|
226
|
-
VOICE_COMPLETED
|
|
227
|
-
VOICE_FAILED
|
|
228
|
-
VOICE_INITIATED
|
|
229
|
-
VOICE_NO_ANSWER
|
|
230
|
-
VOICE_RINGING
|
|
231
|
-
VOICE_TTL_EXPIRED
|
|
232
|
-
}
|
|
222
|
+
export declare const EventType: {
|
|
223
|
+
readonly ALL: "ALL";
|
|
224
|
+
readonly TEXT_ALL: "TEXT_ALL";
|
|
225
|
+
readonly TEXT_BLOCKED: "TEXT_BLOCKED";
|
|
226
|
+
readonly TEXT_CARRIER_BLOCKED: "TEXT_CARRIER_BLOCKED";
|
|
227
|
+
readonly TEXT_CARRIER_UNREACHABLE: "TEXT_CARRIER_UNREACHABLE";
|
|
228
|
+
readonly TEXT_DELIVERED: "TEXT_DELIVERED";
|
|
229
|
+
readonly TEXT_INVALID: "TEXT_INVALID";
|
|
230
|
+
readonly TEXT_INVALID_MESSAGE: "TEXT_INVALID_MESSAGE";
|
|
231
|
+
readonly TEXT_PENDING: "TEXT_PENDING";
|
|
232
|
+
readonly TEXT_QUEUED: "TEXT_QUEUED";
|
|
233
|
+
readonly TEXT_SENT: "TEXT_SENT";
|
|
234
|
+
readonly TEXT_SPAM: "TEXT_SPAM";
|
|
235
|
+
readonly TEXT_SUCCESSFUL: "TEXT_SUCCESSFUL";
|
|
236
|
+
readonly TEXT_TTL_EXPIRED: "TEXT_TTL_EXPIRED";
|
|
237
|
+
readonly TEXT_UNKNOWN: "TEXT_UNKNOWN";
|
|
238
|
+
readonly TEXT_UNREACHABLE: "TEXT_UNREACHABLE";
|
|
239
|
+
readonly VOICE_ALL: "VOICE_ALL";
|
|
240
|
+
readonly VOICE_ANSWERED: "VOICE_ANSWERED";
|
|
241
|
+
readonly VOICE_BUSY: "VOICE_BUSY";
|
|
242
|
+
readonly VOICE_COMPLETED: "VOICE_COMPLETED";
|
|
243
|
+
readonly VOICE_FAILED: "VOICE_FAILED";
|
|
244
|
+
readonly VOICE_INITIATED: "VOICE_INITIATED";
|
|
245
|
+
readonly VOICE_NO_ANSWER: "VOICE_NO_ANSWER";
|
|
246
|
+
readonly VOICE_RINGING: "VOICE_RINGING";
|
|
247
|
+
readonly VOICE_TTL_EXPIRED: "VOICE_TTL_EXPIRED";
|
|
248
|
+
};
|
|
249
|
+
export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
233
250
|
export interface SnsDestination {
|
|
234
251
|
TopicArn: string | undefined;
|
|
235
252
|
}
|
|
@@ -297,11 +314,12 @@ export interface CreatePoolRequest {
|
|
|
297
314
|
Tags?: Tag[];
|
|
298
315
|
ClientToken?: string;
|
|
299
316
|
}
|
|
300
|
-
export declare
|
|
301
|
-
ACTIVE
|
|
302
|
-
CREATING
|
|
303
|
-
DELETING
|
|
304
|
-
}
|
|
317
|
+
export declare const PoolStatus: {
|
|
318
|
+
readonly ACTIVE: "ACTIVE";
|
|
319
|
+
readonly CREATING: "CREATING";
|
|
320
|
+
readonly DELETING: "DELETING";
|
|
321
|
+
};
|
|
322
|
+
export type PoolStatus = (typeof PoolStatus)[keyof typeof PoolStatus];
|
|
305
323
|
export interface CreatePoolResult {
|
|
306
324
|
PoolArn?: string;
|
|
307
325
|
PoolId?: string;
|
|
@@ -356,11 +374,12 @@ export interface DeleteKeywordRequest {
|
|
|
356
374
|
OriginationIdentity: string | undefined;
|
|
357
375
|
Keyword: string | undefined;
|
|
358
376
|
}
|
|
359
|
-
export declare
|
|
360
|
-
AUTOMATIC_RESPONSE
|
|
361
|
-
OPT_IN
|
|
362
|
-
OPT_OUT
|
|
363
|
-
}
|
|
377
|
+
export declare const KeywordAction: {
|
|
378
|
+
readonly AUTOMATIC_RESPONSE: "AUTOMATIC_RESPONSE";
|
|
379
|
+
readonly OPT_IN: "OPT_IN";
|
|
380
|
+
readonly OPT_OUT: "OPT_OUT";
|
|
381
|
+
};
|
|
382
|
+
export type KeywordAction = (typeof KeywordAction)[keyof typeof KeywordAction];
|
|
364
383
|
export interface DeleteKeywordResult {
|
|
365
384
|
OriginationIdentityArn?: string;
|
|
366
385
|
OriginationIdentity?: string;
|
|
@@ -436,9 +455,11 @@ export interface DescribeConfigurationSetsResult {
|
|
|
436
455
|
ConfigurationSets?: ConfigurationSetInformation[];
|
|
437
456
|
NextToken?: string;
|
|
438
457
|
}
|
|
439
|
-
export declare
|
|
440
|
-
KEYWORD_ACTION
|
|
441
|
-
}
|
|
458
|
+
export declare const KeywordFilterName: {
|
|
459
|
+
readonly KEYWORD_ACTION: "keyword-action";
|
|
460
|
+
};
|
|
461
|
+
export type KeywordFilterName =
|
|
462
|
+
(typeof KeywordFilterName)[keyof typeof KeywordFilterName];
|
|
442
463
|
export interface KeywordFilter {
|
|
443
464
|
Name: KeywordFilterName | string | undefined;
|
|
444
465
|
Values: string[] | undefined;
|
|
@@ -461,9 +482,11 @@ export interface DescribeKeywordsResult {
|
|
|
461
482
|
Keywords?: KeywordInformation[];
|
|
462
483
|
NextToken?: string;
|
|
463
484
|
}
|
|
464
|
-
export declare
|
|
465
|
-
END_USER_OPTED_OUT
|
|
466
|
-
}
|
|
485
|
+
export declare const OptedOutFilterName: {
|
|
486
|
+
readonly END_USER_OPTED_OUT: "end-user-opted-out";
|
|
487
|
+
};
|
|
488
|
+
export type OptedOutFilterName =
|
|
489
|
+
(typeof OptedOutFilterName)[keyof typeof OptedOutFilterName];
|
|
467
490
|
export interface OptedOutFilter {
|
|
468
491
|
Name: OptedOutFilterName | string | undefined;
|
|
469
492
|
Values: string[] | undefined;
|
|
@@ -500,17 +523,19 @@ export interface DescribeOptOutListsResult {
|
|
|
500
523
|
OptOutLists?: OptOutListInformation[];
|
|
501
524
|
NextToken?: string;
|
|
502
525
|
}
|
|
503
|
-
export declare
|
|
504
|
-
DELETION_PROTECTION_ENABLED
|
|
505
|
-
ISO_COUNTRY_CODE
|
|
506
|
-
MESSAGE_TYPE
|
|
507
|
-
NUMBER_CAPABILITY
|
|
508
|
-
NUMBER_TYPE
|
|
509
|
-
OPT_OUT_LIST_NAME
|
|
510
|
-
SELF_MANAGED_OPT_OUTS_ENABLED
|
|
511
|
-
STATUS
|
|
512
|
-
TWO_WAY_ENABLED
|
|
513
|
-
}
|
|
526
|
+
export declare const PhoneNumberFilterName: {
|
|
527
|
+
readonly DELETION_PROTECTION_ENABLED: "deletion-protection-enabled";
|
|
528
|
+
readonly ISO_COUNTRY_CODE: "iso-country-code";
|
|
529
|
+
readonly MESSAGE_TYPE: "message-type";
|
|
530
|
+
readonly NUMBER_CAPABILITY: "number-capability";
|
|
531
|
+
readonly NUMBER_TYPE: "number-type";
|
|
532
|
+
readonly OPT_OUT_LIST_NAME: "opt-out-list-name";
|
|
533
|
+
readonly SELF_MANAGED_OPT_OUTS_ENABLED: "self-managed-opt-outs-enabled";
|
|
534
|
+
readonly STATUS: "status";
|
|
535
|
+
readonly TWO_WAY_ENABLED: "two-way-enabled";
|
|
536
|
+
};
|
|
537
|
+
export type PhoneNumberFilterName =
|
|
538
|
+
(typeof PhoneNumberFilterName)[keyof typeof PhoneNumberFilterName];
|
|
514
539
|
export interface PhoneNumberFilter {
|
|
515
540
|
Name: PhoneNumberFilterName | string | undefined;
|
|
516
541
|
Values: string[] | undefined;
|
|
@@ -521,23 +546,27 @@ export interface DescribePhoneNumbersRequest {
|
|
|
521
546
|
NextToken?: string;
|
|
522
547
|
MaxResults?: number;
|
|
523
548
|
}
|
|
524
|
-
export declare
|
|
525
|
-
SMS
|
|
526
|
-
VOICE
|
|
527
|
-
}
|
|
528
|
-
export
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
549
|
+
export declare const NumberCapability: {
|
|
550
|
+
readonly SMS: "SMS";
|
|
551
|
+
readonly VOICE: "VOICE";
|
|
552
|
+
};
|
|
553
|
+
export type NumberCapability =
|
|
554
|
+
(typeof NumberCapability)[keyof typeof NumberCapability];
|
|
555
|
+
export declare const NumberType: {
|
|
556
|
+
readonly LONG_CODE: "LONG_CODE";
|
|
557
|
+
readonly SHORT_CODE: "SHORT_CODE";
|
|
558
|
+
readonly TEN_DLC: "TEN_DLC";
|
|
559
|
+
readonly TOLL_FREE: "TOLL_FREE";
|
|
560
|
+
};
|
|
561
|
+
export type NumberType = (typeof NumberType)[keyof typeof NumberType];
|
|
562
|
+
export declare const NumberStatus: {
|
|
563
|
+
readonly ACTIVE: "ACTIVE";
|
|
564
|
+
readonly ASSOCIATING: "ASSOCIATING";
|
|
565
|
+
readonly DELETED: "DELETED";
|
|
566
|
+
readonly DISASSOCIATING: "DISASSOCIATING";
|
|
567
|
+
readonly PENDING: "PENDING";
|
|
568
|
+
};
|
|
569
|
+
export type NumberStatus = (typeof NumberStatus)[keyof typeof NumberStatus];
|
|
541
570
|
export interface PhoneNumberInformation {
|
|
542
571
|
PhoneNumberArn: string | undefined;
|
|
543
572
|
PhoneNumberId?: string;
|
|
@@ -560,15 +589,17 @@ export interface DescribePhoneNumbersResult {
|
|
|
560
589
|
PhoneNumbers?: PhoneNumberInformation[];
|
|
561
590
|
NextToken?: string;
|
|
562
591
|
}
|
|
563
|
-
export declare
|
|
564
|
-
DELETION_PROTECTION_ENABLED
|
|
565
|
-
MESSAGE_TYPE
|
|
566
|
-
OPT_OUT_LIST_NAME
|
|
567
|
-
SELF_MANAGED_OPT_OUTS_ENABLED
|
|
568
|
-
SHARED_ROUTES_ENABLED
|
|
569
|
-
STATUS
|
|
570
|
-
TWO_WAY_ENABLED
|
|
571
|
-
}
|
|
592
|
+
export declare const PoolFilterName: {
|
|
593
|
+
readonly DELETION_PROTECTION_ENABLED: "deletion-protection-enabled";
|
|
594
|
+
readonly MESSAGE_TYPE: "message-type";
|
|
595
|
+
readonly OPT_OUT_LIST_NAME: "opt-out-list-name";
|
|
596
|
+
readonly SELF_MANAGED_OPT_OUTS_ENABLED: "self-managed-opt-outs-enabled";
|
|
597
|
+
readonly SHARED_ROUTES_ENABLED: "shared-routes-enabled";
|
|
598
|
+
readonly STATUS: "status";
|
|
599
|
+
readonly TWO_WAY_ENABLED: "two-way-enabled";
|
|
600
|
+
};
|
|
601
|
+
export type PoolFilterName =
|
|
602
|
+
(typeof PoolFilterName)[keyof typeof PoolFilterName];
|
|
572
603
|
export interface PoolFilter {
|
|
573
604
|
Name: PoolFilterName | string | undefined;
|
|
574
605
|
Values: string[] | undefined;
|
|
@@ -596,11 +627,13 @@ export interface DescribePoolsResult {
|
|
|
596
627
|
Pools?: PoolInformation[];
|
|
597
628
|
NextToken?: string;
|
|
598
629
|
}
|
|
599
|
-
export declare
|
|
600
|
-
ISO_COUNTRY_CODE
|
|
601
|
-
MESSAGE_TYPE
|
|
602
|
-
SENDER_ID
|
|
603
|
-
}
|
|
630
|
+
export declare const SenderIdFilterName: {
|
|
631
|
+
readonly ISO_COUNTRY_CODE: "iso-country-code";
|
|
632
|
+
readonly MESSAGE_TYPE: "message-type";
|
|
633
|
+
readonly SENDER_ID: "sender-id";
|
|
634
|
+
};
|
|
635
|
+
export type SenderIdFilterName =
|
|
636
|
+
(typeof SenderIdFilterName)[keyof typeof SenderIdFilterName];
|
|
604
637
|
export interface SenderIdFilter {
|
|
605
638
|
Name: SenderIdFilterName | string | undefined;
|
|
606
639
|
Values: string[] | undefined;
|
|
@@ -630,10 +663,12 @@ export interface DescribeSpendLimitsRequest {
|
|
|
630
663
|
NextToken?: string;
|
|
631
664
|
MaxResults?: number;
|
|
632
665
|
}
|
|
633
|
-
export declare
|
|
634
|
-
TEXT_MESSAGE_MONTHLY_SPEND_LIMIT
|
|
635
|
-
VOICE_MESSAGE_MONTHLY_SPEND_LIMIT
|
|
636
|
-
}
|
|
666
|
+
export declare const SpendLimitName: {
|
|
667
|
+
readonly TEXT_MESSAGE_MONTHLY_SPEND_LIMIT: "TEXT_MESSAGE_MONTHLY_SPEND_LIMIT";
|
|
668
|
+
readonly VOICE_MESSAGE_MONTHLY_SPEND_LIMIT: "VOICE_MESSAGE_MONTHLY_SPEND_LIMIT";
|
|
669
|
+
};
|
|
670
|
+
export type SpendLimitName =
|
|
671
|
+
(typeof SpendLimitName)[keyof typeof SpendLimitName];
|
|
637
672
|
export interface SpendLimit {
|
|
638
673
|
Name: SpendLimitName | string | undefined;
|
|
639
674
|
EnforcedLimit: number | undefined;
|
|
@@ -644,10 +679,12 @@ export interface DescribeSpendLimitsResult {
|
|
|
644
679
|
SpendLimits?: SpendLimit[];
|
|
645
680
|
NextToken?: string;
|
|
646
681
|
}
|
|
647
|
-
export declare
|
|
648
|
-
IN_ENTITY_ID
|
|
649
|
-
IN_TEMPLATE_ID
|
|
650
|
-
}
|
|
682
|
+
export declare const DestinationCountryParameterKey: {
|
|
683
|
+
readonly IN_ENTITY_ID: "IN_ENTITY_ID";
|
|
684
|
+
readonly IN_TEMPLATE_ID: "IN_TEMPLATE_ID";
|
|
685
|
+
};
|
|
686
|
+
export type DestinationCountryParameterKey =
|
|
687
|
+
(typeof DestinationCountryParameterKey)[keyof typeof DestinationCountryParameterKey];
|
|
651
688
|
export interface DisassociateOriginationIdentityRequest {
|
|
652
689
|
PoolId: string | undefined;
|
|
653
690
|
OriginationIdentity: string | undefined;
|
|
@@ -661,10 +698,12 @@ export interface DisassociateOriginationIdentityResult {
|
|
|
661
698
|
OriginationIdentity?: string;
|
|
662
699
|
IsoCountryCode?: string;
|
|
663
700
|
}
|
|
664
|
-
export declare
|
|
665
|
-
ISO_COUNTRY_CODE
|
|
666
|
-
NUMBER_CAPABILITY
|
|
667
|
-
}
|
|
701
|
+
export declare const PoolOriginationIdentitiesFilterName: {
|
|
702
|
+
readonly ISO_COUNTRY_CODE: "iso-country-code";
|
|
703
|
+
readonly NUMBER_CAPABILITY: "number-capability";
|
|
704
|
+
};
|
|
705
|
+
export type PoolOriginationIdentitiesFilterName =
|
|
706
|
+
(typeof PoolOriginationIdentitiesFilterName)[keyof typeof PoolOriginationIdentitiesFilterName];
|
|
668
707
|
export interface PoolOriginationIdentitiesFilter {
|
|
669
708
|
Name: PoolOriginationIdentitiesFilterName | string | undefined;
|
|
670
709
|
Values: string[] | undefined;
|
|
@@ -737,11 +776,13 @@ export interface ReleasePhoneNumberResult {
|
|
|
737
776
|
OptOutListName?: string;
|
|
738
777
|
CreatedTimestamp?: Date;
|
|
739
778
|
}
|
|
740
|
-
export declare
|
|
741
|
-
LONG_CODE
|
|
742
|
-
TEN_DLC
|
|
743
|
-
TOLL_FREE
|
|
744
|
-
}
|
|
779
|
+
export declare const RequestableNumberType: {
|
|
780
|
+
readonly LONG_CODE: "LONG_CODE";
|
|
781
|
+
readonly TEN_DLC: "TEN_DLC";
|
|
782
|
+
readonly TOLL_FREE: "TOLL_FREE";
|
|
783
|
+
};
|
|
784
|
+
export type RequestableNumberType =
|
|
785
|
+
(typeof RequestableNumberType)[keyof typeof RequestableNumberType];
|
|
745
786
|
export interface RequestPhoneNumberRequest {
|
|
746
787
|
IsoCountryCode: string | undefined;
|
|
747
788
|
MessageType: MessageType | string | undefined;
|
|
@@ -789,71 +830,74 @@ export interface SendTextMessageRequest {
|
|
|
789
830
|
export interface SendTextMessageResult {
|
|
790
831
|
MessageId?: string;
|
|
791
832
|
}
|
|
792
|
-
export declare
|
|
793
|
-
SSML
|
|
794
|
-
TEXT
|
|
795
|
-
}
|
|
796
|
-
export
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
833
|
+
export declare const VoiceMessageBodyTextType: {
|
|
834
|
+
readonly SSML: "SSML";
|
|
835
|
+
readonly TEXT: "TEXT";
|
|
836
|
+
};
|
|
837
|
+
export type VoiceMessageBodyTextType =
|
|
838
|
+
(typeof VoiceMessageBodyTextType)[keyof typeof VoiceMessageBodyTextType];
|
|
839
|
+
export declare const VoiceId: {
|
|
840
|
+
readonly AMY: "AMY";
|
|
841
|
+
readonly ASTRID: "ASTRID";
|
|
842
|
+
readonly BIANCA: "BIANCA";
|
|
843
|
+
readonly BRIAN: "BRIAN";
|
|
844
|
+
readonly CAMILA: "CAMILA";
|
|
845
|
+
readonly CARLA: "CARLA";
|
|
846
|
+
readonly CARMEN: "CARMEN";
|
|
847
|
+
readonly CELINE: "CELINE";
|
|
848
|
+
readonly CHANTAL: "CHANTAL";
|
|
849
|
+
readonly CONCHITA: "CONCHITA";
|
|
850
|
+
readonly CRISTIANO: "CRISTIANO";
|
|
851
|
+
readonly DORA: "DORA";
|
|
852
|
+
readonly EMMA: "EMMA";
|
|
853
|
+
readonly ENRIQUE: "ENRIQUE";
|
|
854
|
+
readonly EWA: "EWA";
|
|
855
|
+
readonly FILIZ: "FILIZ";
|
|
856
|
+
readonly GERAINT: "GERAINT";
|
|
857
|
+
readonly GIORGIO: "GIORGIO";
|
|
858
|
+
readonly GWYNETH: "GWYNETH";
|
|
859
|
+
readonly HANS: "HANS";
|
|
860
|
+
readonly INES: "INES";
|
|
861
|
+
readonly IVY: "IVY";
|
|
862
|
+
readonly JACEK: "JACEK";
|
|
863
|
+
readonly JAN: "JAN";
|
|
864
|
+
readonly JOANNA: "JOANNA";
|
|
865
|
+
readonly JOEY: "JOEY";
|
|
866
|
+
readonly JUSTIN: "JUSTIN";
|
|
867
|
+
readonly KARL: "KARL";
|
|
868
|
+
readonly KENDRA: "KENDRA";
|
|
869
|
+
readonly KIMBERLY: "KIMBERLY";
|
|
870
|
+
readonly LEA: "LEA";
|
|
871
|
+
readonly LIV: "LIV";
|
|
872
|
+
readonly LOTTE: "LOTTE";
|
|
873
|
+
readonly LUCIA: "LUCIA";
|
|
874
|
+
readonly LUPE: "LUPE";
|
|
875
|
+
readonly MADS: "MADS";
|
|
876
|
+
readonly MAJA: "MAJA";
|
|
877
|
+
readonly MARLENE: "MARLENE";
|
|
878
|
+
readonly MATHIEU: "MATHIEU";
|
|
879
|
+
readonly MATTHEW: "MATTHEW";
|
|
880
|
+
readonly MAXIM: "MAXIM";
|
|
881
|
+
readonly MIA: "MIA";
|
|
882
|
+
readonly MIGUEL: "MIGUEL";
|
|
883
|
+
readonly MIZUKI: "MIZUKI";
|
|
884
|
+
readonly NAJA: "NAJA";
|
|
885
|
+
readonly NICOLE: "NICOLE";
|
|
886
|
+
readonly PENELOPE: "PENELOPE";
|
|
887
|
+
readonly RAVEENA: "RAVEENA";
|
|
888
|
+
readonly RICARDO: "RICARDO";
|
|
889
|
+
readonly RUBEN: "RUBEN";
|
|
890
|
+
readonly RUSSELL: "RUSSELL";
|
|
891
|
+
readonly SALLI: "SALLI";
|
|
892
|
+
readonly SEOYEON: "SEOYEON";
|
|
893
|
+
readonly TAKUMI: "TAKUMI";
|
|
894
|
+
readonly TATYANA: "TATYANA";
|
|
895
|
+
readonly VICKI: "VICKI";
|
|
896
|
+
readonly VITORIA: "VITORIA";
|
|
897
|
+
readonly ZEINA: "ZEINA";
|
|
898
|
+
readonly ZHIYU: "ZHIYU";
|
|
899
|
+
};
|
|
900
|
+
export type VoiceId = (typeof VoiceId)[keyof typeof VoiceId];
|
|
857
901
|
export interface SendVoiceMessageRequest {
|
|
858
902
|
DestinationPhoneNumber: string | undefined;
|
|
859
903
|
OriginationIdentity: string | undefined;
|