@aws-sdk/client-ec2 3.857.0 → 3.858.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 CHANGED
@@ -39730,6 +39730,9 @@ var se_TerminateInstancesRequest = /* @__PURE__ */ __name((input, context) => {
39730
39730
  entries[loc] = value;
39731
39731
  });
39732
39732
  }
39733
+ if (input[_F] != null) {
39734
+ entries[_F] = input[_F];
39735
+ }
39733
39736
  if (input[_SOS] != null) {
39734
39737
  entries[_SOS] = input[_SOS];
39735
39738
  }
@@ -38137,6 +38137,9 @@ const se_TerminateInstancesRequest = (input, context) => {
38137
38137
  entries[loc] = value;
38138
38138
  });
38139
38139
  }
38140
+ if (input[_F] != null) {
38141
+ entries[_F] = input[_F];
38142
+ }
38140
38143
  if (input[_SOS] != null) {
38141
38144
  entries[_SOS] = input[_SOS];
38142
38145
  }
@@ -104,6 +104,7 @@ declare const TerminateInstancesCommand_base: {
104
104
  * InstanceIds: [ // InstanceIdStringList // required
105
105
  * "STRING_VALUE",
106
106
  * ],
107
+ * Force: true || false,
107
108
  * SkipOsShutdown: true || false,
108
109
  * DryRun: true || false,
109
110
  * };
@@ -3537,6 +3537,14 @@ export interface TerminateInstancesRequest {
3537
3537
  * @public
3538
3538
  */
3539
3539
  InstanceIds: string[] | undefined;
3540
+ /**
3541
+ * <p>Forces the instances to terminate. The instance will first attempt a graceful
3542
+ * shutdown, which includes flushing file system caches and metadata. If the graceful
3543
+ * shutdown fails to complete within the timeout period, the instance shuts down forcibly
3544
+ * without flushing the file system caches and metadata.</p>
3545
+ * @public
3546
+ */
3547
+ Force?: boolean | undefined;
3540
3548
  /**
3541
3549
  * <p>Specifies whether to bypass the graceful OS shutdown process when the instance is
3542
3550
  * terminated.</p>
@@ -764,6 +764,7 @@ export interface TerminateClientVpnConnectionsResult {
764
764
  }
765
765
  export interface TerminateInstancesRequest {
766
766
  InstanceIds: string[] | undefined;
767
+ Force?: boolean | undefined;
767
768
  SkipOsShutdown?: boolean | undefined;
768
769
  DryRun?: boolean | undefined;
769
770
  }
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.857.0",
4
+ "version": "3.858.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",
@@ -20,18 +20,18 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.857.0",
24
- "@aws-sdk/credential-provider-node": "3.857.0",
23
+ "@aws-sdk/core": "3.858.0",
24
+ "@aws-sdk/credential-provider-node": "3.858.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
28
  "@aws-sdk/middleware-sdk-ec2": "3.857.0",
29
- "@aws-sdk/middleware-user-agent": "3.857.0",
29
+ "@aws-sdk/middleware-user-agent": "3.858.0",
30
30
  "@aws-sdk/region-config-resolver": "3.840.0",
31
31
  "@aws-sdk/types": "3.840.0",
32
32
  "@aws-sdk/util-endpoints": "3.848.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.840.0",
34
- "@aws-sdk/util-user-agent-node": "3.857.0",
34
+ "@aws-sdk/util-user-agent-node": "3.858.0",
35
35
  "@smithy/config-resolver": "^4.1.4",
36
36
  "@smithy/core": "^3.7.2",
37
37
  "@smithy/fetch-http-handler": "^5.1.0",