@aws-sdk/client-chime 3.45.0 → 3.47.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,50 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-chime
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-chime
17
+
18
+
19
+
20
+
21
+
22
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
28
+
29
+
30
+
31
+
32
+
33
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
39
+
40
+
41
+ ### Features
42
+
43
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
44
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
45
+
46
+
47
+
48
+
49
+
6
50
  # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
7
51
 
8
52
 
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateAttendeeRequestItem = exports.BatchChannelMemberships = exports.Tag = exports.Attendee = exports.AssociateSigninDelegateGroupsWithAccountResponse = exports.AssociateSigninDelegateGroupsWithAccountRequest = exports.AssociatePhoneNumberWithUserResponse = exports.AssociatePhoneNumberWithUserRequest = exports.AssociatePhoneNumbersWithVoiceConnectorGroupResponse = exports.AssociatePhoneNumbersWithVoiceConnectorGroupRequest = exports.UnauthorizedClientException = exports.ThrottledClientException = exports.ServiceUnavailableException = exports.ServiceFailureException = exports.NotFoundException = exports.ForbiddenException = exports.BadRequestException = exports.AssociatePhoneNumbersWithVoiceConnectorResponse = exports.PhoneNumberError = exports.AssociatePhoneNumbersWithVoiceConnectorRequest = exports.ArtifactsConfiguration = exports.VideoArtifactsConfiguration = exports.VideoMuxType = exports.ContentArtifactsConfiguration = exports.ArtifactsState = exports.ContentMuxType = exports.AudioArtifactsConfiguration = exports.AudioMuxType = exports.AppInstanceUserMembershipSummary = exports.ChannelMembershipType = exports.AppInstanceUserSummary = exports.AppInstanceUser = exports.AppInstanceStreamingConfiguration = exports.AppInstanceRetentionSettings = exports.ChannelRetentionSettings = exports.AppInstanceSummary = exports.AppInstanceDataType = exports.AppInstanceAdminSummary = exports.AppInstanceAdmin = exports.Identity = exports.AppInstance = exports.AlexaForBusinessMetadata = exports.AccountSettings = exports.Account = exports.SigninDelegateGroup = exports.License = exports.AccountType = exports.AccountStatus = exports.AccessDeniedException = exports.ErrorCode = void 0;
4
- exports.SourceConfiguration = exports.SelectedVideoStreams = exports.ChannelModeratorSummary = exports.ChannelModerator = exports.ChannelModeratedByAppInstanceUserSummary = exports.ChannelMessageSummary = exports.ChannelMessage = exports.ChannelMessageType = exports.ChannelMessagePersistenceType = exports.ChannelMembershipSummary = exports.ChannelMembershipForAppInstanceUserSummary = exports.ChannelSummary = exports.ChannelMembership = exports.ChannelBanSummary = exports.ChannelBan = exports.Channel = exports.ChannelPrivacy = exports.ChannelMode = exports.Capability = exports.CallingNameStatus = exports.BusinessCallingSettings = exports.Bot = exports.BotType = exports.BatchUpdateUserResponse = exports.BatchUpdateUserRequest = exports.UpdateUserRequestItem = exports.UserType = exports.BatchUpdatePhoneNumberResponse = exports.BatchUpdatePhoneNumberRequest = exports.UpdatePhoneNumberRequestItem = exports.PhoneNumberProductType = exports.BatchUnsuspendUserResponse = exports.BatchUnsuspendUserRequest = exports.BatchSuspendUserResponse = exports.UserError = exports.BatchSuspendUserRequest = exports.BatchDeletePhoneNumberResponse = exports.BatchDeletePhoneNumberRequest = exports.BatchCreateRoomMembershipResponse = exports.MemberError = exports.BatchCreateRoomMembershipRequest = exports.MembershipItem = exports.RoomMembershipRole = exports.BatchCreateChannelMembershipResponse = exports.BatchCreateChannelMembershipError = exports.BatchCreateChannelMembershipRequest = exports.ResourceLimitExceededException = exports.BatchCreateAttendeeResponse = exports.CreateAttendeeError = exports.BatchCreateAttendeeRequest = void 0;
5
- exports.ProxySessionStatus = exports.Participant = exports.CreateProxySessionRequest = exports.NumberSelectionBehavior = exports.GeoMatchParams = exports.GeoMatchLevel = exports.CreatePhoneNumberOrderResponse = exports.PhoneNumberOrder = exports.PhoneNumberOrderStatus = exports.OrderedPhoneNumber = exports.OrderedPhoneNumberStatus = exports.CreatePhoneNumberOrderRequest = exports.CreateMeetingWithAttendeesResponse = exports.CreateMeetingWithAttendeesRequest = exports.CreateMeetingDialOutResponse = exports.CreateMeetingDialOutRequest = exports.CreateMeetingResponse = exports.Meeting = exports.MediaPlacement = exports.CreateMeetingRequest = exports.MeetingNotificationConfiguration = exports.CreateMediaCapturePipelineResponse = exports.MediaCapturePipeline = exports.MediaPipelineStatus = exports.CreateMediaCapturePipelineRequest = exports.MediaPipelineSourceType = exports.MediaPipelineSinkType = exports.CreateChannelModeratorResponse = exports.CreateChannelModeratorRequest = exports.CreateChannelMembershipResponse = exports.CreateChannelMembershipRequest = exports.CreateChannelBanResponse = exports.CreateChannelBanRequest = exports.CreateChannelResponse = exports.CreateChannelRequest = exports.CreateBotResponse = exports.CreateBotRequest = exports.CreateAttendeeResponse = exports.CreateAttendeeRequest = exports.CreateAppInstanceUserResponse = exports.CreateAppInstanceUserRequest = exports.CreateAppInstanceAdminResponse = exports.CreateAppInstanceAdminRequest = exports.CreateAppInstanceResponse = exports.CreateAppInstanceRequest = exports.CreateAccountResponse = exports.CreateAccountRequest = exports.ConversationRetentionSettings = exports.ConflictException = exports.ChimeSdkMeetingConfiguration = void 0;
6
- exports.DeleteEventsConfigurationRequest = exports.DeleteChannelModeratorRequest = exports.DeleteChannelMessageRequest = exports.DeleteChannelMembershipRequest = exports.DeleteChannelBanRequest = exports.DeleteChannelRequest = exports.DeleteAttendeeRequest = exports.DeleteAppInstanceUserRequest = exports.DeleteAppInstanceStreamingConfigurationsRequest = exports.DeleteAppInstanceAdminRequest = exports.DeleteAppInstanceRequest = exports.UnprocessableEntityException = exports.DeleteAccountResponse = exports.DeleteAccountRequest = exports.Credential = exports.CreateVoiceConnectorGroupResponse = exports.VoiceConnectorGroup = exports.CreateVoiceConnectorGroupRequest = exports.VoiceConnectorItem = exports.CreateVoiceConnectorResponse = exports.VoiceConnector = exports.CreateVoiceConnectorRequest = exports.VoiceConnectorAwsRegion = exports.CreateUserResponse = exports.User = exports.RegistrationStatus = exports.InviteStatus = exports.CreateUserRequest = exports.CreateSipRuleResponse = exports.SipRule = exports.CreateSipRuleRequest = exports.SipRuleTriggerType = exports.SipRuleTargetApplication = exports.CreateSipMediaApplicationCallResponse = exports.SipMediaApplicationCall = exports.CreateSipMediaApplicationCallRequest = exports.CreateSipMediaApplicationResponse = exports.SipMediaApplication = exports.CreateSipMediaApplicationRequest = exports.SipMediaApplicationEndpoint = exports.CreateRoomMembershipResponse = exports.RoomMembership = exports.Member = exports.MemberType = exports.CreateRoomMembershipRequest = exports.CreateRoomResponse = exports.Room = exports.CreateRoomRequest = exports.CreateProxySessionResponse = exports.ProxySession = void 0;
7
- exports.TranscribeMedicalType = exports.TranscribeMedicalSpecialty = exports.TranscribeMedicalRegion = exports.TranscribeMedicalLanguageCode = exports.TranscribeMedicalContentIdentificationType = exports.EmergencyCallingConfiguration = exports.EmailStatus = exports.DNISEmergencyCallingConfiguration = exports.DisassociateSigninDelegateGroupsFromAccountResponse = exports.DisassociateSigninDelegateGroupsFromAccountRequest = exports.DisassociatePhoneNumbersFromVoiceConnectorGroupResponse = exports.DisassociatePhoneNumbersFromVoiceConnectorGroupRequest = exports.DisassociatePhoneNumbersFromVoiceConnectorResponse = exports.DisassociatePhoneNumbersFromVoiceConnectorRequest = exports.DisassociatePhoneNumberFromUserResponse = exports.DisassociatePhoneNumberFromUserRequest = exports.DescribeChannelModeratorResponse = exports.DescribeChannelModeratorRequest = exports.DescribeChannelModeratedByAppInstanceUserResponse = exports.DescribeChannelModeratedByAppInstanceUserRequest = exports.DescribeChannelMembershipForAppInstanceUserResponse = exports.DescribeChannelMembershipForAppInstanceUserRequest = exports.DescribeChannelMembershipResponse = exports.DescribeChannelMembershipRequest = exports.DescribeChannelBanResponse = exports.DescribeChannelBanRequest = exports.DescribeChannelResponse = exports.DescribeChannelRequest = exports.DescribeAppInstanceUserResponse = exports.DescribeAppInstanceUserRequest = exports.DescribeAppInstanceAdminResponse = exports.DescribeAppInstanceAdminRequest = exports.DescribeAppInstanceResponse = exports.DescribeAppInstanceRequest = exports.DeleteVoiceConnectorTerminationCredentialsRequest = exports.DeleteVoiceConnectorTerminationRequest = exports.DeleteVoiceConnectorStreamingConfigurationRequest = exports.DeleteVoiceConnectorProxyRequest = exports.DeleteVoiceConnectorOriginationRequest = exports.DeleteVoiceConnectorGroupRequest = exports.DeleteVoiceConnectorEmergencyCallingConfigurationRequest = exports.DeleteVoiceConnectorRequest = exports.DeleteSipRuleRequest = exports.DeleteSipMediaApplicationRequest = exports.DeleteRoomMembershipRequest = exports.DeleteRoomRequest = exports.DeleteProxySessionRequest = exports.DeletePhoneNumberRequest = exports.DeleteMeetingRequest = exports.DeleteMediaCapturePipelineRequest = void 0;
8
- exports.RetentionSettings = exports.RoomRetentionSettings = exports.GetRetentionSettingsRequest = exports.GetProxySessionResponse = exports.GetProxySessionRequest = exports.GetPhoneNumberSettingsResponse = exports.GetPhoneNumberOrderResponse = exports.GetPhoneNumberOrderRequest = exports.GetPhoneNumberResponse = exports.PhoneNumber = exports.PhoneNumberType = exports.PhoneNumberStatus = exports.PhoneNumberCapabilities = exports.PhoneNumberAssociation = exports.PhoneNumberAssociationName = exports.GetPhoneNumberRequest = exports.GetMessagingSessionEndpointResponse = exports.MessagingSessionEndpoint = exports.GetMessagingSessionEndpointRequest = exports.GetMeetingResponse = exports.GetMeetingRequest = exports.GetMediaCapturePipelineResponse = exports.GetMediaCapturePipelineRequest = exports.GetGlobalSettingsResponse = exports.VoiceConnectorSettings = exports.GetEventsConfigurationResponse = exports.GetEventsConfigurationRequest = exports.GetChannelMessageResponse = exports.GetChannelMessageRequest = exports.GetBotResponse = exports.GetBotRequest = exports.GetAttendeeResponse = exports.GetAttendeeRequest = exports.GetAppInstanceStreamingConfigurationsResponse = exports.GetAppInstanceStreamingConfigurationsRequest = exports.GetAppInstanceRetentionSettingsResponse = exports.GetAppInstanceRetentionSettingsRequest = exports.GetAccountSettingsResponse = exports.GetAccountSettingsRequest = exports.GetAccountResponse = exports.GetAccountRequest = exports.EventsConfiguration = exports.EngineTranscribeSettings = exports.TranscribeVocabularyFilterMethod = exports.TranscribeRegion = exports.TranscribePartialResultsStability = exports.TranscribeLanguageCode = exports.TranscribeContentRedactionType = exports.TranscribeContentIdentificationType = exports.EngineTranscribeMedicalSettings = void 0;
3
+ exports.MembershipItem = exports.RoomMembershipRole = exports.BatchCreateChannelMembershipResponse = exports.BatchCreateChannelMembershipError = exports.BatchCreateChannelMembershipRequest = exports.BatchCreateAttendeeResponse = exports.CreateAttendeeError = exports.BatchCreateAttendeeRequest = exports.CreateAttendeeRequestItem = exports.BatchChannelMemberships = exports.Tag = exports.Attendee = exports.AssociateSigninDelegateGroupsWithAccountResponse = exports.AssociateSigninDelegateGroupsWithAccountRequest = exports.AssociatePhoneNumberWithUserResponse = exports.AssociatePhoneNumberWithUserRequest = exports.AssociatePhoneNumbersWithVoiceConnectorGroupResponse = exports.AssociatePhoneNumbersWithVoiceConnectorGroupRequest = exports.AssociatePhoneNumbersWithVoiceConnectorResponse = exports.PhoneNumberError = exports.AssociatePhoneNumbersWithVoiceConnectorRequest = exports.ArtifactsConfiguration = exports.VideoArtifactsConfiguration = exports.VideoMuxType = exports.ContentArtifactsConfiguration = exports.ArtifactsState = exports.ContentMuxType = exports.AudioArtifactsConfiguration = exports.AudioMuxType = exports.AppInstanceUserMembershipSummary = exports.ChannelMembershipType = exports.AppInstanceUserSummary = exports.AppInstanceUser = exports.AppInstanceStreamingConfiguration = exports.AppInstanceRetentionSettings = exports.ChannelRetentionSettings = exports.AppInstanceSummary = exports.AppInstanceDataType = exports.AppInstanceAdminSummary = exports.AppInstanceAdmin = exports.Identity = exports.AppInstance = exports.AlexaForBusinessMetadata = exports.AccountSettings = exports.Account = exports.SigninDelegateGroup = exports.License = exports.AccountType = exports.AccountStatus = exports.ErrorCode = void 0;
4
+ exports.CreateAppInstanceUserRequest = exports.CreateAppInstanceAdminResponse = exports.CreateAppInstanceAdminRequest = exports.CreateAppInstanceResponse = exports.CreateAppInstanceRequest = exports.CreateAccountResponse = exports.CreateAccountRequest = exports.ConversationRetentionSettings = exports.ChimeSdkMeetingConfiguration = exports.SourceConfiguration = exports.SelectedVideoStreams = exports.ChannelModeratorSummary = exports.ChannelModerator = exports.ChannelModeratedByAppInstanceUserSummary = exports.ChannelMessageSummary = exports.ChannelMessage = exports.ChannelMessageType = exports.ChannelMessagePersistenceType = exports.ChannelMembershipSummary = exports.ChannelMembershipForAppInstanceUserSummary = exports.ChannelSummary = exports.ChannelMembership = exports.ChannelBanSummary = exports.ChannelBan = exports.Channel = exports.ChannelPrivacy = exports.ChannelMode = exports.Capability = exports.CallingNameStatus = exports.BusinessCallingSettings = exports.Bot = exports.BotType = exports.BatchUpdateUserResponse = exports.BatchUpdateUserRequest = exports.UpdateUserRequestItem = exports.UserType = exports.BatchUpdatePhoneNumberResponse = exports.BatchUpdatePhoneNumberRequest = exports.UpdatePhoneNumberRequestItem = exports.PhoneNumberProductType = exports.BatchUnsuspendUserResponse = exports.BatchUnsuspendUserRequest = exports.BatchSuspendUserResponse = exports.UserError = exports.BatchSuspendUserRequest = exports.BatchDeletePhoneNumberResponse = exports.BatchDeletePhoneNumberRequest = exports.BatchCreateRoomMembershipResponse = exports.MemberError = exports.BatchCreateRoomMembershipRequest = void 0;
5
+ exports.CreateRoomMembershipResponse = exports.RoomMembership = exports.Member = exports.MemberType = exports.CreateRoomMembershipRequest = exports.CreateRoomResponse = exports.Room = exports.CreateRoomRequest = exports.CreateProxySessionResponse = exports.ProxySession = exports.ProxySessionStatus = exports.Participant = exports.CreateProxySessionRequest = exports.NumberSelectionBehavior = exports.GeoMatchParams = exports.GeoMatchLevel = exports.CreatePhoneNumberOrderResponse = exports.PhoneNumberOrder = exports.PhoneNumberOrderStatus = exports.OrderedPhoneNumber = exports.OrderedPhoneNumberStatus = exports.CreatePhoneNumberOrderRequest = exports.CreateMeetingWithAttendeesResponse = exports.CreateMeetingWithAttendeesRequest = exports.CreateMeetingDialOutResponse = exports.CreateMeetingDialOutRequest = exports.CreateMeetingResponse = exports.Meeting = exports.MediaPlacement = exports.CreateMeetingRequest = exports.MeetingNotificationConfiguration = exports.CreateMediaCapturePipelineResponse = exports.MediaCapturePipeline = exports.MediaPipelineStatus = exports.CreateMediaCapturePipelineRequest = exports.MediaPipelineSourceType = exports.MediaPipelineSinkType = exports.CreateChannelModeratorResponse = exports.CreateChannelModeratorRequest = exports.CreateChannelMembershipResponse = exports.CreateChannelMembershipRequest = exports.CreateChannelBanResponse = exports.CreateChannelBanRequest = exports.CreateChannelResponse = exports.CreateChannelRequest = exports.CreateBotResponse = exports.CreateBotRequest = exports.CreateAttendeeResponse = exports.CreateAttendeeRequest = exports.CreateAppInstanceUserResponse = void 0;
6
+ exports.DeleteVoiceConnectorGroupRequest = exports.DeleteVoiceConnectorEmergencyCallingConfigurationRequest = exports.DeleteVoiceConnectorRequest = exports.DeleteSipRuleRequest = exports.DeleteSipMediaApplicationRequest = exports.DeleteRoomMembershipRequest = exports.DeleteRoomRequest = exports.DeleteProxySessionRequest = exports.DeletePhoneNumberRequest = exports.DeleteMeetingRequest = exports.DeleteMediaCapturePipelineRequest = exports.DeleteEventsConfigurationRequest = exports.DeleteChannelModeratorRequest = exports.DeleteChannelMessageRequest = exports.DeleteChannelMembershipRequest = exports.DeleteChannelBanRequest = exports.DeleteChannelRequest = exports.DeleteAttendeeRequest = exports.DeleteAppInstanceUserRequest = exports.DeleteAppInstanceStreamingConfigurationsRequest = exports.DeleteAppInstanceAdminRequest = exports.DeleteAppInstanceRequest = exports.DeleteAccountResponse = exports.DeleteAccountRequest = exports.Credential = exports.CreateVoiceConnectorGroupResponse = exports.VoiceConnectorGroup = exports.CreateVoiceConnectorGroupRequest = exports.VoiceConnectorItem = exports.CreateVoiceConnectorResponse = exports.VoiceConnector = exports.CreateVoiceConnectorRequest = exports.VoiceConnectorAwsRegion = exports.CreateUserResponse = exports.User = exports.RegistrationStatus = exports.InviteStatus = exports.CreateUserRequest = exports.CreateSipRuleResponse = exports.SipRule = exports.CreateSipRuleRequest = exports.SipRuleTriggerType = exports.SipRuleTargetApplication = exports.CreateSipMediaApplicationCallResponse = exports.SipMediaApplicationCall = exports.CreateSipMediaApplicationCallRequest = exports.CreateSipMediaApplicationResponse = exports.SipMediaApplication = exports.CreateSipMediaApplicationRequest = exports.SipMediaApplicationEndpoint = void 0;
7
+ exports.GetAccountResponse = exports.GetAccountRequest = exports.EventsConfiguration = exports.EngineTranscribeSettings = exports.TranscribeVocabularyFilterMethod = exports.TranscribeRegion = exports.TranscribePartialResultsStability = exports.TranscribeLanguageCode = exports.TranscribeContentRedactionType = exports.TranscribeContentIdentificationType = exports.EngineTranscribeMedicalSettings = exports.TranscribeMedicalType = exports.TranscribeMedicalSpecialty = exports.TranscribeMedicalRegion = exports.TranscribeMedicalLanguageCode = exports.TranscribeMedicalContentIdentificationType = exports.EmergencyCallingConfiguration = exports.EmailStatus = exports.DNISEmergencyCallingConfiguration = exports.DisassociateSigninDelegateGroupsFromAccountResponse = exports.DisassociateSigninDelegateGroupsFromAccountRequest = exports.DisassociatePhoneNumbersFromVoiceConnectorGroupResponse = exports.DisassociatePhoneNumbersFromVoiceConnectorGroupRequest = exports.DisassociatePhoneNumbersFromVoiceConnectorResponse = exports.DisassociatePhoneNumbersFromVoiceConnectorRequest = exports.DisassociatePhoneNumberFromUserResponse = exports.DisassociatePhoneNumberFromUserRequest = exports.DescribeChannelModeratorResponse = exports.DescribeChannelModeratorRequest = exports.DescribeChannelModeratedByAppInstanceUserResponse = exports.DescribeChannelModeratedByAppInstanceUserRequest = exports.DescribeChannelMembershipForAppInstanceUserResponse = exports.DescribeChannelMembershipForAppInstanceUserRequest = exports.DescribeChannelMembershipResponse = exports.DescribeChannelMembershipRequest = exports.DescribeChannelBanResponse = exports.DescribeChannelBanRequest = exports.DescribeChannelResponse = exports.DescribeChannelRequest = exports.DescribeAppInstanceUserResponse = exports.DescribeAppInstanceUserRequest = exports.DescribeAppInstanceAdminResponse = exports.DescribeAppInstanceAdminRequest = exports.DescribeAppInstanceResponse = exports.DescribeAppInstanceRequest = exports.DeleteVoiceConnectorTerminationCredentialsRequest = exports.DeleteVoiceConnectorTerminationRequest = exports.DeleteVoiceConnectorStreamingConfigurationRequest = exports.DeleteVoiceConnectorProxyRequest = exports.DeleteVoiceConnectorOriginationRequest = void 0;
8
+ exports.RetentionSettings = exports.RoomRetentionSettings = exports.GetRetentionSettingsRequest = exports.GetProxySessionResponse = exports.GetProxySessionRequest = exports.GetPhoneNumberSettingsResponse = exports.GetPhoneNumberOrderResponse = exports.GetPhoneNumberOrderRequest = exports.GetPhoneNumberResponse = exports.PhoneNumber = exports.PhoneNumberType = exports.PhoneNumberStatus = exports.PhoneNumberCapabilities = exports.PhoneNumberAssociation = exports.PhoneNumberAssociationName = exports.GetPhoneNumberRequest = exports.GetMessagingSessionEndpointResponse = exports.MessagingSessionEndpoint = exports.GetMessagingSessionEndpointRequest = exports.GetMeetingResponse = exports.GetMeetingRequest = exports.GetMediaCapturePipelineResponse = exports.GetMediaCapturePipelineRequest = exports.GetGlobalSettingsResponse = exports.VoiceConnectorSettings = exports.GetEventsConfigurationResponse = exports.GetEventsConfigurationRequest = exports.GetChannelMessageResponse = exports.GetChannelMessageRequest = exports.GetBotResponse = exports.GetBotRequest = exports.GetAttendeeResponse = exports.GetAttendeeRequest = exports.GetAppInstanceStreamingConfigurationsResponse = exports.GetAppInstanceStreamingConfigurationsRequest = exports.GetAppInstanceRetentionSettingsResponse = exports.GetAppInstanceRetentionSettingsRequest = exports.GetAccountSettingsResponse = exports.GetAccountSettingsRequest = void 0;
9
9
  const smithy_client_1 = require("@aws-sdk/smithy-client");
10
10
  var ErrorCode;
11
11
  (function (ErrorCode) {
@@ -25,12 +25,6 @@ var ErrorCode;
25
25
  ErrorCode["Unprocessable"] = "Unprocessable";
26
26
  ErrorCode["VoiceConnectorGroupAssociationsExist"] = "VoiceConnectorGroupAssociationsExist";
27
27
  })(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
28
- var AccessDeniedException;
29
- (function (AccessDeniedException) {
30
- AccessDeniedException.filterSensitiveLog = (obj) => ({
31
- ...obj,
32
- });
33
- })(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
34
28
  var AccountStatus;
35
29
  (function (AccountStatus) {
36
30
  AccountStatus["Active"] = "Active";
@@ -224,48 +218,6 @@ var AssociatePhoneNumbersWithVoiceConnectorResponse;
224
218
  ...obj,
225
219
  });
226
220
  })(AssociatePhoneNumbersWithVoiceConnectorResponse = exports.AssociatePhoneNumbersWithVoiceConnectorResponse || (exports.AssociatePhoneNumbersWithVoiceConnectorResponse = {}));
227
- var BadRequestException;
228
- (function (BadRequestException) {
229
- BadRequestException.filterSensitiveLog = (obj) => ({
230
- ...obj,
231
- });
232
- })(BadRequestException = exports.BadRequestException || (exports.BadRequestException = {}));
233
- var ForbiddenException;
234
- (function (ForbiddenException) {
235
- ForbiddenException.filterSensitiveLog = (obj) => ({
236
- ...obj,
237
- });
238
- })(ForbiddenException = exports.ForbiddenException || (exports.ForbiddenException = {}));
239
- var NotFoundException;
240
- (function (NotFoundException) {
241
- NotFoundException.filterSensitiveLog = (obj) => ({
242
- ...obj,
243
- });
244
- })(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
245
- var ServiceFailureException;
246
- (function (ServiceFailureException) {
247
- ServiceFailureException.filterSensitiveLog = (obj) => ({
248
- ...obj,
249
- });
250
- })(ServiceFailureException = exports.ServiceFailureException || (exports.ServiceFailureException = {}));
251
- var ServiceUnavailableException;
252
- (function (ServiceUnavailableException) {
253
- ServiceUnavailableException.filterSensitiveLog = (obj) => ({
254
- ...obj,
255
- });
256
- })(ServiceUnavailableException = exports.ServiceUnavailableException || (exports.ServiceUnavailableException = {}));
257
- var ThrottledClientException;
258
- (function (ThrottledClientException) {
259
- ThrottledClientException.filterSensitiveLog = (obj) => ({
260
- ...obj,
261
- });
262
- })(ThrottledClientException = exports.ThrottledClientException || (exports.ThrottledClientException = {}));
263
- var UnauthorizedClientException;
264
- (function (UnauthorizedClientException) {
265
- UnauthorizedClientException.filterSensitiveLog = (obj) => ({
266
- ...obj,
267
- });
268
- })(UnauthorizedClientException = exports.UnauthorizedClientException || (exports.UnauthorizedClientException = {}));
269
221
  var AssociatePhoneNumbersWithVoiceConnectorGroupRequest;
270
222
  (function (AssociatePhoneNumbersWithVoiceConnectorGroupRequest) {
271
223
  AssociatePhoneNumbersWithVoiceConnectorGroupRequest.filterSensitiveLog = (obj) => ({
@@ -360,12 +312,6 @@ var BatchCreateAttendeeResponse;
360
312
  ...(obj.Errors && { Errors: obj.Errors.map((item) => CreateAttendeeError.filterSensitiveLog(item)) }),
361
313
  });
362
314
  })(BatchCreateAttendeeResponse = exports.BatchCreateAttendeeResponse || (exports.BatchCreateAttendeeResponse = {}));
363
- var ResourceLimitExceededException;
364
- (function (ResourceLimitExceededException) {
365
- ResourceLimitExceededException.filterSensitiveLog = (obj) => ({
366
- ...obj,
367
- });
368
- })(ResourceLimitExceededException = exports.ResourceLimitExceededException || (exports.ResourceLimitExceededException = {}));
369
315
  var BatchCreateChannelMembershipRequest;
370
316
  (function (BatchCreateChannelMembershipRequest) {
371
317
  BatchCreateChannelMembershipRequest.filterSensitiveLog = (obj) => ({
@@ -685,12 +631,6 @@ var ChimeSdkMeetingConfiguration;
685
631
  }),
686
632
  });
687
633
  })(ChimeSdkMeetingConfiguration = exports.ChimeSdkMeetingConfiguration || (exports.ChimeSdkMeetingConfiguration = {}));
688
- var ConflictException;
689
- (function (ConflictException) {
690
- ConflictException.filterSensitiveLog = (obj) => ({
691
- ...obj,
692
- });
693
- })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
694
634
  var ConversationRetentionSettings;
695
635
  (function (ConversationRetentionSettings) {
696
636
  ConversationRetentionSettings.filterSensitiveLog = (obj) => ({
@@ -1308,12 +1248,6 @@ var DeleteAccountResponse;
1308
1248
  ...obj,
1309
1249
  });
1310
1250
  })(DeleteAccountResponse = exports.DeleteAccountResponse || (exports.DeleteAccountResponse = {}));
1311
- var UnprocessableEntityException;
1312
- (function (UnprocessableEntityException) {
1313
- UnprocessableEntityException.filterSensitiveLog = (obj) => ({
1314
- ...obj,
1315
- });
1316
- })(UnprocessableEntityException = exports.UnprocessableEntityException || (exports.UnprocessableEntityException = {}));
1317
1251
  var DeleteAppInstanceRequest;
1318
1252
  (function (DeleteAppInstanceRequest) {
1319
1253
  DeleteAppInstanceRequest.filterSensitiveLog = (obj) => ({
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
20
  const getRuntimeConfig = (config) => {
20
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
25
  return {
24
26
  ...clientSharedValues,
25
27
  ...config,
26
28
  runtime: "node",
29
+ defaultsMode,
27
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
28
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
29
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
31
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
33
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
35
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
36
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -18,10 +18,6 @@ export var ErrorCode;
18
18
  ErrorCode["Unprocessable"] = "Unprocessable";
19
19
  ErrorCode["VoiceConnectorGroupAssociationsExist"] = "VoiceConnectorGroupAssociationsExist";
20
20
  })(ErrorCode || (ErrorCode = {}));
21
- export var AccessDeniedException;
22
- (function (AccessDeniedException) {
23
- AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
24
- })(AccessDeniedException || (AccessDeniedException = {}));
25
21
  export var AccountStatus;
26
22
  (function (AccountStatus) {
27
23
  AccountStatus["Active"] = "Active";
@@ -157,34 +153,6 @@ export var AssociatePhoneNumbersWithVoiceConnectorResponse;
157
153
  (function (AssociatePhoneNumbersWithVoiceConnectorResponse) {
158
154
  AssociatePhoneNumbersWithVoiceConnectorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
159
155
  })(AssociatePhoneNumbersWithVoiceConnectorResponse || (AssociatePhoneNumbersWithVoiceConnectorResponse = {}));
160
- export var BadRequestException;
161
- (function (BadRequestException) {
162
- BadRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
163
- })(BadRequestException || (BadRequestException = {}));
164
- export var ForbiddenException;
165
- (function (ForbiddenException) {
166
- ForbiddenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
167
- })(ForbiddenException || (ForbiddenException = {}));
168
- export var NotFoundException;
169
- (function (NotFoundException) {
170
- NotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
171
- })(NotFoundException || (NotFoundException = {}));
172
- export var ServiceFailureException;
173
- (function (ServiceFailureException) {
174
- ServiceFailureException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
175
- })(ServiceFailureException || (ServiceFailureException = {}));
176
- export var ServiceUnavailableException;
177
- (function (ServiceUnavailableException) {
178
- ServiceUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
179
- })(ServiceUnavailableException || (ServiceUnavailableException = {}));
180
- export var ThrottledClientException;
181
- (function (ThrottledClientException) {
182
- ThrottledClientException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
183
- })(ThrottledClientException || (ThrottledClientException = {}));
184
- export var UnauthorizedClientException;
185
- (function (UnauthorizedClientException) {
186
- UnauthorizedClientException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
187
- })(UnauthorizedClientException || (UnauthorizedClientException = {}));
188
156
  export var AssociatePhoneNumbersWithVoiceConnectorGroupRequest;
189
157
  (function (AssociatePhoneNumbersWithVoiceConnectorGroupRequest) {
190
158
  AssociatePhoneNumbersWithVoiceConnectorGroupRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.E164PhoneNumbers && { E164PhoneNumbers: SENSITIVE_STRING }))); };
@@ -239,10 +207,6 @@ export var BatchCreateAttendeeResponse;
239
207
  (function (BatchCreateAttendeeResponse) {
240
208
  BatchCreateAttendeeResponse.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Attendees && { Attendees: obj.Attendees.map(function (item) { return Attendee.filterSensitiveLog(item); }) })), (obj.Errors && { Errors: obj.Errors.map(function (item) { return CreateAttendeeError.filterSensitiveLog(item); }) }))); };
241
209
  })(BatchCreateAttendeeResponse || (BatchCreateAttendeeResponse = {}));
242
- export var ResourceLimitExceededException;
243
- (function (ResourceLimitExceededException) {
244
- ResourceLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
245
- })(ResourceLimitExceededException || (ResourceLimitExceededException = {}));
246
210
  export var BatchCreateChannelMembershipRequest;
247
211
  (function (BatchCreateChannelMembershipRequest) {
248
212
  BatchCreateChannelMembershipRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -457,10 +421,6 @@ export var ChimeSdkMeetingConfiguration;
457
421
  SourceConfiguration: SourceConfiguration.filterSensitiveLog(obj.SourceConfiguration),
458
422
  }))); };
459
423
  })(ChimeSdkMeetingConfiguration || (ChimeSdkMeetingConfiguration = {}));
460
- export var ConflictException;
461
- (function (ConflictException) {
462
- ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
463
- })(ConflictException || (ConflictException = {}));
464
424
  export var ConversationRetentionSettings;
465
425
  (function (ConversationRetentionSettings) {
466
426
  ConversationRetentionSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -848,10 +808,6 @@ export var DeleteAccountResponse;
848
808
  (function (DeleteAccountResponse) {
849
809
  DeleteAccountResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
850
810
  })(DeleteAccountResponse || (DeleteAccountResponse = {}));
851
- export var UnprocessableEntityException;
852
- (function (UnprocessableEntityException) {
853
- UnprocessableEntityException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
854
- })(UnprocessableEntityException || (UnprocessableEntityException = {}));
855
811
  export var DeleteAppInstanceRequest;
856
812
  (function (DeleteAppInstanceRequest) {
857
813
  DeleteAppInstanceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
15
  export var getRuntimeConfig = function (config) {
14
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
16
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
17
26
  };
@@ -1,21 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
17
  export var getRuntimeConfig = function (config) {
17
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
21
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
28
  };
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociatePhoneNumbersWithVoiceConnectorCommandInput, AssociatePhoneNumbersWithVoiceConnectorCommandOutput } from "./commands/AssociatePhoneNumbersWithVoiceConnectorCommand";
10
10
  import { AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput, AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput } from "./commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand";
@@ -298,6 +298,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
298
298
  * @internal
299
299
  */
300
300
  defaultUserAgentProvider?: Provider<__UserAgent>;
301
+ /**
302
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
303
+ */
304
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
301
305
  }
302
306
  declare type ChimeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
303
307
  /**
@@ -25,12 +25,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
25
25
  Code?: ErrorCode | string;
26
26
  Message?: string;
27
27
  }
28
- export declare namespace AccessDeniedException {
29
- /**
30
- * @internal
31
- */
32
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
33
- }
34
28
  export declare enum AccountStatus {
35
29
  Active = "Active",
36
30
  Suspended = "Suspended"
@@ -549,12 +543,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
549
543
  Code?: ErrorCode | string;
550
544
  Message?: string;
551
545
  }
552
- export declare namespace BadRequestException {
553
- /**
554
- * @internal
555
- */
556
- const filterSensitiveLog: (obj: BadRequestException) => any;
557
- }
558
546
  /**
559
547
  * <p>The client is permanently forbidden from making the request.</p>
560
548
  */
@@ -564,12 +552,6 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
564
552
  Code?: ErrorCode | string;
565
553
  Message?: string;
566
554
  }
567
- export declare namespace ForbiddenException {
568
- /**
569
- * @internal
570
- */
571
- const filterSensitiveLog: (obj: ForbiddenException) => any;
572
- }
573
555
  /**
574
556
  * <p>One or more of the resources in the request does not exist in the system.</p>
575
557
  */
@@ -579,12 +561,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
579
561
  Code?: ErrorCode | string;
580
562
  Message?: string;
581
563
  }
582
- export declare namespace NotFoundException {
583
- /**
584
- * @internal
585
- */
586
- const filterSensitiveLog: (obj: NotFoundException) => any;
587
- }
588
564
  /**
589
565
  * <p>The service encountered an unexpected error.</p>
590
566
  */
@@ -594,12 +570,6 @@ export interface ServiceFailureException extends __SmithyException, $MetadataBea
594
570
  Code?: ErrorCode | string;
595
571
  Message?: string;
596
572
  }
597
- export declare namespace ServiceFailureException {
598
- /**
599
- * @internal
600
- */
601
- const filterSensitiveLog: (obj: ServiceFailureException) => any;
602
- }
603
573
  /**
604
574
  * <p>The service is currently unavailable.</p>
605
575
  */
@@ -609,12 +579,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
609
579
  Code?: ErrorCode | string;
610
580
  Message?: string;
611
581
  }
612
- export declare namespace ServiceUnavailableException {
613
- /**
614
- * @internal
615
- */
616
- const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
617
- }
618
582
  /**
619
583
  * <p>The client exceeded its request rate limit.</p>
620
584
  */
@@ -624,12 +588,6 @@ export interface ThrottledClientException extends __SmithyException, $MetadataBe
624
588
  Code?: ErrorCode | string;
625
589
  Message?: string;
626
590
  }
627
- export declare namespace ThrottledClientException {
628
- /**
629
- * @internal
630
- */
631
- const filterSensitiveLog: (obj: ThrottledClientException) => any;
632
- }
633
591
  /**
634
592
  * <p>The client is not currently authorized to make the request.</p>
635
593
  */
@@ -639,12 +597,6 @@ export interface UnauthorizedClientException extends __SmithyException, $Metadat
639
597
  Code?: ErrorCode | string;
640
598
  Message?: string;
641
599
  }
642
- export declare namespace UnauthorizedClientException {
643
- /**
644
- * @internal
645
- */
646
- const filterSensitiveLog: (obj: UnauthorizedClientException) => any;
647
- }
648
600
  export interface AssociatePhoneNumbersWithVoiceConnectorGroupRequest {
649
601
  /**
650
602
  * <p>The Amazon Chime Voice Connector group ID.</p>
@@ -898,12 +850,6 @@ export interface ResourceLimitExceededException extends __SmithyException, $Meta
898
850
  Code?: ErrorCode | string;
899
851
  Message?: string;
900
852
  }
901
- export declare namespace ResourceLimitExceededException {
902
- /**
903
- * @internal
904
- */
905
- const filterSensitiveLog: (obj: ResourceLimitExceededException) => any;
906
- }
907
853
  export interface BatchCreateChannelMembershipRequest {
908
854
  /**
909
855
  * <p>The ARN of the channel to which you're adding users.</p>
@@ -1777,12 +1723,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
1777
1723
  Code?: ErrorCode | string;
1778
1724
  Message?: string;
1779
1725
  }
1780
- export declare namespace ConflictException {
1781
- /**
1782
- * @internal
1783
- */
1784
- const filterSensitiveLog: (obj: ConflictException) => any;
1785
- }
1786
1726
  /**
1787
1727
  * <p>The retention settings that determine how long to retain conversation messages for an Amazon Chime Enterprise account.</p>
1788
1728
  */
@@ -3618,12 +3558,6 @@ export interface UnprocessableEntityException extends __SmithyException, $Metada
3618
3558
  Code?: ErrorCode | string;
3619
3559
  Message?: string;
3620
3560
  }
3621
- export declare namespace UnprocessableEntityException {
3622
- /**
3623
- * @internal
3624
- */
3625
- const filterSensitiveLog: (obj: UnprocessableEntityException) => any;
3626
- }
3627
3561
  export interface DeleteAppInstanceRequest {
3628
3562
  /**
3629
3563
  * <p>The ARN of the <code>AppInstance</code>.</p>
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { ChimeClientConfig } from "./ChimeClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: ChimeClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: ChimeClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { ChimeClientConfig } from "./ChimeClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: ChimeClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: ChimeClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociatePhoneNumbersWithVoiceConnectorCommandInput, AssociatePhoneNumbersWithVoiceConnectorCommandOutput } from "./commands/AssociatePhoneNumbersWithVoiceConnectorCommand";
10
10
  import { AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput, AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput } from "./commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand";
@@ -241,6 +241,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
241
241
  regionInfoProvider?: RegionInfoProvider;
242
242
 
243
243
  defaultUserAgentProvider?: Provider<__UserAgent>;
244
+
245
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
244
246
  }
245
247
  declare type ChimeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
246
248
 
@@ -23,10 +23,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
23
23
  Code?: ErrorCode | string;
24
24
  Message?: string;
25
25
  }
26
- export declare namespace AccessDeniedException {
27
-
28
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
29
- }
30
26
  export declare enum AccountStatus {
31
27
  Active = "Active",
32
28
  Suspended = "Suspended"
@@ -338,10 +334,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
338
334
  Code?: ErrorCode | string;
339
335
  Message?: string;
340
336
  }
341
- export declare namespace BadRequestException {
342
-
343
- const filterSensitiveLog: (obj: BadRequestException) => any;
344
- }
345
337
 
346
338
  export interface ForbiddenException extends __SmithyException, $MetadataBearer {
347
339
  name: "ForbiddenException";
@@ -349,10 +341,6 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
349
341
  Code?: ErrorCode | string;
350
342
  Message?: string;
351
343
  }
352
- export declare namespace ForbiddenException {
353
-
354
- const filterSensitiveLog: (obj: ForbiddenException) => any;
355
- }
356
344
 
357
345
  export interface NotFoundException extends __SmithyException, $MetadataBearer {
358
346
  name: "NotFoundException";
@@ -360,10 +348,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
360
348
  Code?: ErrorCode | string;
361
349
  Message?: string;
362
350
  }
363
- export declare namespace NotFoundException {
364
-
365
- const filterSensitiveLog: (obj: NotFoundException) => any;
366
- }
367
351
 
368
352
  export interface ServiceFailureException extends __SmithyException, $MetadataBearer {
369
353
  name: "ServiceFailureException";
@@ -371,10 +355,6 @@ export interface ServiceFailureException extends __SmithyException, $MetadataBea
371
355
  Code?: ErrorCode | string;
372
356
  Message?: string;
373
357
  }
374
- export declare namespace ServiceFailureException {
375
-
376
- const filterSensitiveLog: (obj: ServiceFailureException) => any;
377
- }
378
358
 
379
359
  export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
380
360
  name: "ServiceUnavailableException";
@@ -382,10 +362,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
382
362
  Code?: ErrorCode | string;
383
363
  Message?: string;
384
364
  }
385
- export declare namespace ServiceUnavailableException {
386
-
387
- const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
388
- }
389
365
 
390
366
  export interface ThrottledClientException extends __SmithyException, $MetadataBearer {
391
367
  name: "ThrottledClientException";
@@ -393,10 +369,6 @@ export interface ThrottledClientException extends __SmithyException, $MetadataBe
393
369
  Code?: ErrorCode | string;
394
370
  Message?: string;
395
371
  }
396
- export declare namespace ThrottledClientException {
397
-
398
- const filterSensitiveLog: (obj: ThrottledClientException) => any;
399
- }
400
372
 
401
373
  export interface UnauthorizedClientException extends __SmithyException, $MetadataBearer {
402
374
  name: "UnauthorizedClientException";
@@ -404,10 +376,6 @@ export interface UnauthorizedClientException extends __SmithyException, $Metadat
404
376
  Code?: ErrorCode | string;
405
377
  Message?: string;
406
378
  }
407
- export declare namespace UnauthorizedClientException {
408
-
409
- const filterSensitiveLog: (obj: UnauthorizedClientException) => any;
410
- }
411
379
  export interface AssociatePhoneNumbersWithVoiceConnectorGroupRequest {
412
380
 
413
381
  VoiceConnectorGroupId: string | undefined;
@@ -552,10 +520,6 @@ export interface ResourceLimitExceededException extends __SmithyException, $Meta
552
520
  Code?: ErrorCode | string;
553
521
  Message?: string;
554
522
  }
555
- export declare namespace ResourceLimitExceededException {
556
-
557
- const filterSensitiveLog: (obj: ResourceLimitExceededException) => any;
558
- }
559
523
  export interface BatchCreateChannelMembershipRequest {
560
524
 
561
525
  ChannelArn: string | undefined;
@@ -1072,10 +1036,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
1072
1036
  Code?: ErrorCode | string;
1073
1037
  Message?: string;
1074
1038
  }
1075
- export declare namespace ConflictException {
1076
-
1077
- const filterSensitiveLog: (obj: ConflictException) => any;
1078
- }
1079
1039
 
1080
1040
  export interface ConversationRetentionSettings {
1081
1041
 
@@ -2094,10 +2054,6 @@ export interface UnprocessableEntityException extends __SmithyException, $Metada
2094
2054
  Code?: ErrorCode | string;
2095
2055
  Message?: string;
2096
2056
  }
2097
- export declare namespace UnprocessableEntityException {
2098
-
2099
- const filterSensitiveLog: (obj: UnprocessableEntityException) => any;
2100
- }
2101
2057
  export interface DeleteAppInstanceRequest {
2102
2058
 
2103
2059
  AppInstanceArn: string | undefined;
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { ChimeClientConfig } from "./ChimeClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: ChimeClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: ChimeClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { ChimeClientConfig } from "./ChimeClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: ChimeClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: ChimeClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,18 +1,15 @@
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.45.0",
4
+ "version": "3.47.2",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "exit 0"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,50 +18,46 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.45.0",
25
- "@aws-sdk/config-resolver": "3.45.0",
26
- "@aws-sdk/credential-provider-node": "3.45.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.45.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
21
+ "@aws-sdk/client-sts": "3.47.2",
22
+ "@aws-sdk/config-resolver": "3.47.2",
23
+ "@aws-sdk/credential-provider-node": "3.47.2",
24
+ "@aws-sdk/fetch-http-handler": "3.47.2",
25
+ "@aws-sdk/hash-node": "3.47.2",
26
+ "@aws-sdk/invalid-dependency": "3.47.2",
27
+ "@aws-sdk/middleware-content-length": "3.47.2",
28
+ "@aws-sdk/middleware-host-header": "3.47.2",
29
+ "@aws-sdk/middleware-logger": "3.47.2",
30
+ "@aws-sdk/middleware-retry": "3.47.2",
31
+ "@aws-sdk/middleware-serde": "3.47.2",
32
+ "@aws-sdk/middleware-signing": "3.47.2",
33
+ "@aws-sdk/middleware-stack": "3.47.2",
34
+ "@aws-sdk/middleware-user-agent": "3.47.2",
35
+ "@aws-sdk/node-config-provider": "3.47.2",
36
+ "@aws-sdk/node-http-handler": "3.47.2",
37
+ "@aws-sdk/protocol-http": "3.47.2",
38
+ "@aws-sdk/smithy-client": "3.47.2",
39
+ "@aws-sdk/types": "3.47.1",
40
+ "@aws-sdk/url-parser": "3.47.2",
41
+ "@aws-sdk/util-base64-browser": "3.47.1",
42
+ "@aws-sdk/util-base64-node": "3.47.2",
43
+ "@aws-sdk/util-body-length-browser": "3.47.1",
44
+ "@aws-sdk/util-body-length-node": "3.47.1",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.2",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.2",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.2",
48
+ "@aws-sdk/util-user-agent-node": "3.47.2",
49
+ "@aws-sdk/util-utf8-browser": "3.47.1",
50
+ "@aws-sdk/util-utf8-node": "3.47.2",
52
51
  "tslib": "^2.3.0",
53
52
  "uuid": "^8.3.2"
54
53
  },
55
54
  "devDependencies": {
56
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.47.1",
57
56
  "@types/node": "^12.7.5",
58
- "@types/uuid": "^8.3.0",
59
- "downlevel-dts": "0.7.0",
60
- "jest": "^26.1.0",
61
- "rimraf": "^3.0.0",
62
- "ts-jest": "^26.4.1",
63
- "typedoc": "^0.19.2",
64
- "typescript": "~4.3.5"
57
+ "@types/uuid": "^8.3.0"
65
58
  },
66
59
  "engines": {
67
- "node": ">=10.0.0"
60
+ "node": ">=12.0.0"
68
61
  },
69
62
  "typesVersions": {
70
63
  "<4.0": {