@aws-sdk/client-chime-sdk-voice 3.301.0 → 3.306.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.
@@ -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
- var ErrorCode;
9
- (function (ErrorCode) {
10
- ErrorCode["AccessDenied"] = "AccessDenied";
11
- ErrorCode["BadRequest"] = "BadRequest";
12
- ErrorCode["Conflict"] = "Conflict";
13
- ErrorCode["Forbidden"] = "Forbidden";
14
- ErrorCode["Gone"] = "Gone";
15
- ErrorCode["NotFound"] = "NotFound";
16
- ErrorCode["PhoneNumberAssociationsExist"] = "PhoneNumberAssociationsExist";
17
- ErrorCode["PreconditionFailed"] = "PreconditionFailed";
18
- ErrorCode["ResourceLimitExceeded"] = "ResourceLimitExceeded";
19
- ErrorCode["ServiceFailure"] = "ServiceFailure";
20
- ErrorCode["ServiceUnavailable"] = "ServiceUnavailable";
21
- ErrorCode["Throttled"] = "Throttled";
22
- ErrorCode["Throttling"] = "Throttling";
23
- ErrorCode["Unauthorized"] = "Unauthorized";
24
- ErrorCode["Unprocessable"] = "Unprocessable";
25
- ErrorCode["VoiceConnectorGroupAssociationsExist"] = "VoiceConnectorGroupAssociationsExist";
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
- var AlexaSkillStatus;
43
- (function (AlexaSkillStatus) {
44
- AlexaSkillStatus["ACTIVE"] = "ACTIVE";
45
- AlexaSkillStatus["INACTIVE"] = "INACTIVE";
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
- var PhoneNumberProductType;
153
- (function (PhoneNumberProductType) {
154
- PhoneNumberProductType["SipMediaApplicationDialIn"] = "SipMediaApplicationDialIn";
155
- PhoneNumberProductType["VoiceConnector"] = "VoiceConnector";
156
- })(PhoneNumberProductType = exports.PhoneNumberProductType || (exports.PhoneNumberProductType = {}));
157
- var CallingNameStatus;
158
- (function (CallingNameStatus) {
159
- CallingNameStatus["Unassigned"] = "Unassigned";
160
- CallingNameStatus["UpdateFailed"] = "UpdateFailed";
161
- CallingNameStatus["UpdateInProgress"] = "UpdateInProgress";
162
- CallingNameStatus["UpdateSucceeded"] = "UpdateSucceeded";
163
- })(CallingNameStatus = exports.CallingNameStatus || (exports.CallingNameStatus = {}));
164
- var Capability;
165
- (function (Capability) {
166
- Capability["SMS"] = "SMS";
167
- Capability["Voice"] = "Voice";
168
- })(Capability = exports.Capability || (exports.Capability = {}));
169
- var OrderedPhoneNumberStatus;
170
- (function (OrderedPhoneNumberStatus) {
171
- OrderedPhoneNumberStatus["Acquired"] = "Acquired";
172
- OrderedPhoneNumberStatus["Failed"] = "Failed";
173
- OrderedPhoneNumberStatus["Processing"] = "Processing";
174
- })(OrderedPhoneNumberStatus = exports.OrderedPhoneNumberStatus || (exports.OrderedPhoneNumberStatus = {}));
175
- var PhoneNumberOrderType;
176
- (function (PhoneNumberOrderType) {
177
- PhoneNumberOrderType["New"] = "New";
178
- PhoneNumberOrderType["Porting"] = "Porting";
179
- })(PhoneNumberOrderType = exports.PhoneNumberOrderType || (exports.PhoneNumberOrderType = {}));
180
- var PhoneNumberOrderStatus;
181
- (function (PhoneNumberOrderStatus) {
182
- PhoneNumberOrderStatus["CancelRequested"] = "CancelRequested";
183
- PhoneNumberOrderStatus["Cancelled"] = "Cancelled";
184
- PhoneNumberOrderStatus["ChangeRequested"] = "ChangeRequested";
185
- PhoneNumberOrderStatus["Exception"] = "Exception";
186
- PhoneNumberOrderStatus["FOC"] = "FOC";
187
- PhoneNumberOrderStatus["Failed"] = "Failed";
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
- var GeoMatchLevel;
210
- (function (GeoMatchLevel) {
211
- GeoMatchLevel["AreaCode"] = "AreaCode";
212
- GeoMatchLevel["Country"] = "Country";
213
- })(GeoMatchLevel = exports.GeoMatchLevel || (exports.GeoMatchLevel = {}));
214
- var NumberSelectionBehavior;
215
- (function (NumberSelectionBehavior) {
216
- NumberSelectionBehavior["AvoidSticky"] = "AvoidSticky";
217
- NumberSelectionBehavior["PreferSticky"] = "PreferSticky";
218
- })(NumberSelectionBehavior = exports.NumberSelectionBehavior || (exports.NumberSelectionBehavior = {}));
219
- var ProxySessionStatus;
220
- (function (ProxySessionStatus) {
221
- ProxySessionStatus["Closed"] = "Closed";
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
- var SipRuleTriggerType;
241
- (function (SipRuleTriggerType) {
242
- SipRuleTriggerType["RequestUriHostname"] = "RequestUriHostname";
243
- SipRuleTriggerType["ToPhoneNumber"] = "ToPhoneNumber";
244
- })(SipRuleTriggerType = exports.SipRuleTriggerType || (exports.SipRuleTriggerType = {}));
245
- var VoiceConnectorAwsRegion;
246
- (function (VoiceConnectorAwsRegion) {
247
- VoiceConnectorAwsRegion["AP_NORTHEAST_1"] = "ap-northeast-1";
248
- VoiceConnectorAwsRegion["AP_NORTHEAST_2"] = "ap-northeast-2";
249
- VoiceConnectorAwsRegion["AP_SOUTHEAST_1"] = "ap-southeast-1";
250
- VoiceConnectorAwsRegion["AP_SOUTHEAST_2"] = "ap-southeast-2";
251
- VoiceConnectorAwsRegion["CA_CENTRAL_1"] = "ca-central-1";
252
- VoiceConnectorAwsRegion["EU_CENTRAL_1"] = "eu-central-1";
253
- VoiceConnectorAwsRegion["EU_WEST_1"] = "eu-west-1";
254
- VoiceConnectorAwsRegion["EU_WEST_2"] = "eu-west-2";
255
- VoiceConnectorAwsRegion["US_EAST_1"] = "us-east-1";
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
- var PhoneNumberAssociationName;
274
- (function (PhoneNumberAssociationName) {
275
- PhoneNumberAssociationName["SipRuleId"] = "SipRuleId";
276
- PhoneNumberAssociationName["VoiceConnectorGroupId"] = "VoiceConnectorGroupId";
277
- PhoneNumberAssociationName["VoiceConnectorId"] = "VoiceConnectorId";
278
- })(PhoneNumberAssociationName = exports.PhoneNumberAssociationName || (exports.PhoneNumberAssociationName = {}));
279
- var PhoneNumberStatus;
280
- (function (PhoneNumberStatus) {
281
- PhoneNumberStatus["AcquireFailed"] = "AcquireFailed";
282
- PhoneNumberStatus["AcquireInProgress"] = "AcquireInProgress";
283
- PhoneNumberStatus["Assigned"] = "Assigned";
284
- PhoneNumberStatus["Cancelled"] = "Cancelled";
285
- PhoneNumberStatus["DeleteFailed"] = "DeleteFailed";
286
- PhoneNumberStatus["DeleteInProgress"] = "DeleteInProgress";
287
- PhoneNumberStatus["PortinCancelRequested"] = "PortinCancelRequested";
288
- PhoneNumberStatus["PortinInProgress"] = "PortinInProgress";
289
- PhoneNumberStatus["ReleaseFailed"] = "ReleaseFailed";
290
- PhoneNumberStatus["ReleaseInProgress"] = "ReleaseInProgress";
291
- PhoneNumberStatus["Unassigned"] = "Unassigned";
292
- })(PhoneNumberStatus = exports.PhoneNumberStatus || (exports.PhoneNumberStatus = {}));
293
- var PhoneNumberType;
294
- (function (PhoneNumberType) {
295
- PhoneNumberType["Local"] = "Local";
296
- PhoneNumberType["TollFree"] = "TollFree";
297
- })(PhoneNumberType = exports.PhoneNumberType || (exports.PhoneNumberType = {}));
298
- var OriginationRouteProtocol;
299
- (function (OriginationRouteProtocol) {
300
- OriginationRouteProtocol["TCP"] = "TCP";
301
- OriginationRouteProtocol["UDP"] = "UDP";
302
- })(OriginationRouteProtocol = exports.OriginationRouteProtocol || (exports.OriginationRouteProtocol = {}));
303
- var NotificationTarget;
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
- var LanguageCode;
325
- (function (LanguageCode) {
326
- LanguageCode["EN_US"] = "en-US";
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 var ErrorCode;
4
- (function (ErrorCode) {
5
- ErrorCode["AccessDenied"] = "AccessDenied";
6
- ErrorCode["BadRequest"] = "BadRequest";
7
- ErrorCode["Conflict"] = "Conflict";
8
- ErrorCode["Forbidden"] = "Forbidden";
9
- ErrorCode["Gone"] = "Gone";
10
- ErrorCode["NotFound"] = "NotFound";
11
- ErrorCode["PhoneNumberAssociationsExist"] = "PhoneNumberAssociationsExist";
12
- ErrorCode["PreconditionFailed"] = "PreconditionFailed";
13
- ErrorCode["ResourceLimitExceeded"] = "ResourceLimitExceeded";
14
- ErrorCode["ServiceFailure"] = "ServiceFailure";
15
- ErrorCode["ServiceUnavailable"] = "ServiceUnavailable";
16
- ErrorCode["Throttled"] = "Throttled";
17
- ErrorCode["Throttling"] = "Throttling";
18
- ErrorCode["Unauthorized"] = "Unauthorized";
19
- ErrorCode["Unprocessable"] = "Unprocessable";
20
- ErrorCode["VoiceConnectorGroupAssociationsExist"] = "VoiceConnectorGroupAssociationsExist";
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 var AlexaSkillStatus;
37
- (function (AlexaSkillStatus) {
38
- AlexaSkillStatus["ACTIVE"] = "ACTIVE";
39
- AlexaSkillStatus["INACTIVE"] = "INACTIVE";
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 var PhoneNumberProductType;
140
- (function (PhoneNumberProductType) {
141
- PhoneNumberProductType["SipMediaApplicationDialIn"] = "SipMediaApplicationDialIn";
142
- PhoneNumberProductType["VoiceConnector"] = "VoiceConnector";
143
- })(PhoneNumberProductType || (PhoneNumberProductType = {}));
144
- export var CallingNameStatus;
145
- (function (CallingNameStatus) {
146
- CallingNameStatus["Unassigned"] = "Unassigned";
147
- CallingNameStatus["UpdateFailed"] = "UpdateFailed";
148
- CallingNameStatus["UpdateInProgress"] = "UpdateInProgress";
149
- CallingNameStatus["UpdateSucceeded"] = "UpdateSucceeded";
150
- })(CallingNameStatus || (CallingNameStatus = {}));
151
- export var Capability;
152
- (function (Capability) {
153
- Capability["SMS"] = "SMS";
154
- Capability["Voice"] = "Voice";
155
- })(Capability || (Capability = {}));
156
- export var OrderedPhoneNumberStatus;
157
- (function (OrderedPhoneNumberStatus) {
158
- OrderedPhoneNumberStatus["Acquired"] = "Acquired";
159
- OrderedPhoneNumberStatus["Failed"] = "Failed";
160
- OrderedPhoneNumberStatus["Processing"] = "Processing";
161
- })(OrderedPhoneNumberStatus || (OrderedPhoneNumberStatus = {}));
162
- export var PhoneNumberOrderType;
163
- (function (PhoneNumberOrderType) {
164
- PhoneNumberOrderType["New"] = "New";
165
- PhoneNumberOrderType["Porting"] = "Porting";
166
- })(PhoneNumberOrderType || (PhoneNumberOrderType = {}));
167
- export var PhoneNumberOrderStatus;
168
- (function (PhoneNumberOrderStatus) {
169
- PhoneNumberOrderStatus["CancelRequested"] = "CancelRequested";
170
- PhoneNumberOrderStatus["Cancelled"] = "Cancelled";
171
- PhoneNumberOrderStatus["ChangeRequested"] = "ChangeRequested";
172
- PhoneNumberOrderStatus["Exception"] = "Exception";
173
- PhoneNumberOrderStatus["FOC"] = "FOC";
174
- PhoneNumberOrderStatus["Failed"] = "Failed";
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 var GeoMatchLevel;
196
- (function (GeoMatchLevel) {
197
- GeoMatchLevel["AreaCode"] = "AreaCode";
198
- GeoMatchLevel["Country"] = "Country";
199
- })(GeoMatchLevel || (GeoMatchLevel = {}));
200
- export var NumberSelectionBehavior;
201
- (function (NumberSelectionBehavior) {
202
- NumberSelectionBehavior["AvoidSticky"] = "AvoidSticky";
203
- NumberSelectionBehavior["PreferSticky"] = "PreferSticky";
204
- })(NumberSelectionBehavior || (NumberSelectionBehavior = {}));
205
- export var ProxySessionStatus;
206
- (function (ProxySessionStatus) {
207
- ProxySessionStatus["Closed"] = "Closed";
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 var SipRuleTriggerType;
226
- (function (SipRuleTriggerType) {
227
- SipRuleTriggerType["RequestUriHostname"] = "RequestUriHostname";
228
- SipRuleTriggerType["ToPhoneNumber"] = "ToPhoneNumber";
229
- })(SipRuleTriggerType || (SipRuleTriggerType = {}));
230
- export var VoiceConnectorAwsRegion;
231
- (function (VoiceConnectorAwsRegion) {
232
- VoiceConnectorAwsRegion["AP_NORTHEAST_1"] = "ap-northeast-1";
233
- VoiceConnectorAwsRegion["AP_NORTHEAST_2"] = "ap-northeast-2";
234
- VoiceConnectorAwsRegion["AP_SOUTHEAST_1"] = "ap-southeast-1";
235
- VoiceConnectorAwsRegion["AP_SOUTHEAST_2"] = "ap-southeast-2";
236
- VoiceConnectorAwsRegion["CA_CENTRAL_1"] = "ca-central-1";
237
- VoiceConnectorAwsRegion["EU_CENTRAL_1"] = "eu-central-1";
238
- VoiceConnectorAwsRegion["EU_WEST_1"] = "eu-west-1";
239
- VoiceConnectorAwsRegion["EU_WEST_2"] = "eu-west-2";
240
- VoiceConnectorAwsRegion["US_EAST_1"] = "us-east-1";
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 var PhoneNumberAssociationName;
258
- (function (PhoneNumberAssociationName) {
259
- PhoneNumberAssociationName["SipRuleId"] = "SipRuleId";
260
- PhoneNumberAssociationName["VoiceConnectorGroupId"] = "VoiceConnectorGroupId";
261
- PhoneNumberAssociationName["VoiceConnectorId"] = "VoiceConnectorId";
262
- })(PhoneNumberAssociationName || (PhoneNumberAssociationName = {}));
263
- export var PhoneNumberStatus;
264
- (function (PhoneNumberStatus) {
265
- PhoneNumberStatus["AcquireFailed"] = "AcquireFailed";
266
- PhoneNumberStatus["AcquireInProgress"] = "AcquireInProgress";
267
- PhoneNumberStatus["Assigned"] = "Assigned";
268
- PhoneNumberStatus["Cancelled"] = "Cancelled";
269
- PhoneNumberStatus["DeleteFailed"] = "DeleteFailed";
270
- PhoneNumberStatus["DeleteInProgress"] = "DeleteInProgress";
271
- PhoneNumberStatus["PortinCancelRequested"] = "PortinCancelRequested";
272
- PhoneNumberStatus["PortinInProgress"] = "PortinInProgress";
273
- PhoneNumberStatus["ReleaseFailed"] = "ReleaseFailed";
274
- PhoneNumberStatus["ReleaseInProgress"] = "ReleaseInProgress";
275
- PhoneNumberStatus["Unassigned"] = "Unassigned";
276
- })(PhoneNumberStatus || (PhoneNumberStatus = {}));
277
- export var PhoneNumberType;
278
- (function (PhoneNumberType) {
279
- PhoneNumberType["Local"] = "Local";
280
- PhoneNumberType["TollFree"] = "TollFree";
281
- })(PhoneNumberType || (PhoneNumberType = {}));
282
- export var OriginationRouteProtocol;
283
- (function (OriginationRouteProtocol) {
284
- OriginationRouteProtocol["TCP"] = "TCP";
285
- OriginationRouteProtocol["UDP"] = "UDP";
286
- })(OriginationRouteProtocol || (OriginationRouteProtocol = {}));
287
- export var NotificationTarget;
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 var LanguageCode;
308
- (function (LanguageCode) {
309
- LanguageCode["EN_US"] = "en-US";
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 }),