@aws-sdk/client-ec2 3.58.0 → 3.69.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 +30 -0
- package/README.md +2 -2
- package/dist-cjs/EC2.js +15 -0
- package/dist-cjs/commands/CreateTransitGatewayConnectCommand.js +2 -1
- package/dist-cjs/commands/DescribeCoipPoolsCommand.js +2 -1
- package/dist-cjs/commands/DescribeConversionTasksCommand.js +1 -2
- package/dist-cjs/commands/DescribeReplaceRootVolumeTasksCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservedInstancesCommand.js +1 -2
- package/dist-cjs/commands/GetGroupsForCapacityReservationCommand.js +3 -3
- package/dist-cjs/commands/GetHostReservationPurchasePreviewCommand.js +1 -2
- package/dist-cjs/commands/ModifyInstanceMaintenanceOptionsCommand.js +36 -0
- package/dist-cjs/commands/ResetAddressAttributeCommand.js +3 -3
- package/dist-cjs/commands/ResetEbsDefaultKmsKeyIdCommand.js +3 -3
- package/dist-cjs/commands/ResetFpgaImageAttributeCommand.js +3 -3
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_1.js +22 -23
- package/dist-cjs/models/models_2.js +24 -24
- package/dist-cjs/models/models_3.js +35 -29
- package/dist-cjs/models/models_4.js +29 -36
- package/dist-cjs/models/models_5.js +48 -42
- package/dist-cjs/models/models_6.js +44 -2
- package/dist-cjs/protocols/Aws_ec2.js +139 -13
- package/dist-es/EC2.js +15 -0
- package/dist-es/commands/CreateTransitGatewayConnectCommand.js +2 -1
- package/dist-es/commands/DescribeCoipPoolsCommand.js +2 -1
- package/dist-es/commands/DescribeConversionTasksCommand.js +1 -2
- package/dist-es/commands/DescribeReplaceRootVolumeTasksCommand.js +1 -1
- package/dist-es/commands/DescribeReservedInstancesCommand.js +1 -2
- package/dist-es/commands/GetGroupsForCapacityReservationCommand.js +1 -1
- package/dist-es/commands/GetHostReservationPurchasePreviewCommand.js +1 -2
- package/dist-es/commands/ModifyInstanceMaintenanceOptionsCommand.js +39 -0
- package/dist-es/commands/ResetAddressAttributeCommand.js +1 -1
- package/dist-es/commands/ResetEbsDefaultKmsKeyIdCommand.js +1 -1
- package/dist-es/commands/ResetFpgaImageAttributeCommand.js +1 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +13 -12
- package/dist-es/models/models_2.js +12 -12
- package/dist-es/models/models_3.js +21 -17
- package/dist-es/models/models_4.js +17 -20
- package/dist-es/models/models_5.js +28 -24
- package/dist-es/models/models_6.js +28 -0
- package/dist-es/protocols/Aws_ec2.js +137 -0
- package/dist-types/EC2.d.ts +91 -65
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCoipPoolsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +8 -7
- package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -2
- package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +3 -2
- package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -2
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +7 -5
- package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
- package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +11 -10
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -1
- package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +38 -0
- package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +2 -2
- package/dist-types/commands/RebootInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +14 -12
- package/dist-types/commands/StartInstancesCommand.d.ts +5 -4
- package/dist-types/commands/StopInstancesCommand.d.ts +2 -1
- package/dist-types/commands/TerminateInstancesCommand.d.ts +17 -14
- package/dist-types/commands/UnmonitorInstancesCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +11 -9
- package/dist-types/models/models_1.d.ts +344 -313
- package/dist-types/models/models_2.d.ts +69 -69
- package/dist-types/models/models_3.d.ts +160 -218
- package/dist-types/models/models_4.d.ts +167 -126
- package/dist-types/models/models_5.d.ts +214 -140
- package/dist-types/models/models_6.d.ts +191 -66
- package/dist-types/protocols/Aws_ec2.d.ts +3 -0
- package/dist-types/ts3.4/EC2.d.ts +5 -0
- package/dist-types/ts3.4/EC2Client.d.ts +3 -2
- package/dist-types/ts3.4/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeCoipPoolsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +27 -39
- package/dist-types/ts3.4/models/models_2.d.ts +40 -39
- package/dist-types/ts3.4/models/models_3.d.ts +53 -49
- package/dist-types/ts3.4/models/models_4.d.ts +51 -71
- package/dist-types/ts3.4/models/models_5.d.ts +93 -60
- package/dist-types/ts3.4/models/models_6.d.ts +70 -2
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
- package/package.json +3 -3
|
@@ -1,6 +1,71 @@
|
|
|
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, Tag, TransitGatewayRouteTableRoute } from "./models_0";
|
|
2
|
-
import { BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, 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,
|
|
2
|
+
import { BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, 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, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType } from "./models_1";
|
|
3
3
|
import { Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Describes a customer-owned address pool.</p>
|
|
6
|
+
*/
|
|
7
|
+
export interface CoipPool {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The ID of the address pool.</p>
|
|
10
|
+
*/
|
|
11
|
+
PoolId?: string;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The address ranges of the address pool.</p>
|
|
14
|
+
*/
|
|
15
|
+
PoolCidrs?: string[];
|
|
16
|
+
/**
|
|
17
|
+
* <p>The ID of the local gateway route table.</p>
|
|
18
|
+
*/
|
|
19
|
+
LocalGatewayRouteTableId?: string;
|
|
20
|
+
/**
|
|
21
|
+
* <p>The tags.</p>
|
|
22
|
+
*/
|
|
23
|
+
Tags?: Tag[];
|
|
24
|
+
/**
|
|
25
|
+
* <p>The ARN of the address pool.</p>
|
|
26
|
+
*/
|
|
27
|
+
PoolArn?: string;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace CoipPool {
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
const filterSensitiveLog: (obj: CoipPool) => any;
|
|
34
|
+
}
|
|
35
|
+
export interface DescribeCoipPoolsResult {
|
|
36
|
+
/**
|
|
37
|
+
* <p>Information about the address pools.</p>
|
|
38
|
+
*/
|
|
39
|
+
CoipPools?: CoipPool[];
|
|
40
|
+
/**
|
|
41
|
+
* <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>
|
|
42
|
+
*/
|
|
43
|
+
NextToken?: string;
|
|
44
|
+
}
|
|
45
|
+
export declare namespace DescribeCoipPoolsResult {
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
const filterSensitiveLog: (obj: DescribeCoipPoolsResult) => any;
|
|
50
|
+
}
|
|
51
|
+
export interface DescribeConversionTasksRequest {
|
|
52
|
+
/**
|
|
53
|
+
* <p>The conversion task IDs.</p>
|
|
54
|
+
*/
|
|
55
|
+
ConversionTaskIds?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
58
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
59
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
60
|
+
*/
|
|
61
|
+
DryRun?: boolean;
|
|
62
|
+
}
|
|
63
|
+
export declare namespace DescribeConversionTasksRequest {
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
const filterSensitiveLog: (obj: DescribeConversionTasksRequest) => any;
|
|
68
|
+
}
|
|
4
69
|
/**
|
|
5
70
|
* <p>Describes a disk image.</p>
|
|
6
71
|
*/
|
|
@@ -4066,12 +4131,13 @@ export declare namespace AttributeBooleanValue {
|
|
|
4066
4131
|
const filterSensitiveLog: (obj: AttributeBooleanValue) => any;
|
|
4067
4132
|
}
|
|
4068
4133
|
/**
|
|
4069
|
-
* <p>Indicates whether the instance is enabled for Amazon Web Services Nitro
|
|
4134
|
+
* <p>Indicates whether the instance is enabled for Amazon Web Services Nitro
|
|
4135
|
+
* Enclaves.</p>
|
|
4070
4136
|
*/
|
|
4071
4137
|
export interface EnclaveOptions {
|
|
4072
4138
|
/**
|
|
4073
|
-
* <p>If this parameter is set to <code>true</code>, the instance is enabled for Amazon Web Services Nitro Enclaves;
|
|
4074
|
-
*
|
|
4139
|
+
* <p>If this parameter is set to <code>true</code>, the instance is enabled for Amazon Web Services Nitro Enclaves; otherwise, it is not enabled for Amazon Web Services Nitro
|
|
4140
|
+
* Enclaves.</p>
|
|
4075
4141
|
*/
|
|
4076
4142
|
Enabled?: boolean;
|
|
4077
4143
|
}
|
|
@@ -4103,8 +4169,8 @@ export interface InstanceAttribute {
|
|
|
4103
4169
|
*/
|
|
4104
4170
|
EnaSupport?: AttributeBooleanValue;
|
|
4105
4171
|
/**
|
|
4106
|
-
* <p>To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to
|
|
4107
|
-
*
|
|
4172
|
+
* <p>To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to
|
|
4173
|
+
* <code>true</code>; otherwise, set it to <code>false</code>.</p>
|
|
4108
4174
|
*/
|
|
4109
4175
|
EnclaveOptions?: EnclaveOptions;
|
|
4110
4176
|
/**
|
|
@@ -4142,12 +4208,12 @@ export interface InstanceAttribute {
|
|
|
4142
4208
|
*/
|
|
4143
4209
|
RootDeviceName?: AttributeValue;
|
|
4144
4210
|
/**
|
|
4145
|
-
* <p>Enable or disable source/destination checks, which ensure that the instance
|
|
4146
|
-
*
|
|
4147
|
-
*
|
|
4148
|
-
*
|
|
4149
|
-
*
|
|
4150
|
-
*
|
|
4211
|
+
* <p>Enable or disable source/destination checks, which ensure that the instance is either
|
|
4212
|
+
* the source or the destination of any traffic that it receives. If the value is
|
|
4213
|
+
* <code>true</code>, source/destination checks are enabled; otherwise, they are
|
|
4214
|
+
* disabled. The default value is <code>true</code>. You must disable source/destination
|
|
4215
|
+
* checks if the instance runs services such as network address translation, routing, or
|
|
4216
|
+
* firewalls.</p>
|
|
4151
4217
|
*/
|
|
4152
4218
|
SourceDestCheck?: AttributeBooleanValue;
|
|
4153
4219
|
/**
|
|
@@ -4453,8 +4519,8 @@ export interface DescribeInstancesRequest {
|
|
|
4453
4519
|
* <li>
|
|
4454
4520
|
* <p>
|
|
4455
4521
|
* <code>hypervisor</code> - The hypervisor type of the instance
|
|
4456
|
-
*
|
|
4457
|
-
*
|
|
4522
|
+
* (<code>ovm</code> | <code>xen</code>). The value <code>xen</code> is used
|
|
4523
|
+
* for both Xen and Nitro hypervisors.</p>
|
|
4458
4524
|
* </li>
|
|
4459
4525
|
* <li>
|
|
4460
4526
|
* <p>
|
|
@@ -4521,7 +4587,8 @@ export interface DescribeInstancesRequest {
|
|
|
4521
4587
|
* <li>
|
|
4522
4588
|
* <p>
|
|
4523
4589
|
* <code>launch-index</code> - When launching multiple instances, this is the
|
|
4524
|
-
* index for the instance in the launch group (for example, 0, 1, 2, and so on).
|
|
4590
|
+
* index for the instance in the launch group (for example, 0, 1, 2, and so on).
|
|
4591
|
+
* </p>
|
|
4525
4592
|
* </li>
|
|
4526
4593
|
* <li>
|
|
4527
4594
|
* <p>
|
|
@@ -4709,11 +4776,13 @@ export interface DescribeInstancesRequest {
|
|
|
4709
4776
|
* </li>
|
|
4710
4777
|
* <li>
|
|
4711
4778
|
* <p>
|
|
4712
|
-
* <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the
|
|
4779
|
+
* <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the
|
|
4780
|
+
* Outpost.</p>
|
|
4713
4781
|
* </li>
|
|
4714
4782
|
* <li>
|
|
4715
4783
|
* <p>
|
|
4716
|
-
* <code>owner-id</code> - The Amazon Web Services account ID of the instance
|
|
4784
|
+
* <code>owner-id</code> - The Amazon Web Services account ID of the instance
|
|
4785
|
+
* owner.</p>
|
|
4717
4786
|
* </li>
|
|
4718
4787
|
* <li>
|
|
4719
4788
|
* <p>
|
|
@@ -4990,8 +5059,7 @@ export declare namespace ElasticInferenceAcceleratorAssociation {
|
|
|
4990
5059
|
/**
|
|
4991
5060
|
* <p>Indicates whether your instance is configured for hibernation. This parameter is valid
|
|
4992
5061
|
* only if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites">hibernation
|
|
4993
|
-
* prerequisites</a>. For
|
|
4994
|
-
* more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
|
|
5062
|
+
* prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
|
|
4995
5063
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
4996
5064
|
*/
|
|
4997
5065
|
export interface HibernationOptions {
|
|
@@ -5023,6 +5091,26 @@ export declare namespace LicenseConfiguration {
|
|
|
5023
5091
|
*/
|
|
5024
5092
|
const filterSensitiveLog: (obj: LicenseConfiguration) => any;
|
|
5025
5093
|
}
|
|
5094
|
+
export declare enum InstanceAutoRecoveryState {
|
|
5095
|
+
default = "default",
|
|
5096
|
+
disabled = "disabled"
|
|
5097
|
+
}
|
|
5098
|
+
/**
|
|
5099
|
+
* <p>The maintenance options for the instance.</p>
|
|
5100
|
+
*/
|
|
5101
|
+
export interface InstanceMaintenanceOptions {
|
|
5102
|
+
/**
|
|
5103
|
+
* <p>Provides information on the current automatic recovery behavior of your
|
|
5104
|
+
* instance.</p>
|
|
5105
|
+
*/
|
|
5106
|
+
AutoRecovery?: InstanceAutoRecoveryState | string;
|
|
5107
|
+
}
|
|
5108
|
+
export declare namespace InstanceMaintenanceOptions {
|
|
5109
|
+
/**
|
|
5110
|
+
* @internal
|
|
5111
|
+
*/
|
|
5112
|
+
const filterSensitiveLog: (obj: InstanceMaintenanceOptions) => any;
|
|
5113
|
+
}
|
|
5026
5114
|
export declare type InstanceMetadataEndpointState = "disabled" | "enabled";
|
|
5027
5115
|
export declare enum InstanceMetadataProtocolState {
|
|
5028
5116
|
disabled = "disabled",
|
|
@@ -5054,14 +5142,13 @@ export interface InstanceMetadataOptionsResponse {
|
|
|
5054
5142
|
/**
|
|
5055
5143
|
* <p>The state of token usage for your instance metadata requests.</p>
|
|
5056
5144
|
* <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
|
|
5057
|
-
* with or without a signed token header on your request. If you retrieve the IAM role
|
|
5058
|
-
*
|
|
5059
|
-
*
|
|
5060
|
-
* credentials are returned.</p>
|
|
5145
|
+
* with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are
|
|
5146
|
+
* returned. If you retrieve the IAM role credentials using a valid signed
|
|
5147
|
+
* token, the version 2.0 role credentials are returned.</p>
|
|
5061
5148
|
* <p>If the state is <code>required</code>, you must send a signed token header with any
|
|
5062
|
-
* instance metadata retrieval requests. In this state, retrieving the IAM
|
|
5063
|
-
* always returns the version 2.0 credentials; the version 1.0 credentials
|
|
5064
|
-
* available.</p>
|
|
5149
|
+
* instance metadata retrieval requests. In this state, retrieving the IAM
|
|
5150
|
+
* role credential always returns the version 2.0 credentials; the version 1.0 credentials
|
|
5151
|
+
* are not available.</p>
|
|
5065
5152
|
* <p>Default: <code>optional</code>
|
|
5066
5153
|
* </p>
|
|
5067
5154
|
*/
|
|
@@ -5076,12 +5163,13 @@ export interface InstanceMetadataOptionsResponse {
|
|
|
5076
5163
|
/**
|
|
5077
5164
|
* <p>Indicates whether the HTTP metadata endpoint on your instances is enabled or
|
|
5078
5165
|
* disabled.</p>
|
|
5079
|
-
*
|
|
5080
|
-
*
|
|
5166
|
+
* <p>If the value is <code>disabled</code>, you cannot access your instance
|
|
5167
|
+
* metadata.</p>
|
|
5081
5168
|
*/
|
|
5082
5169
|
HttpEndpoint?: InstanceMetadataEndpointState | string;
|
|
5083
5170
|
/**
|
|
5084
|
-
* <p>Indicates whether the IPv6 endpoint for the instance metadata service is enabled or
|
|
5171
|
+
* <p>Indicates whether the IPv6 endpoint for the instance metadata service is enabled or
|
|
5172
|
+
* disabled.</p>
|
|
5085
5173
|
*/
|
|
5086
5174
|
HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
|
|
5087
5175
|
/**
|
|
@@ -5332,11 +5420,13 @@ export interface PrivateDnsNameOptionsResponse {
|
|
|
5332
5420
|
*/
|
|
5333
5421
|
HostnameType?: HostnameType | string;
|
|
5334
5422
|
/**
|
|
5335
|
-
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
|
|
5423
|
+
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
|
|
5424
|
+
* records.</p>
|
|
5336
5425
|
*/
|
|
5337
5426
|
EnableResourceNameDnsARecord?: boolean;
|
|
5338
5427
|
/**
|
|
5339
|
-
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA
|
|
5428
|
+
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA
|
|
5429
|
+
* records.</p>
|
|
5340
5430
|
*/
|
|
5341
5431
|
EnableResourceNameDnsAAAARecord?: boolean;
|
|
5342
5432
|
}
|
|
@@ -5529,12 +5619,13 @@ export interface Instance {
|
|
|
5529
5619
|
*/
|
|
5530
5620
|
EnaSupport?: boolean;
|
|
5531
5621
|
/**
|
|
5532
|
-
* <p>The hypervisor type of the instance. The value <code>xen</code> is used for both Xen
|
|
5533
|
-
* Nitro hypervisors.</p>
|
|
5622
|
+
* <p>The hypervisor type of the instance. The value <code>xen</code> is used for both Xen
|
|
5623
|
+
* and Nitro hypervisors.</p>
|
|
5534
5624
|
*/
|
|
5535
5625
|
Hypervisor?: HypervisorType | string;
|
|
5536
5626
|
/**
|
|
5537
|
-
* <p>The IAM instance profile associated with the instance, if
|
|
5627
|
+
* <p>The IAM instance profile associated with the instance, if
|
|
5628
|
+
* applicable.</p>
|
|
5538
5629
|
*/
|
|
5539
5630
|
IamInstanceProfile?: IamInstanceProfile;
|
|
5540
5631
|
/**
|
|
@@ -5621,12 +5712,13 @@ export interface Instance {
|
|
|
5621
5712
|
*/
|
|
5622
5713
|
MetadataOptions?: InstanceMetadataOptionsResponse;
|
|
5623
5714
|
/**
|
|
5624
|
-
* <p>Indicates whether the instance is enabled for Amazon Web Services Nitro
|
|
5715
|
+
* <p>Indicates whether the instance is enabled for Amazon Web Services Nitro
|
|
5716
|
+
* Enclaves.</p>
|
|
5625
5717
|
*/
|
|
5626
5718
|
EnclaveOptions?: EnclaveOptions;
|
|
5627
5719
|
/**
|
|
5628
5720
|
* <p>The boot mode of the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
|
|
5629
|
-
*
|
|
5721
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
5630
5722
|
*/
|
|
5631
5723
|
BootMode?: BootModeValues | string;
|
|
5632
5724
|
/**
|
|
@@ -5636,8 +5728,9 @@ export interface Instance {
|
|
|
5636
5728
|
*/
|
|
5637
5729
|
PlatformDetails?: string;
|
|
5638
5730
|
/**
|
|
5639
|
-
* <p>The usage operation value for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html">AMI
|
|
5640
|
-
*
|
|
5731
|
+
* <p>The usage operation value for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html">AMI
|
|
5732
|
+
* billing information fields</a> in the
|
|
5733
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
5641
5734
|
*/
|
|
5642
5735
|
UsageOperation?: string;
|
|
5643
5736
|
/**
|
|
@@ -5652,6 +5745,10 @@ export interface Instance {
|
|
|
5652
5745
|
* <p>The IPv6 address assigned to the instance.</p>
|
|
5653
5746
|
*/
|
|
5654
5747
|
Ipv6Address?: string;
|
|
5748
|
+
/**
|
|
5749
|
+
* <p>Provides information on the recovery and maintenance options of your instance.</p>
|
|
5750
|
+
*/
|
|
5751
|
+
MaintenanceOptions?: InstanceMaintenanceOptions;
|
|
5655
5752
|
}
|
|
5656
5753
|
export declare namespace Instance {
|
|
5657
5754
|
/**
|
|
@@ -5660,9 +5757,9 @@ export declare namespace Instance {
|
|
|
5660
5757
|
const filterSensitiveLog: (obj: Instance) => any;
|
|
5661
5758
|
}
|
|
5662
5759
|
/**
|
|
5663
|
-
* <p>Describes a launch request for one or more instances, and includes
|
|
5664
|
-
*
|
|
5665
|
-
*
|
|
5760
|
+
* <p>Describes a launch request for one or more instances, and includes owner, requester,
|
|
5761
|
+
* and security group information that applies to all instances in the launch
|
|
5762
|
+
* request.</p>
|
|
5666
5763
|
*/
|
|
5667
5764
|
export interface Reservation {
|
|
5668
5765
|
/**
|
|
@@ -5679,7 +5776,7 @@ export interface Reservation {
|
|
|
5679
5776
|
OwnerId?: string;
|
|
5680
5777
|
/**
|
|
5681
5778
|
* <p>The ID of the requester that launched the instances on your behalf (for example,
|
|
5682
|
-
*
|
|
5779
|
+
* Amazon Web Services Management Console or Auto Scaling).</p>
|
|
5683
5780
|
*/
|
|
5684
5781
|
RequesterId?: string;
|
|
5685
5782
|
/**
|
|
@@ -7368,12 +7465,12 @@ export interface DescribeLaunchTemplatesRequest {
|
|
|
7368
7465
|
* <code>launch-template-name</code> - The name of the launch template.</p>
|
|
7369
7466
|
* </li>
|
|
7370
7467
|
* <li>
|
|
7371
|
-
*
|
|
7468
|
+
* <p>
|
|
7372
7469
|
* <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
|
|
7373
7470
|
* For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
|
|
7374
7471
|
* </li>
|
|
7375
7472
|
* <li>
|
|
7376
|
-
*
|
|
7473
|
+
* <p>
|
|
7377
7474
|
* <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
|
|
7378
7475
|
* </li>
|
|
7379
7476
|
* </ul>
|
|
@@ -7402,8 +7499,8 @@ export interface DescribeLaunchTemplatesResult {
|
|
|
7402
7499
|
*/
|
|
7403
7500
|
LaunchTemplates?: LaunchTemplate[];
|
|
7404
7501
|
/**
|
|
7405
|
-
* <p>The token to use to retrieve the next page of results. This value is
|
|
7406
|
-
*
|
|
7502
|
+
* <p>The token to use to retrieve the next page of results. This value is <code>null</code>
|
|
7503
|
+
* when there are no more results to return.</p>
|
|
7407
7504
|
*/
|
|
7408
7505
|
NextToken?: string;
|
|
7409
7506
|
}
|
|
@@ -7436,9 +7533,12 @@ export interface DescribeLaunchTemplateVersionsRequest {
|
|
|
7436
7533
|
*/
|
|
7437
7534
|
LaunchTemplateName?: string;
|
|
7438
7535
|
/**
|
|
7439
|
-
* <p>One or more versions of the launch template. Valid values depend on whether you are
|
|
7440
|
-
*
|
|
7441
|
-
*
|
|
7536
|
+
* <p>One or more versions of the launch template. Valid values depend on whether you are
|
|
7537
|
+
* describing a specified launch template (by ID or name) or all launch templates in your
|
|
7538
|
+
* account.</p>
|
|
7539
|
+
* <p>To describe one or more versions of a specified launch template, valid values are
|
|
7540
|
+
* <code>$Latest</code>, <code>$Default</code>, and numbers.</p>
|
|
7541
|
+
* <p>To describe all launch templates in your account that are defined as the latest
|
|
7442
7542
|
* version, the valid value is <code>$Latest</code>. To describe all launch templates in
|
|
7443
7543
|
* your account that are defined as the default version, the valid value is
|
|
7444
7544
|
* <code>$Default</code>. You can specify <code>$Latest</code> and
|
|
@@ -7467,13 +7567,14 @@ export interface DescribeLaunchTemplateVersionsRequest {
|
|
|
7467
7567
|
* <p>One or more filters.</p>
|
|
7468
7568
|
* <ul>
|
|
7469
7569
|
* <li>
|
|
7470
|
-
*
|
|
7471
|
-
* <code>create-time</code> - The time the launch template version was
|
|
7570
|
+
* <p>
|
|
7571
|
+
* <code>create-time</code> - The time the launch template version was
|
|
7572
|
+
* created.</p>
|
|
7472
7573
|
* </li>
|
|
7473
7574
|
* <li>
|
|
7474
7575
|
* <p>
|
|
7475
|
-
* <code>ebs-optimized</code> - A boolean that indicates whether the instance
|
|
7476
|
-
*
|
|
7576
|
+
* <code>ebs-optimized</code> - A boolean that indicates whether the instance is
|
|
7577
|
+
* optimized for Amazon EBS I/O.</p>
|
|
7477
7578
|
* </li>
|
|
7478
7579
|
* <li>
|
|
7479
7580
|
* <p>
|
|
@@ -7511,8 +7612,8 @@ export interface DescribeLaunchTemplateVersionsRequest {
|
|
|
7511
7612
|
* </li>
|
|
7512
7613
|
* <li>
|
|
7513
7614
|
* <p>
|
|
7514
|
-
* <code>is-default-version</code> - A boolean that indicates whether the
|
|
7515
|
-
*
|
|
7615
|
+
* <code>is-default-version</code> - A boolean that indicates whether the launch
|
|
7616
|
+
* template version is the default version.</p>
|
|
7516
7617
|
* </li>
|
|
7517
7618
|
* <li>
|
|
7518
7619
|
* <p>
|
|
@@ -7547,8 +7648,8 @@ export interface DescribeLaunchTemplateVersionsResult {
|
|
|
7547
7648
|
*/
|
|
7548
7649
|
LaunchTemplateVersions?: LaunchTemplateVersion[];
|
|
7549
7650
|
/**
|
|
7550
|
-
* <p>The token to use to retrieve the next page of results. This value is
|
|
7551
|
-
*
|
|
7651
|
+
* <p>The token to use to retrieve the next page of results. This value is <code>null</code>
|
|
7652
|
+
* when there are no more results to return.</p>
|
|
7552
7653
|
*/
|
|
7553
7654
|
NextToken?: string;
|
|
7554
7655
|
}
|
|
@@ -9518,7 +9619,8 @@ export interface DescribePlacementGroupsRequest {
|
|
|
9518
9619
|
* </li>
|
|
9519
9620
|
* <li>
|
|
9520
9621
|
* <p>
|
|
9521
|
-
* <code>group-arn</code> - The Amazon Resource Name (ARN) of the placement
|
|
9622
|
+
* <code>group-arn</code> - The Amazon Resource Name (ARN) of the placement
|
|
9623
|
+
* group.</p>
|
|
9522
9624
|
* </li>
|
|
9523
9625
|
* <li>
|
|
9524
9626
|
* <p>
|
|
@@ -9931,163 +10033,3 @@ export declare namespace DescribeRegionsResult {
|
|
|
9931
10033
|
*/
|
|
9932
10034
|
const filterSensitiveLog: (obj: DescribeRegionsResult) => any;
|
|
9933
10035
|
}
|
|
9934
|
-
export interface DescribeReplaceRootVolumeTasksRequest {
|
|
9935
|
-
/**
|
|
9936
|
-
* <p>The ID of the root volume replacement task to view.</p>
|
|
9937
|
-
*/
|
|
9938
|
-
ReplaceRootVolumeTaskIds?: string[];
|
|
9939
|
-
/**
|
|
9940
|
-
* <p>Filter to use:</p>
|
|
9941
|
-
* <ul>
|
|
9942
|
-
* <li>
|
|
9943
|
-
* <p>
|
|
9944
|
-
* <code>instance-id</code> - The ID of the instance for which the root volume replacement task was created.</p>
|
|
9945
|
-
* </li>
|
|
9946
|
-
* </ul>
|
|
9947
|
-
*/
|
|
9948
|
-
Filters?: Filter[];
|
|
9949
|
-
/**
|
|
9950
|
-
* <p>The maximum number of results to return with a single call.
|
|
9951
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
9952
|
-
*/
|
|
9953
|
-
MaxResults?: number;
|
|
9954
|
-
/**
|
|
9955
|
-
* <p>The token for the next page of results.</p>
|
|
9956
|
-
*/
|
|
9957
|
-
NextToken?: string;
|
|
9958
|
-
/**
|
|
9959
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
9960
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
9961
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
9962
|
-
*/
|
|
9963
|
-
DryRun?: boolean;
|
|
9964
|
-
}
|
|
9965
|
-
export declare namespace DescribeReplaceRootVolumeTasksRequest {
|
|
9966
|
-
/**
|
|
9967
|
-
* @internal
|
|
9968
|
-
*/
|
|
9969
|
-
const filterSensitiveLog: (obj: DescribeReplaceRootVolumeTasksRequest) => any;
|
|
9970
|
-
}
|
|
9971
|
-
export interface DescribeReplaceRootVolumeTasksResult {
|
|
9972
|
-
/**
|
|
9973
|
-
* <p>Information about the root volume replacement task.</p>
|
|
9974
|
-
*/
|
|
9975
|
-
ReplaceRootVolumeTasks?: ReplaceRootVolumeTask[];
|
|
9976
|
-
/**
|
|
9977
|
-
* <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>
|
|
9978
|
-
*/
|
|
9979
|
-
NextToken?: string;
|
|
9980
|
-
}
|
|
9981
|
-
export declare namespace DescribeReplaceRootVolumeTasksResult {
|
|
9982
|
-
/**
|
|
9983
|
-
* @internal
|
|
9984
|
-
*/
|
|
9985
|
-
const filterSensitiveLog: (obj: DescribeReplaceRootVolumeTasksResult) => any;
|
|
9986
|
-
}
|
|
9987
|
-
export declare enum OfferingClassType {
|
|
9988
|
-
CONVERTIBLE = "convertible",
|
|
9989
|
-
STANDARD = "standard"
|
|
9990
|
-
}
|
|
9991
|
-
export declare type OfferingTypeValues = "All Upfront" | "Heavy Utilization" | "Light Utilization" | "Medium Utilization" | "No Upfront" | "Partial Upfront";
|
|
9992
|
-
/**
|
|
9993
|
-
* <p>Contains the parameters for DescribeReservedInstances.</p>
|
|
9994
|
-
*/
|
|
9995
|
-
export interface DescribeReservedInstancesRequest {
|
|
9996
|
-
/**
|
|
9997
|
-
* <p>One or more filters.</p>
|
|
9998
|
-
* <ul>
|
|
9999
|
-
* <li>
|
|
10000
|
-
* <p>
|
|
10001
|
-
* <code>availability-zone</code> - The Availability Zone where the Reserved Instance can be used.</p>
|
|
10002
|
-
* </li>
|
|
10003
|
-
* <li>
|
|
10004
|
-
* <p>
|
|
10005
|
-
* <code>duration</code> - The duration of the Reserved Instance (one year or three years), in seconds (<code>31536000</code> | <code>94608000</code>).</p>
|
|
10006
|
-
* </li>
|
|
10007
|
-
* <li>
|
|
10008
|
-
* <p>
|
|
10009
|
-
* <code>end</code> - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).</p>
|
|
10010
|
-
* </li>
|
|
10011
|
-
* <li>
|
|
10012
|
-
* <p>
|
|
10013
|
-
* <code>fixed-price</code> - The purchase price of the Reserved Instance (for example, 9800.0).</p>
|
|
10014
|
-
* </li>
|
|
10015
|
-
* <li>
|
|
10016
|
-
* <p>
|
|
10017
|
-
* <code>instance-type</code> - The instance type that is covered by the reservation.</p>
|
|
10018
|
-
* </li>
|
|
10019
|
-
* <li>
|
|
10020
|
-
* <p>
|
|
10021
|
-
* <code>scope</code> - The scope of the Reserved Instance (<code>Region</code> or <code>Availability Zone</code>).</p>
|
|
10022
|
-
* </li>
|
|
10023
|
-
* <li>
|
|
10024
|
-
* <p>
|
|
10025
|
-
* <code>product-description</code> - The Reserved Instance product platform
|
|
10026
|
-
* description. Instances that include <code>(Amazon VPC)</code> in the product platform
|
|
10027
|
-
* description will only be displayed to EC2-Classic account holders and are for use with
|
|
10028
|
-
* Amazon VPC (<code>Linux/UNIX</code> | <code>Linux/UNIX (Amazon VPC)</code> | <code>SUSE
|
|
10029
|
-
* Linux</code> | <code>SUSE Linux (Amazon VPC)</code> | <code>Red Hat Enterprise
|
|
10030
|
-
* Linux</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> | <code>Red Hat
|
|
10031
|
-
* Enterprise Linux with HA (Amazon VPC)</code> | <code>Windows</code> | <code>Windows
|
|
10032
|
-
* (Amazon VPC)</code> | <code>Windows with SQL Server Standard</code> | <code>Windows with
|
|
10033
|
-
* SQL Server Standard (Amazon VPC)</code> | <code>Windows with SQL Server Web</code> |
|
|
10034
|
-
* <code>Windows with SQL Server Web (Amazon VPC)</code> | <code>Windows with SQL Server
|
|
10035
|
-
* Enterprise</code> | <code>Windows with SQL Server Enterprise (Amazon
|
|
10036
|
-
* VPC)</code>).</p>
|
|
10037
|
-
* </li>
|
|
10038
|
-
* <li>
|
|
10039
|
-
* <p>
|
|
10040
|
-
* <code>reserved-instances-id</code> - The ID of the Reserved Instance.</p>
|
|
10041
|
-
* </li>
|
|
10042
|
-
* <li>
|
|
10043
|
-
* <p>
|
|
10044
|
-
* <code>start</code> - The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z).</p>
|
|
10045
|
-
* </li>
|
|
10046
|
-
* <li>
|
|
10047
|
-
* <p>
|
|
10048
|
-
* <code>state</code> - The state of the Reserved Instance (<code>payment-pending</code> | <code>active</code> | <code>payment-failed</code> | <code>retired</code>).</p>
|
|
10049
|
-
* </li>
|
|
10050
|
-
* <li>
|
|
10051
|
-
* <p>
|
|
10052
|
-
* <code>tag:<key></code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
|
|
10053
|
-
* For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
|
|
10054
|
-
* </li>
|
|
10055
|
-
* <li>
|
|
10056
|
-
* <p>
|
|
10057
|
-
* <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
|
|
10058
|
-
* </li>
|
|
10059
|
-
* <li>
|
|
10060
|
-
* <p>
|
|
10061
|
-
* <code>usage-price</code> - The usage price of the Reserved Instance, per hour (for example, 0.84).</p>
|
|
10062
|
-
* </li>
|
|
10063
|
-
* </ul>
|
|
10064
|
-
*/
|
|
10065
|
-
Filters?: Filter[];
|
|
10066
|
-
/**
|
|
10067
|
-
* <p>Describes whether the Reserved Instance is Standard or Convertible.</p>
|
|
10068
|
-
*/
|
|
10069
|
-
OfferingClass?: OfferingClassType | string;
|
|
10070
|
-
/**
|
|
10071
|
-
* <p>One or more Reserved Instance IDs.</p>
|
|
10072
|
-
* <p>Default: Describes all your Reserved Instances, or only those otherwise specified.</p>
|
|
10073
|
-
*/
|
|
10074
|
-
ReservedInstancesIds?: string[];
|
|
10075
|
-
/**
|
|
10076
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
10077
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
10078
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
10079
|
-
*/
|
|
10080
|
-
DryRun?: boolean;
|
|
10081
|
-
/**
|
|
10082
|
-
* <p>The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API
|
|
10083
|
-
* version, you only have access to the <code>Medium Utilization</code> Reserved Instance
|
|
10084
|
-
* offering type.</p>
|
|
10085
|
-
*/
|
|
10086
|
-
OfferingType?: OfferingTypeValues | string;
|
|
10087
|
-
}
|
|
10088
|
-
export declare namespace DescribeReservedInstancesRequest {
|
|
10089
|
-
/**
|
|
10090
|
-
* @internal
|
|
10091
|
-
*/
|
|
10092
|
-
const filterSensitiveLog: (obj: DescribeReservedInstancesRequest) => any;
|
|
10093
|
-
}
|