@aws-sdk/client-ec2 3.204.0 → 3.206.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/commands/CreateSubnetCidrReservationCommand.js +2 -1
- package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +1 -2
- package/dist-cjs/commands/DescribeLaunchTemplatesCommand.js +3 -3
- package/dist-cjs/commands/DisassociateTransitGatewayRouteTableCommand.js +2 -1
- package/dist-cjs/commands/DisassociateTrunkInterfaceCommand.js +1 -2
- package/dist-cjs/commands/ModifyVpcPeeringConnectionOptionsCommand.js +1 -2
- package/dist-cjs/models/models_1.js +13 -13
- package/dist-cjs/models/models_2.js +14 -14
- package/dist-cjs/models/models_3.js +13 -13
- package/dist-cjs/models/models_4.js +14 -14
- package/dist-cjs/models/models_5.js +14 -14
- package/dist-cjs/models/models_6.js +12 -4
- package/dist-cjs/protocols/Aws_ec2.js +114 -0
- package/dist-es/commands/CreateSubnetCidrReservationCommand.js +2 -1
- package/dist-es/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +1 -2
- package/dist-es/commands/DescribeLaunchTemplatesCommand.js +1 -1
- package/dist-es/commands/DisassociateTransitGatewayRouteTableCommand.js +2 -1
- package/dist-es/commands/DisassociateTrunkInterfaceCommand.js +1 -2
- package/dist-es/commands/ModifyVpcPeeringConnectionOptionsCommand.js +1 -2
- package/dist-es/models/models_1.js +6 -6
- package/dist-es/models/models_2.js +6 -6
- package/dist-es/models/models_3.js +6 -6
- package/dist-es/models/models_4.js +6 -6
- package/dist-es/models/models_5.js +6 -6
- package/dist-es/models/models_6.js +6 -0
- package/dist-es/protocols/Aws_ec2.js +114 -0
- package/dist-types/EC2.d.ts +51 -44
- package/dist-types/commands/AllocateHostsCommand.d.ts +3 -3
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +5 -5
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +3 -2
- package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -1
- package/dist-types/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -2
- package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -2
- package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +5 -5
- package/dist-types/commands/GetInstanceUefiDataCommand.d.ts +6 -5
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +4 -3
- package/dist-types/commands/ModifyHostsCommand.d.ts +8 -7
- package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +2 -2
- package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -2
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -0
- package/dist-types/commands/RunInstancesCommand.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +24 -26
- package/dist-types/models/models_1.d.ts +201 -94
- package/dist-types/models/models_2.d.ts +58 -49
- package/dist-types/models/models_3.d.ts +95 -120
- package/dist-types/models/models_4.d.ts +96 -57
- package/dist-types/models/models_5.d.ts +75 -86
- package/dist-types/models/models_6.d.ts +77 -20
- package/dist-types/ts3.4/commands/CreateSubnetCidrReservationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_1.d.ts +21 -18
- package/dist-types/ts3.4/models/models_2.d.ts +19 -18
- package/dist-types/ts3.4/models/models_3.d.ts +18 -24
- package/dist-types/ts3.4/models/models_4.d.ts +19 -15
- package/dist-types/ts3.4/models/models_5.d.ts +17 -18
- package/dist-types/ts3.4/models/models_6.d.ts +18 -1
- package/package.json +1 -1
|
@@ -21608,6 +21608,18 @@ const serializeAws_ec2AllocationIds = (input, context) => {
|
|
|
21608
21608
|
}
|
|
21609
21609
|
return entries;
|
|
21610
21610
|
};
|
|
21611
|
+
const serializeAws_ec2AllowedInstanceTypeSet = (input, context) => {
|
|
21612
|
+
const entries = {};
|
|
21613
|
+
let counter = 1;
|
|
21614
|
+
for (const entry of input) {
|
|
21615
|
+
if (entry === null) {
|
|
21616
|
+
continue;
|
|
21617
|
+
}
|
|
21618
|
+
entries[`Item.${counter}`] = entry;
|
|
21619
|
+
counter++;
|
|
21620
|
+
}
|
|
21621
|
+
return entries;
|
|
21622
|
+
};
|
|
21611
21623
|
const serializeAws_ec2ApplySecurityGroupsToClientVpnTargetNetworkRequest = (input, context) => {
|
|
21612
21624
|
const entries = {};
|
|
21613
21625
|
if (input.ClientVpnEndpointId != null) {
|
|
@@ -33584,6 +33596,23 @@ const serializeAws_ec2InstanceRequirements = (input, context) => {
|
|
|
33584
33596
|
entries[loc] = value;
|
|
33585
33597
|
});
|
|
33586
33598
|
}
|
|
33599
|
+
if (input.NetworkBandwidthGbps != null) {
|
|
33600
|
+
const memberEntries = serializeAws_ec2NetworkBandwidthGbps(input.NetworkBandwidthGbps, context);
|
|
33601
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
33602
|
+
const loc = `NetworkBandwidthGbps.${key}`;
|
|
33603
|
+
entries[loc] = value;
|
|
33604
|
+
});
|
|
33605
|
+
}
|
|
33606
|
+
if (input.AllowedInstanceTypes != null) {
|
|
33607
|
+
const memberEntries = serializeAws_ec2AllowedInstanceTypeSet(input.AllowedInstanceTypes, context);
|
|
33608
|
+
if (input.AllowedInstanceTypes?.length === 0) {
|
|
33609
|
+
entries.AllowedInstanceTypeSet = [];
|
|
33610
|
+
}
|
|
33611
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
33612
|
+
const loc = `AllowedInstanceTypeSet.${key.substring(key.indexOf(".") + 1)}`;
|
|
33613
|
+
entries[loc] = value;
|
|
33614
|
+
});
|
|
33615
|
+
}
|
|
33587
33616
|
return entries;
|
|
33588
33617
|
};
|
|
33589
33618
|
const serializeAws_ec2InstanceRequirementsRequest = (input, context) => {
|
|
@@ -33732,6 +33761,23 @@ const serializeAws_ec2InstanceRequirementsRequest = (input, context) => {
|
|
|
33732
33761
|
entries[loc] = value;
|
|
33733
33762
|
});
|
|
33734
33763
|
}
|
|
33764
|
+
if (input.NetworkBandwidthGbps != null) {
|
|
33765
|
+
const memberEntries = serializeAws_ec2NetworkBandwidthGbpsRequest(input.NetworkBandwidthGbps, context);
|
|
33766
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
33767
|
+
const loc = `NetworkBandwidthGbps.${key}`;
|
|
33768
|
+
entries[loc] = value;
|
|
33769
|
+
});
|
|
33770
|
+
}
|
|
33771
|
+
if (input.AllowedInstanceTypes != null) {
|
|
33772
|
+
const memberEntries = serializeAws_ec2AllowedInstanceTypeSet(input.AllowedInstanceTypes, context);
|
|
33773
|
+
if (input.AllowedInstanceTypes?.length === 0) {
|
|
33774
|
+
entries.AllowedInstanceType = [];
|
|
33775
|
+
}
|
|
33776
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
33777
|
+
const loc = `AllowedInstanceType.${key.substring(key.indexOf(".") + 1)}`;
|
|
33778
|
+
entries[loc] = value;
|
|
33779
|
+
});
|
|
33780
|
+
}
|
|
33735
33781
|
return entries;
|
|
33736
33782
|
};
|
|
33737
33783
|
const serializeAws_ec2InstanceRequirementsWithMetadataRequest = (input, context) => {
|
|
@@ -34600,6 +34646,9 @@ const serializeAws_ec2LaunchTemplatePlacementRequest = (input, context) => {
|
|
|
34600
34646
|
if (input.PartitionNumber != null) {
|
|
34601
34647
|
entries["PartitionNumber"] = input.PartitionNumber;
|
|
34602
34648
|
}
|
|
34649
|
+
if (input.GroupId != null) {
|
|
34650
|
+
entries["GroupId"] = input.GroupId;
|
|
34651
|
+
}
|
|
34603
34652
|
return entries;
|
|
34604
34653
|
};
|
|
34605
34654
|
const serializeAws_ec2LaunchTemplatePrivateDnsNameOptionsRequest = (input, context) => {
|
|
@@ -35584,6 +35633,9 @@ const serializeAws_ec2ModifyInstancePlacementRequest = (input, context) => {
|
|
|
35584
35633
|
if (input.HostResourceGroupArn != null) {
|
|
35585
35634
|
entries["HostResourceGroupArn"] = input.HostResourceGroupArn;
|
|
35586
35635
|
}
|
|
35636
|
+
if (input.GroupId != null) {
|
|
35637
|
+
entries["GroupId"] = input.GroupId;
|
|
35638
|
+
}
|
|
35587
35639
|
return entries;
|
|
35588
35640
|
};
|
|
35589
35641
|
const serializeAws_ec2ModifyIpamPoolRequest = (input, context) => {
|
|
@@ -36895,6 +36947,26 @@ const serializeAws_ec2NetworkAclIdStringList = (input, context) => {
|
|
|
36895
36947
|
}
|
|
36896
36948
|
return entries;
|
|
36897
36949
|
};
|
|
36950
|
+
const serializeAws_ec2NetworkBandwidthGbps = (input, context) => {
|
|
36951
|
+
const entries = {};
|
|
36952
|
+
if (input.Min != null) {
|
|
36953
|
+
entries["Min"] = __serializeFloat(input.Min);
|
|
36954
|
+
}
|
|
36955
|
+
if (input.Max != null) {
|
|
36956
|
+
entries["Max"] = __serializeFloat(input.Max);
|
|
36957
|
+
}
|
|
36958
|
+
return entries;
|
|
36959
|
+
};
|
|
36960
|
+
const serializeAws_ec2NetworkBandwidthGbpsRequest = (input, context) => {
|
|
36961
|
+
const entries = {};
|
|
36962
|
+
if (input.Min != null) {
|
|
36963
|
+
entries["Min"] = __serializeFloat(input.Min);
|
|
36964
|
+
}
|
|
36965
|
+
if (input.Max != null) {
|
|
36966
|
+
entries["Max"] = __serializeFloat(input.Max);
|
|
36967
|
+
}
|
|
36968
|
+
return entries;
|
|
36969
|
+
};
|
|
36898
36970
|
const serializeAws_ec2NetworkInsightsAccessScopeAnalysisIdList = (input, context) => {
|
|
36899
36971
|
const entries = {};
|
|
36900
36972
|
let counter = 1;
|
|
@@ -37366,6 +37438,9 @@ const serializeAws_ec2Placement = (input, context) => {
|
|
|
37366
37438
|
if (input.HostResourceGroupArn != null) {
|
|
37367
37439
|
entries["HostResourceGroupArn"] = input.HostResourceGroupArn;
|
|
37368
37440
|
}
|
|
37441
|
+
if (input.GroupId != null) {
|
|
37442
|
+
entries["GroupId"] = input.GroupId;
|
|
37443
|
+
}
|
|
37369
37444
|
return entries;
|
|
37370
37445
|
};
|
|
37371
37446
|
const serializeAws_ec2PlacementGroupIdStringList = (input, context) => {
|
|
@@ -42254,6 +42329,13 @@ const deserializeAws_ec2AllocateIpamPoolCidrResult = (output, context) => {
|
|
|
42254
42329
|
}
|
|
42255
42330
|
return contents;
|
|
42256
42331
|
};
|
|
42332
|
+
const deserializeAws_ec2AllowedInstanceTypeSet = (output, context) => {
|
|
42333
|
+
return (output || [])
|
|
42334
|
+
.filter((e) => e != null)
|
|
42335
|
+
.map((entry) => {
|
|
42336
|
+
return __expectString(entry);
|
|
42337
|
+
});
|
|
42338
|
+
};
|
|
42257
42339
|
const deserializeAws_ec2AllowedPrincipal = (output, context) => {
|
|
42258
42340
|
const contents = {
|
|
42259
42341
|
PrincipalType: undefined,
|
|
@@ -53301,6 +53383,8 @@ const deserializeAws_ec2InstanceRequirements = (output, context) => {
|
|
|
53301
53383
|
AcceleratorManufacturers: undefined,
|
|
53302
53384
|
AcceleratorNames: undefined,
|
|
53303
53385
|
AcceleratorTotalMemoryMiB: undefined,
|
|
53386
|
+
NetworkBandwidthGbps: undefined,
|
|
53387
|
+
AllowedInstanceTypes: undefined,
|
|
53304
53388
|
};
|
|
53305
53389
|
if (output["vCpuCount"] !== undefined) {
|
|
53306
53390
|
contents.VCpuCount = deserializeAws_ec2VCpuCountRange(output["vCpuCount"], context);
|
|
@@ -53388,6 +53472,15 @@ const deserializeAws_ec2InstanceRequirements = (output, context) => {
|
|
|
53388
53472
|
if (output["acceleratorTotalMemoryMiB"] !== undefined) {
|
|
53389
53473
|
contents.AcceleratorTotalMemoryMiB = deserializeAws_ec2AcceleratorTotalMemoryMiB(output["acceleratorTotalMemoryMiB"], context);
|
|
53390
53474
|
}
|
|
53475
|
+
if (output["networkBandwidthGbps"] !== undefined) {
|
|
53476
|
+
contents.NetworkBandwidthGbps = deserializeAws_ec2NetworkBandwidthGbps(output["networkBandwidthGbps"], context);
|
|
53477
|
+
}
|
|
53478
|
+
if (output.allowedInstanceTypeSet === "") {
|
|
53479
|
+
contents.AllowedInstanceTypes = [];
|
|
53480
|
+
}
|
|
53481
|
+
else if (output["allowedInstanceTypeSet"] !== undefined && output["allowedInstanceTypeSet"]["item"] !== undefined) {
|
|
53482
|
+
contents.AllowedInstanceTypes = deserializeAws_ec2AllowedInstanceTypeSet(__getArrayIfSingleItem(output["allowedInstanceTypeSet"]["item"]), context);
|
|
53483
|
+
}
|
|
53391
53484
|
return contents;
|
|
53392
53485
|
};
|
|
53393
53486
|
const deserializeAws_ec2InstanceState = (output, context) => {
|
|
@@ -55214,6 +55307,7 @@ const deserializeAws_ec2LaunchTemplatePlacement = (output, context) => {
|
|
|
55214
55307
|
SpreadDomain: undefined,
|
|
55215
55308
|
HostResourceGroupArn: undefined,
|
|
55216
55309
|
PartitionNumber: undefined,
|
|
55310
|
+
GroupId: undefined,
|
|
55217
55311
|
};
|
|
55218
55312
|
if (output["availabilityZone"] !== undefined) {
|
|
55219
55313
|
contents.AvailabilityZone = __expectString(output["availabilityZone"]);
|
|
@@ -55239,6 +55333,9 @@ const deserializeAws_ec2LaunchTemplatePlacement = (output, context) => {
|
|
|
55239
55333
|
if (output["partitionNumber"] !== undefined) {
|
|
55240
55334
|
contents.PartitionNumber = __strictParseInt32(output["partitionNumber"]);
|
|
55241
55335
|
}
|
|
55336
|
+
if (output["groupId"] !== undefined) {
|
|
55337
|
+
contents.GroupId = __expectString(output["groupId"]);
|
|
55338
|
+
}
|
|
55242
55339
|
return contents;
|
|
55243
55340
|
};
|
|
55244
55341
|
const deserializeAws_ec2LaunchTemplatePrivateDnsNameOptions = (output, context) => {
|
|
@@ -56615,6 +56712,19 @@ const deserializeAws_ec2NetworkAclList = (output, context) => {
|
|
|
56615
56712
|
return deserializeAws_ec2NetworkAcl(entry, context);
|
|
56616
56713
|
});
|
|
56617
56714
|
};
|
|
56715
|
+
const deserializeAws_ec2NetworkBandwidthGbps = (output, context) => {
|
|
56716
|
+
const contents = {
|
|
56717
|
+
Min: undefined,
|
|
56718
|
+
Max: undefined,
|
|
56719
|
+
};
|
|
56720
|
+
if (output["min"] !== undefined) {
|
|
56721
|
+
contents.Min = __strictParseFloat(output["min"]);
|
|
56722
|
+
}
|
|
56723
|
+
if (output["max"] !== undefined) {
|
|
56724
|
+
contents.Max = __strictParseFloat(output["max"]);
|
|
56725
|
+
}
|
|
56726
|
+
return contents;
|
|
56727
|
+
};
|
|
56618
56728
|
const deserializeAws_ec2NetworkCardInfo = (output, context) => {
|
|
56619
56729
|
const contents = {
|
|
56620
56730
|
NetworkCardIndex: undefined,
|
|
@@ -57632,6 +57742,7 @@ const deserializeAws_ec2Placement = (output, context) => {
|
|
|
57632
57742
|
Tenancy: undefined,
|
|
57633
57743
|
SpreadDomain: undefined,
|
|
57634
57744
|
HostResourceGroupArn: undefined,
|
|
57745
|
+
GroupId: undefined,
|
|
57635
57746
|
};
|
|
57636
57747
|
if (output["availabilityZone"] !== undefined) {
|
|
57637
57748
|
contents.AvailabilityZone = __expectString(output["availabilityZone"]);
|
|
@@ -57657,6 +57768,9 @@ const deserializeAws_ec2Placement = (output, context) => {
|
|
|
57657
57768
|
if (output["hostResourceGroupArn"] !== undefined) {
|
|
57658
57769
|
contents.HostResourceGroupArn = __expectString(output["hostResourceGroupArn"]);
|
|
57659
57770
|
}
|
|
57771
|
+
if (output["groupId"] !== undefined) {
|
|
57772
|
+
contents.GroupId = __expectString(output["groupId"]);
|
|
57773
|
+
}
|
|
57660
57774
|
return contents;
|
|
57661
57775
|
};
|
|
57662
57776
|
const deserializeAws_ec2PlacementGroup = (output, context) => {
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -665,9 +665,9 @@ export declare class EC2 extends EC2Client {
|
|
|
665
665
|
allocateAddress(args: AllocateAddressCommandInput, cb: (err: any, data?: AllocateAddressCommandOutput) => void): void;
|
|
666
666
|
allocateAddress(args: AllocateAddressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AllocateAddressCommandOutput) => void): void;
|
|
667
667
|
/**
|
|
668
|
-
* <p>Allocates a Dedicated Host to your account. At a minimum, specify the supported
|
|
669
|
-
*
|
|
670
|
-
*
|
|
668
|
+
* <p>Allocates a Dedicated Host to your account. At a minimum, specify the supported
|
|
669
|
+
* instance type or instance family, the Availability Zone in which to allocate the host,
|
|
670
|
+
* and the number of hosts to allocate.</p>
|
|
671
671
|
*/
|
|
672
672
|
allocateHosts(args: AllocateHostsCommandInput, options?: __HttpHandlerOptions): Promise<AllocateHostsCommandOutput>;
|
|
673
673
|
allocateHosts(args: AllocateHostsCommandInput, cb: (err: any, data?: AllocateHostsCommandOutput) => void): void;
|
|
@@ -1502,11 +1502,11 @@ export declare class EC2 extends EC2Client {
|
|
|
1502
1502
|
createKeyPair(args: CreateKeyPairCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKeyPairCommandOutput) => void): void;
|
|
1503
1503
|
/**
|
|
1504
1504
|
* <p>Creates a launch template.</p>
|
|
1505
|
-
* <p>A launch template contains the parameters to launch an
|
|
1506
|
-
* instance
|
|
1507
|
-
*
|
|
1508
|
-
*
|
|
1509
|
-
*
|
|
1505
|
+
* <p>A launch template contains the parameters to launch an instance. When you launch an
|
|
1506
|
+
* instance using <a>RunInstances</a>, you can specify a launch template instead
|
|
1507
|
+
* of providing the launch parameters in the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">Launch
|
|
1508
|
+
* an instance from a launch template</a> in the
|
|
1509
|
+
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
1510
1510
|
* <p>If you want to clone an existing launch template as the basis for creating a new
|
|
1511
1511
|
* launch template, you can use the Amazon EC2 console. The API, SDKs, and CLI do not support
|
|
1512
1512
|
* cloning a template. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template-from-existing-launch-template">Create a launch template from an existing launch template</a> in the
|
|
@@ -1520,8 +1520,9 @@ export declare class EC2 extends EC2Client {
|
|
|
1520
1520
|
* launch template from which to base the new version.</p>
|
|
1521
1521
|
* <p>Launch template versions are numbered in the order in which they are created. You
|
|
1522
1522
|
* cannot specify, change, or replace the numbering of launch template versions.</p>
|
|
1523
|
-
* <p>Launch templates are immutable; after you create a launch template, you can't modify
|
|
1524
|
-
* Instead, you can create a new version of the launch template that includes any
|
|
1523
|
+
* <p>Launch templates are immutable; after you create a launch template, you can't modify
|
|
1524
|
+
* it. Instead, you can create a new version of the launch template that includes any
|
|
1525
|
+
* changes you require.</p>
|
|
1525
1526
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#manage-launch-template-versions">Modify a launch template (manage launch template versions)</a> in the
|
|
1526
1527
|
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
1527
1528
|
*/
|
|
@@ -1823,9 +1824,9 @@ export declare class EC2 extends EC2Client {
|
|
|
1823
1824
|
createSnapshots(args: CreateSnapshotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSnapshotsCommandOutput) => void): void;
|
|
1824
1825
|
/**
|
|
1825
1826
|
* <p>Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs.
|
|
1826
|
-
*
|
|
1827
|
-
*
|
|
1828
|
-
*
|
|
1827
|
+
* You can create one data feed per Amazon Web Services account. For more information, see
|
|
1828
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html">Spot Instance data feed</a>
|
|
1829
|
+
* in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
1829
1830
|
*/
|
|
1830
1831
|
createSpotDatafeedSubscription(args: CreateSpotDatafeedSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateSpotDatafeedSubscriptionCommandOutput>;
|
|
1831
1832
|
createSpotDatafeedSubscription(args: CreateSpotDatafeedSubscriptionCommandInput, cb: (err: any, data?: CreateSpotDatafeedSubscriptionCommandOutput) => void): void;
|
|
@@ -3056,10 +3057,10 @@ export declare class EC2 extends EC2Client {
|
|
|
3056
3057
|
/**
|
|
3057
3058
|
* <p>Describes the Dedicated Host reservations that are available to purchase.</p>
|
|
3058
3059
|
* <p>The results describe all of the Dedicated Host reservation offerings, including
|
|
3059
|
-
*
|
|
3060
|
-
*
|
|
3061
|
-
*
|
|
3062
|
-
*
|
|
3060
|
+
* offerings that might not match the instance family and Region of your Dedicated Hosts.
|
|
3061
|
+
* When purchasing an offering, ensure that the instance family and Region of the offering
|
|
3062
|
+
* matches that of the Dedicated Hosts with which it is to be associated. For more
|
|
3063
|
+
* information about supported instance types, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html">Dedicated Hosts</a>
|
|
3063
3064
|
* in the <i>Amazon EC2 User Guide</i>. </p>
|
|
3064
3065
|
*/
|
|
3065
3066
|
describeHostReservationOfferings(args: DescribeHostReservationOfferingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeHostReservationOfferingsCommandOutput>;
|
|
@@ -3671,7 +3672,7 @@ export declare class EC2 extends EC2Client {
|
|
|
3671
3672
|
describeSnapshotTierStatus(args: DescribeSnapshotTierStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSnapshotTierStatusCommandOutput) => void): void;
|
|
3672
3673
|
/**
|
|
3673
3674
|
* <p>Describes the data feed for Spot Instances. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html">Spot
|
|
3674
|
-
*
|
|
3675
|
+
* Instance data feed</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
3675
3676
|
*/
|
|
3676
3677
|
describeSpotDatafeedSubscription(args: DescribeSpotDatafeedSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSpotDatafeedSubscriptionCommandOutput>;
|
|
3677
3678
|
describeSpotDatafeedSubscription(args: DescribeSpotDatafeedSubscriptionCommandInput, cb: (err: any, data?: DescribeSpotDatafeedSubscriptionCommandOutput) => void): void;
|
|
@@ -3689,7 +3690,7 @@ export declare class EC2 extends EC2Client {
|
|
|
3689
3690
|
* ensures that you can query by the last evaluated time and not miss a recorded event.
|
|
3690
3691
|
* Spot Fleet events are available for 48 hours.</p>
|
|
3691
3692
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-monitor.html">Monitor fleet events using Amazon
|
|
3692
|
-
* EventBridge</a> in the <i>Amazon EC2 User Guide
|
|
3693
|
+
* EventBridge</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
3693
3694
|
*/
|
|
3694
3695
|
describeSpotFleetRequestHistory(args: DescribeSpotFleetRequestHistoryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSpotFleetRequestHistoryCommandOutput>;
|
|
3695
3696
|
describeSpotFleetRequestHistory(args: DescribeSpotFleetRequestHistoryCommandInput, cb: (err: any, data?: DescribeSpotFleetRequestHistoryCommandOutput) => void): void;
|
|
@@ -4570,11 +4571,11 @@ export declare class EC2 extends EC2Client {
|
|
|
4570
4571
|
getGroupsForCapacityReservation(args: GetGroupsForCapacityReservationCommandInput, cb: (err: any, data?: GetGroupsForCapacityReservationCommandOutput) => void): void;
|
|
4571
4572
|
getGroupsForCapacityReservation(args: GetGroupsForCapacityReservationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGroupsForCapacityReservationCommandOutput) => void): void;
|
|
4572
4573
|
/**
|
|
4573
|
-
* <p>Preview a reservation purchase with configurations that match those of your
|
|
4574
|
-
*
|
|
4575
|
-
*
|
|
4576
|
-
* <p>This is a preview of the <a>PurchaseHostReservation</a> action and does
|
|
4577
|
-
*
|
|
4574
|
+
* <p>Preview a reservation purchase with configurations that match those of your Dedicated
|
|
4575
|
+
* Host. You must have active Dedicated Hosts in your account before you purchase a
|
|
4576
|
+
* reservation.</p>
|
|
4577
|
+
* <p>This is a preview of the <a>PurchaseHostReservation</a> action and does not
|
|
4578
|
+
* result in the offering being purchased.</p>
|
|
4578
4579
|
*/
|
|
4579
4580
|
getHostReservationPurchasePreview(args: GetHostReservationPurchasePreviewCommandInput, options?: __HttpHandlerOptions): Promise<GetHostReservationPurchasePreviewCommandOutput>;
|
|
4580
4581
|
getHostReservationPurchasePreview(args: GetHostReservationPurchasePreviewCommandInput, cb: (err: any, data?: GetHostReservationPurchasePreviewCommandOutput) => void): void;
|
|
@@ -4598,11 +4599,12 @@ export declare class EC2 extends EC2Client {
|
|
|
4598
4599
|
* <p>A binary representation of the UEFI variable store. Only non-volatile variables are
|
|
4599
4600
|
* stored. This is a base64 encoded and zlib compressed binary value that must be properly
|
|
4600
4601
|
* encoded.</p>
|
|
4601
|
-
* <p>When you use <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/register-image.html">register-image</a>
|
|
4602
|
-
*
|
|
4603
|
-
* parameter. You can modify the UEFI data by using the <a href="https://github.com/awslabs/python-uefivars">python-uefivars tool</a>
|
|
4604
|
-
*
|
|
4605
|
-
* inspect and modify, and then convert back into the binary format
|
|
4602
|
+
* <p>When you use <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/register-image.html">register-image</a> to create
|
|
4603
|
+
* an AMI, you can create an exact copy of your variable store by passing the UEFI data in
|
|
4604
|
+
* the <code>UefiData</code> parameter. You can modify the UEFI data by using the <a href="https://github.com/awslabs/python-uefivars">python-uefivars tool</a> on
|
|
4605
|
+
* GitHub. You can use the tool to convert the UEFI data into a human-readable format
|
|
4606
|
+
* (JSON), which you can inspect and modify, and then convert back into the binary format
|
|
4607
|
+
* to use with register-image.</p>
|
|
4606
4608
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html">UEFI Secure Boot</a> in the
|
|
4607
4609
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
4608
4610
|
*/
|
|
@@ -4638,9 +4640,10 @@ export declare class EC2 extends EC2Client {
|
|
|
4638
4640
|
* create a launch template. </p>
|
|
4639
4641
|
* <p>This action calls on other describe actions to get instance information. Depending on
|
|
4640
4642
|
* your instance configuration, you may need to allow the following actions in your IAM
|
|
4641
|
-
* policy: <code>DescribeSpotInstanceRequests</code>,
|
|
4642
|
-
*
|
|
4643
|
-
* <code>
|
|
4643
|
+
* policy: <code>DescribeSpotInstanceRequests</code>,
|
|
4644
|
+
* <code>DescribeInstanceCreditSpecifications</code>, <code>DescribeVolumes</code>,
|
|
4645
|
+
* <code>DescribeInstanceAttribute</code>, and <code>DescribeElasticGpus</code>. Or,
|
|
4646
|
+
* you can allow <code>describe*</code> depending on your instance requirements.</p>
|
|
4644
4647
|
*/
|
|
4645
4648
|
getLaunchTemplateData(args: GetLaunchTemplateDataCommandInput, options?: __HttpHandlerOptions): Promise<GetLaunchTemplateDataCommandOutput>;
|
|
4646
4649
|
getLaunchTemplateData(args: GetLaunchTemplateDataCommandInput, cb: (err: any, data?: GetLaunchTemplateDataCommandOutput) => void): void;
|
|
@@ -4967,13 +4970,14 @@ export declare class EC2 extends EC2Client {
|
|
|
4967
4970
|
modifyFpgaImageAttribute(args: ModifyFpgaImageAttributeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyFpgaImageAttributeCommandOutput) => void): void;
|
|
4968
4971
|
/**
|
|
4969
4972
|
* <p>Modify the auto-placement setting of a Dedicated Host. When auto-placement is enabled,
|
|
4970
|
-
* any instances that you launch with a tenancy of <code>host</code> but without a specific
|
|
4971
|
-
*
|
|
4972
|
-
*
|
|
4973
|
-
*
|
|
4974
|
-
*
|
|
4975
|
-
*
|
|
4976
|
-
*
|
|
4973
|
+
* any instances that you launch with a tenancy of <code>host</code> but without a specific
|
|
4974
|
+
* host ID are placed onto any available Dedicated Host in your account that has
|
|
4975
|
+
* auto-placement enabled. When auto-placement is disabled, you need to provide a host ID
|
|
4976
|
+
* to have the instance launch onto a specific host. If no host ID is provided, the
|
|
4977
|
+
* instance is launched onto a suitable host with auto-placement enabled.</p>
|
|
4978
|
+
* <p>You can also use this API action to modify a Dedicated Host to support either multiple
|
|
4979
|
+
* instance types in an instance family, or to support a specific instance type
|
|
4980
|
+
* only.</p>
|
|
4977
4981
|
*/
|
|
4978
4982
|
modifyHosts(args: ModifyHostsCommandInput, options?: __HttpHandlerOptions): Promise<ModifyHostsCommandOutput>;
|
|
4979
4983
|
modifyHosts(args: ModifyHostsCommandInput, cb: (err: any, data?: ModifyHostsCommandOutput) => void): void;
|
|
@@ -5141,8 +5145,8 @@ export declare class EC2 extends EC2Client {
|
|
|
5141
5145
|
* group</a>.</p>
|
|
5142
5146
|
* </li>
|
|
5143
5147
|
* </ul>
|
|
5144
|
-
* <p>At least one attribute for affinity, host ID, tenancy, or placement group name must
|
|
5145
|
-
*
|
|
5148
|
+
* <p>At least one attribute for affinity, host ID, tenancy, or placement group name must be
|
|
5149
|
+
* specified in the request. Affinity and tenancy can be modified in the same
|
|
5146
5150
|
* request.</p>
|
|
5147
5151
|
* <p>To modify the host ID, tenancy, placement group, or partition for an instance, the
|
|
5148
5152
|
* instance must be in the <code>stopped</code> state.</p>
|
|
@@ -5928,14 +5932,14 @@ export declare class EC2 extends EC2Client {
|
|
|
5928
5932
|
* <code>spot-fleet-request</code> and <code>instance</code> resource types are
|
|
5929
5933
|
* supported.</p>
|
|
5930
5934
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html">Spot Fleet requests</a>
|
|
5931
|
-
* in the <i>Amazon EC2 User Guide
|
|
5935
|
+
* in the <i>Amazon EC2 User Guide</i>.</p>
|
|
5932
5936
|
*
|
|
5933
5937
|
* <important>
|
|
5934
5938
|
* <p>We strongly discourage using the RequestSpotFleet API because it is a legacy
|
|
5935
5939
|
* API with no planned investment. For options for requesting Spot Instances, see
|
|
5936
5940
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-best-practices.html#which-spot-request-method-to-use">Which
|
|
5937
5941
|
* is the best Spot request method to use?</a> in the
|
|
5938
|
-
* <i>Amazon EC2 User Guide
|
|
5942
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
5939
5943
|
* </important>
|
|
5940
5944
|
*/
|
|
5941
5945
|
requestSpotFleet(args: RequestSpotFleetCommandInput, options?: __HttpHandlerOptions): Promise<RequestSpotFleetCommandOutput>;
|
|
@@ -5953,6 +5957,7 @@ export declare class EC2 extends EC2Client {
|
|
|
5953
5957
|
* is the best Spot request method to use?</a> in the
|
|
5954
5958
|
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
5955
5959
|
* </important>
|
|
5960
|
+
*
|
|
5956
5961
|
* <note>
|
|
5957
5962
|
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
5958
5963
|
* </note>
|
|
@@ -6166,7 +6171,9 @@ export declare class EC2 extends EC2Client {
|
|
|
6166
6171
|
* <p>For troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_InstanceStraightToTerminated.html">What to do if
|
|
6167
6172
|
* an instance immediately terminates</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html">Troubleshooting connecting to your instance</a>.</p>
|
|
6168
6173
|
* <note>
|
|
6169
|
-
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a
|
|
6174
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a
|
|
6175
|
+
* VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a
|
|
6176
|
+
* VPC</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
6170
6177
|
* </note>
|
|
6171
6178
|
*/
|
|
6172
6179
|
runInstances(args: RunInstancesCommandInput, options?: __HttpHandlerOptions): Promise<RunInstancesCommandOutput>;
|
|
@@ -8,9 +8,9 @@ export interface AllocateHostsCommandInput extends AllocateHostsRequest {
|
|
|
8
8
|
export interface AllocateHostsCommandOutput extends AllocateHostsResult, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Allocates a Dedicated Host to your account. At a minimum, specify the supported
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* <p>Allocates a Dedicated Host to your account. At a minimum, specify the supported
|
|
12
|
+
* instance type or instance family, the Availability Zone in which to allocate the host,
|
|
13
|
+
* and the number of hosts to allocate.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -9,11 +9,11 @@ export interface CreateLaunchTemplateCommandOutput extends CreateLaunchTemplateR
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a launch template.</p>
|
|
12
|
-
* <p>A launch template contains the parameters to launch an
|
|
13
|
-
* instance
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
12
|
+
* <p>A launch template contains the parameters to launch an instance. When you launch an
|
|
13
|
+
* instance using <a>RunInstances</a>, you can specify a launch template instead
|
|
14
|
+
* of providing the launch parameters in the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">Launch
|
|
15
|
+
* an instance from a launch template</a> in the
|
|
16
|
+
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
17
17
|
* <p>If you want to clone an existing launch template as the basis for creating a new
|
|
18
18
|
* launch template, you can use the Amazon EC2 console. The API, SDKs, and CLI do not support
|
|
19
19
|
* cloning a template. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template-from-existing-launch-template">Create a launch template from an existing launch template</a> in the
|
|
@@ -12,8 +12,9 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
|
|
|
12
12
|
* launch template from which to base the new version.</p>
|
|
13
13
|
* <p>Launch template versions are numbered in the order in which they are created. You
|
|
14
14
|
* cannot specify, change, or replace the numbering of launch template versions.</p>
|
|
15
|
-
* <p>Launch templates are immutable; after you create a launch template, you can't modify
|
|
16
|
-
* Instead, you can create a new version of the launch template that includes any
|
|
15
|
+
* <p>Launch templates are immutable; after you create a launch template, you can't modify
|
|
16
|
+
* it. Instead, you can create a new version of the launch template that includes any
|
|
17
|
+
* changes you require.</p>
|
|
17
18
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#manage-launch-template-versions">Modify a launch template (manage launch template versions)</a> in the
|
|
18
19
|
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
19
20
|
* @example
|
|
@@ -9,9 +9,9 @@ export interface CreateSpotDatafeedSubscriptionCommandOutput extends CreateSpotD
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs.
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* You can create one data feed per Amazon Web Services account. For more information, see
|
|
13
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html">Spot Instance data feed</a>
|
|
14
|
+
* in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```javascript
|
|
@@ -2,7 +2,8 @@ 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
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { CreateSubnetCidrReservationRequest
|
|
5
|
+
import { CreateSubnetCidrReservationRequest } from "../models/models_1";
|
|
6
|
+
import { CreateSubnetCidrReservationResult } from "../models/models_2";
|
|
6
7
|
export interface CreateSubnetCidrReservationCommandInput extends CreateSubnetCidrReservationRequest {
|
|
7
8
|
}
|
|
8
9
|
export interface CreateSubnetCidrReservationCommandOutput extends CreateSubnetCidrReservationResult, __MetadataBearer {
|
|
@@ -2,8 +2,7 @@ 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
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { DeregisterTransitGatewayMulticastGroupMembersRequest } from "../models/
|
|
6
|
-
import { DeregisterTransitGatewayMulticastGroupMembersResult } from "../models/models_3";
|
|
5
|
+
import { DeregisterTransitGatewayMulticastGroupMembersRequest, DeregisterTransitGatewayMulticastGroupMembersResult } from "../models/models_3";
|
|
7
6
|
export interface DeregisterTransitGatewayMulticastGroupMembersCommandInput extends DeregisterTransitGatewayMulticastGroupMembersRequest {
|
|
8
7
|
}
|
|
9
8
|
export interface DeregisterTransitGatewayMulticastGroupMembersCommandOutput extends DeregisterTransitGatewayMulticastGroupMembersResult, __MetadataBearer {
|
|
@@ -10,10 +10,10 @@ export interface DescribeHostReservationOfferingsCommandOutput extends DescribeH
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Describes the Dedicated Host reservations that are available to purchase.</p>
|
|
12
12
|
* <p>The results describe all of the Dedicated Host reservation offerings, including
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
13
|
+
* offerings that might not match the instance family and Region of your Dedicated Hosts.
|
|
14
|
+
* When purchasing an offering, ensure that the instance family and Region of the offering
|
|
15
|
+
* matches that of the Dedicated Hosts with which it is to be associated. For more
|
|
16
|
+
* information about supported instance types, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html">Dedicated Hosts</a>
|
|
17
17
|
* in the <i>Amazon EC2 User Guide</i>. </p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -2,7 +2,7 @@ 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
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { DescribeLaunchTemplatesRequest, DescribeLaunchTemplatesResult } from "../models/
|
|
5
|
+
import { DescribeLaunchTemplatesRequest, DescribeLaunchTemplatesResult } from "../models/models_4";
|
|
6
6
|
export interface DescribeLaunchTemplatesCommandInput extends DescribeLaunchTemplatesRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface DescribeLaunchTemplatesCommandOutput extends DescribeLaunchTemplatesResult, __MetadataBearer {
|
|
@@ -9,7 +9,7 @@ export interface DescribeSpotDatafeedSubscriptionCommandOutput extends DescribeS
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Describes the data feed for Spot Instances. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html">Spot
|
|
12
|
-
*
|
|
12
|
+
* Instance data feed</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -14,7 +14,7 @@ export interface DescribeSpotFleetRequestHistoryCommandOutput extends DescribeSp
|
|
|
14
14
|
* ensures that you can query by the last evaluated time and not miss a recorded event.
|
|
15
15
|
* Spot Fleet events are available for 48 hours.</p>
|
|
16
16
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-monitor.html">Monitor fleet events using Amazon
|
|
17
|
-
* EventBridge</a> in the <i>Amazon EC2 User Guide
|
|
17
|
+
* EventBridge</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
20
|
* ```javascript
|
|
@@ -2,7 +2,8 @@ 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
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { DisassociateTransitGatewayRouteTableRequest
|
|
5
|
+
import { DisassociateTransitGatewayRouteTableRequest } from "../models/models_4";
|
|
6
|
+
import { DisassociateTransitGatewayRouteTableResult } from "../models/models_5";
|
|
6
7
|
export interface DisassociateTransitGatewayRouteTableCommandInput extends DisassociateTransitGatewayRouteTableRequest {
|
|
7
8
|
}
|
|
8
9
|
export interface DisassociateTransitGatewayRouteTableCommandOutput extends DisassociateTransitGatewayRouteTableResult, __MetadataBearer {
|
|
@@ -2,8 +2,7 @@ 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
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { DisassociateTrunkInterfaceRequest } from "../models/
|
|
6
|
-
import { DisassociateTrunkInterfaceResult } from "../models/models_5";
|
|
5
|
+
import { DisassociateTrunkInterfaceRequest, DisassociateTrunkInterfaceResult } from "../models/models_5";
|
|
7
6
|
export interface DisassociateTrunkInterfaceCommandInput extends DisassociateTrunkInterfaceRequest {
|
|
8
7
|
}
|
|
9
8
|
export interface DisassociateTrunkInterfaceCommandOutput extends DisassociateTrunkInterfaceResult, __MetadataBearer {
|
|
@@ -8,11 +8,11 @@ export interface GetHostReservationPurchasePreviewCommandInput extends GetHostRe
|
|
|
8
8
|
export interface GetHostReservationPurchasePreviewCommandOutput extends GetHostReservationPurchasePreviewResult, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Preview a reservation purchase with configurations that match those of your
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* <p>This is a preview of the <a>PurchaseHostReservation</a> action and does
|
|
15
|
-
*
|
|
11
|
+
* <p>Preview a reservation purchase with configurations that match those of your Dedicated
|
|
12
|
+
* Host. You must have active Dedicated Hosts in your account before you purchase a
|
|
13
|
+
* reservation.</p>
|
|
14
|
+
* <p>This is a preview of the <a>PurchaseHostReservation</a> action and does not
|
|
15
|
+
* result in the offering being purchased.</p>
|
|
16
16
|
* @example
|
|
17
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
18
|
* ```javascript
|
|
@@ -11,11 +11,12 @@ export interface GetInstanceUefiDataCommandOutput extends GetInstanceUefiDataRes
|
|
|
11
11
|
* <p>A binary representation of the UEFI variable store. Only non-volatile variables are
|
|
12
12
|
* stored. This is a base64 encoded and zlib compressed binary value that must be properly
|
|
13
13
|
* encoded.</p>
|
|
14
|
-
* <p>When you use <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/register-image.html">register-image</a>
|
|
15
|
-
*
|
|
16
|
-
* parameter. You can modify the UEFI data by using the <a href="https://github.com/awslabs/python-uefivars">python-uefivars tool</a>
|
|
17
|
-
*
|
|
18
|
-
* inspect and modify, and then convert back into the binary format
|
|
14
|
+
* <p>When you use <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/register-image.html">register-image</a> to create
|
|
15
|
+
* an AMI, you can create an exact copy of your variable store by passing the UEFI data in
|
|
16
|
+
* the <code>UefiData</code> parameter. You can modify the UEFI data by using the <a href="https://github.com/awslabs/python-uefivars">python-uefivars tool</a> on
|
|
17
|
+
* GitHub. You can use the tool to convert the UEFI data into a human-readable format
|
|
18
|
+
* (JSON), which you can inspect and modify, and then convert back into the binary format
|
|
19
|
+
* to use with register-image.</p>
|
|
19
20
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html">UEFI Secure Boot</a> in the
|
|
20
21
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
21
22
|
* @example
|