@aws-sdk/client-emr 3.536.0 → 3.546.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/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/commands/SetUnhealthyNodeReplacementCommand.d.ts +1 -1
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/package.json +5 -5
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -3902,9 +3902,6 @@ var waitUntilStepComplete = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
3902
3902
|
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);
|
|
3903
3903
|
return (0, import_util_waiter.checkExceptions)(result);
|
|
3904
3904
|
}, "waitUntilStepComplete");
|
|
3905
|
-
|
|
3906
|
-
// src/index.ts
|
|
3907
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3908
3905
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3909
3906
|
|
|
3910
3907
|
0 && (module.exports = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-es/index.js
CHANGED
|
@@ -36,7 +36,7 @@ declare const SetUnhealthyNodeReplacementCommand_base: {
|
|
|
36
36
|
* <p>If unhealthy node replacement is on, Amazon EMR
|
|
37
37
|
* notifies YARN and other applications on the cluster to stop scheduling tasks
|
|
38
38
|
* with these nodes, moves the data, and then terminates the nodes.</p>
|
|
39
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/
|
|
39
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-node-replacement.html">graceful
|
|
40
40
|
* node replacement</a> in the <i>Amazon EMR Management Guide</i>.</p>
|
|
41
41
|
* @example
|
|
42
42
|
* Use a bare-bones client and the command you need to make an API call.
|
package/dist-types/index.d.ts
CHANGED
|
@@ -5446,7 +5446,7 @@ export interface Cluster {
|
|
|
5446
5446
|
*/
|
|
5447
5447
|
Id?: string;
|
|
5448
5448
|
/**
|
|
5449
|
-
* <p>The name of the cluster.</p>
|
|
5449
|
+
* <p>The name of the cluster. This parameter can't contain the characters <, >, $, |, or ` (backtick).</p>
|
|
5450
5450
|
* @public
|
|
5451
5451
|
*/
|
|
5452
5452
|
Name?: string;
|
|
@@ -6392,7 +6392,7 @@ export interface JobFlowInstancesConfig {
|
|
|
6392
6392
|
Placement?: PlacementType;
|
|
6393
6393
|
/**
|
|
6394
6394
|
* <p>Specifies whether the cluster should remain available after completing all steps.
|
|
6395
|
-
* Defaults to <code>
|
|
6395
|
+
* Defaults to <code>false</code>. For more information about configuring cluster termination,
|
|
6396
6396
|
* see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html">Control Cluster Termination</a> in the <i>EMR Management
|
|
6397
6397
|
* Guide</i>.</p>
|
|
6398
6398
|
* @public
|
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.546.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,16 +20,16 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.540.0",
|
|
24
24
|
"@aws-sdk/core": "3.535.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.540.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
31
|
"@aws-sdk/types": "3.535.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|