@aws-sdk/client-chime-sdk-voice 3.428.0 → 3.429.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.
@@ -33,7 +33,7 @@ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
33
33
  export declare class AccessDeniedException extends __BaseException {
34
34
  readonly name: "AccessDeniedException";
35
35
  readonly $fault: "client";
36
- Code?: ErrorCode | string;
36
+ Code?: ErrorCode;
37
37
  Message?: string;
38
38
  /**
39
39
  * @internal
@@ -145,7 +145,7 @@ export interface PhoneNumberError {
145
145
  * @public
146
146
  * <p>The error code.</p>
147
147
  */
148
- ErrorCode?: ErrorCode | string;
148
+ ErrorCode?: ErrorCode;
149
149
  /**
150
150
  * @public
151
151
  * <p>The error message.</p>
@@ -170,7 +170,7 @@ export interface AssociatePhoneNumbersWithVoiceConnectorResponse {
170
170
  export declare class BadRequestException extends __BaseException {
171
171
  readonly name: "BadRequestException";
172
172
  readonly $fault: "client";
173
- Code?: ErrorCode | string;
173
+ Code?: ErrorCode;
174
174
  Message?: string;
175
175
  /**
176
176
  * @internal
@@ -184,7 +184,7 @@ export declare class BadRequestException extends __BaseException {
184
184
  export declare class ForbiddenException extends __BaseException {
185
185
  readonly name: "ForbiddenException";
186
186
  readonly $fault: "client";
187
- Code?: ErrorCode | string;
187
+ Code?: ErrorCode;
188
188
  Message?: string;
189
189
  /**
190
190
  * @internal
@@ -198,7 +198,7 @@ export declare class ForbiddenException extends __BaseException {
198
198
  export declare class NotFoundException extends __BaseException {
199
199
  readonly name: "NotFoundException";
200
200
  readonly $fault: "client";
201
- Code?: ErrorCode | string;
201
+ Code?: ErrorCode;
202
202
  Message?: string;
203
203
  /**
204
204
  * @internal
@@ -212,7 +212,7 @@ export declare class NotFoundException extends __BaseException {
212
212
  export declare class ServiceFailureException extends __BaseException {
213
213
  readonly name: "ServiceFailureException";
214
214
  readonly $fault: "server";
215
- Code?: ErrorCode | string;
215
+ Code?: ErrorCode;
216
216
  Message?: string;
217
217
  /**
218
218
  * @internal
@@ -226,7 +226,7 @@ export declare class ServiceFailureException extends __BaseException {
226
226
  export declare class ServiceUnavailableException extends __BaseException {
227
227
  readonly name: "ServiceUnavailableException";
228
228
  readonly $fault: "server";
229
- Code?: ErrorCode | string;
229
+ Code?: ErrorCode;
230
230
  Message?: string;
231
231
  /**
232
232
  * @internal
@@ -240,7 +240,7 @@ export declare class ServiceUnavailableException extends __BaseException {
240
240
  export declare class ThrottledClientException extends __BaseException {
241
241
  readonly name: "ThrottledClientException";
242
242
  readonly $fault: "client";
243
- Code?: ErrorCode | string;
243
+ Code?: ErrorCode;
244
244
  Message?: string;
245
245
  /**
246
246
  * @internal
@@ -254,7 +254,7 @@ export declare class ThrottledClientException extends __BaseException {
254
254
  export declare class UnauthorizedClientException extends __BaseException {
255
255
  readonly name: "UnauthorizedClientException";
256
256
  readonly $fault: "client";
257
- Code?: ErrorCode | string;
257
+ Code?: ErrorCode;
258
258
  Message?: string;
259
259
  /**
260
260
  * @internal
@@ -339,7 +339,7 @@ export interface UpdatePhoneNumberRequestItem {
339
339
  * @public
340
340
  * <p>The product type to update.</p>
341
341
  */
342
- ProductType?: PhoneNumberProductType | string;
342
+ ProductType?: PhoneNumberProductType;
343
343
  /**
344
344
  * @public
345
345
  * <p>The outbound calling name to update.</p>
@@ -479,7 +479,7 @@ export interface CreatePhoneNumberOrderRequest {
479
479
  * @public
480
480
  * <p>The phone number product type.</p>
481
481
  */
482
- ProductType: PhoneNumberProductType | string | undefined;
482
+ ProductType: PhoneNumberProductType | undefined;
483
483
  /**
484
484
  * @public
485
485
  * <p>List of phone numbers, in E.164 format.</p>
@@ -518,7 +518,7 @@ export interface OrderedPhoneNumber {
518
518
  * @public
519
519
  * <p>The phone number status.</p>
520
520
  */
521
- Status?: OrderedPhoneNumberStatus | string;
521
+ Status?: OrderedPhoneNumberStatus;
522
522
  }
523
523
  /**
524
524
  * @public
@@ -567,17 +567,17 @@ export interface PhoneNumberOrder {
567
567
  * @public
568
568
  * <p>The phone number order product type.</p>
569
569
  */
570
- ProductType?: PhoneNumberProductType | string;
570
+ ProductType?: PhoneNumberProductType;
571
571
  /**
572
572
  * @public
573
573
  * <p>The status of the phone number order.</p>
574
574
  */
575
- Status?: PhoneNumberOrderStatus | string;
575
+ Status?: PhoneNumberOrderStatus;
576
576
  /**
577
577
  * @public
578
578
  * <p>The type of phone number being ordered, local or toll-free.</p>
579
579
  */
580
- OrderType?: PhoneNumberOrderType | string;
580
+ OrderType?: PhoneNumberOrderType;
581
581
  /**
582
582
  * @public
583
583
  * <p>The ordered phone number details, such as the phone number in E.164 format
@@ -612,7 +612,7 @@ export interface CreatePhoneNumberOrderResponse {
612
612
  export declare class ResourceLimitExceededException extends __BaseException {
613
613
  readonly name: "ResourceLimitExceededException";
614
614
  readonly $fault: "client";
615
- Code?: ErrorCode | string;
615
+ Code?: ErrorCode;
616
616
  Message?: string;
617
617
  /**
618
618
  * @internal
@@ -687,18 +687,18 @@ export interface CreateProxySessionRequest {
687
687
  * @public
688
688
  * <p>The proxy session's capabilities.</p>
689
689
  */
690
- Capabilities: (Capability | string)[] | undefined;
690
+ Capabilities: Capability[] | undefined;
691
691
  /**
692
692
  * @public
693
693
  * <p>The preference for proxy phone number reuse, or stickiness, between the same
694
694
  * participants across sessions.</p>
695
695
  */
696
- NumberSelectionBehavior?: NumberSelectionBehavior | string;
696
+ NumberSelectionBehavior?: NumberSelectionBehavior;
697
697
  /**
698
698
  * @public
699
699
  * <p>The preference for matching the country or area code of the proxy phone number with that of the first participant.</p>
700
700
  */
701
- GeoMatchLevel?: GeoMatchLevel | string;
701
+ GeoMatchLevel?: GeoMatchLevel;
702
702
  /**
703
703
  * @public
704
704
  * <p>The country and area code for the proxy phone number.</p>
@@ -758,7 +758,7 @@ export interface ProxySession {
758
758
  * @public
759
759
  * <p>The proxy session status.</p>
760
760
  */
761
- Status?: ProxySessionStatus | string;
761
+ Status?: ProxySessionStatus;
762
762
  /**
763
763
  * @public
764
764
  * <p>The number of minutes allowed for the proxy session.</p>
@@ -768,7 +768,7 @@ export interface ProxySession {
768
768
  * @public
769
769
  * <p>The proxy session capabilities.</p>
770
770
  */
771
- Capabilities?: (Capability | string)[];
771
+ Capabilities?: Capability[];
772
772
  /**
773
773
  * @public
774
774
  * <p>The created time stamp, in ISO 8601 format.</p>
@@ -793,12 +793,12 @@ export interface ProxySession {
793
793
  * @public
794
794
  * <p>The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.</p>
795
795
  */
796
- NumberSelectionBehavior?: NumberSelectionBehavior | string;
796
+ NumberSelectionBehavior?: NumberSelectionBehavior;
797
797
  /**
798
798
  * @public
799
799
  * <p>The preference for matching the country or area code of the proxy phone number with that of the first participant.</p>
800
800
  */
801
- GeoMatchLevel?: GeoMatchLevel | string;
801
+ GeoMatchLevel?: GeoMatchLevel;
802
802
  /**
803
803
  * @public
804
804
  * <p>The country and area code for the proxy phone number.</p>
@@ -822,7 +822,7 @@ export interface CreateProxySessionResponse {
822
822
  export declare class ConflictException extends __BaseException {
823
823
  readonly name: "ConflictException";
824
824
  readonly $fault: "client";
825
- Code?: ErrorCode | string;
825
+ Code?: ErrorCode;
826
826
  Message?: string;
827
827
  /**
828
828
  * @internal
@@ -1037,7 +1037,7 @@ export interface CreateSipRuleRequest {
1037
1037
  * <p>The type of trigger assigned to the SIP rule in <code>TriggerValue</code>,
1038
1038
  * currently <code>RequestUriHostname</code> or <code>ToPhoneNumber</code>.</p>
1039
1039
  */
1040
- TriggerType: SipRuleTriggerType | string | undefined;
1040
+ TriggerType: SipRuleTriggerType | undefined;
1041
1041
  /**
1042
1042
  * @public
1043
1043
  * <p>If <code>TriggerType</code> is <code>RequestUriHostname</code>, the
@@ -1088,7 +1088,7 @@ export interface SipRule {
1088
1088
  * @public
1089
1089
  * <p>The type of trigger set for a SIP rule, either a phone number or a URI request host name.</p>
1090
1090
  */
1091
- TriggerType?: SipRuleTriggerType | string;
1091
+ TriggerType?: SipRuleTriggerType;
1092
1092
  /**
1093
1093
  * @public
1094
1094
  * <p>The value set for a SIP rule's trigger type. Either a phone number or a URI hostname.</p>
@@ -1155,7 +1155,7 @@ export interface CreateVoiceConnectorRequest {
1155
1155
  * <p>The AWS Region in which the Amazon Chime SDK Voice Connector is created. Default value:
1156
1156
  * <code>us-east-1</code> .</p>
1157
1157
  */
1158
- AwsRegion?: VoiceConnectorAwsRegion | string;
1158
+ AwsRegion?: VoiceConnectorAwsRegion;
1159
1159
  /**
1160
1160
  * @public
1161
1161
  * <p>Enables or disables encryption for the Voice Connector.</p>
@@ -1183,7 +1183,7 @@ export interface VoiceConnector {
1183
1183
  * <p>The AWS Region in which the Voice Connector is created.
1184
1184
  * Default: us-east-1.</p>
1185
1185
  */
1186
- AwsRegion?: VoiceConnectorAwsRegion | string;
1186
+ AwsRegion?: VoiceConnectorAwsRegion;
1187
1187
  /**
1188
1188
  * @public
1189
1189
  * <p>The Voice Connector's name.</p>
@@ -1373,7 +1373,7 @@ export interface CreateVoiceProfileResponse {
1373
1373
  export declare class GoneException extends __BaseException {
1374
1374
  readonly name: "GoneException";
1375
1375
  readonly $fault: "client";
1376
- Code?: ErrorCode | string;
1376
+ Code?: ErrorCode;
1377
1377
  Message?: string;
1378
1378
  /**
1379
1379
  * @internal
@@ -1739,7 +1739,7 @@ export interface PhoneNumberAssociation {
1739
1739
  * @public
1740
1740
  * <p>Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice Connector group ID.</p>
1741
1741
  */
1742
- Name?: PhoneNumberAssociationName | string;
1742
+ Name?: PhoneNumberAssociationName;
1743
1743
  /**
1744
1744
  * @public
1745
1745
  * <p>The timestamp of the phone number association, in ISO 8601 format.</p>
@@ -1841,17 +1841,17 @@ export interface PhoneNumber {
1841
1841
  * @public
1842
1842
  * <p>The phone number's type.</p>
1843
1843
  */
1844
- Type?: PhoneNumberType | string;
1844
+ Type?: PhoneNumberType;
1845
1845
  /**
1846
1846
  * @public
1847
1847
  * <p>The phone number's product type.</p>
1848
1848
  */
1849
- ProductType?: PhoneNumberProductType | string;
1849
+ ProductType?: PhoneNumberProductType;
1850
1850
  /**
1851
1851
  * @public
1852
1852
  * <p>The phone number's status.</p>
1853
1853
  */
1854
- Status?: PhoneNumberStatus | string;
1854
+ Status?: PhoneNumberStatus;
1855
1855
  /**
1856
1856
  * @public
1857
1857
  * <p>The phone number's capabilities.</p>
@@ -1871,7 +1871,7 @@ export interface PhoneNumber {
1871
1871
  * @public
1872
1872
  * <p>The outbound calling name status.</p>
1873
1873
  */
1874
- CallingNameStatus?: CallingNameStatus | string;
1874
+ CallingNameStatus?: CallingNameStatus;
1875
1875
  /**
1876
1876
  * @public
1877
1877
  * <p>The phone number creation timestamp, in ISO 8601 format.</p>
@@ -2007,7 +2007,7 @@ export interface SipMediaApplicationAlexaSkillConfiguration {
2007
2007
  * @public
2008
2008
  * <p>The status of the Alexa Skill configuration.</p>
2009
2009
  */
2010
- AlexaSkillStatus: AlexaSkillStatus | string | undefined;
2010
+ AlexaSkillStatus: AlexaSkillStatus | undefined;
2011
2011
  /**
2012
2012
  * @public
2013
2013
  * <p>The ID of the Alexa Skill configuration.</p>
@@ -2360,7 +2360,7 @@ export interface OriginationRoute {
2360
2360
  * <p>The protocol to use for the origination route. Encryption-enabled Amazon Chime SDK Voice Connectors use
2361
2361
  * TCP protocol by default.</p>
2362
2362
  */
2363
- Protocol?: OriginationRouteProtocol | string;
2363
+ Protocol?: OriginationRouteProtocol;
2364
2364
  /**
2365
2365
  * @public
2366
2366
  * <p>The priority associated with the host, with 1 being the highest priority. Higher
@@ -2504,7 +2504,7 @@ export interface StreamingNotificationTarget {
2504
2504
  * @public
2505
2505
  * <p>The streaming notification target.</p>
2506
2506
  */
2507
- NotificationTarget?: NotificationTarget | string;
2507
+ NotificationTarget?: NotificationTarget;
2508
2508
  }
2509
2509
  /**
2510
2510
  * @public
@@ -2751,7 +2751,7 @@ export interface ListAvailableVoiceConnectorRegionsResponse {
2751
2751
  * @public
2752
2752
  * <p>The list of AWS Regions.</p>
2753
2753
  */
2754
- VoiceConnectorRegions?: (VoiceConnectorAwsRegion | string)[];
2754
+ VoiceConnectorRegions?: VoiceConnectorAwsRegion[];
2755
2755
  }
2756
2756
  /**
2757
2757
  * @public
@@ -2796,12 +2796,12 @@ export interface ListPhoneNumbersRequest {
2796
2796
  * @public
2797
2797
  * <p>The phone number product types.</p>
2798
2798
  */
2799
- ProductType?: PhoneNumberProductType | string;
2799
+ ProductType?: PhoneNumberProductType;
2800
2800
  /**
2801
2801
  * @public
2802
2802
  * <p>The filter to limit the number of results.</p>
2803
2803
  */
2804
- FilterName?: PhoneNumberAssociationName | string;
2804
+ FilterName?: PhoneNumberAssociationName;
2805
2805
  /**
2806
2806
  * @public
2807
2807
  * <p>The filter value.</p>
@@ -2846,7 +2846,7 @@ export interface ListProxySessionsRequest {
2846
2846
  * @public
2847
2847
  * <p>The proxy session status.</p>
2848
2848
  */
2849
- Status?: ProxySessionStatus | string;
2849
+ Status?: ProxySessionStatus;
2850
2850
  /**
2851
2851
  * @public
2852
2852
  * <p>The token used to retrieve the next page of results.</p>
@@ -2946,7 +2946,7 @@ export interface ListSupportedPhoneNumberCountriesRequest {
2946
2946
  * @public
2947
2947
  * <p>The phone number product type.</p>
2948
2948
  */
2949
- ProductType: PhoneNumberProductType | string | undefined;
2949
+ ProductType: PhoneNumberProductType | undefined;
2950
2950
  }
2951
2951
  /**
2952
2952
  * @public
@@ -2962,7 +2962,7 @@ export interface PhoneNumberCountry {
2962
2962
  * @public
2963
2963
  * <p>The supported phone number types.</p>
2964
2964
  */
2965
- SupportedPhoneNumberTypes?: (PhoneNumberType | string)[];
2965
+ SupportedPhoneNumberTypes?: PhoneNumberType[];
2966
2966
  }
2967
2967
  /**
2968
2968
  * @public
@@ -3511,7 +3511,7 @@ export interface SearchAvailablePhoneNumbersRequest {
3511
3511
  * @public
3512
3512
  * <p>Confines a search to just the phone numbers associated with the specified phone number type, either <b>local</b> or <b>toll-free</b>.</p>
3513
3513
  */
3514
- PhoneNumberType?: PhoneNumberType | string;
3514
+ PhoneNumberType?: PhoneNumberType;
3515
3515
  /**
3516
3516
  * @public
3517
3517
  * <p>The maximum number of results to return.</p>
@@ -3566,7 +3566,7 @@ export interface StartSpeakerSearchTaskRequest {
3566
3566
  * @public
3567
3567
  * <p>Specifies which call leg to stream for speaker search.</p>
3568
3568
  */
3569
- CallLeg?: CallLegType | string;
3569
+ CallLeg?: CallLegType;
3570
3570
  }
3571
3571
  /**
3572
3572
  * @public
@@ -3585,7 +3585,7 @@ export interface StartSpeakerSearchTaskResponse {
3585
3585
  export declare class UnprocessableEntityException extends __BaseException {
3586
3586
  readonly name: "UnprocessableEntityException";
3587
3587
  readonly $fault: "client";
3588
- Code?: ErrorCode | string;
3588
+ Code?: ErrorCode;
3589
3589
  Message?: string;
3590
3590
  /**
3591
3591
  * @internal
@@ -3621,7 +3621,7 @@ export interface StartVoiceToneAnalysisTaskRequest {
3621
3621
  * @public
3622
3622
  * <p>The language code.</p>
3623
3623
  */
3624
- LanguageCode: LanguageCode | string | undefined;
3624
+ LanguageCode: LanguageCode | undefined;
3625
3625
  /**
3626
3626
  * @public
3627
3627
  * <p>The unique identifier for the client request. Use a different token for different voice tone analysis
@@ -3722,7 +3722,7 @@ export interface UpdatePhoneNumberRequest {
3722
3722
  * @public
3723
3723
  * <p>The product type.</p>
3724
3724
  */
3725
- ProductType?: PhoneNumberProductType | string;
3725
+ ProductType?: PhoneNumberProductType;
3726
3726
  /**
3727
3727
  * @public
3728
3728
  * <p>The outbound calling name associated with the phone number.</p>
@@ -3772,7 +3772,7 @@ export interface UpdateProxySessionRequest {
3772
3772
  * @public
3773
3773
  * <p>The proxy session capabilities.</p>
3774
3774
  */
3775
- Capabilities: (Capability | string)[] | undefined;
3775
+ Capabilities: Capability[] | undefined;
3776
3776
  /**
3777
3777
  * @public
3778
3778
  * <p>The number of minutes allowed for the proxy session.</p>
@@ -22,7 +22,7 @@ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
22
22
  export declare class AccessDeniedException extends __BaseException {
23
23
  readonly name: "AccessDeniedException";
24
24
  readonly $fault: "client";
25
- Code?: ErrorCode | string;
25
+ Code?: ErrorCode;
26
26
  Message?: string;
27
27
  constructor(
28
28
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
@@ -53,7 +53,7 @@ export interface AssociatePhoneNumbersWithVoiceConnectorRequest {
53
53
  }
54
54
  export interface PhoneNumberError {
55
55
  PhoneNumberId?: string;
56
- ErrorCode?: ErrorCode | string;
56
+ ErrorCode?: ErrorCode;
57
57
  ErrorMessage?: string;
58
58
  }
59
59
  export interface AssociatePhoneNumbersWithVoiceConnectorResponse {
@@ -62,7 +62,7 @@ export interface AssociatePhoneNumbersWithVoiceConnectorResponse {
62
62
  export declare class BadRequestException extends __BaseException {
63
63
  readonly name: "BadRequestException";
64
64
  readonly $fault: "client";
65
- Code?: ErrorCode | string;
65
+ Code?: ErrorCode;
66
66
  Message?: string;
67
67
  constructor(
68
68
  opts: __ExceptionOptionType<BadRequestException, __BaseException>
@@ -71,21 +71,21 @@ export declare class BadRequestException extends __BaseException {
71
71
  export declare class ForbiddenException extends __BaseException {
72
72
  readonly name: "ForbiddenException";
73
73
  readonly $fault: "client";
74
- Code?: ErrorCode | string;
74
+ Code?: ErrorCode;
75
75
  Message?: string;
76
76
  constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
77
77
  }
78
78
  export declare class NotFoundException extends __BaseException {
79
79
  readonly name: "NotFoundException";
80
80
  readonly $fault: "client";
81
- Code?: ErrorCode | string;
81
+ Code?: ErrorCode;
82
82
  Message?: string;
83
83
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
84
84
  }
85
85
  export declare class ServiceFailureException extends __BaseException {
86
86
  readonly name: "ServiceFailureException";
87
87
  readonly $fault: "server";
88
- Code?: ErrorCode | string;
88
+ Code?: ErrorCode;
89
89
  Message?: string;
90
90
  constructor(
91
91
  opts: __ExceptionOptionType<ServiceFailureException, __BaseException>
@@ -94,7 +94,7 @@ export declare class ServiceFailureException extends __BaseException {
94
94
  export declare class ServiceUnavailableException extends __BaseException {
95
95
  readonly name: "ServiceUnavailableException";
96
96
  readonly $fault: "server";
97
- Code?: ErrorCode | string;
97
+ Code?: ErrorCode;
98
98
  Message?: string;
99
99
  constructor(
100
100
  opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
@@ -103,7 +103,7 @@ export declare class ServiceUnavailableException extends __BaseException {
103
103
  export declare class ThrottledClientException extends __BaseException {
104
104
  readonly name: "ThrottledClientException";
105
105
  readonly $fault: "client";
106
- Code?: ErrorCode | string;
106
+ Code?: ErrorCode;
107
107
  Message?: string;
108
108
  constructor(
109
109
  opts: __ExceptionOptionType<ThrottledClientException, __BaseException>
@@ -112,7 +112,7 @@ export declare class ThrottledClientException extends __BaseException {
112
112
  export declare class UnauthorizedClientException extends __BaseException {
113
113
  readonly name: "UnauthorizedClientException";
114
114
  readonly $fault: "client";
115
- Code?: ErrorCode | string;
115
+ Code?: ErrorCode;
116
116
  Message?: string;
117
117
  constructor(
118
118
  opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>
@@ -140,7 +140,7 @@ export type PhoneNumberProductType =
140
140
  (typeof PhoneNumberProductType)[keyof typeof PhoneNumberProductType];
141
141
  export interface UpdatePhoneNumberRequestItem {
142
142
  PhoneNumberId: string | undefined;
143
- ProductType?: PhoneNumberProductType | string;
143
+ ProductType?: PhoneNumberProductType;
144
144
  CallingName?: string;
145
145
  Name?: string;
146
146
  }
@@ -183,7 +183,7 @@ export declare const Capability: {
183
183
  };
184
184
  export type Capability = (typeof Capability)[keyof typeof Capability];
185
185
  export interface CreatePhoneNumberOrderRequest {
186
- ProductType: PhoneNumberProductType | string | undefined;
186
+ ProductType: PhoneNumberProductType | undefined;
187
187
  E164PhoneNumbers: string[] | undefined;
188
188
  Name?: string;
189
189
  }
@@ -196,7 +196,7 @@ export type OrderedPhoneNumberStatus =
196
196
  (typeof OrderedPhoneNumberStatus)[keyof typeof OrderedPhoneNumberStatus];
197
197
  export interface OrderedPhoneNumber {
198
198
  E164PhoneNumber?: string;
199
- Status?: OrderedPhoneNumberStatus | string;
199
+ Status?: OrderedPhoneNumberStatus;
200
200
  }
201
201
  export declare const PhoneNumberOrderType: {
202
202
  readonly New: "New";
@@ -221,9 +221,9 @@ export type PhoneNumberOrderStatus =
221
221
  (typeof PhoneNumberOrderStatus)[keyof typeof PhoneNumberOrderStatus];
222
222
  export interface PhoneNumberOrder {
223
223
  PhoneNumberOrderId?: string;
224
- ProductType?: PhoneNumberProductType | string;
225
- Status?: PhoneNumberOrderStatus | string;
226
- OrderType?: PhoneNumberOrderType | string;
224
+ ProductType?: PhoneNumberProductType;
225
+ Status?: PhoneNumberOrderStatus;
226
+ OrderType?: PhoneNumberOrderType;
227
227
  OrderedPhoneNumbers?: OrderedPhoneNumber[];
228
228
  CreatedTimestamp?: Date;
229
229
  UpdatedTimestamp?: Date;
@@ -234,7 +234,7 @@ export interface CreatePhoneNumberOrderResponse {
234
234
  export declare class ResourceLimitExceededException extends __BaseException {
235
235
  readonly name: "ResourceLimitExceededException";
236
236
  readonly $fault: "client";
237
- Code?: ErrorCode | string;
237
+ Code?: ErrorCode;
238
238
  Message?: string;
239
239
  constructor(
240
240
  opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
@@ -260,9 +260,9 @@ export interface CreateProxySessionRequest {
260
260
  ParticipantPhoneNumbers: string[] | undefined;
261
261
  Name?: string;
262
262
  ExpiryMinutes?: number;
263
- Capabilities: (Capability | string)[] | undefined;
264
- NumberSelectionBehavior?: NumberSelectionBehavior | string;
265
- GeoMatchLevel?: GeoMatchLevel | string;
263
+ Capabilities: Capability[] | undefined;
264
+ NumberSelectionBehavior?: NumberSelectionBehavior;
265
+ GeoMatchLevel?: GeoMatchLevel;
266
266
  GeoMatchParams?: GeoMatchParams;
267
267
  }
268
268
  export interface Participant {
@@ -280,15 +280,15 @@ export interface ProxySession {
280
280
  VoiceConnectorId?: string;
281
281
  ProxySessionId?: string;
282
282
  Name?: string;
283
- Status?: ProxySessionStatus | string;
283
+ Status?: ProxySessionStatus;
284
284
  ExpiryMinutes?: number;
285
- Capabilities?: (Capability | string)[];
285
+ Capabilities?: Capability[];
286
286
  CreatedTimestamp?: Date;
287
287
  UpdatedTimestamp?: Date;
288
288
  EndedTimestamp?: Date;
289
289
  Participants?: Participant[];
290
- NumberSelectionBehavior?: NumberSelectionBehavior | string;
291
- GeoMatchLevel?: GeoMatchLevel | string;
290
+ NumberSelectionBehavior?: NumberSelectionBehavior;
291
+ GeoMatchLevel?: GeoMatchLevel;
292
292
  GeoMatchParams?: GeoMatchParams;
293
293
  }
294
294
  export interface CreateProxySessionResponse {
@@ -297,7 +297,7 @@ export interface CreateProxySessionResponse {
297
297
  export declare class ConflictException extends __BaseException {
298
298
  readonly name: "ConflictException";
299
299
  readonly $fault: "client";
300
- Code?: ErrorCode | string;
300
+ Code?: ErrorCode;
301
301
  Message?: string;
302
302
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
303
303
  }
@@ -352,7 +352,7 @@ export type SipRuleTriggerType =
352
352
  (typeof SipRuleTriggerType)[keyof typeof SipRuleTriggerType];
353
353
  export interface CreateSipRuleRequest {
354
354
  Name: string | undefined;
355
- TriggerType: SipRuleTriggerType | string | undefined;
355
+ TriggerType: SipRuleTriggerType | undefined;
356
356
  TriggerValue: string | undefined;
357
357
  Disabled?: boolean;
358
358
  TargetApplications?: SipRuleTargetApplication[];
@@ -361,7 +361,7 @@ export interface SipRule {
361
361
  SipRuleId?: string;
362
362
  Name?: string;
363
363
  Disabled?: boolean;
364
- TriggerType?: SipRuleTriggerType | string;
364
+ TriggerType?: SipRuleTriggerType;
365
365
  TriggerValue?: string;
366
366
  TargetApplications?: SipRuleTargetApplication[];
367
367
  CreatedTimestamp?: Date;
@@ -386,13 +386,13 @@ export type VoiceConnectorAwsRegion =
386
386
  (typeof VoiceConnectorAwsRegion)[keyof typeof VoiceConnectorAwsRegion];
387
387
  export interface CreateVoiceConnectorRequest {
388
388
  Name: string | undefined;
389
- AwsRegion?: VoiceConnectorAwsRegion | string;
389
+ AwsRegion?: VoiceConnectorAwsRegion;
390
390
  RequireEncryption: boolean | undefined;
391
391
  Tags?: Tag[];
392
392
  }
393
393
  export interface VoiceConnector {
394
394
  VoiceConnectorId?: string;
395
- AwsRegion?: VoiceConnectorAwsRegion | string;
395
+ AwsRegion?: VoiceConnectorAwsRegion;
396
396
  Name?: string;
397
397
  OutboundHostName?: string;
398
398
  RequireEncryption?: boolean;
@@ -439,7 +439,7 @@ export interface CreateVoiceProfileResponse {
439
439
  export declare class GoneException extends __BaseException {
440
440
  readonly name: "GoneException";
441
441
  readonly $fault: "client";
442
- Code?: ErrorCode | string;
442
+ Code?: ErrorCode;
443
443
  Message?: string;
444
444
  constructor(opts: __ExceptionOptionType<GoneException, __BaseException>);
445
445
  }
@@ -543,7 +543,7 @@ export type PhoneNumberAssociationName =
543
543
  (typeof PhoneNumberAssociationName)[keyof typeof PhoneNumberAssociationName];
544
544
  export interface PhoneNumberAssociation {
545
545
  Value?: string;
546
- Name?: PhoneNumberAssociationName | string;
546
+ Name?: PhoneNumberAssociationName;
547
547
  AssociatedTimestamp?: Date;
548
548
  }
549
549
  export interface PhoneNumberCapabilities {
@@ -579,13 +579,13 @@ export interface PhoneNumber {
579
579
  PhoneNumberId?: string;
580
580
  E164PhoneNumber?: string;
581
581
  Country?: string;
582
- Type?: PhoneNumberType | string;
583
- ProductType?: PhoneNumberProductType | string;
584
- Status?: PhoneNumberStatus | string;
582
+ Type?: PhoneNumberType;
583
+ ProductType?: PhoneNumberProductType;
584
+ Status?: PhoneNumberStatus;
585
585
  Capabilities?: PhoneNumberCapabilities;
586
586
  Associations?: PhoneNumberAssociation[];
587
587
  CallingName?: string;
588
- CallingNameStatus?: CallingNameStatus | string;
588
+ CallingNameStatus?: CallingNameStatus;
589
589
  CreatedTimestamp?: Date;
590
590
  UpdatedTimestamp?: Date;
591
591
  DeletionTimestamp?: Date;
@@ -622,7 +622,7 @@ export interface GetSipMediaApplicationAlexaSkillConfigurationRequest {
622
622
  SipMediaApplicationId: string | undefined;
623
623
  }
624
624
  export interface SipMediaApplicationAlexaSkillConfiguration {
625
- AlexaSkillStatus: AlexaSkillStatus | string | undefined;
625
+ AlexaSkillStatus: AlexaSkillStatus | undefined;
626
626
  AlexaSkillIds: string[] | undefined;
627
627
  }
628
628
  export interface GetSipMediaApplicationAlexaSkillConfigurationResponse {
@@ -716,7 +716,7 @@ export type OriginationRouteProtocol =
716
716
  export interface OriginationRoute {
717
717
  Host?: string;
718
718
  Port?: number;
719
- Protocol?: OriginationRouteProtocol | string;
719
+ Protocol?: OriginationRouteProtocol;
720
720
  Priority?: number;
721
721
  Weight?: number;
722
722
  }
@@ -754,7 +754,7 @@ export declare const NotificationTarget: {
754
754
  export type NotificationTarget =
755
755
  (typeof NotificationTarget)[keyof typeof NotificationTarget];
756
756
  export interface StreamingNotificationTarget {
757
- NotificationTarget?: NotificationTarget | string;
757
+ NotificationTarget?: NotificationTarget;
758
758
  }
759
759
  export interface StreamingConfiguration {
760
760
  DataRetentionInHours: number | undefined;
@@ -818,7 +818,7 @@ export interface GetVoiceToneAnalysisTaskResponse {
818
818
  VoiceToneAnalysisTask?: VoiceToneAnalysisTask;
819
819
  }
820
820
  export interface ListAvailableVoiceConnectorRegionsResponse {
821
- VoiceConnectorRegions?: (VoiceConnectorAwsRegion | string)[];
821
+ VoiceConnectorRegions?: VoiceConnectorAwsRegion[];
822
822
  }
823
823
  export interface ListPhoneNumberOrdersRequest {
824
824
  NextToken?: string;
@@ -830,8 +830,8 @@ export interface ListPhoneNumberOrdersResponse {
830
830
  }
831
831
  export interface ListPhoneNumbersRequest {
832
832
  Status?: string;
833
- ProductType?: PhoneNumberProductType | string;
834
- FilterName?: PhoneNumberAssociationName | string;
833
+ ProductType?: PhoneNumberProductType;
834
+ FilterName?: PhoneNumberAssociationName;
835
835
  FilterValue?: string;
836
836
  MaxResults?: number;
837
837
  NextToken?: string;
@@ -842,7 +842,7 @@ export interface ListPhoneNumbersResponse {
842
842
  }
843
843
  export interface ListProxySessionsRequest {
844
844
  VoiceConnectorId: string | undefined;
845
- Status?: ProxySessionStatus | string;
845
+ Status?: ProxySessionStatus;
846
846
  NextToken?: string;
847
847
  MaxResults?: number;
848
848
  }
@@ -868,11 +868,11 @@ export interface ListSipRulesResponse {
868
868
  NextToken?: string;
869
869
  }
870
870
  export interface ListSupportedPhoneNumberCountriesRequest {
871
- ProductType: PhoneNumberProductType | string | undefined;
871
+ ProductType: PhoneNumberProductType | undefined;
872
872
  }
873
873
  export interface PhoneNumberCountry {
874
874
  CountryCode?: string;
875
- SupportedPhoneNumberTypes?: (PhoneNumberType | string)[];
875
+ SupportedPhoneNumberTypes?: PhoneNumberType[];
876
876
  }
877
877
  export interface ListSupportedPhoneNumberCountriesResponse {
878
878
  PhoneNumberCountries?: PhoneNumberCountry[];
@@ -1017,7 +1017,7 @@ export interface SearchAvailablePhoneNumbersRequest {
1017
1017
  Country?: string;
1018
1018
  State?: string;
1019
1019
  TollFreePrefix?: string;
1020
- PhoneNumberType?: PhoneNumberType | string;
1020
+ PhoneNumberType?: PhoneNumberType;
1021
1021
  MaxResults?: number;
1022
1022
  NextToken?: string;
1023
1023
  }
@@ -1030,7 +1030,7 @@ export interface StartSpeakerSearchTaskRequest {
1030
1030
  TransactionId: string | undefined;
1031
1031
  VoiceProfileDomainId: string | undefined;
1032
1032
  ClientRequestToken?: string;
1033
- CallLeg?: CallLegType | string;
1033
+ CallLeg?: CallLegType;
1034
1034
  }
1035
1035
  export interface StartSpeakerSearchTaskResponse {
1036
1036
  SpeakerSearchTask?: SpeakerSearchTask;
@@ -1038,7 +1038,7 @@ export interface StartSpeakerSearchTaskResponse {
1038
1038
  export declare class UnprocessableEntityException extends __BaseException {
1039
1039
  readonly name: "UnprocessableEntityException";
1040
1040
  readonly $fault: "client";
1041
- Code?: ErrorCode | string;
1041
+ Code?: ErrorCode;
1042
1042
  Message?: string;
1043
1043
  constructor(
1044
1044
  opts: __ExceptionOptionType<UnprocessableEntityException, __BaseException>
@@ -1051,7 +1051,7 @@ export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
1051
1051
  export interface StartVoiceToneAnalysisTaskRequest {
1052
1052
  VoiceConnectorId: string | undefined;
1053
1053
  TransactionId: string | undefined;
1054
- LanguageCode: LanguageCode | string | undefined;
1054
+ LanguageCode: LanguageCode | undefined;
1055
1055
  ClientRequestToken?: string;
1056
1056
  }
1057
1057
  export interface StartVoiceToneAnalysisTaskResponse {
@@ -1078,7 +1078,7 @@ export interface UpdateGlobalSettingsRequest {
1078
1078
  }
1079
1079
  export interface UpdatePhoneNumberRequest {
1080
1080
  PhoneNumberId: string | undefined;
1081
- ProductType?: PhoneNumberProductType | string;
1081
+ ProductType?: PhoneNumberProductType;
1082
1082
  CallingName?: string;
1083
1083
  Name?: string;
1084
1084
  }
@@ -1091,7 +1091,7 @@ export interface UpdatePhoneNumberSettingsRequest {
1091
1091
  export interface UpdateProxySessionRequest {
1092
1092
  VoiceConnectorId: string | undefined;
1093
1093
  ProxySessionId: string | undefined;
1094
- Capabilities: (Capability | string)[] | undefined;
1094
+ Capabilities: Capability[] | undefined;
1095
1095
  ExpiryMinutes?: number;
1096
1096
  }
1097
1097
  export interface UpdateProxySessionResponse {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-chime-sdk-voice",
3
3
  "description": "AWS SDK for JavaScript Chime Sdk Voice Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",