@aws-sdk/client-ec2 3.281.0 → 3.284.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/dist-cjs/commands/ModifyAddressAttributeCommand.js +2 -1
- package/dist-cjs/commands/TerminateInstancesCommand.js +2 -1
- package/dist-cjs/models/models_3.js +12 -10
- package/dist-cjs/models/models_4.js +17 -11
- package/dist-cjs/models/models_5.js +11 -10
- package/dist-cjs/models/models_6.js +10 -10
- package/dist-cjs/models/models_7.js +5 -1
- package/dist-cjs/protocols/Aws_ec2.js +4 -0
- package/dist-es/commands/ModifyAddressAttributeCommand.js +2 -1
- package/dist-es/commands/TerminateInstancesCommand.js +2 -1
- package/dist-es/models/models_3.js +6 -3
- package/dist-es/models/models_4.js +10 -5
- package/dist-es/models/models_5.js +5 -3
- package/dist-es/models/models_6.js +3 -3
- package/dist-es/models/models_7.js +3 -0
- package/dist-es/protocols/Aws_ec2.js +4 -0
- package/dist-types/commands/ModifyAddressAttributeCommand.d.ts +2 -1
- package/dist-types/commands/TerminateInstancesCommand.d.ts +2 -1
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/models/models_3.d.ts +6 -59
- package/dist-types/models/models_4.d.ts +77 -7
- package/dist-types/models/models_5.d.ts +6 -12
- package/dist-types/models/models_6.d.ts +17 -13
- package/dist-types/models/models_7.d.ts +11 -1
- package/dist-types/ts3.4/commands/ModifyAddressAttributeCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/TerminateInstancesCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_1.d.ts +1 -1
- package/dist-types/ts3.4/models/models_3.d.ts +5 -7
- package/dist-types/ts3.4/models/models_4.d.ts +16 -10
- package/dist-types/ts3.4/models/models_5.d.ts +4 -8
- package/dist-types/ts3.4/models/models_6.d.ts +7 -7
- package/dist-types/ts3.4/models/models_7.d.ts +7 -1
- package/package.json +18 -18
|
@@ -144,6 +144,13 @@ export var OfferingTypeValues;
|
|
|
144
144
|
OfferingTypeValues["No_Upfront"] = "No Upfront";
|
|
145
145
|
OfferingTypeValues["Partial_Upfront"] = "Partial Upfront";
|
|
146
146
|
})(OfferingTypeValues || (OfferingTypeValues = {}));
|
|
147
|
+
export var RIProductDescription;
|
|
148
|
+
(function (RIProductDescription) {
|
|
149
|
+
RIProductDescription["Linux_UNIX"] = "Linux/UNIX";
|
|
150
|
+
RIProductDescription["Linux_UNIX_Amazon_VPC_"] = "Linux/UNIX (Amazon VPC)";
|
|
151
|
+
RIProductDescription["Windows"] = "Windows";
|
|
152
|
+
RIProductDescription["Windows_Amazon_VPC_"] = "Windows (Amazon VPC)";
|
|
153
|
+
})(RIProductDescription || (RIProductDescription = {}));
|
|
147
154
|
export var RecurringChargeFrequency;
|
|
148
155
|
(function (RecurringChargeFrequency) {
|
|
149
156
|
RecurringChargeFrequency["Hourly"] = "Hourly";
|
|
@@ -226,11 +233,9 @@ export var VolumeModificationState;
|
|
|
226
233
|
VolumeModificationState["modifying"] = "modifying";
|
|
227
234
|
VolumeModificationState["optimizing"] = "optimizing";
|
|
228
235
|
})(VolumeModificationState || (VolumeModificationState = {}));
|
|
229
|
-
export
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
VolumeStatusName["io_performance"] = "io-performance";
|
|
233
|
-
})(VolumeStatusName || (VolumeStatusName = {}));
|
|
236
|
+
export const InstanceStateFilterSensitiveLog = (obj) => ({
|
|
237
|
+
...obj,
|
|
238
|
+
});
|
|
234
239
|
export const InstanceFilterSensitiveLog = (obj) => ({
|
|
235
240
|
...obj,
|
|
236
241
|
});
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export var VolumeStatusName;
|
|
4
|
+
(function (VolumeStatusName) {
|
|
5
|
+
VolumeStatusName["io_enabled"] = "io-enabled";
|
|
6
|
+
VolumeStatusName["io_performance"] = "io-performance";
|
|
7
|
+
})(VolumeStatusName || (VolumeStatusName = {}));
|
|
3
8
|
export var VolumeStatusInfoStatus;
|
|
4
9
|
(function (VolumeStatusInfoStatus) {
|
|
5
10
|
VolumeStatusInfoStatus["impaired"] = "impaired";
|
|
@@ -948,6 +953,3 @@ export const ListSnapshotsInRecycleBinResultFilterSensitiveLog = (obj) => ({
|
|
|
948
953
|
export const ModifyAddressAttributeRequestFilterSensitiveLog = (obj) => ({
|
|
949
954
|
...obj,
|
|
950
955
|
});
|
|
951
|
-
export const ModifyAddressAttributeResultFilterSensitiveLog = (obj) => ({
|
|
952
|
-
...obj,
|
|
953
|
-
});
|
|
@@ -79,6 +79,9 @@ export var MembershipType;
|
|
|
79
79
|
MembershipType["igmp"] = "igmp";
|
|
80
80
|
MembershipType["static"] = "static";
|
|
81
81
|
})(MembershipType || (MembershipType = {}));
|
|
82
|
+
export const ModifyAddressAttributeResultFilterSensitiveLog = (obj) => ({
|
|
83
|
+
...obj,
|
|
84
|
+
});
|
|
82
85
|
export const ModifyAvailabilityZoneGroupRequestFilterSensitiveLog = (obj) => ({
|
|
83
86
|
...obj,
|
|
84
87
|
});
|
|
@@ -946,6 +949,3 @@ export const TerminateClientVpnConnectionsResultFilterSensitiveLog = (obj) => ({
|
|
|
946
949
|
export const TerminateInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
947
950
|
...obj,
|
|
948
951
|
});
|
|
949
|
-
export const TerminateInstancesResultFilterSensitiveLog = (obj) => ({
|
|
950
|
-
...obj,
|
|
951
|
-
});
|
|
@@ -56102,6 +56102,7 @@ const deserializeAws_ec2Instance = (output, context) => {
|
|
|
56102
56102
|
Ipv6Address: undefined,
|
|
56103
56103
|
TpmSupport: undefined,
|
|
56104
56104
|
MaintenanceOptions: undefined,
|
|
56105
|
+
CurrentInstanceBootMode: undefined,
|
|
56105
56106
|
};
|
|
56106
56107
|
if (output["amiLaunchIndex"] !== undefined) {
|
|
56107
56108
|
contents.AmiLaunchIndex = __strictParseInt32(output["amiLaunchIndex"]);
|
|
@@ -56297,6 +56298,9 @@ const deserializeAws_ec2Instance = (output, context) => {
|
|
|
56297
56298
|
if (output["maintenanceOptions"] !== undefined) {
|
|
56298
56299
|
contents.MaintenanceOptions = deserializeAws_ec2InstanceMaintenanceOptions(output["maintenanceOptions"], context);
|
|
56299
56300
|
}
|
|
56301
|
+
if (output["currentInstanceBootMode"] !== undefined) {
|
|
56302
|
+
contents.CurrentInstanceBootMode = __expectString(output["currentInstanceBootMode"]);
|
|
56303
|
+
}
|
|
56300
56304
|
return contents;
|
|
56301
56305
|
};
|
|
56302
56306
|
const deserializeAws_ec2InstanceAttribute = (output, context) => {
|
|
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { ModifyAddressAttributeRequest
|
|
5
|
+
import { ModifyAddressAttributeRequest } from "../models/models_5";
|
|
6
|
+
import { ModifyAddressAttributeResult } from "../models/models_6";
|
|
6
7
|
/**
|
|
7
8
|
* The input for {@link ModifyAddressAttributeCommand}.
|
|
8
9
|
*/
|
|
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { TerminateInstancesRequest
|
|
5
|
+
import { TerminateInstancesRequest } from "../models/models_6";
|
|
6
|
+
import { TerminateInstancesResult } from "../models/models_7";
|
|
6
7
|
/**
|
|
7
8
|
* The input for {@link TerminateInstancesCommand}.
|
|
8
9
|
*/
|
|
@@ -353,7 +353,7 @@ export interface CreateCustomerGatewayRequest {
|
|
|
353
353
|
* <p>For devices that support BGP, the customer gateway's BGP ASN.</p>
|
|
354
354
|
* <p>Default: 65000</p>
|
|
355
355
|
*/
|
|
356
|
-
BgpAsn
|
|
356
|
+
BgpAsn?: number;
|
|
357
357
|
/**
|
|
358
358
|
* <p>
|
|
359
359
|
* <i>This member has been deprecated.</i> The Internet-routable IP address for the customer gateway's outside interface. The
|
|
@@ -5466,7 +5466,8 @@ export declare enum ArchitectureValues {
|
|
|
5466
5466
|
}
|
|
5467
5467
|
export declare enum BootModeValues {
|
|
5468
5468
|
legacy_bios = "legacy-bios",
|
|
5469
|
-
uefi = "uefi"
|
|
5469
|
+
uefi = "uefi",
|
|
5470
|
+
uefi_preferred = "uefi-preferred"
|
|
5470
5471
|
}
|
|
5471
5472
|
export declare enum HypervisorType {
|
|
5472
5473
|
ovm = "ovm",
|
|
@@ -6833,6 +6834,10 @@ export interface CpuOptions {
|
|
|
6833
6834
|
*/
|
|
6834
6835
|
ThreadsPerCore?: number;
|
|
6835
6836
|
}
|
|
6837
|
+
export declare enum InstanceBootModeValues {
|
|
6838
|
+
legacy_bios = "legacy-bios",
|
|
6839
|
+
uefi = "uefi"
|
|
6840
|
+
}
|
|
6836
6841
|
/**
|
|
6837
6842
|
* <p>Describes the association between an instance and an Elastic Graphics accelerator.</p>
|
|
6838
6843
|
*/
|
|
@@ -7226,60 +7231,6 @@ export declare enum InstanceStateName {
|
|
|
7226
7231
|
stopping = "stopping",
|
|
7227
7232
|
terminated = "terminated"
|
|
7228
7233
|
}
|
|
7229
|
-
/**
|
|
7230
|
-
* <p>Describes the current state of an instance.</p>
|
|
7231
|
-
*/
|
|
7232
|
-
export interface InstanceState {
|
|
7233
|
-
/**
|
|
7234
|
-
* <p>The state of the instance as a 16-bit unsigned integer. </p>
|
|
7235
|
-
* <p>The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal values
|
|
7236
|
-
* between 256 and 65,535. These numerical values are used for internal purposes and should
|
|
7237
|
-
* be ignored.</p>
|
|
7238
|
-
* <p>The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal values
|
|
7239
|
-
* between 0 and 255. </p>
|
|
7240
|
-
* <p>The valid values for instance-state-code will all be in the range of the low byte and
|
|
7241
|
-
* they are:</p>
|
|
7242
|
-
* <ul>
|
|
7243
|
-
* <li>
|
|
7244
|
-
* <p>
|
|
7245
|
-
* <code>0</code> : <code>pending</code>
|
|
7246
|
-
* </p>
|
|
7247
|
-
* </li>
|
|
7248
|
-
* <li>
|
|
7249
|
-
* <p>
|
|
7250
|
-
* <code>16</code> : <code>running</code>
|
|
7251
|
-
* </p>
|
|
7252
|
-
* </li>
|
|
7253
|
-
* <li>
|
|
7254
|
-
* <p>
|
|
7255
|
-
* <code>32</code> : <code>shutting-down</code>
|
|
7256
|
-
* </p>
|
|
7257
|
-
* </li>
|
|
7258
|
-
* <li>
|
|
7259
|
-
* <p>
|
|
7260
|
-
* <code>48</code> : <code>terminated</code>
|
|
7261
|
-
* </p>
|
|
7262
|
-
* </li>
|
|
7263
|
-
* <li>
|
|
7264
|
-
* <p>
|
|
7265
|
-
* <code>64</code> : <code>stopping</code>
|
|
7266
|
-
* </p>
|
|
7267
|
-
* </li>
|
|
7268
|
-
* <li>
|
|
7269
|
-
* <p>
|
|
7270
|
-
* <code>80</code> : <code>stopped</code>
|
|
7271
|
-
* </p>
|
|
7272
|
-
* </li>
|
|
7273
|
-
* </ul>
|
|
7274
|
-
* <p>You can ignore the high byte value by zeroing out all of the bits above 2^8 or 256 in
|
|
7275
|
-
* decimal.</p>
|
|
7276
|
-
*/
|
|
7277
|
-
Code?: number;
|
|
7278
|
-
/**
|
|
7279
|
-
* <p>The current state of the instance.</p>
|
|
7280
|
-
*/
|
|
7281
|
-
Name?: InstanceStateName | string;
|
|
7282
|
-
}
|
|
7283
7234
|
/**
|
|
7284
7235
|
* @internal
|
|
7285
7236
|
*/
|
|
@@ -8296,7 +8247,3 @@ export declare const InstanceNetworkInterfaceFilterSensitiveLog: (obj: InstanceN
|
|
|
8296
8247
|
* @internal
|
|
8297
8248
|
*/
|
|
8298
8249
|
export declare const PrivateDnsNameOptionsResponseFilterSensitiveLog: (obj: PrivateDnsNameOptionsResponse) => any;
|
|
8299
|
-
/**
|
|
8300
|
-
* @internal
|
|
8301
|
-
*/
|
|
8302
|
-
export declare const InstanceStateFilterSensitiveLog: (obj: InstanceState) => any;
|
|
@@ -1,7 +1,61 @@
|
|
|
1
1
|
import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfile, IamInstanceProfileSpecification, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
2
|
import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, Placement, PlacementGroup, PlatformValues, PrivateIpAddressSpecification, ReplaceRootVolumeTask, SpotInstanceType, StateReason, Subnet, TargetCapacityUnitType, Tenancy, VolumeType } from "./models_1";
|
|
3
3
|
import { RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume } from "./models_2";
|
|
4
|
-
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, CapacityReservationSpecificationResponse, CpuOptions, DeviceType, ElasticGpuAssociation, ElasticInferenceAcceleratorAssociation, EnclaveOptions, EventInformation, Filter, HibernationOptions, HypervisorType, IdFormat, InstanceBlockDeviceMapping, InstanceLifecycleType, InstanceMaintenanceOptions, InstanceMetadataOptionsResponse, InstanceNetworkInterface,
|
|
4
|
+
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, CapacityReservationSpecificationResponse, CpuOptions, DeviceType, ElasticGpuAssociation, ElasticInferenceAcceleratorAssociation, EnclaveOptions, EventInformation, Filter, HibernationOptions, HypervisorType, IdFormat, InstanceBlockDeviceMapping, InstanceBootModeValues, InstanceLifecycleType, InstanceMaintenanceOptions, InstanceMetadataOptionsResponse, InstanceNetworkInterface, InstanceStateName, LicenseConfiguration, Monitoring, PermissionGroup, PrivateDnsNameOptionsResponse, ProductCode, VirtualizationType } from "./models_3";
|
|
5
|
+
/**
|
|
6
|
+
* <p>Describes the current state of an instance.</p>
|
|
7
|
+
*/
|
|
8
|
+
export interface InstanceState {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The state of the instance as a 16-bit unsigned integer. </p>
|
|
11
|
+
* <p>The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal values
|
|
12
|
+
* between 256 and 65,535. These numerical values are used for internal purposes and should
|
|
13
|
+
* be ignored.</p>
|
|
14
|
+
* <p>The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal values
|
|
15
|
+
* between 0 and 255. </p>
|
|
16
|
+
* <p>The valid values for instance-state-code will all be in the range of the low byte and
|
|
17
|
+
* they are:</p>
|
|
18
|
+
* <ul>
|
|
19
|
+
* <li>
|
|
20
|
+
* <p>
|
|
21
|
+
* <code>0</code> : <code>pending</code>
|
|
22
|
+
* </p>
|
|
23
|
+
* </li>
|
|
24
|
+
* <li>
|
|
25
|
+
* <p>
|
|
26
|
+
* <code>16</code> : <code>running</code>
|
|
27
|
+
* </p>
|
|
28
|
+
* </li>
|
|
29
|
+
* <li>
|
|
30
|
+
* <p>
|
|
31
|
+
* <code>32</code> : <code>shutting-down</code>
|
|
32
|
+
* </p>
|
|
33
|
+
* </li>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>
|
|
36
|
+
* <code>48</code> : <code>terminated</code>
|
|
37
|
+
* </p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>
|
|
41
|
+
* <code>64</code> : <code>stopping</code>
|
|
42
|
+
* </p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>
|
|
46
|
+
* <code>80</code> : <code>stopped</code>
|
|
47
|
+
* </p>
|
|
48
|
+
* </li>
|
|
49
|
+
* </ul>
|
|
50
|
+
* <p>You can ignore the high byte value by zeroing out all of the bits above 2^8 or 256 in
|
|
51
|
+
* decimal.</p>
|
|
52
|
+
*/
|
|
53
|
+
Code?: number;
|
|
54
|
+
/**
|
|
55
|
+
* <p>The current state of the instance.</p>
|
|
56
|
+
*/
|
|
57
|
+
Name?: InstanceStateName | string;
|
|
58
|
+
}
|
|
5
59
|
/**
|
|
6
60
|
* <p>Describes an instance.</p>
|
|
7
61
|
*/
|
|
@@ -222,7 +276,13 @@ export interface Instance {
|
|
|
222
276
|
*/
|
|
223
277
|
EnclaveOptions?: EnclaveOptions;
|
|
224
278
|
/**
|
|
225
|
-
* <p>The boot mode
|
|
279
|
+
* <p>The boot mode that was specified by the AMI. If the value is <code>uefi-preferred</code>,
|
|
280
|
+
* the AMI supports both UEFI and Legacy BIOS. The <code>currentInstanceBootMode</code> parameter
|
|
281
|
+
* is the boot mode that is used to boot the instance at launch or start.</p>
|
|
282
|
+
* <note>
|
|
283
|
+
* <p>The operating system contained in the AMI must be configured to support the specified boot mode.</p>
|
|
284
|
+
* </note>
|
|
285
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
|
|
226
286
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
227
287
|
*/
|
|
228
288
|
BootMode?: BootModeValues | string;
|
|
@@ -260,6 +320,11 @@ export interface Instance {
|
|
|
260
320
|
* <p>Provides information on the recovery and maintenance options of your instance.</p>
|
|
261
321
|
*/
|
|
262
322
|
MaintenanceOptions?: InstanceMaintenanceOptions;
|
|
323
|
+
/**
|
|
324
|
+
* <p>The boot mode that is used to boot the instance at launch or start. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
|
|
325
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
326
|
+
*/
|
|
327
|
+
CurrentInstanceBootMode?: InstanceBootModeValues | string;
|
|
263
328
|
}
|
|
264
329
|
/**
|
|
265
330
|
* <p>Describes a launch request for one or more instances, and includes owner, requester,
|
|
@@ -3903,7 +3968,12 @@ export interface DescribeReservedInstancesRequest {
|
|
|
3903
3968
|
*/
|
|
3904
3969
|
OfferingType?: OfferingTypeValues | string;
|
|
3905
3970
|
}
|
|
3906
|
-
export declare
|
|
3971
|
+
export declare enum RIProductDescription {
|
|
3972
|
+
Linux_UNIX = "Linux/UNIX",
|
|
3973
|
+
Linux_UNIX_Amazon_VPC_ = "Linux/UNIX (Amazon VPC)",
|
|
3974
|
+
Windows = "Windows",
|
|
3975
|
+
Windows_Amazon_VPC_ = "Windows (Amazon VPC)"
|
|
3976
|
+
}
|
|
3907
3977
|
export declare enum RecurringChargeFrequency {
|
|
3908
3978
|
Hourly = "Hourly"
|
|
3909
3979
|
}
|
|
@@ -9094,10 +9164,10 @@ export interface VolumeStatusEvent {
|
|
|
9094
9164
|
*/
|
|
9095
9165
|
InstanceId?: string;
|
|
9096
9166
|
}
|
|
9097
|
-
|
|
9098
|
-
|
|
9099
|
-
|
|
9100
|
-
|
|
9167
|
+
/**
|
|
9168
|
+
* @internal
|
|
9169
|
+
*/
|
|
9170
|
+
export declare const InstanceStateFilterSensitiveLog: (obj: InstanceState) => any;
|
|
9101
9171
|
/**
|
|
9102
9172
|
* @internal
|
|
9103
9173
|
*/
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { _InstanceType, AccessScopeAnalysisFinding,
|
|
1
|
+
import { _InstanceType, AccessScopeAnalysisFinding, AddressTransfer, AllowedPrincipal, AssociationStatus, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, SubnetAssociation, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
|
|
2
2
|
import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, TargetCapacityUnitType, Vpc } from "./models_1";
|
|
3
3
|
import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, SubnetCidrReservation, TransitGatewayPrefixListReference, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
4
|
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, ImportImageLicenseConfigurationResponse, IpamPoolCidr, MetricType, PaymentOption, PeriodType, SnapshotDetail, SnapshotTaskDetail, StatisticType, VirtualizationType } from "./models_3";
|
|
5
|
-
import { AnalysisStatus, ArchitectureType, VolumeStatusAction, VolumeStatusAttachmentStatus, VolumeStatusEvent
|
|
5
|
+
import { AnalysisStatus, ArchitectureType, VolumeStatusAction, VolumeStatusAttachmentStatus, VolumeStatusEvent } from "./models_4";
|
|
6
|
+
export declare enum VolumeStatusName {
|
|
7
|
+
io_enabled = "io-enabled",
|
|
8
|
+
io_performance = "io-performance"
|
|
9
|
+
}
|
|
6
10
|
/**
|
|
7
11
|
* <p>Describes a volume status.</p>
|
|
8
12
|
*/
|
|
@@ -5781,12 +5785,6 @@ export interface ModifyAddressAttributeRequest {
|
|
|
5781
5785
|
*/
|
|
5782
5786
|
DryRun?: boolean;
|
|
5783
5787
|
}
|
|
5784
|
-
export interface ModifyAddressAttributeResult {
|
|
5785
|
-
/**
|
|
5786
|
-
* <p>Information about the Elastic IP address.</p>
|
|
5787
|
-
*/
|
|
5788
|
-
Address?: AddressAttribute;
|
|
5789
|
-
}
|
|
5790
5788
|
/**
|
|
5791
5789
|
* @internal
|
|
5792
5790
|
*/
|
|
@@ -6935,7 +6933,3 @@ export declare const ListSnapshotsInRecycleBinResultFilterSensitiveLog: (obj: Li
|
|
|
6935
6933
|
* @internal
|
|
6936
6934
|
*/
|
|
6937
6935
|
export declare const ModifyAddressAttributeRequestFilterSensitiveLog: (obj: ModifyAddressAttributeRequest) => any;
|
|
6938
|
-
/**
|
|
6939
|
-
* @internal
|
|
6940
|
-
*/
|
|
6941
|
-
export declare const ModifyAddressAttributeResultFilterSensitiveLog: (obj: ModifyAddressAttributeResult) => any;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, ClientConnectOptions, ClientLoginBannerOptions, ClientVpnAuthorizationRuleStatus, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
2
|
import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, CreditSpecificationRequest, ElasticGpuSpecification, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RequestIpamResourceTag, RuleAction, SelfServicePortal, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
|
|
3
3
|
import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
|
|
4
|
-
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ClientVpnConnectionStatus, Filter, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState,
|
|
5
|
-
import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, InstanceStatusEvent, LaunchTemplateConfig, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_4";
|
|
4
|
+
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ClientVpnConnectionStatus, Filter, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, Monitoring, PermissionGroup, TpmSupportValues } from "./models_3";
|
|
5
|
+
import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, InstanceState, InstanceStatusEvent, LaunchTemplateConfig, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_4";
|
|
6
6
|
import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily } from "./models_5";
|
|
7
|
+
export interface ModifyAddressAttributeResult {
|
|
8
|
+
/**
|
|
9
|
+
* <p>Information about the Elastic IP address.</p>
|
|
10
|
+
*/
|
|
11
|
+
Address?: AddressAttribute;
|
|
12
|
+
}
|
|
7
13
|
export declare enum ModifyAvailabilityZoneOptInStatus {
|
|
8
14
|
not_opted_in = "not-opted-in",
|
|
9
15
|
opted_in = "opted-in"
|
|
@@ -3712,7 +3718,11 @@ export interface RegisterImageRequest {
|
|
|
3712
3718
|
*/
|
|
3713
3719
|
VirtualizationType?: string;
|
|
3714
3720
|
/**
|
|
3715
|
-
* <p>The boot mode of the AMI.
|
|
3721
|
+
* <p>The boot mode of the AMI. A value of <code>uefi-preferred</code> indicates that the AMI supports both UEFI and Legacy BIOS.</p>
|
|
3722
|
+
* <note>
|
|
3723
|
+
* <p>The operating system contained in the AMI must be configured to support the specified boot mode.</p>
|
|
3724
|
+
* </note>
|
|
3725
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
|
|
3716
3726
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
3717
3727
|
*/
|
|
3718
3728
|
BootMode?: BootModeValues | string;
|
|
@@ -6372,12 +6382,10 @@ export interface TerminateInstancesRequest {
|
|
|
6372
6382
|
*/
|
|
6373
6383
|
DryRun?: boolean;
|
|
6374
6384
|
}
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
TerminatingInstances?: InstanceStateChange[];
|
|
6380
|
-
}
|
|
6385
|
+
/**
|
|
6386
|
+
* @internal
|
|
6387
|
+
*/
|
|
6388
|
+
export declare const ModifyAddressAttributeResultFilterSensitiveLog: (obj: ModifyAddressAttributeResult) => any;
|
|
6381
6389
|
/**
|
|
6382
6390
|
* @internal
|
|
6383
6391
|
*/
|
|
@@ -7518,7 +7526,3 @@ export declare const TerminateClientVpnConnectionsResultFilterSensitiveLog: (obj
|
|
|
7518
7526
|
* @internal
|
|
7519
7527
|
*/
|
|
7520
7528
|
export declare const TerminateInstancesRequestFilterSensitiveLog: (obj: TerminateInstancesRequest) => any;
|
|
7521
|
-
/**
|
|
7522
|
-
* @internal
|
|
7523
|
-
*/
|
|
7524
|
-
export declare const TerminateInstancesResultFilterSensitiveLog: (obj: TerminateInstancesResult) => any;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { ByoipCidr, IpPermission, NatGatewayAddress } from "./models_0";
|
|
2
|
-
import { InstanceMonitoring } from "./models_6";
|
|
2
|
+
import { InstanceMonitoring, InstanceStateChange } from "./models_6";
|
|
3
|
+
export interface TerminateInstancesResult {
|
|
4
|
+
/**
|
|
5
|
+
* <p>Information about the terminated instances.</p>
|
|
6
|
+
*/
|
|
7
|
+
TerminatingInstances?: InstanceStateChange[];
|
|
8
|
+
}
|
|
3
9
|
export interface UnassignIpv6AddressesRequest {
|
|
4
10
|
/**
|
|
5
11
|
* <p>The IPv6 addresses to unassign from the network interface.</p>
|
|
@@ -197,6 +203,10 @@ export interface WithdrawByoipCidrResult {
|
|
|
197
203
|
*/
|
|
198
204
|
ByoipCidr?: ByoipCidr;
|
|
199
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* @internal
|
|
208
|
+
*/
|
|
209
|
+
export declare const TerminateInstancesResultFilterSensitiveLog: (obj: TerminateInstancesResult) => any;
|
|
200
210
|
/**
|
|
201
211
|
* @internal
|
|
202
212
|
*/
|
|
@@ -11,10 +11,8 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../EC2Client";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
ModifyAddressAttributeResult,
|
|
17
|
-
} from "../models/models_5";
|
|
14
|
+
import { ModifyAddressAttributeRequest } from "../models/models_5";
|
|
15
|
+
import { ModifyAddressAttributeResult } from "../models/models_6";
|
|
18
16
|
export interface ModifyAddressAttributeCommandInput
|
|
19
17
|
extends ModifyAddressAttributeRequest {}
|
|
20
18
|
export interface ModifyAddressAttributeCommandOutput
|
|
@@ -11,10 +11,8 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../EC2Client";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
TerminateInstancesResult,
|
|
17
|
-
} from "../models/models_6";
|
|
14
|
+
import { TerminateInstancesRequest } from "../models/models_6";
|
|
15
|
+
import { TerminateInstancesResult } from "../models/models_7";
|
|
18
16
|
export interface TerminateInstancesCommandInput
|
|
19
17
|
extends TerminateInstancesRequest {}
|
|
20
18
|
export interface TerminateInstancesCommandOutput
|
|
@@ -129,7 +129,7 @@ export declare enum GatewayType {
|
|
|
129
129
|
ipsec_1 = "ipsec.1",
|
|
130
130
|
}
|
|
131
131
|
export interface CreateCustomerGatewayRequest {
|
|
132
|
-
BgpAsn
|
|
132
|
+
BgpAsn?: number;
|
|
133
133
|
PublicIp?: string;
|
|
134
134
|
CertificateArn?: string;
|
|
135
135
|
Type: GatewayType | string | undefined;
|
|
@@ -1406,6 +1406,7 @@ export declare enum ArchitectureValues {
|
|
|
1406
1406
|
export declare enum BootModeValues {
|
|
1407
1407
|
legacy_bios = "legacy-bios",
|
|
1408
1408
|
uefi = "uefi",
|
|
1409
|
+
uefi_preferred = "uefi-preferred",
|
|
1409
1410
|
}
|
|
1410
1411
|
export declare enum HypervisorType {
|
|
1411
1412
|
ovm = "ovm",
|
|
@@ -1659,6 +1660,10 @@ export interface CpuOptions {
|
|
|
1659
1660
|
CoreCount?: number;
|
|
1660
1661
|
ThreadsPerCore?: number;
|
|
1661
1662
|
}
|
|
1663
|
+
export declare enum InstanceBootModeValues {
|
|
1664
|
+
legacy_bios = "legacy-bios",
|
|
1665
|
+
uefi = "uefi",
|
|
1666
|
+
}
|
|
1662
1667
|
export interface ElasticGpuAssociation {
|
|
1663
1668
|
ElasticGpuId?: string;
|
|
1664
1669
|
ElasticGpuAssociationId?: string;
|
|
@@ -1785,10 +1790,6 @@ export declare enum InstanceStateName {
|
|
|
1785
1790
|
stopping = "stopping",
|
|
1786
1791
|
terminated = "terminated",
|
|
1787
1792
|
}
|
|
1788
|
-
export interface InstanceState {
|
|
1789
|
-
Code?: number;
|
|
1790
|
-
Name?: InstanceStateName | string;
|
|
1791
|
-
}
|
|
1792
1793
|
export declare const DeleteTrafficMirrorSessionResultFilterSensitiveLog: (
|
|
1793
1794
|
obj: DeleteTrafficMirrorSessionResult
|
|
1794
1795
|
) => any;
|
|
@@ -2517,6 +2518,3 @@ export declare const InstanceNetworkInterfaceFilterSensitiveLog: (
|
|
|
2517
2518
|
export declare const PrivateDnsNameOptionsResponseFilterSensitiveLog: (
|
|
2518
2519
|
obj: PrivateDnsNameOptionsResponse
|
|
2519
2520
|
) => any;
|
|
2520
|
-
export declare const InstanceStateFilterSensitiveLog: (
|
|
2521
|
-
obj: InstanceState
|
|
2522
|
-
) => any;
|
|
@@ -106,11 +106,12 @@ import {
|
|
|
106
106
|
HypervisorType,
|
|
107
107
|
IdFormat,
|
|
108
108
|
InstanceBlockDeviceMapping,
|
|
109
|
+
InstanceBootModeValues,
|
|
109
110
|
InstanceLifecycleType,
|
|
110
111
|
InstanceMaintenanceOptions,
|
|
111
112
|
InstanceMetadataOptionsResponse,
|
|
112
113
|
InstanceNetworkInterface,
|
|
113
|
-
|
|
114
|
+
InstanceStateName,
|
|
114
115
|
LicenseConfiguration,
|
|
115
116
|
Monitoring,
|
|
116
117
|
PermissionGroup,
|
|
@@ -118,6 +119,10 @@ import {
|
|
|
118
119
|
ProductCode,
|
|
119
120
|
VirtualizationType,
|
|
120
121
|
} from "./models_3";
|
|
122
|
+
export interface InstanceState {
|
|
123
|
+
Code?: number;
|
|
124
|
+
Name?: InstanceStateName | string;
|
|
125
|
+
}
|
|
121
126
|
export interface Instance {
|
|
122
127
|
AmiLaunchIndex?: number;
|
|
123
128
|
ImageId?: string;
|
|
@@ -175,6 +180,7 @@ export interface Instance {
|
|
|
175
180
|
Ipv6Address?: string;
|
|
176
181
|
TpmSupport?: string;
|
|
177
182
|
MaintenanceOptions?: InstanceMaintenanceOptions;
|
|
183
|
+
CurrentInstanceBootMode?: InstanceBootModeValues | string;
|
|
178
184
|
}
|
|
179
185
|
export interface Reservation {
|
|
180
186
|
Groups?: GroupIdentifier[];
|
|
@@ -979,11 +985,12 @@ export interface DescribeReservedInstancesRequest {
|
|
|
979
985
|
DryRun?: boolean;
|
|
980
986
|
OfferingType?: OfferingTypeValues | string;
|
|
981
987
|
}
|
|
982
|
-
export declare
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
988
|
+
export declare enum RIProductDescription {
|
|
989
|
+
Linux_UNIX = "Linux/UNIX",
|
|
990
|
+
Linux_UNIX_Amazon_VPC_ = "Linux/UNIX (Amazon VPC)",
|
|
991
|
+
Windows = "Windows",
|
|
992
|
+
Windows_Amazon_VPC_ = "Windows (Amazon VPC)",
|
|
993
|
+
}
|
|
987
994
|
export declare enum RecurringChargeFrequency {
|
|
988
995
|
Hourly = "Hourly",
|
|
989
996
|
}
|
|
@@ -2009,10 +2016,9 @@ export interface VolumeStatusEvent {
|
|
|
2009
2016
|
NotBefore?: Date;
|
|
2010
2017
|
InstanceId?: string;
|
|
2011
2018
|
}
|
|
2012
|
-
export declare
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
}
|
|
2019
|
+
export declare const InstanceStateFilterSensitiveLog: (
|
|
2020
|
+
obj: InstanceState
|
|
2021
|
+
) => any;
|
|
2016
2022
|
export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
|
|
2017
2023
|
export declare const ReservationFilterSensitiveLog: (obj: Reservation) => any;
|
|
2018
2024
|
export declare const DescribeInstancesResultFilterSensitiveLog: (
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
_InstanceType,
|
|
3
3
|
AccessScopeAnalysisFinding,
|
|
4
|
-
AddressAttribute,
|
|
5
4
|
AddressTransfer,
|
|
6
5
|
AllowedPrincipal,
|
|
7
6
|
AssociationStatus,
|
|
@@ -85,8 +84,11 @@ import {
|
|
|
85
84
|
VolumeStatusAction,
|
|
86
85
|
VolumeStatusAttachmentStatus,
|
|
87
86
|
VolumeStatusEvent,
|
|
88
|
-
VolumeStatusName,
|
|
89
87
|
} from "./models_4";
|
|
88
|
+
export declare enum VolumeStatusName {
|
|
89
|
+
io_enabled = "io-enabled",
|
|
90
|
+
io_performance = "io-performance",
|
|
91
|
+
}
|
|
90
92
|
export interface VolumeStatusDetails {
|
|
91
93
|
Name?: VolumeStatusName | string;
|
|
92
94
|
Status?: string;
|
|
@@ -1656,9 +1658,6 @@ export interface ModifyAddressAttributeRequest {
|
|
|
1656
1658
|
DomainName?: string;
|
|
1657
1659
|
DryRun?: boolean;
|
|
1658
1660
|
}
|
|
1659
|
-
export interface ModifyAddressAttributeResult {
|
|
1660
|
-
Address?: AddressAttribute;
|
|
1661
|
-
}
|
|
1662
1661
|
export declare const VolumeStatusDetailsFilterSensitiveLog: (
|
|
1663
1662
|
obj: VolumeStatusDetails
|
|
1664
1663
|
) => any;
|
|
@@ -2502,6 +2501,3 @@ export declare const ListSnapshotsInRecycleBinResultFilterSensitiveLog: (
|
|
|
2502
2501
|
export declare const ModifyAddressAttributeRequestFilterSensitiveLog: (
|
|
2503
2502
|
obj: ModifyAddressAttributeRequest
|
|
2504
2503
|
) => any;
|
|
2505
|
-
export declare const ModifyAddressAttributeResultFilterSensitiveLog: (
|
|
2506
|
-
obj: ModifyAddressAttributeResult
|
|
2507
|
-
) => any;
|