@aws-sdk/client-shield
Advanced tools
Comparing version 3.39.0 to 3.40.0
@@ -7,9 +7,14 @@ "use strict"; | ||
"aws-global": { | ||
hostname: "shield.us-east-1.amazonaws.com", | ||
variants: [ | ||
{ | ||
hostname: "shield.us-east-1.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "shield-fips.us-east-1.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
signingRegion: "us-east-1", | ||
}, | ||
"fips-aws-global": { | ||
hostname: "shield-fips.us-east-1.amazonaws.com", | ||
signingRegion: "us-east-1", | ||
}, | ||
}; | ||
@@ -44,2 +49,20 @@ const partitionHash = { | ||
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$", | ||
variants: [ | ||
{ | ||
hostname: "shield.{region}.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "shield-fips.{region}.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
{ | ||
hostname: "shield-fips.{region}.api.aws", | ||
tags: ["dualstack", "fips"], | ||
}, | ||
{ | ||
hostname: "shield.{region}.api.aws", | ||
tags: ["dualstack"], | ||
}, | ||
], | ||
endpoint: "aws-global", | ||
@@ -50,3 +73,20 @@ }, | ||
regionRegex: "^cn\\-\\w+\\-\\d+$", | ||
hostname: "shield.{region}.amazonaws.com.cn", | ||
variants: [ | ||
{ | ||
hostname: "shield.{region}.amazonaws.com.cn", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "shield-fips.{region}.amazonaws.com.cn", | ||
tags: ["fips"], | ||
}, | ||
{ | ||
hostname: "shield-fips.{region}.api.amazonwebservices.com.cn", | ||
tags: ["dualstack", "fips"], | ||
}, | ||
{ | ||
hostname: "shield.{region}.api.amazonwebservices.com.cn", | ||
tags: ["dualstack"], | ||
}, | ||
], | ||
}, | ||
@@ -56,3 +96,8 @@ "aws-iso": { | ||
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$", | ||
hostname: "shield.{region}.c2s.ic.gov", | ||
variants: [ | ||
{ | ||
hostname: "shield.{region}.c2s.ic.gov", | ||
tags: [], | ||
}, | ||
], | ||
}, | ||
@@ -62,3 +107,8 @@ "aws-iso-b": { | ||
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$", | ||
hostname: "shield.{region}.sc2s.sgov.gov", | ||
variants: [ | ||
{ | ||
hostname: "shield.{region}.sc2s.sgov.gov", | ||
tags: [], | ||
}, | ||
], | ||
}, | ||
@@ -68,3 +118,20 @@ "aws-us-gov": { | ||
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$", | ||
hostname: "shield.{region}.amazonaws.com", | ||
variants: [ | ||
{ | ||
hostname: "shield.{region}.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "shield-fips.{region}.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
{ | ||
hostname: "shield-fips.{region}.api.aws", | ||
tags: ["dualstack", "fips"], | ||
}, | ||
{ | ||
hostname: "shield.{region}.api.aws", | ||
tags: ["dualstack"], | ||
}, | ||
], | ||
}, | ||
@@ -71,0 +138,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; |
@@ -5,9 +5,14 @@ import { __assign, __awaiter, __generator } from "tslib"; | ||
"aws-global": { | ||
hostname: "shield.us-east-1.amazonaws.com", | ||
variants: [ | ||
{ | ||
hostname: "shield.us-east-1.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "shield-fips.us-east-1.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
], | ||
signingRegion: "us-east-1", | ||
}, | ||
"fips-aws-global": { | ||
hostname: "shield-fips.us-east-1.amazonaws.com", | ||
signingRegion: "us-east-1", | ||
}, | ||
}; | ||
@@ -42,2 +47,20 @@ var partitionHash = { | ||
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$", | ||
variants: [ | ||
{ | ||
hostname: "shield.{region}.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "shield-fips.{region}.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
{ | ||
hostname: "shield-fips.{region}.api.aws", | ||
tags: ["dualstack", "fips"], | ||
}, | ||
{ | ||
hostname: "shield.{region}.api.aws", | ||
tags: ["dualstack"], | ||
}, | ||
], | ||
endpoint: "aws-global", | ||
@@ -48,3 +71,20 @@ }, | ||
regionRegex: "^cn\\-\\w+\\-\\d+$", | ||
hostname: "shield.{region}.amazonaws.com.cn", | ||
variants: [ | ||
{ | ||
hostname: "shield.{region}.amazonaws.com.cn", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "shield-fips.{region}.amazonaws.com.cn", | ||
tags: ["fips"], | ||
}, | ||
{ | ||
hostname: "shield-fips.{region}.api.amazonwebservices.com.cn", | ||
tags: ["dualstack", "fips"], | ||
}, | ||
{ | ||
hostname: "shield.{region}.api.amazonwebservices.com.cn", | ||
tags: ["dualstack"], | ||
}, | ||
], | ||
}, | ||
@@ -54,3 +94,8 @@ "aws-iso": { | ||
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$", | ||
hostname: "shield.{region}.c2s.ic.gov", | ||
variants: [ | ||
{ | ||
hostname: "shield.{region}.c2s.ic.gov", | ||
tags: [], | ||
}, | ||
], | ||
}, | ||
@@ -60,3 +105,8 @@ "aws-iso-b": { | ||
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$", | ||
hostname: "shield.{region}.sc2s.sgov.gov", | ||
variants: [ | ||
{ | ||
hostname: "shield.{region}.sc2s.sgov.gov", | ||
tags: [], | ||
}, | ||
], | ||
}, | ||
@@ -66,3 +116,20 @@ "aws-us-gov": { | ||
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$", | ||
hostname: "shield.{region}.amazonaws.com", | ||
variants: [ | ||
{ | ||
hostname: "shield.{region}.amazonaws.com", | ||
tags: [], | ||
}, | ||
{ | ||
hostname: "shield-fips.{region}.amazonaws.com", | ||
tags: ["fips"], | ||
}, | ||
{ | ||
hostname: "shield-fips.{region}.api.aws", | ||
tags: ["dualstack", "fips"], | ||
}, | ||
{ | ||
hostname: "shield.{region}.api.aws", | ||
tags: ["dualstack"], | ||
}, | ||
], | ||
}, | ||
@@ -69,0 +136,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 }); | ||
}; |
@@ -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 { ShieldClientConfig } from "./ShieldClient"; | ||
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>; |
@@ -113,2 +113,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. | ||
@@ -115,0 +123,0 @@ * @internal |
@@ -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 { ShieldClientConfig } from "./ShieldClient"; | ||
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>; |
@@ -74,2 +74,6 @@ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver"; | ||
useDualstackEndpoint?: boolean | __Provider<boolean>; | ||
useFipsEndpoint?: boolean | __Provider<boolean>; | ||
serviceId?: string; | ||
@@ -76,0 +80,0 @@ |
{ | ||
"name": "@aws-sdk/client-shield", | ||
"description": "AWS SDK for JavaScript Shield 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,4 +49,4 @@ "@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", | ||
@@ -53,0 +53,0 @@ "@aws-sdk/util-utf8-node": "3.37.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
1105669
19044
+ 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)
- 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)
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