@aws-sdk/client-chime 3.354.0 → 3.357.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.
@@ -4666,7 +4666,7 @@ const de_AssociatePhoneNumberWithUserCommand = async (output, context) => {
4666
4666
  const contents = (0, smithy_client_1.map)({
4667
4667
  $metadata: deserializeMetadata(output),
4668
4668
  });
4669
- await collectBody(output.body, context);
4669
+ await (0, smithy_client_1.collectBody)(output.body, context);
4670
4670
  return contents;
4671
4671
  };
4672
4672
  exports.de_AssociatePhoneNumberWithUserCommand = de_AssociatePhoneNumberWithUserCommand;
@@ -4717,7 +4717,7 @@ const de_AssociateSigninDelegateGroupsWithAccountCommand = async (output, contex
4717
4717
  const contents = (0, smithy_client_1.map)({
4718
4718
  $metadata: deserializeMetadata(output),
4719
4719
  });
4720
- await collectBody(output.body, context);
4720
+ await (0, smithy_client_1.collectBody)(output.body, context);
4721
4721
  return contents;
4722
4722
  };
4723
4723
  exports.de_AssociateSigninDelegateGroupsWithAccountCommand = de_AssociateSigninDelegateGroupsWithAccountCommand;
@@ -6503,7 +6503,7 @@ const de_DeleteAccountCommand = async (output, context) => {
6503
6503
  const contents = (0, smithy_client_1.map)({
6504
6504
  $metadata: deserializeMetadata(output),
6505
6505
  });
6506
- await collectBody(output.body, context);
6506
+ await (0, smithy_client_1.collectBody)(output.body, context);
6507
6507
  return contents;
6508
6508
  };
6509
6509
  exports.de_DeleteAccountCommand = de_DeleteAccountCommand;
@@ -6554,7 +6554,7 @@ const de_DeleteAppInstanceCommand = async (output, context) => {
6554
6554
  const contents = (0, smithy_client_1.map)({
6555
6555
  $metadata: deserializeMetadata(output),
6556
6556
  });
6557
- await collectBody(output.body, context);
6557
+ await (0, smithy_client_1.collectBody)(output.body, context);
6558
6558
  return contents;
6559
6559
  };
6560
6560
  exports.de_DeleteAppInstanceCommand = de_DeleteAppInstanceCommand;
@@ -6599,7 +6599,7 @@ const de_DeleteAppInstanceAdminCommand = async (output, context) => {
6599
6599
  const contents = (0, smithy_client_1.map)({
6600
6600
  $metadata: deserializeMetadata(output),
6601
6601
  });
6602
- await collectBody(output.body, context);
6602
+ await (0, smithy_client_1.collectBody)(output.body, context);
6603
6603
  return contents;
6604
6604
  };
6605
6605
  exports.de_DeleteAppInstanceAdminCommand = de_DeleteAppInstanceAdminCommand;
@@ -6647,7 +6647,7 @@ const de_DeleteAppInstanceStreamingConfigurationsCommand = async (output, contex
6647
6647
  const contents = (0, smithy_client_1.map)({
6648
6648
  $metadata: deserializeMetadata(output),
6649
6649
  });
6650
- await collectBody(output.body, context);
6650
+ await (0, smithy_client_1.collectBody)(output.body, context);
6651
6651
  return contents;
6652
6652
  };
6653
6653
  exports.de_DeleteAppInstanceStreamingConfigurationsCommand = de_DeleteAppInstanceStreamingConfigurationsCommand;
@@ -6695,7 +6695,7 @@ const de_DeleteAppInstanceUserCommand = async (output, context) => {
6695
6695
  const contents = (0, smithy_client_1.map)({
6696
6696
  $metadata: deserializeMetadata(output),
6697
6697
  });
6698
- await collectBody(output.body, context);
6698
+ await (0, smithy_client_1.collectBody)(output.body, context);
6699
6699
  return contents;
6700
6700
  };
6701
6701
  exports.de_DeleteAppInstanceUserCommand = de_DeleteAppInstanceUserCommand;
@@ -6740,7 +6740,7 @@ const de_DeleteAttendeeCommand = async (output, context) => {
6740
6740
  const contents = (0, smithy_client_1.map)({
6741
6741
  $metadata: deserializeMetadata(output),
6742
6742
  });
6743
- await collectBody(output.body, context);
6743
+ await (0, smithy_client_1.collectBody)(output.body, context);
6744
6744
  return contents;
6745
6745
  };
6746
6746
  exports.de_DeleteAttendeeCommand = de_DeleteAttendeeCommand;
@@ -6788,7 +6788,7 @@ const de_DeleteChannelCommand = async (output, context) => {
6788
6788
  const contents = (0, smithy_client_1.map)({
6789
6789
  $metadata: deserializeMetadata(output),
6790
6790
  });
6791
- await collectBody(output.body, context);
6791
+ await (0, smithy_client_1.collectBody)(output.body, context);
6792
6792
  return contents;
6793
6793
  };
6794
6794
  exports.de_DeleteChannelCommand = de_DeleteChannelCommand;
@@ -6833,7 +6833,7 @@ const de_DeleteChannelBanCommand = async (output, context) => {
6833
6833
  const contents = (0, smithy_client_1.map)({
6834
6834
  $metadata: deserializeMetadata(output),
6835
6835
  });
6836
- await collectBody(output.body, context);
6836
+ await (0, smithy_client_1.collectBody)(output.body, context);
6837
6837
  return contents;
6838
6838
  };
6839
6839
  exports.de_DeleteChannelBanCommand = de_DeleteChannelBanCommand;
@@ -6878,7 +6878,7 @@ const de_DeleteChannelMembershipCommand = async (output, context) => {
6878
6878
  const contents = (0, smithy_client_1.map)({
6879
6879
  $metadata: deserializeMetadata(output),
6880
6880
  });
6881
- await collectBody(output.body, context);
6881
+ await (0, smithy_client_1.collectBody)(output.body, context);
6882
6882
  return contents;
6883
6883
  };
6884
6884
  exports.de_DeleteChannelMembershipCommand = de_DeleteChannelMembershipCommand;
@@ -6926,7 +6926,7 @@ const de_DeleteChannelMessageCommand = async (output, context) => {
6926
6926
  const contents = (0, smithy_client_1.map)({
6927
6927
  $metadata: deserializeMetadata(output),
6928
6928
  });
6929
- await collectBody(output.body, context);
6929
+ await (0, smithy_client_1.collectBody)(output.body, context);
6930
6930
  return contents;
6931
6931
  };
6932
6932
  exports.de_DeleteChannelMessageCommand = de_DeleteChannelMessageCommand;
@@ -6971,7 +6971,7 @@ const de_DeleteChannelModeratorCommand = async (output, context) => {
6971
6971
  const contents = (0, smithy_client_1.map)({
6972
6972
  $metadata: deserializeMetadata(output),
6973
6973
  });
6974
- await collectBody(output.body, context);
6974
+ await (0, smithy_client_1.collectBody)(output.body, context);
6975
6975
  return contents;
6976
6976
  };
6977
6977
  exports.de_DeleteChannelModeratorCommand = de_DeleteChannelModeratorCommand;
@@ -7016,7 +7016,7 @@ const de_DeleteEventsConfigurationCommand = async (output, context) => {
7016
7016
  const contents = (0, smithy_client_1.map)({
7017
7017
  $metadata: deserializeMetadata(output),
7018
7018
  });
7019
- await collectBody(output.body, context);
7019
+ await (0, smithy_client_1.collectBody)(output.body, context);
7020
7020
  return contents;
7021
7021
  };
7022
7022
  exports.de_DeleteEventsConfigurationCommand = de_DeleteEventsConfigurationCommand;
@@ -7061,7 +7061,7 @@ const de_DeleteMediaCapturePipelineCommand = async (output, context) => {
7061
7061
  const contents = (0, smithy_client_1.map)({
7062
7062
  $metadata: deserializeMetadata(output),
7063
7063
  });
7064
- await collectBody(output.body, context);
7064
+ await (0, smithy_client_1.collectBody)(output.body, context);
7065
7065
  return contents;
7066
7066
  };
7067
7067
  exports.de_DeleteMediaCapturePipelineCommand = de_DeleteMediaCapturePipelineCommand;
@@ -7109,7 +7109,7 @@ const de_DeleteMeetingCommand = async (output, context) => {
7109
7109
  const contents = (0, smithy_client_1.map)({
7110
7110
  $metadata: deserializeMetadata(output),
7111
7111
  });
7112
- await collectBody(output.body, context);
7112
+ await (0, smithy_client_1.collectBody)(output.body, context);
7113
7113
  return contents;
7114
7114
  };
7115
7115
  exports.de_DeleteMeetingCommand = de_DeleteMeetingCommand;
@@ -7157,7 +7157,7 @@ const de_DeletePhoneNumberCommand = async (output, context) => {
7157
7157
  const contents = (0, smithy_client_1.map)({
7158
7158
  $metadata: deserializeMetadata(output),
7159
7159
  });
7160
- await collectBody(output.body, context);
7160
+ await (0, smithy_client_1.collectBody)(output.body, context);
7161
7161
  return contents;
7162
7162
  };
7163
7163
  exports.de_DeletePhoneNumberCommand = de_DeletePhoneNumberCommand;
@@ -7205,7 +7205,7 @@ const de_DeleteProxySessionCommand = async (output, context) => {
7205
7205
  const contents = (0, smithy_client_1.map)({
7206
7206
  $metadata: deserializeMetadata(output),
7207
7207
  });
7208
- await collectBody(output.body, context);
7208
+ await (0, smithy_client_1.collectBody)(output.body, context);
7209
7209
  return contents;
7210
7210
  };
7211
7211
  exports.de_DeleteProxySessionCommand = de_DeleteProxySessionCommand;
@@ -7253,7 +7253,7 @@ const de_DeleteRoomCommand = async (output, context) => {
7253
7253
  const contents = (0, smithy_client_1.map)({
7254
7254
  $metadata: deserializeMetadata(output),
7255
7255
  });
7256
- await collectBody(output.body, context);
7256
+ await (0, smithy_client_1.collectBody)(output.body, context);
7257
7257
  return contents;
7258
7258
  };
7259
7259
  exports.de_DeleteRoomCommand = de_DeleteRoomCommand;
@@ -7301,7 +7301,7 @@ const de_DeleteRoomMembershipCommand = async (output, context) => {
7301
7301
  const contents = (0, smithy_client_1.map)({
7302
7302
  $metadata: deserializeMetadata(output),
7303
7303
  });
7304
- await collectBody(output.body, context);
7304
+ await (0, smithy_client_1.collectBody)(output.body, context);
7305
7305
  return contents;
7306
7306
  };
7307
7307
  exports.de_DeleteRoomMembershipCommand = de_DeleteRoomMembershipCommand;
@@ -7349,7 +7349,7 @@ const de_DeleteSipMediaApplicationCommand = async (output, context) => {
7349
7349
  const contents = (0, smithy_client_1.map)({
7350
7350
  $metadata: deserializeMetadata(output),
7351
7351
  });
7352
- await collectBody(output.body, context);
7352
+ await (0, smithy_client_1.collectBody)(output.body, context);
7353
7353
  return contents;
7354
7354
  };
7355
7355
  exports.de_DeleteSipMediaApplicationCommand = de_DeleteSipMediaApplicationCommand;
@@ -7400,7 +7400,7 @@ const de_DeleteSipRuleCommand = async (output, context) => {
7400
7400
  const contents = (0, smithy_client_1.map)({
7401
7401
  $metadata: deserializeMetadata(output),
7402
7402
  });
7403
- await collectBody(output.body, context);
7403
+ await (0, smithy_client_1.collectBody)(output.body, context);
7404
7404
  return contents;
7405
7405
  };
7406
7406
  exports.de_DeleteSipRuleCommand = de_DeleteSipRuleCommand;
@@ -7451,7 +7451,7 @@ const de_DeleteVoiceConnectorCommand = async (output, context) => {
7451
7451
  const contents = (0, smithy_client_1.map)({
7452
7452
  $metadata: deserializeMetadata(output),
7453
7453
  });
7454
- await collectBody(output.body, context);
7454
+ await (0, smithy_client_1.collectBody)(output.body, context);
7455
7455
  return contents;
7456
7456
  };
7457
7457
  exports.de_DeleteVoiceConnectorCommand = de_DeleteVoiceConnectorCommand;
@@ -7502,7 +7502,7 @@ const de_DeleteVoiceConnectorEmergencyCallingConfigurationCommand = async (outpu
7502
7502
  const contents = (0, smithy_client_1.map)({
7503
7503
  $metadata: deserializeMetadata(output),
7504
7504
  });
7505
- await collectBody(output.body, context);
7505
+ await (0, smithy_client_1.collectBody)(output.body, context);
7506
7506
  return contents;
7507
7507
  };
7508
7508
  exports.de_DeleteVoiceConnectorEmergencyCallingConfigurationCommand = de_DeleteVoiceConnectorEmergencyCallingConfigurationCommand;
@@ -7550,7 +7550,7 @@ const de_DeleteVoiceConnectorGroupCommand = async (output, context) => {
7550
7550
  const contents = (0, smithy_client_1.map)({
7551
7551
  $metadata: deserializeMetadata(output),
7552
7552
  });
7553
- await collectBody(output.body, context);
7553
+ await (0, smithy_client_1.collectBody)(output.body, context);
7554
7554
  return contents;
7555
7555
  };
7556
7556
  exports.de_DeleteVoiceConnectorGroupCommand = de_DeleteVoiceConnectorGroupCommand;
@@ -7601,7 +7601,7 @@ const de_DeleteVoiceConnectorOriginationCommand = async (output, context) => {
7601
7601
  const contents = (0, smithy_client_1.map)({
7602
7602
  $metadata: deserializeMetadata(output),
7603
7603
  });
7604
- await collectBody(output.body, context);
7604
+ await (0, smithy_client_1.collectBody)(output.body, context);
7605
7605
  return contents;
7606
7606
  };
7607
7607
  exports.de_DeleteVoiceConnectorOriginationCommand = de_DeleteVoiceConnectorOriginationCommand;
@@ -7649,7 +7649,7 @@ const de_DeleteVoiceConnectorProxyCommand = async (output, context) => {
7649
7649
  const contents = (0, smithy_client_1.map)({
7650
7650
  $metadata: deserializeMetadata(output),
7651
7651
  });
7652
- await collectBody(output.body, context);
7652
+ await (0, smithy_client_1.collectBody)(output.body, context);
7653
7653
  return contents;
7654
7654
  };
7655
7655
  exports.de_DeleteVoiceConnectorProxyCommand = de_DeleteVoiceConnectorProxyCommand;
@@ -7697,7 +7697,7 @@ const de_DeleteVoiceConnectorStreamingConfigurationCommand = async (output, cont
7697
7697
  const contents = (0, smithy_client_1.map)({
7698
7698
  $metadata: deserializeMetadata(output),
7699
7699
  });
7700
- await collectBody(output.body, context);
7700
+ await (0, smithy_client_1.collectBody)(output.body, context);
7701
7701
  return contents;
7702
7702
  };
7703
7703
  exports.de_DeleteVoiceConnectorStreamingConfigurationCommand = de_DeleteVoiceConnectorStreamingConfigurationCommand;
@@ -7745,7 +7745,7 @@ const de_DeleteVoiceConnectorTerminationCommand = async (output, context) => {
7745
7745
  const contents = (0, smithy_client_1.map)({
7746
7746
  $metadata: deserializeMetadata(output),
7747
7747
  });
7748
- await collectBody(output.body, context);
7748
+ await (0, smithy_client_1.collectBody)(output.body, context);
7749
7749
  return contents;
7750
7750
  };
7751
7751
  exports.de_DeleteVoiceConnectorTerminationCommand = de_DeleteVoiceConnectorTerminationCommand;
@@ -7793,7 +7793,7 @@ const de_DeleteVoiceConnectorTerminationCredentialsCommand = async (output, cont
7793
7793
  const contents = (0, smithy_client_1.map)({
7794
7794
  $metadata: deserializeMetadata(output),
7795
7795
  });
7796
- await collectBody(output.body, context);
7796
+ await (0, smithy_client_1.collectBody)(output.body, context);
7797
7797
  return contents;
7798
7798
  };
7799
7799
  exports.de_DeleteVoiceConnectorTerminationCredentialsCommand = de_DeleteVoiceConnectorTerminationCredentialsCommand;
@@ -8291,7 +8291,7 @@ const de_DisassociatePhoneNumberFromUserCommand = async (output, context) => {
8291
8291
  const contents = (0, smithy_client_1.map)({
8292
8292
  $metadata: deserializeMetadata(output),
8293
8293
  });
8294
- await collectBody(output.body, context);
8294
+ await (0, smithy_client_1.collectBody)(output.body, context);
8295
8295
  return contents;
8296
8296
  };
8297
8297
  exports.de_DisassociatePhoneNumberFromUserCommand = de_DisassociatePhoneNumberFromUserCommand;
@@ -8443,7 +8443,7 @@ const de_DisassociateSigninDelegateGroupsFromAccountCommand = async (output, con
8443
8443
  const contents = (0, smithy_client_1.map)({
8444
8444
  $metadata: deserializeMetadata(output),
8445
8445
  });
8446
- await collectBody(output.body, context);
8446
+ await (0, smithy_client_1.collectBody)(output.body, context);
8447
8447
  return contents;
8448
8448
  };
8449
8449
  exports.de_DisassociateSigninDelegateGroupsFromAccountCommand = de_DisassociateSigninDelegateGroupsFromAccountCommand;
@@ -11736,7 +11736,7 @@ const de_LogoutUserCommand = async (output, context) => {
11736
11736
  const contents = (0, smithy_client_1.map)({
11737
11737
  $metadata: deserializeMetadata(output),
11738
11738
  });
11739
- await collectBody(output.body, context);
11739
+ await (0, smithy_client_1.collectBody)(output.body, context);
11740
11740
  return contents;
11741
11741
  };
11742
11742
  exports.de_LogoutUserCommand = de_LogoutUserCommand;
@@ -12370,7 +12370,7 @@ const de_PutVoiceConnectorTerminationCredentialsCommand = async (output, context
12370
12370
  const contents = (0, smithy_client_1.map)({
12371
12371
  $metadata: deserializeMetadata(output),
12372
12372
  });
12373
- await collectBody(output.body, context);
12373
+ await (0, smithy_client_1.collectBody)(output.body, context);
12374
12374
  return contents;
12375
12375
  };
12376
12376
  exports.de_PutVoiceConnectorTerminationCredentialsCommand = de_PutVoiceConnectorTerminationCredentialsCommand;
@@ -12468,7 +12468,7 @@ const de_RedactConversationMessageCommand = async (output, context) => {
12468
12468
  const contents = (0, smithy_client_1.map)({
12469
12469
  $metadata: deserializeMetadata(output),
12470
12470
  });
12471
- await collectBody(output.body, context);
12471
+ await (0, smithy_client_1.collectBody)(output.body, context);
12472
12472
  return contents;
12473
12473
  };
12474
12474
  exports.de_RedactConversationMessageCommand = de_RedactConversationMessageCommand;
@@ -12516,7 +12516,7 @@ const de_RedactRoomMessageCommand = async (output, context) => {
12516
12516
  const contents = (0, smithy_client_1.map)({
12517
12517
  $metadata: deserializeMetadata(output),
12518
12518
  });
12519
- await collectBody(output.body, context);
12519
+ await (0, smithy_client_1.collectBody)(output.body, context);
12520
12520
  return contents;
12521
12521
  };
12522
12522
  exports.de_RedactRoomMessageCommand = de_RedactRoomMessageCommand;
@@ -12829,7 +12829,7 @@ const de_StartMeetingTranscriptionCommand = async (output, context) => {
12829
12829
  const contents = (0, smithy_client_1.map)({
12830
12830
  $metadata: deserializeMetadata(output),
12831
12831
  });
12832
- await collectBody(output.body, context);
12832
+ await (0, smithy_client_1.collectBody)(output.body, context);
12833
12833
  return contents;
12834
12834
  };
12835
12835
  exports.de_StartMeetingTranscriptionCommand = de_StartMeetingTranscriptionCommand;
@@ -12883,7 +12883,7 @@ const de_StopMeetingTranscriptionCommand = async (output, context) => {
12883
12883
  const contents = (0, smithy_client_1.map)({
12884
12884
  $metadata: deserializeMetadata(output),
12885
12885
  });
12886
- await collectBody(output.body, context);
12886
+ await (0, smithy_client_1.collectBody)(output.body, context);
12887
12887
  return contents;
12888
12888
  };
12889
12889
  exports.de_StopMeetingTranscriptionCommand = de_StopMeetingTranscriptionCommand;
@@ -12934,7 +12934,7 @@ const de_TagAttendeeCommand = async (output, context) => {
12934
12934
  const contents = (0, smithy_client_1.map)({
12935
12935
  $metadata: deserializeMetadata(output),
12936
12936
  });
12937
- await collectBody(output.body, context);
12937
+ await (0, smithy_client_1.collectBody)(output.body, context);
12938
12938
  return contents;
12939
12939
  };
12940
12940
  exports.de_TagAttendeeCommand = de_TagAttendeeCommand;
@@ -12985,7 +12985,7 @@ const de_TagMeetingCommand = async (output, context) => {
12985
12985
  const contents = (0, smithy_client_1.map)({
12986
12986
  $metadata: deserializeMetadata(output),
12987
12987
  });
12988
- await collectBody(output.body, context);
12988
+ await (0, smithy_client_1.collectBody)(output.body, context);
12989
12989
  return contents;
12990
12990
  };
12991
12991
  exports.de_TagMeetingCommand = de_TagMeetingCommand;
@@ -13036,7 +13036,7 @@ const de_TagResourceCommand = async (output, context) => {
13036
13036
  const contents = (0, smithy_client_1.map)({
13037
13037
  $metadata: deserializeMetadata(output),
13038
13038
  });
13039
- await collectBody(output.body, context);
13039
+ await (0, smithy_client_1.collectBody)(output.body, context);
13040
13040
  return contents;
13041
13041
  };
13042
13042
  exports.de_TagResourceCommand = de_TagResourceCommand;
@@ -13081,7 +13081,7 @@ const de_UntagAttendeeCommand = async (output, context) => {
13081
13081
  const contents = (0, smithy_client_1.map)({
13082
13082
  $metadata: deserializeMetadata(output),
13083
13083
  });
13084
- await collectBody(output.body, context);
13084
+ await (0, smithy_client_1.collectBody)(output.body, context);
13085
13085
  return contents;
13086
13086
  };
13087
13087
  exports.de_UntagAttendeeCommand = de_UntagAttendeeCommand;
@@ -13129,7 +13129,7 @@ const de_UntagMeetingCommand = async (output, context) => {
13129
13129
  const contents = (0, smithy_client_1.map)({
13130
13130
  $metadata: deserializeMetadata(output),
13131
13131
  });
13132
- await collectBody(output.body, context);
13132
+ await (0, smithy_client_1.collectBody)(output.body, context);
13133
13133
  return contents;
13134
13134
  };
13135
13135
  exports.de_UntagMeetingCommand = de_UntagMeetingCommand;
@@ -13177,7 +13177,7 @@ const de_UntagResourceCommand = async (output, context) => {
13177
13177
  const contents = (0, smithy_client_1.map)({
13178
13178
  $metadata: deserializeMetadata(output),
13179
13179
  });
13180
- await collectBody(output.body, context);
13180
+ await (0, smithy_client_1.collectBody)(output.body, context);
13181
13181
  return contents;
13182
13182
  };
13183
13183
  exports.de_UntagResourceCommand = de_UntagResourceCommand;
@@ -13274,7 +13274,7 @@ const de_UpdateAccountSettingsCommand = async (output, context) => {
13274
13274
  const contents = (0, smithy_client_1.map)({
13275
13275
  $metadata: deserializeMetadata(output),
13276
13276
  });
13277
- await collectBody(output.body, context);
13277
+ await (0, smithy_client_1.collectBody)(output.body, context);
13278
13278
  return contents;
13279
13279
  };
13280
13280
  exports.de_UpdateAccountSettingsCommand = de_UpdateAccountSettingsCommand;
@@ -13638,7 +13638,7 @@ const de_UpdateGlobalSettingsCommand = async (output, context) => {
13638
13638
  const contents = (0, smithy_client_1.map)({
13639
13639
  $metadata: deserializeMetadata(output),
13640
13640
  });
13641
- await collectBody(output.body, context);
13641
+ await (0, smithy_client_1.collectBody)(output.body, context);
13642
13642
  return contents;
13643
13643
  };
13644
13644
  exports.de_UpdateGlobalSettingsCommand = de_UpdateGlobalSettingsCommand;
@@ -13738,7 +13738,7 @@ const de_UpdatePhoneNumberSettingsCommand = async (output, context) => {
13738
13738
  const contents = (0, smithy_client_1.map)({
13739
13739
  $metadata: deserializeMetadata(output),
13740
13740
  });
13741
- await collectBody(output.body, context);
13741
+ await (0, smithy_client_1.collectBody)(output.body, context);
13742
13742
  return contents;
13743
13743
  };
13744
13744
  exports.de_UpdatePhoneNumberSettingsCommand = de_UpdatePhoneNumberSettingsCommand;
@@ -14159,7 +14159,7 @@ const de_UpdateUserSettingsCommand = async (output, context) => {
14159
14159
  const contents = (0, smithy_client_1.map)({
14160
14160
  $metadata: deserializeMetadata(output),
14161
14161
  });
14162
- await collectBody(output.body, context);
14162
+ await (0, smithy_client_1.collectBody)(output.body, context);
14163
14163
  return contents;
14164
14164
  };
14165
14165
  exports.de_UpdateUserSettingsCommand = de_UpdateUserSettingsCommand;
@@ -14962,13 +14962,7 @@ const deserializeMetadata = (output) => ({
14962
14962
  extendedRequestId: output.headers["x-amz-id-2"],
14963
14963
  cfId: output.headers["x-amz-cf-id"],
14964
14964
  });
14965
- const collectBody = (streamBody = new Uint8Array(), context) => {
14966
- if (streamBody instanceof Uint8Array) {
14967
- return Promise.resolve(streamBody);
14968
- }
14969
- return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
14970
- };
14971
- const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
14965
+ const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
14972
14966
  const isSerializableHeaderValue = (value) => value !== undefined &&
14973
14967
  value !== null &&
14974
14968
  value !== "" &&
@@ -1,4 +1,4 @@
1
- import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
1
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
2
2
  import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { ChimeServiceException as __BaseException } from "../models/ChimeServiceException";
@@ -14570,12 +14570,6 @@ const deserializeMetadata = (output) => ({
14570
14570
  extendedRequestId: output.headers["x-amz-id-2"],
14571
14571
  cfId: output.headers["x-amz-cf-id"],
14572
14572
  });
14573
- const collectBody = (streamBody = new Uint8Array(), context) => {
14574
- if (streamBody instanceof Uint8Array) {
14575
- return Promise.resolve(streamBody);
14576
- }
14577
- return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
14578
- };
14579
14573
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
14580
14574
  const isSerializableHeaderValue = (value) => value !== undefined &&
14581
14575
  value !== null &&
@@ -264,7 +264,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
264
264
  */
265
265
  runtime?: string;
266
266
  /**
267
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
267
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
268
268
  * trait of an operation.
269
269
  */
270
270
  disableHostPrefix?: boolean;
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.354.0",
4
+ "version": "3.357.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,36 +21,36 @@
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.354.0",
25
- "@aws-sdk/config-resolver": "3.354.0",
26
- "@aws-sdk/credential-provider-node": "3.354.0",
27
- "@aws-sdk/fetch-http-handler": "3.353.0",
28
- "@aws-sdk/hash-node": "3.347.0",
29
- "@aws-sdk/invalid-dependency": "3.347.0",
30
- "@aws-sdk/middleware-content-length": "3.347.0",
31
- "@aws-sdk/middleware-endpoint": "3.347.0",
32
- "@aws-sdk/middleware-host-header": "3.347.0",
33
- "@aws-sdk/middleware-logger": "3.347.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.347.0",
35
- "@aws-sdk/middleware-retry": "3.354.0",
36
- "@aws-sdk/middleware-serde": "3.347.0",
37
- "@aws-sdk/middleware-signing": "3.354.0",
38
- "@aws-sdk/middleware-stack": "3.347.0",
39
- "@aws-sdk/middleware-user-agent": "3.352.0",
40
- "@aws-sdk/node-config-provider": "3.354.0",
41
- "@aws-sdk/node-http-handler": "3.350.0",
42
- "@aws-sdk/smithy-client": "3.347.0",
43
- "@aws-sdk/types": "3.347.0",
44
- "@aws-sdk/url-parser": "3.347.0",
24
+ "@aws-sdk/client-sts": "3.357.0",
25
+ "@aws-sdk/config-resolver": "3.357.0",
26
+ "@aws-sdk/credential-provider-node": "3.357.0",
27
+ "@aws-sdk/fetch-http-handler": "3.357.0",
28
+ "@aws-sdk/hash-node": "3.357.0",
29
+ "@aws-sdk/invalid-dependency": "3.357.0",
30
+ "@aws-sdk/middleware-content-length": "3.357.0",
31
+ "@aws-sdk/middleware-endpoint": "3.357.0",
32
+ "@aws-sdk/middleware-host-header": "3.357.0",
33
+ "@aws-sdk/middleware-logger": "3.357.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.357.0",
35
+ "@aws-sdk/middleware-retry": "3.357.0",
36
+ "@aws-sdk/middleware-serde": "3.357.0",
37
+ "@aws-sdk/middleware-signing": "3.357.0",
38
+ "@aws-sdk/middleware-stack": "3.357.0",
39
+ "@aws-sdk/middleware-user-agent": "3.357.0",
40
+ "@aws-sdk/node-config-provider": "3.357.0",
41
+ "@aws-sdk/node-http-handler": "3.357.0",
42
+ "@aws-sdk/smithy-client": "3.357.0",
43
+ "@aws-sdk/types": "3.357.0",
44
+ "@aws-sdk/url-parser": "3.357.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.353.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.354.0",
50
- "@aws-sdk/util-endpoints": "3.352.0",
51
- "@aws-sdk/util-retry": "3.347.0",
52
- "@aws-sdk/util-user-agent-browser": "3.347.0",
53
- "@aws-sdk/util-user-agent-node": "3.354.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.357.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.357.0",
50
+ "@aws-sdk/util-endpoints": "3.357.0",
51
+ "@aws-sdk/util-retry": "3.357.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.357.0",
53
+ "@aws-sdk/util-user-agent-node": "3.357.0",
54
54
  "@aws-sdk/util-utf8": "3.310.0",
55
55
  "@smithy/protocol-http": "^1.0.1",
56
56
  "@smithy/types": "^1.0.0",