@aws-sdk/client-ec2 3.432.0 → 3.435.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.
@@ -9230,9 +9230,10 @@ export interface DescribeSpotPriceHistoryRequest {
9230
9230
  * <li>
9231
9231
  * <p>
9232
9232
  * <code>timestamp</code> - The time stamp of the Spot price history, in UTC format
9233
- * (for example,
9234
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
9235
- * You can use wildcards (* and ?). Greater than or less than comparison is not
9233
+ * (for example, <i>ddd MMM dd
9234
+ * HH</i>:<i>mm</i>:<i>ss</i> UTC
9235
+ * <i>YYYY</i>). You can use wildcards (<code>*</code> and
9236
+ * <code>?</code>). Greater than or less than comparison is not
9236
9237
  * supported.</p>
9237
9238
  * </li>
9238
9239
  * </ul>
@@ -30,6 +30,21 @@ export interface HibernationOptionsRequest {
30
30
  /**
31
31
  * @public
32
32
  * <p>Set to <code>true</code> to enable your instance for hibernation.</p>
33
+ * <p>For Spot Instances, if you set <code>Configured</code> to <code>true</code>, either
34
+ * omit the <code>InstanceInterruptionBehavior</code> parameter (for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotMarketOptions.html">
35
+ * <code>SpotMarketOptions</code>
36
+ * </a>), or set it to
37
+ * <code>hibernate</code>. When <code>Configured</code> is true:</p>
38
+ * <ul>
39
+ * <li>
40
+ * <p>If you omit <code>InstanceInterruptionBehavior</code>, it defaults to
41
+ * <code>hibernate</code>.</p>
42
+ * </li>
43
+ * <li>
44
+ * <p>If you set <code>InstanceInterruptionBehavior</code> to a value other than
45
+ * <code>hibernate</code>, you'll get an error.</p>
46
+ * </li>
47
+ * </ul>
33
48
  * <p>Default: <code>false</code>
34
49
  * </p>
35
50
  */
@@ -83,8 +98,21 @@ export interface SpotMarketOptions {
83
98
  ValidUntil?: Date;
84
99
  /**
85
100
  * @public
86
- * <p>The behavior when a Spot Instance is interrupted. The default is
87
- * <code>terminate</code>.</p>
101
+ * <p>The behavior when a Spot Instance is interrupted.</p>
102
+ * <p>If <code>Configured</code> (for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html">
103
+ * <code>HibernationOptions</code>
104
+ * </a>) is set to <code>true</code>, the
105
+ * <code>InstanceInterruptionBehavior</code> parameter is automatically set to
106
+ * <code>hibernate</code>. If you set it to <code>stop</code> or
107
+ * <code>terminate</code>, you'll get an error.</p>
108
+ * <p>If <code>Configured</code> (for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html">
109
+ * <code>HibernationOptions</code>
110
+ * </a>) is set to <code>false</code> or
111
+ * <code>null</code>, the <code>InstanceInterruptionBehavior</code> parameter is
112
+ * automatically set to <code>terminate</code>. You can also set it to <code>stop</code> or
113
+ * <code>hibernate</code>.</p>
114
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/interruption-behavior.html">Interruption
115
+ * behavior</a> in the <i>Amazon EC2 User Guide</i>.</p>
88
116
  */
89
117
  InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
90
118
  }
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.432.0",
4
+ "version": "3.435.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.431.0",
25
- "@aws-sdk/credential-provider-node": "3.431.0",
26
- "@aws-sdk/middleware-host-header": "3.431.0",
27
- "@aws-sdk/middleware-logger": "3.428.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
- "@aws-sdk/middleware-sdk-ec2": "3.430.0",
30
- "@aws-sdk/middleware-signing": "3.428.0",
31
- "@aws-sdk/middleware-user-agent": "3.428.0",
32
- "@aws-sdk/region-config-resolver": "3.430.0",
33
- "@aws-sdk/types": "3.428.0",
34
- "@aws-sdk/util-endpoints": "3.428.0",
35
- "@aws-sdk/util-user-agent-browser": "3.428.0",
36
- "@aws-sdk/util-user-agent-node": "3.430.0",
37
- "@smithy/config-resolver": "^2.0.15",
38
- "@smithy/fetch-http-handler": "^2.2.3",
39
- "@smithy/hash-node": "^2.0.11",
40
- "@smithy/invalid-dependency": "^2.0.11",
41
- "@smithy/middleware-content-length": "^2.0.13",
42
- "@smithy/middleware-endpoint": "^2.1.2",
43
- "@smithy/middleware-retry": "^2.0.17",
44
- "@smithy/middleware-serde": "^2.0.11",
45
- "@smithy/middleware-stack": "^2.0.5",
46
- "@smithy/node-config-provider": "^2.1.2",
47
- "@smithy/node-http-handler": "^2.1.7",
48
- "@smithy/protocol-http": "^3.0.7",
49
- "@smithy/smithy-client": "^2.1.11",
50
- "@smithy/types": "^2.3.5",
51
- "@smithy/url-parser": "^2.0.11",
24
+ "@aws-sdk/client-sts": "3.435.0",
25
+ "@aws-sdk/credential-provider-node": "3.435.0",
26
+ "@aws-sdk/middleware-host-header": "3.433.0",
27
+ "@aws-sdk/middleware-logger": "3.433.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.433.0",
29
+ "@aws-sdk/middleware-sdk-ec2": "3.433.0",
30
+ "@aws-sdk/middleware-signing": "3.433.0",
31
+ "@aws-sdk/middleware-user-agent": "3.433.0",
32
+ "@aws-sdk/region-config-resolver": "3.433.0",
33
+ "@aws-sdk/types": "3.433.0",
34
+ "@aws-sdk/util-endpoints": "3.433.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.433.0",
36
+ "@aws-sdk/util-user-agent-node": "3.433.0",
37
+ "@smithy/config-resolver": "^2.0.16",
38
+ "@smithy/fetch-http-handler": "^2.2.4",
39
+ "@smithy/hash-node": "^2.0.12",
40
+ "@smithy/invalid-dependency": "^2.0.12",
41
+ "@smithy/middleware-content-length": "^2.0.14",
42
+ "@smithy/middleware-endpoint": "^2.1.3",
43
+ "@smithy/middleware-retry": "^2.0.18",
44
+ "@smithy/middleware-serde": "^2.0.12",
45
+ "@smithy/middleware-stack": "^2.0.6",
46
+ "@smithy/node-config-provider": "^2.1.3",
47
+ "@smithy/node-http-handler": "^2.1.8",
48
+ "@smithy/protocol-http": "^3.0.8",
49
+ "@smithy/smithy-client": "^2.1.12",
50
+ "@smithy/types": "^2.4.0",
51
+ "@smithy/url-parser": "^2.0.12",
52
52
  "@smithy/util-base64": "^2.0.0",
53
53
  "@smithy/util-body-length-browser": "^2.0.0",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.15",
56
- "@smithy/util-defaults-mode-node": "^2.0.20",
57
- "@smithy/util-retry": "^2.0.4",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.16",
56
+ "@smithy/util-defaults-mode-node": "^2.0.21",
57
+ "@smithy/util-retry": "^2.0.5",
58
58
  "@smithy/util-utf8": "^2.0.0",
59
- "@smithy/util-waiter": "^2.0.11",
59
+ "@smithy/util-waiter": "^2.0.12",
60
60
  "fast-xml-parser": "4.2.5",
61
61
  "tslib": "^2.5.0",
62
62
  "uuid": "^8.3.2"