@aws-sdk/client-emr 3.345.0 → 3.347.1
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/models/models_0.js +3 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-types/commands/AddInstanceFleetCommand.d.ts +1 -1
- package/dist-types/commands/ListInstanceFleetsCommand.d.ts +1 -1
- package/dist-types/commands/RunJobFlowCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +7 -3
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +29 -29
|
@@ -26,6 +26,9 @@ exports.OnDemandCapacityReservationUsageStrategy = {
|
|
|
26
26
|
};
|
|
27
27
|
exports.SpotProvisioningAllocationStrategy = {
|
|
28
28
|
CAPACITY_OPTIMIZED: "capacity-optimized",
|
|
29
|
+
DIVERSIFIED: "diversified",
|
|
30
|
+
LOWEST_PRICE: "lowest-price",
|
|
31
|
+
PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized",
|
|
29
32
|
};
|
|
30
33
|
exports.SpotProvisioningTimeoutAction = {
|
|
31
34
|
SWITCH_TO_ON_DEMAND: "SWITCH_TO_ON_DEMAND",
|
|
@@ -23,6 +23,9 @@ export const OnDemandCapacityReservationUsageStrategy = {
|
|
|
23
23
|
};
|
|
24
24
|
export const SpotProvisioningAllocationStrategy = {
|
|
25
25
|
CAPACITY_OPTIMIZED: "capacity-optimized",
|
|
26
|
+
DIVERSIFIED: "diversified",
|
|
27
|
+
LOWEST_PRICE: "lowest-price",
|
|
28
|
+
PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized",
|
|
26
29
|
};
|
|
27
30
|
export const SpotProvisioningTimeoutAction = {
|
|
28
31
|
SWITCH_TO_ON_DEMAND: "SWITCH_TO_ON_DEMAND",
|
|
@@ -86,7 +86,7 @@ export interface AddInstanceFleetCommandOutput extends AddInstanceFleetOutput, _
|
|
|
86
86
|
* TimeoutDurationMinutes: Number("int"), // required
|
|
87
87
|
* TimeoutAction: "SWITCH_TO_ON_DEMAND" || "TERMINATE_CLUSTER", // required
|
|
88
88
|
* BlockDurationMinutes: Number("int"),
|
|
89
|
-
* AllocationStrategy: "capacity-optimized",
|
|
89
|
+
* AllocationStrategy: "capacity-optimized" || "price-capacity-optimized" || "lowest-price" || "diversified",
|
|
90
90
|
* },
|
|
91
91
|
* OnDemandSpecification: { // OnDemandProvisioningSpecification
|
|
92
92
|
* AllocationStrategy: "lowest-price", // required
|
|
@@ -105,7 +105,7 @@ export interface ListInstanceFleetsCommandOutput extends ListInstanceFleetsOutpu
|
|
|
105
105
|
* // TimeoutDurationMinutes: Number("int"), // required
|
|
106
106
|
* // TimeoutAction: "SWITCH_TO_ON_DEMAND" || "TERMINATE_CLUSTER", // required
|
|
107
107
|
* // BlockDurationMinutes: Number("int"),
|
|
108
|
-
* // AllocationStrategy: "capacity-optimized",
|
|
108
|
+
* // AllocationStrategy: "capacity-optimized" || "price-capacity-optimized" || "lowest-price" || "diversified",
|
|
109
109
|
* // },
|
|
110
110
|
* // OnDemandSpecification: { // OnDemandProvisioningSpecification
|
|
111
111
|
* // AllocationStrategy: "lowest-price", // required
|
|
@@ -177,7 +177,7 @@ export interface RunJobFlowCommandOutput extends RunJobFlowOutput, __MetadataBea
|
|
|
177
177
|
* TimeoutDurationMinutes: Number("int"), // required
|
|
178
178
|
* TimeoutAction: "SWITCH_TO_ON_DEMAND" || "TERMINATE_CLUSTER", // required
|
|
179
179
|
* BlockDurationMinutes: Number("int"),
|
|
180
|
-
* AllocationStrategy: "capacity-optimized",
|
|
180
|
+
* AllocationStrategy: "capacity-optimized" || "price-capacity-optimized" || "lowest-price" || "diversified",
|
|
181
181
|
* },
|
|
182
182
|
* OnDemandSpecification: { // OnDemandProvisioningSpecification
|
|
183
183
|
* AllocationStrategy: "lowest-price", // required
|
|
@@ -192,6 +192,9 @@ export interface OnDemandProvisioningSpecification {
|
|
|
192
192
|
*/
|
|
193
193
|
export declare const SpotProvisioningAllocationStrategy: {
|
|
194
194
|
readonly CAPACITY_OPTIMIZED: "capacity-optimized";
|
|
195
|
+
readonly DIVERSIFIED: "diversified";
|
|
196
|
+
readonly LOWEST_PRICE: "lowest-price";
|
|
197
|
+
readonly PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized";
|
|
195
198
|
};
|
|
196
199
|
/**
|
|
197
200
|
* @public
|
|
@@ -259,9 +262,10 @@ export interface SpotProvisioningSpecification {
|
|
|
259
262
|
*/
|
|
260
263
|
BlockDurationMinutes?: number;
|
|
261
264
|
/**
|
|
262
|
-
* <p>
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
+
* <p>Specifies one of the following strategies to launch Spot Instance fleets: <code>price-capacity-optimized</code>, <code>capacity-optimized</code>, <code>lowest-price</code>, or <code>diversified</code>. For more information on the provisioning strategies, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
266
|
+
* <note>
|
|
267
|
+
* <p>When you launch a Spot Instance fleet with the old console, it automatically launches with the <code>capacity-optimized</code> strategy. You can't change the allocation strategy from the old console.</p>
|
|
268
|
+
* </note>
|
|
265
269
|
*/
|
|
266
270
|
AllocationStrategy?: SpotProvisioningAllocationStrategy | string;
|
|
267
271
|
}
|
|
@@ -61,6 +61,9 @@ export interface OnDemandProvisioningSpecification {
|
|
|
61
61
|
}
|
|
62
62
|
export declare const SpotProvisioningAllocationStrategy: {
|
|
63
63
|
readonly CAPACITY_OPTIMIZED: "capacity-optimized";
|
|
64
|
+
readonly DIVERSIFIED: "diversified";
|
|
65
|
+
readonly LOWEST_PRICE: "lowest-price";
|
|
66
|
+
readonly PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized";
|
|
64
67
|
};
|
|
65
68
|
export type SpotProvisioningAllocationStrategy =
|
|
66
69
|
(typeof SpotProvisioningAllocationStrategy)[keyof typeof SpotProvisioningAllocationStrategy];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-emr",
|
|
3
3
|
"description": "AWS SDK for JavaScript Emr Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.347.1",
|
|
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,38 +21,38 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.347.1",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.347.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.347.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.347.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.347.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.347.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.347.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.347.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.347.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.347.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.347.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.347.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.347.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.347.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.347.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.347.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.347.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.347.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.347.0",
|
|
43
|
+
"@aws-sdk/types": "3.347.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.347.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.347.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.347.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.347.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.347.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.347.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.347.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
|
-
"@aws-sdk/util-waiter": "3.
|
|
55
|
+
"@aws-sdk/util-waiter": "3.347.0",
|
|
56
56
|
"@smithy/protocol-http": "^1.0.1",
|
|
57
57
|
"@smithy/types": "^1.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|