@aws-sdk/client-ec2 3.850.0 → 3.852.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/index.js +7 -0
- package/dist-es/protocols/Aws_ec2.js +7 -0
- package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +2 -3
- package/dist-types/commands/StopInstancesCommand.d.ts +10 -5
- package/dist-types/commands/TerminateInstancesCommand.d.ts +12 -4
- package/dist-types/models/models_1.d.ts +11 -5
- package/dist-types/models/models_4.d.ts +2 -2
- package/dist-types/models/models_8.d.ts +33 -15
- package/dist-types/ts3.4/models/models_8.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -39490,6 +39490,9 @@ var se_StopInstancesRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
39490
39490
|
if (input[_Hi] != null) {
|
|
39491
39491
|
entries[_Hi] = input[_Hi];
|
|
39492
39492
|
}
|
|
39493
|
+
if (input[_SOS] != null) {
|
|
39494
|
+
entries[_SOS] = input[_SOS];
|
|
39495
|
+
}
|
|
39493
39496
|
if (input[_DRr] != null) {
|
|
39494
39497
|
entries[_DRr] = input[_DRr];
|
|
39495
39498
|
}
|
|
@@ -39727,6 +39730,9 @@ var se_TerminateInstancesRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
39727
39730
|
entries[loc] = value;
|
|
39728
39731
|
});
|
|
39729
39732
|
}
|
|
39733
|
+
if (input[_SOS] != null) {
|
|
39734
|
+
entries[_SOS] = input[_SOS];
|
|
39735
|
+
}
|
|
39730
39736
|
if (input[_DRr] != null) {
|
|
39731
39737
|
entries[_DRr] = input[_DRr];
|
|
39732
39738
|
}
|
|
@@ -65722,6 +65728,7 @@ var _SNe = "ServiceName";
|
|
|
65722
65728
|
var _SNeq = "SequenceNumber";
|
|
65723
65729
|
var _SNer = "ServiceNames";
|
|
65724
65730
|
var _SO = "SpotOptions";
|
|
65731
|
+
var _SOS = "SkipOsShutdown";
|
|
65725
65732
|
var _SOT = "S3ObjectTags";
|
|
65726
65733
|
var _SP = "S3Prefix";
|
|
65727
65734
|
var _SPA = "SamlProviderArn";
|
|
@@ -37897,6 +37897,9 @@ const se_StopInstancesRequest = (input, context) => {
|
|
|
37897
37897
|
if (input[_Hi] != null) {
|
|
37898
37898
|
entries[_Hi] = input[_Hi];
|
|
37899
37899
|
}
|
|
37900
|
+
if (input[_SOS] != null) {
|
|
37901
|
+
entries[_SOS] = input[_SOS];
|
|
37902
|
+
}
|
|
37900
37903
|
if (input[_DRr] != null) {
|
|
37901
37904
|
entries[_DRr] = input[_DRr];
|
|
37902
37905
|
}
|
|
@@ -38134,6 +38137,9 @@ const se_TerminateInstancesRequest = (input, context) => {
|
|
|
38134
38137
|
entries[loc] = value;
|
|
38135
38138
|
});
|
|
38136
38139
|
}
|
|
38140
|
+
if (input[_SOS] != null) {
|
|
38141
|
+
entries[_SOS] = input[_SOS];
|
|
38142
|
+
}
|
|
38137
38143
|
if (input[_DRr] != null) {
|
|
38138
38144
|
entries[_DRr] = input[_DRr];
|
|
38139
38145
|
}
|
|
@@ -65654,6 +65660,7 @@ const _SNe = "ServiceName";
|
|
|
65654
65660
|
const _SNeq = "SequenceNumber";
|
|
65655
65661
|
const _SNer = "ServiceNames";
|
|
65656
65662
|
const _SO = "SpotOptions";
|
|
65663
|
+
const _SOS = "SkipOsShutdown";
|
|
65657
65664
|
const _SOT = "S3ObjectTags";
|
|
65658
65665
|
const _SP = "S3Prefix";
|
|
65659
65666
|
const _SPA = "SamlProviderArn";
|
|
@@ -35,10 +35,9 @@ declare const StartDeclarativePoliciesReportCommand_base: {
|
|
|
35
35
|
* accounts that fall under the specified organizational unit (OU) or root (the entire
|
|
36
36
|
* Amazon Web Services Organization).</p>
|
|
37
37
|
* <p>The report is saved to your specified S3 bucket, using the following path structure
|
|
38
|
-
* (with the
|
|
39
|
-
* values):</p>
|
|
38
|
+
* (with the capitalized placeholders representing your specific values):</p>
|
|
40
39
|
* <p>
|
|
41
|
-
* <code>s3
|
|
40
|
+
* <code>s3://AMZN-S3-DEMO-BUCKET/YOUR-OPTIONAL-S3-PREFIX/ec2_TARGETID_REPORTID_YYYYMMDDTHHMMZ.csv</code>
|
|
42
41
|
* </p>
|
|
43
42
|
* <p class="title">
|
|
44
43
|
* <b>Prerequisites for generating a report</b>
|
|
@@ -30,17 +30,21 @@ declare const StopInstancesCommand_base: {
|
|
|
30
30
|
* <p>Stops an Amazon EBS-backed instance. You can restart your instance at any time using
|
|
31
31
|
* the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartInstances.html">StartInstances</a> API. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html">Stop and start Amazon EC2
|
|
32
32
|
* instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
33
|
-
* <p>When you stop an instance, we shut it down
|
|
34
|
-
*
|
|
35
|
-
*
|
|
33
|
+
* <p>When you stop or hibernate an instance, we shut it down. By default, this includes a
|
|
34
|
+
* graceful operating system (OS) shutdown. To bypass the graceful shutdown, use the
|
|
35
|
+
* <code>skipOsShutdown</code> parameter; however, this might risk data
|
|
36
|
+
* integrity.</p>
|
|
37
|
+
* <p>You can use the StopInstances operation together with the <code>Hibernate</code>
|
|
38
|
+
* parameter to hibernate an instance if the instance is <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enabling-hibernation.html">enabled for
|
|
36
39
|
* hibernation</a> and meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
|
|
37
40
|
* prerequisites</a>. Stopping an instance doesn't preserve data stored in RAM,
|
|
38
41
|
* while hibernation does. If hibernation fails, a normal shutdown occurs. For more
|
|
39
42
|
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your Amazon EC2
|
|
40
43
|
* instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
41
44
|
* <p>If your instance appears stuck in the <code>stopping</code> state, there might be an
|
|
42
|
-
* issue with the underlying host computer. You can use the
|
|
43
|
-
* the Force parameter to force stop your instance. For more information, see
|
|
45
|
+
* issue with the underlying host computer. You can use the StopInstances operation
|
|
46
|
+
* together with the Force parameter to force stop your instance. For more information, see
|
|
47
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html">Troubleshoot
|
|
44
48
|
* Amazon EC2 instance stop issues</a> in the
|
|
45
49
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
46
50
|
* <p>Stopping and hibernating an instance differs from rebooting or terminating it. For
|
|
@@ -65,6 +69,7 @@ declare const StopInstancesCommand_base: {
|
|
|
65
69
|
* "STRING_VALUE",
|
|
66
70
|
* ],
|
|
67
71
|
* Hibernate: true || false,
|
|
72
|
+
* SkipOsShutdown: true || false,
|
|
68
73
|
* DryRun: true || false,
|
|
69
74
|
* Force: true || false,
|
|
70
75
|
* };
|
|
@@ -77,16 +77,23 @@ declare const TerminateInstancesCommand_base: {
|
|
|
77
77
|
* hour).</p>
|
|
78
78
|
* <p>By default, Amazon EC2 deletes all EBS volumes that were attached when the instance
|
|
79
79
|
* launched. Volumes attached after instance launch continue running.</p>
|
|
80
|
+
* <p>By default, the TerminateInstances operation includes a graceful operating system (OS)
|
|
81
|
+
* shutdown. To bypass the graceful shutdown, use the <code>skipOsShutdown</code>
|
|
82
|
+
* parameter; however, this might risk data integrity.</p>
|
|
80
83
|
* <p>You can stop, start, and terminate EBS-backed instances. You can only terminate
|
|
81
84
|
* instance store-backed instances. What happens to an instance differs if you stop or
|
|
82
85
|
* terminate it. For example, when you stop an instance, the root device and any other
|
|
83
86
|
* devices attached to the instance persist. When you terminate an instance, any attached
|
|
84
87
|
* EBS volumes with the <code>DeleteOnTermination</code> block device mapping parameter set
|
|
85
88
|
* to <code>true</code> are automatically deleted. For more information about the
|
|
86
|
-
* differences between stopping and terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">
|
|
87
|
-
*
|
|
88
|
-
* <p>
|
|
89
|
-
*
|
|
89
|
+
* differences between stopping and terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Amazon EC2
|
|
90
|
+
* instance state changes</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
91
|
+
* <p>When you terminate an instance, we attempt to terminate it forcibly after a short
|
|
92
|
+
* while. If your instance appears stuck in the shutting-down state after a period of time,
|
|
93
|
+
* there might be an issue with the underlying host computer. For more information about
|
|
94
|
+
* terminating and troubleshooting terminating your instances, see <a href="https://docs.aws.amazon.com/">Terminate Amazon EC2 instances</a> and
|
|
95
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html">Troubleshooting terminating your instance</a> in the
|
|
96
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
90
97
|
* @example
|
|
91
98
|
* Use a bare-bones client and the command you need to make an API call.
|
|
92
99
|
* ```javascript
|
|
@@ -97,6 +104,7 @@ declare const TerminateInstancesCommand_base: {
|
|
|
97
104
|
* InstanceIds: [ // InstanceIdStringList // required
|
|
98
105
|
* "STRING_VALUE",
|
|
99
106
|
* ],
|
|
107
|
+
* SkipOsShutdown: true || false,
|
|
100
108
|
* DryRun: true || false,
|
|
101
109
|
* };
|
|
102
110
|
* const command = new TerminateInstancesCommand(input);
|
|
@@ -410,7 +410,7 @@ export interface CreateCapacityReservationRequest {
|
|
|
410
410
|
* <p>The instance type for which to reserve capacity.</p>
|
|
411
411
|
* <note>
|
|
412
412
|
* <p>You can request future-dated Capacity Reservations for instance types in the C, M,
|
|
413
|
-
* R, I, and
|
|
413
|
+
* R, I, T, and G instance families only.</p>
|
|
414
414
|
* </note>
|
|
415
415
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the
|
|
416
416
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
@@ -454,9 +454,9 @@ export interface CreateCapacityReservationRequest {
|
|
|
454
454
|
* <p>The number of instances for which to reserve capacity.</p>
|
|
455
455
|
* <note>
|
|
456
456
|
* <p>You can request future-dated Capacity Reservations for an instance count with a
|
|
457
|
-
* minimum of
|
|
457
|
+
* minimum of 64 vCPUs. For example, if you request a future-dated Capacity
|
|
458
458
|
* Reservation for <code>m5.xlarge</code> instances, you must request at least 25
|
|
459
|
-
* instances (<i>
|
|
459
|
+
* instances (<i>16 * m5.xlarge = 64 vCPUs</i>).</p>
|
|
460
460
|
* </note>
|
|
461
461
|
* <p>Valid range: 1 - 1000</p>
|
|
462
462
|
* @public
|
|
@@ -7266,8 +7266,11 @@ export interface EbsBlockDevice {
|
|
|
7266
7266
|
* but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone within
|
|
7267
7267
|
* the Region.</p>
|
|
7268
7268
|
* <p>This parameter is not supported when using
|
|
7269
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html">CreateFleet</a>,
|
|
7269
7270
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>,
|
|
7270
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a>,
|
|
7271
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a>,
|
|
7272
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html">RequestSpotFleet</a>,
|
|
7273
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html">RequestSpotInstances</a>, and
|
|
7271
7274
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
|
|
7272
7275
|
* @public
|
|
7273
7276
|
*/
|
|
@@ -7348,8 +7351,11 @@ export interface EbsBlockDevice {
|
|
|
7348
7351
|
* but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone within
|
|
7349
7352
|
* the Region.</p>
|
|
7350
7353
|
* <p>This parameter is not supported when using
|
|
7354
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html">CreateFleet</a>,
|
|
7351
7355
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>,
|
|
7352
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a>,
|
|
7356
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a>,
|
|
7357
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html">RequestSpotFleet</a>,
|
|
7358
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html">RequestSpotInstances</a>, and
|
|
7353
7359
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
|
|
7354
7360
|
* @public
|
|
7355
7361
|
*/
|
|
@@ -9104,8 +9104,8 @@ export interface DescribeInstanceTypesRequest {
|
|
|
9104
9104
|
* </li>
|
|
9105
9105
|
* <li>
|
|
9106
9106
|
* <p>
|
|
9107
|
-
* <code>free-tier-eligible</code> -
|
|
9108
|
-
*
|
|
9107
|
+
* <code>free-tier-eligible</code> - A Boolean that indicates whether this instance type can
|
|
9108
|
+
* be used under the Amazon Web Services Free Tier (<code>true</code> | <code>false</code>).</p>
|
|
9109
9109
|
* </li>
|
|
9110
9110
|
* <li>
|
|
9111
9111
|
* <p>
|
|
@@ -2138,8 +2138,8 @@ export interface RunInstancesRequest {
|
|
|
2138
2138
|
*/
|
|
2139
2139
|
ImageId?: string | undefined;
|
|
2140
2140
|
/**
|
|
2141
|
-
* <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/
|
|
2142
|
-
*
|
|
2141
|
+
* <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-types.html">Amazon EC2 Instance
|
|
2142
|
+
* Types Guide</a>.</p>
|
|
2143
2143
|
* @public
|
|
2144
2144
|
*/
|
|
2145
2145
|
InstanceType?: _InstanceType | undefined;
|
|
@@ -2175,8 +2175,7 @@ export interface RunInstancesRequest {
|
|
|
2175
2175
|
*/
|
|
2176
2176
|
KernelId?: string | undefined;
|
|
2177
2177
|
/**
|
|
2178
|
-
* <p>The name of the key pair.
|
|
2179
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html">ImportKeyPair</a>.</p>
|
|
2178
|
+
* <p>The name of the key pair. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html">Create a key pair for your EC2 instance</a>.</p>
|
|
2180
2179
|
* <important>
|
|
2181
2180
|
* <p>If you do not specify a key pair, you can't connect to the instance unless you
|
|
2182
2181
|
* choose an AMI that is configured to allow users another way to log in.</p>
|
|
@@ -2227,7 +2226,7 @@ export interface RunInstancesRequest {
|
|
|
2227
2226
|
*/
|
|
2228
2227
|
RamdiskId?: string | undefined;
|
|
2229
2228
|
/**
|
|
2230
|
-
* <p>The IDs of the security groups
|
|
2229
|
+
* <p>The IDs of the security groups.</p>
|
|
2231
2230
|
* <p>If you specify a network interface, you must specify any security groups as part of
|
|
2232
2231
|
* the network interface instead of using this parameter.</p>
|
|
2233
2232
|
* @public
|
|
@@ -2251,7 +2250,7 @@ export interface RunInstancesRequest {
|
|
|
2251
2250
|
/**
|
|
2252
2251
|
* <p>The user data to make available to the instance. User data must be base64-encoded.
|
|
2253
2252
|
* Depending on the tool or SDK that you're using, the base64-encoding might be performed for you.
|
|
2254
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
2253
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html">Run commands at launch using instance user data</a>.</p>
|
|
2255
2254
|
* @public
|
|
2256
2255
|
*/
|
|
2257
2256
|
UserData?: string | undefined;
|
|
@@ -2348,15 +2347,14 @@ export interface RunInstancesRequest {
|
|
|
2348
2347
|
*/
|
|
2349
2348
|
LicenseSpecifications?: LicenseConfigurationRequest[] | undefined;
|
|
2350
2349
|
/**
|
|
2351
|
-
* <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
2350
|
+
* <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html">Configure the Instance Metadata Service options</a>.</p>
|
|
2352
2351
|
* @public
|
|
2353
2352
|
*/
|
|
2354
2353
|
MetadataOptions?: InstanceMetadataOptionsRequest | undefined;
|
|
2355
2354
|
/**
|
|
2356
2355
|
* <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For
|
|
2357
|
-
* more information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/
|
|
2358
|
-
* Enclaves
|
|
2359
|
-
* Guide</i>.</p>
|
|
2356
|
+
* more information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/">Amazon Web Services Nitro
|
|
2357
|
+
* Enclaves User Guide</a>.</p>
|
|
2360
2358
|
* <p>You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same
|
|
2361
2359
|
* instance.</p>
|
|
2362
2360
|
* @public
|
|
@@ -2376,8 +2374,7 @@ export interface RunInstancesRequest {
|
|
|
2376
2374
|
MaintenanceOptions?: InstanceMaintenanceOptionsRequest | undefined;
|
|
2377
2375
|
/**
|
|
2378
2376
|
* <p>Indicates whether an instance is enabled for stop protection. For more information,
|
|
2379
|
-
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
2380
|
-
* protection</a>. </p>
|
|
2377
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html">Enable stop protection for your EC2 instances</a>.</p>
|
|
2381
2378
|
* @public
|
|
2382
2379
|
*/
|
|
2383
2380
|
DisableApiStop?: boolean | undefined;
|
|
@@ -2447,8 +2444,7 @@ export interface RunInstancesRequest {
|
|
|
2447
2444
|
* <p>Unique, case-sensitive identifier you provide to ensure the idempotency of the
|
|
2448
2445
|
* request. If you do not specify a client token, a randomly generated token is used for
|
|
2449
2446
|
* the request to ensure idempotency.</p>
|
|
2450
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/
|
|
2451
|
-
* Idempotency</a>.</p>
|
|
2447
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency in Amazon EC2 API requests</a>.</p>
|
|
2452
2448
|
* <p>Constraints: Maximum 64 ASCII characters</p>
|
|
2453
2449
|
* @public
|
|
2454
2450
|
*/
|
|
@@ -3411,12 +3407,26 @@ export interface StopInstancesRequest {
|
|
|
3411
3407
|
* <p>Hibernates the instance if the instance was enabled for hibernation at launch. If the
|
|
3412
3408
|
* instance cannot hibernate successfully, a normal shutdown occurs. For more information,
|
|
3413
3409
|
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate
|
|
3414
|
-
* your instance</a> in the
|
|
3410
|
+
* your Amazon EC2 instance</a> in the
|
|
3411
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
3415
3412
|
* <p> Default: <code>false</code>
|
|
3416
3413
|
* </p>
|
|
3417
3414
|
* @public
|
|
3418
3415
|
*/
|
|
3419
3416
|
Hibernate?: boolean | undefined;
|
|
3417
|
+
/**
|
|
3418
|
+
* <p>Specifies whether to bypass the graceful OS shutdown process when the instance is
|
|
3419
|
+
* stopped.</p>
|
|
3420
|
+
* <important>
|
|
3421
|
+
* <p>Bypassing the graceful OS shutdown might result in data loss or corruption (for
|
|
3422
|
+
* example, memory contents not flushed to disk or loss of in-flight IOs) or skipped
|
|
3423
|
+
* shutdown scripts.</p>
|
|
3424
|
+
* </important>
|
|
3425
|
+
* <p>Default: <code>false</code>
|
|
3426
|
+
* </p>
|
|
3427
|
+
* @public
|
|
3428
|
+
*/
|
|
3429
|
+
SkipOsShutdown?: boolean | undefined;
|
|
3420
3430
|
/**
|
|
3421
3431
|
* <p>Checks whether you have the required permissions for the operation, without actually making the
|
|
3422
3432
|
* request, and provides an error response. If you have the required permissions, the error response is
|
|
@@ -3527,6 +3537,14 @@ export interface TerminateInstancesRequest {
|
|
|
3527
3537
|
* @public
|
|
3528
3538
|
*/
|
|
3529
3539
|
InstanceIds: string[] | undefined;
|
|
3540
|
+
/**
|
|
3541
|
+
* <p>Specifies whether to bypass the graceful OS shutdown process when the instance is
|
|
3542
|
+
* terminated.</p>
|
|
3543
|
+
* <p>Default: <code>false</code>
|
|
3544
|
+
* </p>
|
|
3545
|
+
* @public
|
|
3546
|
+
*/
|
|
3547
|
+
SkipOsShutdown?: boolean | undefined;
|
|
3530
3548
|
/**
|
|
3531
3549
|
* <p>Checks whether you have the required permissions for the operation, without actually making the
|
|
3532
3550
|
* request, and provides an error response. If you have the required permissions, the error response is
|
|
@@ -739,6 +739,7 @@ export interface StartVpcEndpointServicePrivateDnsVerificationResult {
|
|
|
739
739
|
export interface StopInstancesRequest {
|
|
740
740
|
InstanceIds: string[] | undefined;
|
|
741
741
|
Hibernate?: boolean | undefined;
|
|
742
|
+
SkipOsShutdown?: boolean | undefined;
|
|
742
743
|
DryRun?: boolean | undefined;
|
|
743
744
|
Force?: boolean | undefined;
|
|
744
745
|
}
|
|
@@ -763,6 +764,7 @@ export interface TerminateClientVpnConnectionsResult {
|
|
|
763
764
|
}
|
|
764
765
|
export interface TerminateInstancesRequest {
|
|
765
766
|
InstanceIds: string[] | undefined;
|
|
767
|
+
SkipOsShutdown?: boolean | undefined;
|
|
766
768
|
DryRun?: boolean | undefined;
|
|
767
769
|
}
|
|
768
770
|
export interface TerminateInstancesResult {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.852.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ec2",
|