@aws-sdk/client-emr 3.693.0 → 3.699.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/models_0.js +4 -0
- package/dist-types/commands/GetManagedScalingPolicyCommand.d.ts +2 -0
- package/dist-types/commands/PutManagedScalingPolicyCommand.d.ts +2 -0
- package/dist-types/commands/RunJobFlowCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +23 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +36 -36
package/dist-cjs/index.js
CHANGED
|
@@ -111,6 +111,7 @@ __export(src_exports, {
|
|
|
111
111
|
RepoUpgradeOnBoot: () => RepoUpgradeOnBoot,
|
|
112
112
|
RunJobFlowCommand: () => RunJobFlowCommand,
|
|
113
113
|
ScaleDownBehavior: () => ScaleDownBehavior,
|
|
114
|
+
ScalingStrategy: () => ScalingStrategy,
|
|
114
115
|
SetKeepJobFlowAliveWhenNoStepsCommand: () => SetKeepJobFlowAliveWhenNoStepsCommand,
|
|
115
116
|
SetTerminationProtectionCommand: () => SetTerminationProtectionCommand,
|
|
116
117
|
SetUnhealthyNodeReplacementCommand: () => SetUnhealthyNodeReplacementCommand,
|
|
@@ -605,6 +606,10 @@ var StepState = {
|
|
|
605
606
|
var StepStateChangeReasonCode = {
|
|
606
607
|
NONE: "NONE"
|
|
607
608
|
};
|
|
609
|
+
var ScalingStrategy = {
|
|
610
|
+
ADVANCED: "ADVANCED",
|
|
611
|
+
DEFAULT: "DEFAULT"
|
|
612
|
+
};
|
|
608
613
|
var InstanceFleetState = {
|
|
609
614
|
BOOTSTRAPPING: "BOOTSTRAPPING",
|
|
610
615
|
PROVISIONING: "PROVISIONING",
|
|
@@ -3871,6 +3876,7 @@ var waitUntilStepComplete = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
3871
3876
|
NotebookExecutionStatus,
|
|
3872
3877
|
StepState,
|
|
3873
3878
|
StepStateChangeReasonCode,
|
|
3879
|
+
ScalingStrategy,
|
|
3874
3880
|
InstanceFleetState,
|
|
3875
3881
|
InstanceFleetStateChangeReasonCode,
|
|
3876
3882
|
InstanceGroupType,
|
|
@@ -273,6 +273,10 @@ export const StepState = {
|
|
|
273
273
|
export const StepStateChangeReasonCode = {
|
|
274
274
|
NONE: "NONE",
|
|
275
275
|
};
|
|
276
|
+
export const ScalingStrategy = {
|
|
277
|
+
ADVANCED: "ADVANCED",
|
|
278
|
+
DEFAULT: "DEFAULT",
|
|
279
|
+
};
|
|
276
280
|
export const InstanceFleetState = {
|
|
277
281
|
BOOTSTRAPPING: "BOOTSTRAPPING",
|
|
278
282
|
PROVISIONING: "PROVISIONING",
|
|
@@ -48,6 +48,8 @@ declare const GetManagedScalingPolicyCommand_base: {
|
|
|
48
48
|
* // MaximumOnDemandCapacityUnits: Number("int"),
|
|
49
49
|
* // MaximumCoreCapacityUnits: Number("int"),
|
|
50
50
|
* // },
|
|
51
|
+
* // UtilizationPerformanceIndex: Number("int"),
|
|
52
|
+
* // ScalingStrategy: "DEFAULT" || "ADVANCED",
|
|
51
53
|
* // },
|
|
52
54
|
* // };
|
|
53
55
|
*
|
|
@@ -47,6 +47,8 @@ declare const PutManagedScalingPolicyCommand_base: {
|
|
|
47
47
|
* MaximumOnDemandCapacityUnits: Number("int"),
|
|
48
48
|
* MaximumCoreCapacityUnits: Number("int"),
|
|
49
49
|
* },
|
|
50
|
+
* UtilizationPerformanceIndex: Number("int"),
|
|
51
|
+
* ScalingStrategy: "DEFAULT" || "ADVANCED",
|
|
50
52
|
* },
|
|
51
53
|
* };
|
|
52
54
|
* const command = new PutManagedScalingPolicyCommand(input);
|
|
@@ -319,6 +319,8 @@ declare const RunJobFlowCommand_base: {
|
|
|
319
319
|
* MaximumOnDemandCapacityUnits: Number("int"),
|
|
320
320
|
* MaximumCoreCapacityUnits: Number("int"),
|
|
321
321
|
* },
|
|
322
|
+
* UtilizationPerformanceIndex: Number("int"),
|
|
323
|
+
* ScalingStrategy: "DEFAULT" || "ADVANCED",
|
|
322
324
|
* },
|
|
323
325
|
* PlacementGroupConfigs: [ // PlacementGroupConfigList
|
|
324
326
|
* { // PlacementGroupConfig
|
|
@@ -3456,6 +3456,18 @@ export interface GetManagedScalingPolicyInput {
|
|
|
3456
3456
|
*/
|
|
3457
3457
|
ClusterId: string | undefined;
|
|
3458
3458
|
}
|
|
3459
|
+
/**
|
|
3460
|
+
* @public
|
|
3461
|
+
* @enum
|
|
3462
|
+
*/
|
|
3463
|
+
export declare const ScalingStrategy: {
|
|
3464
|
+
readonly ADVANCED: "ADVANCED";
|
|
3465
|
+
readonly DEFAULT: "DEFAULT";
|
|
3466
|
+
};
|
|
3467
|
+
/**
|
|
3468
|
+
* @public
|
|
3469
|
+
*/
|
|
3470
|
+
export type ScalingStrategy = (typeof ScalingStrategy)[keyof typeof ScalingStrategy];
|
|
3459
3471
|
/**
|
|
3460
3472
|
* <p> Managed scaling policy for an Amazon EMR cluster. The policy specifies the
|
|
3461
3473
|
* limits for resources that can be added or terminated from a cluster. The policy only
|
|
@@ -3472,6 +3484,17 @@ export interface ManagedScalingPolicy {
|
|
|
3472
3484
|
* @public
|
|
3473
3485
|
*/
|
|
3474
3486
|
ComputeLimits?: ComputeLimits | undefined;
|
|
3487
|
+
/**
|
|
3488
|
+
* <p>An integer value that represents an advanced scaling strategy. Setting a higher value optimizes for performance. Setting a lower value optimizes for resource conservation. Setting the value
|
|
3489
|
+
* to 50 balances performance and resource conservation. Possible values are 1, 25, 50, 75, and 100.</p>
|
|
3490
|
+
* @public
|
|
3491
|
+
*/
|
|
3492
|
+
UtilizationPerformanceIndex?: number | undefined;
|
|
3493
|
+
/**
|
|
3494
|
+
* <p>Determines whether a custom scaling utilization performance index can be set. Possible values include <i>ADVANCED</i> or <i>DEFAULT</i>.</p>
|
|
3495
|
+
* @public
|
|
3496
|
+
*/
|
|
3497
|
+
ScalingStrategy?: ScalingStrategy | undefined;
|
|
3475
3498
|
}
|
|
3476
3499
|
/**
|
|
3477
3500
|
* @public
|
|
@@ -883,8 +883,16 @@ export interface GetClusterSessionCredentialsOutput {
|
|
|
883
883
|
export interface GetManagedScalingPolicyInput {
|
|
884
884
|
ClusterId: string | undefined;
|
|
885
885
|
}
|
|
886
|
+
export declare const ScalingStrategy: {
|
|
887
|
+
readonly ADVANCED: "ADVANCED";
|
|
888
|
+
readonly DEFAULT: "DEFAULT";
|
|
889
|
+
};
|
|
890
|
+
export type ScalingStrategy =
|
|
891
|
+
(typeof ScalingStrategy)[keyof typeof ScalingStrategy];
|
|
886
892
|
export interface ManagedScalingPolicy {
|
|
887
893
|
ComputeLimits?: ComputeLimits | undefined;
|
|
894
|
+
UtilizationPerformanceIndex?: number | undefined;
|
|
895
|
+
ScalingStrategy?: ScalingStrategy | undefined;
|
|
888
896
|
}
|
|
889
897
|
export interface GetManagedScalingPolicyOutput {
|
|
890
898
|
ManagedScalingPolicy?: ManagedScalingPolicy | undefined;
|
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.699.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-emr",
|
|
@@ -20,45 +20,45 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.5.
|
|
38
|
-
"@smithy/fetch-http-handler": "^4.1.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.4.
|
|
50
|
-
"@smithy/types": "^3.7.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.699.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.699.0",
|
|
25
|
+
"@aws-sdk/core": "3.696.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.699.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.696.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.696.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.696.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.696.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.696.0",
|
|
32
|
+
"@aws-sdk/types": "3.696.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.696.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.696.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.696.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.12",
|
|
37
|
+
"@smithy/core": "^2.5.3",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.1.1",
|
|
39
|
+
"@smithy/hash-node": "^3.0.10",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.10",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.12",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.2.3",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.27",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.10",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.10",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.11",
|
|
47
|
+
"@smithy/node-http-handler": "^3.3.1",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.7",
|
|
49
|
+
"@smithy/smithy-client": "^3.4.4",
|
|
50
|
+
"@smithy/types": "^3.7.1",
|
|
51
|
+
"@smithy/url-parser": "^3.0.10",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.27",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.27",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.6",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.10",
|
|
59
|
+
"@smithy/util-retry": "^3.0.10",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
|
-
"@smithy/util-waiter": "^3.1.
|
|
61
|
+
"@smithy/util-waiter": "^3.1.9",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|