@aws-sdk/client-ec2 3.947.0 → 3.952.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 +6 -0
- package/dist-es/models/enums.js +6 -0
- package/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +2 -2
- package/dist-types/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -56364,9 +56364,15 @@ const Metric = {
|
|
|
56364
56364
|
RESERVED_TOTAL_USAGE_HRS_INST: "reserved-total-usage-hrs-inst",
|
|
56365
56365
|
RESERVED_TOTAL_USAGE_HRS_VCPU: "reserved-total-usage-hrs-vcpu",
|
|
56366
56366
|
SPOT_AVG_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-avg-run-time-before-interruption-inst",
|
|
56367
|
+
SPOT_INTERRUPTION_RATE_INST: "spot-interruption-rate-inst",
|
|
56368
|
+
SPOT_INTERRUPTION_RATE_VCPU: "spot-interruption-rate-vcpu",
|
|
56367
56369
|
SPOT_MAX_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-max-run-time-before-interruption-inst",
|
|
56368
56370
|
SPOT_MIN_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-min-run-time-before-interruption-inst",
|
|
56371
|
+
SPOT_TOTAL_COUNT_INST: "spot-total-count-inst",
|
|
56372
|
+
SPOT_TOTAL_COUNT_VCPU: "spot-total-count-vcpu",
|
|
56369
56373
|
SPOT_TOTAL_ESTIMATED_COST: "spot-total-estimated-cost",
|
|
56374
|
+
SPOT_TOTAL_INTERRUPTIONS_INST: "spot-total-interruptions-inst",
|
|
56375
|
+
SPOT_TOTAL_INTERRUPTIONS_VCPU: "spot-total-interruptions-vcpu",
|
|
56370
56376
|
SPOT_TOTAL_USAGE_HRS_INST: "spot-total-usage-hrs-inst",
|
|
56371
56377
|
SPOT_TOTAL_USAGE_HRS_VCPU: "spot-total-usage-hrs-vcpu",
|
|
56372
56378
|
UNRESERVED_TOTAL_ESTIMATED_COST: "unreserved-total-estimated-cost",
|
package/dist-es/models/enums.js
CHANGED
|
@@ -3464,9 +3464,15 @@ export const Metric = {
|
|
|
3464
3464
|
RESERVED_TOTAL_USAGE_HRS_INST: "reserved-total-usage-hrs-inst",
|
|
3465
3465
|
RESERVED_TOTAL_USAGE_HRS_VCPU: "reserved-total-usage-hrs-vcpu",
|
|
3466
3466
|
SPOT_AVG_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-avg-run-time-before-interruption-inst",
|
|
3467
|
+
SPOT_INTERRUPTION_RATE_INST: "spot-interruption-rate-inst",
|
|
3468
|
+
SPOT_INTERRUPTION_RATE_VCPU: "spot-interruption-rate-vcpu",
|
|
3467
3469
|
SPOT_MAX_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-max-run-time-before-interruption-inst",
|
|
3468
3470
|
SPOT_MIN_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-min-run-time-before-interruption-inst",
|
|
3471
|
+
SPOT_TOTAL_COUNT_INST: "spot-total-count-inst",
|
|
3472
|
+
SPOT_TOTAL_COUNT_VCPU: "spot-total-count-vcpu",
|
|
3469
3473
|
SPOT_TOTAL_ESTIMATED_COST: "spot-total-estimated-cost",
|
|
3474
|
+
SPOT_TOTAL_INTERRUPTIONS_INST: "spot-total-interruptions-inst",
|
|
3475
|
+
SPOT_TOTAL_INTERRUPTIONS_VCPU: "spot-total-interruptions-vcpu",
|
|
3470
3476
|
SPOT_TOTAL_USAGE_HRS_INST: "spot-total-usage-hrs-inst",
|
|
3471
3477
|
SPOT_TOTAL_USAGE_HRS_VCPU: "spot-total-usage-hrs-vcpu",
|
|
3472
3478
|
UNRESERVED_TOTAL_ESTIMATED_COST: "unreserved-total-estimated-cost",
|
|
@@ -41,7 +41,7 @@ declare const GetCapacityManagerMetricDataCommand_base: {
|
|
|
41
41
|
* const client = new EC2Client(config);
|
|
42
42
|
* const input = { // GetCapacityManagerMetricDataRequest
|
|
43
43
|
* MetricNames: [ // MetricSet // required
|
|
44
|
-
* "reservation-total-capacity-hrs-vcpu" || "reservation-total-capacity-hrs-inst" || "reservation-max-size-vcpu" || "reservation-max-size-inst" || "reservation-min-size-vcpu" || "reservation-min-size-inst" || "reservation-unused-total-capacity-hrs-vcpu" || "reservation-unused-total-capacity-hrs-inst" || "reservation-unused-total-estimated-cost" || "reservation-max-unused-size-vcpu" || "reservation-max-unused-size-inst" || "reservation-min-unused-size-vcpu" || "reservation-min-unused-size-inst" || "reservation-max-utilization" || "reservation-min-utilization" || "reservation-avg-utilization-vcpu" || "reservation-avg-utilization-inst" || "reservation-total-count" || "reservation-total-estimated-cost" || "reservation-avg-future-size-vcpu" || "reservation-avg-future-size-inst" || "reservation-min-future-size-vcpu" || "reservation-min-future-size-inst" || "reservation-max-future-size-vcpu" || "reservation-max-future-size-inst" || "reservation-avg-committed-size-vcpu" || "reservation-avg-committed-size-inst" || "reservation-max-committed-size-vcpu" || "reservation-max-committed-size-inst" || "reservation-min-committed-size-vcpu" || "reservation-min-committed-size-inst" || "reserved-total-usage-hrs-vcpu" || "reserved-total-usage-hrs-inst" || "reserved-total-estimated-cost" || "unreserved-total-usage-hrs-vcpu" || "unreserved-total-usage-hrs-inst" || "unreserved-total-estimated-cost" || "spot-total-usage-hrs-vcpu" || "spot-total-usage-hrs-inst" || "spot-total-estimated-cost" || "spot-avg-run-time-before-interruption-inst" || "spot-max-run-time-before-interruption-inst" || "spot-min-run-time-before-interruption-inst",
|
|
44
|
+
* "reservation-total-capacity-hrs-vcpu" || "reservation-total-capacity-hrs-inst" || "reservation-max-size-vcpu" || "reservation-max-size-inst" || "reservation-min-size-vcpu" || "reservation-min-size-inst" || "reservation-unused-total-capacity-hrs-vcpu" || "reservation-unused-total-capacity-hrs-inst" || "reservation-unused-total-estimated-cost" || "reservation-max-unused-size-vcpu" || "reservation-max-unused-size-inst" || "reservation-min-unused-size-vcpu" || "reservation-min-unused-size-inst" || "reservation-max-utilization" || "reservation-min-utilization" || "reservation-avg-utilization-vcpu" || "reservation-avg-utilization-inst" || "reservation-total-count" || "reservation-total-estimated-cost" || "reservation-avg-future-size-vcpu" || "reservation-avg-future-size-inst" || "reservation-min-future-size-vcpu" || "reservation-min-future-size-inst" || "reservation-max-future-size-vcpu" || "reservation-max-future-size-inst" || "reservation-avg-committed-size-vcpu" || "reservation-avg-committed-size-inst" || "reservation-max-committed-size-vcpu" || "reservation-max-committed-size-inst" || "reservation-min-committed-size-vcpu" || "reservation-min-committed-size-inst" || "reserved-total-usage-hrs-vcpu" || "reserved-total-usage-hrs-inst" || "reserved-total-estimated-cost" || "unreserved-total-usage-hrs-vcpu" || "unreserved-total-usage-hrs-inst" || "unreserved-total-estimated-cost" || "spot-total-usage-hrs-vcpu" || "spot-total-usage-hrs-inst" || "spot-total-estimated-cost" || "spot-avg-run-time-before-interruption-inst" || "spot-max-run-time-before-interruption-inst" || "spot-min-run-time-before-interruption-inst" || "spot-total-interruptions-inst" || "spot-total-interruptions-vcpu" || "spot-total-count-inst" || "spot-total-count-vcpu" || "spot-interruption-rate-inst" || "spot-interruption-rate-vcpu",
|
|
45
45
|
* ],
|
|
46
46
|
* StartTime: new Date("TIMESTAMP"), // required
|
|
47
47
|
* EndTime: new Date("TIMESTAMP"), // required
|
|
@@ -91,7 +91,7 @@ declare const GetCapacityManagerMetricDataCommand_base: {
|
|
|
91
91
|
* // Timestamp: new Date("TIMESTAMP"),
|
|
92
92
|
* // MetricValues: [ // MetricValueSet
|
|
93
93
|
* // { // MetricValue
|
|
94
|
-
* // Metric: "reservation-total-capacity-hrs-vcpu" || "reservation-total-capacity-hrs-inst" || "reservation-max-size-vcpu" || "reservation-max-size-inst" || "reservation-min-size-vcpu" || "reservation-min-size-inst" || "reservation-unused-total-capacity-hrs-vcpu" || "reservation-unused-total-capacity-hrs-inst" || "reservation-unused-total-estimated-cost" || "reservation-max-unused-size-vcpu" || "reservation-max-unused-size-inst" || "reservation-min-unused-size-vcpu" || "reservation-min-unused-size-inst" || "reservation-max-utilization" || "reservation-min-utilization" || "reservation-avg-utilization-vcpu" || "reservation-avg-utilization-inst" || "reservation-total-count" || "reservation-total-estimated-cost" || "reservation-avg-future-size-vcpu" || "reservation-avg-future-size-inst" || "reservation-min-future-size-vcpu" || "reservation-min-future-size-inst" || "reservation-max-future-size-vcpu" || "reservation-max-future-size-inst" || "reservation-avg-committed-size-vcpu" || "reservation-avg-committed-size-inst" || "reservation-max-committed-size-vcpu" || "reservation-max-committed-size-inst" || "reservation-min-committed-size-vcpu" || "reservation-min-committed-size-inst" || "reserved-total-usage-hrs-vcpu" || "reserved-total-usage-hrs-inst" || "reserved-total-estimated-cost" || "unreserved-total-usage-hrs-vcpu" || "unreserved-total-usage-hrs-inst" || "unreserved-total-estimated-cost" || "spot-total-usage-hrs-vcpu" || "spot-total-usage-hrs-inst" || "spot-total-estimated-cost" || "spot-avg-run-time-before-interruption-inst" || "spot-max-run-time-before-interruption-inst" || "spot-min-run-time-before-interruption-inst",
|
|
94
|
+
* // Metric: "reservation-total-capacity-hrs-vcpu" || "reservation-total-capacity-hrs-inst" || "reservation-max-size-vcpu" || "reservation-max-size-inst" || "reservation-min-size-vcpu" || "reservation-min-size-inst" || "reservation-unused-total-capacity-hrs-vcpu" || "reservation-unused-total-capacity-hrs-inst" || "reservation-unused-total-estimated-cost" || "reservation-max-unused-size-vcpu" || "reservation-max-unused-size-inst" || "reservation-min-unused-size-vcpu" || "reservation-min-unused-size-inst" || "reservation-max-utilization" || "reservation-min-utilization" || "reservation-avg-utilization-vcpu" || "reservation-avg-utilization-inst" || "reservation-total-count" || "reservation-total-estimated-cost" || "reservation-avg-future-size-vcpu" || "reservation-avg-future-size-inst" || "reservation-min-future-size-vcpu" || "reservation-min-future-size-inst" || "reservation-max-future-size-vcpu" || "reservation-max-future-size-inst" || "reservation-avg-committed-size-vcpu" || "reservation-avg-committed-size-inst" || "reservation-max-committed-size-vcpu" || "reservation-max-committed-size-inst" || "reservation-min-committed-size-vcpu" || "reservation-min-committed-size-inst" || "reserved-total-usage-hrs-vcpu" || "reserved-total-usage-hrs-inst" || "reserved-total-estimated-cost" || "unreserved-total-usage-hrs-vcpu" || "unreserved-total-usage-hrs-inst" || "unreserved-total-estimated-cost" || "spot-total-usage-hrs-vcpu" || "spot-total-usage-hrs-inst" || "spot-total-estimated-cost" || "spot-avg-run-time-before-interruption-inst" || "spot-max-run-time-before-interruption-inst" || "spot-min-run-time-before-interruption-inst" || "spot-total-interruptions-inst" || "spot-total-interruptions-vcpu" || "spot-total-count-inst" || "spot-total-count-vcpu" || "spot-interruption-rate-inst" || "spot-interruption-rate-vcpu",
|
|
95
95
|
* // Value: Number("double"),
|
|
96
96
|
* // },
|
|
97
97
|
* // ],
|
|
@@ -57,7 +57,7 @@ declare const GetCapacityManagerMetricDimensionsCommand_base: {
|
|
|
57
57
|
* StartTime: new Date("TIMESTAMP"), // required
|
|
58
58
|
* EndTime: new Date("TIMESTAMP"), // required
|
|
59
59
|
* MetricNames: [ // MetricSet // required
|
|
60
|
-
* "reservation-total-capacity-hrs-vcpu" || "reservation-total-capacity-hrs-inst" || "reservation-max-size-vcpu" || "reservation-max-size-inst" || "reservation-min-size-vcpu" || "reservation-min-size-inst" || "reservation-unused-total-capacity-hrs-vcpu" || "reservation-unused-total-capacity-hrs-inst" || "reservation-unused-total-estimated-cost" || "reservation-max-unused-size-vcpu" || "reservation-max-unused-size-inst" || "reservation-min-unused-size-vcpu" || "reservation-min-unused-size-inst" || "reservation-max-utilization" || "reservation-min-utilization" || "reservation-avg-utilization-vcpu" || "reservation-avg-utilization-inst" || "reservation-total-count" || "reservation-total-estimated-cost" || "reservation-avg-future-size-vcpu" || "reservation-avg-future-size-inst" || "reservation-min-future-size-vcpu" || "reservation-min-future-size-inst" || "reservation-max-future-size-vcpu" || "reservation-max-future-size-inst" || "reservation-avg-committed-size-vcpu" || "reservation-avg-committed-size-inst" || "reservation-max-committed-size-vcpu" || "reservation-max-committed-size-inst" || "reservation-min-committed-size-vcpu" || "reservation-min-committed-size-inst" || "reserved-total-usage-hrs-vcpu" || "reserved-total-usage-hrs-inst" || "reserved-total-estimated-cost" || "unreserved-total-usage-hrs-vcpu" || "unreserved-total-usage-hrs-inst" || "unreserved-total-estimated-cost" || "spot-total-usage-hrs-vcpu" || "spot-total-usage-hrs-inst" || "spot-total-estimated-cost" || "spot-avg-run-time-before-interruption-inst" || "spot-max-run-time-before-interruption-inst" || "spot-min-run-time-before-interruption-inst",
|
|
60
|
+
* "reservation-total-capacity-hrs-vcpu" || "reservation-total-capacity-hrs-inst" || "reservation-max-size-vcpu" || "reservation-max-size-inst" || "reservation-min-size-vcpu" || "reservation-min-size-inst" || "reservation-unused-total-capacity-hrs-vcpu" || "reservation-unused-total-capacity-hrs-inst" || "reservation-unused-total-estimated-cost" || "reservation-max-unused-size-vcpu" || "reservation-max-unused-size-inst" || "reservation-min-unused-size-vcpu" || "reservation-min-unused-size-inst" || "reservation-max-utilization" || "reservation-min-utilization" || "reservation-avg-utilization-vcpu" || "reservation-avg-utilization-inst" || "reservation-total-count" || "reservation-total-estimated-cost" || "reservation-avg-future-size-vcpu" || "reservation-avg-future-size-inst" || "reservation-min-future-size-vcpu" || "reservation-min-future-size-inst" || "reservation-max-future-size-vcpu" || "reservation-max-future-size-inst" || "reservation-avg-committed-size-vcpu" || "reservation-avg-committed-size-inst" || "reservation-max-committed-size-vcpu" || "reservation-max-committed-size-inst" || "reservation-min-committed-size-vcpu" || "reservation-min-committed-size-inst" || "reserved-total-usage-hrs-vcpu" || "reserved-total-usage-hrs-inst" || "reserved-total-estimated-cost" || "unreserved-total-usage-hrs-vcpu" || "unreserved-total-usage-hrs-inst" || "unreserved-total-estimated-cost" || "spot-total-usage-hrs-vcpu" || "spot-total-usage-hrs-inst" || "spot-total-estimated-cost" || "spot-avg-run-time-before-interruption-inst" || "spot-max-run-time-before-interruption-inst" || "spot-min-run-time-before-interruption-inst" || "spot-total-interruptions-inst" || "spot-total-interruptions-vcpu" || "spot-total-count-inst" || "spot-total-count-vcpu" || "spot-interruption-rate-inst" || "spot-interruption-rate-vcpu",
|
|
61
61
|
* ],
|
|
62
62
|
* MaxResults: Number("int"),
|
|
63
63
|
* NextToken: "STRING_VALUE",
|
|
@@ -6588,9 +6588,15 @@ export declare const Metric: {
|
|
|
6588
6588
|
readonly RESERVED_TOTAL_USAGE_HRS_INST: "reserved-total-usage-hrs-inst";
|
|
6589
6589
|
readonly RESERVED_TOTAL_USAGE_HRS_VCPU: "reserved-total-usage-hrs-vcpu";
|
|
6590
6590
|
readonly SPOT_AVG_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-avg-run-time-before-interruption-inst";
|
|
6591
|
+
readonly SPOT_INTERRUPTION_RATE_INST: "spot-interruption-rate-inst";
|
|
6592
|
+
readonly SPOT_INTERRUPTION_RATE_VCPU: "spot-interruption-rate-vcpu";
|
|
6591
6593
|
readonly SPOT_MAX_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-max-run-time-before-interruption-inst";
|
|
6592
6594
|
readonly SPOT_MIN_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-min-run-time-before-interruption-inst";
|
|
6595
|
+
readonly SPOT_TOTAL_COUNT_INST: "spot-total-count-inst";
|
|
6596
|
+
readonly SPOT_TOTAL_COUNT_VCPU: "spot-total-count-vcpu";
|
|
6593
6597
|
readonly SPOT_TOTAL_ESTIMATED_COST: "spot-total-estimated-cost";
|
|
6598
|
+
readonly SPOT_TOTAL_INTERRUPTIONS_INST: "spot-total-interruptions-inst";
|
|
6599
|
+
readonly SPOT_TOTAL_INTERRUPTIONS_VCPU: "spot-total-interruptions-vcpu";
|
|
6594
6600
|
readonly SPOT_TOTAL_USAGE_HRS_INST: "spot-total-usage-hrs-inst";
|
|
6595
6601
|
readonly SPOT_TOTAL_USAGE_HRS_VCPU: "spot-total-usage-hrs-vcpu";
|
|
6596
6602
|
readonly UNRESERVED_TOTAL_ESTIMATED_COST: "unreserved-total-estimated-cost";
|
|
@@ -4164,9 +4164,15 @@ export declare const Metric: {
|
|
|
4164
4164
|
readonly RESERVED_TOTAL_USAGE_HRS_INST: "reserved-total-usage-hrs-inst";
|
|
4165
4165
|
readonly RESERVED_TOTAL_USAGE_HRS_VCPU: "reserved-total-usage-hrs-vcpu";
|
|
4166
4166
|
readonly SPOT_AVG_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-avg-run-time-before-interruption-inst";
|
|
4167
|
+
readonly SPOT_INTERRUPTION_RATE_INST: "spot-interruption-rate-inst";
|
|
4168
|
+
readonly SPOT_INTERRUPTION_RATE_VCPU: "spot-interruption-rate-vcpu";
|
|
4167
4169
|
readonly SPOT_MAX_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-max-run-time-before-interruption-inst";
|
|
4168
4170
|
readonly SPOT_MIN_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-min-run-time-before-interruption-inst";
|
|
4171
|
+
readonly SPOT_TOTAL_COUNT_INST: "spot-total-count-inst";
|
|
4172
|
+
readonly SPOT_TOTAL_COUNT_VCPU: "spot-total-count-vcpu";
|
|
4169
4173
|
readonly SPOT_TOTAL_ESTIMATED_COST: "spot-total-estimated-cost";
|
|
4174
|
+
readonly SPOT_TOTAL_INTERRUPTIONS_INST: "spot-total-interruptions-inst";
|
|
4175
|
+
readonly SPOT_TOTAL_INTERRUPTIONS_VCPU: "spot-total-interruptions-vcpu";
|
|
4170
4176
|
readonly SPOT_TOTAL_USAGE_HRS_INST: "spot-total-usage-hrs-inst";
|
|
4171
4177
|
readonly SPOT_TOTAL_USAGE_HRS_VCPU: "spot-total-usage-hrs-vcpu";
|
|
4172
4178
|
readonly UNRESERVED_TOTAL_ESTIMATED_COST: "unreserved-total-estimated-cost";
|
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.952.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",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.947.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.952.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.948.0",
|
|
29
29
|
"@aws-sdk/middleware-sdk-ec2": "3.946.0",
|
|
30
30
|
"@aws-sdk/middleware-user-agent": "3.947.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.936.0",
|