@aws-sdk/client-chime-sdk-voice 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 +121 -140
- package/dist-es/models/models_0.js +121 -140
- package/dist-types/models/models_0.d.ts +216 -121
- package/dist-types/ts3.4/models/models_0.d.ts +155 -121
- package/package.json +34 -34
|
@@ -5,25 +5,24 @@ exports.ListVoiceProfilesResponseFilterSensitiveLog = exports.VoiceProfileSummar
|
|
|
5
5
|
exports.ValidateE911AddressResponseFilterSensitiveLog = exports.ValidateE911AddressRequestFilterSensitiveLog = exports.UpdateVoiceProfileDomainResponseFilterSensitiveLog = exports.UpdateVoiceProfileResponseFilterSensitiveLog = exports.UpdateSipMediaApplicationCallRequestFilterSensitiveLog = exports.UpdateSipMediaApplicationResponseFilterSensitiveLog = exports.UpdateSipMediaApplicationRequestFilterSensitiveLog = exports.UpdateProxySessionResponseFilterSensitiveLog = exports.UpdatePhoneNumberSettingsRequestFilterSensitiveLog = exports.UpdatePhoneNumberResponseFilterSensitiveLog = exports.UpdatePhoneNumberRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SearchAvailablePhoneNumbersResponseFilterSensitiveLog = exports.RestorePhoneNumberResponseFilterSensitiveLog = exports.RestorePhoneNumberRequestFilterSensitiveLog = exports.PutVoiceConnectorTerminationCredentialsRequestFilterSensitiveLog = exports.CredentialFilterSensitiveLog = exports.PutVoiceConnectorTerminationResponseFilterSensitiveLog = exports.PutVoiceConnectorTerminationRequestFilterSensitiveLog = exports.PutVoiceConnectorStreamingConfigurationResponseFilterSensitiveLog = exports.PutVoiceConnectorStreamingConfigurationRequestFilterSensitiveLog = exports.PutVoiceConnectorProxyResponseFilterSensitiveLog = exports.PutVoiceConnectorProxyRequestFilterSensitiveLog = exports.PutVoiceConnectorEmergencyCallingConfigurationResponseFilterSensitiveLog = exports.PutVoiceConnectorEmergencyCallingConfigurationRequestFilterSensitiveLog = exports.PutSipMediaApplicationAlexaSkillConfigurationResponseFilterSensitiveLog = exports.PutSipMediaApplicationAlexaSkillConfigurationRequestFilterSensitiveLog = void 0;
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const ChimeSDKVoiceServiceException_1 = require("./ChimeSDKVoiceServiceException");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
|
|
8
|
+
exports.ErrorCode = {
|
|
9
|
+
AccessDenied: "AccessDenied",
|
|
10
|
+
BadRequest: "BadRequest",
|
|
11
|
+
Conflict: "Conflict",
|
|
12
|
+
Forbidden: "Forbidden",
|
|
13
|
+
Gone: "Gone",
|
|
14
|
+
NotFound: "NotFound",
|
|
15
|
+
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
16
|
+
PreconditionFailed: "PreconditionFailed",
|
|
17
|
+
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
18
|
+
ServiceFailure: "ServiceFailure",
|
|
19
|
+
ServiceUnavailable: "ServiceUnavailable",
|
|
20
|
+
Throttled: "Throttled",
|
|
21
|
+
Throttling: "Throttling",
|
|
22
|
+
Unauthorized: "Unauthorized",
|
|
23
|
+
Unprocessable: "Unprocessable",
|
|
24
|
+
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
25
|
+
};
|
|
27
26
|
class AccessDeniedException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
|
|
28
27
|
constructor(opts) {
|
|
29
28
|
super({
|
|
@@ -39,11 +38,10 @@ class AccessDeniedException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoic
|
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
40
|
exports.AccessDeniedException = AccessDeniedException;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
})(AlexaSkillStatus = exports.AlexaSkillStatus || (exports.AlexaSkillStatus = {}));
|
|
41
|
+
exports.AlexaSkillStatus = {
|
|
42
|
+
ACTIVE: "ACTIVE",
|
|
43
|
+
INACTIVE: "INACTIVE",
|
|
44
|
+
};
|
|
47
45
|
class BadRequestException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
|
|
48
46
|
constructor(opts) {
|
|
49
47
|
super({
|
|
@@ -149,48 +147,42 @@ class UnauthorizedClientException extends ChimeSDKVoiceServiceException_1.ChimeS
|
|
|
149
147
|
}
|
|
150
148
|
}
|
|
151
149
|
exports.UnauthorizedClientException = UnauthorizedClientException;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
PhoneNumberOrderStatus["Partial"] = "Partial";
|
|
189
|
-
PhoneNumberOrderStatus["PendingDocuments"] = "PendingDocuments";
|
|
190
|
-
PhoneNumberOrderStatus["Processing"] = "Processing";
|
|
191
|
-
PhoneNumberOrderStatus["Submitted"] = "Submitted";
|
|
192
|
-
PhoneNumberOrderStatus["Successful"] = "Successful";
|
|
193
|
-
})(PhoneNumberOrderStatus = exports.PhoneNumberOrderStatus || (exports.PhoneNumberOrderStatus = {}));
|
|
150
|
+
exports.PhoneNumberProductType = {
|
|
151
|
+
SipMediaApplicationDialIn: "SipMediaApplicationDialIn",
|
|
152
|
+
VoiceConnector: "VoiceConnector",
|
|
153
|
+
};
|
|
154
|
+
exports.CallingNameStatus = {
|
|
155
|
+
Unassigned: "Unassigned",
|
|
156
|
+
UpdateFailed: "UpdateFailed",
|
|
157
|
+
UpdateInProgress: "UpdateInProgress",
|
|
158
|
+
UpdateSucceeded: "UpdateSucceeded",
|
|
159
|
+
};
|
|
160
|
+
exports.Capability = {
|
|
161
|
+
SMS: "SMS",
|
|
162
|
+
Voice: "Voice",
|
|
163
|
+
};
|
|
164
|
+
exports.OrderedPhoneNumberStatus = {
|
|
165
|
+
Acquired: "Acquired",
|
|
166
|
+
Failed: "Failed",
|
|
167
|
+
Processing: "Processing",
|
|
168
|
+
};
|
|
169
|
+
exports.PhoneNumberOrderType = {
|
|
170
|
+
New: "New",
|
|
171
|
+
Porting: "Porting",
|
|
172
|
+
};
|
|
173
|
+
exports.PhoneNumberOrderStatus = {
|
|
174
|
+
CancelRequested: "CancelRequested",
|
|
175
|
+
Cancelled: "Cancelled",
|
|
176
|
+
ChangeRequested: "ChangeRequested",
|
|
177
|
+
Exception: "Exception",
|
|
178
|
+
FOC: "FOC",
|
|
179
|
+
Failed: "Failed",
|
|
180
|
+
Partial: "Partial",
|
|
181
|
+
PendingDocuments: "PendingDocuments",
|
|
182
|
+
Processing: "Processing",
|
|
183
|
+
Submitted: "Submitted",
|
|
184
|
+
Successful: "Successful",
|
|
185
|
+
};
|
|
194
186
|
class ResourceLimitExceededException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
|
|
195
187
|
constructor(opts) {
|
|
196
188
|
super({
|
|
@@ -206,22 +198,19 @@ class ResourceLimitExceededException extends ChimeSDKVoiceServiceException_1.Chi
|
|
|
206
198
|
}
|
|
207
199
|
}
|
|
208
200
|
exports.ResourceLimitExceededException = ResourceLimitExceededException;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
ProxySessionStatus["InProgress"] = "InProgress";
|
|
223
|
-
ProxySessionStatus["Open"] = "Open";
|
|
224
|
-
})(ProxySessionStatus = exports.ProxySessionStatus || (exports.ProxySessionStatus = {}));
|
|
201
|
+
exports.GeoMatchLevel = {
|
|
202
|
+
AreaCode: "AreaCode",
|
|
203
|
+
Country: "Country",
|
|
204
|
+
};
|
|
205
|
+
exports.NumberSelectionBehavior = {
|
|
206
|
+
AvoidSticky: "AvoidSticky",
|
|
207
|
+
PreferSticky: "PreferSticky",
|
|
208
|
+
};
|
|
209
|
+
exports.ProxySessionStatus = {
|
|
210
|
+
Closed: "Closed",
|
|
211
|
+
InProgress: "InProgress",
|
|
212
|
+
Open: "Open",
|
|
213
|
+
};
|
|
225
214
|
class ConflictException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
|
|
226
215
|
constructor(opts) {
|
|
227
216
|
super({
|
|
@@ -237,24 +226,22 @@ class ConflictException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceSer
|
|
|
237
226
|
}
|
|
238
227
|
}
|
|
239
228
|
exports.ConflictException = ConflictException;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
VoiceConnectorAwsRegion["US_WEST_2"] = "us-west-2";
|
|
257
|
-
})(VoiceConnectorAwsRegion = exports.VoiceConnectorAwsRegion || (exports.VoiceConnectorAwsRegion = {}));
|
|
229
|
+
exports.SipRuleTriggerType = {
|
|
230
|
+
RequestUriHostname: "RequestUriHostname",
|
|
231
|
+
ToPhoneNumber: "ToPhoneNumber",
|
|
232
|
+
};
|
|
233
|
+
exports.VoiceConnectorAwsRegion = {
|
|
234
|
+
AP_NORTHEAST_1: "ap-northeast-1",
|
|
235
|
+
AP_NORTHEAST_2: "ap-northeast-2",
|
|
236
|
+
AP_SOUTHEAST_1: "ap-southeast-1",
|
|
237
|
+
AP_SOUTHEAST_2: "ap-southeast-2",
|
|
238
|
+
CA_CENTRAL_1: "ca-central-1",
|
|
239
|
+
EU_CENTRAL_1: "eu-central-1",
|
|
240
|
+
EU_WEST_1: "eu-west-1",
|
|
241
|
+
EU_WEST_2: "eu-west-2",
|
|
242
|
+
US_EAST_1: "us-east-1",
|
|
243
|
+
US_WEST_2: "us-west-2",
|
|
244
|
+
};
|
|
258
245
|
class GoneException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
|
|
259
246
|
constructor(opts) {
|
|
260
247
|
super({
|
|
@@ -270,42 +257,37 @@ class GoneException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceService
|
|
|
270
257
|
}
|
|
271
258
|
}
|
|
272
259
|
exports.GoneException = GoneException;
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
(function (NotificationTarget) {
|
|
305
|
-
NotificationTarget["EventBridge"] = "EventBridge";
|
|
306
|
-
NotificationTarget["SNS"] = "SNS";
|
|
307
|
-
NotificationTarget["SQS"] = "SQS";
|
|
308
|
-
})(NotificationTarget = exports.NotificationTarget || (exports.NotificationTarget = {}));
|
|
260
|
+
exports.PhoneNumberAssociationName = {
|
|
261
|
+
SipRuleId: "SipRuleId",
|
|
262
|
+
VoiceConnectorGroupId: "VoiceConnectorGroupId",
|
|
263
|
+
VoiceConnectorId: "VoiceConnectorId",
|
|
264
|
+
};
|
|
265
|
+
exports.PhoneNumberStatus = {
|
|
266
|
+
AcquireFailed: "AcquireFailed",
|
|
267
|
+
AcquireInProgress: "AcquireInProgress",
|
|
268
|
+
Assigned: "Assigned",
|
|
269
|
+
Cancelled: "Cancelled",
|
|
270
|
+
DeleteFailed: "DeleteFailed",
|
|
271
|
+
DeleteInProgress: "DeleteInProgress",
|
|
272
|
+
PortinCancelRequested: "PortinCancelRequested",
|
|
273
|
+
PortinInProgress: "PortinInProgress",
|
|
274
|
+
ReleaseFailed: "ReleaseFailed",
|
|
275
|
+
ReleaseInProgress: "ReleaseInProgress",
|
|
276
|
+
Unassigned: "Unassigned",
|
|
277
|
+
};
|
|
278
|
+
exports.PhoneNumberType = {
|
|
279
|
+
Local: "Local",
|
|
280
|
+
TollFree: "TollFree",
|
|
281
|
+
};
|
|
282
|
+
exports.OriginationRouteProtocol = {
|
|
283
|
+
TCP: "TCP",
|
|
284
|
+
UDP: "UDP",
|
|
285
|
+
};
|
|
286
|
+
exports.NotificationTarget = {
|
|
287
|
+
EventBridge: "EventBridge",
|
|
288
|
+
SNS: "SNS",
|
|
289
|
+
SQS: "SQS",
|
|
290
|
+
};
|
|
309
291
|
class UnprocessableEntityException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
|
|
310
292
|
constructor(opts) {
|
|
311
293
|
super({
|
|
@@ -321,10 +303,9 @@ class UnprocessableEntityException extends ChimeSDKVoiceServiceException_1.Chime
|
|
|
321
303
|
}
|
|
322
304
|
}
|
|
323
305
|
exports.UnprocessableEntityException = UnprocessableEntityException;
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
})(LanguageCode = exports.LanguageCode || (exports.LanguageCode = {}));
|
|
306
|
+
exports.LanguageCode = {
|
|
307
|
+
EN_US: "en-US",
|
|
308
|
+
};
|
|
328
309
|
const AddressFilterSensitiveLog = (obj) => ({
|
|
329
310
|
...obj,
|
|
330
311
|
...(obj.streetName && { streetName: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ChimeSDKVoiceServiceException as __BaseException } from "./ChimeSDKVoiceServiceException";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
})(ErrorCode || (ErrorCode = {}));
|
|
3
|
+
export const ErrorCode = {
|
|
4
|
+
AccessDenied: "AccessDenied",
|
|
5
|
+
BadRequest: "BadRequest",
|
|
6
|
+
Conflict: "Conflict",
|
|
7
|
+
Forbidden: "Forbidden",
|
|
8
|
+
Gone: "Gone",
|
|
9
|
+
NotFound: "NotFound",
|
|
10
|
+
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
11
|
+
PreconditionFailed: "PreconditionFailed",
|
|
12
|
+
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
13
|
+
ServiceFailure: "ServiceFailure",
|
|
14
|
+
ServiceUnavailable: "ServiceUnavailable",
|
|
15
|
+
Throttled: "Throttled",
|
|
16
|
+
Throttling: "Throttling",
|
|
17
|
+
Unauthorized: "Unauthorized",
|
|
18
|
+
Unprocessable: "Unprocessable",
|
|
19
|
+
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
20
|
+
};
|
|
22
21
|
export class AccessDeniedException extends __BaseException {
|
|
23
22
|
constructor(opts) {
|
|
24
23
|
super({
|
|
@@ -33,11 +32,10 @@ export class AccessDeniedException extends __BaseException {
|
|
|
33
32
|
this.Message = opts.Message;
|
|
34
33
|
}
|
|
35
34
|
}
|
|
36
|
-
export
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
})(AlexaSkillStatus || (AlexaSkillStatus = {}));
|
|
35
|
+
export const AlexaSkillStatus = {
|
|
36
|
+
ACTIVE: "ACTIVE",
|
|
37
|
+
INACTIVE: "INACTIVE",
|
|
38
|
+
};
|
|
41
39
|
export class BadRequestException extends __BaseException {
|
|
42
40
|
constructor(opts) {
|
|
43
41
|
super({
|
|
@@ -136,48 +134,42 @@ export class UnauthorizedClientException extends __BaseException {
|
|
|
136
134
|
this.Message = opts.Message;
|
|
137
135
|
}
|
|
138
136
|
}
|
|
139
|
-
export
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
export
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
PhoneNumberOrderStatus["Partial"] = "Partial";
|
|
176
|
-
PhoneNumberOrderStatus["PendingDocuments"] = "PendingDocuments";
|
|
177
|
-
PhoneNumberOrderStatus["Processing"] = "Processing";
|
|
178
|
-
PhoneNumberOrderStatus["Submitted"] = "Submitted";
|
|
179
|
-
PhoneNumberOrderStatus["Successful"] = "Successful";
|
|
180
|
-
})(PhoneNumberOrderStatus || (PhoneNumberOrderStatus = {}));
|
|
137
|
+
export const PhoneNumberProductType = {
|
|
138
|
+
SipMediaApplicationDialIn: "SipMediaApplicationDialIn",
|
|
139
|
+
VoiceConnector: "VoiceConnector",
|
|
140
|
+
};
|
|
141
|
+
export const CallingNameStatus = {
|
|
142
|
+
Unassigned: "Unassigned",
|
|
143
|
+
UpdateFailed: "UpdateFailed",
|
|
144
|
+
UpdateInProgress: "UpdateInProgress",
|
|
145
|
+
UpdateSucceeded: "UpdateSucceeded",
|
|
146
|
+
};
|
|
147
|
+
export const Capability = {
|
|
148
|
+
SMS: "SMS",
|
|
149
|
+
Voice: "Voice",
|
|
150
|
+
};
|
|
151
|
+
export const OrderedPhoneNumberStatus = {
|
|
152
|
+
Acquired: "Acquired",
|
|
153
|
+
Failed: "Failed",
|
|
154
|
+
Processing: "Processing",
|
|
155
|
+
};
|
|
156
|
+
export const PhoneNumberOrderType = {
|
|
157
|
+
New: "New",
|
|
158
|
+
Porting: "Porting",
|
|
159
|
+
};
|
|
160
|
+
export const PhoneNumberOrderStatus = {
|
|
161
|
+
CancelRequested: "CancelRequested",
|
|
162
|
+
Cancelled: "Cancelled",
|
|
163
|
+
ChangeRequested: "ChangeRequested",
|
|
164
|
+
Exception: "Exception",
|
|
165
|
+
FOC: "FOC",
|
|
166
|
+
Failed: "Failed",
|
|
167
|
+
Partial: "Partial",
|
|
168
|
+
PendingDocuments: "PendingDocuments",
|
|
169
|
+
Processing: "Processing",
|
|
170
|
+
Submitted: "Submitted",
|
|
171
|
+
Successful: "Successful",
|
|
172
|
+
};
|
|
181
173
|
export class ResourceLimitExceededException extends __BaseException {
|
|
182
174
|
constructor(opts) {
|
|
183
175
|
super({
|
|
@@ -192,22 +184,19 @@ export class ResourceLimitExceededException extends __BaseException {
|
|
|
192
184
|
this.Message = opts.Message;
|
|
193
185
|
}
|
|
194
186
|
}
|
|
195
|
-
export
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
ProxySessionStatus["InProgress"] = "InProgress";
|
|
209
|
-
ProxySessionStatus["Open"] = "Open";
|
|
210
|
-
})(ProxySessionStatus || (ProxySessionStatus = {}));
|
|
187
|
+
export const GeoMatchLevel = {
|
|
188
|
+
AreaCode: "AreaCode",
|
|
189
|
+
Country: "Country",
|
|
190
|
+
};
|
|
191
|
+
export const NumberSelectionBehavior = {
|
|
192
|
+
AvoidSticky: "AvoidSticky",
|
|
193
|
+
PreferSticky: "PreferSticky",
|
|
194
|
+
};
|
|
195
|
+
export const ProxySessionStatus = {
|
|
196
|
+
Closed: "Closed",
|
|
197
|
+
InProgress: "InProgress",
|
|
198
|
+
Open: "Open",
|
|
199
|
+
};
|
|
211
200
|
export class ConflictException extends __BaseException {
|
|
212
201
|
constructor(opts) {
|
|
213
202
|
super({
|
|
@@ -222,24 +211,22 @@ export class ConflictException extends __BaseException {
|
|
|
222
211
|
this.Message = opts.Message;
|
|
223
212
|
}
|
|
224
213
|
}
|
|
225
|
-
export
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
VoiceConnectorAwsRegion["US_WEST_2"] = "us-west-2";
|
|
242
|
-
})(VoiceConnectorAwsRegion || (VoiceConnectorAwsRegion = {}));
|
|
214
|
+
export const SipRuleTriggerType = {
|
|
215
|
+
RequestUriHostname: "RequestUriHostname",
|
|
216
|
+
ToPhoneNumber: "ToPhoneNumber",
|
|
217
|
+
};
|
|
218
|
+
export const VoiceConnectorAwsRegion = {
|
|
219
|
+
AP_NORTHEAST_1: "ap-northeast-1",
|
|
220
|
+
AP_NORTHEAST_2: "ap-northeast-2",
|
|
221
|
+
AP_SOUTHEAST_1: "ap-southeast-1",
|
|
222
|
+
AP_SOUTHEAST_2: "ap-southeast-2",
|
|
223
|
+
CA_CENTRAL_1: "ca-central-1",
|
|
224
|
+
EU_CENTRAL_1: "eu-central-1",
|
|
225
|
+
EU_WEST_1: "eu-west-1",
|
|
226
|
+
EU_WEST_2: "eu-west-2",
|
|
227
|
+
US_EAST_1: "us-east-1",
|
|
228
|
+
US_WEST_2: "us-west-2",
|
|
229
|
+
};
|
|
243
230
|
export class GoneException extends __BaseException {
|
|
244
231
|
constructor(opts) {
|
|
245
232
|
super({
|
|
@@ -254,42 +241,37 @@ export class GoneException extends __BaseException {
|
|
|
254
241
|
this.Message = opts.Message;
|
|
255
242
|
}
|
|
256
243
|
}
|
|
257
|
-
export
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
(function (NotificationTarget) {
|
|
289
|
-
NotificationTarget["EventBridge"] = "EventBridge";
|
|
290
|
-
NotificationTarget["SNS"] = "SNS";
|
|
291
|
-
NotificationTarget["SQS"] = "SQS";
|
|
292
|
-
})(NotificationTarget || (NotificationTarget = {}));
|
|
244
|
+
export const PhoneNumberAssociationName = {
|
|
245
|
+
SipRuleId: "SipRuleId",
|
|
246
|
+
VoiceConnectorGroupId: "VoiceConnectorGroupId",
|
|
247
|
+
VoiceConnectorId: "VoiceConnectorId",
|
|
248
|
+
};
|
|
249
|
+
export const PhoneNumberStatus = {
|
|
250
|
+
AcquireFailed: "AcquireFailed",
|
|
251
|
+
AcquireInProgress: "AcquireInProgress",
|
|
252
|
+
Assigned: "Assigned",
|
|
253
|
+
Cancelled: "Cancelled",
|
|
254
|
+
DeleteFailed: "DeleteFailed",
|
|
255
|
+
DeleteInProgress: "DeleteInProgress",
|
|
256
|
+
PortinCancelRequested: "PortinCancelRequested",
|
|
257
|
+
PortinInProgress: "PortinInProgress",
|
|
258
|
+
ReleaseFailed: "ReleaseFailed",
|
|
259
|
+
ReleaseInProgress: "ReleaseInProgress",
|
|
260
|
+
Unassigned: "Unassigned",
|
|
261
|
+
};
|
|
262
|
+
export const PhoneNumberType = {
|
|
263
|
+
Local: "Local",
|
|
264
|
+
TollFree: "TollFree",
|
|
265
|
+
};
|
|
266
|
+
export const OriginationRouteProtocol = {
|
|
267
|
+
TCP: "TCP",
|
|
268
|
+
UDP: "UDP",
|
|
269
|
+
};
|
|
270
|
+
export const NotificationTarget = {
|
|
271
|
+
EventBridge: "EventBridge",
|
|
272
|
+
SNS: "SNS",
|
|
273
|
+
SQS: "SQS",
|
|
274
|
+
};
|
|
293
275
|
export class UnprocessableEntityException extends __BaseException {
|
|
294
276
|
constructor(opts) {
|
|
295
277
|
super({
|
|
@@ -304,10 +286,9 @@ export class UnprocessableEntityException extends __BaseException {
|
|
|
304
286
|
this.Message = opts.Message;
|
|
305
287
|
}
|
|
306
288
|
}
|
|
307
|
-
export
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
})(LanguageCode || (LanguageCode = {}));
|
|
289
|
+
export const LanguageCode = {
|
|
290
|
+
EN_US: "en-US",
|
|
291
|
+
};
|
|
311
292
|
export const AddressFilterSensitiveLog = (obj) => ({
|
|
312
293
|
...obj,
|
|
313
294
|
...(obj.streetName && { streetName: SENSITIVE_STRING }),
|