@aws-sdk/client-iot-wireless 3.354.0 → 3.358.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.
@@ -2411,7 +2411,7 @@ const de_AssociateMulticastGroupWithFuotaTaskCommand = async (output, context) =
2411
2411
  const contents = (0, smithy_client_1.map)({
2412
2412
  $metadata: deserializeMetadata(output),
2413
2413
  });
2414
- await collectBody(output.body, context);
2414
+ await (0, smithy_client_1.collectBody)(output.body, context);
2415
2415
  return contents;
2416
2416
  };
2417
2417
  exports.de_AssociateMulticastGroupWithFuotaTaskCommand = de_AssociateMulticastGroupWithFuotaTaskCommand;
@@ -2456,7 +2456,7 @@ const de_AssociateWirelessDeviceWithFuotaTaskCommand = async (output, context) =
2456
2456
  const contents = (0, smithy_client_1.map)({
2457
2457
  $metadata: deserializeMetadata(output),
2458
2458
  });
2459
- await collectBody(output.body, context);
2459
+ await (0, smithy_client_1.collectBody)(output.body, context);
2460
2460
  return contents;
2461
2461
  };
2462
2462
  exports.de_AssociateWirelessDeviceWithFuotaTaskCommand = de_AssociateWirelessDeviceWithFuotaTaskCommand;
@@ -2501,7 +2501,7 @@ const de_AssociateWirelessDeviceWithMulticastGroupCommand = async (output, conte
2501
2501
  const contents = (0, smithy_client_1.map)({
2502
2502
  $metadata: deserializeMetadata(output),
2503
2503
  });
2504
- await collectBody(output.body, context);
2504
+ await (0, smithy_client_1.collectBody)(output.body, context);
2505
2505
  return contents;
2506
2506
  };
2507
2507
  exports.de_AssociateWirelessDeviceWithMulticastGroupCommand = de_AssociateWirelessDeviceWithMulticastGroupCommand;
@@ -2546,7 +2546,7 @@ const de_AssociateWirelessDeviceWithThingCommand = async (output, context) => {
2546
2546
  const contents = (0, smithy_client_1.map)({
2547
2547
  $metadata: deserializeMetadata(output),
2548
2548
  });
2549
- await collectBody(output.body, context);
2549
+ await (0, smithy_client_1.collectBody)(output.body, context);
2550
2550
  return contents;
2551
2551
  };
2552
2552
  exports.de_AssociateWirelessDeviceWithThingCommand = de_AssociateWirelessDeviceWithThingCommand;
@@ -2640,7 +2640,7 @@ const de_AssociateWirelessGatewayWithThingCommand = async (output, context) => {
2640
2640
  const contents = (0, smithy_client_1.map)({
2641
2641
  $metadata: deserializeMetadata(output),
2642
2642
  });
2643
- await collectBody(output.body, context);
2643
+ await (0, smithy_client_1.collectBody)(output.body, context);
2644
2644
  return contents;
2645
2645
  };
2646
2646
  exports.de_AssociateWirelessGatewayWithThingCommand = de_AssociateWirelessGatewayWithThingCommand;
@@ -2685,7 +2685,7 @@ const de_CancelMulticastGroupSessionCommand = async (output, context) => {
2685
2685
  const contents = (0, smithy_client_1.map)({
2686
2686
  $metadata: deserializeMetadata(output),
2687
2687
  });
2688
- await collectBody(output.body, context);
2688
+ await (0, smithy_client_1.collectBody)(output.body, context);
2689
2689
  return contents;
2690
2690
  };
2691
2691
  exports.de_CancelMulticastGroupSessionCommand = de_CancelMulticastGroupSessionCommand;
@@ -3221,7 +3221,7 @@ const de_DeleteDestinationCommand = async (output, context) => {
3221
3221
  const contents = (0, smithy_client_1.map)({
3222
3222
  $metadata: deserializeMetadata(output),
3223
3223
  });
3224
- await collectBody(output.body, context);
3224
+ await (0, smithy_client_1.collectBody)(output.body, context);
3225
3225
  return contents;
3226
3226
  };
3227
3227
  exports.de_DeleteDestinationCommand = de_DeleteDestinationCommand;
@@ -3266,7 +3266,7 @@ const de_DeleteDeviceProfileCommand = async (output, context) => {
3266
3266
  const contents = (0, smithy_client_1.map)({
3267
3267
  $metadata: deserializeMetadata(output),
3268
3268
  });
3269
- await collectBody(output.body, context);
3269
+ await (0, smithy_client_1.collectBody)(output.body, context);
3270
3270
  return contents;
3271
3271
  };
3272
3272
  exports.de_DeleteDeviceProfileCommand = de_DeleteDeviceProfileCommand;
@@ -3311,7 +3311,7 @@ const de_DeleteFuotaTaskCommand = async (output, context) => {
3311
3311
  const contents = (0, smithy_client_1.map)({
3312
3312
  $metadata: deserializeMetadata(output),
3313
3313
  });
3314
- await collectBody(output.body, context);
3314
+ await (0, smithy_client_1.collectBody)(output.body, context);
3315
3315
  return contents;
3316
3316
  };
3317
3317
  exports.de_DeleteFuotaTaskCommand = de_DeleteFuotaTaskCommand;
@@ -3353,7 +3353,7 @@ const de_DeleteMulticastGroupCommand = async (output, context) => {
3353
3353
  const contents = (0, smithy_client_1.map)({
3354
3354
  $metadata: deserializeMetadata(output),
3355
3355
  });
3356
- await collectBody(output.body, context);
3356
+ await (0, smithy_client_1.collectBody)(output.body, context);
3357
3357
  return contents;
3358
3358
  };
3359
3359
  exports.de_DeleteMulticastGroupCommand = de_DeleteMulticastGroupCommand;
@@ -3398,7 +3398,7 @@ const de_DeleteNetworkAnalyzerConfigurationCommand = async (output, context) =>
3398
3398
  const contents = (0, smithy_client_1.map)({
3399
3399
  $metadata: deserializeMetadata(output),
3400
3400
  });
3401
- await collectBody(output.body, context);
3401
+ await (0, smithy_client_1.collectBody)(output.body, context);
3402
3402
  return contents;
3403
3403
  };
3404
3404
  exports.de_DeleteNetworkAnalyzerConfigurationCommand = de_DeleteNetworkAnalyzerConfigurationCommand;
@@ -3443,7 +3443,7 @@ const de_DeleteQueuedMessagesCommand = async (output, context) => {
3443
3443
  const contents = (0, smithy_client_1.map)({
3444
3444
  $metadata: deserializeMetadata(output),
3445
3445
  });
3446
- await collectBody(output.body, context);
3446
+ await (0, smithy_client_1.collectBody)(output.body, context);
3447
3447
  return contents;
3448
3448
  };
3449
3449
  exports.de_DeleteQueuedMessagesCommand = de_DeleteQueuedMessagesCommand;
@@ -3485,7 +3485,7 @@ const de_DeleteServiceProfileCommand = async (output, context) => {
3485
3485
  const contents = (0, smithy_client_1.map)({
3486
3486
  $metadata: deserializeMetadata(output),
3487
3487
  });
3488
- await collectBody(output.body, context);
3488
+ await (0, smithy_client_1.collectBody)(output.body, context);
3489
3489
  return contents;
3490
3490
  };
3491
3491
  exports.de_DeleteServiceProfileCommand = de_DeleteServiceProfileCommand;
@@ -3530,7 +3530,7 @@ const de_DeleteWirelessDeviceCommand = async (output, context) => {
3530
3530
  const contents = (0, smithy_client_1.map)({
3531
3531
  $metadata: deserializeMetadata(output),
3532
3532
  });
3533
- await collectBody(output.body, context);
3533
+ await (0, smithy_client_1.collectBody)(output.body, context);
3534
3534
  return contents;
3535
3535
  };
3536
3536
  exports.de_DeleteWirelessDeviceCommand = de_DeleteWirelessDeviceCommand;
@@ -3572,7 +3572,7 @@ const de_DeleteWirelessDeviceImportTaskCommand = async (output, context) => {
3572
3572
  const contents = (0, smithy_client_1.map)({
3573
3573
  $metadata: deserializeMetadata(output),
3574
3574
  });
3575
- await collectBody(output.body, context);
3575
+ await (0, smithy_client_1.collectBody)(output.body, context);
3576
3576
  return contents;
3577
3577
  };
3578
3578
  exports.de_DeleteWirelessDeviceImportTaskCommand = de_DeleteWirelessDeviceImportTaskCommand;
@@ -3617,7 +3617,7 @@ const de_DeleteWirelessGatewayCommand = async (output, context) => {
3617
3617
  const contents = (0, smithy_client_1.map)({
3618
3618
  $metadata: deserializeMetadata(output),
3619
3619
  });
3620
- await collectBody(output.body, context);
3620
+ await (0, smithy_client_1.collectBody)(output.body, context);
3621
3621
  return contents;
3622
3622
  };
3623
3623
  exports.de_DeleteWirelessGatewayCommand = de_DeleteWirelessGatewayCommand;
@@ -3659,7 +3659,7 @@ const de_DeleteWirelessGatewayTaskCommand = async (output, context) => {
3659
3659
  const contents = (0, smithy_client_1.map)({
3660
3660
  $metadata: deserializeMetadata(output),
3661
3661
  });
3662
- await collectBody(output.body, context);
3662
+ await (0, smithy_client_1.collectBody)(output.body, context);
3663
3663
  return contents;
3664
3664
  };
3665
3665
  exports.de_DeleteWirelessGatewayTaskCommand = de_DeleteWirelessGatewayTaskCommand;
@@ -3701,7 +3701,7 @@ const de_DeleteWirelessGatewayTaskDefinitionCommand = async (output, context) =>
3701
3701
  const contents = (0, smithy_client_1.map)({
3702
3702
  $metadata: deserializeMetadata(output),
3703
3703
  });
3704
- await collectBody(output.body, context);
3704
+ await (0, smithy_client_1.collectBody)(output.body, context);
3705
3705
  return contents;
3706
3706
  };
3707
3707
  exports.de_DeleteWirelessGatewayTaskDefinitionCommand = de_DeleteWirelessGatewayTaskDefinitionCommand;
@@ -3743,7 +3743,7 @@ const de_DeregisterWirelessDeviceCommand = async (output, context) => {
3743
3743
  const contents = (0, smithy_client_1.map)({
3744
3744
  $metadata: deserializeMetadata(output),
3745
3745
  });
3746
- await collectBody(output.body, context);
3746
+ await (0, smithy_client_1.collectBody)(output.body, context);
3747
3747
  return contents;
3748
3748
  };
3749
3749
  exports.de_DeregisterWirelessDeviceCommand = de_DeregisterWirelessDeviceCommand;
@@ -3782,7 +3782,7 @@ const de_DisassociateAwsAccountFromPartnerAccountCommand = async (output, contex
3782
3782
  const contents = (0, smithy_client_1.map)({
3783
3783
  $metadata: deserializeMetadata(output),
3784
3784
  });
3785
- await collectBody(output.body, context);
3785
+ await (0, smithy_client_1.collectBody)(output.body, context);
3786
3786
  return contents;
3787
3787
  };
3788
3788
  exports.de_DisassociateAwsAccountFromPartnerAccountCommand = de_DisassociateAwsAccountFromPartnerAccountCommand;
@@ -3821,7 +3821,7 @@ const de_DisassociateMulticastGroupFromFuotaTaskCommand = async (output, context
3821
3821
  const contents = (0, smithy_client_1.map)({
3822
3822
  $metadata: deserializeMetadata(output),
3823
3823
  });
3824
- await collectBody(output.body, context);
3824
+ await (0, smithy_client_1.collectBody)(output.body, context);
3825
3825
  return contents;
3826
3826
  };
3827
3827
  exports.de_DisassociateMulticastGroupFromFuotaTaskCommand = de_DisassociateMulticastGroupFromFuotaTaskCommand;
@@ -3863,7 +3863,7 @@ const de_DisassociateWirelessDeviceFromFuotaTaskCommand = async (output, context
3863
3863
  const contents = (0, smithy_client_1.map)({
3864
3864
  $metadata: deserializeMetadata(output),
3865
3865
  });
3866
- await collectBody(output.body, context);
3866
+ await (0, smithy_client_1.collectBody)(output.body, context);
3867
3867
  return contents;
3868
3868
  };
3869
3869
  exports.de_DisassociateWirelessDeviceFromFuotaTaskCommand = de_DisassociateWirelessDeviceFromFuotaTaskCommand;
@@ -3908,7 +3908,7 @@ const de_DisassociateWirelessDeviceFromMulticastGroupCommand = async (output, co
3908
3908
  const contents = (0, smithy_client_1.map)({
3909
3909
  $metadata: deserializeMetadata(output),
3910
3910
  });
3911
- await collectBody(output.body, context);
3911
+ await (0, smithy_client_1.collectBody)(output.body, context);
3912
3912
  return contents;
3913
3913
  };
3914
3914
  exports.de_DisassociateWirelessDeviceFromMulticastGroupCommand = de_DisassociateWirelessDeviceFromMulticastGroupCommand;
@@ -3950,7 +3950,7 @@ const de_DisassociateWirelessDeviceFromThingCommand = async (output, context) =>
3950
3950
  const contents = (0, smithy_client_1.map)({
3951
3951
  $metadata: deserializeMetadata(output),
3952
3952
  });
3953
- await collectBody(output.body, context);
3953
+ await (0, smithy_client_1.collectBody)(output.body, context);
3954
3954
  return contents;
3955
3955
  };
3956
3956
  exports.de_DisassociateWirelessDeviceFromThingCommand = de_DisassociateWirelessDeviceFromThingCommand;
@@ -3995,7 +3995,7 @@ const de_DisassociateWirelessGatewayFromCertificateCommand = async (output, cont
3995
3995
  const contents = (0, smithy_client_1.map)({
3996
3996
  $metadata: deserializeMetadata(output),
3997
3997
  });
3998
- await collectBody(output.body, context);
3998
+ await (0, smithy_client_1.collectBody)(output.body, context);
3999
3999
  return contents;
4000
4000
  };
4001
4001
  exports.de_DisassociateWirelessGatewayFromCertificateCommand = de_DisassociateWirelessGatewayFromCertificateCommand;
@@ -4037,7 +4037,7 @@ const de_DisassociateWirelessGatewayFromThingCommand = async (output, context) =
4037
4037
  const contents = (0, smithy_client_1.map)({
4038
4038
  $metadata: deserializeMetadata(output),
4039
4039
  });
4040
- await collectBody(output.body, context);
4040
+ await (0, smithy_client_1.collectBody)(output.body, context);
4041
4041
  return contents;
4042
4042
  };
4043
4043
  exports.de_DisassociateWirelessGatewayFromThingCommand = de_DisassociateWirelessGatewayFromThingCommand;
@@ -4624,7 +4624,7 @@ const de_GetPositionEstimateCommand = async (output, context) => {
4624
4624
  const contents = (0, smithy_client_1.map)({
4625
4625
  $metadata: deserializeMetadata(output),
4626
4626
  });
4627
- const data = await collectBody(output.body, context);
4627
+ const data = await (0, smithy_client_1.collectBody)(output.body, context);
4628
4628
  contents.GeoJsonPayload = data;
4629
4629
  return contents;
4630
4630
  };
@@ -4763,7 +4763,7 @@ const de_GetResourcePositionCommand = async (output, context) => {
4763
4763
  const contents = (0, smithy_client_1.map)({
4764
4764
  $metadata: deserializeMetadata(output),
4765
4765
  });
4766
- const data = await collectBody(output.body, context);
4766
+ const data = await (0, smithy_client_1.collectBody)(output.body, context);
4767
4767
  contents.GeoJsonPayload = data;
4768
4768
  return contents;
4769
4769
  };
@@ -6125,7 +6125,7 @@ const de_PutPositionConfigurationCommand = async (output, context) => {
6125
6125
  const contents = (0, smithy_client_1.map)({
6126
6126
  $metadata: deserializeMetadata(output),
6127
6127
  });
6128
- await collectBody(output.body, context);
6128
+ await (0, smithy_client_1.collectBody)(output.body, context);
6129
6129
  return contents;
6130
6130
  };
6131
6131
  exports.de_PutPositionConfigurationCommand = de_PutPositionConfigurationCommand;
@@ -6167,7 +6167,7 @@ const de_PutResourceLogLevelCommand = async (output, context) => {
6167
6167
  const contents = (0, smithy_client_1.map)({
6168
6168
  $metadata: deserializeMetadata(output),
6169
6169
  });
6170
- await collectBody(output.body, context);
6170
+ await (0, smithy_client_1.collectBody)(output.body, context);
6171
6171
  return contents;
6172
6172
  };
6173
6173
  exports.de_PutResourceLogLevelCommand = de_PutResourceLogLevelCommand;
@@ -6209,7 +6209,7 @@ const de_ResetAllResourceLogLevelsCommand = async (output, context) => {
6209
6209
  const contents = (0, smithy_client_1.map)({
6210
6210
  $metadata: deserializeMetadata(output),
6211
6211
  });
6212
- await collectBody(output.body, context);
6212
+ await (0, smithy_client_1.collectBody)(output.body, context);
6213
6213
  return contents;
6214
6214
  };
6215
6215
  exports.de_ResetAllResourceLogLevelsCommand = de_ResetAllResourceLogLevelsCommand;
@@ -6251,7 +6251,7 @@ const de_ResetResourceLogLevelCommand = async (output, context) => {
6251
6251
  const contents = (0, smithy_client_1.map)({
6252
6252
  $metadata: deserializeMetadata(output),
6253
6253
  });
6254
- await collectBody(output.body, context);
6254
+ await (0, smithy_client_1.collectBody)(output.body, context);
6255
6255
  return contents;
6256
6256
  };
6257
6257
  exports.de_ResetResourceLogLevelCommand = de_ResetResourceLogLevelCommand;
@@ -6385,7 +6385,7 @@ const de_StartBulkAssociateWirelessDeviceWithMulticastGroupCommand = async (outp
6385
6385
  const contents = (0, smithy_client_1.map)({
6386
6386
  $metadata: deserializeMetadata(output),
6387
6387
  });
6388
- await collectBody(output.body, context);
6388
+ await (0, smithy_client_1.collectBody)(output.body, context);
6389
6389
  return contents;
6390
6390
  };
6391
6391
  exports.de_StartBulkAssociateWirelessDeviceWithMulticastGroupCommand = de_StartBulkAssociateWirelessDeviceWithMulticastGroupCommand;
@@ -6427,7 +6427,7 @@ const de_StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand = async (o
6427
6427
  const contents = (0, smithy_client_1.map)({
6428
6428
  $metadata: deserializeMetadata(output),
6429
6429
  });
6430
- await collectBody(output.body, context);
6430
+ await (0, smithy_client_1.collectBody)(output.body, context);
6431
6431
  return contents;
6432
6432
  };
6433
6433
  exports.de_StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand = de_StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand;
@@ -6469,7 +6469,7 @@ const de_StartFuotaTaskCommand = async (output, context) => {
6469
6469
  const contents = (0, smithy_client_1.map)({
6470
6470
  $metadata: deserializeMetadata(output),
6471
6471
  });
6472
- await collectBody(output.body, context);
6472
+ await (0, smithy_client_1.collectBody)(output.body, context);
6473
6473
  return contents;
6474
6474
  };
6475
6475
  exports.de_StartFuotaTaskCommand = de_StartFuotaTaskCommand;
@@ -6514,7 +6514,7 @@ const de_StartMulticastGroupSessionCommand = async (output, context) => {
6514
6514
  const contents = (0, smithy_client_1.map)({
6515
6515
  $metadata: deserializeMetadata(output),
6516
6516
  });
6517
- await collectBody(output.body, context);
6517
+ await (0, smithy_client_1.collectBody)(output.body, context);
6518
6518
  return contents;
6519
6519
  };
6520
6520
  exports.de_StartMulticastGroupSessionCommand = de_StartMulticastGroupSessionCommand;
@@ -6659,7 +6659,7 @@ const de_TagResourceCommand = async (output, context) => {
6659
6659
  const contents = (0, smithy_client_1.map)({
6660
6660
  $metadata: deserializeMetadata(output),
6661
6661
  });
6662
- await collectBody(output.body, context);
6662
+ await (0, smithy_client_1.collectBody)(output.body, context);
6663
6663
  return contents;
6664
6664
  };
6665
6665
  exports.de_TagResourceCommand = de_TagResourceCommand;
@@ -6747,7 +6747,7 @@ const de_UntagResourceCommand = async (output, context) => {
6747
6747
  const contents = (0, smithy_client_1.map)({
6748
6748
  $metadata: deserializeMetadata(output),
6749
6749
  });
6750
- await collectBody(output.body, context);
6750
+ await (0, smithy_client_1.collectBody)(output.body, context);
6751
6751
  return contents;
6752
6752
  };
6753
6753
  exports.de_UntagResourceCommand = de_UntagResourceCommand;
@@ -6789,7 +6789,7 @@ const de_UpdateDestinationCommand = async (output, context) => {
6789
6789
  const contents = (0, smithy_client_1.map)({
6790
6790
  $metadata: deserializeMetadata(output),
6791
6791
  });
6792
- await collectBody(output.body, context);
6792
+ await (0, smithy_client_1.collectBody)(output.body, context);
6793
6793
  return contents;
6794
6794
  };
6795
6795
  exports.de_UpdateDestinationCommand = de_UpdateDestinationCommand;
@@ -6831,7 +6831,7 @@ const de_UpdateEventConfigurationByResourceTypesCommand = async (output, context
6831
6831
  const contents = (0, smithy_client_1.map)({
6832
6832
  $metadata: deserializeMetadata(output),
6833
6833
  });
6834
- await collectBody(output.body, context);
6834
+ await (0, smithy_client_1.collectBody)(output.body, context);
6835
6835
  return contents;
6836
6836
  };
6837
6837
  exports.de_UpdateEventConfigurationByResourceTypesCommand = de_UpdateEventConfigurationByResourceTypesCommand;
@@ -6870,7 +6870,7 @@ const de_UpdateFuotaTaskCommand = async (output, context) => {
6870
6870
  const contents = (0, smithy_client_1.map)({
6871
6871
  $metadata: deserializeMetadata(output),
6872
6872
  });
6873
- await collectBody(output.body, context);
6873
+ await (0, smithy_client_1.collectBody)(output.body, context);
6874
6874
  return contents;
6875
6875
  };
6876
6876
  exports.de_UpdateFuotaTaskCommand = de_UpdateFuotaTaskCommand;
@@ -6915,7 +6915,7 @@ const de_UpdateLogLevelsByResourceTypesCommand = async (output, context) => {
6915
6915
  const contents = (0, smithy_client_1.map)({
6916
6916
  $metadata: deserializeMetadata(output),
6917
6917
  });
6918
- await collectBody(output.body, context);
6918
+ await (0, smithy_client_1.collectBody)(output.body, context);
6919
6919
  return contents;
6920
6920
  };
6921
6921
  exports.de_UpdateLogLevelsByResourceTypesCommand = de_UpdateLogLevelsByResourceTypesCommand;
@@ -6960,7 +6960,7 @@ const de_UpdateMulticastGroupCommand = async (output, context) => {
6960
6960
  const contents = (0, smithy_client_1.map)({
6961
6961
  $metadata: deserializeMetadata(output),
6962
6962
  });
6963
- await collectBody(output.body, context);
6963
+ await (0, smithy_client_1.collectBody)(output.body, context);
6964
6964
  return contents;
6965
6965
  };
6966
6966
  exports.de_UpdateMulticastGroupCommand = de_UpdateMulticastGroupCommand;
@@ -7005,7 +7005,7 @@ const de_UpdateNetworkAnalyzerConfigurationCommand = async (output, context) =>
7005
7005
  const contents = (0, smithy_client_1.map)({
7006
7006
  $metadata: deserializeMetadata(output),
7007
7007
  });
7008
- await collectBody(output.body, context);
7008
+ await (0, smithy_client_1.collectBody)(output.body, context);
7009
7009
  return contents;
7010
7010
  };
7011
7011
  exports.de_UpdateNetworkAnalyzerConfigurationCommand = de_UpdateNetworkAnalyzerConfigurationCommand;
@@ -7047,7 +7047,7 @@ const de_UpdatePartnerAccountCommand = async (output, context) => {
7047
7047
  const contents = (0, smithy_client_1.map)({
7048
7048
  $metadata: deserializeMetadata(output),
7049
7049
  });
7050
- await collectBody(output.body, context);
7050
+ await (0, smithy_client_1.collectBody)(output.body, context);
7051
7051
  return contents;
7052
7052
  };
7053
7053
  exports.de_UpdatePartnerAccountCommand = de_UpdatePartnerAccountCommand;
@@ -7086,7 +7086,7 @@ const de_UpdatePositionCommand = async (output, context) => {
7086
7086
  const contents = (0, smithy_client_1.map)({
7087
7087
  $metadata: deserializeMetadata(output),
7088
7088
  });
7089
- await collectBody(output.body, context);
7089
+ await (0, smithy_client_1.collectBody)(output.body, context);
7090
7090
  return contents;
7091
7091
  };
7092
7092
  exports.de_UpdatePositionCommand = de_UpdatePositionCommand;
@@ -7128,7 +7128,7 @@ const de_UpdateResourceEventConfigurationCommand = async (output, context) => {
7128
7128
  const contents = (0, smithy_client_1.map)({
7129
7129
  $metadata: deserializeMetadata(output),
7130
7130
  });
7131
- await collectBody(output.body, context);
7131
+ await (0, smithy_client_1.collectBody)(output.body, context);
7132
7132
  return contents;
7133
7133
  };
7134
7134
  exports.de_UpdateResourceEventConfigurationCommand = de_UpdateResourceEventConfigurationCommand;
@@ -7173,7 +7173,7 @@ const de_UpdateResourcePositionCommand = async (output, context) => {
7173
7173
  const contents = (0, smithy_client_1.map)({
7174
7174
  $metadata: deserializeMetadata(output),
7175
7175
  });
7176
- await collectBody(output.body, context);
7176
+ await (0, smithy_client_1.collectBody)(output.body, context);
7177
7177
  return contents;
7178
7178
  };
7179
7179
  exports.de_UpdateResourcePositionCommand = de_UpdateResourcePositionCommand;
@@ -7215,7 +7215,7 @@ const de_UpdateWirelessDeviceCommand = async (output, context) => {
7215
7215
  const contents = (0, smithy_client_1.map)({
7216
7216
  $metadata: deserializeMetadata(output),
7217
7217
  });
7218
- await collectBody(output.body, context);
7218
+ await (0, smithy_client_1.collectBody)(output.body, context);
7219
7219
  return contents;
7220
7220
  };
7221
7221
  exports.de_UpdateWirelessDeviceCommand = de_UpdateWirelessDeviceCommand;
@@ -7257,7 +7257,7 @@ const de_UpdateWirelessDeviceImportTaskCommand = async (output, context) => {
7257
7257
  const contents = (0, smithy_client_1.map)({
7258
7258
  $metadata: deserializeMetadata(output),
7259
7259
  });
7260
- await collectBody(output.body, context);
7260
+ await (0, smithy_client_1.collectBody)(output.body, context);
7261
7261
  return contents;
7262
7262
  };
7263
7263
  exports.de_UpdateWirelessDeviceImportTaskCommand = de_UpdateWirelessDeviceImportTaskCommand;
@@ -7302,7 +7302,7 @@ const de_UpdateWirelessGatewayCommand = async (output, context) => {
7302
7302
  const contents = (0, smithy_client_1.map)({
7303
7303
  $metadata: deserializeMetadata(output),
7304
7304
  });
7305
- await collectBody(output.body, context);
7305
+ await (0, smithy_client_1.collectBody)(output.body, context);
7306
7306
  return contents;
7307
7307
  };
7308
7308
  exports.de_UpdateWirelessGatewayCommand = de_UpdateWirelessGatewayCommand;
@@ -7682,13 +7682,7 @@ const deserializeMetadata = (output) => ({
7682
7682
  extendedRequestId: output.headers["x-amz-id-2"],
7683
7683
  cfId: output.headers["x-amz-cf-id"],
7684
7684
  });
7685
- const collectBody = (streamBody = new Uint8Array(), context) => {
7686
- if (streamBody instanceof Uint8Array) {
7687
- return Promise.resolve(streamBody);
7688
- }
7689
- return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
7690
- };
7691
- const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
7685
+ const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
7692
7686
  const isSerializableHeaderValue = (value) => value !== undefined &&
7693
7687
  value !== null &&
7694
7688
  value !== "" &&
@@ -1,4 +1,4 @@
1
- import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
1
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { IoTWirelessServiceException as __BaseException } from "../models/IoTWirelessServiceException";
@@ -7457,12 +7457,6 @@ const deserializeMetadata = (output) => ({
7457
7457
  extendedRequestId: output.headers["x-amz-id-2"],
7458
7458
  cfId: output.headers["x-amz-cf-id"],
7459
7459
  });
7460
- const collectBody = (streamBody = new Uint8Array(), context) => {
7461
- if (streamBody instanceof Uint8Array) {
7462
- return Promise.resolve(streamBody);
7463
- }
7464
- return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
7465
- };
7466
7460
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
7467
7461
  const isSerializableHeaderValue = (value) => value !== undefined &&
7468
7462
  value !== null &&
@@ -182,7 +182,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
182
182
  */
183
183
  runtime?: string;
184
184
  /**
185
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
185
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
186
186
  * trait of an operation.
187
187
  */
188
188
  disableHostPrefix?: boolean;
@@ -1,6 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
4
5
  import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
5
6
  import { GetPositionEstimateRequest, GetPositionEstimateResponse } from "../models/models_0";
6
7
  /**
@@ -14,12 +15,18 @@ export { __MetadataBearer, $Command };
14
15
  */
15
16
  export interface GetPositionEstimateCommandInput extends GetPositionEstimateRequest {
16
17
  }
18
+ /**
19
+ * @public
20
+ */
21
+ export type GetPositionEstimateCommandOutputType = Omit<GetPositionEstimateResponse, "GeoJsonPayload"> & {
22
+ GeoJsonPayload?: Uint8ArrayBlobAdapter;
23
+ };
17
24
  /**
18
25
  * @public
19
26
  *
20
27
  * The output of {@link GetPositionEstimateCommand}.
21
28
  */
22
- export interface GetPositionEstimateCommandOutput extends GetPositionEstimateResponse, __MetadataBearer {
29
+ export interface GetPositionEstimateCommandOutput extends GetPositionEstimateCommandOutputType, __MetadataBearer {
23
30
  }
24
31
  /**
25
32
  * @public
@@ -1,6 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
4
5
  import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
5
6
  import { GetResourcePositionRequest, GetResourcePositionResponse } from "../models/models_0";
6
7
  /**
@@ -14,12 +15,18 @@ export { __MetadataBearer, $Command };
14
15
  */
15
16
  export interface GetResourcePositionCommandInput extends GetResourcePositionRequest {
16
17
  }
18
+ /**
19
+ * @public
20
+ */
21
+ export type GetResourcePositionCommandOutputType = Omit<GetResourcePositionResponse, "GeoJsonPayload"> & {
22
+ GeoJsonPayload?: Uint8ArrayBlobAdapter;
23
+ };
17
24
  /**
18
25
  * @public
19
26
  *
20
27
  * The output of {@link GetResourcePositionCommand}.
21
28
  */
22
- export interface GetResourcePositionCommandOutput extends GetResourcePositionResponse, __MetadataBearer {
29
+ export interface GetResourcePositionCommandOutput extends GetResourcePositionCommandOutputType, __MetadataBearer {
23
30
  }
24
31
  /**
25
32
  * @public
@@ -1,18 +1,24 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { BlobTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
5
5
  import { UpdateResourcePositionRequest, UpdateResourcePositionResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  */
9
9
  export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ */
13
+ export type UpdateResourcePositionCommandInputType = Omit<UpdateResourcePositionRequest, "GeoJsonPayload"> & {
14
+ GeoJsonPayload?: BlobTypes;
15
+ };
10
16
  /**
11
17
  * @public
12
18
  *
13
19
  * The input for {@link UpdateResourcePositionCommand}.
14
20
  */
15
- export interface UpdateResourcePositionCommandInput extends UpdateResourcePositionRequest {
21
+ export interface UpdateResourcePositionCommandInput extends UpdateResourcePositionCommandInputType {
16
22
  }
17
23
  /**
18
24
  * @public
@@ -6,6 +6,7 @@ import {
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
8
  } from "@aws-sdk/types";
9
+ import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
9
10
  import {
10
11
  IoTWirelessClientResolvedConfig,
11
12
  ServiceInputTypes,
@@ -18,8 +19,14 @@ import {
18
19
  export { __MetadataBearer, $Command };
19
20
  export interface GetPositionEstimateCommandInput
20
21
  extends GetPositionEstimateRequest {}
22
+ export type GetPositionEstimateCommandOutputType = Pick<
23
+ GetPositionEstimateResponse,
24
+ Exclude<keyof GetPositionEstimateResponse, "GeoJsonPayload">
25
+ > & {
26
+ GeoJsonPayload?: Uint8ArrayBlobAdapter;
27
+ };
21
28
  export interface GetPositionEstimateCommandOutput
22
- extends GetPositionEstimateResponse,
29
+ extends GetPositionEstimateCommandOutputType,
23
30
  __MetadataBearer {}
24
31
  export declare class GetPositionEstimateCommand extends $Command<
25
32
  GetPositionEstimateCommandInput,
@@ -6,6 +6,7 @@ import {
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
8
  } from "@aws-sdk/types";
9
+ import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
9
10
  import {
10
11
  IoTWirelessClientResolvedConfig,
11
12
  ServiceInputTypes,
@@ -18,8 +19,14 @@ import {
18
19
  export { __MetadataBearer, $Command };
19
20
  export interface GetResourcePositionCommandInput
20
21
  extends GetResourcePositionRequest {}
22
+ export type GetResourcePositionCommandOutputType = Pick<
23
+ GetResourcePositionResponse,
24
+ Exclude<keyof GetResourcePositionResponse, "GeoJsonPayload">
25
+ > & {
26
+ GeoJsonPayload?: Uint8ArrayBlobAdapter;
27
+ };
21
28
  export interface GetResourcePositionCommandOutput
22
- extends GetResourcePositionResponse,
29
+ extends GetResourcePositionCommandOutputType,
23
30
  __MetadataBearer {}
24
31
  export declare class GetResourcePositionCommand extends $Command<
25
32
  GetResourcePositionCommandInput,
@@ -1,6 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import {
4
+ BlobTypes,
4
5
  Handler,
5
6
  HttpHandlerOptions as __HttpHandlerOptions,
6
7
  MetadataBearer as __MetadataBearer,
@@ -16,8 +17,14 @@ import {
16
17
  UpdateResourcePositionResponse,
17
18
  } from "../models/models_1";
18
19
  export { __MetadataBearer, $Command };
20
+ export type UpdateResourcePositionCommandInputType = Pick<
21
+ UpdateResourcePositionRequest,
22
+ Exclude<keyof UpdateResourcePositionRequest, "GeoJsonPayload">
23
+ > & {
24
+ GeoJsonPayload?: BlobTypes;
25
+ };
19
26
  export interface UpdateResourcePositionCommandInput
20
- extends UpdateResourcePositionRequest {}
27
+ extends UpdateResourcePositionCommandInputType {}
21
28
  export interface UpdateResourcePositionCommandOutput
22
29
  extends UpdateResourcePositionResponse,
23
30
  __MetadataBearer {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot-wireless",
3
3
  "description": "AWS SDK for JavaScript Iot Wireless Client for Node.js, Browser and React Native",
4
- "version": "3.354.0",
4
+ "version": "3.358.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,37 @@
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.358.0",
25
+ "@aws-sdk/config-resolver": "3.357.0",
26
+ "@aws-sdk/credential-provider-node": "3.358.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.358.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.358.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.358.0",
50
+ "@aws-sdk/util-endpoints": "3.357.0",
51
+ "@aws-sdk/util-retry": "3.357.0",
52
+ "@aws-sdk/util-stream": "3.358.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.357.0",
54
+ "@aws-sdk/util-user-agent-node": "3.357.0",
54
55
  "@aws-sdk/util-utf8": "3.310.0",
55
56
  "@smithy/protocol-http": "^1.0.1",
56
57
  "@smithy/types": "^1.0.0",