@aws-sdk/client-ec2 3.356.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.
|
@@ -7026,7 +7026,7 @@ const de_AssociateDhcpOptionsCommand = async (output, context) => {
|
|
|
7026
7026
|
if (output.statusCode >= 300) {
|
|
7027
7027
|
return de_AssociateDhcpOptionsCommandError(output, context);
|
|
7028
7028
|
}
|
|
7029
|
-
await collectBody(output.body, context);
|
|
7029
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
7030
7030
|
const response = {
|
|
7031
7031
|
$metadata: deserializeMetadata(output),
|
|
7032
7032
|
};
|
|
@@ -7401,7 +7401,7 @@ const de_AttachInternetGatewayCommand = async (output, context) => {
|
|
|
7401
7401
|
if (output.statusCode >= 300) {
|
|
7402
7402
|
return de_AttachInternetGatewayCommandError(output, context);
|
|
7403
7403
|
}
|
|
7404
|
-
await collectBody(output.body, context);
|
|
7404
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
7405
7405
|
const response = {
|
|
7406
7406
|
$metadata: deserializeMetadata(output),
|
|
7407
7407
|
};
|
|
@@ -7722,7 +7722,7 @@ const de_CancelConversionTaskCommand = async (output, context) => {
|
|
|
7722
7722
|
if (output.statusCode >= 300) {
|
|
7723
7723
|
return de_CancelConversionTaskCommandError(output, context);
|
|
7724
7724
|
}
|
|
7725
|
-
await collectBody(output.body, context);
|
|
7725
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
7726
7726
|
const response = {
|
|
7727
7727
|
$metadata: deserializeMetadata(output),
|
|
7728
7728
|
};
|
|
@@ -7746,7 +7746,7 @@ const de_CancelExportTaskCommand = async (output, context) => {
|
|
|
7746
7746
|
if (output.statusCode >= 300) {
|
|
7747
7747
|
return de_CancelExportTaskCommandError(output, context);
|
|
7748
7748
|
}
|
|
7749
|
-
await collectBody(output.body, context);
|
|
7749
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
7750
7750
|
const response = {
|
|
7751
7751
|
$metadata: deserializeMetadata(output),
|
|
7752
7752
|
};
|
|
@@ -8931,7 +8931,7 @@ const de_CreateNetworkAclEntryCommand = async (output, context) => {
|
|
|
8931
8931
|
if (output.statusCode >= 300) {
|
|
8932
8932
|
return de_CreateNetworkAclEntryCommandError(output, context);
|
|
8933
8933
|
}
|
|
8934
|
-
await collectBody(output.body, context);
|
|
8934
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
8935
8935
|
const response = {
|
|
8936
8936
|
$metadata: deserializeMetadata(output),
|
|
8937
8937
|
};
|
|
@@ -9441,7 +9441,7 @@ const de_CreateTagsCommand = async (output, context) => {
|
|
|
9441
9441
|
if (output.statusCode >= 300) {
|
|
9442
9442
|
return de_CreateTagsCommandError(output, context);
|
|
9443
9443
|
}
|
|
9444
|
-
await collectBody(output.body, context);
|
|
9444
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
9445
9445
|
const response = {
|
|
9446
9446
|
$metadata: deserializeMetadata(output),
|
|
9447
9447
|
};
|
|
@@ -10167,7 +10167,7 @@ const de_CreateVpnConnectionRouteCommand = async (output, context) => {
|
|
|
10167
10167
|
if (output.statusCode >= 300) {
|
|
10168
10168
|
return de_CreateVpnConnectionRouteCommandError(output, context);
|
|
10169
10169
|
}
|
|
10170
|
-
await collectBody(output.body, context);
|
|
10170
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
10171
10171
|
const response = {
|
|
10172
10172
|
$metadata: deserializeMetadata(output),
|
|
10173
10173
|
};
|
|
@@ -10353,7 +10353,7 @@ const de_DeleteCustomerGatewayCommand = async (output, context) => {
|
|
|
10353
10353
|
if (output.statusCode >= 300) {
|
|
10354
10354
|
return de_DeleteCustomerGatewayCommandError(output, context);
|
|
10355
10355
|
}
|
|
10356
|
-
await collectBody(output.body, context);
|
|
10356
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
10357
10357
|
const response = {
|
|
10358
10358
|
$metadata: deserializeMetadata(output),
|
|
10359
10359
|
};
|
|
@@ -10377,7 +10377,7 @@ const de_DeleteDhcpOptionsCommand = async (output, context) => {
|
|
|
10377
10377
|
if (output.statusCode >= 300) {
|
|
10378
10378
|
return de_DeleteDhcpOptionsCommandError(output, context);
|
|
10379
10379
|
}
|
|
10380
|
-
await collectBody(output.body, context);
|
|
10380
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
10381
10381
|
const response = {
|
|
10382
10382
|
$metadata: deserializeMetadata(output),
|
|
10383
10383
|
};
|
|
@@ -10563,7 +10563,7 @@ const de_DeleteInternetGatewayCommand = async (output, context) => {
|
|
|
10563
10563
|
if (output.statusCode >= 300) {
|
|
10564
10564
|
return de_DeleteInternetGatewayCommandError(output, context);
|
|
10565
10565
|
}
|
|
10566
|
-
await collectBody(output.body, context);
|
|
10566
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
10567
10567
|
const response = {
|
|
10568
10568
|
$metadata: deserializeMetadata(output),
|
|
10569
10569
|
};
|
|
@@ -10695,7 +10695,7 @@ const de_DeleteKeyPairCommand = async (output, context) => {
|
|
|
10695
10695
|
if (output.statusCode >= 300) {
|
|
10696
10696
|
return de_DeleteKeyPairCommandError(output, context);
|
|
10697
10697
|
}
|
|
10698
|
-
await collectBody(output.body, context);
|
|
10698
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
10699
10699
|
const response = {
|
|
10700
10700
|
$metadata: deserializeMetadata(output),
|
|
10701
10701
|
};
|
|
@@ -10935,7 +10935,7 @@ const de_DeleteNetworkAclCommand = async (output, context) => {
|
|
|
10935
10935
|
if (output.statusCode >= 300) {
|
|
10936
10936
|
return de_DeleteNetworkAclCommandError(output, context);
|
|
10937
10937
|
}
|
|
10938
|
-
await collectBody(output.body, context);
|
|
10938
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
10939
10939
|
const response = {
|
|
10940
10940
|
$metadata: deserializeMetadata(output),
|
|
10941
10941
|
};
|
|
@@ -10959,7 +10959,7 @@ const de_DeleteNetworkAclEntryCommand = async (output, context) => {
|
|
|
10959
10959
|
if (output.statusCode >= 300) {
|
|
10960
10960
|
return de_DeleteNetworkAclEntryCommandError(output, context);
|
|
10961
10961
|
}
|
|
10962
|
-
await collectBody(output.body, context);
|
|
10962
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
10963
10963
|
const response = {
|
|
10964
10964
|
$metadata: deserializeMetadata(output),
|
|
10965
10965
|
};
|
|
@@ -11091,7 +11091,7 @@ const de_DeleteNetworkInterfaceCommand = async (output, context) => {
|
|
|
11091
11091
|
if (output.statusCode >= 300) {
|
|
11092
11092
|
return de_DeleteNetworkInterfaceCommandError(output, context);
|
|
11093
11093
|
}
|
|
11094
|
-
await collectBody(output.body, context);
|
|
11094
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
11095
11095
|
const response = {
|
|
11096
11096
|
$metadata: deserializeMetadata(output),
|
|
11097
11097
|
};
|
|
@@ -11142,7 +11142,7 @@ const de_DeletePlacementGroupCommand = async (output, context) => {
|
|
|
11142
11142
|
if (output.statusCode >= 300) {
|
|
11143
11143
|
return de_DeletePlacementGroupCommandError(output, context);
|
|
11144
11144
|
}
|
|
11145
|
-
await collectBody(output.body, context);
|
|
11145
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
11146
11146
|
const response = {
|
|
11147
11147
|
$metadata: deserializeMetadata(output),
|
|
11148
11148
|
};
|
|
@@ -11220,7 +11220,7 @@ const de_DeleteRouteCommand = async (output, context) => {
|
|
|
11220
11220
|
if (output.statusCode >= 300) {
|
|
11221
11221
|
return de_DeleteRouteCommandError(output, context);
|
|
11222
11222
|
}
|
|
11223
|
-
await collectBody(output.body, context);
|
|
11223
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
11224
11224
|
const response = {
|
|
11225
11225
|
$metadata: deserializeMetadata(output),
|
|
11226
11226
|
};
|
|
@@ -11244,7 +11244,7 @@ const de_DeleteRouteTableCommand = async (output, context) => {
|
|
|
11244
11244
|
if (output.statusCode >= 300) {
|
|
11245
11245
|
return de_DeleteRouteTableCommandError(output, context);
|
|
11246
11246
|
}
|
|
11247
|
-
await collectBody(output.body, context);
|
|
11247
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
11248
11248
|
const response = {
|
|
11249
11249
|
$metadata: deserializeMetadata(output),
|
|
11250
11250
|
};
|
|
@@ -11268,7 +11268,7 @@ const de_DeleteSecurityGroupCommand = async (output, context) => {
|
|
|
11268
11268
|
if (output.statusCode >= 300) {
|
|
11269
11269
|
return de_DeleteSecurityGroupCommandError(output, context);
|
|
11270
11270
|
}
|
|
11271
|
-
await collectBody(output.body, context);
|
|
11271
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
11272
11272
|
const response = {
|
|
11273
11273
|
$metadata: deserializeMetadata(output),
|
|
11274
11274
|
};
|
|
@@ -11292,7 +11292,7 @@ const de_DeleteSnapshotCommand = async (output, context) => {
|
|
|
11292
11292
|
if (output.statusCode >= 300) {
|
|
11293
11293
|
return de_DeleteSnapshotCommandError(output, context);
|
|
11294
11294
|
}
|
|
11295
|
-
await collectBody(output.body, context);
|
|
11295
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
11296
11296
|
const response = {
|
|
11297
11297
|
$metadata: deserializeMetadata(output),
|
|
11298
11298
|
};
|
|
@@ -11316,7 +11316,7 @@ const de_DeleteSpotDatafeedSubscriptionCommand = async (output, context) => {
|
|
|
11316
11316
|
if (output.statusCode >= 300) {
|
|
11317
11317
|
return de_DeleteSpotDatafeedSubscriptionCommandError(output, context);
|
|
11318
11318
|
}
|
|
11319
|
-
await collectBody(output.body, context);
|
|
11319
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
11320
11320
|
const response = {
|
|
11321
11321
|
$metadata: deserializeMetadata(output),
|
|
11322
11322
|
};
|
|
@@ -11340,7 +11340,7 @@ const de_DeleteSubnetCommand = async (output, context) => {
|
|
|
11340
11340
|
if (output.statusCode >= 300) {
|
|
11341
11341
|
return de_DeleteSubnetCommandError(output, context);
|
|
11342
11342
|
}
|
|
11343
|
-
await collectBody(output.body, context);
|
|
11343
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
11344
11344
|
const response = {
|
|
11345
11345
|
$metadata: deserializeMetadata(output),
|
|
11346
11346
|
};
|
|
@@ -11391,7 +11391,7 @@ const de_DeleteTagsCommand = async (output, context) => {
|
|
|
11391
11391
|
if (output.statusCode >= 300) {
|
|
11392
11392
|
return de_DeleteTagsCommandError(output, context);
|
|
11393
11393
|
}
|
|
11394
|
-
await collectBody(output.body, context);
|
|
11394
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
11395
11395
|
const response = {
|
|
11396
11396
|
$metadata: deserializeMetadata(output),
|
|
11397
11397
|
};
|
|
@@ -11928,7 +11928,7 @@ const de_DeleteVolumeCommand = async (output, context) => {
|
|
|
11928
11928
|
if (output.statusCode >= 300) {
|
|
11929
11929
|
return de_DeleteVolumeCommandError(output, context);
|
|
11930
11930
|
}
|
|
11931
|
-
await collectBody(output.body, context);
|
|
11931
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
11932
11932
|
const response = {
|
|
11933
11933
|
$metadata: deserializeMetadata(output),
|
|
11934
11934
|
};
|
|
@@ -11952,7 +11952,7 @@ const de_DeleteVpcCommand = async (output, context) => {
|
|
|
11952
11952
|
if (output.statusCode >= 300) {
|
|
11953
11953
|
return de_DeleteVpcCommandError(output, context);
|
|
11954
11954
|
}
|
|
11955
|
-
await collectBody(output.body, context);
|
|
11955
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
11956
11956
|
const response = {
|
|
11957
11957
|
$metadata: deserializeMetadata(output),
|
|
11958
11958
|
};
|
|
@@ -12084,7 +12084,7 @@ const de_DeleteVpnConnectionCommand = async (output, context) => {
|
|
|
12084
12084
|
if (output.statusCode >= 300) {
|
|
12085
12085
|
return de_DeleteVpnConnectionCommandError(output, context);
|
|
12086
12086
|
}
|
|
12087
|
-
await collectBody(output.body, context);
|
|
12087
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
12088
12088
|
const response = {
|
|
12089
12089
|
$metadata: deserializeMetadata(output),
|
|
12090
12090
|
};
|
|
@@ -12108,7 +12108,7 @@ const de_DeleteVpnConnectionRouteCommand = async (output, context) => {
|
|
|
12108
12108
|
if (output.statusCode >= 300) {
|
|
12109
12109
|
return de_DeleteVpnConnectionRouteCommandError(output, context);
|
|
12110
12110
|
}
|
|
12111
|
-
await collectBody(output.body, context);
|
|
12111
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
12112
12112
|
const response = {
|
|
12113
12113
|
$metadata: deserializeMetadata(output),
|
|
12114
12114
|
};
|
|
@@ -12132,7 +12132,7 @@ const de_DeleteVpnGatewayCommand = async (output, context) => {
|
|
|
12132
12132
|
if (output.statusCode >= 300) {
|
|
12133
12133
|
return de_DeleteVpnGatewayCommandError(output, context);
|
|
12134
12134
|
}
|
|
12135
|
-
await collectBody(output.body, context);
|
|
12135
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
12136
12136
|
const response = {
|
|
12137
12137
|
$metadata: deserializeMetadata(output),
|
|
12138
12138
|
};
|
|
@@ -12237,7 +12237,7 @@ const de_DeregisterImageCommand = async (output, context) => {
|
|
|
12237
12237
|
if (output.statusCode >= 300) {
|
|
12238
12238
|
return de_DeregisterImageCommandError(output, context);
|
|
12239
12239
|
}
|
|
12240
|
-
await collectBody(output.body, context);
|
|
12240
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
12241
12241
|
const response = {
|
|
12242
12242
|
$metadata: deserializeMetadata(output),
|
|
12243
12243
|
};
|
|
@@ -16284,7 +16284,7 @@ const de_DetachInternetGatewayCommand = async (output, context) => {
|
|
|
16284
16284
|
if (output.statusCode >= 300) {
|
|
16285
16285
|
return de_DetachInternetGatewayCommandError(output, context);
|
|
16286
16286
|
}
|
|
16287
|
-
await collectBody(output.body, context);
|
|
16287
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
16288
16288
|
const response = {
|
|
16289
16289
|
$metadata: deserializeMetadata(output),
|
|
16290
16290
|
};
|
|
@@ -16308,7 +16308,7 @@ const de_DetachNetworkInterfaceCommand = async (output, context) => {
|
|
|
16308
16308
|
if (output.statusCode >= 300) {
|
|
16309
16309
|
return de_DetachNetworkInterfaceCommandError(output, context);
|
|
16310
16310
|
}
|
|
16311
|
-
await collectBody(output.body, context);
|
|
16311
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
16312
16312
|
const response = {
|
|
16313
16313
|
$metadata: deserializeMetadata(output),
|
|
16314
16314
|
};
|
|
@@ -16386,7 +16386,7 @@ const de_DetachVpnGatewayCommand = async (output, context) => {
|
|
|
16386
16386
|
if (output.statusCode >= 300) {
|
|
16387
16387
|
return de_DetachVpnGatewayCommandError(output, context);
|
|
16388
16388
|
}
|
|
16389
|
-
await collectBody(output.body, context);
|
|
16389
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
16390
16390
|
const response = {
|
|
16391
16391
|
$metadata: deserializeMetadata(output),
|
|
16392
16392
|
};
|
|
@@ -16653,7 +16653,7 @@ const de_DisableVgwRoutePropagationCommand = async (output, context) => {
|
|
|
16653
16653
|
if (output.statusCode >= 300) {
|
|
16654
16654
|
return de_DisableVgwRoutePropagationCommandError(output, context);
|
|
16655
16655
|
}
|
|
16656
|
-
await collectBody(output.body, context);
|
|
16656
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
16657
16657
|
const response = {
|
|
16658
16658
|
$metadata: deserializeMetadata(output),
|
|
16659
16659
|
};
|
|
@@ -16731,7 +16731,7 @@ const de_DisassociateAddressCommand = async (output, context) => {
|
|
|
16731
16731
|
if (output.statusCode >= 300) {
|
|
16732
16732
|
return de_DisassociateAddressCommandError(output, context);
|
|
16733
16733
|
}
|
|
16734
|
-
await collectBody(output.body, context);
|
|
16734
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
16735
16735
|
const response = {
|
|
16736
16736
|
$metadata: deserializeMetadata(output),
|
|
16737
16737
|
};
|
|
@@ -16917,7 +16917,7 @@ const de_DisassociateRouteTableCommand = async (output, context) => {
|
|
|
16917
16917
|
if (output.statusCode >= 300) {
|
|
16918
16918
|
return de_DisassociateRouteTableCommandError(output, context);
|
|
16919
16919
|
}
|
|
16920
|
-
await collectBody(output.body, context);
|
|
16920
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
16921
16921
|
const response = {
|
|
16922
16922
|
$metadata: deserializeMetadata(output),
|
|
16923
16923
|
};
|
|
@@ -17373,7 +17373,7 @@ const de_EnableVgwRoutePropagationCommand = async (output, context) => {
|
|
|
17373
17373
|
if (output.statusCode >= 300) {
|
|
17374
17374
|
return de_EnableVgwRoutePropagationCommandError(output, context);
|
|
17375
17375
|
}
|
|
17376
|
-
await collectBody(output.body, context);
|
|
17376
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
17377
17377
|
const response = {
|
|
17378
17378
|
$metadata: deserializeMetadata(output),
|
|
17379
17379
|
};
|
|
@@ -17397,7 +17397,7 @@ const de_EnableVolumeIOCommand = async (output, context) => {
|
|
|
17397
17397
|
if (output.statusCode >= 300) {
|
|
17398
17398
|
return de_EnableVolumeIOCommandError(output, context);
|
|
17399
17399
|
}
|
|
17400
|
-
await collectBody(output.body, context);
|
|
17400
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
17401
17401
|
const response = {
|
|
17402
17402
|
$metadata: deserializeMetadata(output),
|
|
17403
17403
|
};
|
|
@@ -19230,7 +19230,7 @@ const de_ModifyIdentityIdFormatCommand = async (output, context) => {
|
|
|
19230
19230
|
if (output.statusCode >= 300) {
|
|
19231
19231
|
return de_ModifyIdentityIdFormatCommandError(output, context);
|
|
19232
19232
|
}
|
|
19233
|
-
await collectBody(output.body, context);
|
|
19233
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
19234
19234
|
const response = {
|
|
19235
19235
|
$metadata: deserializeMetadata(output),
|
|
19236
19236
|
};
|
|
@@ -19254,7 +19254,7 @@ const de_ModifyIdFormatCommand = async (output, context) => {
|
|
|
19254
19254
|
if (output.statusCode >= 300) {
|
|
19255
19255
|
return de_ModifyIdFormatCommandError(output, context);
|
|
19256
19256
|
}
|
|
19257
|
-
await collectBody(output.body, context);
|
|
19257
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
19258
19258
|
const response = {
|
|
19259
19259
|
$metadata: deserializeMetadata(output),
|
|
19260
19260
|
};
|
|
@@ -19278,7 +19278,7 @@ const de_ModifyImageAttributeCommand = async (output, context) => {
|
|
|
19278
19278
|
if (output.statusCode >= 300) {
|
|
19279
19279
|
return de_ModifyImageAttributeCommandError(output, context);
|
|
19280
19280
|
}
|
|
19281
|
-
await collectBody(output.body, context);
|
|
19281
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
19282
19282
|
const response = {
|
|
19283
19283
|
$metadata: deserializeMetadata(output),
|
|
19284
19284
|
};
|
|
@@ -19302,7 +19302,7 @@ const de_ModifyInstanceAttributeCommand = async (output, context) => {
|
|
|
19302
19302
|
if (output.statusCode >= 300) {
|
|
19303
19303
|
return de_ModifyInstanceAttributeCommandError(output, context);
|
|
19304
19304
|
}
|
|
19305
|
-
await collectBody(output.body, context);
|
|
19305
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
19306
19306
|
const response = {
|
|
19307
19307
|
$metadata: deserializeMetadata(output),
|
|
19308
19308
|
};
|
|
@@ -19731,7 +19731,7 @@ const de_ModifyNetworkInterfaceAttributeCommand = async (output, context) => {
|
|
|
19731
19731
|
if (output.statusCode >= 300) {
|
|
19732
19732
|
return de_ModifyNetworkInterfaceAttributeCommandError(output, context);
|
|
19733
19733
|
}
|
|
19734
|
-
await collectBody(output.body, context);
|
|
19734
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
19735
19735
|
const response = {
|
|
19736
19736
|
$metadata: deserializeMetadata(output),
|
|
19737
19737
|
};
|
|
@@ -19836,7 +19836,7 @@ const de_ModifySnapshotAttributeCommand = async (output, context) => {
|
|
|
19836
19836
|
if (output.statusCode >= 300) {
|
|
19837
19837
|
return de_ModifySnapshotAttributeCommandError(output, context);
|
|
19838
19838
|
}
|
|
19839
|
-
await collectBody(output.body, context);
|
|
19839
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
19840
19840
|
const response = {
|
|
19841
19841
|
$metadata: deserializeMetadata(output),
|
|
19842
19842
|
};
|
|
@@ -19914,7 +19914,7 @@ const de_ModifySubnetAttributeCommand = async (output, context) => {
|
|
|
19914
19914
|
if (output.statusCode >= 300) {
|
|
19915
19915
|
return de_ModifySubnetAttributeCommandError(output, context);
|
|
19916
19916
|
}
|
|
19917
|
-
await collectBody(output.body, context);
|
|
19917
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
19918
19918
|
const response = {
|
|
19919
19919
|
$metadata: deserializeMetadata(output),
|
|
19920
19920
|
};
|
|
@@ -20316,7 +20316,7 @@ const de_ModifyVolumeAttributeCommand = async (output, context) => {
|
|
|
20316
20316
|
if (output.statusCode >= 300) {
|
|
20317
20317
|
return de_ModifyVolumeAttributeCommandError(output, context);
|
|
20318
20318
|
}
|
|
20319
|
-
await collectBody(output.body, context);
|
|
20319
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
20320
20320
|
const response = {
|
|
20321
20321
|
$metadata: deserializeMetadata(output),
|
|
20322
20322
|
};
|
|
@@ -20340,7 +20340,7 @@ const de_ModifyVpcAttributeCommand = async (output, context) => {
|
|
|
20340
20340
|
if (output.statusCode >= 300) {
|
|
20341
20341
|
return de_ModifyVpcAttributeCommandError(output, context);
|
|
20342
20342
|
}
|
|
20343
|
-
await collectBody(output.body, context);
|
|
20343
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
20344
20344
|
const response = {
|
|
20345
20345
|
$metadata: deserializeMetadata(output),
|
|
20346
20346
|
};
|
|
@@ -20904,7 +20904,7 @@ const de_RebootInstancesCommand = async (output, context) => {
|
|
|
20904
20904
|
if (output.statusCode >= 300) {
|
|
20905
20905
|
return de_RebootInstancesCommandError(output, context);
|
|
20906
20906
|
}
|
|
20907
|
-
await collectBody(output.body, context);
|
|
20907
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
20908
20908
|
const response = {
|
|
20909
20909
|
$metadata: deserializeMetadata(output),
|
|
20910
20910
|
};
|
|
@@ -21171,7 +21171,7 @@ const de_ReleaseAddressCommand = async (output, context) => {
|
|
|
21171
21171
|
if (output.statusCode >= 300) {
|
|
21172
21172
|
return de_ReleaseAddressCommandError(output, context);
|
|
21173
21173
|
}
|
|
21174
|
-
await collectBody(output.body, context);
|
|
21174
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
21175
21175
|
const response = {
|
|
21176
21176
|
$metadata: deserializeMetadata(output),
|
|
21177
21177
|
};
|
|
@@ -21303,7 +21303,7 @@ const de_ReplaceNetworkAclEntryCommand = async (output, context) => {
|
|
|
21303
21303
|
if (output.statusCode >= 300) {
|
|
21304
21304
|
return de_ReplaceNetworkAclEntryCommandError(output, context);
|
|
21305
21305
|
}
|
|
21306
|
-
await collectBody(output.body, context);
|
|
21306
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
21307
21307
|
const response = {
|
|
21308
21308
|
$metadata: deserializeMetadata(output),
|
|
21309
21309
|
};
|
|
@@ -21327,7 +21327,7 @@ const de_ReplaceRouteCommand = async (output, context) => {
|
|
|
21327
21327
|
if (output.statusCode >= 300) {
|
|
21328
21328
|
return de_ReplaceRouteCommandError(output, context);
|
|
21329
21329
|
}
|
|
21330
|
-
await collectBody(output.body, context);
|
|
21330
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
21331
21331
|
const response = {
|
|
21332
21332
|
$metadata: deserializeMetadata(output),
|
|
21333
21333
|
};
|
|
@@ -21432,7 +21432,7 @@ const de_ReportInstanceStatusCommand = async (output, context) => {
|
|
|
21432
21432
|
if (output.statusCode >= 300) {
|
|
21433
21433
|
return de_ReportInstanceStatusCommandError(output, context);
|
|
21434
21434
|
}
|
|
21435
|
-
await collectBody(output.body, context);
|
|
21435
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
21436
21436
|
const response = {
|
|
21437
21437
|
$metadata: deserializeMetadata(output),
|
|
21438
21438
|
};
|
|
@@ -21591,7 +21591,7 @@ const de_ResetImageAttributeCommand = async (output, context) => {
|
|
|
21591
21591
|
if (output.statusCode >= 300) {
|
|
21592
21592
|
return de_ResetImageAttributeCommandError(output, context);
|
|
21593
21593
|
}
|
|
21594
|
-
await collectBody(output.body, context);
|
|
21594
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
21595
21595
|
const response = {
|
|
21596
21596
|
$metadata: deserializeMetadata(output),
|
|
21597
21597
|
};
|
|
@@ -21615,7 +21615,7 @@ const de_ResetInstanceAttributeCommand = async (output, context) => {
|
|
|
21615
21615
|
if (output.statusCode >= 300) {
|
|
21616
21616
|
return de_ResetInstanceAttributeCommandError(output, context);
|
|
21617
21617
|
}
|
|
21618
|
-
await collectBody(output.body, context);
|
|
21618
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
21619
21619
|
const response = {
|
|
21620
21620
|
$metadata: deserializeMetadata(output),
|
|
21621
21621
|
};
|
|
@@ -21639,7 +21639,7 @@ const de_ResetNetworkInterfaceAttributeCommand = async (output, context) => {
|
|
|
21639
21639
|
if (output.statusCode >= 300) {
|
|
21640
21640
|
return de_ResetNetworkInterfaceAttributeCommandError(output, context);
|
|
21641
21641
|
}
|
|
21642
|
-
await collectBody(output.body, context);
|
|
21642
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
21643
21643
|
const response = {
|
|
21644
21644
|
$metadata: deserializeMetadata(output),
|
|
21645
21645
|
};
|
|
@@ -21663,7 +21663,7 @@ const de_ResetSnapshotAttributeCommand = async (output, context) => {
|
|
|
21663
21663
|
if (output.statusCode >= 300) {
|
|
21664
21664
|
return de_ResetSnapshotAttributeCommandError(output, context);
|
|
21665
21665
|
}
|
|
21666
|
-
await collectBody(output.body, context);
|
|
21666
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
21667
21667
|
const response = {
|
|
21668
21668
|
$metadata: deserializeMetadata(output),
|
|
21669
21669
|
};
|
|
@@ -22038,7 +22038,7 @@ const de_SendDiagnosticInterruptCommand = async (output, context) => {
|
|
|
22038
22038
|
if (output.statusCode >= 300) {
|
|
22039
22039
|
return de_SendDiagnosticInterruptCommandError(output, context);
|
|
22040
22040
|
}
|
|
22041
|
-
await collectBody(output.body, context);
|
|
22041
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
22042
22042
|
const response = {
|
|
22043
22043
|
$metadata: deserializeMetadata(output),
|
|
22044
22044
|
};
|
|
@@ -22278,7 +22278,7 @@ const de_UnassignPrivateIpAddressesCommand = async (output, context) => {
|
|
|
22278
22278
|
if (output.statusCode >= 300) {
|
|
22279
22279
|
return de_UnassignPrivateIpAddressesCommandError(output, context);
|
|
22280
22280
|
}
|
|
22281
|
-
await collectBody(output.body, context);
|
|
22281
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
22282
22282
|
const response = {
|
|
22283
22283
|
$metadata: deserializeMetadata(output),
|
|
22284
22284
|
};
|
|
@@ -65102,13 +65102,7 @@ const deserializeMetadata = (output) => ({
|
|
|
65102
65102
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
65103
65103
|
cfId: output.headers["x-amz-cf-id"],
|
|
65104
65104
|
});
|
|
65105
|
-
const
|
|
65106
|
-
if (streamBody instanceof Uint8Array) {
|
|
65107
|
-
return Promise.resolve(streamBody);
|
|
65108
|
-
}
|
|
65109
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
65110
|
-
};
|
|
65111
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
65105
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
65112
65106
|
const throwDefaultError = (0, smithy_client_1.withBaseException)(EC2ServiceException_1.EC2ServiceException);
|
|
65113
65107
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
65114
65108
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { collectBody, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
@@ -63888,12 +63888,6 @@ const deserializeMetadata = (output) => ({
|
|
|
63888
63888
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
63889
63889
|
cfId: output.headers["x-amz-cf-id"],
|
|
63890
63890
|
});
|
|
63891
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
63892
|
-
if (streamBody instanceof Uint8Array) {
|
|
63893
|
-
return Promise.resolve(streamBody);
|
|
63894
|
-
}
|
|
63895
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
63896
|
-
};
|
|
63897
63891
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
63898
63892
|
const throwDefaultError = withBaseException(__BaseException);
|
|
63899
63893
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
@@ -667,7 +667,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
667
667
|
*/
|
|
668
668
|
runtime?: string;
|
|
669
669
|
/**
|
|
670
|
-
* Disable
|
|
670
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
671
671
|
* trait of an operation.
|
|
672
672
|
*/
|
|
673
673
|
disableHostPrefix?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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,39 +21,39 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
37
|
-
"@aws-sdk/middleware-serde": "3.
|
|
38
|
-
"@aws-sdk/middleware-signing": "3.
|
|
39
|
-
"@aws-sdk/middleware-stack": "3.
|
|
40
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
42
|
-
"@aws-sdk/node-http-handler": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
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-sdk-ec2": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
40
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
42
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.357.0",
|
|
44
|
+
"@aws-sdk/types": "3.357.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.357.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
56
|
+
"@aws-sdk/util-waiter": "3.357.0",
|
|
57
57
|
"@smithy/protocol-http": "^1.0.1",
|
|
58
58
|
"@smithy/types": "^1.0.0",
|
|
59
59
|
"fast-xml-parser": "4.2.4",
|