@aws-sdk/client-ec2 3.624.0 → 3.629.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.
Files changed (84) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +371 -152
  3. package/dist-es/EC2.js +4 -0
  4. package/dist-es/commands/CreateCapacityReservationBySplittingCommand.js +24 -0
  5. package/dist-es/commands/GetInstanceTpmEkPubCommand.js +1 -1
  6. package/dist-es/commands/ModifyVpnTunnelCertificateCommand.js +1 -1
  7. package/dist-es/commands/ModifyVpnTunnelOptionsCommand.js +1 -1
  8. package/dist-es/commands/MoveCapacityReservationInstancesCommand.js +24 -0
  9. package/dist-es/commands/index.js +2 -0
  10. package/dist-es/models/models_0.js +9 -3
  11. package/dist-es/models/models_1.js +3 -5
  12. package/dist-es/models/models_2.js +5 -0
  13. package/dist-es/models/models_3.js +0 -17
  14. package/dist-es/models/models_4.js +17 -10
  15. package/dist-es/models/models_5.js +11 -9
  16. package/dist-es/models/models_6.js +13 -16
  17. package/dist-es/models/models_7.js +18 -2
  18. package/dist-es/protocols/Aws_ec2.js +169 -8
  19. package/dist-types/EC2.d.ts +14 -0
  20. package/dist-types/EC2Client.d.ts +4 -2
  21. package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +2 -0
  22. package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -0
  23. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +148 -0
  24. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -0
  26. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +2 -0
  27. package/dist-types/commands/CreateIpamCommand.d.ts +2 -0
  28. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -2
  29. package/dist-types/commands/CreateSubnetCommand.d.ts +2 -0
  30. package/dist-types/commands/CreateVpcCommand.d.ts +2 -0
  31. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -0
  32. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -1
  33. package/dist-types/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteLocalGatewayRouteTableCommand.d.ts +1 -2
  35. package/dist-types/commands/DescribeAddressTransfersCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeIpamsCommand.d.ts +1 -0
  37. package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -0
  38. package/dist-types/commands/DescribeVpcsCommand.d.ts +2 -0
  39. package/dist-types/commands/DisassociateSubnetCidrBlockCommand.d.ts +2 -0
  40. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +2 -0
  41. package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -1
  42. package/dist-types/commands/GetInstanceTpmEkPubCommand.d.ts +1 -2
  43. package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -0
  44. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +5 -5
  45. package/dist-types/commands/ModifyIpamCommand.d.ts +2 -0
  46. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +2 -1
  47. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  48. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
  49. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +157 -0
  50. package/dist-types/commands/index.d.ts +2 -0
  51. package/dist-types/models/models_0.d.ts +108 -226
  52. package/dist-types/models/models_1.d.ts +236 -211
  53. package/dist-types/models/models_2.d.ts +214 -78
  54. package/dist-types/models/models_3.d.ts +77 -244
  55. package/dist-types/models/models_4.d.ts +248 -365
  56. package/dist-types/models/models_5.d.ts +359 -64
  57. package/dist-types/models/models_6.d.ts +101 -309
  58. package/dist-types/models/models_7.d.ts +370 -5
  59. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  60. package/dist-types/ts3.4/EC2.d.ts +40 -0
  61. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  62. package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +40 -0
  63. package/dist-types/ts3.4/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/CreateNetworkInterfaceCommand.d.ts +4 -2
  65. package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -4
  69. package/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +4 -2
  70. package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +2 -4
  71. package/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +4 -2
  73. package/dist-types/ts3.4/commands/MoveCapacityReservationInstancesCommand.d.ts +40 -0
  74. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  75. package/dist-types/ts3.4/models/models_0.d.ts +28 -44
  76. package/dist-types/ts3.4/models/models_1.d.ts +50 -39
  77. package/dist-types/ts3.4/models/models_2.d.ts +44 -20
  78. package/dist-types/ts3.4/models/models_3.d.ts +22 -60
  79. package/dist-types/ts3.4/models/models_4.d.ts +59 -51
  80. package/dist-types/ts3.4/models/models_5.d.ts +52 -21
  81. package/dist-types/ts3.4/models/models_6.d.ts +33 -62
  82. package/dist-types/ts3.4/models/models_7.d.ts +79 -3
  83. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  84. package/package.json +5 -5
@@ -1,5 +1,215 @@
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 { AttachmentEnaSrdUdpSpecification, CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, Ec2InstanceConnectEndpoint, GatewayType, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, NetworkInterfaceAssociation, 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
+ }
152
+ /**
153
+ * <p>Describes association information for an Elastic IP address (IPv4 only), or a Carrier
154
+ * IP address (for a network interface which resides in a subnet in a Wavelength
155
+ * Zone).</p>
156
+ * @public
157
+ */
158
+ export interface NetworkInterfaceAssociation {
159
+ /**
160
+ * <p>The allocation ID.</p>
161
+ * @public
162
+ */
163
+ AllocationId?: string;
164
+ /**
165
+ * <p>The association ID.</p>
166
+ * @public
167
+ */
168
+ AssociationId?: string;
169
+ /**
170
+ * <p>The ID of the Elastic IP address owner.</p>
171
+ * @public
172
+ */
173
+ IpOwnerId?: string;
174
+ /**
175
+ * <p>The public DNS name.</p>
176
+ * @public
177
+ */
178
+ PublicDnsName?: string;
179
+ /**
180
+ * <p>The address of the Elastic IP address bound to the network
181
+ * interface.</p>
182
+ * @public
183
+ */
184
+ PublicIp?: string;
185
+ /**
186
+ * <p>The customer-owned IP address associated with the network interface.</p>
187
+ * @public
188
+ */
189
+ CustomerOwnedIp?: string;
190
+ /**
191
+ * <p>The carrier IP address associated with the network interface.</p>
192
+ * <p>This option is only available when the network interface is in a subnet which is associated with a Wavelength Zone.</p>
193
+ * @public
194
+ */
195
+ CarrierIp?: string;
196
+ }
197
+ /**
198
+ * <p>ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic
199
+ * automatically uses it. However, some UDP-based applications are designed to handle network packets that are
200
+ * out of order, without a need for retransmission, such as live video broadcasting or other near-real-time
201
+ * applications. For UDP traffic, you can specify whether to use ENA Express, based on your application
202
+ * environment needs.</p>
203
+ * @public
204
+ */
205
+ export interface AttachmentEnaSrdUdpSpecification {
206
+ /**
207
+ * <p>Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting,
208
+ * you must first enable ENA Express.</p>
209
+ * @public
210
+ */
211
+ EnaSrdUdpEnabled?: boolean;
212
+ }
3
213
  /**
4
214
  * <p>ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the
5
215
  * maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances.
@@ -402,7 +612,7 @@ export interface CreateNetworkInterfacePermissionRequest {
402
612
  */
403
613
  AwsAccountId?: string;
404
614
  /**
405
- * <p>The Amazon Web Service. Currently not supported.</p>
615
+ * <p>The Amazon Web Services service. Currently not supported.</p>
406
616
  * @public
407
617
  */
408
618
  AwsService?: string;
@@ -470,7 +680,7 @@ export interface NetworkInterfacePermission {
470
680
  */
471
681
  AwsAccountId?: string;
472
682
  /**
473
- * <p>The Amazon Web Service.</p>
683
+ * <p>The Amazon Web Services service.</p>
474
684
  * @public
475
685
  */
476
686
  AwsService?: string;
@@ -1175,7 +1385,7 @@ export interface Route {
1175
1385
  */
1176
1386
  DestinationIpv6CidrBlock?: string;
1177
1387
  /**
1178
- * <p>The prefix of the Amazon Web Service.</p>
1388
+ * <p>The prefix of the Amazon Web Services service.</p>
1179
1389
  * @public
1180
1390
  */
1181
1391
  DestinationPrefixListId?: string;
@@ -7927,80 +8137,6 @@ export interface DeleteLaunchTemplateVersionsResponseErrorItem {
7927
8137
  */
7928
8138
  ResponseError?: ResponseError;
7929
8139
  }
7930
- /**
7931
- * @public
7932
- */
7933
- export interface DeleteLaunchTemplateVersionsResult {
7934
- /**
7935
- * <p>Information about the launch template versions that were successfully deleted.</p>
7936
- * @public
7937
- */
7938
- SuccessfullyDeletedLaunchTemplateVersions?: DeleteLaunchTemplateVersionsResponseSuccessItem[];
7939
- /**
7940
- * <p>Information about the launch template versions that could not be deleted.</p>
7941
- * @public
7942
- */
7943
- UnsuccessfullyDeletedLaunchTemplateVersions?: DeleteLaunchTemplateVersionsResponseErrorItem[];
7944
- }
7945
- /**
7946
- * @public
7947
- */
7948
- export interface DeleteLocalGatewayRouteRequest {
7949
- /**
7950
- * <p>The CIDR range for the route. This must match the CIDR for the route exactly.</p>
7951
- * @public
7952
- */
7953
- DestinationCidrBlock?: string;
7954
- /**
7955
- * <p>The ID of the local gateway route table.</p>
7956
- * @public
7957
- */
7958
- LocalGatewayRouteTableId: string | undefined;
7959
- /**
7960
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7961
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7962
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7963
- * @public
7964
- */
7965
- DryRun?: boolean;
7966
- /**
7967
- * <p>
7968
- * Use a prefix list in place of <code>DestinationCidrBlock</code>. You cannot use
7969
- * <code>DestinationPrefixListId</code> and <code>DestinationCidrBlock</code> in the same request.
7970
- * </p>
7971
- * @public
7972
- */
7973
- DestinationPrefixListId?: string;
7974
- }
7975
- /**
7976
- * @public
7977
- */
7978
- export interface DeleteLocalGatewayRouteResult {
7979
- /**
7980
- * <p>Information about the route.</p>
7981
- * @public
7982
- */
7983
- Route?: LocalGatewayRoute;
7984
- }
7985
- /**
7986
- * @public
7987
- */
7988
- export interface DeleteLocalGatewayRouteTableRequest {
7989
- /**
7990
- * <p>
7991
- * The ID of the local gateway route table.
7992
- * </p>
7993
- * @public
7994
- */
7995
- LocalGatewayRouteTableId: string | undefined;
7996
- /**
7997
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7998
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7999
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8000
- * @public
8001
- */
8002
- DryRun?: boolean;
8003
- }
8004
8140
  /**
8005
8141
  * @internal
8006
8142
  */
@@ -1,6 +1,80 @@
1
- import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, FleetCapacityReservation, FleetCapacityReservationTenancy, 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, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, ManagedPrefixList, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, 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
+ }
49
+ /**
50
+ * @public
51
+ */
52
+ export interface DeleteLocalGatewayRouteResult {
53
+ /**
54
+ * <p>Information about the route.</p>
55
+ * @public
56
+ */
57
+ Route?: LocalGatewayRoute;
58
+ }
59
+ /**
60
+ * @public
61
+ */
62
+ export interface DeleteLocalGatewayRouteTableRequest {
63
+ /**
64
+ * <p>
65
+ * The ID of the local gateway route table.
66
+ * </p>
67
+ * @public
68
+ */
69
+ LocalGatewayRouteTableId: string | undefined;
70
+ /**
71
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
72
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
73
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
74
+ * @public
75
+ */
76
+ DryRun?: boolean;
77
+ }
4
78
  /**
5
79
  * @public
6
80
  */
@@ -7909,247 +7983,6 @@ export declare const DeviceType: {
7909
7983
  * @public
7910
7984
  */
7911
7985
  export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];
7912
- /**
7913
- * @public
7914
- * @enum
7915
- */
7916
- export declare const ImageState: {
7917
- readonly available: "available";
7918
- readonly deregistered: "deregistered";
7919
- readonly disabled: "disabled";
7920
- readonly error: "error";
7921
- readonly failed: "failed";
7922
- readonly invalid: "invalid";
7923
- readonly pending: "pending";
7924
- readonly transient: "transient";
7925
- };
7926
- /**
7927
- * @public
7928
- */
7929
- export type ImageState = (typeof ImageState)[keyof typeof ImageState];
7930
- /**
7931
- * @public
7932
- * @enum
7933
- */
7934
- export declare const TpmSupportValues: {
7935
- readonly v2_0: "v2.0";
7936
- };
7937
- /**
7938
- * @public
7939
- */
7940
- export type TpmSupportValues = (typeof TpmSupportValues)[keyof typeof TpmSupportValues];
7941
- /**
7942
- * @public
7943
- * @enum
7944
- */
7945
- export declare const VirtualizationType: {
7946
- readonly hvm: "hvm";
7947
- readonly paravirtual: "paravirtual";
7948
- };
7949
- /**
7950
- * @public
7951
- */
7952
- export type VirtualizationType = (typeof VirtualizationType)[keyof typeof VirtualizationType];
7953
- /**
7954
- * <p>Describes an image.</p>
7955
- * @public
7956
- */
7957
- export interface Image {
7958
- /**
7959
- * <p>The architecture of the image.</p>
7960
- * @public
7961
- */
7962
- Architecture?: ArchitectureValues;
7963
- /**
7964
- * <p>The date and time the image was created.</p>
7965
- * @public
7966
- */
7967
- CreationDate?: string;
7968
- /**
7969
- * <p>The ID of the AMI.</p>
7970
- * @public
7971
- */
7972
- ImageId?: string;
7973
- /**
7974
- * <p>The location of the AMI.</p>
7975
- * @public
7976
- */
7977
- ImageLocation?: string;
7978
- /**
7979
- * <p>The type of image.</p>
7980
- * @public
7981
- */
7982
- ImageType?: ImageTypeValues;
7983
- /**
7984
- * <p>Indicates whether the image has public launch permissions. The value is <code>true</code> if
7985
- * this image has public launch permissions or <code>false</code>
7986
- * if it has only implicit and explicit launch permissions.</p>
7987
- * @public
7988
- */
7989
- Public?: boolean;
7990
- /**
7991
- * <p>The kernel associated with the image, if any. Only applicable for machine images.</p>
7992
- * @public
7993
- */
7994
- KernelId?: string;
7995
- /**
7996
- * <p>The ID of the Amazon Web Services account that owns the image.</p>
7997
- * @public
7998
- */
7999
- OwnerId?: string;
8000
- /**
8001
- * <p>This value is set to <code>windows</code> for Windows AMIs; otherwise, it is blank.</p>
8002
- * @public
8003
- */
8004
- Platform?: PlatformValues;
8005
- /**
8006
- * <p>The platform details associated with the billing code of the AMI. For more information,
8007
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">Understand
8008
- * AMI billing information</a> in the <i>Amazon EC2 User Guide</i>.</p>
8009
- * @public
8010
- */
8011
- PlatformDetails?: string;
8012
- /**
8013
- * <p>The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
8014
- * <code>usageOperation</code> corresponds to the <a href="https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation">lineitem/Operation</a> column on your Amazon Web Services Cost and Usage Report and in the <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html">Amazon Web Services Price
8015
- * List API</a>. You can view these fields on the <b>Instances</b> or
8016
- * <b>AMIs</b> pages in the Amazon EC2 console, or in the responses that are
8017
- * returned by the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a>
8018
- * command in the Amazon EC2 API, or the <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html">describe-images</a>
8019
- * command in the CLI.</p>
8020
- * @public
8021
- */
8022
- UsageOperation?: string;
8023
- /**
8024
- * <p>Any product codes associated with the AMI.</p>
8025
- * @public
8026
- */
8027
- ProductCodes?: ProductCode[];
8028
- /**
8029
- * <p>The RAM disk associated with the image, if any. Only applicable for machine images.</p>
8030
- * @public
8031
- */
8032
- RamdiskId?: string;
8033
- /**
8034
- * <p>The current state of the AMI. If the state is <code>available</code>, the image is successfully registered and can be used to launch an instance.</p>
8035
- * @public
8036
- */
8037
- State?: ImageState;
8038
- /**
8039
- * <p>Any block device mapping entries.</p>
8040
- * @public
8041
- */
8042
- BlockDeviceMappings?: BlockDeviceMapping[];
8043
- /**
8044
- * <p>The description of the AMI that was provided during image creation.</p>
8045
- * @public
8046
- */
8047
- Description?: string;
8048
- /**
8049
- * <p>Specifies whether enhanced networking with ENA is enabled.</p>
8050
- * @public
8051
- */
8052
- EnaSupport?: boolean;
8053
- /**
8054
- * <p>The hypervisor type of the image. Only <code>xen</code> is supported. <code>ovm</code> is
8055
- * not supported.</p>
8056
- * @public
8057
- */
8058
- Hypervisor?: HypervisorType;
8059
- /**
8060
- * <p>The owner alias (<code>amazon</code> | <code>aws-marketplace</code>).</p>
8061
- * @public
8062
- */
8063
- ImageOwnerAlias?: string;
8064
- /**
8065
- * <p>The name of the AMI that was provided during image creation.</p>
8066
- * @public
8067
- */
8068
- Name?: string;
8069
- /**
8070
- * <p>The device name of the root device volume (for example, <code>/dev/sda1</code>).</p>
8071
- * @public
8072
- */
8073
- RootDeviceName?: string;
8074
- /**
8075
- * <p>The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.</p>
8076
- * @public
8077
- */
8078
- RootDeviceType?: DeviceType;
8079
- /**
8080
- * <p>Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.</p>
8081
- * @public
8082
- */
8083
- SriovNetSupport?: string;
8084
- /**
8085
- * <p>The reason for the state change.</p>
8086
- * @public
8087
- */
8088
- StateReason?: StateReason;
8089
- /**
8090
- * <p>Any tags assigned to the image.</p>
8091
- * @public
8092
- */
8093
- Tags?: Tag[];
8094
- /**
8095
- * <p>The type of virtualization of the AMI.</p>
8096
- * @public
8097
- */
8098
- VirtualizationType?: VirtualizationType;
8099
- /**
8100
- * <p>The boot mode of the image. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
8101
- * <i>Amazon EC2 User Guide</i>.</p>
8102
- * @public
8103
- */
8104
- BootMode?: BootModeValues;
8105
- /**
8106
- * <p>If the image is configured for NitroTPM support, the value is <code>v2.0</code>.
8107
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html">NitroTPM</a> in the
8108
- * <i>Amazon EC2 User Guide</i>.</p>
8109
- * @public
8110
- */
8111
- TpmSupport?: TpmSupportValues;
8112
- /**
8113
- * <p>The date and time to deprecate the AMI, in UTC, in the following format:
8114
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z.
8115
- * If you specified a value for seconds, Amazon EC2 rounds the seconds to the
8116
- * nearest minute.</p>
8117
- * @public
8118
- */
8119
- DeprecationTime?: string;
8120
- /**
8121
- * <p>If <code>v2.0</code>, it indicates that IMDSv2 is specified in the AMI. Instances launched
8122
- * from this AMI will have <code>HttpTokens</code> automatically set to <code>required</code> so
8123
- * that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.
8124
- * In addition, <code>HttpPutResponseHopLimit</code> is set to <code>2</code>. For more
8125
- * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure
8126
- * the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
8127
- * @public
8128
- */
8129
- ImdsSupport?: ImdsSupportValues;
8130
- /**
8131
- * <p>The ID of the instance that the AMI was created from if the AMI was created using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>. This field only appears if the AMI was created using
8132
- * CreateImage.</p>
8133
- * @public
8134
- */
8135
- SourceInstanceId?: string;
8136
- /**
8137
- * <p>Indicates whether deregistration protection is enabled for the AMI.</p>
8138
- * @public
8139
- */
8140
- DeregistrationProtection?: string;
8141
- /**
8142
- * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
8143
- * format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used
8144
- * to launch an instance, there is a 24-hour delay before that usage is reported.</p>
8145
- * <note>
8146
- * <p>
8147
- * <code>lastLaunchedTime</code> data is available starting April 2017.</p>
8148
- * </note>
8149
- * @public
8150
- */
8151
- LastLaunchedTime?: string;
8152
- }
8153
7986
  /**
8154
7987
  * @internal
8155
7988
  */