@aws-sdk/client-ec2 3.44.0 → 3.47.1
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/CHANGELOG.md +48 -0
- package/README.md +3 -3
- package/dist-cjs/EC2.js +15 -0
- package/dist-cjs/commands/GetIpamResourceCidrsCommand.js +2 -1
- package/dist-cjs/commands/GetLaunchTemplateDataCommand.js +1 -2
- package/dist-cjs/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoints.js +1 -32
- package/dist-cjs/models/models_1.js +10 -11
- package/dist-cjs/models/models_2.js +16 -12
- package/dist-cjs/models/models_3.js +17 -24
- package/dist-cjs/models/models_4.js +24 -24
- package/dist-cjs/models/models_5.js +36 -36
- package/dist-cjs/models/models_6.js +32 -2
- package/dist-cjs/protocols/Aws_ec2.js +123 -13
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-cjs/waiters/index.js +1 -0
- package/dist-cjs/waiters/waitForInternetGatewayExists.js +43 -0
- package/dist-es/EC2.js +15 -0
- package/dist-es/commands/GetIpamResourceCidrsCommand.js +2 -1
- package/dist-es/commands/GetLaunchTemplateDataCommand.js +1 -2
- package/dist-es/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoints.js +1 -32
- package/dist-es/models/models_1.js +5 -4
- package/dist-es/models/models_2.js +8 -4
- package/dist-es/models/models_3.js +9 -12
- package/dist-es/models/models_4.js +12 -12
- package/dist-es/models/models_5.js +20 -20
- package/dist-es/models/models_6.js +20 -0
- package/dist-es/protocols/Aws_ec2.js +112 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForInternetGatewayExists.js +58 -0
- package/dist-types/EC2.d.ts +15 -5
- package/dist-types/EC2Client.d.ts +11 -6
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +4 -1
- package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +2 -1
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -2
- package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +16 -0
- package/dist-types/models/models_1.d.ts +32 -38
- package/dist-types/models/models_2.d.ts +46 -40
- package/dist-types/models/models_3.d.ts +86 -88
- package/dist-types/models/models_4.d.ts +99 -115
- package/dist-types/models/models_5.d.ts +163 -144
- package/dist-types/models/models_6.d.ts +149 -8
- package/dist-types/protocols/Aws_ec2.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/EC2.d.ts +5 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -3
- package/dist-types/ts3.4/commands/GetIpamResourceCidrsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetLaunchTemplateDataCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/dist-types/ts3.4/models/models_1.d.ts +10 -17
- package/dist-types/ts3.4/models/models_2.d.ts +23 -19
- package/dist-types/ts3.4/models/models_3.d.ts +25 -46
- package/dist-types/ts3.4/models/models_4.d.ts +50 -60
- package/dist-types/ts3.4/models/models_5.d.ts +86 -64
- package/dist-types/ts3.4/models/models_6.d.ts +62 -3
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForInternetGatewayExists.d.ts +7 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForInternetGatewayExists.d.ts +14 -0
- package/package.json +41 -48
|
@@ -628,7 +628,7 @@ export declare enum FleetReplacementStrategy {
|
|
|
628
628
|
/**
|
|
629
629
|
* <p>The Spot Instance replacement strategy to use when Amazon EC2 emits a rebalance
|
|
630
630
|
* notification signal that your Spot Instance is at an elevated risk of being interrupted.
|
|
631
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-
|
|
631
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-capacity-rebalance.html">Capacity rebalancing</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
632
632
|
*/
|
|
633
633
|
export interface FleetSpotCapacityRebalanceRequest {
|
|
634
634
|
/**
|
|
@@ -650,7 +650,8 @@ export interface FleetSpotCapacityRebalanceRequest {
|
|
|
650
650
|
/**
|
|
651
651
|
* <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
|
|
652
652
|
* Instance after launching a new replacement Spot Instance.</p>
|
|
653
|
-
* <p>
|
|
653
|
+
* <p>Required when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
|
|
654
|
+
* <p>Not valid when <code>ReplacementStrategy</code> is set to <code>launch</code>.</p>
|
|
654
655
|
* <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
|
|
655
656
|
*/
|
|
656
657
|
TerminationDelay?: number;
|
|
@@ -882,7 +883,7 @@ export interface CreateFleetRequest {
|
|
|
882
883
|
* launched.</p>
|
|
883
884
|
* </li>
|
|
884
885
|
* </ul>
|
|
885
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/
|
|
886
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/ec2-fleet-request-type.html">EC2 Fleet
|
|
886
887
|
* request types</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
887
888
|
*/
|
|
888
889
|
Type?: FleetType | string;
|
|
@@ -3274,6 +3275,10 @@ export declare enum LaunchTemplateHttpTokensState {
|
|
|
3274
3275
|
optional = "optional",
|
|
3275
3276
|
required = "required"
|
|
3276
3277
|
}
|
|
3278
|
+
export declare enum LaunchTemplateInstanceMetadataTagsState {
|
|
3279
|
+
disabled = "disabled",
|
|
3280
|
+
enabled = "enabled"
|
|
3281
|
+
}
|
|
3277
3282
|
/**
|
|
3278
3283
|
* <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance Metadata and User Data</a> in the
|
|
3279
3284
|
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
@@ -3292,7 +3297,8 @@ export interface LaunchTemplateInstanceMetadataOptionsRequest {
|
|
|
3292
3297
|
*/
|
|
3293
3298
|
HttpPutResponseHopLimit?: number;
|
|
3294
3299
|
/**
|
|
3295
|
-
* <p>
|
|
3300
|
+
* <p>Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not
|
|
3301
|
+
* specified, the default state is <code>enabled</code>.</p>
|
|
3296
3302
|
* <note>
|
|
3297
3303
|
* <p>If you specify a value of <code>disabled</code>, you will not be able to access your instance metadata.
|
|
3298
3304
|
* </p>
|
|
@@ -3305,6 +3311,15 @@ export interface LaunchTemplateInstanceMetadataOptionsRequest {
|
|
|
3305
3311
|
* </p>
|
|
3306
3312
|
*/
|
|
3307
3313
|
HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6 | string;
|
|
3314
|
+
/**
|
|
3315
|
+
* <p>Set to <code>enabled</code> to allow access to instance tags from the instance
|
|
3316
|
+
* metadata. Set to <code>disabled</code> to turn off access to instance tags from the instance
|
|
3317
|
+
* metadata. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
|
|
3318
|
+
* instance tags using the instance metadata</a>.</p>
|
|
3319
|
+
* <p>Default: <code>disabled</code>
|
|
3320
|
+
* </p>
|
|
3321
|
+
*/
|
|
3322
|
+
InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState | string;
|
|
3308
3323
|
}
|
|
3309
3324
|
export declare namespace LaunchTemplateInstanceMetadataOptionsRequest {
|
|
3310
3325
|
/**
|
|
@@ -4292,7 +4307,8 @@ export interface LaunchTemplateInstanceMetadataOptions {
|
|
|
4292
4307
|
*/
|
|
4293
4308
|
HttpPutResponseHopLimit?: number;
|
|
4294
4309
|
/**
|
|
4295
|
-
* <p>
|
|
4310
|
+
* <p>Enables or disables the HTTP metadata endpoint on your instances. If the parameter is
|
|
4311
|
+
* not specified, the default state is <code>enabled</code>.</p>
|
|
4296
4312
|
* <note>
|
|
4297
4313
|
* <p>If you specify a value of <code>disabled</code>, you will not be able to access your instance metadata.
|
|
4298
4314
|
* </p>
|
|
@@ -4305,6 +4321,12 @@ export interface LaunchTemplateInstanceMetadataOptions {
|
|
|
4305
4321
|
* </p>
|
|
4306
4322
|
*/
|
|
4307
4323
|
HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6 | string;
|
|
4324
|
+
/**
|
|
4325
|
+
* <p>
|
|
4326
|
+
*
|
|
4327
|
+
* </p>
|
|
4328
|
+
*/
|
|
4329
|
+
InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState | string;
|
|
4308
4330
|
}
|
|
4309
4331
|
export declare namespace LaunchTemplateInstanceMetadataOptions {
|
|
4310
4332
|
/**
|
|
@@ -5758,8 +5780,7 @@ export interface CreateNetworkInterfaceRequest {
|
|
|
5758
5780
|
* <p>Indicates the type of network interface. To create an Elastic Fabric Adapter (EFA), specify
|
|
5759
5781
|
* <code>efa</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html">
|
|
5760
5782
|
* Elastic Fabric Adapter</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>. To create a trunk network interface, specify
|
|
5761
|
-
* <code>
|
|
5762
|
-
* Network interface trunking</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
5783
|
+
* <code>trunk</code>.</p>
|
|
5763
5784
|
*/
|
|
5764
5785
|
InterfaceType?: NetworkInterfaceCreationType | string;
|
|
5765
5786
|
/**
|
|
@@ -6251,6 +6272,10 @@ export interface PlacementGroup {
|
|
|
6251
6272
|
* <p>Any tags applied to the placement group.</p>
|
|
6252
6273
|
*/
|
|
6253
6274
|
Tags?: Tag[];
|
|
6275
|
+
/**
|
|
6276
|
+
* <p>The Amazon Resource Name (ARN) of the placement group.</p>
|
|
6277
|
+
*/
|
|
6278
|
+
GroupArn?: string;
|
|
6254
6279
|
}
|
|
6255
6280
|
export declare namespace PlacementGroup {
|
|
6256
6281
|
/**
|
|
@@ -8380,34 +8405,3 @@ export declare namespace CreateTransitGatewayConnectPeerRequest {
|
|
|
8380
8405
|
const filterSensitiveLog: (obj: CreateTransitGatewayConnectPeerRequest) => any;
|
|
8381
8406
|
}
|
|
8382
8407
|
export declare type BgpStatus = "down" | "up";
|
|
8383
|
-
/**
|
|
8384
|
-
* <p>The BGP configuration information.</p>
|
|
8385
|
-
*/
|
|
8386
|
-
export interface TransitGatewayAttachmentBgpConfiguration {
|
|
8387
|
-
/**
|
|
8388
|
-
* <p>The transit gateway Autonomous System Number (ASN).</p>
|
|
8389
|
-
*/
|
|
8390
|
-
TransitGatewayAsn?: number;
|
|
8391
|
-
/**
|
|
8392
|
-
* <p>The peer Autonomous System Number (ASN).</p>
|
|
8393
|
-
*/
|
|
8394
|
-
PeerAsn?: number;
|
|
8395
|
-
/**
|
|
8396
|
-
* <p>The interior BGP peer IP address for the transit gateway.</p>
|
|
8397
|
-
*/
|
|
8398
|
-
TransitGatewayAddress?: string;
|
|
8399
|
-
/**
|
|
8400
|
-
* <p>The interior BGP peer IP address for the appliance.</p>
|
|
8401
|
-
*/
|
|
8402
|
-
PeerAddress?: string;
|
|
8403
|
-
/**
|
|
8404
|
-
* <p>The BGP status.</p>
|
|
8405
|
-
*/
|
|
8406
|
-
BgpStatus?: BgpStatus | string;
|
|
8407
|
-
}
|
|
8408
|
-
export declare namespace TransitGatewayAttachmentBgpConfiguration {
|
|
8409
|
-
/**
|
|
8410
|
-
* @internal
|
|
8411
|
-
*/
|
|
8412
|
-
const filterSensitiveLog: (obj: TransitGatewayAttachmentBgpConfiguration) => any;
|
|
8413
|
-
}
|
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, ApplianceModeSupportValue, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, ClientVpnRouteStatus, DnsSupportValue, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, Tenancy, TransitGatewayAttachmentResourceType, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TransportProtocol, UnsuccessfulItem, VolumeAttachment, Vpc, VpcAttachment, VpcPeeringConnection } from "./models_0";
|
|
2
|
-
import { DiskImageFormat, GroupIdentifier, Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, PlatformValues, ProtocolValue, SubnetCidrReservation, TransitGateway,
|
|
2
|
+
import { BgpStatus, DiskImageFormat, GroupIdentifier, Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, PlatformValues, ProtocolValue, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, VolumeType } from "./models_1";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The BGP configuration information.</p>
|
|
5
|
+
*/
|
|
6
|
+
export interface TransitGatewayAttachmentBgpConfiguration {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The transit gateway Autonomous System Number (ASN).</p>
|
|
9
|
+
*/
|
|
10
|
+
TransitGatewayAsn?: number;
|
|
11
|
+
/**
|
|
12
|
+
* <p>The peer Autonomous System Number (ASN).</p>
|
|
13
|
+
*/
|
|
14
|
+
PeerAsn?: number;
|
|
15
|
+
/**
|
|
16
|
+
* <p>The interior BGP peer IP address for the transit gateway.</p>
|
|
17
|
+
*/
|
|
18
|
+
TransitGatewayAddress?: string;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The interior BGP peer IP address for the appliance.</p>
|
|
21
|
+
*/
|
|
22
|
+
PeerAddress?: string;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The BGP status.</p>
|
|
25
|
+
*/
|
|
26
|
+
BgpStatus?: BgpStatus | string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace TransitGatewayAttachmentBgpConfiguration {
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
const filterSensitiveLog: (obj: TransitGatewayAttachmentBgpConfiguration) => any;
|
|
33
|
+
}
|
|
3
34
|
/**
|
|
4
35
|
* <p>Describes the Connect peer details.</p>
|
|
5
36
|
*/
|
|
@@ -1325,6 +1356,9 @@ export declare namespace CreateVpcEndpointServiceConfigurationRequest {
|
|
|
1325
1356
|
*/
|
|
1326
1357
|
const filterSensitiveLog: (obj: CreateVpcEndpointServiceConfigurationRequest) => any;
|
|
1327
1358
|
}
|
|
1359
|
+
export declare enum PayerResponsibility {
|
|
1360
|
+
ServiceOwner = "ServiceOwner"
|
|
1361
|
+
}
|
|
1328
1362
|
export declare enum DnsNameState {
|
|
1329
1363
|
Failed = "failed",
|
|
1330
1364
|
PendingVerification = "pendingVerification",
|
|
@@ -1443,6 +1477,10 @@ export interface ServiceConfiguration {
|
|
|
1443
1477
|
* <p>Information about the endpoint service private DNS name configuration.</p>
|
|
1444
1478
|
*/
|
|
1445
1479
|
PrivateDnsNameConfiguration?: PrivateDnsNameConfiguration;
|
|
1480
|
+
/**
|
|
1481
|
+
* <p>The payer responsibility.</p>
|
|
1482
|
+
*/
|
|
1483
|
+
PayerResponsibility?: PayerResponsibility | string;
|
|
1446
1484
|
/**
|
|
1447
1485
|
* <p>Any tags assigned to the service.</p>
|
|
1448
1486
|
*/
|
|
@@ -1738,7 +1776,7 @@ export interface VpnTunnelOptionsSpecification {
|
|
|
1738
1776
|
ReplayWindowSize?: number;
|
|
1739
1777
|
/**
|
|
1740
1778
|
* <p>The number of seconds after which a DPD timeout occurs.</p>
|
|
1741
|
-
* <p>Constraints: A value
|
|
1779
|
+
* <p>Constraints: A value greater than or equal to 30.</p>
|
|
1742
1780
|
* <p>Default: <code>30</code>
|
|
1743
1781
|
* </p>
|
|
1744
1782
|
*/
|
|
@@ -4842,6 +4880,8 @@ export declare namespace DescribeAccountAttributesResult {
|
|
|
4842
4880
|
/**
|
|
4843
4881
|
* <p>A filter name and value pair that is used to return a more specific list of results from a describe operation.
|
|
4844
4882
|
* Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.</p>
|
|
4883
|
+
* <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only
|
|
4884
|
+
* results that match all of the specified filters.</p>
|
|
4845
4885
|
*/
|
|
4846
4886
|
export interface Filter {
|
|
4847
4887
|
/**
|
|
@@ -4849,7 +4889,9 @@ export interface Filter {
|
|
|
4849
4889
|
*/
|
|
4850
4890
|
Name?: string;
|
|
4851
4891
|
/**
|
|
4852
|
-
* <p>The filter values. Filter values are case-sensitive
|
|
4892
|
+
* <p>The filter values. Filter values are case-sensitive. If you specify multiple values for a
|
|
4893
|
+
* filter, the values are joined with an <code>OR</code>, and the request returns all results
|
|
4894
|
+
* that match any of the specified values.</p>
|
|
4853
4895
|
*/
|
|
4854
4896
|
Values?: string[];
|
|
4855
4897
|
}
|
|
@@ -5574,15 +5616,11 @@ export interface DescribeCapacityReservationsRequest {
|
|
|
5574
5616
|
* </li>
|
|
5575
5617
|
* <li>
|
|
5576
5618
|
* <p>
|
|
5577
|
-
* <code>availability-zone-id</code> - The Availability Zone ID of the Capacity Reservation.</p>
|
|
5578
|
-
* </li>
|
|
5579
|
-
* <li>
|
|
5580
|
-
* <p>
|
|
5581
5619
|
* <code>instance-platform</code> - The type of operating system for which the Capacity Reservation reserves capacity.</p>
|
|
5582
5620
|
* </li>
|
|
5583
5621
|
* <li>
|
|
5584
5622
|
* <p>
|
|
5585
|
-
* <code>availability-zone</code> - The Availability Zone
|
|
5623
|
+
* <code>availability-zone</code> - The Availability Zone of the Capacity Reservation.</p>
|
|
5586
5624
|
* </li>
|
|
5587
5625
|
* <li>
|
|
5588
5626
|
* <p>
|
|
@@ -6861,35 +6899,3 @@ export declare namespace ImportInstanceTaskDetails {
|
|
|
6861
6899
|
*/
|
|
6862
6900
|
const filterSensitiveLog: (obj: ImportInstanceTaskDetails) => any;
|
|
6863
6901
|
}
|
|
6864
|
-
/**
|
|
6865
|
-
* <p>Describes an import volume task.</p>
|
|
6866
|
-
*/
|
|
6867
|
-
export interface ImportVolumeTaskDetails {
|
|
6868
|
-
/**
|
|
6869
|
-
* <p>The Availability Zone where the resulting volume will reside.</p>
|
|
6870
|
-
*/
|
|
6871
|
-
AvailabilityZone?: string;
|
|
6872
|
-
/**
|
|
6873
|
-
* <p>The number of bytes converted so far.</p>
|
|
6874
|
-
*/
|
|
6875
|
-
BytesConverted?: number;
|
|
6876
|
-
/**
|
|
6877
|
-
* <p>The description you provided when starting the import volume task.</p>
|
|
6878
|
-
*/
|
|
6879
|
-
Description?: string;
|
|
6880
|
-
/**
|
|
6881
|
-
* <p>The image.</p>
|
|
6882
|
-
*/
|
|
6883
|
-
Image?: DiskImageDescription;
|
|
6884
|
-
/**
|
|
6885
|
-
* <p>The volume.</p>
|
|
6886
|
-
*/
|
|
6887
|
-
Volume?: DiskImageVolumeDescription;
|
|
6888
|
-
}
|
|
6889
|
-
export declare namespace ImportVolumeTaskDetails {
|
|
6890
|
-
/**
|
|
6891
|
-
* @internal
|
|
6892
|
-
*/
|
|
6893
|
-
const filterSensitiveLog: (obj: ImportVolumeTaskDetails) => any;
|
|
6894
|
-
}
|
|
6895
|
-
export declare type ConversionTaskState = "active" | "cancelled" | "cancelling" | "completed";
|
|
@@ -1,6 +1,38 @@
|
|
|
1
1
|
import { _InstanceType, ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AlternatePathHint, AnalysisAclRule, AnalysisComponent, AnalysisRouteTableRoute, AnalysisSecurityGroupRule, AttachmentStatus, AttributeValue, AutoPlacement, CurrencyCodeValues, CustomerGateway, DhcpOptions, EgressOnlyInternetGateway, FleetExcessCapacityTerminationPolicy, HostnameType, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, PathComponent, PortRange, ReservedInstancesListing, Tag, Tenancy } from "./models_0";
|
|
2
2
|
import { BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, ExportTask, FleetCapacityReservationUsageStrategy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamPool, IpamScope, KeyType, LaunchTemplate, LaunchTemplateAndOverridesResponse, LaunchTemplateVersion, LocalGatewayRouteTableVpcAssociation, LogDestinationType, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, Placement, PlacementGroup, PlatformValues, ReplaceRootVolumeTask, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType } from "./models_1";
|
|
3
|
-
import {
|
|
3
|
+
import { DiskImageDescription, DiskImageVolumeDescription, Filter, FleetStateCode, IdFormat, ImportInstanceTaskDetails, InstanceTagNotificationAttribute } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Describes an import volume task.</p>
|
|
6
|
+
*/
|
|
7
|
+
export interface ImportVolumeTaskDetails {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The Availability Zone where the resulting volume will reside.</p>
|
|
10
|
+
*/
|
|
11
|
+
AvailabilityZone?: string;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The number of bytes converted so far.</p>
|
|
14
|
+
*/
|
|
15
|
+
BytesConverted?: number;
|
|
16
|
+
/**
|
|
17
|
+
* <p>The description you provided when starting the import volume task.</p>
|
|
18
|
+
*/
|
|
19
|
+
Description?: string;
|
|
20
|
+
/**
|
|
21
|
+
* <p>The image.</p>
|
|
22
|
+
*/
|
|
23
|
+
Image?: DiskImageDescription;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The volume.</p>
|
|
26
|
+
*/
|
|
27
|
+
Volume?: DiskImageVolumeDescription;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace ImportVolumeTaskDetails {
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
const filterSensitiveLog: (obj: ImportVolumeTaskDetails) => any;
|
|
34
|
+
}
|
|
35
|
+
export declare type ConversionTaskState = "active" | "cancelled" | "cancelling" | "completed";
|
|
4
36
|
/**
|
|
5
37
|
* <p>Describes a conversion task.</p>
|
|
6
38
|
*/
|
|
@@ -1255,7 +1287,8 @@ export interface FleetSpotCapacityRebalance {
|
|
|
1255
1287
|
/**
|
|
1256
1288
|
* <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
|
|
1257
1289
|
* Instance after launching a new replacement Spot Instance.</p>
|
|
1258
|
-
* <p>
|
|
1290
|
+
* <p>Required when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
|
|
1291
|
+
* <p>Not valid when <code>ReplacementStrategy</code> is set to <code>launch</code>.</p>
|
|
1259
1292
|
* <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
|
|
1260
1293
|
*/
|
|
1261
1294
|
TerminationDelay?: number;
|
|
@@ -4702,6 +4735,10 @@ export declare enum HttpTokensState {
|
|
|
4702
4735
|
optional = "optional",
|
|
4703
4736
|
required = "required"
|
|
4704
4737
|
}
|
|
4738
|
+
export declare enum InstanceMetadataTagsState {
|
|
4739
|
+
disabled = "disabled",
|
|
4740
|
+
enabled = "enabled"
|
|
4741
|
+
}
|
|
4705
4742
|
export declare type InstanceMetadataOptionsState = "applied" | "pending";
|
|
4706
4743
|
/**
|
|
4707
4744
|
* <p>The metadata options for the instance.</p>
|
|
@@ -4718,8 +4755,7 @@ export interface InstanceMetadataOptionsResponse {
|
|
|
4718
4755
|
*/
|
|
4719
4756
|
State?: InstanceMetadataOptionsState | string;
|
|
4720
4757
|
/**
|
|
4721
|
-
* <p>The state of token usage for your instance metadata requests
|
|
4722
|
-
* specified in the request, the default state is <code>optional</code>.</p>
|
|
4758
|
+
* <p>The state of token usage for your instance metadata requests.</p>
|
|
4723
4759
|
* <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
|
|
4724
4760
|
* with or without a signed token header on your request. If you retrieve the IAM role
|
|
4725
4761
|
* credentials without a token, the version 1.0 role credentials are returned. If you
|
|
@@ -4729,6 +4765,8 @@ export interface InstanceMetadataOptionsResponse {
|
|
|
4729
4765
|
* instance metadata retrieval requests. In this state, retrieving the IAM role credential
|
|
4730
4766
|
* always returns the version 2.0 credentials; the version 1.0 credentials are not
|
|
4731
4767
|
* available.</p>
|
|
4768
|
+
* <p>Default: <code>optional</code>
|
|
4769
|
+
* </p>
|
|
4732
4770
|
*/
|
|
4733
4771
|
HttpTokens?: HttpTokensState | string;
|
|
4734
4772
|
/**
|
|
@@ -4739,13 +4777,22 @@ export interface InstanceMetadataOptionsResponse {
|
|
|
4739
4777
|
*/
|
|
4740
4778
|
HttpPutResponseHopLimit?: number;
|
|
4741
4779
|
/**
|
|
4742
|
-
* <p>Indicates whether the HTTP metadata endpoint on your instances is enabled or
|
|
4780
|
+
* <p>Indicates whether the HTTP metadata endpoint on your instances is enabled or
|
|
4781
|
+
* disabled.</p>
|
|
4782
|
+
* <p>If the value is <code>disabled</code>, you cannot access your
|
|
4783
|
+
* instance metadata.</p>
|
|
4743
4784
|
*/
|
|
4744
4785
|
HttpEndpoint?: InstanceMetadataEndpointState | string;
|
|
4745
4786
|
/**
|
|
4746
4787
|
* <p>Indicates whether the IPv6 endpoint for the instance metadata service is enabled or disabled.</p>
|
|
4747
4788
|
*/
|
|
4748
4789
|
HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
|
|
4790
|
+
/**
|
|
4791
|
+
* <p>Indicates whether access to instance tags from the instance metadata is enabled or
|
|
4792
|
+
* disabled. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
|
|
4793
|
+
* instance tags using the instance metadata</a>.</p>
|
|
4794
|
+
*/
|
|
4795
|
+
InstanceMetadataTags?: InstanceMetadataTagsState | string;
|
|
4749
4796
|
}
|
|
4750
4797
|
export declare namespace InstanceMetadataOptionsResponse {
|
|
4751
4798
|
/**
|
|
@@ -7128,6 +7175,27 @@ export interface DescribeLaunchTemplateVersionsRequest {
|
|
|
7128
7175
|
* </li>
|
|
7129
7176
|
* <li>
|
|
7130
7177
|
* <p>
|
|
7178
|
+
* <code>http-endpoint</code> - Indicates whether the HTTP metadata endpoint on
|
|
7179
|
+
* your instances is enabled (<code>enabled</code> | <code>disabled</code>).</p>
|
|
7180
|
+
* </li>
|
|
7181
|
+
* <li>
|
|
7182
|
+
* <p>
|
|
7183
|
+
* <code>http-protocol-ipv4</code> - Indicates whether the IPv4 endpoint for the
|
|
7184
|
+
* instance metadata service is enabled (<code>enabled</code> |
|
|
7185
|
+
* <code>disabled</code>).</p>
|
|
7186
|
+
* </li>
|
|
7187
|
+
* <li>
|
|
7188
|
+
* <p>
|
|
7189
|
+
* <code>host-resource-group-arn</code> - The ARN of the host resource group in
|
|
7190
|
+
* which to launch the instances.</p>
|
|
7191
|
+
* </li>
|
|
7192
|
+
* <li>
|
|
7193
|
+
* <p>
|
|
7194
|
+
* <code>http-tokens</code> - The state of token usage for your instance metadata
|
|
7195
|
+
* requests (<code>optional</code> | <code>required</code>).</p>
|
|
7196
|
+
* </li>
|
|
7197
|
+
* <li>
|
|
7198
|
+
* <p>
|
|
7131
7199
|
* <code>iam-instance-profile</code> - The ARN of the IAM instance
|
|
7132
7200
|
* profile.</p>
|
|
7133
7201
|
* </li>
|
|
@@ -7150,6 +7218,15 @@ export interface DescribeLaunchTemplateVersionsRequest {
|
|
|
7150
7218
|
* </li>
|
|
7151
7219
|
* <li>
|
|
7152
7220
|
* <p>
|
|
7221
|
+
* <code>license-configuration-arn</code> - The ARN of the license
|
|
7222
|
+
* configuration.</p>
|
|
7223
|
+
* </li>
|
|
7224
|
+
* <li>
|
|
7225
|
+
* <p>
|
|
7226
|
+
* <code>network-card-index</code> - The index of the network card.</p>
|
|
7227
|
+
* </li>
|
|
7228
|
+
* <li>
|
|
7229
|
+
* <p>
|
|
7153
7230
|
* <code>ram-disk-id</code> - The RAM disk ID.</p>
|
|
7154
7231
|
* </li>
|
|
7155
7232
|
* </ul>
|
|
@@ -9050,6 +9127,10 @@ export interface DescribePlacementGroupsRequest {
|
|
|
9050
9127
|
* </li>
|
|
9051
9128
|
* <li>
|
|
9052
9129
|
* <p>
|
|
9130
|
+
* <code>group-arn</code> - The Amazon Resource Name (ARN) of the placement group.</p>
|
|
9131
|
+
* </li>
|
|
9132
|
+
* <li>
|
|
9133
|
+
* <p>
|
|
9053
9134
|
* <code>state</code> - The state of the placement group (<code>pending</code> |
|
|
9054
9135
|
* <code>available</code> | <code>deleting</code> |
|
|
9055
9136
|
* <code>deleted</code>).</p>
|
|
@@ -9913,86 +9994,3 @@ export declare namespace ReservedInstancesConfiguration {
|
|
|
9913
9994
|
*/
|
|
9914
9995
|
const filterSensitiveLog: (obj: ReservedInstancesConfiguration) => any;
|
|
9915
9996
|
}
|
|
9916
|
-
/**
|
|
9917
|
-
* <p>Describes the modification request/s.</p>
|
|
9918
|
-
*/
|
|
9919
|
-
export interface ReservedInstancesModificationResult {
|
|
9920
|
-
/**
|
|
9921
|
-
* <p>The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.</p>
|
|
9922
|
-
*/
|
|
9923
|
-
ReservedInstancesId?: string;
|
|
9924
|
-
/**
|
|
9925
|
-
* <p>The target Reserved Instances configurations supplied as part of the modification request.</p>
|
|
9926
|
-
*/
|
|
9927
|
-
TargetConfiguration?: ReservedInstancesConfiguration;
|
|
9928
|
-
}
|
|
9929
|
-
export declare namespace ReservedInstancesModificationResult {
|
|
9930
|
-
/**
|
|
9931
|
-
* @internal
|
|
9932
|
-
*/
|
|
9933
|
-
const filterSensitiveLog: (obj: ReservedInstancesModificationResult) => any;
|
|
9934
|
-
}
|
|
9935
|
-
/**
|
|
9936
|
-
* <p>Describes the ID of a Reserved Instance.</p>
|
|
9937
|
-
*/
|
|
9938
|
-
export interface ReservedInstancesId {
|
|
9939
|
-
/**
|
|
9940
|
-
* <p>The ID of the Reserved Instance.</p>
|
|
9941
|
-
*/
|
|
9942
|
-
ReservedInstancesId?: string;
|
|
9943
|
-
}
|
|
9944
|
-
export declare namespace ReservedInstancesId {
|
|
9945
|
-
/**
|
|
9946
|
-
* @internal
|
|
9947
|
-
*/
|
|
9948
|
-
const filterSensitiveLog: (obj: ReservedInstancesId) => any;
|
|
9949
|
-
}
|
|
9950
|
-
/**
|
|
9951
|
-
* <p>Describes a Reserved Instance modification.</p>
|
|
9952
|
-
*/
|
|
9953
|
-
export interface ReservedInstancesModification {
|
|
9954
|
-
/**
|
|
9955
|
-
* <p>A unique, case-sensitive key supplied by the client to ensure that the request is idempotent.
|
|
9956
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
|
|
9957
|
-
* Idempotency</a>.</p>
|
|
9958
|
-
*/
|
|
9959
|
-
ClientToken?: string;
|
|
9960
|
-
/**
|
|
9961
|
-
* <p>The time when the modification request was created.</p>
|
|
9962
|
-
*/
|
|
9963
|
-
CreateDate?: Date;
|
|
9964
|
-
/**
|
|
9965
|
-
* <p>The time for the modification to become effective.</p>
|
|
9966
|
-
*/
|
|
9967
|
-
EffectiveDate?: Date;
|
|
9968
|
-
/**
|
|
9969
|
-
* <p>Contains target configurations along with their corresponding new Reserved Instance IDs.</p>
|
|
9970
|
-
*/
|
|
9971
|
-
ModificationResults?: ReservedInstancesModificationResult[];
|
|
9972
|
-
/**
|
|
9973
|
-
* <p>The IDs of one or more Reserved Instances.</p>
|
|
9974
|
-
*/
|
|
9975
|
-
ReservedInstancesIds?: ReservedInstancesId[];
|
|
9976
|
-
/**
|
|
9977
|
-
* <p>A unique ID for the Reserved Instance modification.</p>
|
|
9978
|
-
*/
|
|
9979
|
-
ReservedInstancesModificationId?: string;
|
|
9980
|
-
/**
|
|
9981
|
-
* <p>The status of the Reserved Instances modification request.</p>
|
|
9982
|
-
*/
|
|
9983
|
-
Status?: string;
|
|
9984
|
-
/**
|
|
9985
|
-
* <p>The reason for the status.</p>
|
|
9986
|
-
*/
|
|
9987
|
-
StatusMessage?: string;
|
|
9988
|
-
/**
|
|
9989
|
-
* <p>The time when the modification request was last updated.</p>
|
|
9990
|
-
*/
|
|
9991
|
-
UpdateDate?: Date;
|
|
9992
|
-
}
|
|
9993
|
-
export declare namespace ReservedInstancesModification {
|
|
9994
|
-
/**
|
|
9995
|
-
* @internal
|
|
9996
|
-
*/
|
|
9997
|
-
const filterSensitiveLog: (obj: ReservedInstancesModification) => any;
|
|
9998
|
-
}
|