@aws-sdk/client-emr
Advanced tools
Comparing version 3.39.0 to 3.40.0
@@ -6,29 +6,85 @@ "use strict"; | ||
const regionHash = { | ||
"fips-ca-central-1": { | ||
hostname: "elasticmapreduce-fips.ca-central-1.amazonaws.com", | ||
signingRegion: "ca-central-1", | ||
"ca-central-1": { | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.ca-central-1.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.ca-central-1.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
"fips-us-east-1": { | ||
hostname: "elasticmapreduce-fips.us-east-1.amazonaws.com", | ||
signingRegion: "us-east-1", | ||
"us-east-1": { | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.us-east-1.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.us-east-1.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
"fips-us-east-2": { | ||
hostname: "elasticmapreduce-fips.us-east-2.amazonaws.com", | ||
signingRegion: "us-east-2", | ||
"us-east-2": { | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.us-east-2.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.us-east-2.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
"fips-us-gov-east-1": { | ||
hostname: "elasticmapreduce.us-gov-east-1.amazonaws.com", | ||
signingRegion: "us-gov-east-1", | ||
"us-gov-east-1": { | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.us-gov-east-1.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce.us-gov-east-1.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
"fips-us-gov-west-1": { | ||
hostname: "elasticmapreduce.us-gov-west-1.amazonaws.com", | ||
signingRegion: "us-gov-west-1", | ||
"us-gov-west-1": { | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.us-gov-west-1.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce.us-gov-west-1.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
"fips-us-west-1": { | ||
hostname: "elasticmapreduce-fips.us-west-1.amazonaws.com", | ||
signingRegion: "us-west-1", | ||
"us-west-1": { | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.us-west-1.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.us-west-1.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
"fips-us-west-2": { | ||
hostname: "elasticmapreduce-fips.us-west-2.amazonaws.com", | ||
signingRegion: "us-west-2", | ||
"us-west-2": { | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.us-west-2.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.us-west-2.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
@@ -67,3 +123,20 @@ }; | ||
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$", | ||
hostname: "elasticmapreduce.{region}.amazonaws.com", | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.{region}.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.{region}.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.{region}.api.aws", | ||
tags: ["dualstack", "fips"], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce.{region}.api.aws", | ||
tags: ["dualstack"], | ||
}, | ||
], | ||
}, | ||
@@ -73,3 +146,20 @@ "aws-cn": { | ||
regionRegex: "^cn\\-\\w+\\-\\d+$", | ||
hostname: "elasticmapreduce.{region}.amazonaws.com.cn", | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.{region}.amazonaws.com.cn", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.{region}.amazonaws.com.cn", | ||
tags: ["fips"], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.{region}.api.amazonwebservices.com.cn", | ||
tags: ["dualstack", "fips"], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce.{region}.api.amazonwebservices.com.cn", | ||
tags: ["dualstack"], | ||
}, | ||
], | ||
}, | ||
@@ -79,3 +169,8 @@ "aws-iso": { | ||
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$", | ||
hostname: "elasticmapreduce.{region}.c2s.ic.gov", | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.{region}.c2s.ic.gov", | ||
tags: [], | ||
}, | ||
], | ||
}, | ||
@@ -85,3 +180,8 @@ "aws-iso-b": { | ||
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$", | ||
hostname: "elasticmapreduce.{region}.sc2s.sgov.gov", | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.{region}.sc2s.sgov.gov", | ||
tags: [], | ||
}, | ||
], | ||
}, | ||
@@ -91,3 +191,12 @@ "aws-us-gov": { | ||
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$", | ||
hostname: "elasticmapreduce.{region}.amazonaws.com", | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.{region}.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce.{region}.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
@@ -94,0 +203,0 @@ }; |
@@ -7,2 +7,3 @@ "use strict"; | ||
const sha256_browser_1 = require("@aws-crypto/sha256-browser"); | ||
const config_resolver_1 = require("@aws-sdk/config-resolver"); | ||
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler"); | ||
@@ -17,3 +18,3 @@ const invalid_dependency_1 = require("@aws-sdk/invalid-dependency"); | ||
const getRuntimeConfig = (config) => { | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q; | ||
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config); | ||
@@ -35,6 +36,8 @@ return { | ||
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector, | ||
utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8, | ||
utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8, | ||
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)), | ||
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)), | ||
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8, | ||
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8, | ||
}; | ||
}; | ||
exports.getRuntimeConfig = getRuntimeConfig; |
@@ -20,3 +20,3 @@ "use strict"; | ||
const getRuntimeConfig = (config) => { | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q; | ||
smithy_client_1.emitWarningIfUnsupportedVersion(process.version); | ||
@@ -39,6 +39,8 @@ const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config); | ||
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector, | ||
utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8, | ||
utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8, | ||
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), | ||
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), | ||
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8, | ||
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8, | ||
}; | ||
}; | ||
exports.getRuntimeConfig = getRuntimeConfig; |
import { __assign, __awaiter, __generator } from "tslib"; | ||
import { getRegionInfo } from "@aws-sdk/config-resolver"; | ||
var regionHash = { | ||
"fips-ca-central-1": { | ||
hostname: "elasticmapreduce-fips.ca-central-1.amazonaws.com", | ||
signingRegion: "ca-central-1", | ||
"ca-central-1": { | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.ca-central-1.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.ca-central-1.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
"fips-us-east-1": { | ||
hostname: "elasticmapreduce-fips.us-east-1.amazonaws.com", | ||
signingRegion: "us-east-1", | ||
"us-east-1": { | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.us-east-1.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.us-east-1.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
"fips-us-east-2": { | ||
hostname: "elasticmapreduce-fips.us-east-2.amazonaws.com", | ||
signingRegion: "us-east-2", | ||
"us-east-2": { | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.us-east-2.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.us-east-2.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
"fips-us-gov-east-1": { | ||
hostname: "elasticmapreduce.us-gov-east-1.amazonaws.com", | ||
signingRegion: "us-gov-east-1", | ||
"us-gov-east-1": { | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.us-gov-east-1.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce.us-gov-east-1.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
"fips-us-gov-west-1": { | ||
hostname: "elasticmapreduce.us-gov-west-1.amazonaws.com", | ||
signingRegion: "us-gov-west-1", | ||
"us-gov-west-1": { | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.us-gov-west-1.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce.us-gov-west-1.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
"fips-us-west-1": { | ||
hostname: "elasticmapreduce-fips.us-west-1.amazonaws.com", | ||
signingRegion: "us-west-1", | ||
"us-west-1": { | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.us-west-1.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.us-west-1.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
"fips-us-west-2": { | ||
hostname: "elasticmapreduce-fips.us-west-2.amazonaws.com", | ||
signingRegion: "us-west-2", | ||
"us-west-2": { | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.us-west-2.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.us-west-2.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
@@ -64,3 +120,20 @@ }; | ||
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$", | ||
hostname: "elasticmapreduce.{region}.amazonaws.com", | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.{region}.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.{region}.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.{region}.api.aws", | ||
tags: ["dualstack", "fips"], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce.{region}.api.aws", | ||
tags: ["dualstack"], | ||
}, | ||
], | ||
}, | ||
@@ -70,3 +143,20 @@ "aws-cn": { | ||
regionRegex: "^cn\\-\\w+\\-\\d+$", | ||
hostname: "elasticmapreduce.{region}.amazonaws.com.cn", | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.{region}.amazonaws.com.cn", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.{region}.amazonaws.com.cn", | ||
tags: ["fips"], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce-fips.{region}.api.amazonwebservices.com.cn", | ||
tags: ["dualstack", "fips"], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce.{region}.api.amazonwebservices.com.cn", | ||
tags: ["dualstack"], | ||
}, | ||
], | ||
}, | ||
@@ -76,3 +166,8 @@ "aws-iso": { | ||
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$", | ||
hostname: "elasticmapreduce.{region}.c2s.ic.gov", | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.{region}.c2s.ic.gov", | ||
tags: [], | ||
}, | ||
], | ||
}, | ||
@@ -82,3 +177,8 @@ "aws-iso-b": { | ||
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$", | ||
hostname: "elasticmapreduce.{region}.sc2s.sgov.gov", | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.{region}.sc2s.sgov.gov", | ||
tags: [], | ||
}, | ||
], | ||
}, | ||
@@ -88,3 +188,12 @@ "aws-us-gov": { | ||
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$", | ||
hostname: "elasticmapreduce.{region}.amazonaws.com", | ||
variants: [ | ||
{ | ||
hostname: "elasticmapreduce.{region}.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "elasticmapreduce.{region}.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
}, | ||
@@ -91,0 +200,0 @@ }; |
import { __assign } from "tslib"; | ||
import packageInfo from "../package.json"; | ||
import { Sha256 } from "@aws-crypto/sha256-browser"; | ||
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver"; | ||
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; | ||
@@ -13,5 +14,5 @@ import { invalidProvider } from "@aws-sdk/invalid-dependency"; | ||
export var getRuntimeConfig = function (config) { | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q; | ||
var clientSharedValues = getSharedRuntimeConfig(config); | ||
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 }); | ||
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 }); | ||
}; |
import { __assign } from "tslib"; | ||
import packageInfo from "../package.json"; | ||
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; | ||
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver"; | ||
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver"; | ||
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; | ||
@@ -17,6 +17,6 @@ import { Hash } from "@aws-sdk/hash-node"; | ||
export var getRuntimeConfig = function (config) { | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q; | ||
emitWarningIfUnsupportedVersion(process.version); | ||
var clientSharedValues = getSharedRuntimeConfig(config); | ||
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 }); | ||
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 }); | ||
}; |
@@ -132,2 +132,10 @@ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver"; | ||
/** | ||
* Enables IPv6/IPv4 dualstack endpoint. | ||
*/ | ||
useDualstackEndpoint?: boolean | __Provider<boolean>; | ||
/** | ||
* Enables FIPS compatible endpoints. | ||
*/ | ||
useFipsEndpoint?: boolean | __Provider<boolean>; | ||
/** | ||
* Unique service identifier. | ||
@@ -134,0 +142,0 @@ * @internal |
@@ -19,2 +19,4 @@ import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler"; | ||
streamCollector: import("@aws-sdk/types").StreamCollector; | ||
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>; | ||
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
@@ -21,0 +23,0 @@ utf8Encoder: import("@aws-sdk/types").Encoder; |
@@ -19,2 +19,4 @@ import { NodeHttpHandler } from "@aws-sdk/node-http-handler"; | ||
streamCollector: import("@aws-sdk/types").StreamCollector; | ||
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>; | ||
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
@@ -21,0 +23,0 @@ utf8Encoder: import("@aws-sdk/types").Encoder; |
@@ -21,2 +21,4 @@ import { EMRClientConfig } from "./EMRClient"; | ||
logger: import("@aws-sdk/types").Logger; | ||
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>; | ||
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>; | ||
serviceId: string; | ||
@@ -23,0 +25,0 @@ region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>; |
@@ -93,2 +93,6 @@ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver"; | ||
useDualstackEndpoint?: boolean | __Provider<boolean>; | ||
useFipsEndpoint?: boolean | __Provider<boolean>; | ||
serviceId?: string; | ||
@@ -95,0 +99,0 @@ |
@@ -17,2 +17,4 @@ import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler"; | ||
streamCollector: import("@aws-sdk/types").StreamCollector; | ||
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>; | ||
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
@@ -19,0 +21,0 @@ utf8Encoder: import("@aws-sdk/types").Encoder; |
@@ -17,2 +17,4 @@ import { NodeHttpHandler } from "@aws-sdk/node-http-handler"; | ||
streamCollector: import("@aws-sdk/types").StreamCollector; | ||
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>; | ||
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
@@ -19,0 +21,0 @@ utf8Encoder: import("@aws-sdk/types").Encoder; |
@@ -19,2 +19,4 @@ import { EMRClientConfig } from "./EMRClient"; | ||
logger: import("@aws-sdk/types").Logger; | ||
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>; | ||
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>; | ||
serviceId: string; | ||
@@ -21,0 +23,0 @@ region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>; |
{ | ||
"name": "@aws-sdk/client-emr", | ||
"description": "AWS SDK for JavaScript Emr Client for Node.js, Browser and React Native", | ||
"version": "3.39.0", | ||
"version": "3.40.0", | ||
"scripts": { | ||
@@ -24,22 +24,22 @@ "build": "yarn build:cjs && yarn build:es && yarn build:types", | ||
"@aws-crypto/sha256-js": "2.0.0", | ||
"@aws-sdk/client-sts": "3.39.0", | ||
"@aws-sdk/config-resolver": "3.39.0", | ||
"@aws-sdk/credential-provider-node": "3.39.0", | ||
"@aws-sdk/fetch-http-handler": "3.38.0", | ||
"@aws-sdk/hash-node": "3.38.0", | ||
"@aws-sdk/invalid-dependency": "3.38.0", | ||
"@aws-sdk/middleware-content-length": "3.38.0", | ||
"@aws-sdk/middleware-host-header": "3.38.0", | ||
"@aws-sdk/middleware-logger": "3.38.0", | ||
"@aws-sdk/middleware-retry": "3.39.0", | ||
"@aws-sdk/middleware-serde": "3.38.0", | ||
"@aws-sdk/middleware-signing": "3.39.0", | ||
"@aws-sdk/middleware-stack": "3.38.0", | ||
"@aws-sdk/middleware-user-agent": "3.38.0", | ||
"@aws-sdk/node-config-provider": "3.39.0", | ||
"@aws-sdk/node-http-handler": "3.38.0", | ||
"@aws-sdk/protocol-http": "3.38.0", | ||
"@aws-sdk/smithy-client": "3.38.0", | ||
"@aws-sdk/types": "3.38.0", | ||
"@aws-sdk/url-parser": "3.38.0", | ||
"@aws-sdk/client-sts": "3.40.0", | ||
"@aws-sdk/config-resolver": "3.40.0", | ||
"@aws-sdk/credential-provider-node": "3.40.0", | ||
"@aws-sdk/fetch-http-handler": "3.40.0", | ||
"@aws-sdk/hash-node": "3.40.0", | ||
"@aws-sdk/invalid-dependency": "3.40.0", | ||
"@aws-sdk/middleware-content-length": "3.40.0", | ||
"@aws-sdk/middleware-host-header": "3.40.0", | ||
"@aws-sdk/middleware-logger": "3.40.0", | ||
"@aws-sdk/middleware-retry": "3.40.0", | ||
"@aws-sdk/middleware-serde": "3.40.0", | ||
"@aws-sdk/middleware-signing": "3.40.0", | ||
"@aws-sdk/middleware-stack": "3.40.0", | ||
"@aws-sdk/middleware-user-agent": "3.40.0", | ||
"@aws-sdk/node-config-provider": "3.40.0", | ||
"@aws-sdk/node-http-handler": "3.40.0", | ||
"@aws-sdk/protocol-http": "3.40.0", | ||
"@aws-sdk/smithy-client": "3.40.0", | ||
"@aws-sdk/types": "3.40.0", | ||
"@aws-sdk/url-parser": "3.40.0", | ||
"@aws-sdk/util-base64-browser": "3.37.0", | ||
@@ -49,7 +49,7 @@ "@aws-sdk/util-base64-node": "3.37.0", | ||
"@aws-sdk/util-body-length-node": "3.37.0", | ||
"@aws-sdk/util-user-agent-browser": "3.38.0", | ||
"@aws-sdk/util-user-agent-node": "3.39.0", | ||
"@aws-sdk/util-user-agent-browser": "3.40.0", | ||
"@aws-sdk/util-user-agent-node": "3.40.0", | ||
"@aws-sdk/util-utf8-browser": "3.37.0", | ||
"@aws-sdk/util-utf8-node": "3.37.0", | ||
"@aws-sdk/util-waiter": "3.38.0", | ||
"@aws-sdk/util-waiter": "3.40.0", | ||
"tslib": "^2.3.0" | ||
@@ -56,0 +56,0 @@ }, |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1870366
35030
+ Added@aws-sdk/abort-controller@3.40.0(transitive)
+ Added@aws-sdk/client-sso@3.40.0(transitive)
+ Added@aws-sdk/client-sts@3.40.0(transitive)
+ Added@aws-sdk/config-resolver@3.40.0(transitive)
+ Added@aws-sdk/credential-provider-env@3.40.0(transitive)
+ Added@aws-sdk/credential-provider-imds@3.40.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.40.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.40.0(transitive)
+ Added@aws-sdk/credential-provider-process@3.40.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.40.0(transitive)
+ Added@aws-sdk/credential-provider-web-identity@3.40.0(transitive)
+ Added@aws-sdk/fetch-http-handler@3.40.0(transitive)
+ Added@aws-sdk/hash-node@3.40.0(transitive)
+ Added@aws-sdk/invalid-dependency@3.40.0(transitive)
+ Added@aws-sdk/middleware-content-length@3.40.0(transitive)
+ Added@aws-sdk/middleware-host-header@3.40.0(transitive)
+ Added@aws-sdk/middleware-logger@3.40.0(transitive)
+ Added@aws-sdk/middleware-retry@3.40.0(transitive)
+ Added@aws-sdk/middleware-sdk-sts@3.40.0(transitive)
+ Added@aws-sdk/middleware-serde@3.40.0(transitive)
+ Added@aws-sdk/middleware-signing@3.40.0(transitive)
+ Added@aws-sdk/middleware-stack@3.40.0(transitive)
+ Added@aws-sdk/middleware-user-agent@3.40.0(transitive)
+ Added@aws-sdk/node-config-provider@3.40.0(transitive)
+ Added@aws-sdk/node-http-handler@3.40.0(transitive)
+ Added@aws-sdk/property-provider@3.40.0(transitive)
+ Added@aws-sdk/protocol-http@3.40.0(transitive)
+ Added@aws-sdk/querystring-builder@3.40.0(transitive)
+ Added@aws-sdk/querystring-parser@3.40.0(transitive)
+ Added@aws-sdk/service-error-classification@3.40.0(transitive)
+ Added@aws-sdk/signature-v4@3.40.0(transitive)
+ Added@aws-sdk/smithy-client@3.40.0(transitive)
+ Added@aws-sdk/types@3.40.0(transitive)
+ Added@aws-sdk/url-parser@3.40.0(transitive)
+ Added@aws-sdk/util-config-provider@3.40.0(transitive)
+ Added@aws-sdk/util-user-agent-browser@3.40.0(transitive)
+ Added@aws-sdk/util-user-agent-node@3.40.0(transitive)
+ Added@aws-sdk/util-waiter@3.40.0(transitive)
- Removed@aws-sdk/abort-controller@3.38.0(transitive)
- Removed@aws-sdk/client-sso@3.39.0(transitive)
- Removed@aws-sdk/client-sts@3.39.0(transitive)
- Removed@aws-sdk/config-resolver@3.39.0(transitive)
- Removed@aws-sdk/credential-provider-env@3.38.0(transitive)
- Removed@aws-sdk/credential-provider-imds@3.39.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.39.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.39.0(transitive)
- Removed@aws-sdk/credential-provider-process@3.38.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.39.0(transitive)
- Removed@aws-sdk/credential-provider-web-identity@3.38.0(transitive)
- Removed@aws-sdk/fetch-http-handler@3.38.0(transitive)
- Removed@aws-sdk/hash-node@3.38.0(transitive)
- Removed@aws-sdk/invalid-dependency@3.38.0(transitive)
- Removed@aws-sdk/middleware-content-length@3.38.0(transitive)
- Removed@aws-sdk/middleware-host-header@3.38.0(transitive)
- Removed@aws-sdk/middleware-logger@3.38.0(transitive)
- Removed@aws-sdk/middleware-retry@3.39.0(transitive)
- Removed@aws-sdk/middleware-sdk-sts@3.39.0(transitive)
- Removed@aws-sdk/middleware-serde@3.38.0(transitive)
- Removed@aws-sdk/middleware-signing@3.39.0(transitive)
- Removed@aws-sdk/middleware-stack@3.38.0(transitive)
- Removed@aws-sdk/middleware-user-agent@3.38.0(transitive)
- Removed@aws-sdk/node-config-provider@3.39.0(transitive)
- Removed@aws-sdk/node-http-handler@3.38.0(transitive)
- Removed@aws-sdk/property-provider@3.38.0(transitive)
- Removed@aws-sdk/protocol-http@3.38.0(transitive)
- Removed@aws-sdk/querystring-builder@3.38.0(transitive)
- Removed@aws-sdk/querystring-parser@3.38.0(transitive)
- Removed@aws-sdk/service-error-classification@3.38.0(transitive)
- Removed@aws-sdk/signature-v4@3.39.0(transitive)
- Removed@aws-sdk/smithy-client@3.38.0(transitive)
- Removed@aws-sdk/types@3.38.0(transitive)
- Removed@aws-sdk/url-parser@3.38.0(transitive)
- Removed@aws-sdk/util-user-agent-browser@3.38.0(transitive)
- Removed@aws-sdk/util-user-agent-node@3.39.0(transitive)
- Removed@aws-sdk/util-waiter@3.38.0(transitive)
Updated@aws-sdk/client-sts@3.40.0
Updated@aws-sdk/hash-node@3.40.0
Updated@aws-sdk/types@3.40.0
Updated@aws-sdk/url-parser@3.40.0
Updated@aws-sdk/util-waiter@3.40.0