@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,6 +1,48 @@
|
|
|
1
|
-
import { _InstanceType, ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus,
|
|
2
|
-
import { BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamPool, IpamScope, KeyType, LaunchTemplate, LaunchTemplateAndOverridesResponse, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, NetworkInterfaceStatus, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType } from "./models_1";
|
|
1
|
+
import { _InstanceType, ActiveInstance, AddressAttribute, AddressAttributeName, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CurrencyCodeValues, CustomerGateway, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, HostnameType, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, Tag, TransportProtocol } from "./models_0";
|
|
2
|
+
import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamPool, IpamScope, KeyType, LaunchTemplate, LaunchTemplateAndOverridesResponse, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, NetworkInterfaceStatus, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType } from "./models_1";
|
|
3
3
|
import { Filter, FleetStateCode, InstanceTagNotificationAttribute } from "./models_2";
|
|
4
|
+
export interface DescribeAddressesAttributeRequest {
|
|
5
|
+
/**
|
|
6
|
+
* <p>[EC2-VPC] The allocation IDs.</p>
|
|
7
|
+
*/
|
|
8
|
+
AllocationIds?: string[];
|
|
9
|
+
/**
|
|
10
|
+
* <p>The attribute of the IP address.</p>
|
|
11
|
+
*/
|
|
12
|
+
Attribute?: AddressAttributeName | string;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The token for the next page of results.</p>
|
|
15
|
+
*/
|
|
16
|
+
NextToken?: string;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
19
|
+
*/
|
|
20
|
+
MaxResults?: number;
|
|
21
|
+
/**
|
|
22
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
23
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
24
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
25
|
+
*/
|
|
26
|
+
DryRun?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface DescribeAddressesAttributeResult {
|
|
29
|
+
/**
|
|
30
|
+
* <p>Information about the IP addresses.</p>
|
|
31
|
+
*/
|
|
32
|
+
Addresses?: AddressAttribute[];
|
|
33
|
+
/**
|
|
34
|
+
* <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>
|
|
35
|
+
*/
|
|
36
|
+
NextToken?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface DescribeAggregateIdFormatRequest {
|
|
39
|
+
/**
|
|
40
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
41
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
42
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
43
|
+
*/
|
|
44
|
+
DryRun?: boolean;
|
|
45
|
+
}
|
|
4
46
|
/**
|
|
5
47
|
* <p>Describes the ID format for a resource.</p>
|
|
6
48
|
*/
|
|
@@ -123,8 +165,17 @@ export interface AvailabilityZoneMessage {
|
|
|
123
165
|
*/
|
|
124
166
|
Message?: string;
|
|
125
167
|
}
|
|
126
|
-
export declare
|
|
127
|
-
|
|
168
|
+
export declare enum AvailabilityZoneOptInStatus {
|
|
169
|
+
not_opted_in = "not-opted-in",
|
|
170
|
+
opt_in_not_required = "opt-in-not-required",
|
|
171
|
+
opted_in = "opted-in"
|
|
172
|
+
}
|
|
173
|
+
export declare enum AvailabilityZoneState {
|
|
174
|
+
available = "available",
|
|
175
|
+
impaired = "impaired",
|
|
176
|
+
information = "information",
|
|
177
|
+
unavailable = "unavailable"
|
|
178
|
+
}
|
|
128
179
|
/**
|
|
129
180
|
* <p>Describes Availability Zones, Local Zones, and Wavelength Zones.</p>
|
|
130
181
|
*/
|
|
@@ -869,7 +920,12 @@ export interface DescribeClientVpnConnectionsRequest {
|
|
|
869
920
|
*/
|
|
870
921
|
DryRun?: boolean;
|
|
871
922
|
}
|
|
872
|
-
export declare
|
|
923
|
+
export declare enum ClientVpnConnectionStatusCode {
|
|
924
|
+
active = "active",
|
|
925
|
+
failed_to_terminate = "failed-to-terminate",
|
|
926
|
+
terminated = "terminated",
|
|
927
|
+
terminating = "terminating"
|
|
928
|
+
}
|
|
873
929
|
/**
|
|
874
930
|
* <p>Describes the status of a client connection.</p>
|
|
875
931
|
*/
|
|
@@ -989,7 +1045,9 @@ export interface DescribeClientVpnEndpointsRequest {
|
|
|
989
1045
|
*/
|
|
990
1046
|
DryRun?: boolean;
|
|
991
1047
|
}
|
|
992
|
-
export declare
|
|
1048
|
+
export declare enum AssociatedNetworkType {
|
|
1049
|
+
vpc = "vpc"
|
|
1050
|
+
}
|
|
993
1051
|
/**
|
|
994
1052
|
* <p>Describes a target network that is associated with a Client VPN endpoint. A target network is a subnet in a VPC.</p>
|
|
995
1053
|
*/
|
|
@@ -1056,7 +1114,10 @@ export interface ClientVpnAuthentication {
|
|
|
1056
1114
|
*/
|
|
1057
1115
|
FederatedAuthentication?: FederatedAuthentication;
|
|
1058
1116
|
}
|
|
1059
|
-
export declare
|
|
1117
|
+
export declare enum ClientVpnEndpointAttributeStatusCode {
|
|
1118
|
+
applied = "applied",
|
|
1119
|
+
applying = "applying"
|
|
1120
|
+
}
|
|
1060
1121
|
/**
|
|
1061
1122
|
* <p>Describes the status of the Client VPN endpoint attribute.</p>
|
|
1062
1123
|
*/
|
|
@@ -1122,7 +1183,9 @@ export interface ConnectionLogResponseOptions {
|
|
|
1122
1183
|
*/
|
|
1123
1184
|
CloudwatchLogStream?: string;
|
|
1124
1185
|
}
|
|
1125
|
-
export declare
|
|
1186
|
+
export declare enum VpnProtocol {
|
|
1187
|
+
openvpn = "openvpn"
|
|
1188
|
+
}
|
|
1126
1189
|
/**
|
|
1127
1190
|
* <p>Describes a Client VPN endpoint.</p>
|
|
1128
1191
|
*/
|
|
@@ -1573,7 +1636,12 @@ export interface ImportVolumeTaskDetails {
|
|
|
1573
1636
|
*/
|
|
1574
1637
|
Volume?: DiskImageVolumeDescription;
|
|
1575
1638
|
}
|
|
1576
|
-
export declare
|
|
1639
|
+
export declare enum ConversionTaskState {
|
|
1640
|
+
active = "active",
|
|
1641
|
+
cancelled = "cancelled",
|
|
1642
|
+
cancelling = "cancelling",
|
|
1643
|
+
completed = "completed"
|
|
1644
|
+
}
|
|
1577
1645
|
/**
|
|
1578
1646
|
* <p>Describes a conversion task.</p>
|
|
1579
1647
|
*/
|
|
@@ -2193,7 +2261,13 @@ export interface DescribeFastSnapshotRestoresRequest {
|
|
|
2193
2261
|
*/
|
|
2194
2262
|
DryRun?: boolean;
|
|
2195
2263
|
}
|
|
2196
|
-
export declare
|
|
2264
|
+
export declare enum FastSnapshotRestoreStateCode {
|
|
2265
|
+
disabled = "disabled",
|
|
2266
|
+
disabling = "disabling",
|
|
2267
|
+
enabled = "enabled",
|
|
2268
|
+
enabling = "enabling",
|
|
2269
|
+
optimizing = "optimizing"
|
|
2270
|
+
}
|
|
2197
2271
|
/**
|
|
2198
2272
|
* <p>Describes fast snapshot restores for a snapshot.</p>
|
|
2199
2273
|
*/
|
|
@@ -2795,10 +2869,15 @@ export interface FleetSpotMaintenanceStrategies {
|
|
|
2795
2869
|
export interface SpotOptions {
|
|
2796
2870
|
/**
|
|
2797
2871
|
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
2798
|
-
* pools specified by the EC2 Fleet
|
|
2872
|
+
* pools specified by the EC2 Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the
|
|
2873
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
2799
2874
|
* <p>
|
|
2800
|
-
* <code>lowest-price</code> - EC2 Fleet launches instances from the Spot Instance
|
|
2801
|
-
*
|
|
2875
|
+
* <code>lowest-price</code> - EC2 Fleet launches instances from the lowest-price Spot Instance pool that
|
|
2876
|
+
* has available capacity. If the cheapest pool doesn't have available capacity, the Spot Instances
|
|
2877
|
+
* come from the next cheapest pool that has available capacity. If a pool runs out of
|
|
2878
|
+
* capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
|
|
2879
|
+
* request by drawing from the next cheapest pool. To ensure that your desired capacity is
|
|
2880
|
+
* met, you might receive Spot Instances from several pools.</p>
|
|
2802
2881
|
* <p>
|
|
2803
2882
|
* <code>diversified</code> - EC2 Fleet launches instances from all of the Spot Instance pools that you
|
|
2804
2883
|
* specify.</p>
|
|
@@ -3210,7 +3289,12 @@ export interface DescribeFlowLogsResult {
|
|
|
3210
3289
|
*/
|
|
3211
3290
|
NextToken?: string;
|
|
3212
3291
|
}
|
|
3213
|
-
export declare
|
|
3292
|
+
export declare enum FpgaImageAttributeName {
|
|
3293
|
+
description = "description",
|
|
3294
|
+
loadPermission = "loadPermission",
|
|
3295
|
+
name = "name",
|
|
3296
|
+
productCodes = "productCodes"
|
|
3297
|
+
}
|
|
3214
3298
|
export interface DescribeFpgaImageAttributeRequest {
|
|
3215
3299
|
/**
|
|
3216
3300
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
@@ -3227,7 +3311,9 @@ export interface DescribeFpgaImageAttributeRequest {
|
|
|
3227
3311
|
*/
|
|
3228
3312
|
Attribute: FpgaImageAttributeName | string | undefined;
|
|
3229
3313
|
}
|
|
3230
|
-
export declare
|
|
3314
|
+
export declare enum PermissionGroup {
|
|
3315
|
+
all = "all"
|
|
3316
|
+
}
|
|
3231
3317
|
/**
|
|
3232
3318
|
* <p>Describes a load permission.</p>
|
|
3233
3319
|
*/
|
|
@@ -3241,7 +3327,10 @@ export interface LoadPermission {
|
|
|
3241
3327
|
*/
|
|
3242
3328
|
Group?: PermissionGroup | string;
|
|
3243
3329
|
}
|
|
3244
|
-
export declare
|
|
3330
|
+
export declare enum ProductCodeValues {
|
|
3331
|
+
devpay = "devpay",
|
|
3332
|
+
marketplace = "marketplace"
|
|
3333
|
+
}
|
|
3245
3334
|
/**
|
|
3246
3335
|
* <p>Describes a product code.</p>
|
|
3247
3336
|
*/
|
|
@@ -3384,7 +3473,12 @@ export interface PciId {
|
|
|
3384
3473
|
*/
|
|
3385
3474
|
SubsystemVendorId?: string;
|
|
3386
3475
|
}
|
|
3387
|
-
export declare
|
|
3476
|
+
export declare enum FpgaImageStateCode {
|
|
3477
|
+
available = "available",
|
|
3478
|
+
failed = "failed",
|
|
3479
|
+
pending = "pending",
|
|
3480
|
+
unavailable = "unavailable"
|
|
3481
|
+
}
|
|
3388
3482
|
/**
|
|
3389
3483
|
* <p>Describes the state of the bitstream generation process for an Amazon FPGA image (AFI).</p>
|
|
3390
3484
|
*/
|
|
@@ -4038,7 +4132,19 @@ export interface DescribeIdFormatResult {
|
|
|
4038
4132
|
*/
|
|
4039
4133
|
Statuses?: IdFormat[];
|
|
4040
4134
|
}
|
|
4041
|
-
export declare
|
|
4135
|
+
export declare enum ImageAttributeName {
|
|
4136
|
+
blockDeviceMapping = "blockDeviceMapping",
|
|
4137
|
+
bootMode = "bootMode",
|
|
4138
|
+
description = "description",
|
|
4139
|
+
kernel = "kernel",
|
|
4140
|
+
lastLaunchedTime = "lastLaunchedTime",
|
|
4141
|
+
launchPermission = "launchPermission",
|
|
4142
|
+
productCodes = "productCodes",
|
|
4143
|
+
ramdisk = "ramdisk",
|
|
4144
|
+
sriovNetSupport = "sriovNetSupport",
|
|
4145
|
+
tpmSupport = "tpmSupport",
|
|
4146
|
+
uefiData = "uefiData"
|
|
4147
|
+
}
|
|
4042
4148
|
/**
|
|
4043
4149
|
* <p>Contains the parameters for DescribeImageAttribute.</p>
|
|
4044
4150
|
*/
|
|
@@ -4355,16 +4461,45 @@ export interface DescribeImagesRequest {
|
|
|
4355
4461
|
*/
|
|
4356
4462
|
DryRun?: boolean;
|
|
4357
4463
|
}
|
|
4358
|
-
export declare
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4464
|
+
export declare enum ArchitectureValues {
|
|
4465
|
+
arm64 = "arm64",
|
|
4466
|
+
i386 = "i386",
|
|
4467
|
+
x86_64 = "x86_64",
|
|
4468
|
+
x86_64_mac = "x86_64_mac"
|
|
4469
|
+
}
|
|
4470
|
+
export declare enum BootModeValues {
|
|
4471
|
+
legacy_bios = "legacy-bios",
|
|
4472
|
+
uefi = "uefi"
|
|
4473
|
+
}
|
|
4474
|
+
export declare enum HypervisorType {
|
|
4475
|
+
ovm = "ovm",
|
|
4476
|
+
xen = "xen"
|
|
4477
|
+
}
|
|
4478
|
+
export declare enum ImageTypeValues {
|
|
4479
|
+
kernel = "kernel",
|
|
4480
|
+
machine = "machine",
|
|
4481
|
+
ramdisk = "ramdisk"
|
|
4482
|
+
}
|
|
4483
|
+
export declare enum DeviceType {
|
|
4484
|
+
ebs = "ebs",
|
|
4485
|
+
instance_store = "instance-store"
|
|
4486
|
+
}
|
|
4487
|
+
export declare enum ImageState {
|
|
4488
|
+
available = "available",
|
|
4489
|
+
deregistered = "deregistered",
|
|
4490
|
+
error = "error",
|
|
4491
|
+
failed = "failed",
|
|
4492
|
+
invalid = "invalid",
|
|
4493
|
+
pending = "pending",
|
|
4494
|
+
transient = "transient"
|
|
4495
|
+
}
|
|
4364
4496
|
export declare enum TpmSupportValues {
|
|
4365
4497
|
v2_0 = "v2.0"
|
|
4366
4498
|
}
|
|
4367
|
-
export declare
|
|
4499
|
+
export declare enum VirtualizationType {
|
|
4500
|
+
hvm = "hvm",
|
|
4501
|
+
paravirtual = "paravirtual"
|
|
4502
|
+
}
|
|
4368
4503
|
/**
|
|
4369
4504
|
* <p>Describes an image.</p>
|
|
4370
4505
|
*/
|
|
@@ -4797,7 +4932,24 @@ export interface DescribeImportSnapshotTasksResult {
|
|
|
4797
4932
|
*/
|
|
4798
4933
|
NextToken?: string;
|
|
4799
4934
|
}
|
|
4800
|
-
export declare
|
|
4935
|
+
export declare enum InstanceAttributeName {
|
|
4936
|
+
blockDeviceMapping = "blockDeviceMapping",
|
|
4937
|
+
disableApiStop = "disableApiStop",
|
|
4938
|
+
disableApiTermination = "disableApiTermination",
|
|
4939
|
+
ebsOptimized = "ebsOptimized",
|
|
4940
|
+
enaSupport = "enaSupport",
|
|
4941
|
+
enclaveOptions = "enclaveOptions",
|
|
4942
|
+
groupSet = "groupSet",
|
|
4943
|
+
instanceInitiatedShutdownBehavior = "instanceInitiatedShutdownBehavior",
|
|
4944
|
+
instanceType = "instanceType",
|
|
4945
|
+
kernel = "kernel",
|
|
4946
|
+
productCodes = "productCodes",
|
|
4947
|
+
ramdisk = "ramdisk",
|
|
4948
|
+
rootDeviceName = "rootDeviceName",
|
|
4949
|
+
sourceDestCheck = "sourceDestCheck",
|
|
4950
|
+
sriovNetSupport = "sriovNetSupport",
|
|
4951
|
+
userData = "userData"
|
|
4952
|
+
}
|
|
4801
4953
|
export interface DescribeInstanceAttributeRequest {
|
|
4802
4954
|
/**
|
|
4803
4955
|
* <p>The instance attribute.</p>
|
|
@@ -5725,7 +5877,10 @@ export interface HibernationOptions {
|
|
|
5725
5877
|
*/
|
|
5726
5878
|
Configured?: boolean;
|
|
5727
5879
|
}
|
|
5728
|
-
export declare
|
|
5880
|
+
export declare enum InstanceLifecycleType {
|
|
5881
|
+
scheduled = "scheduled",
|
|
5882
|
+
spot = "spot"
|
|
5883
|
+
}
|
|
5729
5884
|
/**
|
|
5730
5885
|
* <p>Describes a license configuration.</p>
|
|
5731
5886
|
*/
|
|
@@ -5749,7 +5904,10 @@ export interface InstanceMaintenanceOptions {
|
|
|
5749
5904
|
*/
|
|
5750
5905
|
AutoRecovery?: InstanceAutoRecoveryState | string;
|
|
5751
5906
|
}
|
|
5752
|
-
export declare
|
|
5907
|
+
export declare enum InstanceMetadataEndpointState {
|
|
5908
|
+
disabled = "disabled",
|
|
5909
|
+
enabled = "enabled"
|
|
5910
|
+
}
|
|
5753
5911
|
export declare enum InstanceMetadataProtocolState {
|
|
5754
5912
|
disabled = "disabled",
|
|
5755
5913
|
enabled = "enabled"
|
|
@@ -5762,7 +5920,10 @@ export declare enum InstanceMetadataTagsState {
|
|
|
5762
5920
|
disabled = "disabled",
|
|
5763
5921
|
enabled = "enabled"
|
|
5764
5922
|
}
|
|
5765
|
-
export declare
|
|
5923
|
+
export declare enum InstanceMetadataOptionsState {
|
|
5924
|
+
applied = "applied",
|
|
5925
|
+
pending = "pending"
|
|
5926
|
+
}
|
|
5766
5927
|
/**
|
|
5767
5928
|
* <p>The metadata options for the instance.</p>
|
|
5768
5929
|
*/
|
|
@@ -5780,13 +5941,14 @@ export interface InstanceMetadataOptionsResponse {
|
|
|
5780
5941
|
/**
|
|
5781
5942
|
* <p>The state of token usage for your instance metadata requests.</p>
|
|
5782
5943
|
* <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
|
|
5783
|
-
* with or without a
|
|
5784
|
-
*
|
|
5785
|
-
*
|
|
5786
|
-
*
|
|
5787
|
-
*
|
|
5788
|
-
*
|
|
5789
|
-
*
|
|
5944
|
+
* with or without a session token on your request. If you retrieve the IAM
|
|
5945
|
+
* role credentials without a token, the version 1.0 role credentials are returned. If you
|
|
5946
|
+
* retrieve the IAM role credentials using a valid session token, the
|
|
5947
|
+
* version 2.0 role credentials are returned.</p>
|
|
5948
|
+
* <p>If the state is <code>required</code>, you must send a session token with any instance
|
|
5949
|
+
* metadata retrieval requests. In this state, retrieving the IAM role
|
|
5950
|
+
* credentials always returns the version 2.0 credentials; the version 1.0 credentials are
|
|
5951
|
+
* not available.</p>
|
|
5790
5952
|
* <p>Default: <code>optional</code>
|
|
5791
5953
|
* </p>
|
|
5792
5954
|
*/
|
|
@@ -5817,7 +5979,12 @@ export interface InstanceMetadataOptionsResponse {
|
|
|
5817
5979
|
*/
|
|
5818
5980
|
InstanceMetadataTags?: InstanceMetadataTagsState | string;
|
|
5819
5981
|
}
|
|
5820
|
-
export declare
|
|
5982
|
+
export declare enum MonitoringState {
|
|
5983
|
+
disabled = "disabled",
|
|
5984
|
+
disabling = "disabling",
|
|
5985
|
+
enabled = "enabled",
|
|
5986
|
+
pending = "pending"
|
|
5987
|
+
}
|
|
5821
5988
|
/**
|
|
5822
5989
|
* <p>Describes the monitoring of an instance.</p>
|
|
5823
5990
|
*/
|
|
@@ -6020,7 +6187,14 @@ export interface PrivateDnsNameOptionsResponse {
|
|
|
6020
6187
|
*/
|
|
6021
6188
|
EnableResourceNameDnsAAAARecord?: boolean;
|
|
6022
6189
|
}
|
|
6023
|
-
export declare
|
|
6190
|
+
export declare enum InstanceStateName {
|
|
6191
|
+
pending = "pending",
|
|
6192
|
+
running = "running",
|
|
6193
|
+
shutting_down = "shutting-down",
|
|
6194
|
+
stopped = "stopped",
|
|
6195
|
+
stopping = "stopping",
|
|
6196
|
+
terminated = "terminated"
|
|
6197
|
+
}
|
|
6024
6198
|
/**
|
|
6025
6199
|
* <p>Describes the current state of an instance.</p>
|
|
6026
6200
|
*/
|
|
@@ -6338,10 +6512,6 @@ export interface Instance {
|
|
|
6338
6512
|
* <p>Describes a launch request for one or more instances, and includes owner, requester,
|
|
6339
6513
|
* and security group information that applies to all instances in the launch
|
|
6340
6514
|
* request.</p>
|
|
6341
|
-
*
|
|
6342
|
-
* <note>
|
|
6343
|
-
* <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</i>.</p>
|
|
6344
|
-
* </note>
|
|
6345
6515
|
*/
|
|
6346
6516
|
export interface Reservation {
|
|
6347
6517
|
/**
|
|
@@ -6489,7 +6659,13 @@ export interface DescribeInstanceStatusRequest {
|
|
|
6489
6659
|
*/
|
|
6490
6660
|
IncludeAllInstances?: boolean;
|
|
6491
6661
|
}
|
|
6492
|
-
export declare
|
|
6662
|
+
export declare enum EventCode {
|
|
6663
|
+
instance_reboot = "instance-reboot",
|
|
6664
|
+
instance_retirement = "instance-retirement",
|
|
6665
|
+
instance_stop = "instance-stop",
|
|
6666
|
+
system_maintenance = "system-maintenance",
|
|
6667
|
+
system_reboot = "system-reboot"
|
|
6668
|
+
}
|
|
6493
6669
|
/**
|
|
6494
6670
|
* <p>Describes a scheduled event for an instance.</p>
|
|
6495
6671
|
*/
|
|
@@ -6522,8 +6698,15 @@ export interface InstanceStatusEvent {
|
|
|
6522
6698
|
*/
|
|
6523
6699
|
NotBeforeDeadline?: Date;
|
|
6524
6700
|
}
|
|
6525
|
-
export declare
|
|
6526
|
-
|
|
6701
|
+
export declare enum StatusName {
|
|
6702
|
+
reachability = "reachability"
|
|
6703
|
+
}
|
|
6704
|
+
export declare enum StatusType {
|
|
6705
|
+
failed = "failed",
|
|
6706
|
+
initializing = "initializing",
|
|
6707
|
+
insufficient_data = "insufficient-data",
|
|
6708
|
+
passed = "passed"
|
|
6709
|
+
}
|
|
6527
6710
|
/**
|
|
6528
6711
|
* <p>Describes the instance status.</p>
|
|
6529
6712
|
*/
|
|
@@ -6542,7 +6725,13 @@ export interface InstanceStatusDetails {
|
|
|
6542
6725
|
*/
|
|
6543
6726
|
Status?: StatusType | string;
|
|
6544
6727
|
}
|
|
6545
|
-
export declare
|
|
6728
|
+
export declare enum SummaryStatus {
|
|
6729
|
+
impaired = "impaired",
|
|
6730
|
+
initializing = "initializing",
|
|
6731
|
+
insufficient_data = "insufficient-data",
|
|
6732
|
+
not_applicable = "not-applicable",
|
|
6733
|
+
ok = "ok"
|
|
6734
|
+
}
|
|
6546
6735
|
/**
|
|
6547
6736
|
* <p>Describes the status of an instance.</p>
|
|
6548
6737
|
*/
|
|
@@ -6603,7 +6792,11 @@ export interface DescribeInstanceStatusResult {
|
|
|
6603
6792
|
*/
|
|
6604
6793
|
NextToken?: string;
|
|
6605
6794
|
}
|
|
6606
|
-
export declare
|
|
6795
|
+
export declare enum LocationType {
|
|
6796
|
+
availability_zone = "availability-zone",
|
|
6797
|
+
availability_zone_id = "availability-zone-id",
|
|
6798
|
+
region = "region"
|
|
6799
|
+
}
|
|
6607
6800
|
export interface DescribeInstanceTypeOfferingsRequest {
|
|
6608
6801
|
/**
|
|
6609
6802
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
@@ -6947,8 +7140,15 @@ export interface EbsOptimizedInfo {
|
|
|
6947
7140
|
*/
|
|
6948
7141
|
MaximumIops?: number;
|
|
6949
7142
|
}
|
|
6950
|
-
export declare
|
|
6951
|
-
|
|
7143
|
+
export declare enum EbsOptimizedSupport {
|
|
7144
|
+
default = "default",
|
|
7145
|
+
supported = "supported",
|
|
7146
|
+
unsupported = "unsupported"
|
|
7147
|
+
}
|
|
7148
|
+
export declare enum EbsEncryptionSupport {
|
|
7149
|
+
supported = "supported",
|
|
7150
|
+
unsupported = "unsupported"
|
|
7151
|
+
}
|
|
6952
7152
|
export declare enum EbsNvmeSupport {
|
|
6953
7153
|
REQUIRED = "required",
|
|
6954
7154
|
SUPPORTED = "supported",
|
|
@@ -7092,7 +7292,10 @@ export interface InferenceAcceleratorInfo {
|
|
|
7092
7292
|
*/
|
|
7093
7293
|
Accelerators?: InferenceDeviceInfo[];
|
|
7094
7294
|
}
|
|
7095
|
-
export declare
|
|
7295
|
+
export declare enum DiskType {
|
|
7296
|
+
hdd = "hdd",
|
|
7297
|
+
ssd = "ssd"
|
|
7298
|
+
}
|
|
7096
7299
|
/**
|
|
7097
7300
|
* <p>Describes a disk.</p>
|
|
7098
7301
|
*/
|
|
@@ -7158,7 +7361,11 @@ export interface EfaInfo {
|
|
|
7158
7361
|
*/
|
|
7159
7362
|
MaximumEfaInterfaces?: number;
|
|
7160
7363
|
}
|
|
7161
|
-
export declare
|
|
7364
|
+
export declare enum EnaSupport {
|
|
7365
|
+
required = "required",
|
|
7366
|
+
supported = "supported",
|
|
7367
|
+
unsupported = "unsupported"
|
|
7368
|
+
}
|
|
7162
7369
|
/**
|
|
7163
7370
|
* <p>Describes the network card support of the instance type.</p>
|
|
7164
7371
|
*/
|
|
@@ -7229,7 +7436,11 @@ export interface NetworkInfo {
|
|
|
7229
7436
|
*/
|
|
7230
7437
|
EncryptionInTransitSupported?: boolean;
|
|
7231
7438
|
}
|
|
7232
|
-
export declare
|
|
7439
|
+
export declare enum PlacementGroupStrategy {
|
|
7440
|
+
cluster = "cluster",
|
|
7441
|
+
partition = "partition",
|
|
7442
|
+
spread = "spread"
|
|
7443
|
+
}
|
|
7233
7444
|
/**
|
|
7234
7445
|
* <p>Describes the placement group support of the instance type.</p>
|
|
7235
7446
|
*/
|
|
@@ -7239,7 +7450,12 @@ export interface PlacementGroupInfo {
|
|
|
7239
7450
|
*/
|
|
7240
7451
|
SupportedStrategies?: (PlacementGroupStrategy | string)[];
|
|
7241
7452
|
}
|
|
7242
|
-
export declare
|
|
7453
|
+
export declare enum ArchitectureType {
|
|
7454
|
+
arm64 = "arm64",
|
|
7455
|
+
i386 = "i386",
|
|
7456
|
+
x86_64 = "x86_64",
|
|
7457
|
+
x86_64_mac = "x86_64_mac"
|
|
7458
|
+
}
|
|
7243
7459
|
/**
|
|
7244
7460
|
* <p>Describes the processor used by the instance type.</p>
|
|
7245
7461
|
*/
|
|
@@ -7253,9 +7469,18 @@ export interface ProcessorInfo {
|
|
|
7253
7469
|
*/
|
|
7254
7470
|
SustainedClockSpeedInGhz?: number;
|
|
7255
7471
|
}
|
|
7256
|
-
export declare
|
|
7257
|
-
|
|
7258
|
-
|
|
7472
|
+
export declare enum BootModeType {
|
|
7473
|
+
legacy_bios = "legacy-bios",
|
|
7474
|
+
uefi = "uefi"
|
|
7475
|
+
}
|
|
7476
|
+
export declare enum RootDeviceType {
|
|
7477
|
+
ebs = "ebs",
|
|
7478
|
+
instance_store = "instance-store"
|
|
7479
|
+
}
|
|
7480
|
+
export declare enum UsageClassType {
|
|
7481
|
+
on_demand = "on-demand",
|
|
7482
|
+
spot = "spot"
|
|
7483
|
+
}
|
|
7259
7484
|
/**
|
|
7260
7485
|
* <p>Describes the vCPU configurations for the instance type.</p>
|
|
7261
7486
|
*/
|
|
@@ -8267,100 +8492,17 @@ export interface DescribeLocalGatewayVirtualInterfaceGroupsRequest {
|
|
|
8267
8492
|
DryRun?: boolean;
|
|
8268
8493
|
}
|
|
8269
8494
|
/**
|
|
8270
|
-
*
|
|
8495
|
+
* @internal
|
|
8271
8496
|
*/
|
|
8272
|
-
export
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
/**
|
|
8282
|
-
* <p>The ID of the local gateway.</p>
|
|
8283
|
-
*/
|
|
8284
|
-
LocalGatewayId?: string;
|
|
8285
|
-
/**
|
|
8286
|
-
* <p>The ID of the Amazon Web Services account that owns the local gateway virtual interface group.</p>
|
|
8287
|
-
*/
|
|
8288
|
-
OwnerId?: string;
|
|
8289
|
-
/**
|
|
8290
|
-
* <p>The tags assigned to the virtual interface group.</p>
|
|
8291
|
-
*/
|
|
8292
|
-
Tags?: Tag[];
|
|
8293
|
-
}
|
|
8294
|
-
export interface DescribeLocalGatewayVirtualInterfaceGroupsResult {
|
|
8295
|
-
/**
|
|
8296
|
-
* <p>The virtual interface groups.</p>
|
|
8297
|
-
*/
|
|
8298
|
-
LocalGatewayVirtualInterfaceGroups?: LocalGatewayVirtualInterfaceGroup[];
|
|
8299
|
-
/**
|
|
8300
|
-
* <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>
|
|
8301
|
-
*/
|
|
8302
|
-
NextToken?: string;
|
|
8303
|
-
}
|
|
8304
|
-
export interface DescribeLocalGatewayVirtualInterfacesRequest {
|
|
8305
|
-
/**
|
|
8306
|
-
* <p>The IDs of the virtual interfaces.</p>
|
|
8307
|
-
*/
|
|
8308
|
-
LocalGatewayVirtualInterfaceIds?: string[];
|
|
8309
|
-
/**
|
|
8310
|
-
* <p>One or more filters.</p>
|
|
8311
|
-
* <ul>
|
|
8312
|
-
* <li>
|
|
8313
|
-
* <p>
|
|
8314
|
-
* <code>local-address</code> - The local address.</p>
|
|
8315
|
-
* </li>
|
|
8316
|
-
* <li>
|
|
8317
|
-
* <p>
|
|
8318
|
-
* <code>local-bgp-asn</code> - The Border Gateway Protocol (BGP) Autonomous System Number (ASN)
|
|
8319
|
-
* of the local gateway.</p>
|
|
8320
|
-
* </li>
|
|
8321
|
-
* <li>
|
|
8322
|
-
* <p>
|
|
8323
|
-
* <code>local-gateway-id</code> - The ID of the local gateway.</p>
|
|
8324
|
-
* </li>
|
|
8325
|
-
* <li>
|
|
8326
|
-
* <p>
|
|
8327
|
-
* <code>local-gateway-virtual-interface-id</code> - The ID of the virtual interface.</p>
|
|
8328
|
-
* </li>
|
|
8329
|
-
* <li>
|
|
8330
|
-
* <p>
|
|
8331
|
-
* <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway virtual interface.</p>
|
|
8332
|
-
* </li>
|
|
8333
|
-
* <li>
|
|
8334
|
-
* <p>
|
|
8335
|
-
* <code>peer-address</code> - The peer address.</p>
|
|
8336
|
-
* </li>
|
|
8337
|
-
* <li>
|
|
8338
|
-
* <p>
|
|
8339
|
-
* <code>peer-bgp-asn</code> - The peer BGP ASN.</p>
|
|
8340
|
-
* </li>
|
|
8341
|
-
* <li>
|
|
8342
|
-
* <p>
|
|
8343
|
-
* <code>vlan</code> - The ID of the VLAN.</p>
|
|
8344
|
-
* </li>
|
|
8345
|
-
* </ul>
|
|
8346
|
-
*/
|
|
8347
|
-
Filters?: Filter[];
|
|
8348
|
-
/**
|
|
8349
|
-
* <p>The maximum number of results to return with a single call.
|
|
8350
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
8351
|
-
*/
|
|
8352
|
-
MaxResults?: number;
|
|
8353
|
-
/**
|
|
8354
|
-
* <p>The token for the next page of results.</p>
|
|
8355
|
-
*/
|
|
8356
|
-
NextToken?: string;
|
|
8357
|
-
/**
|
|
8358
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8359
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8360
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8361
|
-
*/
|
|
8362
|
-
DryRun?: boolean;
|
|
8363
|
-
}
|
|
8497
|
+
export declare const DescribeAddressesAttributeRequestFilterSensitiveLog: (obj: DescribeAddressesAttributeRequest) => any;
|
|
8498
|
+
/**
|
|
8499
|
+
* @internal
|
|
8500
|
+
*/
|
|
8501
|
+
export declare const DescribeAddressesAttributeResultFilterSensitiveLog: (obj: DescribeAddressesAttributeResult) => any;
|
|
8502
|
+
/**
|
|
8503
|
+
* @internal
|
|
8504
|
+
*/
|
|
8505
|
+
export declare const DescribeAggregateIdFormatRequestFilterSensitiveLog: (obj: DescribeAggregateIdFormatRequest) => any;
|
|
8364
8506
|
/**
|
|
8365
8507
|
* @internal
|
|
8366
8508
|
*/
|
|
@@ -9321,15 +9463,3 @@ export declare const DescribeLocalGatewaysResultFilterSensitiveLog: (obj: Descri
|
|
|
9321
9463
|
* @internal
|
|
9322
9464
|
*/
|
|
9323
9465
|
export declare const DescribeLocalGatewayVirtualInterfaceGroupsRequestFilterSensitiveLog: (obj: DescribeLocalGatewayVirtualInterfaceGroupsRequest) => any;
|
|
9324
|
-
/**
|
|
9325
|
-
* @internal
|
|
9326
|
-
*/
|
|
9327
|
-
export declare const LocalGatewayVirtualInterfaceGroupFilterSensitiveLog: (obj: LocalGatewayVirtualInterfaceGroup) => any;
|
|
9328
|
-
/**
|
|
9329
|
-
* @internal
|
|
9330
|
-
*/
|
|
9331
|
-
export declare const DescribeLocalGatewayVirtualInterfaceGroupsResultFilterSensitiveLog: (obj: DescribeLocalGatewayVirtualInterfaceGroupsResult) => any;
|
|
9332
|
-
/**
|
|
9333
|
-
* @internal
|
|
9334
|
-
*/
|
|
9335
|
-
export declare const DescribeLocalGatewayVirtualInterfacesRequestFilterSensitiveLog: (obj: DescribeLocalGatewayVirtualInterfacesRequest) => any;
|