@aws-sdk/client-ec2 3.627.0 → 3.631.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 +16 -0
- package/dist-cjs/index.js +238 -69
- package/dist-es/EC2.js +4 -0
- package/dist-es/commands/CreateCapacityReservationBySplittingCommand.js +24 -0
- package/dist-es/commands/ModifyVpnTunnelCertificateCommand.js +1 -1
- package/dist-es/commands/MoveCapacityReservationInstancesCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +0 -3
- package/dist-es/models/models_1.js +3 -5
- package/dist-es/models/models_2.js +5 -0
- package/dist-es/models/models_3.js +0 -13
- package/dist-es/models/models_4.js +13 -4
- package/dist-es/models/models_5.js +4 -4
- package/dist-es/models/models_6.js +4 -8
- package/dist-es/models/models_7.js +8 -0
- package/dist-es/protocols/Aws_ec2.js +139 -8
- package/dist-types/EC2.d.ts +14 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +148 -0
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -2
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -2
- package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAddressTransfersCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -1
- package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +5 -5
- package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +2 -1
- package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +157 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +63 -99
- package/dist-types/models/models_1.d.ts +99 -150
- package/dist-types/models/models_2.d.ts +153 -49
- package/dist-types/models/models_3.d.ts +48 -32
- package/dist-types/models/models_4.d.ts +34 -52
- package/dist-types/models/models_5.d.ts +48 -23
- package/dist-types/models/models_6.d.ts +35 -237
- package/dist-types/models/models_7.d.ts +299 -4
- package/dist-types/protocols/Aws_ec2.d.ts +18 -0
- package/dist-types/ts3.4/EC2.d.ts +40 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationFleetCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateNetworkInterfaceCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/MoveCapacityReservationInstancesCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -18
- package/dist-types/ts3.4/models/models_1.d.ts +19 -28
- package/dist-types/ts3.4/models/models_2.d.ts +32 -10
- package/dist-types/ts3.4/models/models_3.d.ts +13 -17
- package/dist-types/ts3.4/models/models_4.d.ts +16 -12
- package/dist-types/ts3.4/models/models_5.d.ts +10 -10
- package/dist-types/ts3.4/models/models_6.d.ts +12 -40
- package/dist-types/ts3.4/models/models_7.d.ts +53 -5
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
- package/package.json +7 -7
|
@@ -1,5 +1,154 @@
|
|
|
1
1
|
import { ApplianceModeSupportValue, AttachmentStatus, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv4PrefixSpecification, Ipv6SupportValue, ReservedInstancesListing, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
|
|
2
|
-
import { CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, Ec2InstanceConnectEndpoint, GatewayType, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
|
|
2
|
+
import { CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, ConnectionTrackingSpecificationRequest, Ec2InstanceConnectEndpoint, GatewayType, InstanceIpv6Address, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplate, PrivateIpAddressSpecification, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* @enum
|
|
6
|
+
*/
|
|
7
|
+
export declare const NetworkInterfaceCreationType: {
|
|
8
|
+
readonly branch: "branch";
|
|
9
|
+
readonly efa: "efa";
|
|
10
|
+
readonly trunk: "trunk";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type NetworkInterfaceCreationType = (typeof NetworkInterfaceCreationType)[keyof typeof NetworkInterfaceCreationType];
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateNetworkInterfaceRequest {
|
|
20
|
+
/**
|
|
21
|
+
* <p>A description for the network interface.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
Description?: string;
|
|
25
|
+
/**
|
|
26
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
27
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
28
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
DryRun?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The IDs of one or more security groups.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
Groups?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* <p>The number of IPv6 addresses to assign to a network interface. Amazon EC2
|
|
39
|
+
* automatically selects the IPv6 addresses from the subnet range.</p>
|
|
40
|
+
* <p>You can't specify a count of IPv6 addresses using this parameter if you've specified
|
|
41
|
+
* one of the following: specific IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.</p>
|
|
42
|
+
* <p>If your subnet has the <code>AssignIpv6AddressOnCreation</code> attribute set, you can
|
|
43
|
+
* override that setting by specifying 0 as the IPv6 address count.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
Ipv6AddressCount?: number;
|
|
47
|
+
/**
|
|
48
|
+
* <p>The IPv6 addresses from the IPv6 CIDR block range of your subnet.</p>
|
|
49
|
+
* <p>You can't specify IPv6 addresses using this parameter if you've specified one of the
|
|
50
|
+
* following: a count of IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
Ipv6Addresses?: InstanceIpv6Address[];
|
|
54
|
+
/**
|
|
55
|
+
* <p>The primary private IPv4 address of the network interface. If you don't specify an
|
|
56
|
+
* IPv4 address, Amazon EC2 selects one for you from the subnet's IPv4 CIDR range. If you
|
|
57
|
+
* specify an IP address, you cannot indicate any IP addresses specified in
|
|
58
|
+
* <code>privateIpAddresses</code> as primary (only one IP address can be designated as
|
|
59
|
+
* primary).</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
PrivateIpAddress?: string;
|
|
63
|
+
/**
|
|
64
|
+
* <p>The private IPv4 addresses.</p>
|
|
65
|
+
* <p>You can't specify private IPv4 addresses if you've specified one of the following:
|
|
66
|
+
* a count of private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
PrivateIpAddresses?: PrivateIpAddressSpecification[];
|
|
70
|
+
/**
|
|
71
|
+
* <p>The number of secondary private IPv4 addresses to assign to a network interface. When
|
|
72
|
+
* you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses
|
|
73
|
+
* within the subnet's IPv4 CIDR range. You can't specify this option and specify more than
|
|
74
|
+
* one private IP address using <code>privateIpAddresses</code>.</p>
|
|
75
|
+
* <p>You can't specify a count of private IPv4 addresses if you've specified one of the following:
|
|
76
|
+
* specific private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
SecondaryPrivateIpAddressCount?: number;
|
|
80
|
+
/**
|
|
81
|
+
* <p>The IPv4 prefixes assigned to the network interface.</p>
|
|
82
|
+
* <p>You can't specify IPv4 prefixes if you've specified one of the following:
|
|
83
|
+
* a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
Ipv4Prefixes?: Ipv4PrefixSpecificationRequest[];
|
|
87
|
+
/**
|
|
88
|
+
* <p>The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface.</p>
|
|
89
|
+
* <p>You can't specify a count of IPv4 prefixes if you've specified one of the following:
|
|
90
|
+
* specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4
|
|
91
|
+
* addresses.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
Ipv4PrefixCount?: number;
|
|
95
|
+
/**
|
|
96
|
+
* <p>The IPv6 prefixes assigned to the network interface.</p>
|
|
97
|
+
* <p>You can't specify IPv6 prefixes if you've specified one of the following:
|
|
98
|
+
* a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.</p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[];
|
|
102
|
+
/**
|
|
103
|
+
* <p>The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface.</p>
|
|
104
|
+
* <p>You can't specify a count of IPv6 prefixes if you've specified one of the following:
|
|
105
|
+
* specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
Ipv6PrefixCount?: number;
|
|
109
|
+
/**
|
|
110
|
+
* <p>The type of network interface. The default is <code>interface</code>.</p>
|
|
111
|
+
* <p>The only supported values are <code>interface</code>, <code>efa</code>, and <code>trunk</code>.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
InterfaceType?: NetworkInterfaceCreationType;
|
|
115
|
+
/**
|
|
116
|
+
* <p>The ID of the subnet to associate with the network interface.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
SubnetId: string | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* <p>The tags to apply to the new network interface.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
TagSpecifications?: TagSpecification[];
|
|
125
|
+
/**
|
|
126
|
+
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
ClientToken?: string;
|
|
130
|
+
/**
|
|
131
|
+
* <p>If you’re creating a network interface in a dual-stack or IPv6-only subnet, you have
|
|
132
|
+
* the option to assign a primary IPv6 IP address. A primary IPv6 address is an IPv6 GUA
|
|
133
|
+
* address associated with an ENI that you have enabled to use a primary IPv6 address. Use this option if the instance that
|
|
134
|
+
* this ENI will be attached to relies on its IPv6 address not changing. Amazon Web Services
|
|
135
|
+
* will automatically assign an IPv6 address associated with the ENI attached to your
|
|
136
|
+
* instance to be the primary IPv6 address. Once you enable an IPv6 GUA address to be a
|
|
137
|
+
* primary IPv6, you cannot disable it. When you enable an IPv6 GUA address to be a primary
|
|
138
|
+
* IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is
|
|
139
|
+
* terminated or the network interface is detached. If you have multiple IPv6 addresses
|
|
140
|
+
* associated with an ENI attached to your instance and you enable a primary IPv6 address,
|
|
141
|
+
* the first IPv6 GUA address associated with the ENI becomes the primary IPv6
|
|
142
|
+
* address.</p>
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
EnablePrimaryIpv6?: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* <p>A connection tracking specification for the network interface.</p>
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
ConnectionTrackingSpecification?: ConnectionTrackingSpecificationRequest;
|
|
151
|
+
}
|
|
3
152
|
/**
|
|
4
153
|
* <p>Describes association information for an Elastic IP address (IPv4 only), or a Carrier
|
|
5
154
|
* IP address (for a network interface which resides in a subnet in a Wavelength
|
|
@@ -463,7 +612,7 @@ export interface CreateNetworkInterfacePermissionRequest {
|
|
|
463
612
|
*/
|
|
464
613
|
AwsAccountId?: string;
|
|
465
614
|
/**
|
|
466
|
-
* <p>The Amazon Web
|
|
615
|
+
* <p>The Amazon Web Services service. Currently not supported.</p>
|
|
467
616
|
* @public
|
|
468
617
|
*/
|
|
469
618
|
AwsService?: string;
|
|
@@ -531,7 +680,7 @@ export interface NetworkInterfacePermission {
|
|
|
531
680
|
*/
|
|
532
681
|
AwsAccountId?: string;
|
|
533
682
|
/**
|
|
534
|
-
* <p>The Amazon Web
|
|
683
|
+
* <p>The Amazon Web Services service.</p>
|
|
535
684
|
* @public
|
|
536
685
|
*/
|
|
537
686
|
AwsService?: string;
|
|
@@ -1236,7 +1385,7 @@ export interface Route {
|
|
|
1236
1385
|
*/
|
|
1237
1386
|
DestinationIpv6CidrBlock?: string;
|
|
1238
1387
|
/**
|
|
1239
|
-
* <p>The prefix of the Amazon Web
|
|
1388
|
+
* <p>The prefix of the Amazon Web Services service.</p>
|
|
1240
1389
|
* @public
|
|
1241
1390
|
*/
|
|
1242
1391
|
DestinationPrefixListId?: string;
|
|
@@ -7988,51 +8137,6 @@ export interface DeleteLaunchTemplateVersionsResponseErrorItem {
|
|
|
7988
8137
|
*/
|
|
7989
8138
|
ResponseError?: ResponseError;
|
|
7990
8139
|
}
|
|
7991
|
-
/**
|
|
7992
|
-
* @public
|
|
7993
|
-
*/
|
|
7994
|
-
export interface DeleteLaunchTemplateVersionsResult {
|
|
7995
|
-
/**
|
|
7996
|
-
* <p>Information about the launch template versions that were successfully deleted.</p>
|
|
7997
|
-
* @public
|
|
7998
|
-
*/
|
|
7999
|
-
SuccessfullyDeletedLaunchTemplateVersions?: DeleteLaunchTemplateVersionsResponseSuccessItem[];
|
|
8000
|
-
/**
|
|
8001
|
-
* <p>Information about the launch template versions that could not be deleted.</p>
|
|
8002
|
-
* @public
|
|
8003
|
-
*/
|
|
8004
|
-
UnsuccessfullyDeletedLaunchTemplateVersions?: DeleteLaunchTemplateVersionsResponseErrorItem[];
|
|
8005
|
-
}
|
|
8006
|
-
/**
|
|
8007
|
-
* @public
|
|
8008
|
-
*/
|
|
8009
|
-
export interface DeleteLocalGatewayRouteRequest {
|
|
8010
|
-
/**
|
|
8011
|
-
* <p>The CIDR range for the route. This must match the CIDR for the route exactly.</p>
|
|
8012
|
-
* @public
|
|
8013
|
-
*/
|
|
8014
|
-
DestinationCidrBlock?: string;
|
|
8015
|
-
/**
|
|
8016
|
-
* <p>The ID of the local gateway route table.</p>
|
|
8017
|
-
* @public
|
|
8018
|
-
*/
|
|
8019
|
-
LocalGatewayRouteTableId: string | undefined;
|
|
8020
|
-
/**
|
|
8021
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8022
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8023
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8024
|
-
* @public
|
|
8025
|
-
*/
|
|
8026
|
-
DryRun?: boolean;
|
|
8027
|
-
/**
|
|
8028
|
-
* <p>
|
|
8029
|
-
* Use a prefix list in place of <code>DestinationCidrBlock</code>. You cannot use
|
|
8030
|
-
* <code>DestinationPrefixListId</code> and <code>DestinationCidrBlock</code> in the same request.
|
|
8031
|
-
* </p>
|
|
8032
|
-
* @public
|
|
8033
|
-
*/
|
|
8034
|
-
DestinationPrefixListId?: string;
|
|
8035
|
-
}
|
|
8036
8140
|
/**
|
|
8037
8141
|
* @internal
|
|
8038
8142
|
*/
|
|
@@ -1,6 +1,51 @@
|
|
|
1
|
-
import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues,
|
|
2
|
-
import { AttributeValue, BlockDeviceMapping, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, ManagedPrefixList, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
|
|
3
|
-
import { FleetStateCode, GroupIdentifier, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
|
|
1
|
+
import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, FleetInstanceMatchCriteria, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
|
+
import { AttributeValue, BlockDeviceMapping, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, ManagedPrefixList, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
|
|
3
|
+
import { DeleteLaunchTemplateVersionsResponseErrorItem, DeleteLaunchTemplateVersionsResponseSuccessItem, FleetStateCode, GroupIdentifier, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface DeleteLaunchTemplateVersionsResult {
|
|
8
|
+
/**
|
|
9
|
+
* <p>Information about the launch template versions that were successfully deleted.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
SuccessfullyDeletedLaunchTemplateVersions?: DeleteLaunchTemplateVersionsResponseSuccessItem[];
|
|
13
|
+
/**
|
|
14
|
+
* <p>Information about the launch template versions that could not be deleted.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
UnsuccessfullyDeletedLaunchTemplateVersions?: DeleteLaunchTemplateVersionsResponseErrorItem[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteLocalGatewayRouteRequest {
|
|
23
|
+
/**
|
|
24
|
+
* <p>The CIDR range for the route. This must match the CIDR for the route exactly.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
DestinationCidrBlock?: string;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The ID of the local gateway route table.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
LocalGatewayRouteTableId: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
35
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
36
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
DryRun?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* <p>
|
|
42
|
+
* Use a prefix list in place of <code>DestinationCidrBlock</code>. You cannot use
|
|
43
|
+
* <code>DestinationPrefixListId</code> and <code>DestinationCidrBlock</code> in the same request.
|
|
44
|
+
* </p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
DestinationPrefixListId?: string;
|
|
48
|
+
}
|
|
4
49
|
/**
|
|
5
50
|
* @public
|
|
6
51
|
*/
|
|
@@ -7938,35 +7983,6 @@ export declare const DeviceType: {
|
|
|
7938
7983
|
* @public
|
|
7939
7984
|
*/
|
|
7940
7985
|
export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];
|
|
7941
|
-
/**
|
|
7942
|
-
* @public
|
|
7943
|
-
* @enum
|
|
7944
|
-
*/
|
|
7945
|
-
export declare const ImageState: {
|
|
7946
|
-
readonly available: "available";
|
|
7947
|
-
readonly deregistered: "deregistered";
|
|
7948
|
-
readonly disabled: "disabled";
|
|
7949
|
-
readonly error: "error";
|
|
7950
|
-
readonly failed: "failed";
|
|
7951
|
-
readonly invalid: "invalid";
|
|
7952
|
-
readonly pending: "pending";
|
|
7953
|
-
readonly transient: "transient";
|
|
7954
|
-
};
|
|
7955
|
-
/**
|
|
7956
|
-
* @public
|
|
7957
|
-
*/
|
|
7958
|
-
export type ImageState = (typeof ImageState)[keyof typeof ImageState];
|
|
7959
|
-
/**
|
|
7960
|
-
* @public
|
|
7961
|
-
* @enum
|
|
7962
|
-
*/
|
|
7963
|
-
export declare const TpmSupportValues: {
|
|
7964
|
-
readonly v2_0: "v2.0";
|
|
7965
|
-
};
|
|
7966
|
-
/**
|
|
7967
|
-
* @public
|
|
7968
|
-
*/
|
|
7969
|
-
export type TpmSupportValues = (typeof TpmSupportValues)[keyof typeof TpmSupportValues];
|
|
7970
7986
|
/**
|
|
7971
7987
|
* @internal
|
|
7972
7988
|
*/
|
|
@@ -1,7 +1,36 @@
|
|
|
1
1
|
import { _InstanceType, ActiveInstance, AlternatePathHint, AttachmentStatus, CurrencyCodeValues, Explanation, IamInstanceProfile, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag } from "./models_0";
|
|
2
2
|
import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ConnectionTrackingSpecificationRequest, Ec2InstanceConnectEndpoint, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, HostnameType, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, Placement, PlatformValues, PrivateIpAddressSpecification, StateReason, Tenancy } from "./models_1";
|
|
3
3
|
import { GroupIdentifier, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, StorageTier } from "./models_2";
|
|
4
|
-
import { ArchitectureValues, BootModeValues, Byoasn, DeviceType, EventInformation, Filter, HypervisorType, IdFormat,
|
|
4
|
+
import { ArchitectureValues, BootModeValues, Byoasn, DeviceType, EventInformation, Filter, HypervisorType, IdFormat, ImageTypeValues, ImdsSupportValues, InstanceTagNotificationAttribute, PermissionGroup, ProductCode } from "./models_3";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
* @enum
|
|
8
|
+
*/
|
|
9
|
+
export declare const ImageState: {
|
|
10
|
+
readonly available: "available";
|
|
11
|
+
readonly deregistered: "deregistered";
|
|
12
|
+
readonly disabled: "disabled";
|
|
13
|
+
readonly error: "error";
|
|
14
|
+
readonly failed: "failed";
|
|
15
|
+
readonly invalid: "invalid";
|
|
16
|
+
readonly pending: "pending";
|
|
17
|
+
readonly transient: "transient";
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export type ImageState = (typeof ImageState)[keyof typeof ImageState];
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
* @enum
|
|
26
|
+
*/
|
|
27
|
+
export declare const TpmSupportValues: {
|
|
28
|
+
readonly v2_0: "v2.0";
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export type TpmSupportValues = (typeof TpmSupportValues)[keyof typeof TpmSupportValues];
|
|
5
34
|
/**
|
|
6
35
|
* @public
|
|
7
36
|
* @enum
|
|
@@ -7399,7 +7428,7 @@ export interface DescribeNetworkInterfacePermissionsRequest {
|
|
|
7399
7428
|
* </li>
|
|
7400
7429
|
* <li>
|
|
7401
7430
|
* <p>
|
|
7402
|
-
* <code>network-interface-permission.aws-service</code> - The Amazon Web
|
|
7431
|
+
* <code>network-interface-permission.aws-service</code> - The Amazon Web Services service.</p>
|
|
7403
7432
|
* </li>
|
|
7404
7433
|
* <li>
|
|
7405
7434
|
* <p>
|
|
@@ -7582,7 +7611,7 @@ export interface DescribeNetworkInterfacesRequest {
|
|
|
7582
7611
|
* </li>
|
|
7583
7612
|
* <li>
|
|
7584
7613
|
* <p>
|
|
7585
|
-
* <code>requester-managed</code> - Indicates whether the network interface is being managed by an Amazon Web
|
|
7614
|
+
* <code>requester-managed</code> - Indicates whether the network interface is being managed by an Amazon Web Services service
|
|
7586
7615
|
* (for example, Amazon Web Services Management Console, Auto Scaling, and so on).</p>
|
|
7587
7616
|
* </li>
|
|
7588
7617
|
* <li>
|
|
@@ -7796,7 +7825,7 @@ export interface DescribePrefixListsRequest {
|
|
|
7796
7825
|
*/
|
|
7797
7826
|
export interface PrefixList {
|
|
7798
7827
|
/**
|
|
7799
|
-
* <p>The IP address range of the Amazon Web
|
|
7828
|
+
* <p>The IP address range of the Amazon Web Services service.</p>
|
|
7800
7829
|
* @public
|
|
7801
7830
|
*/
|
|
7802
7831
|
Cidrs?: string[];
|
|
@@ -9031,7 +9060,7 @@ export interface DescribeRouteTablesRequest {
|
|
|
9031
9060
|
* </li>
|
|
9032
9061
|
* <li>
|
|
9033
9062
|
* <p>
|
|
9034
|
-
* <code>route.destination-prefix-list-id</code> - The ID (prefix) of the Amazon Web
|
|
9063
|
+
* <code>route.destination-prefix-list-id</code> - The ID (prefix) of the Amazon Web Services service
|
|
9035
9064
|
* specified in a route in the table.</p>
|
|
9036
9065
|
* </li>
|
|
9037
9066
|
* <li>
|
|
@@ -11020,53 +11049,6 @@ export declare const OnDemandAllocationStrategy: {
|
|
|
11020
11049
|
* @public
|
|
11021
11050
|
*/
|
|
11022
11051
|
export type OnDemandAllocationStrategy = (typeof OnDemandAllocationStrategy)[keyof typeof OnDemandAllocationStrategy];
|
|
11023
|
-
/**
|
|
11024
|
-
* @public
|
|
11025
|
-
* @enum
|
|
11026
|
-
*/
|
|
11027
|
-
export declare const ReplacementStrategy: {
|
|
11028
|
-
readonly LAUNCH: "launch";
|
|
11029
|
-
readonly LAUNCH_BEFORE_TERMINATE: "launch-before-terminate";
|
|
11030
|
-
};
|
|
11031
|
-
/**
|
|
11032
|
-
* @public
|
|
11033
|
-
*/
|
|
11034
|
-
export type ReplacementStrategy = (typeof ReplacementStrategy)[keyof typeof ReplacementStrategy];
|
|
11035
|
-
/**
|
|
11036
|
-
* <p>The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your
|
|
11037
|
-
* Spot Instance is at an elevated risk of being interrupted. For more information, see
|
|
11038
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html">Capacity
|
|
11039
|
-
* rebalancing</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
11040
|
-
* @public
|
|
11041
|
-
*/
|
|
11042
|
-
export interface SpotCapacityRebalance {
|
|
11043
|
-
/**
|
|
11044
|
-
* <p>The replacement strategy to use. Only available for fleets of type
|
|
11045
|
-
* <code>maintain</code>.</p>
|
|
11046
|
-
* <p>
|
|
11047
|
-
* <code>launch</code> - Spot Fleet launches a new replacement Spot Instance when a
|
|
11048
|
-
* rebalance notification is emitted for an existing Spot Instance in the fleet. Spot Fleet
|
|
11049
|
-
* does not terminate the instances that receive a rebalance notification. You can
|
|
11050
|
-
* terminate the old instances, or you can leave them running. You are charged for all
|
|
11051
|
-
* instances while they are running. </p>
|
|
11052
|
-
* <p>
|
|
11053
|
-
* <code>launch-before-terminate</code> - Spot Fleet launches a new replacement Spot
|
|
11054
|
-
* Instance when a rebalance notification is emitted for an existing Spot Instance in the
|
|
11055
|
-
* fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>),
|
|
11056
|
-
* terminates the instances that received a rebalance notification.</p>
|
|
11057
|
-
* @public
|
|
11058
|
-
*/
|
|
11059
|
-
ReplacementStrategy?: ReplacementStrategy;
|
|
11060
|
-
/**
|
|
11061
|
-
* <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
|
|
11062
|
-
* Instance after launching a new replacement Spot Instance.</p>
|
|
11063
|
-
* <p>Required when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
|
|
11064
|
-
* <p>Not valid when <code>ReplacementStrategy</code> is set to <code>launch</code>.</p>
|
|
11065
|
-
* <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
|
|
11066
|
-
* @public
|
|
11067
|
-
*/
|
|
11068
|
-
TerminationDelay?: number;
|
|
11069
|
-
}
|
|
11070
11052
|
/**
|
|
11071
11053
|
* @internal
|
|
11072
11054
|
*/
|
|
@@ -2,7 +2,54 @@ import { _InstanceType, ActivityStatus, AddressTransfer, AllocationStrategy, All
|
|
|
2
2
|
import { BlockDeviceMapping, DiskImageFormat, FleetType, InstanceInterruptionBehavior, SpotInstanceType, Subnet, TargetCapacityUnitType, VolumeType, Vpc } from "./models_1";
|
|
3
3
|
import { ConnectionNotification, DnsEntry, DnsNameState, GroupIdentifier, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SpotInstanceStateFault, SSEType, State, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
4
|
import { ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, PaymentOption, PeriodType, ProductCode, StatisticType } from "./models_3";
|
|
5
|
-
import { AttributeBooleanValue, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceMetadataEndpointState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, LaunchTemplateConfig, LoadBalancersConfig, OnDemandAllocationStrategy, RIProductDescription,
|
|
5
|
+
import { AttributeBooleanValue, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceMetadataEndpointState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, LaunchTemplateConfig, LoadBalancersConfig, OnDemandAllocationStrategy, RIProductDescription, SpotFleetLaunchSpecification, SpotPlacement } from "./models_4";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
* @enum
|
|
9
|
+
*/
|
|
10
|
+
export declare const ReplacementStrategy: {
|
|
11
|
+
readonly LAUNCH: "launch";
|
|
12
|
+
readonly LAUNCH_BEFORE_TERMINATE: "launch-before-terminate";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export type ReplacementStrategy = (typeof ReplacementStrategy)[keyof typeof ReplacementStrategy];
|
|
18
|
+
/**
|
|
19
|
+
* <p>The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your
|
|
20
|
+
* Spot Instance is at an elevated risk of being interrupted. For more information, see
|
|
21
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html">Capacity
|
|
22
|
+
* rebalancing</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export interface SpotCapacityRebalance {
|
|
26
|
+
/**
|
|
27
|
+
* <p>The replacement strategy to use. Only available for fleets of type
|
|
28
|
+
* <code>maintain</code>.</p>
|
|
29
|
+
* <p>
|
|
30
|
+
* <code>launch</code> - Spot Fleet launches a new replacement Spot Instance when a
|
|
31
|
+
* rebalance notification is emitted for an existing Spot Instance in the fleet. Spot Fleet
|
|
32
|
+
* does not terminate the instances that receive a rebalance notification. You can
|
|
33
|
+
* terminate the old instances, or you can leave them running. You are charged for all
|
|
34
|
+
* instances while they are running. </p>
|
|
35
|
+
* <p>
|
|
36
|
+
* <code>launch-before-terminate</code> - Spot Fleet launches a new replacement Spot
|
|
37
|
+
* Instance when a rebalance notification is emitted for an existing Spot Instance in the
|
|
38
|
+
* fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>),
|
|
39
|
+
* terminates the instances that received a rebalance notification.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
ReplacementStrategy?: ReplacementStrategy;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
|
|
45
|
+
* Instance after launching a new replacement Spot Instance.</p>
|
|
46
|
+
* <p>Required when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
|
|
47
|
+
* <p>Not valid when <code>ReplacementStrategy</code> is set to <code>launch</code>.</p>
|
|
48
|
+
* <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
TerminationDelay?: number;
|
|
52
|
+
}
|
|
6
53
|
/**
|
|
7
54
|
* <p>The strategies for managing your Spot Instances that are at an elevated risk of being
|
|
8
55
|
* interrupted.</p>
|
|
@@ -8392,28 +8439,6 @@ export interface InstanceMetadataDefaultsResponse {
|
|
|
8392
8439
|
*/
|
|
8393
8440
|
InstanceMetadataTags?: InstanceMetadataTagsState;
|
|
8394
8441
|
}
|
|
8395
|
-
/**
|
|
8396
|
-
* @public
|
|
8397
|
-
*/
|
|
8398
|
-
export interface GetInstanceMetadataDefaultsResult {
|
|
8399
|
-
/**
|
|
8400
|
-
* <p>The account-level default IMDS settings.</p>
|
|
8401
|
-
* @public
|
|
8402
|
-
*/
|
|
8403
|
-
AccountLevel?: InstanceMetadataDefaultsResponse;
|
|
8404
|
-
}
|
|
8405
|
-
/**
|
|
8406
|
-
* @public
|
|
8407
|
-
* @enum
|
|
8408
|
-
*/
|
|
8409
|
-
export declare const EkPubKeyFormat: {
|
|
8410
|
-
readonly der: "der";
|
|
8411
|
-
readonly tpmt: "tpmt";
|
|
8412
|
-
};
|
|
8413
|
-
/**
|
|
8414
|
-
* @public
|
|
8415
|
-
*/
|
|
8416
|
-
export type EkPubKeyFormat = (typeof EkPubKeyFormat)[keyof typeof EkPubKeyFormat];
|
|
8417
8442
|
/**
|
|
8418
8443
|
* @internal
|
|
8419
8444
|
*/
|