@aws-sdk/client-emr 3.956.0 → 3.958.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/README.md +1 -65
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +1102 -1351
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/pagination/index.js +1 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +1102 -1347
- package/dist-es/waiters/waitForClusterRunning.js +5 -5
- package/dist-es/waiters/waitForClusterTerminated.js +2 -2
- package/dist-es/waiters/waitForStepComplete.js +3 -3
- package/dist-types/pagination/index.d.ts +1 -1
- package/dist-types/ts3.4/pagination/index.d.ts +1 -1
- package/package.json +15 -13
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeClusterCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let 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
|
+
let 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
|
+
let 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
|
+
let 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
|
+
let returnComparator = () => {
|
|
46
46
|
return result.Cluster.Status.State;
|
|
47
47
|
};
|
|
48
48
|
if (returnComparator() === "TERMINATED_WITH_ERRORS") {
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeClusterCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let 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
|
+
let returnComparator = () => {
|
|
19
19
|
return result.Cluster.Status.State;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "TERMINATED_WITH_ERRORS") {
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeStepCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let 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
|
+
let 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
|
+
let returnComparator = () => {
|
|
28
28
|
return result.Step.Status.State;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "CANCELLED") {
|
|
@@ -8,6 +8,6 @@ export * from "./ListNotebookExecutionsPaginator";
|
|
|
8
8
|
export * from "./ListReleaseLabelsPaginator";
|
|
9
9
|
export * from "./ListSecurityConfigurationsPaginator";
|
|
10
10
|
export * from "./ListStepsPaginator";
|
|
11
|
-
export * from "./ListStudioSessionMappingsPaginator";
|
|
12
11
|
export * from "./ListStudiosPaginator";
|
|
12
|
+
export * from "./ListStudioSessionMappingsPaginator";
|
|
13
13
|
export * from "./ListSupportedInstanceTypesPaginator";
|
|
@@ -8,6 +8,6 @@ export * from "./ListNotebookExecutionsPaginator";
|
|
|
8
8
|
export * from "./ListReleaseLabelsPaginator";
|
|
9
9
|
export * from "./ListSecurityConfigurationsPaginator";
|
|
10
10
|
export * from "./ListStepsPaginator";
|
|
11
|
-
export * from "./ListStudioSessionMappingsPaginator";
|
|
12
11
|
export * from "./ListStudiosPaginator";
|
|
12
|
+
export * from "./ListStudioSessionMappingsPaginator";
|
|
13
13
|
export * from "./ListSupportedInstanceTypesPaginator";
|
package/package.json
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
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.958.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",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
-
"build:include:deps": "
|
|
9
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
14
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo emr",
|
|
15
|
+
"test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts --mode development",
|
|
16
|
+
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
|
|
15
17
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
18
|
},
|
|
17
19
|
"main": "./dist-cjs/index.js",
|
|
@@ -21,17 +23,17 @@
|
|
|
21
23
|
"dependencies": {
|
|
22
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
26
|
+
"@aws-sdk/core": "3.957.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.957.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.957.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.957.0",
|
|
33
|
+
"@aws-sdk/types": "3.957.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.957.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.957.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.957.0",
|
|
35
37
|
"@smithy/config-resolver": "^4.4.5",
|
|
36
38
|
"@smithy/core": "^3.20.0",
|
|
37
39
|
"@smithy/fetch-http-handler": "^5.3.8",
|