@aws-sdk/client-chime 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.
@@ -161,7 +161,7 @@ export type OriginationRouteProtocol =
161
161
  export interface OriginationRoute {
162
162
  Host?: string;
163
163
  Port?: number;
164
- Protocol?: OriginationRouteProtocol | string;
164
+ Protocol?: OriginationRouteProtocol;
165
165
  Priority?: number;
166
166
  Weight?: number;
167
167
  }
@@ -195,7 +195,7 @@ export declare const NotificationTarget: {
195
195
  export type NotificationTarget =
196
196
  (typeof NotificationTarget)[keyof typeof NotificationTarget];
197
197
  export interface StreamingNotificationTarget {
198
- NotificationTarget: NotificationTarget | string | undefined;
198
+ NotificationTarget: NotificationTarget | undefined;
199
199
  }
200
200
  export interface StreamingConfiguration {
201
201
  DataRetentionInHours: number | undefined;
@@ -230,14 +230,14 @@ export interface GetVoiceConnectorTerminationHealthResponse {
230
230
  }
231
231
  export interface Invite {
232
232
  InviteId?: string;
233
- Status?: InviteStatus | string;
233
+ Status?: InviteStatus;
234
234
  EmailAddress?: string;
235
- EmailStatus?: EmailStatus | string;
235
+ EmailStatus?: EmailStatus;
236
236
  }
237
237
  export interface InviteUsersRequest {
238
238
  AccountId: string | undefined;
239
239
  UserEmailList: string[] | undefined;
240
- UserType?: UserType | string;
240
+ UserType?: UserType;
241
241
  }
242
242
  export interface InviteUsersResponse {
243
243
  Invites?: Invite[];
@@ -318,7 +318,7 @@ export interface ListChannelBansResponse {
318
318
  }
319
319
  export interface ListChannelMembershipsRequest {
320
320
  ChannelArn: string | undefined;
321
- Type?: ChannelMembershipType | string;
321
+ Type?: ChannelMembershipType;
322
322
  MaxResults?: number;
323
323
  NextToken?: string;
324
324
  ChimeBearer?: string;
@@ -345,7 +345,7 @@ export declare const SortOrder: {
345
345
  export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
346
346
  export interface ListChannelMessagesRequest {
347
347
  ChannelArn: string | undefined;
348
- SortOrder?: SortOrder | string;
348
+ SortOrder?: SortOrder;
349
349
  NotBefore?: Date;
350
350
  NotAfter?: Date;
351
351
  MaxResults?: number;
@@ -370,7 +370,7 @@ export interface ListChannelModeratorsResponse {
370
370
  }
371
371
  export interface ListChannelsRequest {
372
372
  AppInstanceArn: string | undefined;
373
- Privacy?: ChannelPrivacy | string;
373
+ Privacy?: ChannelPrivacy;
374
374
  MaxResults?: number;
375
375
  NextToken?: string;
376
376
  ChimeBearer?: string;
@@ -420,9 +420,9 @@ export interface ListPhoneNumberOrdersResponse {
420
420
  NextToken?: string;
421
421
  }
422
422
  export interface ListPhoneNumbersRequest {
423
- Status?: PhoneNumberStatus | string;
424
- ProductType?: PhoneNumberProductType | string;
425
- FilterName?: PhoneNumberAssociationName | string;
423
+ Status?: PhoneNumberStatus;
424
+ ProductType?: PhoneNumberProductType;
425
+ FilterName?: PhoneNumberAssociationName;
426
426
  FilterValue?: string;
427
427
  MaxResults?: number;
428
428
  NextToken?: string;
@@ -433,7 +433,7 @@ export interface ListPhoneNumbersResponse {
433
433
  }
434
434
  export interface ListProxySessionsRequest {
435
435
  VoiceConnectorId: string | undefined;
436
- Status?: ProxySessionStatus | string;
436
+ Status?: ProxySessionStatus;
437
437
  NextToken?: string;
438
438
  MaxResults?: number;
439
439
  }
@@ -479,11 +479,11 @@ export interface ListSipRulesResponse {
479
479
  NextToken?: string;
480
480
  }
481
481
  export interface ListSupportedPhoneNumberCountriesRequest {
482
- ProductType: PhoneNumberProductType | string | undefined;
482
+ ProductType: PhoneNumberProductType | undefined;
483
483
  }
484
484
  export interface PhoneNumberCountry {
485
485
  CountryCode?: string;
486
- SupportedPhoneNumberTypes?: (PhoneNumberType | string)[];
486
+ SupportedPhoneNumberTypes?: PhoneNumberType[];
487
487
  }
488
488
  export interface ListSupportedPhoneNumberCountriesResponse {
489
489
  PhoneNumberCountries?: PhoneNumberCountry[];
@@ -497,7 +497,7 @@ export interface ListTagsForResourceResponse {
497
497
  export interface ListUsersRequest {
498
498
  AccountId: string | undefined;
499
499
  UserEmail?: string;
500
- UserType?: UserType | string;
500
+ UserType?: UserType;
501
501
  MaxResults?: number;
502
502
  NextToken?: string;
503
503
  }
@@ -669,7 +669,7 @@ export interface SearchAvailablePhoneNumbersRequest {
669
669
  Country?: string;
670
670
  State?: string;
671
671
  TollFreePrefix?: string;
672
- PhoneNumberType?: PhoneNumberType | string;
672
+ PhoneNumberType?: PhoneNumberType;
673
673
  MaxResults?: number;
674
674
  NextToken?: string;
675
675
  }
@@ -680,8 +680,8 @@ export interface SearchAvailablePhoneNumbersResponse {
680
680
  export interface SendChannelMessageRequest {
681
681
  ChannelArn: string | undefined;
682
682
  Content: string | undefined;
683
- Type: ChannelMessageType | string | undefined;
684
- Persistence: ChannelMessagePersistenceType | string | undefined;
683
+ Type: ChannelMessageType | undefined;
684
+ Persistence: ChannelMessagePersistenceType | undefined;
685
685
  Metadata?: string;
686
686
  ClientRequestToken?: string;
687
687
  ChimeBearer?: string;
@@ -732,7 +732,7 @@ export interface UntagResourceRequest {
732
732
  export interface UpdateAccountRequest {
733
733
  AccountId: string | undefined;
734
734
  Name?: string;
735
- DefaultLicense?: License | string;
735
+ DefaultLicense?: License;
736
736
  }
737
737
  export interface UpdateAccountResponse {
738
738
  Account?: Account;
@@ -769,7 +769,7 @@ export interface UpdateBotResponse {
769
769
  export interface UpdateChannelRequest {
770
770
  ChannelArn: string | undefined;
771
771
  Name: string | undefined;
772
- Mode: ChannelMode | string | undefined;
772
+ Mode: ChannelMode | undefined;
773
773
  Metadata?: string;
774
774
  ChimeBearer?: string;
775
775
  }
@@ -800,7 +800,7 @@ export interface UpdateGlobalSettingsRequest {
800
800
  }
801
801
  export interface UpdatePhoneNumberRequest {
802
802
  PhoneNumberId: string | undefined;
803
- ProductType?: PhoneNumberProductType | string;
803
+ ProductType?: PhoneNumberProductType;
804
804
  CallingName?: string;
805
805
  }
806
806
  export interface UpdatePhoneNumberResponse {
@@ -812,7 +812,7 @@ export interface UpdatePhoneNumberSettingsRequest {
812
812
  export interface UpdateProxySessionRequest {
813
813
  VoiceConnectorId: string | undefined;
814
814
  ProxySessionId: string | undefined;
815
- Capabilities: (Capability | string)[] | undefined;
815
+ Capabilities: Capability[] | undefined;
816
816
  ExpiryMinutes?: number;
817
817
  }
818
818
  export interface UpdateProxySessionResponse {
@@ -830,7 +830,7 @@ export interface UpdateRoomMembershipRequest {
830
830
  AccountId: string | undefined;
831
831
  RoomId: string | undefined;
832
832
  MemberId: string | undefined;
833
- Role?: RoomMembershipRole | string;
833
+ Role?: RoomMembershipRole;
834
834
  }
835
835
  export interface UpdateRoomMembershipResponse {
836
836
  RoomMembership?: RoomMembership;
@@ -863,8 +863,8 @@ export interface UpdateSipRuleResponse {
863
863
  export interface UpdateUserRequest {
864
864
  AccountId: string | undefined;
865
865
  UserId: string | undefined;
866
- LicenseType?: License | string;
867
- UserType?: UserType | string;
866
+ LicenseType?: License;
867
+ UserType?: UserType;
868
868
  AlexaForBusinessMetadata?: AlexaForBusinessMetadata;
869
869
  }
870
870
  export interface UpdateUserResponse {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-chime",
3
3
  "description": "AWS SDK for JavaScript Chime 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",