@aws-sdk/client-ec2 3.750.0 → 3.757.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.
- package/dist-cjs/index.js +158 -23
- package/dist-es/models/models_1.js +9 -9
- package/dist-es/models/models_3.js +0 -5
- package/dist-es/models/models_4.js +5 -4
- package/dist-es/models/models_5.js +4 -0
- package/dist-es/protocols/Aws_ec2.js +139 -1
- package/dist-types/commands/CopyImageCommand.d.ts +1 -0
- package/dist-types/commands/CreateFleetCommand.d.ts +51 -0
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +3 -3
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +2 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -2
- package/dist-types/commands/DeleteCarrierGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFleetsCommand.d.ts +14 -12
- package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterImageCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFastSnapshotRestoresCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +1 -2
- package/dist-types/commands/DescribeFleetsCommand.d.ts +51 -0
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRegionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
- package/dist-types/commands/EnableAddressTransferCommand.d.ts +1 -2
- package/dist-types/commands/ModifyFleetCommand.d.ts +17 -0
- package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -1
- package/dist-types/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
- package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +1 -1
- package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
- package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +12 -0
- package/dist-types/models/models_1.d.ts +412 -191
- package/dist-types/models/models_2.d.ts +132 -55
- package/dist-types/models/models_3.d.ts +59 -244
- package/dist-types/models/models_4.d.ts +247 -106
- package/dist-types/models/models_5.d.ts +106 -101
- package/dist-types/models/models_6.d.ts +95 -91
- package/dist-types/models/models_7.d.ts +94 -109
- package/dist-types/models/models_8.d.ts +105 -1
- package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteCarrierGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeregisterImageCommand.d.ts +7 -2
- package/dist-types/ts3.4/commands/DescribeFastSnapshotRestoresCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +44 -41
- package/dist-types/ts3.4/models/models_2.d.ts +31 -17
- package/dist-types/ts3.4/models/models_3.d.ts +17 -31
- package/dist-types/ts3.4/models/models_4.d.ts +32 -29
- package/dist-types/ts3.4/models/models_5.d.ts +27 -26
- package/dist-types/ts3.4/models/models_6.d.ts +24 -26
- package/dist-types/ts3.4/models/models_7.d.ts +28 -26
- package/dist-types/ts3.4/models/models_8.d.ts +26 -1
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -10944,9 +10944,12 @@ var de_DeregisterImageCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
10944
10944
|
if (output.statusCode >= 300) {
|
|
10945
10945
|
return de_CommandError(output, context);
|
|
10946
10946
|
}
|
|
10947
|
-
await (0,
|
|
10947
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
10948
|
+
let contents = {};
|
|
10949
|
+
contents = de_DeregisterImageResult(data, context);
|
|
10948
10950
|
const response = {
|
|
10949
|
-
$metadata: deserializeMetadata(output)
|
|
10951
|
+
$metadata: deserializeMetadata(output),
|
|
10952
|
+
...contents
|
|
10950
10953
|
};
|
|
10951
10954
|
return response;
|
|
10952
10955
|
}, "de_DeregisterImageCommand");
|
|
@@ -18383,6 +18386,9 @@ var se_CopyImageRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
18383
18386
|
entries[loc] = value;
|
|
18384
18387
|
});
|
|
18385
18388
|
}
|
|
18389
|
+
if (input[_SCCDM] != null) {
|
|
18390
|
+
entries[_SCCDM] = input[_SCCDM];
|
|
18391
|
+
}
|
|
18386
18392
|
if (input[_DRr] != null) {
|
|
18387
18393
|
entries[_DRr] = input[_DRr];
|
|
18388
18394
|
}
|
|
@@ -27990,6 +27996,69 @@ var se_FilterList = /* @__PURE__ */ __name((input, context) => {
|
|
|
27990
27996
|
}
|
|
27991
27997
|
return entries;
|
|
27992
27998
|
}, "se_FilterList");
|
|
27999
|
+
var se_FleetBlockDeviceMappingRequest = /* @__PURE__ */ __name((input, context) => {
|
|
28000
|
+
const entries = {};
|
|
28001
|
+
if (input[_DN] != null) {
|
|
28002
|
+
entries[_DN] = input[_DN];
|
|
28003
|
+
}
|
|
28004
|
+
if (input[_VN] != null) {
|
|
28005
|
+
entries[_VN] = input[_VN];
|
|
28006
|
+
}
|
|
28007
|
+
if (input[_E] != null) {
|
|
28008
|
+
const memberEntries = se_FleetEbsBlockDeviceRequest(input[_E], context);
|
|
28009
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
28010
|
+
const loc = `Ebs.${key}`;
|
|
28011
|
+
entries[loc] = value;
|
|
28012
|
+
});
|
|
28013
|
+
}
|
|
28014
|
+
if (input[_ND] != null) {
|
|
28015
|
+
entries[_ND] = input[_ND];
|
|
28016
|
+
}
|
|
28017
|
+
return entries;
|
|
28018
|
+
}, "se_FleetBlockDeviceMappingRequest");
|
|
28019
|
+
var se_FleetBlockDeviceMappingRequestList = /* @__PURE__ */ __name((input, context) => {
|
|
28020
|
+
const entries = {};
|
|
28021
|
+
let counter = 1;
|
|
28022
|
+
for (const entry of input) {
|
|
28023
|
+
if (entry === null) {
|
|
28024
|
+
continue;
|
|
28025
|
+
}
|
|
28026
|
+
const memberEntries = se_FleetBlockDeviceMappingRequest(entry, context);
|
|
28027
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
28028
|
+
entries[`BlockDeviceMapping.${counter}.${key}`] = value;
|
|
28029
|
+
});
|
|
28030
|
+
counter++;
|
|
28031
|
+
}
|
|
28032
|
+
return entries;
|
|
28033
|
+
}, "se_FleetBlockDeviceMappingRequestList");
|
|
28034
|
+
var se_FleetEbsBlockDeviceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
28035
|
+
const entries = {};
|
|
28036
|
+
if (input[_Enc] != null) {
|
|
28037
|
+
entries[_Enc] = input[_Enc];
|
|
28038
|
+
}
|
|
28039
|
+
if (input[_DOT] != null) {
|
|
28040
|
+
entries[_DOT] = input[_DOT];
|
|
28041
|
+
}
|
|
28042
|
+
if (input[_Io] != null) {
|
|
28043
|
+
entries[_Io] = input[_Io];
|
|
28044
|
+
}
|
|
28045
|
+
if (input[_Th] != null) {
|
|
28046
|
+
entries[_Th] = input[_Th];
|
|
28047
|
+
}
|
|
28048
|
+
if (input[_KKI] != null) {
|
|
28049
|
+
entries[_KKI] = input[_KKI];
|
|
28050
|
+
}
|
|
28051
|
+
if (input[_SIn] != null) {
|
|
28052
|
+
entries[_SIn] = input[_SIn];
|
|
28053
|
+
}
|
|
28054
|
+
if (input[_VS] != null) {
|
|
28055
|
+
entries[_VS] = input[_VS];
|
|
28056
|
+
}
|
|
28057
|
+
if (input[_VT] != null) {
|
|
28058
|
+
entries[_VT] = input[_VT];
|
|
28059
|
+
}
|
|
28060
|
+
return entries;
|
|
28061
|
+
}, "se_FleetEbsBlockDeviceRequest");
|
|
27993
28062
|
var se_FleetIdSet = /* @__PURE__ */ __name((input, context) => {
|
|
27994
28063
|
const entries = {};
|
|
27995
28064
|
let counter = 1;
|
|
@@ -28077,6 +28146,13 @@ var se_FleetLaunchTemplateOverridesRequest = /* @__PURE__ */ __name((input, cont
|
|
|
28077
28146
|
entries[loc] = value;
|
|
28078
28147
|
});
|
|
28079
28148
|
}
|
|
28149
|
+
if (input[_BDM] != null) {
|
|
28150
|
+
const memberEntries = se_FleetBlockDeviceMappingRequestList(input[_BDM], context);
|
|
28151
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
28152
|
+
const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`;
|
|
28153
|
+
entries[loc] = value;
|
|
28154
|
+
});
|
|
28155
|
+
}
|
|
28080
28156
|
if (input[_IR] != null) {
|
|
28081
28157
|
const memberEntries = se_InstanceRequirementsRequest(input[_IR], context);
|
|
28082
28158
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -40242,6 +40318,27 @@ var de_BlockDeviceMappingList = /* @__PURE__ */ __name((output, context) => {
|
|
|
40242
40318
|
return de_BlockDeviceMapping(entry, context);
|
|
40243
40319
|
});
|
|
40244
40320
|
}, "de_BlockDeviceMappingList");
|
|
40321
|
+
var de_BlockDeviceMappingResponse = /* @__PURE__ */ __name((output, context) => {
|
|
40322
|
+
const contents = {};
|
|
40323
|
+
if (output[_dN] != null) {
|
|
40324
|
+
contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]);
|
|
40325
|
+
}
|
|
40326
|
+
if (output[_vN] != null) {
|
|
40327
|
+
contents[_VN] = (0, import_smithy_client.expectString)(output[_vN]);
|
|
40328
|
+
}
|
|
40329
|
+
if (output[_eb] != null) {
|
|
40330
|
+
contents[_E] = de_EbsBlockDeviceResponse(output[_eb], context);
|
|
40331
|
+
}
|
|
40332
|
+
if (output[_nD] != null) {
|
|
40333
|
+
contents[_ND] = (0, import_smithy_client.expectString)(output[_nD]);
|
|
40334
|
+
}
|
|
40335
|
+
return contents;
|
|
40336
|
+
}, "de_BlockDeviceMappingResponse");
|
|
40337
|
+
var de_BlockDeviceMappingResponseList = /* @__PURE__ */ __name((output, context) => {
|
|
40338
|
+
return (output || []).filter((e) => e != null).map((entry) => {
|
|
40339
|
+
return de_BlockDeviceMappingResponse(entry, context);
|
|
40340
|
+
});
|
|
40341
|
+
}, "de_BlockDeviceMappingResponseList");
|
|
40245
40342
|
var de_BlockPublicAccessStates = /* @__PURE__ */ __name((output, context) => {
|
|
40246
40343
|
const contents = {};
|
|
40247
40344
|
if (output[_iGBM] != null) {
|
|
@@ -43013,6 +43110,10 @@ var de_DeprovisionPublicIpv4PoolCidrResult = /* @__PURE__ */ __name((output, con
|
|
|
43013
43110
|
}
|
|
43014
43111
|
return contents;
|
|
43015
43112
|
}, "de_DeprovisionPublicIpv4PoolCidrResult");
|
|
43113
|
+
var de_DeregisterImageResult = /* @__PURE__ */ __name((output, context) => {
|
|
43114
|
+
const contents = {};
|
|
43115
|
+
return contents;
|
|
43116
|
+
}, "de_DeregisterImageResult");
|
|
43016
43117
|
var de_DeregisterInstanceEventNotificationAttributesResult = /* @__PURE__ */ __name((output, context) => {
|
|
43017
43118
|
const contents = {};
|
|
43018
43119
|
if (output[_iTA] != null) {
|
|
@@ -45620,6 +45721,34 @@ var de_EbsBlockDevice = /* @__PURE__ */ __name((output, context) => {
|
|
|
45620
45721
|
}
|
|
45621
45722
|
return contents;
|
|
45622
45723
|
}, "de_EbsBlockDevice");
|
|
45724
|
+
var de_EbsBlockDeviceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
45725
|
+
const contents = {};
|
|
45726
|
+
if (output[_enc] != null) {
|
|
45727
|
+
contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]);
|
|
45728
|
+
}
|
|
45729
|
+
if (output[_dOT] != null) {
|
|
45730
|
+
contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]);
|
|
45731
|
+
}
|
|
45732
|
+
if (output[_io] != null) {
|
|
45733
|
+
contents[_Io] = (0, import_smithy_client.strictParseInt32)(output[_io]);
|
|
45734
|
+
}
|
|
45735
|
+
if (output[_th] != null) {
|
|
45736
|
+
contents[_Th] = (0, import_smithy_client.strictParseInt32)(output[_th]);
|
|
45737
|
+
}
|
|
45738
|
+
if (output[_kKI] != null) {
|
|
45739
|
+
contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]);
|
|
45740
|
+
}
|
|
45741
|
+
if (output[_sIn] != null) {
|
|
45742
|
+
contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);
|
|
45743
|
+
}
|
|
45744
|
+
if (output[_vSo] != null) {
|
|
45745
|
+
contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]);
|
|
45746
|
+
}
|
|
45747
|
+
if (output[_vT] != null) {
|
|
45748
|
+
contents[_VT] = (0, import_smithy_client.expectString)(output[_vT]);
|
|
45749
|
+
}
|
|
45750
|
+
return contents;
|
|
45751
|
+
}, "de_EbsBlockDeviceResponse");
|
|
45623
45752
|
var de_EbsInfo = /* @__PURE__ */ __name((output, context) => {
|
|
45624
45753
|
const contents = {};
|
|
45625
45754
|
if (output[_eOS] != null) {
|
|
@@ -46847,6 +46976,11 @@ var de_FleetLaunchTemplateOverrides = /* @__PURE__ */ __name((output, context) =
|
|
|
46847
46976
|
if (output[_iIma] != null) {
|
|
46848
46977
|
contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);
|
|
46849
46978
|
}
|
|
46979
|
+
if (output.blockDeviceMappingSet === "") {
|
|
46980
|
+
contents[_BDM] = [];
|
|
46981
|
+
} else if (output[_bDMS] != null && output[_bDMS][_i] != null) {
|
|
46982
|
+
contents[_BDM] = de_BlockDeviceMappingResponseList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDMS][_i]), context);
|
|
46983
|
+
}
|
|
46850
46984
|
return contents;
|
|
46851
46985
|
}, "de_FleetLaunchTemplateOverrides");
|
|
46852
46986
|
var de_FleetLaunchTemplateOverridesList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -62620,6 +62754,7 @@ var _SC = "SubnetConfigurations";
|
|
|
62620
62754
|
var _SCA = "ServerCertificateArn";
|
|
62621
62755
|
var _SCAE = "SerialConsoleAccessEnabled";
|
|
62622
62756
|
var _SCB = "SourceCidrBlock";
|
|
62757
|
+
var _SCCDM = "SnapshotCopyCompletionDurationMinutes";
|
|
62623
62758
|
var _SCR = "SourceCapacityReservation";
|
|
62624
62759
|
var _SCRI = "SourceCapacityReservationId";
|
|
62625
62760
|
var _SCRIu = "SubnetCidrReservationId";
|
|
@@ -67702,6 +67837,15 @@ var FleetExcessCapacityTerminationPolicy = {
|
|
|
67702
67837
|
NO_TERMINATION: "no-termination",
|
|
67703
67838
|
TERMINATION: "termination"
|
|
67704
67839
|
};
|
|
67840
|
+
var VolumeType = {
|
|
67841
|
+
gp2: "gp2",
|
|
67842
|
+
gp3: "gp3",
|
|
67843
|
+
io1: "io1",
|
|
67844
|
+
io2: "io2",
|
|
67845
|
+
sc1: "sc1",
|
|
67846
|
+
st1: "st1",
|
|
67847
|
+
standard: "standard"
|
|
67848
|
+
};
|
|
67705
67849
|
var BareMetal = {
|
|
67706
67850
|
EXCLUDED: "excluded",
|
|
67707
67851
|
INCLUDED: "included",
|
|
@@ -67797,15 +67941,6 @@ var TrafficType = {
|
|
|
67797
67941
|
ALL: "ALL",
|
|
67798
67942
|
REJECT: "REJECT"
|
|
67799
67943
|
};
|
|
67800
|
-
var VolumeType = {
|
|
67801
|
-
gp2: "gp2",
|
|
67802
|
-
gp3: "gp3",
|
|
67803
|
-
io1: "io1",
|
|
67804
|
-
io2: "io2",
|
|
67805
|
-
sc1: "sc1",
|
|
67806
|
-
st1: "st1",
|
|
67807
|
-
standard: "standard"
|
|
67808
|
-
};
|
|
67809
67944
|
var Ec2InstanceConnectEndpointState = {
|
|
67810
67945
|
create_complete: "create-complete",
|
|
67811
67946
|
create_failed: "create-failed",
|
|
@@ -70490,11 +70625,6 @@ var FastSnapshotRestoreStateCode = {
|
|
|
70490
70625
|
enabling: "enabling",
|
|
70491
70626
|
optimizing: "optimizing"
|
|
70492
70627
|
};
|
|
70493
|
-
var FleetEventType = {
|
|
70494
|
-
FLEET_CHANGE: "fleet-change",
|
|
70495
|
-
INSTANCE_CHANGE: "instance-change",
|
|
70496
|
-
SERVICE_ERROR: "service-error"
|
|
70497
|
-
};
|
|
70498
70628
|
var DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
70499
70629
|
...obj,
|
|
70500
70630
|
...obj.VerifiedAccessTrustProvider && {
|
|
@@ -71527,6 +71657,11 @@ var DescribeImagesCommand = class extends import_smithy_client.Command.classBuil
|
|
|
71527
71657
|
|
|
71528
71658
|
// src/models/models_4.ts
|
|
71529
71659
|
|
|
71660
|
+
var FleetEventType = {
|
|
71661
|
+
FLEET_CHANGE: "fleet-change",
|
|
71662
|
+
INSTANCE_CHANGE: "instance-change",
|
|
71663
|
+
SERVICE_ERROR: "service-error"
|
|
71664
|
+
};
|
|
71530
71665
|
var FleetActivityStatus = {
|
|
71531
71666
|
ERROR: "error",
|
|
71532
71667
|
FULFILLED: "fulfilled",
|
|
@@ -71825,10 +71960,6 @@ var NetworkInterfaceAttribute = {
|
|
|
71825
71960
|
groupSet: "groupSet",
|
|
71826
71961
|
sourceDestCheck: "sourceDestCheck"
|
|
71827
71962
|
};
|
|
71828
|
-
var OfferingClassType = {
|
|
71829
|
-
CONVERTIBLE: "convertible",
|
|
71830
|
-
STANDARD: "standard"
|
|
71831
|
-
};
|
|
71832
71963
|
var SnapshotDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
71833
71964
|
...obj,
|
|
71834
71965
|
...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -72872,6 +73003,10 @@ var DescribeSpotFleetRequestHistoryCommand = class extends import_smithy_client.
|
|
|
72872
73003
|
|
|
72873
73004
|
// src/models/models_5.ts
|
|
72874
73005
|
|
|
73006
|
+
var OfferingClassType = {
|
|
73007
|
+
CONVERTIBLE: "convertible",
|
|
73008
|
+
STANDARD: "standard"
|
|
73009
|
+
};
|
|
72875
73010
|
var OfferingTypeValues = {
|
|
72876
73011
|
All_Upfront: "All Upfront",
|
|
72877
73012
|
Heavy_Utilization: "Heavy Utilization",
|
|
@@ -82278,6 +82413,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
82278
82413
|
Tenancy,
|
|
82279
82414
|
VpcState,
|
|
82280
82415
|
FleetExcessCapacityTerminationPolicy,
|
|
82416
|
+
VolumeType,
|
|
82281
82417
|
BareMetal,
|
|
82282
82418
|
BurstablePerformance,
|
|
82283
82419
|
CpuManufacturer,
|
|
@@ -82298,7 +82434,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
82298
82434
|
LogDestinationType,
|
|
82299
82435
|
FlowLogsResourceType,
|
|
82300
82436
|
TrafficType,
|
|
82301
|
-
VolumeType,
|
|
82302
82437
|
Ec2InstanceConnectEndpointState,
|
|
82303
82438
|
ContainerFormat,
|
|
82304
82439
|
DiskImageFormat,
|
|
@@ -82447,7 +82582,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
82447
82582
|
FastLaunchResourceType,
|
|
82448
82583
|
FastLaunchStateCode,
|
|
82449
82584
|
FastSnapshotRestoreStateCode,
|
|
82450
|
-
FleetEventType,
|
|
82451
82585
|
DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog,
|
|
82452
82586
|
DescribeBundleTasksResultFilterSensitiveLog,
|
|
82453
82587
|
DiskImageDescriptionFilterSensitiveLog,
|
|
@@ -82456,6 +82590,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
82456
82590
|
ImportVolumeTaskDetailsFilterSensitiveLog,
|
|
82457
82591
|
ConversionTaskFilterSensitiveLog,
|
|
82458
82592
|
DescribeConversionTasksResultFilterSensitiveLog,
|
|
82593
|
+
FleetEventType,
|
|
82459
82594
|
FleetActivityStatus,
|
|
82460
82595
|
FpgaImageAttributeName,
|
|
82461
82596
|
PermissionGroup,
|
|
@@ -82512,7 +82647,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
82512
82647
|
FindingsFound,
|
|
82513
82648
|
AnalysisStatus,
|
|
82514
82649
|
NetworkInterfaceAttribute,
|
|
82515
|
-
OfferingClassType,
|
|
82516
82650
|
SnapshotDetailFilterSensitiveLog,
|
|
82517
82651
|
ImportImageTaskFilterSensitiveLog,
|
|
82518
82652
|
DescribeImportImageTasksResultFilterSensitiveLog,
|
|
@@ -82520,6 +82654,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
82520
82654
|
ImportSnapshotTaskFilterSensitiveLog,
|
|
82521
82655
|
DescribeImportSnapshotTasksResultFilterSensitiveLog,
|
|
82522
82656
|
DescribeLaunchTemplateVersionsResultFilterSensitiveLog,
|
|
82657
|
+
OfferingClassType,
|
|
82523
82658
|
OfferingTypeValues,
|
|
82524
82659
|
RIProductDescription,
|
|
82525
82660
|
RecurringChargeFrequency,
|
|
@@ -1007,6 +1007,15 @@ export const FleetExcessCapacityTerminationPolicy = {
|
|
|
1007
1007
|
NO_TERMINATION: "no-termination",
|
|
1008
1008
|
TERMINATION: "termination",
|
|
1009
1009
|
};
|
|
1010
|
+
export const VolumeType = {
|
|
1011
|
+
gp2: "gp2",
|
|
1012
|
+
gp3: "gp3",
|
|
1013
|
+
io1: "io1",
|
|
1014
|
+
io2: "io2",
|
|
1015
|
+
sc1: "sc1",
|
|
1016
|
+
st1: "st1",
|
|
1017
|
+
standard: "standard",
|
|
1018
|
+
};
|
|
1010
1019
|
export const BareMetal = {
|
|
1011
1020
|
EXCLUDED: "excluded",
|
|
1012
1021
|
INCLUDED: "included",
|
|
@@ -1102,15 +1111,6 @@ export const TrafficType = {
|
|
|
1102
1111
|
ALL: "ALL",
|
|
1103
1112
|
REJECT: "REJECT",
|
|
1104
1113
|
};
|
|
1105
|
-
export const VolumeType = {
|
|
1106
|
-
gp2: "gp2",
|
|
1107
|
-
gp3: "gp3",
|
|
1108
|
-
io1: "io1",
|
|
1109
|
-
io2: "io2",
|
|
1110
|
-
sc1: "sc1",
|
|
1111
|
-
st1: "st1",
|
|
1112
|
-
standard: "standard",
|
|
1113
|
-
};
|
|
1114
1114
|
export const Ec2InstanceConnectEndpointState = {
|
|
1115
1115
|
create_complete: "create-complete",
|
|
1116
1116
|
create_failed: "create-failed",
|
|
@@ -146,11 +146,6 @@ export const FastSnapshotRestoreStateCode = {
|
|
|
146
146
|
enabling: "enabling",
|
|
147
147
|
optimizing: "optimizing",
|
|
148
148
|
};
|
|
149
|
-
export const FleetEventType = {
|
|
150
|
-
FLEET_CHANGE: "fleet-change",
|
|
151
|
-
INSTANCE_CHANGE: "instance-change",
|
|
152
|
-
SERVICE_ERROR: "service-error",
|
|
153
|
-
};
|
|
154
149
|
export const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = (obj) => ({
|
|
155
150
|
...obj,
|
|
156
151
|
...(obj.VerifiedAccessTrustProvider && {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { LaunchTemplateVersionFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export const FleetEventType = {
|
|
4
|
+
FLEET_CHANGE: "fleet-change",
|
|
5
|
+
INSTANCE_CHANGE: "instance-change",
|
|
6
|
+
SERVICE_ERROR: "service-error",
|
|
7
|
+
};
|
|
3
8
|
export const FleetActivityStatus = {
|
|
4
9
|
ERROR: "error",
|
|
5
10
|
FULFILLED: "fulfilled",
|
|
@@ -298,10 +303,6 @@ export const NetworkInterfaceAttribute = {
|
|
|
298
303
|
groupSet: "groupSet",
|
|
299
304
|
sourceDestCheck: "sourceDestCheck",
|
|
300
305
|
};
|
|
301
|
-
export const OfferingClassType = {
|
|
302
|
-
CONVERTIBLE: "convertible",
|
|
303
|
-
STANDARD: "standard",
|
|
304
|
-
};
|
|
305
306
|
export const SnapshotDetailFilterSensitiveLog = (obj) => ({
|
|
306
307
|
...obj,
|
|
307
308
|
...(obj.Url && { Url: SENSITIVE_STRING }),
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
4
|
+
export const OfferingClassType = {
|
|
5
|
+
CONVERTIBLE: "convertible",
|
|
6
|
+
STANDARD: "standard",
|
|
7
|
+
};
|
|
4
8
|
export const OfferingTypeValues = {
|
|
5
9
|
All_Upfront: "All Upfront",
|
|
6
10
|
Heavy_Utilization: "Heavy Utilization",
|
|
@@ -9424,9 +9424,12 @@ export const de_DeregisterImageCommand = async (output, context) => {
|
|
|
9424
9424
|
if (output.statusCode >= 300) {
|
|
9425
9425
|
return de_CommandError(output, context);
|
|
9426
9426
|
}
|
|
9427
|
-
await
|
|
9427
|
+
const data = await parseBody(output.body, context);
|
|
9428
|
+
let contents = {};
|
|
9429
|
+
contents = de_DeregisterImageResult(data, context);
|
|
9428
9430
|
const response = {
|
|
9429
9431
|
$metadata: deserializeMetadata(output),
|
|
9432
|
+
...contents,
|
|
9430
9433
|
};
|
|
9431
9434
|
return response;
|
|
9432
9435
|
};
|
|
@@ -16863,6 +16866,9 @@ const se_CopyImageRequest = (input, context) => {
|
|
|
16863
16866
|
entries[loc] = value;
|
|
16864
16867
|
});
|
|
16865
16868
|
}
|
|
16869
|
+
if (input[_SCCDM] != null) {
|
|
16870
|
+
entries[_SCCDM] = input[_SCCDM];
|
|
16871
|
+
}
|
|
16866
16872
|
if (input[_DRr] != null) {
|
|
16867
16873
|
entries[_DRr] = input[_DRr];
|
|
16868
16874
|
}
|
|
@@ -26470,6 +26476,69 @@ const se_FilterList = (input, context) => {
|
|
|
26470
26476
|
}
|
|
26471
26477
|
return entries;
|
|
26472
26478
|
};
|
|
26479
|
+
const se_FleetBlockDeviceMappingRequest = (input, context) => {
|
|
26480
|
+
const entries = {};
|
|
26481
|
+
if (input[_DN] != null) {
|
|
26482
|
+
entries[_DN] = input[_DN];
|
|
26483
|
+
}
|
|
26484
|
+
if (input[_VN] != null) {
|
|
26485
|
+
entries[_VN] = input[_VN];
|
|
26486
|
+
}
|
|
26487
|
+
if (input[_E] != null) {
|
|
26488
|
+
const memberEntries = se_FleetEbsBlockDeviceRequest(input[_E], context);
|
|
26489
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
26490
|
+
const loc = `Ebs.${key}`;
|
|
26491
|
+
entries[loc] = value;
|
|
26492
|
+
});
|
|
26493
|
+
}
|
|
26494
|
+
if (input[_ND] != null) {
|
|
26495
|
+
entries[_ND] = input[_ND];
|
|
26496
|
+
}
|
|
26497
|
+
return entries;
|
|
26498
|
+
};
|
|
26499
|
+
const se_FleetBlockDeviceMappingRequestList = (input, context) => {
|
|
26500
|
+
const entries = {};
|
|
26501
|
+
let counter = 1;
|
|
26502
|
+
for (const entry of input) {
|
|
26503
|
+
if (entry === null) {
|
|
26504
|
+
continue;
|
|
26505
|
+
}
|
|
26506
|
+
const memberEntries = se_FleetBlockDeviceMappingRequest(entry, context);
|
|
26507
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
26508
|
+
entries[`BlockDeviceMapping.${counter}.${key}`] = value;
|
|
26509
|
+
});
|
|
26510
|
+
counter++;
|
|
26511
|
+
}
|
|
26512
|
+
return entries;
|
|
26513
|
+
};
|
|
26514
|
+
const se_FleetEbsBlockDeviceRequest = (input, context) => {
|
|
26515
|
+
const entries = {};
|
|
26516
|
+
if (input[_Enc] != null) {
|
|
26517
|
+
entries[_Enc] = input[_Enc];
|
|
26518
|
+
}
|
|
26519
|
+
if (input[_DOT] != null) {
|
|
26520
|
+
entries[_DOT] = input[_DOT];
|
|
26521
|
+
}
|
|
26522
|
+
if (input[_Io] != null) {
|
|
26523
|
+
entries[_Io] = input[_Io];
|
|
26524
|
+
}
|
|
26525
|
+
if (input[_Th] != null) {
|
|
26526
|
+
entries[_Th] = input[_Th];
|
|
26527
|
+
}
|
|
26528
|
+
if (input[_KKI] != null) {
|
|
26529
|
+
entries[_KKI] = input[_KKI];
|
|
26530
|
+
}
|
|
26531
|
+
if (input[_SIn] != null) {
|
|
26532
|
+
entries[_SIn] = input[_SIn];
|
|
26533
|
+
}
|
|
26534
|
+
if (input[_VS] != null) {
|
|
26535
|
+
entries[_VS] = input[_VS];
|
|
26536
|
+
}
|
|
26537
|
+
if (input[_VT] != null) {
|
|
26538
|
+
entries[_VT] = input[_VT];
|
|
26539
|
+
}
|
|
26540
|
+
return entries;
|
|
26541
|
+
};
|
|
26473
26542
|
const se_FleetIdSet = (input, context) => {
|
|
26474
26543
|
const entries = {};
|
|
26475
26544
|
let counter = 1;
|
|
@@ -26557,6 +26626,13 @@ const se_FleetLaunchTemplateOverridesRequest = (input, context) => {
|
|
|
26557
26626
|
entries[loc] = value;
|
|
26558
26627
|
});
|
|
26559
26628
|
}
|
|
26629
|
+
if (input[_BDM] != null) {
|
|
26630
|
+
const memberEntries = se_FleetBlockDeviceMappingRequestList(input[_BDM], context);
|
|
26631
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
26632
|
+
const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`;
|
|
26633
|
+
entries[loc] = value;
|
|
26634
|
+
});
|
|
26635
|
+
}
|
|
26560
26636
|
if (input[_IR] != null) {
|
|
26561
26637
|
const memberEntries = se_InstanceRequirementsRequest(input[_IR], context);
|
|
26562
26638
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -38809,6 +38885,29 @@ const de_BlockDeviceMappingList = (output, context) => {
|
|
|
38809
38885
|
return de_BlockDeviceMapping(entry, context);
|
|
38810
38886
|
});
|
|
38811
38887
|
};
|
|
38888
|
+
const de_BlockDeviceMappingResponse = (output, context) => {
|
|
38889
|
+
const contents = {};
|
|
38890
|
+
if (output[_dN] != null) {
|
|
38891
|
+
contents[_DN] = __expectString(output[_dN]);
|
|
38892
|
+
}
|
|
38893
|
+
if (output[_vN] != null) {
|
|
38894
|
+
contents[_VN] = __expectString(output[_vN]);
|
|
38895
|
+
}
|
|
38896
|
+
if (output[_eb] != null) {
|
|
38897
|
+
contents[_E] = de_EbsBlockDeviceResponse(output[_eb], context);
|
|
38898
|
+
}
|
|
38899
|
+
if (output[_nD] != null) {
|
|
38900
|
+
contents[_ND] = __expectString(output[_nD]);
|
|
38901
|
+
}
|
|
38902
|
+
return contents;
|
|
38903
|
+
};
|
|
38904
|
+
const de_BlockDeviceMappingResponseList = (output, context) => {
|
|
38905
|
+
return (output || [])
|
|
38906
|
+
.filter((e) => e != null)
|
|
38907
|
+
.map((entry) => {
|
|
38908
|
+
return de_BlockDeviceMappingResponse(entry, context);
|
|
38909
|
+
});
|
|
38910
|
+
};
|
|
38812
38911
|
const de_BlockPublicAccessStates = (output, context) => {
|
|
38813
38912
|
const contents = {};
|
|
38814
38913
|
if (output[_iGBM] != null) {
|
|
@@ -41703,6 +41802,10 @@ const de_DeprovisionPublicIpv4PoolCidrResult = (output, context) => {
|
|
|
41703
41802
|
}
|
|
41704
41803
|
return contents;
|
|
41705
41804
|
};
|
|
41805
|
+
const de_DeregisterImageResult = (output, context) => {
|
|
41806
|
+
const contents = {};
|
|
41807
|
+
return contents;
|
|
41808
|
+
};
|
|
41706
41809
|
const de_DeregisterInstanceEventNotificationAttributesResult = (output, context) => {
|
|
41707
41810
|
const contents = {};
|
|
41708
41811
|
if (output[_iTA] != null) {
|
|
@@ -44487,6 +44590,34 @@ const de_EbsBlockDevice = (output, context) => {
|
|
|
44487
44590
|
}
|
|
44488
44591
|
return contents;
|
|
44489
44592
|
};
|
|
44593
|
+
const de_EbsBlockDeviceResponse = (output, context) => {
|
|
44594
|
+
const contents = {};
|
|
44595
|
+
if (output[_enc] != null) {
|
|
44596
|
+
contents[_Enc] = __parseBoolean(output[_enc]);
|
|
44597
|
+
}
|
|
44598
|
+
if (output[_dOT] != null) {
|
|
44599
|
+
contents[_DOT] = __parseBoolean(output[_dOT]);
|
|
44600
|
+
}
|
|
44601
|
+
if (output[_io] != null) {
|
|
44602
|
+
contents[_Io] = __strictParseInt32(output[_io]);
|
|
44603
|
+
}
|
|
44604
|
+
if (output[_th] != null) {
|
|
44605
|
+
contents[_Th] = __strictParseInt32(output[_th]);
|
|
44606
|
+
}
|
|
44607
|
+
if (output[_kKI] != null) {
|
|
44608
|
+
contents[_KKI] = __expectString(output[_kKI]);
|
|
44609
|
+
}
|
|
44610
|
+
if (output[_sIn] != null) {
|
|
44611
|
+
contents[_SIn] = __expectString(output[_sIn]);
|
|
44612
|
+
}
|
|
44613
|
+
if (output[_vSo] != null) {
|
|
44614
|
+
contents[_VS] = __strictParseInt32(output[_vSo]);
|
|
44615
|
+
}
|
|
44616
|
+
if (output[_vT] != null) {
|
|
44617
|
+
contents[_VT] = __expectString(output[_vT]);
|
|
44618
|
+
}
|
|
44619
|
+
return contents;
|
|
44620
|
+
};
|
|
44490
44621
|
const de_EbsInfo = (output, context) => {
|
|
44491
44622
|
const contents = {};
|
|
44492
44623
|
if (output[_eOS] != null) {
|
|
@@ -45785,6 +45916,12 @@ const de_FleetLaunchTemplateOverrides = (output, context) => {
|
|
|
45785
45916
|
if (output[_iIma] != null) {
|
|
45786
45917
|
contents[_IIma] = __expectString(output[_iIma]);
|
|
45787
45918
|
}
|
|
45919
|
+
if (output.blockDeviceMappingSet === "") {
|
|
45920
|
+
contents[_BDM] = [];
|
|
45921
|
+
}
|
|
45922
|
+
else if (output[_bDMS] != null && output[_bDMS][_i] != null) {
|
|
45923
|
+
contents[_BDM] = de_BlockDeviceMappingResponseList(__getArrayIfSingleItem(output[_bDMS][_i]), context);
|
|
45924
|
+
}
|
|
45788
45925
|
return contents;
|
|
45789
45926
|
};
|
|
45790
45927
|
const de_FleetLaunchTemplateOverridesList = (output, context) => {
|
|
@@ -62556,6 +62693,7 @@ const _SC = "SubnetConfigurations";
|
|
|
62556
62693
|
const _SCA = "ServerCertificateArn";
|
|
62557
62694
|
const _SCAE = "SerialConsoleAccessEnabled";
|
|
62558
62695
|
const _SCB = "SourceCidrBlock";
|
|
62696
|
+
const _SCCDM = "SnapshotCopyCompletionDurationMinutes";
|
|
62559
62697
|
const _SCR = "SourceCapacityReservation";
|
|
62560
62698
|
const _SCRI = "SourceCapacityReservationId";
|
|
62561
62699
|
const _SCRIu = "SubnetCidrReservationId";
|
|
@@ -93,6 +93,23 @@ declare const CreateFleetCommand_base: {
|
|
|
93
93
|
* GroupId: "STRING_VALUE",
|
|
94
94
|
* AvailabilityZone: "STRING_VALUE",
|
|
95
95
|
* },
|
|
96
|
+
* BlockDeviceMappings: [ // FleetBlockDeviceMappingRequestList
|
|
97
|
+
* { // FleetBlockDeviceMappingRequest
|
|
98
|
+
* DeviceName: "STRING_VALUE",
|
|
99
|
+
* VirtualName: "STRING_VALUE",
|
|
100
|
+
* Ebs: { // FleetEbsBlockDeviceRequest
|
|
101
|
+
* Encrypted: true || false,
|
|
102
|
+
* DeleteOnTermination: true || false,
|
|
103
|
+
* Iops: Number("int"),
|
|
104
|
+
* Throughput: Number("int"),
|
|
105
|
+
* KmsKeyId: "STRING_VALUE",
|
|
106
|
+
* SnapshotId: "STRING_VALUE",
|
|
107
|
+
* VolumeSize: Number("int"),
|
|
108
|
+
* VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
|
|
109
|
+
* },
|
|
110
|
+
* NoDevice: "STRING_VALUE",
|
|
111
|
+
* },
|
|
112
|
+
* ],
|
|
96
113
|
* InstanceRequirements: { // InstanceRequirementsRequest
|
|
97
114
|
* VCpuCount: { // VCpuCountRangeRequest
|
|
98
115
|
* Min: Number("int"), // required
|
|
@@ -302,6 +319,23 @@ declare const CreateFleetCommand_base: {
|
|
|
302
319
|
* // },
|
|
303
320
|
* // },
|
|
304
321
|
* // ImageId: "STRING_VALUE",
|
|
322
|
+
* // BlockDeviceMappings: [ // BlockDeviceMappingResponseList
|
|
323
|
+
* // { // BlockDeviceMappingResponse
|
|
324
|
+
* // DeviceName: "STRING_VALUE",
|
|
325
|
+
* // VirtualName: "STRING_VALUE",
|
|
326
|
+
* // Ebs: { // EbsBlockDeviceResponse
|
|
327
|
+
* // Encrypted: true || false,
|
|
328
|
+
* // DeleteOnTermination: true || false,
|
|
329
|
+
* // Iops: Number("int"),
|
|
330
|
+
* // Throughput: Number("int"),
|
|
331
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
332
|
+
* // SnapshotId: "STRING_VALUE",
|
|
333
|
+
* // VolumeSize: Number("int"),
|
|
334
|
+
* // VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
|
|
335
|
+
* // },
|
|
336
|
+
* // NoDevice: "STRING_VALUE",
|
|
337
|
+
* // },
|
|
338
|
+
* // ],
|
|
305
339
|
* // },
|
|
306
340
|
* // },
|
|
307
341
|
* // Lifecycle: "spot" || "on-demand",
|
|
@@ -406,6 +440,23 @@ declare const CreateFleetCommand_base: {
|
|
|
406
440
|
* // },
|
|
407
441
|
* // },
|
|
408
442
|
* // ImageId: "STRING_VALUE",
|
|
443
|
+
* // BlockDeviceMappings: [
|
|
444
|
+
* // {
|
|
445
|
+
* // DeviceName: "STRING_VALUE",
|
|
446
|
+
* // VirtualName: "STRING_VALUE",
|
|
447
|
+
* // Ebs: {
|
|
448
|
+
* // Encrypted: true || false,
|
|
449
|
+
* // DeleteOnTermination: true || false,
|
|
450
|
+
* // Iops: Number("int"),
|
|
451
|
+
* // Throughput: Number("int"),
|
|
452
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
453
|
+
* // SnapshotId: "STRING_VALUE",
|
|
454
|
+
* // VolumeSize: Number("int"),
|
|
455
|
+
* // VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
|
|
456
|
+
* // },
|
|
457
|
+
* // NoDevice: "STRING_VALUE",
|
|
458
|
+
* // },
|
|
459
|
+
* // ],
|
|
409
460
|
* // },
|
|
410
461
|
* // },
|
|
411
462
|
* // Lifecycle: "spot" || "on-demand",
|