@aws-sdk/client-ec2 3.42.0 → 3.43.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 +11 -0
- package/dist-cjs/EC2.js +15 -0
- package/dist-cjs/commands/CreateVpcEndpointConnectionNotificationCommand.js +2 -1
- package/dist-cjs/commands/DescribeHostReservationsCommand.js +2 -1
- package/dist-cjs/commands/DescribeHostsCommand.js +1 -2
- package/dist-cjs/commands/DescribeStaleSecurityGroupsCommand.js +2 -1
- package/dist-cjs/commands/DescribeStoreImageTasksCommand.js +3 -3
- package/dist-cjs/commands/DescribeSubnetsCommand.js +1 -2
- package/dist-cjs/commands/ModifyInstanceAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyInstanceCapacityReservationAttributesCommand.js +3 -3
- package/dist-cjs/commands/ModifyPrivateDnsNameOptionsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +13 -14
- package/dist-cjs/models/models_1.js +29 -26
- package/dist-cjs/models/models_2.js +27 -31
- package/dist-cjs/models/models_3.js +37 -36
- package/dist-cjs/models/models_4.js +36 -36
- package/dist-cjs/models/models_5.js +53 -5
- package/dist-cjs/protocols/Aws_ec2.js +235 -12
- package/dist-es/EC2.js +15 -0
- package/dist-es/commands/CreateVpcEndpointConnectionNotificationCommand.js +2 -1
- package/dist-es/commands/DescribeHostReservationsCommand.js +2 -1
- package/dist-es/commands/DescribeHostsCommand.js +1 -2
- package/dist-es/commands/DescribeStaleSecurityGroupsCommand.js +2 -1
- package/dist-es/commands/DescribeStoreImageTasksCommand.js +1 -1
- package/dist-es/commands/DescribeSubnetsCommand.js +1 -2
- package/dist-es/commands/ModifyInstanceAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceCapacityReservationAttributesCommand.js +1 -1
- package/dist-es/commands/ModifyPrivateDnsNameOptionsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +9 -8
- package/dist-es/models/models_1.js +16 -17
- package/dist-es/models/models_2.js +17 -19
- package/dist-es/models/models_3.js +23 -20
- package/dist-es/models/models_4.js +20 -20
- package/dist-es/models/models_5.js +32 -0
- package/dist-es/protocols/Aws_ec2.js +229 -0
- package/dist-types/EC2.d.ts +20 -12
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHostReservationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHostsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +3 -2
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +1 -2
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -2
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +35 -0
- package/dist-types/commands/MonitorInstancesCommand.d.ts +2 -2
- package/dist-types/commands/RebootInstancesCommand.d.ts +2 -2
- package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +1 -1
- package/dist-types/commands/StartInstancesCommand.d.ts +2 -2
- package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +99 -75
- package/dist-types/models/models_1.d.ts +127 -68
- package/dist-types/models/models_2.d.ts +120 -189
- package/dist-types/models/models_3.d.ts +195 -230
- package/dist-types/models/models_4.d.ts +236 -204
- package/dist-types/models/models_5.d.ts +310 -14
- 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/CreateVpcEndpointConnectionNotificationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ModifyInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -22
- package/dist-types/ts3.4/models/models_1.d.ts +62 -40
- package/dist-types/ts3.4/models/models_2.d.ts +38 -65
- package/dist-types/ts3.4/models/models_3.d.ts +84 -75
- package/dist-types/ts3.4/models/models_4.d.ts +76 -83
- package/dist-types/ts3.4/models/models_5.d.ts +129 -3
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
- package/package.json +2 -2
|
@@ -1,7 +1,240 @@
|
|
|
1
1
|
import { _InstanceType, AddressAttribute, AllowedPrincipal, AssociationStatus, AttributeValue, AutoPlacement, CapacityReservationState, ClientConnectOptions, ConnectionLogOptions, CurrencyCodeValues, EndDateType, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostRecovery, IamInstanceProfileAssociation, InstanceEventWindow, InstanceRequirementsRequest, Placement, ResourceType, SelfServicePortal, Subnet, SubnetAssociation, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetCapacitySpecificationRequest, TargetCapacityUnitType, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UnsuccessfulItem, Vpc, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
|
|
2
|
-
import {
|
|
3
|
-
import { ConversionTask, DnsNameState, ExportTaskS3Location, FastSnapshotRestoreStateCode, Filter, FpgaImageAttribute, FpgaImageAttributeName, PaymentOption, PermissionGroup, ProductCode, ServiceConfiguration, ServiceTypeDetail, VpnConnection, VpnGateway } from "./models_2";
|
|
4
|
-
import { ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ImportImageLicenseConfigurationResponse,
|
|
2
|
+
import { DiskImageFormat, DnsEntry, PlatformValues, ResponseLaunchTemplateData, ShutdownBehavior, State, SubnetCidrReservation, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPrefixListReference, TransitGatewayRouteTable, Volume, VolumeType, VpcEndpoint } from "./models_1";
|
|
3
|
+
import { ConnectionNotification, ConversionTask, DnsNameState, ExportTaskS3Location, FastSnapshotRestoreStateCode, Filter, FpgaImageAttribute, FpgaImageAttributeName, PaymentOption, PermissionGroup, ProductCode, ServiceConfiguration, ServiceTypeDetail, VpnConnection, VpnGateway } from "./models_2";
|
|
4
|
+
import { ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ImportImageLicenseConfigurationResponse, LaunchPermission, SnapshotDetail, SnapshotTaskDetail, StaleSecurityGroup, VirtualizationType } from "./models_3";
|
|
5
|
+
export interface DescribeStaleSecurityGroupsResult {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.</p>
|
|
8
|
+
*/
|
|
9
|
+
NextToken?: string;
|
|
10
|
+
/**
|
|
11
|
+
* <p>Information about the stale security groups.</p>
|
|
12
|
+
*/
|
|
13
|
+
StaleSecurityGroupSet?: StaleSecurityGroup[];
|
|
14
|
+
}
|
|
15
|
+
export declare namespace DescribeStaleSecurityGroupsResult {
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
const filterSensitiveLog: (obj: DescribeStaleSecurityGroupsResult) => any;
|
|
20
|
+
}
|
|
21
|
+
export interface DescribeStoreImageTasksRequest {
|
|
22
|
+
/**
|
|
23
|
+
* <p>The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.</p>
|
|
24
|
+
*/
|
|
25
|
+
ImageIds?: string[];
|
|
26
|
+
/**
|
|
27
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
28
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
29
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
30
|
+
*/
|
|
31
|
+
DryRun?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The filters.</p>
|
|
34
|
+
* <ul>
|
|
35
|
+
* <li>
|
|
36
|
+
* <p>
|
|
37
|
+
* <code>task-state</code> - Returns tasks in a certain state (<code>InProgress</code> |
|
|
38
|
+
* <code>Completed</code> | <code>Failed</code>)</p>
|
|
39
|
+
* </li>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>
|
|
42
|
+
* <code>bucket</code> - Returns task information for tasks that targeted a specific
|
|
43
|
+
* bucket. For the filter value, specify the bucket name.</p>
|
|
44
|
+
* </li>
|
|
45
|
+
* </ul>
|
|
46
|
+
*/
|
|
47
|
+
Filters?: Filter[];
|
|
48
|
+
/**
|
|
49
|
+
* <p>The token for the next page of results.</p>
|
|
50
|
+
*/
|
|
51
|
+
NextToken?: string;
|
|
52
|
+
/**
|
|
53
|
+
* <p>The maximum number of results to return in a single call. To retrieve the remaining
|
|
54
|
+
* results, make another call with the returned <code>NextToken</code> value. This value can be
|
|
55
|
+
* between 1 and 200. You cannot specify this parameter and the <code>ImageIDs</code> parameter
|
|
56
|
+
* in the same call.</p>
|
|
57
|
+
*/
|
|
58
|
+
MaxResults?: number;
|
|
59
|
+
}
|
|
60
|
+
export declare namespace DescribeStoreImageTasksRequest {
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
const filterSensitiveLog: (obj: DescribeStoreImageTasksRequest) => any;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* <p>The information about the AMI store task, including the progress of the task.</p>
|
|
68
|
+
*/
|
|
69
|
+
export interface StoreImageTaskResult {
|
|
70
|
+
/**
|
|
71
|
+
* <p>The ID of the AMI that is being stored.</p>
|
|
72
|
+
*/
|
|
73
|
+
AmiId?: string;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The time the task started.</p>
|
|
76
|
+
*/
|
|
77
|
+
TaskStartTime?: Date;
|
|
78
|
+
/**
|
|
79
|
+
* <p>The name of the Amazon S3 bucket that contains the stored AMI object.</p>
|
|
80
|
+
*/
|
|
81
|
+
Bucket?: string;
|
|
82
|
+
/**
|
|
83
|
+
* <p>The name of the stored AMI object in the bucket.</p>
|
|
84
|
+
*/
|
|
85
|
+
S3objectKey?: string;
|
|
86
|
+
/**
|
|
87
|
+
* <p>The progress of the task as a percentage.</p>
|
|
88
|
+
*/
|
|
89
|
+
ProgressPercentage?: number;
|
|
90
|
+
/**
|
|
91
|
+
* <p>The state of the store task (<code>InProgress</code>, <code>Completed</code>, or
|
|
92
|
+
* <code>Failed</code>).</p>
|
|
93
|
+
*/
|
|
94
|
+
StoreTaskState?: string;
|
|
95
|
+
/**
|
|
96
|
+
* <p>If the tasks fails, the reason for the failure is returned. If the task succeeds,
|
|
97
|
+
* <code>null</code> is returned.</p>
|
|
98
|
+
*/
|
|
99
|
+
StoreTaskFailureReason?: string;
|
|
100
|
+
}
|
|
101
|
+
export declare namespace StoreImageTaskResult {
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
const filterSensitiveLog: (obj: StoreImageTaskResult) => any;
|
|
106
|
+
}
|
|
107
|
+
export interface DescribeStoreImageTasksResult {
|
|
108
|
+
/**
|
|
109
|
+
* <p>The information about the AMI store tasks.</p>
|
|
110
|
+
*/
|
|
111
|
+
StoreImageTaskResults?: StoreImageTaskResult[];
|
|
112
|
+
/**
|
|
113
|
+
* <p>The token to use to retrieve the next page of results. This value is <code>null</code>
|
|
114
|
+
* when there are no more results to return.</p>
|
|
115
|
+
*/
|
|
116
|
+
NextToken?: string;
|
|
117
|
+
}
|
|
118
|
+
export declare namespace DescribeStoreImageTasksResult {
|
|
119
|
+
/**
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
const filterSensitiveLog: (obj: DescribeStoreImageTasksResult) => any;
|
|
123
|
+
}
|
|
124
|
+
export interface DescribeSubnetsRequest {
|
|
125
|
+
/**
|
|
126
|
+
* <p>One or more filters.</p>
|
|
127
|
+
* <ul>
|
|
128
|
+
* <li>
|
|
129
|
+
* <p>
|
|
130
|
+
* <code>availability-zone</code> - The Availability Zone for the subnet. You can also use
|
|
131
|
+
* <code>availabilityZone</code> as the filter name.</p>
|
|
132
|
+
* </li>
|
|
133
|
+
* <li>
|
|
134
|
+
* <p>
|
|
135
|
+
* <code>availability-zone-id</code> - The ID of the Availability Zone for the subnet.
|
|
136
|
+
* You can also use <code>availabilityZoneId</code> as the filter name.</p>
|
|
137
|
+
* </li>
|
|
138
|
+
* <li>
|
|
139
|
+
* <p>
|
|
140
|
+
* <code>available-ip-address-count</code> - The number of IPv4 addresses in the
|
|
141
|
+
* subnet that are available.</p>
|
|
142
|
+
* </li>
|
|
143
|
+
* <li>
|
|
144
|
+
* <p>
|
|
145
|
+
* <code>cidr-block</code> - The IPv4 CIDR block of the subnet. The CIDR block you
|
|
146
|
+
* specify must exactly match the subnet's CIDR block for information to be
|
|
147
|
+
* returned for the subnet. You can also use <code>cidr</code> or
|
|
148
|
+
* <code>cidrBlock</code> as the filter names.</p>
|
|
149
|
+
* </li>
|
|
150
|
+
* <li>
|
|
151
|
+
* <p>
|
|
152
|
+
* <code>default-for-az</code> - Indicates whether this is the default subnet for the
|
|
153
|
+
* Availability Zone (<code>true</code> | <code>false</code>). You can also use
|
|
154
|
+
* <code>defaultForAz</code> as the filter name.</p>
|
|
155
|
+
* </li>
|
|
156
|
+
* <li>
|
|
157
|
+
* <p>
|
|
158
|
+
* <code>ipv6-cidr-block-association.ipv6-cidr-block</code> - An IPv6 CIDR
|
|
159
|
+
* block associated with the subnet.</p>
|
|
160
|
+
* </li>
|
|
161
|
+
* <li>
|
|
162
|
+
* <p>
|
|
163
|
+
* <code>ipv6-cidr-block-association.association-id</code> - An association ID
|
|
164
|
+
* for an IPv6 CIDR block associated with the subnet.</p>
|
|
165
|
+
* </li>
|
|
166
|
+
* <li>
|
|
167
|
+
* <p>
|
|
168
|
+
* <code>ipv6-cidr-block-association.state</code> - The state of an IPv6 CIDR
|
|
169
|
+
* block associated with the subnet.</p>
|
|
170
|
+
* </li>
|
|
171
|
+
* <li>
|
|
172
|
+
* <p>
|
|
173
|
+
* <code>ipv6-native</code> - Indicates whether this is an IPv6 only subnet (<code>true</code> | <code>false</code>).</p>
|
|
174
|
+
* </li>
|
|
175
|
+
* <li>
|
|
176
|
+
* <p>
|
|
177
|
+
* <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost.</p>
|
|
178
|
+
* </li>
|
|
179
|
+
* <li>
|
|
180
|
+
* <p>
|
|
181
|
+
* <code>owner-id</code> - The ID of the Amazon Web Services account that owns the subnet.</p>
|
|
182
|
+
* </li>
|
|
183
|
+
* <li>
|
|
184
|
+
* <p>
|
|
185
|
+
* <code>state</code> - The state of the subnet (<code>pending</code> | <code>available</code>).</p>
|
|
186
|
+
* </li>
|
|
187
|
+
* <li>
|
|
188
|
+
* <p>
|
|
189
|
+
* <code>subnet-arn</code> - The Amazon Resource Name (ARN) of the subnet.</p>
|
|
190
|
+
* </li>
|
|
191
|
+
* <li>
|
|
192
|
+
* <p>
|
|
193
|
+
* <code>subnet-id</code> - The ID of the subnet.</p>
|
|
194
|
+
* </li>
|
|
195
|
+
* <li>
|
|
196
|
+
* <p>
|
|
197
|
+
* <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.
|
|
198
|
+
* 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>
|
|
199
|
+
* </li>
|
|
200
|
+
* <li>
|
|
201
|
+
* <p>
|
|
202
|
+
* <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>
|
|
203
|
+
* </li>
|
|
204
|
+
* <li>
|
|
205
|
+
* <p>
|
|
206
|
+
* <code>vpc-id</code> - The ID of the VPC for the subnet.</p>
|
|
207
|
+
* </li>
|
|
208
|
+
* </ul>
|
|
209
|
+
*/
|
|
210
|
+
Filters?: Filter[];
|
|
211
|
+
/**
|
|
212
|
+
* <p>One or more subnet IDs.</p>
|
|
213
|
+
* <p>Default: Describes all your subnets.</p>
|
|
214
|
+
*/
|
|
215
|
+
SubnetIds?: string[];
|
|
216
|
+
/**
|
|
217
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
218
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
219
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
220
|
+
*/
|
|
221
|
+
DryRun?: boolean;
|
|
222
|
+
/**
|
|
223
|
+
* <p>The token for the next page of results.</p>
|
|
224
|
+
*/
|
|
225
|
+
NextToken?: string;
|
|
226
|
+
/**
|
|
227
|
+
* <p>The maximum number of results to return with a single call.
|
|
228
|
+
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
229
|
+
*/
|
|
230
|
+
MaxResults?: number;
|
|
231
|
+
}
|
|
232
|
+
export declare namespace DescribeSubnetsRequest {
|
|
233
|
+
/**
|
|
234
|
+
* @internal
|
|
235
|
+
*/
|
|
236
|
+
const filterSensitiveLog: (obj: DescribeSubnetsRequest) => any;
|
|
237
|
+
}
|
|
5
238
|
export interface DescribeSubnetsResult {
|
|
6
239
|
/**
|
|
7
240
|
* <p>Information about one or more subnets.</p>
|
|
@@ -7928,204 +8161,3 @@ export declare namespace BlobAttributeValue {
|
|
|
7928
8161
|
*/
|
|
7929
8162
|
const filterSensitiveLog: (obj: BlobAttributeValue) => any;
|
|
7930
8163
|
}
|
|
7931
|
-
export interface ModifyInstanceAttributeRequest {
|
|
7932
|
-
/**
|
|
7933
|
-
* <p>Enable or disable source/destination checks, which ensure that the instance
|
|
7934
|
-
* is either the source or the destination of any traffic that it receives.
|
|
7935
|
-
* If the value is <code>true</code>, source/destination checks are enabled;
|
|
7936
|
-
* otherwise, they are disabled. The default value is <code>true</code>.
|
|
7937
|
-
* You must disable source/destination checks if the instance runs services
|
|
7938
|
-
* such as network address translation, routing, or firewalls.</p>
|
|
7939
|
-
*/
|
|
7940
|
-
SourceDestCheck?: AttributeBooleanValue;
|
|
7941
|
-
/**
|
|
7942
|
-
* <p>The name of the attribute.</p>
|
|
7943
|
-
*/
|
|
7944
|
-
Attribute?: InstanceAttributeName | string;
|
|
7945
|
-
/**
|
|
7946
|
-
* <p>Modifies the <code>DeleteOnTermination</code> attribute for volumes that are currently
|
|
7947
|
-
* attached. The volume must be owned by the caller. If no value is specified for
|
|
7948
|
-
* <code>DeleteOnTermination</code>, the default is <code>true</code> and the volume is
|
|
7949
|
-
* deleted when the instance is terminated.</p>
|
|
7950
|
-
* <p>To add instance store volumes to an Amazon EBS-backed instance, you must add them when
|
|
7951
|
-
* you launch the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html#Using_OverridingAMIBDM">Updating the block device mapping when launching an instance</a> in the
|
|
7952
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
7953
|
-
*/
|
|
7954
|
-
BlockDeviceMappings?: InstanceBlockDeviceMappingSpecification[];
|
|
7955
|
-
/**
|
|
7956
|
-
* <p>If the value is <code>true</code>, you can't terminate the instance using the Amazon
|
|
7957
|
-
* EC2 console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot
|
|
7958
|
-
* Instances.</p>
|
|
7959
|
-
*/
|
|
7960
|
-
DisableApiTermination?: AttributeBooleanValue;
|
|
7961
|
-
/**
|
|
7962
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
7963
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
7964
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
7965
|
-
*/
|
|
7966
|
-
DryRun?: boolean;
|
|
7967
|
-
/**
|
|
7968
|
-
* <p>Specifies whether the instance is optimized for Amazon EBS I/O. This optimization
|
|
7969
|
-
* provides dedicated throughput to Amazon EBS and an optimized configuration stack to
|
|
7970
|
-
* provide optimal EBS I/O performance. This optimization isn't available with all instance
|
|
7971
|
-
* types. Additional usage charges apply when using an EBS Optimized instance.</p>
|
|
7972
|
-
*/
|
|
7973
|
-
EbsOptimized?: AttributeBooleanValue;
|
|
7974
|
-
/**
|
|
7975
|
-
* <p>Set to <code>true</code> to enable enhanced networking with ENA for the
|
|
7976
|
-
* instance.</p>
|
|
7977
|
-
* <p>This option is supported only for HVM instances. Specifying this option with a PV
|
|
7978
|
-
* instance can make it unreachable.</p>
|
|
7979
|
-
*/
|
|
7980
|
-
EnaSupport?: AttributeBooleanValue;
|
|
7981
|
-
/**
|
|
7982
|
-
* <p>[EC2-VPC] Replaces the security groups of the instance with the specified security groups.
|
|
7983
|
-
* You must specify at least one security group, even if it's just the default security group for the VPC. You must
|
|
7984
|
-
* specify the security group ID, not the security group name.</p>
|
|
7985
|
-
*/
|
|
7986
|
-
Groups?: string[];
|
|
7987
|
-
/**
|
|
7988
|
-
* <p>The ID of the instance.</p>
|
|
7989
|
-
*/
|
|
7990
|
-
InstanceId: string | undefined;
|
|
7991
|
-
/**
|
|
7992
|
-
* <p>Specifies whether an instance stops or terminates when you initiate shutdown from the
|
|
7993
|
-
* instance (using the operating system command for system shutdown).</p>
|
|
7994
|
-
*/
|
|
7995
|
-
InstanceInitiatedShutdownBehavior?: AttributeValue;
|
|
7996
|
-
/**
|
|
7997
|
-
* <p>Changes the instance type to the specified value. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance
|
|
7998
|
-
* types</a> in the <i>Amazon EC2 User Guide</i>. If the instance type is not valid,
|
|
7999
|
-
* the error returned is <code>InvalidInstanceAttributeValue</code>.</p>
|
|
8000
|
-
*/
|
|
8001
|
-
InstanceType?: AttributeValue;
|
|
8002
|
-
/**
|
|
8003
|
-
* <p>Changes the instance's kernel to the specified value. We recommend that you use
|
|
8004
|
-
* PV-GRUB instead of kernels and RAM disks. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html">PV-GRUB</a>.</p>
|
|
8005
|
-
*/
|
|
8006
|
-
Kernel?: AttributeValue;
|
|
8007
|
-
/**
|
|
8008
|
-
* <p>Changes the instance's RAM disk to the specified value. We recommend that you use
|
|
8009
|
-
* PV-GRUB instead of kernels and RAM disks. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html">PV-GRUB</a>.</p>
|
|
8010
|
-
*/
|
|
8011
|
-
Ramdisk?: AttributeValue;
|
|
8012
|
-
/**
|
|
8013
|
-
* <p>Set to <code>simple</code> to enable enhanced networking with the Intel 82599 Virtual
|
|
8014
|
-
* Function interface for the instance.</p>
|
|
8015
|
-
* <p>There is no way to disable enhanced networking with the Intel 82599 Virtual Function
|
|
8016
|
-
* interface at this time.</p>
|
|
8017
|
-
* <p>This option is supported only for HVM instances. Specifying this option with a PV
|
|
8018
|
-
* instance can make it unreachable.</p>
|
|
8019
|
-
*/
|
|
8020
|
-
SriovNetSupport?: AttributeValue;
|
|
8021
|
-
/**
|
|
8022
|
-
* <p>Changes the instance's user data to the specified value. If you are using an Amazon Web Services SDK
|
|
8023
|
-
* or command line tool, base64-encoding is performed for you, and you can load the text
|
|
8024
|
-
* from a file. Otherwise, you must provide base64-encoded text.</p>
|
|
8025
|
-
*/
|
|
8026
|
-
UserData?: BlobAttributeValue;
|
|
8027
|
-
/**
|
|
8028
|
-
* <p>A new value for the attribute. Use only with the <code>kernel</code>,
|
|
8029
|
-
* <code>ramdisk</code>, <code>userData</code>, <code>disableApiTermination</code>, or
|
|
8030
|
-
* <code>instanceInitiatedShutdownBehavior</code> attribute.</p>
|
|
8031
|
-
*/
|
|
8032
|
-
Value?: string;
|
|
8033
|
-
}
|
|
8034
|
-
export declare namespace ModifyInstanceAttributeRequest {
|
|
8035
|
-
/**
|
|
8036
|
-
* @internal
|
|
8037
|
-
*/
|
|
8038
|
-
const filterSensitiveLog: (obj: ModifyInstanceAttributeRequest) => any;
|
|
8039
|
-
}
|
|
8040
|
-
/**
|
|
8041
|
-
* <p>Describes an instance's Capacity Reservation targeting option. You can specify only one parameter
|
|
8042
|
-
* at a time. If you specify <code>CapacityReservationPreference</code> and
|
|
8043
|
-
* <code>CapacityReservationTarget</code>, the request fails.</p>
|
|
8044
|
-
* <p>Use the <code>CapacityReservationPreference</code> parameter to configure the instance
|
|
8045
|
-
* to run as an On-Demand Instance or to run in any <code>open</code> Capacity Reservation that has
|
|
8046
|
-
* matching attributes (instance type, platform, Availability Zone). Use the
|
|
8047
|
-
* <code>CapacityReservationTarget</code> parameter to explicitly target a specific
|
|
8048
|
-
* Capacity Reservation or a Capacity Reservation group.</p>
|
|
8049
|
-
*/
|
|
8050
|
-
export interface CapacityReservationSpecification {
|
|
8051
|
-
/**
|
|
8052
|
-
* <p>Indicates the instance's Capacity Reservation preferences. Possible preferences include:</p>
|
|
8053
|
-
* <ul>
|
|
8054
|
-
* <li>
|
|
8055
|
-
* <p>
|
|
8056
|
-
* <code>open</code> - The instance can run in any <code>open</code> Capacity Reservation that has matching attributes
|
|
8057
|
-
* (instance type, platform, Availability Zone).</p>
|
|
8058
|
-
* </li>
|
|
8059
|
-
* <li>
|
|
8060
|
-
* <p>
|
|
8061
|
-
* <code>none</code> - The instance avoids running in a Capacity Reservation even if one is available. The
|
|
8062
|
-
* instance runs as an On-Demand Instance.</p>
|
|
8063
|
-
* </li>
|
|
8064
|
-
* </ul>
|
|
8065
|
-
*/
|
|
8066
|
-
CapacityReservationPreference?: CapacityReservationPreference | string;
|
|
8067
|
-
/**
|
|
8068
|
-
* <p>Information about the target Capacity Reservation or Capacity Reservation group.</p>
|
|
8069
|
-
*/
|
|
8070
|
-
CapacityReservationTarget?: CapacityReservationTarget;
|
|
8071
|
-
}
|
|
8072
|
-
export declare namespace CapacityReservationSpecification {
|
|
8073
|
-
/**
|
|
8074
|
-
* @internal
|
|
8075
|
-
*/
|
|
8076
|
-
const filterSensitiveLog: (obj: CapacityReservationSpecification) => any;
|
|
8077
|
-
}
|
|
8078
|
-
export interface ModifyInstanceCapacityReservationAttributesRequest {
|
|
8079
|
-
/**
|
|
8080
|
-
* <p>The ID of the instance to be modified.</p>
|
|
8081
|
-
*/
|
|
8082
|
-
InstanceId: string | undefined;
|
|
8083
|
-
/**
|
|
8084
|
-
* <p>Information about the Capacity Reservation targeting option.</p>
|
|
8085
|
-
*/
|
|
8086
|
-
CapacityReservationSpecification: CapacityReservationSpecification | undefined;
|
|
8087
|
-
/**
|
|
8088
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8089
|
-
*/
|
|
8090
|
-
DryRun?: boolean;
|
|
8091
|
-
}
|
|
8092
|
-
export declare namespace ModifyInstanceCapacityReservationAttributesRequest {
|
|
8093
|
-
/**
|
|
8094
|
-
* @internal
|
|
8095
|
-
*/
|
|
8096
|
-
const filterSensitiveLog: (obj: ModifyInstanceCapacityReservationAttributesRequest) => any;
|
|
8097
|
-
}
|
|
8098
|
-
export interface ModifyInstanceCapacityReservationAttributesResult {
|
|
8099
|
-
/**
|
|
8100
|
-
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
8101
|
-
*/
|
|
8102
|
-
Return?: boolean;
|
|
8103
|
-
}
|
|
8104
|
-
export declare namespace ModifyInstanceCapacityReservationAttributesResult {
|
|
8105
|
-
/**
|
|
8106
|
-
* @internal
|
|
8107
|
-
*/
|
|
8108
|
-
const filterSensitiveLog: (obj: ModifyInstanceCapacityReservationAttributesResult) => any;
|
|
8109
|
-
}
|
|
8110
|
-
/**
|
|
8111
|
-
* <p>Describes the credit option for CPU usage of a burstable performance instance.</p>
|
|
8112
|
-
*/
|
|
8113
|
-
export interface InstanceCreditSpecificationRequest {
|
|
8114
|
-
/**
|
|
8115
|
-
* <p>The ID of the instance.</p>
|
|
8116
|
-
*/
|
|
8117
|
-
InstanceId?: string;
|
|
8118
|
-
/**
|
|
8119
|
-
* <p>The credit option for CPU usage of the instance. Valid values are
|
|
8120
|
-
* <code>standard</code> and <code>unlimited</code>.</p>
|
|
8121
|
-
* <p>T3 instances with <code>host</code> tenancy do not support the <code>unlimited</code>
|
|
8122
|
-
* CPU credit option.</p>
|
|
8123
|
-
*/
|
|
8124
|
-
CpuCredits?: string;
|
|
8125
|
-
}
|
|
8126
|
-
export declare namespace InstanceCreditSpecificationRequest {
|
|
8127
|
-
/**
|
|
8128
|
-
* @internal
|
|
8129
|
-
*/
|
|
8130
|
-
const filterSensitiveLog: (obj: InstanceCreditSpecificationRequest) => any;
|
|
8131
|
-
}
|