@aws-sdk/client-ec2 3.813.0 → 3.815.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/README.md +8 -0
- package/dist-cjs/index.js +361 -229
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/DescribeLaunchTemplateVersionsCommand.js +1 -1
- package/dist-es/commands/ModifyPublicIpDnsNameOptionsCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_2.js +0 -4
- package/dist-es/models/models_3.js +4 -3
- package/dist-es/models/models_4.js +11 -7
- package/dist-es/models/models_5.js +7 -0
- package/dist-es/models/models_7.js +5 -0
- package/dist-es/protocols/Aws_ec2.js +101 -6
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +8 -0
- package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +34 -19
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +8 -0
- package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +1 -2
- package/dist-types/commands/DisassociateAddressCommand.d.ts +12 -0
- package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -1
- package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -2
- package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +4 -0
- package/dist-types/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +74 -0
- package/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -2
- package/dist-types/commands/RunInstancesCommand.d.ts +1 -0
- package/dist-types/commands/TerminateInstancesCommand.d.ts +4 -4
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_2.d.ts +42 -13
- package/dist-types/models/models_3.d.ts +13 -12
- package/dist-types/models/models_4.d.ts +75 -193
- package/dist-types/models/models_5.d.ts +191 -105
- package/dist-types/models/models_6.d.ts +105 -97
- package/dist-types/models/models_7.d.ts +206 -109
- package/dist-types/models/models_8.d.ts +107 -1
- package/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/dist-types/ts3.4/EC2.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DetachClassicLinkVpcCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReplaceNetworkAclAssociationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_2.d.ts +9 -6
- package/dist-types/ts3.4/models/models_3.d.ts +6 -6
- package/dist-types/ts3.4/models/models_4.d.ts +19 -26
- package/dist-types/ts3.4/models/models_5.d.ts +25 -14
- package/dist-types/ts3.4/models/models_6.d.ts +14 -17
- package/dist-types/ts3.4/models/models_7.d.ts +36 -24
- package/dist-types/ts3.4/models/models_8.d.ts +23 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { ReplaceImageCriteriaInAllowedImagesSettingsRequest, ReplaceImageCriteriaInAllowedImagesSettingsResult } from "../models/
|
|
4
|
+
import { ReplaceImageCriteriaInAllowedImagesSettingsRequest, ReplaceImageCriteriaInAllowedImagesSettingsResult } from "../models/models_8";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { ReplaceNetworkAclAssociationRequest } from "../models/
|
|
5
|
-
import { ReplaceNetworkAclAssociationResult } from "../models/models_8";
|
|
4
|
+
import { ReplaceNetworkAclAssociationRequest, ReplaceNetworkAclAssociationResult } from "../models/models_8";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -497,6 +497,7 @@ declare const RunInstancesCommand_base: {
|
|
|
497
497
|
* // TpmSupport: "STRING_VALUE",
|
|
498
498
|
* // MaintenanceOptions: { // InstanceMaintenanceOptions
|
|
499
499
|
* // AutoRecovery: "disabled" || "default",
|
|
500
|
+
* // RebootMigration: "disabled" || "default",
|
|
500
501
|
* // },
|
|
501
502
|
* // CurrentInstanceBootMode: "legacy-bios" || "uefi",
|
|
502
503
|
* // NetworkPerformanceOptions: { // InstanceNetworkPerformanceOptions
|
|
@@ -83,10 +83,10 @@ declare const TerminateInstancesCommand_base: {
|
|
|
83
83
|
* devices attached to the instance persist. When you terminate an instance, any attached
|
|
84
84
|
* EBS volumes with the <code>DeleteOnTermination</code> block device mapping parameter set
|
|
85
85
|
* to <code>true</code> are automatically deleted. For more information about the
|
|
86
|
-
* differences between stopping and terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">
|
|
87
|
-
*
|
|
88
|
-
* <p>For information about troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html">Troubleshooting terminating your instance</a> in the
|
|
89
|
-
*
|
|
86
|
+
* differences between stopping and terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Instance lifecycle</a>
|
|
87
|
+
* in the <i>Amazon EC2 User Guide</i>.</p>
|
|
88
|
+
* <p>For more information about troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html">Troubleshooting terminating your instance</a> in the
|
|
89
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
90
90
|
* @example
|
|
91
91
|
* Use a bare-bones client and the command you need to make an API call.
|
|
92
92
|
* ```javascript
|
|
@@ -571,6 +571,7 @@ export * from "./ModifyLocalGatewayRouteCommand";
|
|
|
571
571
|
export * from "./ModifyManagedPrefixListCommand";
|
|
572
572
|
export * from "./ModifyNetworkInterfaceAttributeCommand";
|
|
573
573
|
export * from "./ModifyPrivateDnsNameOptionsCommand";
|
|
574
|
+
export * from "./ModifyPublicIpDnsNameOptionsCommand";
|
|
574
575
|
export * from "./ModifyReservedInstancesCommand";
|
|
575
576
|
export * from "./ModifyRouteServerCommand";
|
|
576
577
|
export * from "./ModifySecurityGroupRulesCommand";
|
|
@@ -2817,6 +2817,11 @@ export interface NetworkInterfaceIpv6Address {
|
|
|
2817
2817
|
* @public
|
|
2818
2818
|
*/
|
|
2819
2819
|
Ipv6Address?: string | undefined;
|
|
2820
|
+
/**
|
|
2821
|
+
* <p>An IPv6-enabled public hostname for a network interface. Requests from within the VPC or from the internet resolve to the IPv6 GUA of the network interface. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html">EC2 instance hostnames, DNS names, and domains</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2822
|
+
* @public
|
|
2823
|
+
*/
|
|
2824
|
+
PublicIpv6DnsName?: string | undefined;
|
|
2820
2825
|
/**
|
|
2821
2826
|
* <p>Determines if an IPv6 address associated with a network interface is the primary IPv6
|
|
2822
2827
|
* address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA
|
|
@@ -2865,6 +2870,32 @@ export interface NetworkInterfacePrivateIpAddress {
|
|
|
2865
2870
|
*/
|
|
2866
2871
|
PrivateIpAddress?: string | undefined;
|
|
2867
2872
|
}
|
|
2873
|
+
/**
|
|
2874
|
+
* <p>Public hostname type options. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html">EC2 instance hostnames, DNS names, and domains</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2875
|
+
* @public
|
|
2876
|
+
*/
|
|
2877
|
+
export interface PublicIpDnsNameOptions {
|
|
2878
|
+
/**
|
|
2879
|
+
* <p>The public hostname type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html">EC2 instance hostnames, DNS names, and domains</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2880
|
+
* @public
|
|
2881
|
+
*/
|
|
2882
|
+
DnsHostnameType?: string | undefined;
|
|
2883
|
+
/**
|
|
2884
|
+
* <p>An IPv4-enabled public hostname for a network interface. Requests from within the VPC resolve to the private primary IPv4 address of the network interface. Requests from the internet resolve to the public IPv4 address of the network interface.</p>
|
|
2885
|
+
* @public
|
|
2886
|
+
*/
|
|
2887
|
+
PublicIpv4DnsName?: string | undefined;
|
|
2888
|
+
/**
|
|
2889
|
+
* <p>An IPv6-enabled public hostname for a network interface. Requests from within the VPC or from the internet resolve to the IPv6 GUA of the network interface.</p>
|
|
2890
|
+
* @public
|
|
2891
|
+
*/
|
|
2892
|
+
PublicIpv6DnsName?: string | undefined;
|
|
2893
|
+
/**
|
|
2894
|
+
* <p>A dual-stack public hostname for a network interface. Requests from within the VPC resolve to both the private IPv4 address and the IPv6 Global Unicast Address of the network interface. Requests from the internet resolve to both the public IPv4 and the IPv6 GUA address of the network interface.</p>
|
|
2895
|
+
* @public
|
|
2896
|
+
*/
|
|
2897
|
+
PublicDualStackDnsName?: string | undefined;
|
|
2898
|
+
}
|
|
2868
2899
|
/**
|
|
2869
2900
|
* @public
|
|
2870
2901
|
* @enum
|
|
@@ -2950,10 +2981,20 @@ export interface NetworkInterface {
|
|
|
2950
2981
|
*/
|
|
2951
2982
|
OwnerId?: string | undefined;
|
|
2952
2983
|
/**
|
|
2953
|
-
* <p>The private DNS
|
|
2984
|
+
* <p>The private hostname. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html">EC2 instance hostnames, DNS names, and domains</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2954
2985
|
* @public
|
|
2955
2986
|
*/
|
|
2956
2987
|
PrivateDnsName?: string | undefined;
|
|
2988
|
+
/**
|
|
2989
|
+
* <p>A public hostname. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html">EC2 instance hostnames, DNS names, and domains</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2990
|
+
* @public
|
|
2991
|
+
*/
|
|
2992
|
+
PublicDnsName?: string | undefined;
|
|
2993
|
+
/**
|
|
2994
|
+
* <p>Public hostname type options. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html">EC2 instance hostnames, DNS names, and domains</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2995
|
+
* @public
|
|
2996
|
+
*/
|
|
2997
|
+
PublicIpDnsNameOptions?: PublicIpDnsNameOptions | undefined;
|
|
2957
2998
|
/**
|
|
2958
2999
|
* <p>The IPv4 address of the network interface within the subnet.</p>
|
|
2959
3000
|
* @public
|
|
@@ -9496,18 +9537,6 @@ export interface CreateVpcEndpointConnectionNotificationRequest {
|
|
|
9496
9537
|
*/
|
|
9497
9538
|
ClientToken?: string | undefined;
|
|
9498
9539
|
}
|
|
9499
|
-
/**
|
|
9500
|
-
* @public
|
|
9501
|
-
* @enum
|
|
9502
|
-
*/
|
|
9503
|
-
export declare const ConnectionNotificationState: {
|
|
9504
|
-
readonly Disabled: "Disabled";
|
|
9505
|
-
readonly Enabled: "Enabled";
|
|
9506
|
-
};
|
|
9507
|
-
/**
|
|
9508
|
-
* @public
|
|
9509
|
-
*/
|
|
9510
|
-
export type ConnectionNotificationState = (typeof ConnectionNotificationState)[keyof typeof ConnectionNotificationState];
|
|
9511
9540
|
/**
|
|
9512
9541
|
* @internal
|
|
9513
9542
|
*/
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, AddressTransfer, BundleTask, ByoipCidr, CapacityReservationFleetState, ClientVpnAuthorizationRuleStatus, InstanceEventWindowState, Tag, TagSpecification, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcAttachment, VpcPeeringConnection } from "./models_0";
|
|
2
2
|
import { CapacityReservation, CapacityReservationTenancy, CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, Ec2InstanceConnectEndpoint, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate } from "./models_1";
|
|
3
|
-
import {
|
|
3
|
+
import { GroupIdentifier, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, RouteServer, RouteServerEndpoint, RouteServerPeer, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* @enum
|
|
7
|
+
*/
|
|
8
|
+
export declare const ConnectionNotificationState: {
|
|
9
|
+
readonly Disabled: "Disabled";
|
|
10
|
+
readonly Enabled: "Enabled";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type ConnectionNotificationState = (typeof ConnectionNotificationState)[keyof typeof ConnectionNotificationState];
|
|
4
16
|
/**
|
|
5
17
|
* @public
|
|
6
18
|
* @enum
|
|
@@ -6670,17 +6682,6 @@ export interface DescribeClientVpnEndpointsRequest {
|
|
|
6670
6682
|
*/
|
|
6671
6683
|
DryRun?: boolean | undefined;
|
|
6672
6684
|
}
|
|
6673
|
-
/**
|
|
6674
|
-
* @public
|
|
6675
|
-
* @enum
|
|
6676
|
-
*/
|
|
6677
|
-
export declare const AssociatedNetworkType: {
|
|
6678
|
-
readonly vpc: "vpc";
|
|
6679
|
-
};
|
|
6680
|
-
/**
|
|
6681
|
-
* @public
|
|
6682
|
-
*/
|
|
6683
|
-
export type AssociatedNetworkType = (typeof AssociatedNetworkType)[keyof typeof AssociatedNetworkType];
|
|
6684
6685
|
/**
|
|
6685
6686
|
* @internal
|
|
6686
6687
|
*/
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
import { ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, CurrencyCodeValues, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, Tag } from "./models_0";
|
|
2
|
-
import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType,
|
|
3
|
-
import { GroupIdentifier,
|
|
4
|
-
import {
|
|
2
|
+
import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplateAndOverridesResponse, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
|
|
3
|
+
import { GroupIdentifier, NetworkInterfaceStatus, StateReason } from "./models_2";
|
|
4
|
+
import { Byoasn, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
* @enum
|
|
8
|
+
*/
|
|
9
|
+
export declare const AssociatedNetworkType: {
|
|
10
|
+
readonly vpc: "vpc";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type AssociatedNetworkType = (typeof AssociatedNetworkType)[keyof typeof AssociatedNetworkType];
|
|
5
16
|
/**
|
|
6
17
|
* <p>Describes a target network that is associated with a Client VPN endpoint. A target network is a subnet in a VPC.</p>
|
|
7
18
|
* @public
|
|
@@ -6986,6 +6997,18 @@ export declare const InstanceAutoRecoveryState: {
|
|
|
6986
6997
|
* @public
|
|
6987
6998
|
*/
|
|
6988
6999
|
export type InstanceAutoRecoveryState = (typeof InstanceAutoRecoveryState)[keyof typeof InstanceAutoRecoveryState];
|
|
7000
|
+
/**
|
|
7001
|
+
* @public
|
|
7002
|
+
* @enum
|
|
7003
|
+
*/
|
|
7004
|
+
export declare const InstanceRebootMigrationState: {
|
|
7005
|
+
readonly default: "default";
|
|
7006
|
+
readonly disabled: "disabled";
|
|
7007
|
+
};
|
|
7008
|
+
/**
|
|
7009
|
+
* @public
|
|
7010
|
+
*/
|
|
7011
|
+
export type InstanceRebootMigrationState = (typeof InstanceRebootMigrationState)[keyof typeof InstanceRebootMigrationState];
|
|
6989
7012
|
/**
|
|
6990
7013
|
* <p>The maintenance options for the instance.</p>
|
|
6991
7014
|
* @public
|
|
@@ -6997,6 +7020,30 @@ export interface InstanceMaintenanceOptions {
|
|
|
6997
7020
|
* @public
|
|
6998
7021
|
*/
|
|
6999
7022
|
AutoRecovery?: InstanceAutoRecoveryState | undefined;
|
|
7023
|
+
/**
|
|
7024
|
+
* <p>Specifies whether to attempt reboot migration during a user-initiated reboot of an
|
|
7025
|
+
* instance that has a scheduled <code>system-reboot</code> event:</p>
|
|
7026
|
+
* <ul>
|
|
7027
|
+
* <li>
|
|
7028
|
+
* <p>
|
|
7029
|
+
* <code>default</code> - Amazon EC2 attempts to migrate the instance to
|
|
7030
|
+
* new hardware (reboot migration). If successful, the <code>system-reboot</code>
|
|
7031
|
+
* event is cleared. If unsuccessful, an in-place reboot occurs and the event
|
|
7032
|
+
* remains scheduled.</p>
|
|
7033
|
+
* </li>
|
|
7034
|
+
* <li>
|
|
7035
|
+
* <p>
|
|
7036
|
+
* <code>disabled</code> - Amazon EC2 keeps the instance on the same
|
|
7037
|
+
* hardware (in-place reboot). The <code>system-reboot</code> event remains
|
|
7038
|
+
* scheduled.</p>
|
|
7039
|
+
* </li>
|
|
7040
|
+
* </ul>
|
|
7041
|
+
* <p>This setting only applies to supported instances that have a scheduled reboot event.
|
|
7042
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration">Enable or disable reboot migration</a> in the
|
|
7043
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
7044
|
+
* @public
|
|
7045
|
+
*/
|
|
7046
|
+
RebootMigration?: InstanceRebootMigrationState | undefined;
|
|
7000
7047
|
}
|
|
7001
7048
|
/**
|
|
7002
7049
|
* @public
|
|
@@ -8755,6 +8802,11 @@ export interface DescribeInstanceTypesRequest {
|
|
|
8755
8802
|
* </li>
|
|
8756
8803
|
* <li>
|
|
8757
8804
|
* <p>
|
|
8805
|
+
* <code>reboot-migration-support</code> - Indicates whether enabling reboot migration is
|
|
8806
|
+
* supported (<code>supported</code> | <code>unsupported</code>).</p>
|
|
8807
|
+
* </li>
|
|
8808
|
+
* <li>
|
|
8809
|
+
* <p>
|
|
8758
8810
|
* <code>supported-boot-mode</code> - The boot mode (<code>legacy-bios</code> |
|
|
8759
8811
|
* <code>uefi</code>).</p>
|
|
8760
8812
|
* </li>
|
|
@@ -9623,6 +9675,18 @@ export interface ProcessorInfo {
|
|
|
9623
9675
|
*/
|
|
9624
9676
|
Manufacturer?: string | undefined;
|
|
9625
9677
|
}
|
|
9678
|
+
/**
|
|
9679
|
+
* @public
|
|
9680
|
+
* @enum
|
|
9681
|
+
*/
|
|
9682
|
+
export declare const RebootMigrationSupport: {
|
|
9683
|
+
readonly SUPPORTED: "supported";
|
|
9684
|
+
readonly UNSUPPORTED: "unsupported";
|
|
9685
|
+
};
|
|
9686
|
+
/**
|
|
9687
|
+
* @public
|
|
9688
|
+
*/
|
|
9689
|
+
export type RebootMigrationSupport = (typeof RebootMigrationSupport)[keyof typeof RebootMigrationSupport];
|
|
9626
9690
|
/**
|
|
9627
9691
|
* @public
|
|
9628
9692
|
* @enum
|
|
@@ -9852,6 +9916,14 @@ export interface InstanceTypeInfo {
|
|
|
9852
9916
|
* @public
|
|
9853
9917
|
*/
|
|
9854
9918
|
PhcSupport?: PhcSupport | undefined;
|
|
9919
|
+
/**
|
|
9920
|
+
* <p>Indicates whether reboot migration during a user-initiated reboot is supported for
|
|
9921
|
+
* instances that have a scheduled <code>system-reboot</code> event. For more information,
|
|
9922
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration">Enable or disable reboot migration</a> in the
|
|
9923
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
9924
|
+
* @public
|
|
9925
|
+
*/
|
|
9926
|
+
RebootMigrationSupport?: RebootMigrationSupport | undefined;
|
|
9855
9927
|
}
|
|
9856
9928
|
/**
|
|
9857
9929
|
* @public
|
|
@@ -10603,192 +10675,6 @@ export interface DescribeLaunchTemplatesRequest {
|
|
|
10603
10675
|
*/
|
|
10604
10676
|
MaxResults?: number | undefined;
|
|
10605
10677
|
}
|
|
10606
|
-
/**
|
|
10607
|
-
* @public
|
|
10608
|
-
*/
|
|
10609
|
-
export interface DescribeLaunchTemplatesResult {
|
|
10610
|
-
/**
|
|
10611
|
-
* <p>Information about the launch templates.</p>
|
|
10612
|
-
* @public
|
|
10613
|
-
*/
|
|
10614
|
-
LaunchTemplates?: LaunchTemplate[] | undefined;
|
|
10615
|
-
/**
|
|
10616
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code>
|
|
10617
|
-
* when there are no more results to return.</p>
|
|
10618
|
-
* @public
|
|
10619
|
-
*/
|
|
10620
|
-
NextToken?: string | undefined;
|
|
10621
|
-
}
|
|
10622
|
-
/**
|
|
10623
|
-
* @public
|
|
10624
|
-
*/
|
|
10625
|
-
export interface DescribeLaunchTemplateVersionsRequest {
|
|
10626
|
-
/**
|
|
10627
|
-
* <p>Checks whether you have the required permissions for the action, without actually
|
|
10628
|
-
* making the request, and provides an error response. If you have the required
|
|
10629
|
-
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
10630
|
-
* <code>UnauthorizedOperation</code>.</p>
|
|
10631
|
-
* @public
|
|
10632
|
-
*/
|
|
10633
|
-
DryRun?: boolean | undefined;
|
|
10634
|
-
/**
|
|
10635
|
-
* <p>The ID of the launch template.</p>
|
|
10636
|
-
* <p>To describe one or more versions of a specified launch template, you must specify
|
|
10637
|
-
* either the launch template ID or the launch template name, but not both.</p>
|
|
10638
|
-
* <p>To describe all the latest or default launch template versions in your account, you
|
|
10639
|
-
* must omit this parameter.</p>
|
|
10640
|
-
* @public
|
|
10641
|
-
*/
|
|
10642
|
-
LaunchTemplateId?: string | undefined;
|
|
10643
|
-
/**
|
|
10644
|
-
* <p>The name of the launch template.</p>
|
|
10645
|
-
* <p>To describe one or more versions of a specified launch template, you must specify
|
|
10646
|
-
* either the launch template name or the launch template ID, but not both.</p>
|
|
10647
|
-
* <p>To describe all the latest or default launch template versions in your account, you
|
|
10648
|
-
* must omit this parameter.</p>
|
|
10649
|
-
* @public
|
|
10650
|
-
*/
|
|
10651
|
-
LaunchTemplateName?: string | undefined;
|
|
10652
|
-
/**
|
|
10653
|
-
* <p>One or more versions of the launch template. Valid values depend on whether you are
|
|
10654
|
-
* describing a specified launch template (by ID or name) or all launch templates in your
|
|
10655
|
-
* account.</p>
|
|
10656
|
-
* <p>To describe one or more versions of a specified launch template, valid values are
|
|
10657
|
-
* <code>$Latest</code>, <code>$Default</code>, and numbers.</p>
|
|
10658
|
-
* <p>To describe all launch templates in your account that are defined as the latest
|
|
10659
|
-
* version, the valid value is <code>$Latest</code>. To describe all launch templates in
|
|
10660
|
-
* your account that are defined as the default version, the valid value is
|
|
10661
|
-
* <code>$Default</code>. You can specify <code>$Latest</code> and
|
|
10662
|
-
* <code>$Default</code> in the same request. You cannot specify numbers.</p>
|
|
10663
|
-
* @public
|
|
10664
|
-
*/
|
|
10665
|
-
Versions?: string[] | undefined;
|
|
10666
|
-
/**
|
|
10667
|
-
* <p>The version number after which to describe launch template versions.</p>
|
|
10668
|
-
* @public
|
|
10669
|
-
*/
|
|
10670
|
-
MinVersion?: string | undefined;
|
|
10671
|
-
/**
|
|
10672
|
-
* <p>The version number up to which to describe launch template versions.</p>
|
|
10673
|
-
* @public
|
|
10674
|
-
*/
|
|
10675
|
-
MaxVersion?: string | undefined;
|
|
10676
|
-
/**
|
|
10677
|
-
* <p>The token to request the next page of results.</p>
|
|
10678
|
-
* @public
|
|
10679
|
-
*/
|
|
10680
|
-
NextToken?: string | undefined;
|
|
10681
|
-
/**
|
|
10682
|
-
* <p>The maximum number of results to return in a single call. To retrieve the remaining
|
|
10683
|
-
* results, make another call with the returned <code>NextToken</code> value. This value
|
|
10684
|
-
* can be between 1 and 200.</p>
|
|
10685
|
-
* @public
|
|
10686
|
-
*/
|
|
10687
|
-
MaxResults?: number | undefined;
|
|
10688
|
-
/**
|
|
10689
|
-
* <p>One or more filters.</p>
|
|
10690
|
-
* <ul>
|
|
10691
|
-
* <li>
|
|
10692
|
-
* <p>
|
|
10693
|
-
* <code>create-time</code> - The time the launch template version was
|
|
10694
|
-
* created.</p>
|
|
10695
|
-
* </li>
|
|
10696
|
-
* <li>
|
|
10697
|
-
* <p>
|
|
10698
|
-
* <code>ebs-optimized</code> - A boolean that indicates whether the instance is
|
|
10699
|
-
* optimized for Amazon EBS I/O.</p>
|
|
10700
|
-
* </li>
|
|
10701
|
-
* <li>
|
|
10702
|
-
* <p>
|
|
10703
|
-
* <code>http-endpoint</code> - Indicates whether the HTTP metadata endpoint on
|
|
10704
|
-
* your instances is enabled (<code>enabled</code> | <code>disabled</code>).</p>
|
|
10705
|
-
* </li>
|
|
10706
|
-
* <li>
|
|
10707
|
-
* <p>
|
|
10708
|
-
* <code>http-protocol-ipv4</code> - Indicates whether the IPv4 endpoint for the
|
|
10709
|
-
* instance metadata service is enabled (<code>enabled</code> |
|
|
10710
|
-
* <code>disabled</code>).</p>
|
|
10711
|
-
* </li>
|
|
10712
|
-
* <li>
|
|
10713
|
-
* <p>
|
|
10714
|
-
* <code>host-resource-group-arn</code> - The ARN of the host resource group in
|
|
10715
|
-
* which to launch the instances.</p>
|
|
10716
|
-
* </li>
|
|
10717
|
-
* <li>
|
|
10718
|
-
* <p>
|
|
10719
|
-
* <code>http-tokens</code> - The state of token usage for your instance metadata
|
|
10720
|
-
* requests (<code>optional</code> | <code>required</code>).</p>
|
|
10721
|
-
* </li>
|
|
10722
|
-
* <li>
|
|
10723
|
-
* <p>
|
|
10724
|
-
* <code>iam-instance-profile</code> - The ARN of the IAM instance
|
|
10725
|
-
* profile.</p>
|
|
10726
|
-
* </li>
|
|
10727
|
-
* <li>
|
|
10728
|
-
* <p>
|
|
10729
|
-
* <code>image-id</code> - The ID of the AMI.</p>
|
|
10730
|
-
* </li>
|
|
10731
|
-
* <li>
|
|
10732
|
-
* <p>
|
|
10733
|
-
* <code>instance-type</code> - The instance type.</p>
|
|
10734
|
-
* </li>
|
|
10735
|
-
* <li>
|
|
10736
|
-
* <p>
|
|
10737
|
-
* <code>is-default-version</code> - A boolean that indicates whether the launch
|
|
10738
|
-
* template version is the default version.</p>
|
|
10739
|
-
* </li>
|
|
10740
|
-
* <li>
|
|
10741
|
-
* <p>
|
|
10742
|
-
* <code>kernel-id</code> - The kernel ID.</p>
|
|
10743
|
-
* </li>
|
|
10744
|
-
* <li>
|
|
10745
|
-
* <p>
|
|
10746
|
-
* <code>license-configuration-arn</code> - The ARN of the license
|
|
10747
|
-
* configuration.</p>
|
|
10748
|
-
* </li>
|
|
10749
|
-
* <li>
|
|
10750
|
-
* <p>
|
|
10751
|
-
* <code>network-card-index</code> - The index of the network card.</p>
|
|
10752
|
-
* </li>
|
|
10753
|
-
* <li>
|
|
10754
|
-
* <p>
|
|
10755
|
-
* <code>ram-disk-id</code> - The RAM disk ID.</p>
|
|
10756
|
-
* </li>
|
|
10757
|
-
* </ul>
|
|
10758
|
-
* @public
|
|
10759
|
-
*/
|
|
10760
|
-
Filters?: Filter[] | undefined;
|
|
10761
|
-
/**
|
|
10762
|
-
* <p>If <code>true</code>, and if a Systems Manager parameter is specified for
|
|
10763
|
-
* <code>ImageId</code>, the AMI ID is displayed in the response for
|
|
10764
|
-
* <code>imageId</code>.</p>
|
|
10765
|
-
* <p>If <code>false</code>, and if a Systems Manager parameter is specified for
|
|
10766
|
-
* <code>ImageId</code>, the parameter is displayed in the response for
|
|
10767
|
-
* <code>imageId</code>.</p>
|
|
10768
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id">Use a Systems Manager parameter instead of an AMI ID</a> in the
|
|
10769
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
10770
|
-
* <p>Default: <code>false</code>
|
|
10771
|
-
* </p>
|
|
10772
|
-
* @public
|
|
10773
|
-
*/
|
|
10774
|
-
ResolveAlias?: boolean | undefined;
|
|
10775
|
-
}
|
|
10776
|
-
/**
|
|
10777
|
-
* @public
|
|
10778
|
-
*/
|
|
10779
|
-
export interface DescribeLaunchTemplateVersionsResult {
|
|
10780
|
-
/**
|
|
10781
|
-
* <p>Information about the launch template versions.</p>
|
|
10782
|
-
* @public
|
|
10783
|
-
*/
|
|
10784
|
-
LaunchTemplateVersions?: LaunchTemplateVersion[] | undefined;
|
|
10785
|
-
/**
|
|
10786
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code>
|
|
10787
|
-
* when there are no more results to return.</p>
|
|
10788
|
-
* @public
|
|
10789
|
-
*/
|
|
10790
|
-
NextToken?: string | undefined;
|
|
10791
|
-
}
|
|
10792
10678
|
/**
|
|
10793
10679
|
* @internal
|
|
10794
10680
|
*/
|
|
@@ -10837,7 +10723,3 @@ export declare const ImportSnapshotTaskFilterSensitiveLog: (obj: ImportSnapshotT
|
|
|
10837
10723
|
* @internal
|
|
10838
10724
|
*/
|
|
10839
10725
|
export declare const DescribeImportSnapshotTasksResultFilterSensitiveLog: (obj: DescribeImportSnapshotTasksResult) => any;
|
|
10840
|
-
/**
|
|
10841
|
-
* @internal
|
|
10842
|
-
*/
|
|
10843
|
-
export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (obj: DescribeLaunchTemplateVersionsResult) => any;
|