@aws-sdk/client-ec2 3.171.0 → 3.174.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/CHANGELOG.md +22 -0
- package/dist-cjs/commands/CreateTrafficMirrorFilterRuleCommand.js +3 -3
- package/dist-cjs/commands/DescribeAddressesAttributeCommand.js +3 -3
- package/dist-cjs/commands/DescribeAggregateIdFormatCommand.js +1 -2
- package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
- package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
- package/dist-cjs/commands/MonitorInstancesCommand.js +3 -3
- package/dist-cjs/models/models_0.js +978 -27
- package/dist-cjs/models/models_1.js +250 -18
- package/dist-cjs/models/models_2.js +152 -18
- package/dist-cjs/models/models_3.js +279 -18
- package/dist-cjs/models/models_4.js +106 -18
- package/dist-cjs/models/models_5.js +62 -18
- package/dist-cjs/models/models_6.js +46 -3
- package/dist-cjs/protocols/Aws_ec2.js +88 -0
- package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -1
- package/dist-es/commands/DescribeAddressesAttributeCommand.js +1 -1
- package/dist-es/commands/DescribeAggregateIdFormatCommand.js +1 -2
- package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
- package/dist-es/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
- package/dist-es/commands/MonitorInstancesCommand.js +1 -1
- package/dist-es/models/models_0.js +966 -12
- package/dist-es/models/models_1.js +235 -3
- package/dist-es/models/models_2.js +137 -3
- package/dist-es/models/models_3.js +264 -3
- package/dist-es/models/models_4.js +91 -3
- package/dist-es/models/models_5.js +47 -3
- package/dist-es/models/models_6.js +33 -0
- package/dist-es/protocols/Aws_ec2.js +88 -0
- package/dist-types/EC2.d.ts +13 -30
- package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAggregateIdFormatCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstancesCommand.d.ts +0 -3
- package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +0 -3
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +0 -3
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +0 -3
- package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +0 -4
- package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +0 -4
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -6
- package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +3 -0
- package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +4 -1
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +975 -108
- package/dist-types/models/models_1.d.ts +288 -143
- package/dist-types/models/models_2.d.ts +202 -79
- package/dist-types/models/models_3.d.ts +291 -161
- package/dist-types/models/models_4.d.ts +221 -103
- package/dist-types/models/models_5.d.ts +102 -61
- package/dist-types/models/models_6.d.ts +78 -14
- package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeAggregateIdFormatCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +935 -846
- package/dist-types/ts3.4/models/models_1.d.ts +216 -154
- package/dist-types/ts3.4/models/models_2.d.ts +145 -83
- package/dist-types/ts3.4/models/models_3.d.ts +248 -171
- package/dist-types/ts3.4/models/models_4.d.ts +104 -72
- package/dist-types/ts3.4/models/models_5.d.ts +61 -47
- package/dist-types/ts3.4/models/models_6.d.ts +47 -19
- package/package.json +1 -1
|
@@ -1,7 +1,102 @@
|
|
|
1
|
-
import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AllowedPrincipal, AlternatePathHint, AnalysisAclRule, AnalysisComponent, AnalysisRouteTableRoute, AnalysisSecurityGroupRule, AssociationStatus,
|
|
2
|
-
import { BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, TrafficMirrorFilter, VolumeType } from "./models_1";
|
|
1
|
+
import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AllowedPrincipal, AlternatePathHint, AnalysisAclRule, AnalysisComponent, AnalysisRouteTableRoute, AnalysisSecurityGroupRule, AssociationStatus, BatchState, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, PathComponent, PortRange, ReservedInstancesListing, ResourceType, SecurityGroupRule, Subnet, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, Tenancy, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayRouteTableRoute, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, Vpc, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
|
|
2
|
+
import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, TrafficMirrorFilter, VolumeType } from "./models_1";
|
|
3
3
|
import { ConnectionNotification, DnsEntry, DnsNameState, Filter, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
4
|
import { AttributeBooleanValue, EventInformation, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, IdFormat, PermissionGroup, ProductCode } from "./models_3";
|
|
5
|
+
/**
|
|
6
|
+
* <p>Describes a local gateway virtual interface group.</p>
|
|
7
|
+
*/
|
|
8
|
+
export interface LocalGatewayVirtualInterfaceGroup {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The ID of the virtual interface group.</p>
|
|
11
|
+
*/
|
|
12
|
+
LocalGatewayVirtualInterfaceGroupId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The IDs of the virtual interfaces.</p>
|
|
15
|
+
*/
|
|
16
|
+
LocalGatewayVirtualInterfaceIds?: string[];
|
|
17
|
+
/**
|
|
18
|
+
* <p>The ID of the local gateway.</p>
|
|
19
|
+
*/
|
|
20
|
+
LocalGatewayId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* <p>The ID of the Amazon Web Services account that owns the local gateway virtual interface group.</p>
|
|
23
|
+
*/
|
|
24
|
+
OwnerId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* <p>The tags assigned to the virtual interface group.</p>
|
|
27
|
+
*/
|
|
28
|
+
Tags?: Tag[];
|
|
29
|
+
}
|
|
30
|
+
export interface DescribeLocalGatewayVirtualInterfaceGroupsResult {
|
|
31
|
+
/**
|
|
32
|
+
* <p>The virtual interface groups.</p>
|
|
33
|
+
*/
|
|
34
|
+
LocalGatewayVirtualInterfaceGroups?: LocalGatewayVirtualInterfaceGroup[];
|
|
35
|
+
/**
|
|
36
|
+
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
37
|
+
*/
|
|
38
|
+
NextToken?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface DescribeLocalGatewayVirtualInterfacesRequest {
|
|
41
|
+
/**
|
|
42
|
+
* <p>The IDs of the virtual interfaces.</p>
|
|
43
|
+
*/
|
|
44
|
+
LocalGatewayVirtualInterfaceIds?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* <p>One or more filters.</p>
|
|
47
|
+
* <ul>
|
|
48
|
+
* <li>
|
|
49
|
+
* <p>
|
|
50
|
+
* <code>local-address</code> - The local address.</p>
|
|
51
|
+
* </li>
|
|
52
|
+
* <li>
|
|
53
|
+
* <p>
|
|
54
|
+
* <code>local-bgp-asn</code> - The Border Gateway Protocol (BGP) Autonomous System Number (ASN)
|
|
55
|
+
* of the local gateway.</p>
|
|
56
|
+
* </li>
|
|
57
|
+
* <li>
|
|
58
|
+
* <p>
|
|
59
|
+
* <code>local-gateway-id</code> - The ID of the local gateway.</p>
|
|
60
|
+
* </li>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>
|
|
63
|
+
* <code>local-gateway-virtual-interface-id</code> - The ID of the virtual interface.</p>
|
|
64
|
+
* </li>
|
|
65
|
+
* <li>
|
|
66
|
+
* <p>
|
|
67
|
+
* <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway virtual interface.</p>
|
|
68
|
+
* </li>
|
|
69
|
+
* <li>
|
|
70
|
+
* <p>
|
|
71
|
+
* <code>peer-address</code> - The peer address.</p>
|
|
72
|
+
* </li>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>
|
|
75
|
+
* <code>peer-bgp-asn</code> - The peer BGP ASN.</p>
|
|
76
|
+
* </li>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>
|
|
79
|
+
* <code>vlan</code> - The ID of the VLAN.</p>
|
|
80
|
+
* </li>
|
|
81
|
+
* </ul>
|
|
82
|
+
*/
|
|
83
|
+
Filters?: Filter[];
|
|
84
|
+
/**
|
|
85
|
+
* <p>The maximum number of results to return with a single call.
|
|
86
|
+
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
87
|
+
*/
|
|
88
|
+
MaxResults?: number;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The token for the next page of results.</p>
|
|
91
|
+
*/
|
|
92
|
+
NextToken?: string;
|
|
93
|
+
/**
|
|
94
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
95
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
96
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
97
|
+
*/
|
|
98
|
+
DryRun?: boolean;
|
|
99
|
+
}
|
|
5
100
|
/**
|
|
6
101
|
* <p>Describes a local gateway virtual interface.</p>
|
|
7
102
|
*/
|
|
@@ -137,7 +232,10 @@ export interface DescribeMovingAddressesRequest {
|
|
|
137
232
|
*/
|
|
138
233
|
PublicIps?: string[];
|
|
139
234
|
}
|
|
140
|
-
export declare
|
|
235
|
+
export declare enum MoveStatus {
|
|
236
|
+
movingToVpc = "movingToVpc",
|
|
237
|
+
restoringToClassic = "restoringToClassic"
|
|
238
|
+
}
|
|
141
239
|
/**
|
|
142
240
|
* <p>Describes the status of a moving Elastic IP address.</p>
|
|
143
241
|
* <note>
|
|
@@ -386,7 +484,11 @@ export declare enum FindingsFound {
|
|
|
386
484
|
true = "true",
|
|
387
485
|
unknown = "unknown"
|
|
388
486
|
}
|
|
389
|
-
export declare
|
|
487
|
+
export declare enum AnalysisStatus {
|
|
488
|
+
failed = "failed",
|
|
489
|
+
running = "running",
|
|
490
|
+
succeeded = "succeeded"
|
|
491
|
+
}
|
|
390
492
|
/**
|
|
391
493
|
* <p>Describes a Network Access Scope analysis.</p>
|
|
392
494
|
*/
|
|
@@ -892,7 +994,12 @@ export interface DescribeNetworkInsightsPathsResult {
|
|
|
892
994
|
*/
|
|
893
995
|
NextToken?: string;
|
|
894
996
|
}
|
|
895
|
-
export declare
|
|
997
|
+
export declare enum NetworkInterfaceAttribute {
|
|
998
|
+
attachment = "attachment",
|
|
999
|
+
description = "description",
|
|
1000
|
+
groupSet = "groupSet",
|
|
1001
|
+
sourceDestCheck = "sourceDestCheck"
|
|
1002
|
+
}
|
|
896
1003
|
/**
|
|
897
1004
|
* <p>Contains the parameters for DescribeNetworkInterfaceAttribute.</p>
|
|
898
1005
|
*/
|
|
@@ -1588,7 +1695,14 @@ export declare enum OfferingClassType {
|
|
|
1588
1695
|
CONVERTIBLE = "convertible",
|
|
1589
1696
|
STANDARD = "standard"
|
|
1590
1697
|
}
|
|
1591
|
-
export declare
|
|
1698
|
+
export declare enum OfferingTypeValues {
|
|
1699
|
+
All_Upfront = "All Upfront",
|
|
1700
|
+
Heavy_Utilization = "Heavy Utilization",
|
|
1701
|
+
Light_Utilization = "Light Utilization",
|
|
1702
|
+
Medium_Utilization = "Medium Utilization",
|
|
1703
|
+
No_Upfront = "No Upfront",
|
|
1704
|
+
Partial_Upfront = "Partial Upfront"
|
|
1705
|
+
}
|
|
1592
1706
|
/**
|
|
1593
1707
|
* <p>Contains the parameters for DescribeReservedInstances.</p>
|
|
1594
1708
|
*/
|
|
@@ -1686,7 +1800,9 @@ export interface DescribeReservedInstancesRequest {
|
|
|
1686
1800
|
OfferingType?: OfferingTypeValues | string;
|
|
1687
1801
|
}
|
|
1688
1802
|
export declare type RIProductDescription = "Linux/UNIX" | "Linux/UNIX (Amazon VPC)" | "Windows" | "Windows (Amazon VPC)";
|
|
1689
|
-
export declare
|
|
1803
|
+
export declare enum RecurringChargeFrequency {
|
|
1804
|
+
Hourly = "Hourly"
|
|
1805
|
+
}
|
|
1690
1806
|
/**
|
|
1691
1807
|
* <p>Describes a recurring charge.</p>
|
|
1692
1808
|
*/
|
|
@@ -1704,7 +1820,14 @@ export declare enum Scope {
|
|
|
1704
1820
|
AVAILABILITY_ZONE = "Availability Zone",
|
|
1705
1821
|
REGIONAL = "Region"
|
|
1706
1822
|
}
|
|
1707
|
-
export declare
|
|
1823
|
+
export declare enum ReservedInstanceState {
|
|
1824
|
+
active = "active",
|
|
1825
|
+
payment_failed = "payment-failed",
|
|
1826
|
+
payment_pending = "payment-pending",
|
|
1827
|
+
queued = "queued",
|
|
1828
|
+
queued_deleted = "queued-deleted",
|
|
1829
|
+
retired = "retired"
|
|
1830
|
+
}
|
|
1708
1831
|
/**
|
|
1709
1832
|
* <p>Describes a Reserved Instance.</p>
|
|
1710
1833
|
*/
|
|
@@ -1911,9 +2034,6 @@ export interface DescribeReservedInstancesModificationsRequest {
|
|
|
1911
2034
|
}
|
|
1912
2035
|
/**
|
|
1913
2036
|
* <p>Describes the configuration settings for the modified Reserved Instances.</p>
|
|
1914
|
-
* <note>
|
|
1915
|
-
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
1916
|
-
* </note>
|
|
1917
2037
|
*/
|
|
1918
2038
|
export interface ReservedInstancesConfiguration {
|
|
1919
2039
|
/**
|
|
@@ -2529,9 +2649,6 @@ export interface ScheduledInstanceRecurrence {
|
|
|
2529
2649
|
}
|
|
2530
2650
|
/**
|
|
2531
2651
|
* <p>Describes a schedule that is available for your Scheduled Instances.</p>
|
|
2532
|
-
* <note>
|
|
2533
|
-
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
2534
|
-
* </note>
|
|
2535
2652
|
*/
|
|
2536
2653
|
export interface ScheduledInstanceAvailability {
|
|
2537
2654
|
/**
|
|
@@ -2667,9 +2784,6 @@ export interface DescribeScheduledInstancesRequest {
|
|
|
2667
2784
|
}
|
|
2668
2785
|
/**
|
|
2669
2786
|
* <p>Describes a Scheduled Instance.</p>
|
|
2670
|
-
* <note>
|
|
2671
|
-
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
2672
|
-
* </note>
|
|
2673
2787
|
*/
|
|
2674
2788
|
export interface ScheduledInstance {
|
|
2675
2789
|
/**
|
|
@@ -3037,7 +3151,10 @@ export interface DescribeSecurityGroupsResult {
|
|
|
3037
3151
|
*/
|
|
3038
3152
|
NextToken?: string;
|
|
3039
3153
|
}
|
|
3040
|
-
export declare
|
|
3154
|
+
export declare enum SnapshotAttributeName {
|
|
3155
|
+
createVolumePermission = "createVolumePermission",
|
|
3156
|
+
productCodes = "productCodes"
|
|
3157
|
+
}
|
|
3041
3158
|
export interface DescribeSnapshotAttributeRequest {
|
|
3042
3159
|
/**
|
|
3043
3160
|
* <p>The snapshot attribute you would like to view.</p>
|
|
@@ -3678,9 +3795,9 @@ export interface SpotFleetTagSpecification {
|
|
|
3678
3795
|
/**
|
|
3679
3796
|
* <p>The type of resource. Currently, the only resource type that is supported is
|
|
3680
3797
|
* <code>instance</code>. To tag the Spot Fleet request on creation, use the
|
|
3681
|
-
* <code>TagSpecifications</code> parameter in <
|
|
3682
|
-
* <
|
|
3683
|
-
* </
|
|
3798
|
+
* <code>TagSpecifications</code> parameter in <code>
|
|
3799
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html">SpotFleetRequestConfigData</a>
|
|
3800
|
+
* </code>.</p>
|
|
3684
3801
|
*/
|
|
3685
3802
|
ResourceType?: ResourceType | string;
|
|
3686
3803
|
/**
|
|
@@ -3690,12 +3807,8 @@ export interface SpotFleetTagSpecification {
|
|
|
3690
3807
|
}
|
|
3691
3808
|
/**
|
|
3692
3809
|
* <p>Describes the launch specification for one or more Spot Instances. If you include
|
|
3693
|
-
*
|
|
3694
|
-
*
|
|
3695
|
-
*
|
|
3696
|
-
* <note>
|
|
3697
|
-
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
3698
|
-
* </note>
|
|
3810
|
+
* On-Demand capacity in your fleet request or want to specify an EFA network device, you
|
|
3811
|
+
* can't use <code>SpotFleetLaunchSpecification</code>; you must use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html">LaunchTemplateConfig</a>.</p>
|
|
3699
3812
|
*/
|
|
3700
3813
|
export interface SpotFleetLaunchSpecification {
|
|
3701
3814
|
/**
|
|
@@ -3793,7 +3906,7 @@ export interface SpotFleetLaunchSpecification {
|
|
|
3793
3906
|
* identify instance types with those attributes.</p>
|
|
3794
3907
|
* <note>
|
|
3795
3908
|
* <p>If you specify <code>InstanceRequirements</code>, you can't specify
|
|
3796
|
-
* <code>
|
|
3909
|
+
* <code>InstanceType</code>.</p>
|
|
3797
3910
|
* </note>
|
|
3798
3911
|
*/
|
|
3799
3912
|
InstanceRequirements?: InstanceRequirements;
|
|
@@ -3848,7 +3961,7 @@ export interface LaunchTemplateOverrides {
|
|
|
3848
3961
|
* when you specify a list of instance types.</p>
|
|
3849
3962
|
* <note>
|
|
3850
3963
|
* <p>If you specify <code>InstanceRequirements</code>, you can't specify
|
|
3851
|
-
* <code>
|
|
3964
|
+
* <code>InstanceType</code>.</p>
|
|
3852
3965
|
* </note>
|
|
3853
3966
|
*/
|
|
3854
3967
|
InstanceRequirements?: InstanceRequirements;
|
|
@@ -3975,23 +4088,33 @@ export interface SpotMaintenanceStrategies {
|
|
|
3975
4088
|
*/
|
|
3976
4089
|
export interface SpotFleetRequestConfigData {
|
|
3977
4090
|
/**
|
|
3978
|
-
* <p>
|
|
3979
|
-
* the Spot Fleet
|
|
3980
|
-
*
|
|
3981
|
-
*
|
|
3982
|
-
*
|
|
3983
|
-
*
|
|
3984
|
-
*
|
|
3985
|
-
*
|
|
3986
|
-
*
|
|
3987
|
-
*
|
|
3988
|
-
*
|
|
3989
|
-
*
|
|
3990
|
-
*
|
|
3991
|
-
*
|
|
4091
|
+
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
4092
|
+
* pools specified by the Spot Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html">Allocation
|
|
4093
|
+
* strategies for Spot Instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
4094
|
+
* <p>
|
|
4095
|
+
* <code>lowestPrice</code> - Spot Fleet launches instances from the lowest-price Spot Instance pool
|
|
4096
|
+
* that has available capacity. If the cheapest pool doesn't have available capacity, the
|
|
4097
|
+
* Spot Instances come from the next cheapest pool that has available capacity. If a pool runs out
|
|
4098
|
+
* of capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your
|
|
4099
|
+
* request by drawing from the next cheapest pool. To ensure that your desired capacity is
|
|
4100
|
+
* met, you might receive Spot Instances from several pools.</p>
|
|
4101
|
+
* <p>
|
|
4102
|
+
* <code>diversified</code> - Spot Fleet launches instances from all of the Spot Instance pools that you
|
|
4103
|
+
* specify.</p>
|
|
4104
|
+
* <p>
|
|
4105
|
+
* <code>capacityOptimized</code> (recommended) - Spot Fleet launches instances from Spot Instance pools
|
|
4106
|
+
* with optimal capacity for the number of instances that are launching. To give certain
|
|
4107
|
+
* instance types a higher chance of launching first, use
|
|
4108
|
+
* <code>capacityOptimizedPrioritized</code>. Set a priority for each instance type by
|
|
4109
|
+
* using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
|
|
4110
|
+
* assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
|
|
4111
|
+
* the priorities on a best-effort basis, but optimizes for capacity first.
|
|
4112
|
+
* <code>capacityOptimizedPrioritized</code> is supported only if your Spot Fleet uses a
|
|
3992
4113
|
* launch template. Note that if the <code>OnDemandAllocationStrategy</code> is set to
|
|
3993
|
-
*
|
|
4114
|
+
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
3994
4115
|
* capacity.</p>
|
|
4116
|
+
* <p>Default: <code>lowestPrice</code>
|
|
4117
|
+
* </p>
|
|
3995
4118
|
*/
|
|
3996
4119
|
AllocationStrategy?: AllocationStrategy | string;
|
|
3997
4120
|
/**
|
|
@@ -4173,9 +4296,9 @@ export interface SpotFleetRequestConfigData {
|
|
|
4173
4296
|
* <code>ResourceType</code> must be <code>spot-fleet-request</code>, otherwise the
|
|
4174
4297
|
* Spot Fleet request fails. To tag instances at launch, specify the tags in the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template">launch
|
|
4175
4298
|
* template</a> (valid only if you use <code>LaunchTemplateConfigs</code>) or in
|
|
4176
|
-
* the <
|
|
4177
|
-
* <
|
|
4178
|
-
* </
|
|
4299
|
+
* the <code>
|
|
4300
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html">SpotFleetTagSpecification</a>
|
|
4301
|
+
* </code> (valid only if you use
|
|
4179
4302
|
* <code>LaunchSpecifications</code>). For information about tagging after launch, see
|
|
4180
4303
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources">Tagging Your Resources</a>.</p>
|
|
4181
4304
|
*/
|
|
@@ -4465,9 +4588,6 @@ export interface RunInstancesMonitoringEnabled {
|
|
|
4465
4588
|
}
|
|
4466
4589
|
/**
|
|
4467
4590
|
* <p>Describes the launch specification for an instance.</p>
|
|
4468
|
-
* <note>
|
|
4469
|
-
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
4470
|
-
* </note>
|
|
4471
4591
|
*/
|
|
4472
4592
|
export interface LaunchSpecification {
|
|
4473
4593
|
/**
|
|
@@ -4534,7 +4654,13 @@ export interface LaunchSpecification {
|
|
|
4534
4654
|
*/
|
|
4535
4655
|
Monitoring?: RunInstancesMonitoringEnabled;
|
|
4536
4656
|
}
|
|
4537
|
-
export declare
|
|
4657
|
+
export declare enum SpotInstanceState {
|
|
4658
|
+
active = "active",
|
|
4659
|
+
cancelled = "cancelled",
|
|
4660
|
+
closed = "closed",
|
|
4661
|
+
failed = "failed",
|
|
4662
|
+
open = "open"
|
|
4663
|
+
}
|
|
4538
4664
|
/**
|
|
4539
4665
|
* <p>Describes the status of a Spot Instance request.</p>
|
|
4540
4666
|
*/
|
|
@@ -6020,7 +6146,10 @@ export interface DescribeTrunkInterfaceAssociationsResult {
|
|
|
6020
6146
|
*/
|
|
6021
6147
|
NextToken?: string;
|
|
6022
6148
|
}
|
|
6023
|
-
export declare
|
|
6149
|
+
export declare enum VolumeAttributeName {
|
|
6150
|
+
autoEnableIO = "autoEnableIO",
|
|
6151
|
+
productCodes = "productCodes"
|
|
6152
|
+
}
|
|
6024
6153
|
export interface DescribeVolumeAttributeRequest {
|
|
6025
6154
|
/**
|
|
6026
6155
|
* <p>The attribute of the volume. This parameter is required.</p>
|
|
@@ -6258,7 +6387,12 @@ export interface DescribeVolumesModificationsRequest {
|
|
|
6258
6387
|
*/
|
|
6259
6388
|
MaxResults?: number;
|
|
6260
6389
|
}
|
|
6261
|
-
export declare
|
|
6390
|
+
export declare enum VolumeModificationState {
|
|
6391
|
+
completed = "completed",
|
|
6392
|
+
failed = "failed",
|
|
6393
|
+
modifying = "modifying",
|
|
6394
|
+
optimizing = "optimizing"
|
|
6395
|
+
}
|
|
6262
6396
|
/**
|
|
6263
6397
|
* <p>Describes the modification status of an EBS volume.</p>
|
|
6264
6398
|
* <p>If the volume has never been modified, some element values will be null.</p>
|
|
@@ -6499,7 +6633,10 @@ export interface VolumeStatusEvent {
|
|
|
6499
6633
|
*/
|
|
6500
6634
|
InstanceId?: string;
|
|
6501
6635
|
}
|
|
6502
|
-
export declare
|
|
6636
|
+
export declare enum VolumeStatusName {
|
|
6637
|
+
io_enabled = "io-enabled",
|
|
6638
|
+
io_performance = "io-performance"
|
|
6639
|
+
}
|
|
6503
6640
|
/**
|
|
6504
6641
|
* <p>Describes a volume status.</p>
|
|
6505
6642
|
*/
|
|
@@ -6513,7 +6650,11 @@ export interface VolumeStatusDetails {
|
|
|
6513
6650
|
*/
|
|
6514
6651
|
Status?: string;
|
|
6515
6652
|
}
|
|
6516
|
-
export declare
|
|
6653
|
+
export declare enum VolumeStatusInfoStatus {
|
|
6654
|
+
impaired = "impaired",
|
|
6655
|
+
insufficient_data = "insufficient-data",
|
|
6656
|
+
ok = "ok"
|
|
6657
|
+
}
|
|
6517
6658
|
/**
|
|
6518
6659
|
* <p>Describes the status of a volume.</p>
|
|
6519
6660
|
*/
|
|
@@ -6571,7 +6712,10 @@ export interface DescribeVolumeStatusResult {
|
|
|
6571
6712
|
*/
|
|
6572
6713
|
VolumeStatuses?: VolumeStatusItem[];
|
|
6573
6714
|
}
|
|
6574
|
-
export declare
|
|
6715
|
+
export declare enum VpcAttributeName {
|
|
6716
|
+
enableDnsHostnames = "enableDnsHostnames",
|
|
6717
|
+
enableDnsSupport = "enableDnsSupport"
|
|
6718
|
+
}
|
|
6575
6719
|
export interface DescribeVpcAttributeRequest {
|
|
6576
6720
|
/**
|
|
6577
6721
|
* <p>The VPC attribute.</p>
|
|
@@ -6859,6 +7003,14 @@ export interface VpcEndpointConnection {
|
|
|
6859
7003
|
* <p>The IP address type for the endpoint.</p>
|
|
6860
7004
|
*/
|
|
6861
7005
|
IpAddressType?: IpAddressType | string;
|
|
7006
|
+
/**
|
|
7007
|
+
* <p>The ID of the VPC endpoint connection.</p>
|
|
7008
|
+
*/
|
|
7009
|
+
VpcEndpointConnectionId?: string;
|
|
7010
|
+
/**
|
|
7011
|
+
* <p>The tags.</p>
|
|
7012
|
+
*/
|
|
7013
|
+
Tags?: Tag[];
|
|
6862
7014
|
}
|
|
6863
7015
|
export interface DescribeVpcEndpointConnectionsResult {
|
|
6864
7016
|
/**
|
|
@@ -7157,7 +7309,7 @@ export interface ServiceDetail {
|
|
|
7157
7309
|
*/
|
|
7158
7310
|
PrivateDnsName?: string;
|
|
7159
7311
|
/**
|
|
7160
|
-
* <p>The private DNS names assigned to the VPC endpoint service
|
|
7312
|
+
* <p>The private DNS names assigned to the VPC endpoint service.</p>
|
|
7161
7313
|
*/
|
|
7162
7314
|
PrivateDnsNames?: PrivateDnsDetails[];
|
|
7163
7315
|
/**
|
|
@@ -7971,7 +8123,12 @@ export interface DisableTransitGatewayRouteTablePropagationRequest {
|
|
|
7971
8123
|
*/
|
|
7972
8124
|
TransitGatewayRouteTableAnnouncementId?: string;
|
|
7973
8125
|
}
|
|
7974
|
-
export declare
|
|
8126
|
+
export declare enum TransitGatewayPropagationState {
|
|
8127
|
+
disabled = "disabled",
|
|
8128
|
+
disabling = "disabling",
|
|
8129
|
+
enabled = "enabled",
|
|
8130
|
+
enabling = "enabling"
|
|
8131
|
+
}
|
|
7975
8132
|
/**
|
|
7976
8133
|
* <p>Describes route propagation.</p>
|
|
7977
8134
|
*/
|
|
@@ -8513,44 +8670,17 @@ export interface EnableFastSnapshotRestoreSuccessItem {
|
|
|
8513
8670
|
DisabledTime?: Date;
|
|
8514
8671
|
}
|
|
8515
8672
|
/**
|
|
8516
|
-
*
|
|
8673
|
+
* @internal
|
|
8517
8674
|
*/
|
|
8518
|
-
export
|
|
8519
|
-
/**
|
|
8520
|
-
* <p>The error code.</p>
|
|
8521
|
-
*/
|
|
8522
|
-
Code?: string;
|
|
8523
|
-
/**
|
|
8524
|
-
* <p>The error message.</p>
|
|
8525
|
-
*/
|
|
8526
|
-
Message?: string;
|
|
8527
|
-
}
|
|
8675
|
+
export declare const LocalGatewayVirtualInterfaceGroupFilterSensitiveLog: (obj: LocalGatewayVirtualInterfaceGroup) => any;
|
|
8528
8676
|
/**
|
|
8529
|
-
*
|
|
8677
|
+
* @internal
|
|
8530
8678
|
*/
|
|
8531
|
-
export
|
|
8532
|
-
/**
|
|
8533
|
-
* <p>The Availability Zone.</p>
|
|
8534
|
-
*/
|
|
8535
|
-
AvailabilityZone?: string;
|
|
8536
|
-
/**
|
|
8537
|
-
* <p>The error.</p>
|
|
8538
|
-
*/
|
|
8539
|
-
Error?: EnableFastSnapshotRestoreStateError;
|
|
8540
|
-
}
|
|
8679
|
+
export declare const DescribeLocalGatewayVirtualInterfaceGroupsResultFilterSensitiveLog: (obj: DescribeLocalGatewayVirtualInterfaceGroupsResult) => any;
|
|
8541
8680
|
/**
|
|
8542
|
-
*
|
|
8681
|
+
* @internal
|
|
8543
8682
|
*/
|
|
8544
|
-
export
|
|
8545
|
-
/**
|
|
8546
|
-
* <p>The ID of the snapshot.</p>
|
|
8547
|
-
*/
|
|
8548
|
-
SnapshotId?: string;
|
|
8549
|
-
/**
|
|
8550
|
-
* <p>The errors.</p>
|
|
8551
|
-
*/
|
|
8552
|
-
FastSnapshotRestoreStateErrors?: EnableFastSnapshotRestoreStateErrorItem[];
|
|
8553
|
-
}
|
|
8683
|
+
export declare const DescribeLocalGatewayVirtualInterfacesRequestFilterSensitiveLog: (obj: DescribeLocalGatewayVirtualInterfacesRequest) => any;
|
|
8554
8684
|
/**
|
|
8555
8685
|
* @internal
|
|
8556
8686
|
*/
|
|
@@ -9647,15 +9777,3 @@ export declare const EnableFastSnapshotRestoresRequestFilterSensitiveLog: (obj:
|
|
|
9647
9777
|
* @internal
|
|
9648
9778
|
*/
|
|
9649
9779
|
export declare const EnableFastSnapshotRestoreSuccessItemFilterSensitiveLog: (obj: EnableFastSnapshotRestoreSuccessItem) => any;
|
|
9650
|
-
/**
|
|
9651
|
-
* @internal
|
|
9652
|
-
*/
|
|
9653
|
-
export declare const EnableFastSnapshotRestoreStateErrorFilterSensitiveLog: (obj: EnableFastSnapshotRestoreStateError) => any;
|
|
9654
|
-
/**
|
|
9655
|
-
* @internal
|
|
9656
|
-
*/
|
|
9657
|
-
export declare const EnableFastSnapshotRestoreStateErrorItemFilterSensitiveLog: (obj: EnableFastSnapshotRestoreStateErrorItem) => any;
|
|
9658
|
-
/**
|
|
9659
|
-
* @internal
|
|
9660
|
-
*/
|
|
9661
|
-
export declare const EnableFastSnapshotRestoreErrorItemFilterSensitiveLog: (obj: EnableFastSnapshotRestoreErrorItem) => any;
|