@aws-sdk/client-connect-contact-lens
Advanced tools
Comparing version 3.27.0 to 3.28.0
@@ -6,2 +6,18 @@ # Change Log | ||
# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27) | ||
### Bug Fixes | ||
* **clients:** use optional chaining while processing runtime config ([#2690](https://github.com/aws/aws-sdk-js-v3/issues/2690)) ([18469ce](https://github.com/aws/aws-sdk-js-v3/commit/18469cefc27840ba00d516265ebd976f10240496)) | ||
### Features | ||
* **clients:** modular endpoints resolution ([#2704](https://github.com/aws/aws-sdk-js-v3/issues/2704)) ([88de69b](https://github.com/aws/aws-sdk-js-v3/commit/88de69ba28aaedfc7f13fa165044ef8cae023bbe)) | ||
# [3.27.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.26.0...v3.27.0) (2021-08-19) | ||
@@ -8,0 +24,0 @@ |
@@ -134,6 +134,5 @@ import { | ||
/** | ||
* Specifies provider for retry algorithm to use. | ||
* @internal | ||
* Specifies which retry algorithm to use. | ||
*/ | ||
retryModeProvider?: __Provider<string>; | ||
retryMode?: string | __Provider<string>; | ||
@@ -140,0 +139,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.defaultRegionInfoProvider = void 0; | ||
// Partition default templates | ||
const AWS_TEMPLATE = "contact-lens.{region}.amazonaws.com"; | ||
const AWS_CN_TEMPLATE = "contact-lens.{region}.amazonaws.com.cn"; | ||
const AWS_ISO_TEMPLATE = "contact-lens.{region}.c2s.ic.gov"; | ||
const AWS_ISO_B_TEMPLATE = "contact-lens.{region}.sc2s.sgov.gov"; | ||
const AWS_US_GOV_TEMPLATE = "contact-lens.{region}.amazonaws.com"; | ||
// Partition regions | ||
const AWS_REGIONS = new Set([ | ||
"af-south-1", | ||
"ap-east-1", | ||
"ap-northeast-1", | ||
"ap-northeast-2", | ||
"ap-northeast-3", | ||
"ap-south-1", | ||
"ap-southeast-1", | ||
"ap-southeast-2", | ||
"ca-central-1", | ||
"eu-central-1", | ||
"eu-north-1", | ||
"eu-south-1", | ||
"eu-west-1", | ||
"eu-west-2", | ||
"eu-west-3", | ||
"me-south-1", | ||
"sa-east-1", | ||
"us-east-1", | ||
"us-east-2", | ||
"us-west-1", | ||
"us-west-2", | ||
]); | ||
const AWS_CN_REGIONS = new Set(["cn-north-1", "cn-northwest-1"]); | ||
const AWS_ISO_REGIONS = new Set(["us-iso-east-1"]); | ||
const AWS_ISO_B_REGIONS = new Set(["us-isob-east-1"]); | ||
const AWS_US_GOV_REGIONS = new Set(["us-gov-east-1", "us-gov-west-1"]); | ||
const defaultRegionInfoProvider = (region, options) => { | ||
let regionInfo = undefined; | ||
switch (region) { | ||
// First, try to match exact region names. | ||
case "ap-northeast-1": | ||
regionInfo = { | ||
hostname: "contact-lens.ap-northeast-1.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "ap-southeast-2": | ||
regionInfo = { | ||
hostname: "contact-lens.ap-southeast-2.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "ca-central-1": | ||
regionInfo = { | ||
hostname: "contact-lens.ca-central-1.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "eu-central-1": | ||
regionInfo = { | ||
hostname: "contact-lens.eu-central-1.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "eu-west-2": | ||
regionInfo = { | ||
hostname: "contact-lens.eu-west-2.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "us-east-1": | ||
regionInfo = { | ||
hostname: "contact-lens.us-east-1.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "us-west-2": | ||
regionInfo = { | ||
hostname: "contact-lens.us-west-2.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
// Next, try to match partition endpoints. | ||
default: | ||
if (AWS_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_TEMPLATE.replace("{region}", region), | ||
partition: "aws", | ||
}; | ||
} | ||
if (AWS_CN_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_CN_TEMPLATE.replace("{region}", region), | ||
partition: "aws-cn", | ||
}; | ||
} | ||
if (AWS_ISO_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_ISO_TEMPLATE.replace("{region}", region), | ||
partition: "aws-iso", | ||
}; | ||
} | ||
if (AWS_ISO_B_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_ISO_B_TEMPLATE.replace("{region}", region), | ||
partition: "aws-iso-b", | ||
}; | ||
} | ||
if (AWS_US_GOV_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_US_GOV_TEMPLATE.replace("{region}", region), | ||
partition: "aws-us-gov", | ||
}; | ||
} | ||
// Finally, assume it's an AWS partition endpoint. | ||
if (regionInfo === undefined) { | ||
regionInfo = { | ||
hostname: AWS_TEMPLATE.replace("{region}", region), | ||
partition: "aws", | ||
}; | ||
} | ||
} | ||
return Promise.resolve({ signingService: "connect", ...regionInfo }); | ||
const config_resolver_1 = require("@aws-sdk/config-resolver"); | ||
const regionHash = {}; | ||
const partitionHash = { | ||
aws: { | ||
regions: [ | ||
"af-south-1", | ||
"ap-east-1", | ||
"ap-northeast-1", | ||
"ap-northeast-2", | ||
"ap-northeast-3", | ||
"ap-south-1", | ||
"ap-southeast-1", | ||
"ap-southeast-2", | ||
"ca-central-1", | ||
"eu-central-1", | ||
"eu-north-1", | ||
"eu-south-1", | ||
"eu-west-1", | ||
"eu-west-2", | ||
"eu-west-3", | ||
"me-south-1", | ||
"sa-east-1", | ||
"us-east-1", | ||
"us-east-2", | ||
"us-west-1", | ||
"us-west-2", | ||
], | ||
hostname: "contact-lens.{region}.amazonaws.com", | ||
}, | ||
"aws-cn": { | ||
regions: ["cn-north-1", "cn-northwest-1"], | ||
hostname: "contact-lens.{region}.amazonaws.com.cn", | ||
}, | ||
"aws-iso": { | ||
regions: ["us-iso-east-1"], | ||
hostname: "contact-lens.{region}.c2s.ic.gov", | ||
}, | ||
"aws-iso-b": { | ||
regions: ["us-isob-east-1"], | ||
hostname: "contact-lens.{region}.sc2s.sgov.gov", | ||
}, | ||
"aws-us-gov": { | ||
regions: ["us-gov-east-1", "us-gov-west-1"], | ||
hostname: "contact-lens.{region}.amazonaws.com", | ||
}, | ||
}; | ||
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, { | ||
...options, | ||
signingService: "connect", | ||
regionHash, | ||
partitionHash, | ||
}); | ||
exports.defaultRegionInfoProvider = defaultRegionInfoProvider; | ||
//# sourceMappingURL=endpoints.js.map |
{ | ||
"name": "@aws-sdk/client-connect-contact-lens", | ||
"description": "AWS SDK for JavaScript Connect Contact Lens Client for Node.js, Browser and React Native", | ||
"version": "3.27.0", | ||
"version": "3.28.0", | ||
"scripts": { | ||
@@ -30,5 +30,5 @@ "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", | ||
"@aws-crypto/sha256-js": "^1.0.0", | ||
"@aws-sdk/client-sts": "3.27.0", | ||
"@aws-sdk/config-resolver": "3.27.0", | ||
"@aws-sdk/credential-provider-node": "3.27.0", | ||
"@aws-sdk/client-sts": "3.28.0", | ||
"@aws-sdk/config-resolver": "3.28.0", | ||
"@aws-sdk/credential-provider-node": "3.28.0", | ||
"@aws-sdk/fetch-http-handler": "3.25.0", | ||
@@ -40,11 +40,11 @@ "@aws-sdk/hash-node": "3.25.0", | ||
"@aws-sdk/middleware-logger": "3.25.0", | ||
"@aws-sdk/middleware-retry": "3.27.0", | ||
"@aws-sdk/middleware-retry": "3.28.0", | ||
"@aws-sdk/middleware-serde": "3.25.0", | ||
"@aws-sdk/middleware-signing": "3.27.0", | ||
"@aws-sdk/middleware-signing": "3.28.0", | ||
"@aws-sdk/middleware-stack": "3.25.0", | ||
"@aws-sdk/middleware-user-agent": "3.25.0", | ||
"@aws-sdk/node-config-provider": "3.27.0", | ||
"@aws-sdk/node-config-provider": "3.28.0", | ||
"@aws-sdk/node-http-handler": "3.25.0", | ||
"@aws-sdk/protocol-http": "3.25.0", | ||
"@aws-sdk/smithy-client": "3.27.0", | ||
"@aws-sdk/smithy-client": "3.28.0", | ||
"@aws-sdk/types": "3.25.0", | ||
@@ -57,3 +57,3 @@ "@aws-sdk/url-parser": "3.25.0", | ||
"@aws-sdk/util-user-agent-browser": "3.25.0", | ||
"@aws-sdk/util-user-agent-node": "3.27.0", | ||
"@aws-sdk/util-user-agent-node": "3.28.0", | ||
"@aws-sdk/util-utf8-browser": "3.23.0", | ||
@@ -60,0 +60,0 @@ "@aws-sdk/util-utf8-node": "3.23.0", |
@@ -18,3 +18,3 @@ "use strict"; | ||
*/ | ||
const getRuntimeConfig = (config = {}) => { | ||
const getRuntimeConfig = (config) => { | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; | ||
@@ -26,15 +26,15 @@ const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config); | ||
runtime: "browser", | ||
base64Decoder: (_a = config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64, | ||
base64Encoder: (_b = config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64, | ||
bodyLengthChecker: (_c = config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength, | ||
credentialDefaultProvider: (_d = config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))), | ||
defaultUserAgentProvider: (_e = config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), | ||
maxAttempts: (_f = config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS, | ||
region: (_g = config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"), | ||
requestHandler: (_h = config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(), | ||
retryModeProvider: (_j = config.retryModeProvider) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)), | ||
sha256: (_k = config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256, | ||
streamCollector: (_l = config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector, | ||
utf8Decoder: (_m = config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8, | ||
utf8Encoder: (_o = config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8, | ||
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64, | ||
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64, | ||
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength, | ||
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))), | ||
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), | ||
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS, | ||
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"), | ||
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(), | ||
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)), | ||
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256, | ||
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, | ||
}; | ||
@@ -41,0 +41,0 @@ }; |
@@ -22,3 +22,3 @@ "use strict"; | ||
*/ | ||
const getRuntimeConfig = (config = {}) => { | ||
const getRuntimeConfig = (config) => { | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; | ||
@@ -31,15 +31,15 @@ smithy_client_1.emitWarningIfUnsupportedVersion(process.version); | ||
runtime: "node", | ||
base64Decoder: (_a = config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64, | ||
base64Encoder: (_b = config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64, | ||
bodyLengthChecker: (_c = config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength, | ||
credentialDefaultProvider: (_d = config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider), | ||
defaultUserAgentProvider: (_e = config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), | ||
maxAttempts: (_f = config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), | ||
region: (_g = config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), | ||
requestHandler: (_h = config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(), | ||
retryModeProvider: (_j = config.retryModeProvider) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS), | ||
sha256: (_k = config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"), | ||
streamCollector: (_l = config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector, | ||
utf8Decoder: (_m = config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8, | ||
utf8Encoder: (_o = config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8, | ||
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64, | ||
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64, | ||
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength, | ||
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider), | ||
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), | ||
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), | ||
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), | ||
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(), | ||
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS), | ||
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"), | ||
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, | ||
}; | ||
@@ -46,0 +46,0 @@ }; |
@@ -9,3 +9,3 @@ "use strict"; | ||
*/ | ||
const getRuntimeConfig = (config = {}) => { | ||
const getRuntimeConfig = (config) => { | ||
var _a; | ||
@@ -17,3 +17,3 @@ const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config); | ||
runtime: "react-native", | ||
sha256: (_a = config.sha256) !== null && _a !== void 0 ? _a : sha256_js_1.Sha256, | ||
sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : sha256_js_1.Sha256, | ||
}; | ||
@@ -20,0 +20,0 @@ }; |
@@ -9,11 +9,11 @@ "use strict"; | ||
*/ | ||
const getRuntimeConfig = (config = {}) => { | ||
const getRuntimeConfig = (config) => { | ||
var _a, _b, _c, _d, _e; | ||
return ({ | ||
apiVersion: "2020-08-21", | ||
disableHostPrefix: (_a = config.disableHostPrefix) !== null && _a !== void 0 ? _a : false, | ||
logger: (_b = config.logger) !== null && _b !== void 0 ? _b : {}, | ||
regionInfoProvider: (_c = config.regionInfoProvider) !== null && _c !== void 0 ? _c : endpoints_1.defaultRegionInfoProvider, | ||
serviceId: (_d = config.serviceId) !== null && _d !== void 0 ? _d : "Connect Contact Lens", | ||
urlParser: (_e = config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl, | ||
disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false, | ||
logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {}, | ||
regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : endpoints_1.defaultRegionInfoProvider, | ||
serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "Connect Contact Lens", | ||
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl, | ||
}); | ||
@@ -20,0 +20,0 @@ }; |
@@ -1,124 +0,54 @@ | ||
import { __assign } from "tslib"; | ||
// Partition default templates | ||
var AWS_TEMPLATE = "contact-lens.{region}.amazonaws.com"; | ||
var AWS_CN_TEMPLATE = "contact-lens.{region}.amazonaws.com.cn"; | ||
var AWS_ISO_TEMPLATE = "contact-lens.{region}.c2s.ic.gov"; | ||
var AWS_ISO_B_TEMPLATE = "contact-lens.{region}.sc2s.sgov.gov"; | ||
var AWS_US_GOV_TEMPLATE = "contact-lens.{region}.amazonaws.com"; | ||
// Partition regions | ||
var AWS_REGIONS = new Set([ | ||
"af-south-1", | ||
"ap-east-1", | ||
"ap-northeast-1", | ||
"ap-northeast-2", | ||
"ap-northeast-3", | ||
"ap-south-1", | ||
"ap-southeast-1", | ||
"ap-southeast-2", | ||
"ca-central-1", | ||
"eu-central-1", | ||
"eu-north-1", | ||
"eu-south-1", | ||
"eu-west-1", | ||
"eu-west-2", | ||
"eu-west-3", | ||
"me-south-1", | ||
"sa-east-1", | ||
"us-east-1", | ||
"us-east-2", | ||
"us-west-1", | ||
"us-west-2", | ||
]); | ||
var AWS_CN_REGIONS = new Set(["cn-north-1", "cn-northwest-1"]); | ||
var AWS_ISO_REGIONS = new Set(["us-iso-east-1"]); | ||
var AWS_ISO_B_REGIONS = new Set(["us-isob-east-1"]); | ||
var AWS_US_GOV_REGIONS = new Set(["us-gov-east-1", "us-gov-west-1"]); | ||
export var defaultRegionInfoProvider = function (region, options) { | ||
var regionInfo = undefined; | ||
switch (region) { | ||
// First, try to match exact region names. | ||
case "ap-northeast-1": | ||
regionInfo = { | ||
hostname: "contact-lens.ap-northeast-1.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "ap-southeast-2": | ||
regionInfo = { | ||
hostname: "contact-lens.ap-southeast-2.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "ca-central-1": | ||
regionInfo = { | ||
hostname: "contact-lens.ca-central-1.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "eu-central-1": | ||
regionInfo = { | ||
hostname: "contact-lens.eu-central-1.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "eu-west-2": | ||
regionInfo = { | ||
hostname: "contact-lens.eu-west-2.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "us-east-1": | ||
regionInfo = { | ||
hostname: "contact-lens.us-east-1.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "us-west-2": | ||
regionInfo = { | ||
hostname: "contact-lens.us-west-2.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
// Next, try to match partition endpoints. | ||
default: | ||
if (AWS_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_TEMPLATE.replace("{region}", region), | ||
partition: "aws", | ||
}; | ||
} | ||
if (AWS_CN_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_CN_TEMPLATE.replace("{region}", region), | ||
partition: "aws-cn", | ||
}; | ||
} | ||
if (AWS_ISO_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_ISO_TEMPLATE.replace("{region}", region), | ||
partition: "aws-iso", | ||
}; | ||
} | ||
if (AWS_ISO_B_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_ISO_B_TEMPLATE.replace("{region}", region), | ||
partition: "aws-iso-b", | ||
}; | ||
} | ||
if (AWS_US_GOV_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_US_GOV_TEMPLATE.replace("{region}", region), | ||
partition: "aws-us-gov", | ||
}; | ||
} | ||
// Finally, assume it's an AWS partition endpoint. | ||
if (regionInfo === undefined) { | ||
regionInfo = { | ||
hostname: AWS_TEMPLATE.replace("{region}", region), | ||
partition: "aws", | ||
}; | ||
} | ||
} | ||
return Promise.resolve(__assign({ signingService: "connect" }, regionInfo)); | ||
import { __assign, __awaiter, __generator } from "tslib"; | ||
import { getRegionInfo } from "@aws-sdk/config-resolver"; | ||
var regionHash = {}; | ||
var partitionHash = { | ||
aws: { | ||
regions: [ | ||
"af-south-1", | ||
"ap-east-1", | ||
"ap-northeast-1", | ||
"ap-northeast-2", | ||
"ap-northeast-3", | ||
"ap-south-1", | ||
"ap-southeast-1", | ||
"ap-southeast-2", | ||
"ca-central-1", | ||
"eu-central-1", | ||
"eu-north-1", | ||
"eu-south-1", | ||
"eu-west-1", | ||
"eu-west-2", | ||
"eu-west-3", | ||
"me-south-1", | ||
"sa-east-1", | ||
"us-east-1", | ||
"us-east-2", | ||
"us-west-1", | ||
"us-west-2", | ||
], | ||
hostname: "contact-lens.{region}.amazonaws.com", | ||
}, | ||
"aws-cn": { | ||
regions: ["cn-north-1", "cn-northwest-1"], | ||
hostname: "contact-lens.{region}.amazonaws.com.cn", | ||
}, | ||
"aws-iso": { | ||
regions: ["us-iso-east-1"], | ||
hostname: "contact-lens.{region}.c2s.ic.gov", | ||
}, | ||
"aws-iso-b": { | ||
regions: ["us-isob-east-1"], | ||
hostname: "contact-lens.{region}.sc2s.sgov.gov", | ||
}, | ||
"aws-us-gov": { | ||
regions: ["us-gov-east-1", "us-gov-west-1"], | ||
hostname: "contact-lens.{region}.amazonaws.com", | ||
}, | ||
}; | ||
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "connect", regionHash: regionHash, | ||
partitionHash: partitionHash }))]; | ||
}); | ||
}); }; | ||
//# sourceMappingURL=endpoints.js.map |
{ | ||
"name": "@aws-sdk/client-connect-contact-lens", | ||
"description": "AWS SDK for JavaScript Connect Contact Lens Client for Node.js, Browser and React Native", | ||
"version": "3.27.0", | ||
"version": "3.28.0", | ||
"scripts": { | ||
@@ -30,5 +30,5 @@ "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", | ||
"@aws-crypto/sha256-js": "^1.0.0", | ||
"@aws-sdk/client-sts": "3.27.0", | ||
"@aws-sdk/config-resolver": "3.27.0", | ||
"@aws-sdk/credential-provider-node": "3.27.0", | ||
"@aws-sdk/client-sts": "3.28.0", | ||
"@aws-sdk/config-resolver": "3.28.0", | ||
"@aws-sdk/credential-provider-node": "3.28.0", | ||
"@aws-sdk/fetch-http-handler": "3.25.0", | ||
@@ -40,11 +40,11 @@ "@aws-sdk/hash-node": "3.25.0", | ||
"@aws-sdk/middleware-logger": "3.25.0", | ||
"@aws-sdk/middleware-retry": "3.27.0", | ||
"@aws-sdk/middleware-retry": "3.28.0", | ||
"@aws-sdk/middleware-serde": "3.25.0", | ||
"@aws-sdk/middleware-signing": "3.27.0", | ||
"@aws-sdk/middleware-signing": "3.28.0", | ||
"@aws-sdk/middleware-stack": "3.25.0", | ||
"@aws-sdk/middleware-user-agent": "3.25.0", | ||
"@aws-sdk/node-config-provider": "3.27.0", | ||
"@aws-sdk/node-config-provider": "3.28.0", | ||
"@aws-sdk/node-http-handler": "3.25.0", | ||
"@aws-sdk/protocol-http": "3.25.0", | ||
"@aws-sdk/smithy-client": "3.27.0", | ||
"@aws-sdk/smithy-client": "3.28.0", | ||
"@aws-sdk/types": "3.25.0", | ||
@@ -57,3 +57,3 @@ "@aws-sdk/url-parser": "3.25.0", | ||
"@aws-sdk/util-user-agent-browser": "3.25.0", | ||
"@aws-sdk/util-user-agent-node": "3.27.0", | ||
"@aws-sdk/util-user-agent-node": "3.28.0", | ||
"@aws-sdk/util-utf8-browser": "3.23.0", | ||
@@ -60,0 +60,0 @@ "@aws-sdk/util-utf8-node": "3.23.0", |
@@ -17,6 +17,5 @@ import { __assign } from "tslib"; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; | ||
if (config === void 0) { config = {}; } | ||
var clientSharedValues = getSharedRuntimeConfig(config); | ||
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryModeProvider: (_j = config.retryModeProvider) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = 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, 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 }); | ||
}; | ||
//# sourceMappingURL=runtimeConfig.browser.js.map |
@@ -21,7 +21,6 @@ import { __assign } from "tslib"; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; | ||
if (config === void 0) { config = {}; } | ||
emitWarningIfUnsupportedVersion(process.version); | ||
var clientSharedValues = getSharedRuntimeConfig(config); | ||
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryModeProvider: (_j = config.retryModeProvider) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = 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, 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 }); | ||
}; | ||
//# sourceMappingURL=runtimeConfig.js.map |
@@ -9,6 +9,5 @@ import { __assign } from "tslib"; | ||
var _a; | ||
if (config === void 0) { config = {}; } | ||
var browserDefaults = getBrowserRuntimeConfig(config); | ||
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config.sha256) !== null && _a !== void 0 ? _a : Sha256 }); | ||
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 }); | ||
}; | ||
//# sourceMappingURL=runtimeConfig.native.js.map |
@@ -8,12 +8,11 @@ import { defaultRegionInfoProvider } from "./endpoints"; | ||
var _a, _b, _c, _d, _e; | ||
if (config === void 0) { config = {}; } | ||
return ({ | ||
apiVersion: "2020-08-21", | ||
disableHostPrefix: (_a = config.disableHostPrefix) !== null && _a !== void 0 ? _a : false, | ||
logger: (_b = config.logger) !== null && _b !== void 0 ? _b : {}, | ||
regionInfoProvider: (_c = config.regionInfoProvider) !== null && _c !== void 0 ? _c : defaultRegionInfoProvider, | ||
serviceId: (_d = config.serviceId) !== null && _d !== void 0 ? _d : "Connect Contact Lens", | ||
urlParser: (_e = config.urlParser) !== null && _e !== void 0 ? _e : parseUrl, | ||
disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false, | ||
logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {}, | ||
regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : defaultRegionInfoProvider, | ||
serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "Connect Contact Lens", | ||
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl, | ||
}); | ||
}; | ||
//# sourceMappingURL=runtimeConfig.shared.js.map |
@@ -73,6 +73,5 @@ import { ListRealtimeContactAnalysisSegmentsCommandInput, ListRealtimeContactAnalysisSegmentsCommandOutput } from "./commands/ListRealtimeContactAnalysisSegmentsCommand"; | ||
/** | ||
* Specifies provider for retry algorithm to use. | ||
* @internal | ||
* Specifies which retry algorithm to use. | ||
*/ | ||
retryModeProvider?: __Provider<string>; | ||
retryMode?: string | __Provider<string>; | ||
/** | ||
@@ -79,0 +78,0 @@ * Optional logger for logging debug/info/warn/error. |
@@ -6,3 +6,3 @@ import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler"; | ||
*/ | ||
export declare const getRuntimeConfig: (config?: ConnectContactLensClientConfig) => { | ||
export declare const getRuntimeConfig: (config: ConnectContactLensClientConfig) => { | ||
runtime: string; | ||
@@ -17,3 +17,3 @@ base64Decoder: import("@aws-sdk/types").Decoder; | ||
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler; | ||
retryModeProvider: import("@aws-sdk/types").Provider<string>; | ||
retryMode: string | import("@aws-sdk/types").Provider<string>; | ||
sha256: import("@aws-sdk/types").HashConstructor; | ||
@@ -32,3 +32,2 @@ streamCollector: import("@aws-sdk/types").StreamCollector; | ||
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined; | ||
retryMode?: string | undefined; | ||
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined; | ||
@@ -35,0 +34,0 @@ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined; |
@@ -6,3 +6,3 @@ import { NodeHttpHandler } from "@aws-sdk/node-http-handler"; | ||
*/ | ||
export declare const getRuntimeConfig: (config?: ConnectContactLensClientConfig) => { | ||
export declare const getRuntimeConfig: (config: ConnectContactLensClientConfig) => { | ||
runtime: string; | ||
@@ -17,3 +17,3 @@ base64Decoder: import("@aws-sdk/types").Decoder; | ||
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler; | ||
retryModeProvider: import("@aws-sdk/types").Provider<string>; | ||
retryMode: string | import("@aws-sdk/types").Provider<string>; | ||
sha256: import("@aws-sdk/types").HashConstructor; | ||
@@ -32,3 +32,2 @@ streamCollector: import("@aws-sdk/types").StreamCollector; | ||
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined; | ||
retryMode?: string | undefined; | ||
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined; | ||
@@ -35,0 +34,0 @@ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined; |
@@ -5,3 +5,3 @@ import { ConnectContactLensClientConfig } from "./ConnectContactLensClient"; | ||
*/ | ||
export declare const getRuntimeConfig: (config?: ConnectContactLensClientConfig) => { | ||
export declare const getRuntimeConfig: (config: ConnectContactLensClientConfig) => { | ||
runtime: string; | ||
@@ -20,3 +20,3 @@ sha256: import("@aws-sdk/types").HashConstructor; | ||
maxAttempts: number | import("@aws-sdk/types").Provider<number>; | ||
retryModeProvider: import("@aws-sdk/types").Provider<string>; | ||
retryMode: string | import("@aws-sdk/types").Provider<string>; | ||
logger: import("@aws-sdk/types").Logger; | ||
@@ -31,3 +31,2 @@ serviceId: string; | ||
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined; | ||
retryMode?: string | undefined; | ||
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined; | ||
@@ -34,0 +33,0 @@ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined; |
@@ -6,3 +6,3 @@ import { Logger as __Logger } from "@aws-sdk/types"; | ||
*/ | ||
export declare const getRuntimeConfig: (config?: ConnectContactLensClientConfig) => { | ||
export declare const getRuntimeConfig: (config: ConnectContactLensClientConfig) => { | ||
apiVersion: string; | ||
@@ -9,0 +9,0 @@ disableHostPrefix: boolean; |
@@ -73,6 +73,5 @@ import { ListRealtimeContactAnalysisSegmentsCommandInput, ListRealtimeContactAnalysisSegmentsCommandOutput } from "./commands/ListRealtimeContactAnalysisSegmentsCommand"; | ||
/** | ||
* Specifies provider for retry algorithm to use. | ||
* @internal | ||
* Specifies which retry algorithm to use. | ||
*/ | ||
retryModeProvider?: __Provider<string>; | ||
retryMode?: string | __Provider<string>; | ||
/** | ||
@@ -79,0 +78,0 @@ * Optional logger for logging debug/info/warn/error. |
@@ -6,3 +6,3 @@ import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler"; | ||
*/ | ||
export declare const getRuntimeConfig: (config?: ConnectContactLensClientConfig) => { | ||
export declare const getRuntimeConfig: (config: ConnectContactLensClientConfig) => { | ||
runtime: string; | ||
@@ -17,3 +17,3 @@ base64Decoder: import("@aws-sdk/types").Decoder; | ||
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler; | ||
retryModeProvider: import("@aws-sdk/types").Provider<string>; | ||
retryMode: string | import("@aws-sdk/types").Provider<string>; | ||
sha256: import("@aws-sdk/types").HashConstructor; | ||
@@ -32,3 +32,2 @@ streamCollector: import("@aws-sdk/types").StreamCollector; | ||
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined; | ||
retryMode?: string | undefined; | ||
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined; | ||
@@ -35,0 +34,0 @@ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined; |
@@ -6,3 +6,3 @@ import { NodeHttpHandler } from "@aws-sdk/node-http-handler"; | ||
*/ | ||
export declare const getRuntimeConfig: (config?: ConnectContactLensClientConfig) => { | ||
export declare const getRuntimeConfig: (config: ConnectContactLensClientConfig) => { | ||
runtime: string; | ||
@@ -17,3 +17,3 @@ base64Decoder: import("@aws-sdk/types").Decoder; | ||
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler; | ||
retryModeProvider: import("@aws-sdk/types").Provider<string>; | ||
retryMode: string | import("@aws-sdk/types").Provider<string>; | ||
sha256: import("@aws-sdk/types").HashConstructor; | ||
@@ -32,3 +32,2 @@ streamCollector: import("@aws-sdk/types").StreamCollector; | ||
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined; | ||
retryMode?: string | undefined; | ||
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined; | ||
@@ -35,0 +34,0 @@ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined; |
@@ -5,3 +5,3 @@ import { ConnectContactLensClientConfig } from "./ConnectContactLensClient"; | ||
*/ | ||
export declare const getRuntimeConfig: (config?: ConnectContactLensClientConfig) => { | ||
export declare const getRuntimeConfig: (config: ConnectContactLensClientConfig) => { | ||
runtime: string; | ||
@@ -20,3 +20,3 @@ sha256: import("@aws-sdk/types").HashConstructor; | ||
maxAttempts: number | import("@aws-sdk/types").Provider<number>; | ||
retryModeProvider: import("@aws-sdk/types").Provider<string>; | ||
retryMode: string | import("@aws-sdk/types").Provider<string>; | ||
logger: import("@aws-sdk/types").Logger; | ||
@@ -31,3 +31,2 @@ serviceId: string; | ||
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined; | ||
retryMode?: string | undefined; | ||
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined; | ||
@@ -34,0 +33,0 @@ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined; |
@@ -6,3 +6,3 @@ import { Logger as __Logger } from "@aws-sdk/types"; | ||
*/ | ||
export declare const getRuntimeConfig: (config?: ConnectContactLensClientConfig) => { | ||
export declare const getRuntimeConfig: (config: ConnectContactLensClientConfig) => { | ||
apiVersion: string; | ||
@@ -9,0 +9,0 @@ disableHostPrefix: boolean; |
177
endpoints.ts
@@ -1,126 +0,57 @@ | ||
import { RegionInfo, RegionInfoProvider } from "@aws-sdk/types"; | ||
import { PartitionHash, RegionHash, getRegionInfo } from "@aws-sdk/config-resolver"; | ||
import { RegionInfoProvider } from "@aws-sdk/types"; | ||
// Partition default templates | ||
const AWS_TEMPLATE = "contact-lens.{region}.amazonaws.com"; | ||
const AWS_CN_TEMPLATE = "contact-lens.{region}.amazonaws.com.cn"; | ||
const AWS_ISO_TEMPLATE = "contact-lens.{region}.c2s.ic.gov"; | ||
const AWS_ISO_B_TEMPLATE = "contact-lens.{region}.sc2s.sgov.gov"; | ||
const AWS_US_GOV_TEMPLATE = "contact-lens.{region}.amazonaws.com"; | ||
const regionHash: RegionHash = {}; | ||
// Partition regions | ||
const AWS_REGIONS = new Set([ | ||
"af-south-1", | ||
"ap-east-1", | ||
"ap-northeast-1", | ||
"ap-northeast-2", | ||
"ap-northeast-3", | ||
"ap-south-1", | ||
"ap-southeast-1", | ||
"ap-southeast-2", | ||
"ca-central-1", | ||
"eu-central-1", | ||
"eu-north-1", | ||
"eu-south-1", | ||
"eu-west-1", | ||
"eu-west-2", | ||
"eu-west-3", | ||
"me-south-1", | ||
"sa-east-1", | ||
"us-east-1", | ||
"us-east-2", | ||
"us-west-1", | ||
"us-west-2", | ||
]); | ||
const AWS_CN_REGIONS = new Set(["cn-north-1", "cn-northwest-1"]); | ||
const AWS_ISO_REGIONS = new Set(["us-iso-east-1"]); | ||
const AWS_ISO_B_REGIONS = new Set(["us-isob-east-1"]); | ||
const AWS_US_GOV_REGIONS = new Set(["us-gov-east-1", "us-gov-west-1"]); | ||
const partitionHash: PartitionHash = { | ||
aws: { | ||
regions: [ | ||
"af-south-1", | ||
"ap-east-1", | ||
"ap-northeast-1", | ||
"ap-northeast-2", | ||
"ap-northeast-3", | ||
"ap-south-1", | ||
"ap-southeast-1", | ||
"ap-southeast-2", | ||
"ca-central-1", | ||
"eu-central-1", | ||
"eu-north-1", | ||
"eu-south-1", | ||
"eu-west-1", | ||
"eu-west-2", | ||
"eu-west-3", | ||
"me-south-1", | ||
"sa-east-1", | ||
"us-east-1", | ||
"us-east-2", | ||
"us-west-1", | ||
"us-west-2", | ||
], | ||
hostname: "contact-lens.{region}.amazonaws.com", | ||
}, | ||
"aws-cn": { | ||
regions: ["cn-north-1", "cn-northwest-1"], | ||
hostname: "contact-lens.{region}.amazonaws.com.cn", | ||
}, | ||
"aws-iso": { | ||
regions: ["us-iso-east-1"], | ||
hostname: "contact-lens.{region}.c2s.ic.gov", | ||
}, | ||
"aws-iso-b": { | ||
regions: ["us-isob-east-1"], | ||
hostname: "contact-lens.{region}.sc2s.sgov.gov", | ||
}, | ||
"aws-us-gov": { | ||
regions: ["us-gov-east-1", "us-gov-west-1"], | ||
hostname: "contact-lens.{region}.amazonaws.com", | ||
}, | ||
}; | ||
export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, options?: any) => { | ||
let regionInfo: RegionInfo | undefined = undefined; | ||
switch (region) { | ||
// First, try to match exact region names. | ||
case "ap-northeast-1": | ||
regionInfo = { | ||
hostname: "contact-lens.ap-northeast-1.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "ap-southeast-2": | ||
regionInfo = { | ||
hostname: "contact-lens.ap-southeast-2.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "ca-central-1": | ||
regionInfo = { | ||
hostname: "contact-lens.ca-central-1.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "eu-central-1": | ||
regionInfo = { | ||
hostname: "contact-lens.eu-central-1.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "eu-west-2": | ||
regionInfo = { | ||
hostname: "contact-lens.eu-west-2.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "us-east-1": | ||
regionInfo = { | ||
hostname: "contact-lens.us-east-1.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
case "us-west-2": | ||
regionInfo = { | ||
hostname: "contact-lens.us-west-2.amazonaws.com", | ||
partition: "aws", | ||
}; | ||
break; | ||
// Next, try to match partition endpoints. | ||
default: | ||
if (AWS_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_TEMPLATE.replace("{region}", region), | ||
partition: "aws", | ||
}; | ||
} | ||
if (AWS_CN_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_CN_TEMPLATE.replace("{region}", region), | ||
partition: "aws-cn", | ||
}; | ||
} | ||
if (AWS_ISO_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_ISO_TEMPLATE.replace("{region}", region), | ||
partition: "aws-iso", | ||
}; | ||
} | ||
if (AWS_ISO_B_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_ISO_B_TEMPLATE.replace("{region}", region), | ||
partition: "aws-iso-b", | ||
}; | ||
} | ||
if (AWS_US_GOV_REGIONS.has(region)) { | ||
regionInfo = { | ||
hostname: AWS_US_GOV_TEMPLATE.replace("{region}", region), | ||
partition: "aws-us-gov", | ||
}; | ||
} | ||
// Finally, assume it's an AWS partition endpoint. | ||
if (regionInfo === undefined) { | ||
regionInfo = { | ||
hostname: AWS_TEMPLATE.replace("{region}", region), | ||
partition: "aws", | ||
}; | ||
} | ||
} | ||
return Promise.resolve({ signingService: "connect", ...regionInfo }); | ||
}; | ||
export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) => | ||
getRegionInfo(region, { | ||
...options, | ||
signingService: "connect", | ||
regionHash, | ||
partitionHash, | ||
}); |
{ | ||
"name": "@aws-sdk/client-connect-contact-lens", | ||
"description": "AWS SDK for JavaScript Connect Contact Lens Client for Node.js, Browser and React Native", | ||
"version": "3.27.0", | ||
"version": "3.28.0", | ||
"scripts": { | ||
@@ -30,5 +30,5 @@ "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation", | ||
"@aws-crypto/sha256-js": "^1.0.0", | ||
"@aws-sdk/client-sts": "3.27.0", | ||
"@aws-sdk/config-resolver": "3.27.0", | ||
"@aws-sdk/credential-provider-node": "3.27.0", | ||
"@aws-sdk/client-sts": "3.28.0", | ||
"@aws-sdk/config-resolver": "3.28.0", | ||
"@aws-sdk/credential-provider-node": "3.28.0", | ||
"@aws-sdk/fetch-http-handler": "3.25.0", | ||
@@ -40,11 +40,11 @@ "@aws-sdk/hash-node": "3.25.0", | ||
"@aws-sdk/middleware-logger": "3.25.0", | ||
"@aws-sdk/middleware-retry": "3.27.0", | ||
"@aws-sdk/middleware-retry": "3.28.0", | ||
"@aws-sdk/middleware-serde": "3.25.0", | ||
"@aws-sdk/middleware-signing": "3.27.0", | ||
"@aws-sdk/middleware-signing": "3.28.0", | ||
"@aws-sdk/middleware-stack": "3.25.0", | ||
"@aws-sdk/middleware-user-agent": "3.25.0", | ||
"@aws-sdk/node-config-provider": "3.27.0", | ||
"@aws-sdk/node-config-provider": "3.28.0", | ||
"@aws-sdk/node-http-handler": "3.25.0", | ||
"@aws-sdk/protocol-http": "3.25.0", | ||
"@aws-sdk/smithy-client": "3.27.0", | ||
"@aws-sdk/smithy-client": "3.28.0", | ||
"@aws-sdk/types": "3.25.0", | ||
@@ -57,3 +57,3 @@ "@aws-sdk/url-parser": "3.25.0", | ||
"@aws-sdk/util-user-agent-browser": "3.25.0", | ||
"@aws-sdk/util-user-agent-node": "3.27.0", | ||
"@aws-sdk/util-user-agent-node": "3.28.0", | ||
"@aws-sdk/util-utf8-browser": "3.23.0", | ||
@@ -60,0 +60,0 @@ "@aws-sdk/util-utf8-node": "3.23.0", |
@@ -17,3 +17,3 @@ import packageInfo from "./package.json"; | ||
*/ | ||
export const getRuntimeConfig = (config: ConnectContactLensClientConfig = {}) => { | ||
export const getRuntimeConfig = (config: ConnectContactLensClientConfig) => { | ||
const clientSharedValues = getSharedRuntimeConfig(config); | ||
@@ -24,19 +24,19 @@ return { | ||
runtime: "browser", | ||
base64Decoder: config.base64Decoder ?? fromBase64, | ||
base64Encoder: config.base64Encoder ?? toBase64, | ||
bodyLengthChecker: config.bodyLengthChecker ?? calculateBodyLength, | ||
base64Decoder: config?.base64Decoder ?? fromBase64, | ||
base64Encoder: config?.base64Encoder ?? toBase64, | ||
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, | ||
credentialDefaultProvider: | ||
config.credentialDefaultProvider ?? ((_: unknown) => () => Promise.reject(new Error("Credential is missing"))), | ||
config?.credentialDefaultProvider ?? ((_: unknown) => () => Promise.reject(new Error("Credential is missing"))), | ||
defaultUserAgentProvider: | ||
config.defaultUserAgentProvider ?? | ||
config?.defaultUserAgentProvider ?? | ||
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), | ||
maxAttempts: config.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, | ||
region: config.region ?? invalidProvider("Region is missing"), | ||
requestHandler: config.requestHandler ?? new FetchHttpHandler(), | ||
retryModeProvider: config.retryModeProvider ?? (() => Promise.resolve(DEFAULT_RETRY_MODE)), | ||
sha256: config.sha256 ?? Sha256, | ||
streamCollector: config.streamCollector ?? streamCollector, | ||
utf8Decoder: config.utf8Decoder ?? fromUtf8, | ||
utf8Encoder: config.utf8Encoder ?? toUtf8, | ||
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, | ||
region: config?.region ?? invalidProvider("Region is missing"), | ||
requestHandler: config?.requestHandler ?? new FetchHttpHandler(), | ||
retryMode: config?.retryMode ?? (() => Promise.resolve(DEFAULT_RETRY_MODE)), | ||
sha256: config?.sha256 ?? Sha256, | ||
streamCollector: config?.streamCollector ?? streamCollector, | ||
utf8Decoder: config?.utf8Decoder ?? fromUtf8, | ||
utf8Encoder: config?.utf8Encoder ?? toUtf8, | ||
}; | ||
}; |
@@ -8,3 +8,3 @@ import { Sha256 } from "@aws-crypto/sha256-js"; | ||
*/ | ||
export const getRuntimeConfig = (config: ConnectContactLensClientConfig = {}) => { | ||
export const getRuntimeConfig = (config: ConnectContactLensClientConfig) => { | ||
const browserDefaults = getBrowserRuntimeConfig(config); | ||
@@ -15,4 +15,4 @@ return { | ||
runtime: "react-native", | ||
sha256: config.sha256 ?? Sha256, | ||
sha256: config?.sha256 ?? Sha256, | ||
}; | ||
}; |
@@ -9,9 +9,9 @@ import { defaultRegionInfoProvider } from "./endpoints"; | ||
*/ | ||
export const getRuntimeConfig = (config: ConnectContactLensClientConfig = {}) => ({ | ||
export const getRuntimeConfig = (config: ConnectContactLensClientConfig) => ({ | ||
apiVersion: "2020-08-21", | ||
disableHostPrefix: config.disableHostPrefix ?? false, | ||
logger: config.logger ?? ({} as __Logger), | ||
regionInfoProvider: config.regionInfoProvider ?? defaultRegionInfoProvider, | ||
serviceId: config.serviceId ?? "Connect Contact Lens", | ||
urlParser: config.urlParser ?? parseUrl, | ||
disableHostPrefix: config?.disableHostPrefix ?? false, | ||
logger: config?.logger ?? ({} as __Logger), | ||
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider, | ||
serviceId: config?.serviceId ?? "Connect Contact Lens", | ||
urlParser: config?.urlParser ?? parseUrl, | ||
}); |
@@ -21,3 +21,3 @@ import packageInfo from "./package.json"; | ||
*/ | ||
export const getRuntimeConfig = (config: ConnectContactLensClientConfig = {}) => { | ||
export const getRuntimeConfig = (config: ConnectContactLensClientConfig) => { | ||
emitWarningIfUnsupportedVersion(process.version); | ||
@@ -29,19 +29,19 @@ const clientSharedValues = getSharedRuntimeConfig(config); | ||
runtime: "node", | ||
base64Decoder: config.base64Decoder ?? fromBase64, | ||
base64Encoder: config.base64Encoder ?? toBase64, | ||
bodyLengthChecker: config.bodyLengthChecker ?? calculateBodyLength, | ||
base64Decoder: config?.base64Decoder ?? fromBase64, | ||
base64Encoder: config?.base64Encoder ?? toBase64, | ||
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, | ||
credentialDefaultProvider: | ||
config.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), | ||
config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), | ||
defaultUserAgentProvider: | ||
config.defaultUserAgentProvider ?? | ||
config?.defaultUserAgentProvider ?? | ||
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), | ||
maxAttempts: config.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), | ||
region: config.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), | ||
requestHandler: config.requestHandler ?? new NodeHttpHandler(), | ||
retryModeProvider: config.retryModeProvider ?? loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), | ||
sha256: config.sha256 ?? Hash.bind(null, "sha256"), | ||
streamCollector: config.streamCollector ?? streamCollector, | ||
utf8Decoder: config.utf8Decoder ?? fromUtf8, | ||
utf8Encoder: config.utf8Encoder ?? toUtf8, | ||
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), | ||
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), | ||
requestHandler: config?.requestHandler ?? new NodeHttpHandler(), | ||
retryMode: config?.retryMode ?? loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), | ||
sha256: config?.sha256 ?? Hash.bind(null, "sha256"), | ||
streamCollector: config?.streamCollector ?? streamCollector, | ||
utf8Decoder: config?.utf8Decoder ?? fromUtf8, | ||
utf8Encoder: config?.utf8Encoder ?? toUtf8, | ||
}; | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
289206
4333
+ Added@aws-sdk/client-sso@3.28.0(transitive)
+ Added@aws-sdk/client-sts@3.28.0(transitive)
+ Added@aws-sdk/config-resolver@3.28.0(transitive)
+ Added@aws-sdk/credential-provider-env@3.28.0(transitive)
+ Added@aws-sdk/credential-provider-imds@3.28.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.28.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.28.0(transitive)
+ Added@aws-sdk/credential-provider-process@3.28.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.28.0(transitive)
+ Added@aws-sdk/credential-provider-web-identity@3.28.0(transitive)
+ Added@aws-sdk/middleware-retry@3.28.0(transitive)
+ Added@aws-sdk/middleware-sdk-sts@3.28.0(transitive)
+ Added@aws-sdk/middleware-signing@3.28.0(transitive)
+ Added@aws-sdk/node-config-provider@3.28.0(transitive)
+ Added@aws-sdk/property-provider@3.28.0(transitive)
+ Added@aws-sdk/smithy-client@3.28.0(transitive)
+ Added@aws-sdk/util-user-agent-node@3.28.0(transitive)
- Removed@aws-sdk/client-sso@3.27.0(transitive)
- Removed@aws-sdk/client-sts@3.27.0(transitive)
- Removed@aws-sdk/config-resolver@3.27.0(transitive)
- Removed@aws-sdk/credential-provider-env@3.27.0(transitive)
- Removed@aws-sdk/credential-provider-imds@3.27.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.27.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.27.0(transitive)
- Removed@aws-sdk/credential-provider-process@3.27.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.27.0(transitive)
- Removed@aws-sdk/credential-provider-web-identity@3.27.0(transitive)
- Removed@aws-sdk/middleware-retry@3.27.0(transitive)
- Removed@aws-sdk/middleware-sdk-sts@3.27.0(transitive)
- Removed@aws-sdk/middleware-signing@3.27.0(transitive)
- Removed@aws-sdk/node-config-provider@3.27.0(transitive)
- Removed@aws-sdk/property-provider@3.27.0(transitive)
- Removed@aws-sdk/smithy-client@3.27.0(transitive)
- Removed@aws-sdk/util-user-agent-node@3.27.0(transitive)
Updated@aws-sdk/client-sts@3.28.0