@aws-sdk/client-emr 3.958.0 → 3.964.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
|
@@ -2999,10 +2999,10 @@ const paginateListSupportedInstanceTypes = core.createPaginator(EMRClient, ListS
|
|
|
2999
2999
|
const checkState$2 = async (client, input) => {
|
|
3000
3000
|
let reason;
|
|
3001
3001
|
try {
|
|
3002
|
-
|
|
3002
|
+
let result = await client.send(new DescribeClusterCommand(input));
|
|
3003
3003
|
reason = result;
|
|
3004
3004
|
try {
|
|
3005
|
-
|
|
3005
|
+
const returnComparator = () => {
|
|
3006
3006
|
return result.Cluster.Status.State;
|
|
3007
3007
|
};
|
|
3008
3008
|
if (returnComparator() === "RUNNING") {
|
|
@@ -3011,7 +3011,7 @@ const checkState$2 = async (client, input) => {
|
|
|
3011
3011
|
}
|
|
3012
3012
|
catch (e) { }
|
|
3013
3013
|
try {
|
|
3014
|
-
|
|
3014
|
+
const returnComparator = () => {
|
|
3015
3015
|
return result.Cluster.Status.State;
|
|
3016
3016
|
};
|
|
3017
3017
|
if (returnComparator() === "WAITING") {
|
|
@@ -3020,7 +3020,7 @@ const checkState$2 = async (client, input) => {
|
|
|
3020
3020
|
}
|
|
3021
3021
|
catch (e) { }
|
|
3022
3022
|
try {
|
|
3023
|
-
|
|
3023
|
+
const returnComparator = () => {
|
|
3024
3024
|
return result.Cluster.Status.State;
|
|
3025
3025
|
};
|
|
3026
3026
|
if (returnComparator() === "TERMINATING") {
|
|
@@ -3029,7 +3029,7 @@ const checkState$2 = async (client, input) => {
|
|
|
3029
3029
|
}
|
|
3030
3030
|
catch (e) { }
|
|
3031
3031
|
try {
|
|
3032
|
-
|
|
3032
|
+
const returnComparator = () => {
|
|
3033
3033
|
return result.Cluster.Status.State;
|
|
3034
3034
|
};
|
|
3035
3035
|
if (returnComparator() === "TERMINATED") {
|
|
@@ -3038,7 +3038,7 @@ const checkState$2 = async (client, input) => {
|
|
|
3038
3038
|
}
|
|
3039
3039
|
catch (e) { }
|
|
3040
3040
|
try {
|
|
3041
|
-
|
|
3041
|
+
const returnComparator = () => {
|
|
3042
3042
|
return result.Cluster.Status.State;
|
|
3043
3043
|
};
|
|
3044
3044
|
if (returnComparator() === "TERMINATED_WITH_ERRORS") {
|
|
@@ -3065,10 +3065,10 @@ const waitUntilClusterRunning = async (params, input) => {
|
|
|
3065
3065
|
const checkState$1 = async (client, input) => {
|
|
3066
3066
|
let reason;
|
|
3067
3067
|
try {
|
|
3068
|
-
|
|
3068
|
+
let result = await client.send(new DescribeClusterCommand(input));
|
|
3069
3069
|
reason = result;
|
|
3070
3070
|
try {
|
|
3071
|
-
|
|
3071
|
+
const returnComparator = () => {
|
|
3072
3072
|
return result.Cluster.Status.State;
|
|
3073
3073
|
};
|
|
3074
3074
|
if (returnComparator() === "TERMINATED") {
|
|
@@ -3077,7 +3077,7 @@ const checkState$1 = async (client, input) => {
|
|
|
3077
3077
|
}
|
|
3078
3078
|
catch (e) { }
|
|
3079
3079
|
try {
|
|
3080
|
-
|
|
3080
|
+
const returnComparator = () => {
|
|
3081
3081
|
return result.Cluster.Status.State;
|
|
3082
3082
|
};
|
|
3083
3083
|
if (returnComparator() === "TERMINATED_WITH_ERRORS") {
|
|
@@ -3104,10 +3104,10 @@ const waitUntilClusterTerminated = async (params, input) => {
|
|
|
3104
3104
|
const checkState = async (client, input) => {
|
|
3105
3105
|
let reason;
|
|
3106
3106
|
try {
|
|
3107
|
-
|
|
3107
|
+
let result = await client.send(new DescribeStepCommand(input));
|
|
3108
3108
|
reason = result;
|
|
3109
3109
|
try {
|
|
3110
|
-
|
|
3110
|
+
const returnComparator = () => {
|
|
3111
3111
|
return result.Step.Status.State;
|
|
3112
3112
|
};
|
|
3113
3113
|
if (returnComparator() === "COMPLETED") {
|
|
@@ -3116,7 +3116,7 @@ const checkState = async (client, input) => {
|
|
|
3116
3116
|
}
|
|
3117
3117
|
catch (e) { }
|
|
3118
3118
|
try {
|
|
3119
|
-
|
|
3119
|
+
const returnComparator = () => {
|
|
3120
3120
|
return result.Step.Status.State;
|
|
3121
3121
|
};
|
|
3122
3122
|
if (returnComparator() === "FAILED") {
|
|
@@ -3125,7 +3125,7 @@ const checkState = async (client, input) => {
|
|
|
3125
3125
|
}
|
|
3126
3126
|
catch (e) { }
|
|
3127
3127
|
try {
|
|
3128
|
-
|
|
3128
|
+
const returnComparator = () => {
|
|
3129
3129
|
return result.Step.Status.State;
|
|
3130
3130
|
};
|
|
3131
3131
|
if (returnComparator() === "CANCELLED") {
|
|
@@ -3,10 +3,10 @@ import { DescribeClusterCommand } from "../commands/DescribeClusterCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeClusterCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Cluster.Status.State;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "RUNNING") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.Cluster.Status.State;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "WAITING") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.Cluster.Status.State;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "TERMINATING") {
|
|
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
|
|
|
33
33
|
}
|
|
34
34
|
catch (e) { }
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
const returnComparator = () => {
|
|
37
37
|
return result.Cluster.Status.State;
|
|
38
38
|
};
|
|
39
39
|
if (returnComparator() === "TERMINATED") {
|
|
@@ -42,7 +42,7 @@ const checkState = async (client, input) => {
|
|
|
42
42
|
}
|
|
43
43
|
catch (e) { }
|
|
44
44
|
try {
|
|
45
|
-
|
|
45
|
+
const returnComparator = () => {
|
|
46
46
|
return result.Cluster.Status.State;
|
|
47
47
|
};
|
|
48
48
|
if (returnComparator() === "TERMINATED_WITH_ERRORS") {
|
|
@@ -3,10 +3,10 @@ import { DescribeClusterCommand } from "../commands/DescribeClusterCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeClusterCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Cluster.Status.State;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "TERMINATED") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.Cluster.Status.State;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "TERMINATED_WITH_ERRORS") {
|
|
@@ -3,10 +3,10 @@ import { DescribeStepCommand } from "../commands/DescribeStepCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeStepCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Step.Status.State;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "COMPLETED") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.Step.Status.State;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "FAILED") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.Step.Status.State;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "CANCELLED") {
|
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.964.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-emr",
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/core": "3.964.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.964.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.964.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.957.0",
|
|
33
33
|
"@aws-sdk/types": "3.957.0",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.957.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.957.0",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.964.0",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.5",
|
|
38
38
|
"@smithy/core": "^3.20.0",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.8",
|