diff --git a/CHANGELOG.md b/CHANGELOG.md index 89934db..278b0a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.0.11](https://github.com/scribd/amazon-appmesh-virtual-node-action/compare/v1.0.10...v1.0.11) (2021-09-20) + + +### Bug Fixes + +* **deps:** bump @aws-sdk/client-app-mesh from 3.31.0 to 3.32.0 ([6e534c0](https://github.com/scribd/amazon-appmesh-virtual-node-action/commit/6e534c018670b1beb6a42ca0f571b5fd4e025bdd)) + ## [1.0.10](https://github.com/scribd/amazon-appmesh-virtual-node-action/compare/v1.0.9...v1.0.10) (2021-09-20) diff --git a/dist/index.js b/dist/index.js index 83f8e7b..79e21aa 100644 --- a/dist/index.js +++ b/dist/index.js @@ -5,7 +5,7 @@ /***/ ((module) => { "use strict"; -module.exports = JSON.parse('{"name":"@aws-sdk/client-app-mesh","description":"AWS SDK for JavaScript App Mesh Client for Node.js, Browser and React Native","version":"3.31.0","scripts":{"clean":"yarn remove-definitions && yarn remove-dist && yarn remove-documentation","build-documentation":"yarn remove-documentation && typedoc ./","remove-definitions":"rimraf ./types","remove-dist":"rimraf ./dist","remove-documentation":"rimraf ./docs","test":"exit 0","build:cjs":"tsc -p tsconfig.json","build:es":"tsc -p tsconfig.es.json","build":"yarn build:cjs && yarn build:es","downlevel-dts":"downlevel-dts dist/types dist/types/ts3.4"},"main":"./dist/cjs/index.js","types":"./dist/types/index.d.ts","module":"./dist/es/index.js","browser":{"./runtimeConfig":"./runtimeConfig.browser"},"react-native":{"./runtimeConfig":"./runtimeConfig.native"},"sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"^1.0.0","@aws-crypto/sha256-js":"^1.0.0","@aws-sdk/client-sts":"3.31.0","@aws-sdk/config-resolver":"3.30.0","@aws-sdk/credential-provider-node":"3.31.0","@aws-sdk/fetch-http-handler":"3.29.0","@aws-sdk/hash-node":"3.29.0","@aws-sdk/invalid-dependency":"3.29.0","@aws-sdk/middleware-content-length":"3.29.0","@aws-sdk/middleware-host-header":"3.29.0","@aws-sdk/middleware-logger":"3.29.0","@aws-sdk/middleware-retry":"3.29.0","@aws-sdk/middleware-serde":"3.29.0","@aws-sdk/middleware-signing":"3.30.0","@aws-sdk/middleware-stack":"3.29.0","@aws-sdk/middleware-user-agent":"3.29.0","@aws-sdk/node-config-provider":"3.29.0","@aws-sdk/node-http-handler":"3.29.0","@aws-sdk/protocol-http":"3.29.0","@aws-sdk/smithy-client":"3.31.0","@aws-sdk/types":"3.29.0","@aws-sdk/url-parser":"3.29.0","@aws-sdk/util-base64-browser":"3.29.0","@aws-sdk/util-base64-node":"3.29.0","@aws-sdk/util-body-length-browser":"3.29.0","@aws-sdk/util-body-length-node":"3.29.0","@aws-sdk/util-user-agent-browser":"3.29.0","@aws-sdk/util-user-agent-node":"3.29.0","@aws-sdk/util-utf8-browser":"3.29.0","@aws-sdk/util-utf8-node":"3.29.0","tslib":"^2.3.0","uuid":"^8.3.2"},"devDependencies":{"@aws-sdk/client-documentation-generator":"3.29.0","@types/node":"^12.7.5","@types/uuid":"^8.3.0","downlevel-dts":"0.7.0","jest":"^26.1.0","rimraf":"^3.0.0","ts-jest":"^26.4.1","typedoc":"^0.19.2","typescript":"~4.4.2"},"engines":{"node":">=10.0.0"},"typesVersions":{"<4.0":{"dist/types/*":["dist/types/ts3.4/*"]}},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-app-mesh","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-app-mesh"}}'); +module.exports = JSON.parse('{"name":"@aws-sdk/client-app-mesh","description":"AWS SDK for JavaScript App Mesh Client for Node.js, Browser and React Native","version":"3.32.0","scripts":{"clean":"yarn remove-definitions && yarn remove-dist && yarn remove-documentation","build-documentation":"yarn remove-documentation && typedoc ./","remove-definitions":"rimraf ./types","remove-dist":"rimraf ./dist","remove-documentation":"rimraf ./docs","test":"exit 0","build:cjs":"tsc -p tsconfig.json","build:es":"tsc -p tsconfig.es.json","build":"yarn build:cjs && yarn build:es","downlevel-dts":"downlevel-dts dist/types dist/types/ts3.4"},"main":"./dist/cjs/index.js","types":"./dist/types/index.d.ts","module":"./dist/es/index.js","browser":{"./runtimeConfig":"./runtimeConfig.browser"},"react-native":{"./runtimeConfig":"./runtimeConfig.native"},"sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"^1.0.0","@aws-crypto/sha256-js":"^1.0.0","@aws-sdk/client-sts":"3.32.0","@aws-sdk/config-resolver":"3.32.0","@aws-sdk/credential-provider-node":"3.32.0","@aws-sdk/fetch-http-handler":"3.32.0","@aws-sdk/hash-node":"3.32.0","@aws-sdk/invalid-dependency":"3.32.0","@aws-sdk/middleware-content-length":"3.32.0","@aws-sdk/middleware-host-header":"3.32.0","@aws-sdk/middleware-logger":"3.32.0","@aws-sdk/middleware-retry":"3.32.0","@aws-sdk/middleware-serde":"3.32.0","@aws-sdk/middleware-signing":"3.32.0","@aws-sdk/middleware-stack":"3.32.0","@aws-sdk/middleware-user-agent":"3.32.0","@aws-sdk/node-config-provider":"3.32.0","@aws-sdk/node-http-handler":"3.32.0","@aws-sdk/protocol-http":"3.32.0","@aws-sdk/smithy-client":"3.32.0","@aws-sdk/types":"3.32.0","@aws-sdk/url-parser":"3.32.0","@aws-sdk/util-base64-browser":"3.32.0","@aws-sdk/util-base64-node":"3.32.0","@aws-sdk/util-body-length-browser":"3.32.0","@aws-sdk/util-body-length-node":"3.32.0","@aws-sdk/util-user-agent-browser":"3.32.0","@aws-sdk/util-user-agent-node":"3.32.0","@aws-sdk/util-utf8-browser":"3.32.0","@aws-sdk/util-utf8-node":"3.32.0","tslib":"^2.3.0","uuid":"^8.3.2"},"devDependencies":{"@aws-sdk/client-documentation-generator":"3.32.0","@types/node":"^12.7.5","@types/uuid":"^8.3.0","downlevel-dts":"0.7.0","jest":"^26.1.0","rimraf":"^3.0.0","ts-jest":"^26.4.1","typedoc":"^0.19.2","typescript":"~4.3.5"},"engines":{"node":">=10.0.0"},"typesVersions":{"<4.0":{"dist/types/*":["dist/types/ts3.4/*"]}},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-app-mesh","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-app-mesh"}}'); /***/ }), @@ -13,7 +13,7 @@ module.exports = JSON.parse('{"name":"@aws-sdk/client-app-mesh","description":"A /***/ ((module) => { "use strict"; -module.exports = JSON.parse('{"name":"@aws-sdk/client-sso","description":"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native","version":"3.31.0","scripts":{"clean":"yarn remove-definitions && yarn remove-dist && yarn remove-documentation","build-documentation":"yarn remove-documentation && typedoc ./","remove-definitions":"rimraf ./types","remove-dist":"rimraf ./dist","remove-documentation":"rimraf ./docs","test":"exit 0","build:cjs":"tsc -p tsconfig.json","build:es":"tsc -p tsconfig.es.json","build":"yarn build:cjs && yarn build:es","downlevel-dts":"downlevel-dts dist/types dist/types/ts3.4"},"main":"./dist/cjs/index.js","types":"./dist/types/index.d.ts","module":"./dist/es/index.js","browser":{"./runtimeConfig":"./runtimeConfig.browser"},"react-native":{"./runtimeConfig":"./runtimeConfig.native"},"sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"^1.0.0","@aws-crypto/sha256-js":"^1.0.0","@aws-sdk/config-resolver":"3.30.0","@aws-sdk/fetch-http-handler":"3.29.0","@aws-sdk/hash-node":"3.29.0","@aws-sdk/invalid-dependency":"3.29.0","@aws-sdk/middleware-content-length":"3.29.0","@aws-sdk/middleware-host-header":"3.29.0","@aws-sdk/middleware-logger":"3.29.0","@aws-sdk/middleware-retry":"3.29.0","@aws-sdk/middleware-serde":"3.29.0","@aws-sdk/middleware-stack":"3.29.0","@aws-sdk/middleware-user-agent":"3.29.0","@aws-sdk/node-config-provider":"3.29.0","@aws-sdk/node-http-handler":"3.29.0","@aws-sdk/protocol-http":"3.29.0","@aws-sdk/smithy-client":"3.31.0","@aws-sdk/types":"3.29.0","@aws-sdk/url-parser":"3.29.0","@aws-sdk/util-base64-browser":"3.29.0","@aws-sdk/util-base64-node":"3.29.0","@aws-sdk/util-body-length-browser":"3.29.0","@aws-sdk/util-body-length-node":"3.29.0","@aws-sdk/util-user-agent-browser":"3.29.0","@aws-sdk/util-user-agent-node":"3.29.0","@aws-sdk/util-utf8-browser":"3.29.0","@aws-sdk/util-utf8-node":"3.29.0","tslib":"^2.3.0"},"devDependencies":{"@aws-sdk/client-documentation-generator":"3.29.0","@types/node":"^12.7.5","downlevel-dts":"0.7.0","jest":"^26.1.0","rimraf":"^3.0.0","ts-jest":"^26.4.1","typedoc":"^0.19.2","typescript":"~4.4.2"},"engines":{"node":">=10.0.0"},"typesVersions":{"<4.0":{"dist/types/*":["dist/types/ts3.4/*"]}},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sso"}}'); +module.exports = JSON.parse('{"name":"@aws-sdk/client-sso","description":"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native","version":"3.32.0","scripts":{"clean":"yarn remove-definitions && yarn remove-dist && yarn remove-documentation","build-documentation":"yarn remove-documentation && typedoc ./","remove-definitions":"rimraf ./types","remove-dist":"rimraf ./dist","remove-documentation":"rimraf ./docs","test":"exit 0","build:cjs":"tsc -p tsconfig.json","build:es":"tsc -p tsconfig.es.json","build":"yarn build:cjs && yarn build:es","downlevel-dts":"downlevel-dts dist/types dist/types/ts3.4"},"main":"./dist/cjs/index.js","types":"./dist/types/index.d.ts","module":"./dist/es/index.js","browser":{"./runtimeConfig":"./runtimeConfig.browser"},"react-native":{"./runtimeConfig":"./runtimeConfig.native"},"sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"^1.0.0","@aws-crypto/sha256-js":"^1.0.0","@aws-sdk/config-resolver":"3.32.0","@aws-sdk/fetch-http-handler":"3.32.0","@aws-sdk/hash-node":"3.32.0","@aws-sdk/invalid-dependency":"3.32.0","@aws-sdk/middleware-content-length":"3.32.0","@aws-sdk/middleware-host-header":"3.32.0","@aws-sdk/middleware-logger":"3.32.0","@aws-sdk/middleware-retry":"3.32.0","@aws-sdk/middleware-serde":"3.32.0","@aws-sdk/middleware-stack":"3.32.0","@aws-sdk/middleware-user-agent":"3.32.0","@aws-sdk/node-config-provider":"3.32.0","@aws-sdk/node-http-handler":"3.32.0","@aws-sdk/protocol-http":"3.32.0","@aws-sdk/smithy-client":"3.32.0","@aws-sdk/types":"3.32.0","@aws-sdk/url-parser":"3.32.0","@aws-sdk/util-base64-browser":"3.32.0","@aws-sdk/util-base64-node":"3.32.0","@aws-sdk/util-body-length-browser":"3.32.0","@aws-sdk/util-body-length-node":"3.32.0","@aws-sdk/util-user-agent-browser":"3.32.0","@aws-sdk/util-user-agent-node":"3.32.0","@aws-sdk/util-utf8-browser":"3.32.0","@aws-sdk/util-utf8-node":"3.32.0","tslib":"^2.3.0"},"devDependencies":{"@aws-sdk/client-documentation-generator":"3.32.0","@types/node":"^12.7.5","downlevel-dts":"0.7.0","jest":"^26.1.0","rimraf":"^3.0.0","ts-jest":"^26.4.1","typedoc":"^0.19.2","typescript":"~4.3.5"},"engines":{"node":">=10.0.0"},"typesVersions":{"<4.0":{"dist/types/*":["dist/types/ts3.4/*"]}},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sso"}}'); /***/ }), @@ -21,7 +21,7 @@ module.exports = JSON.parse('{"name":"@aws-sdk/client-sso","description":"AWS SD /***/ ((module) => { "use strict"; -module.exports = JSON.parse('{"name":"@aws-sdk/client-sts","description":"AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native","version":"3.31.0","scripts":{"clean":"yarn remove-definitions && yarn remove-dist && yarn remove-documentation","build-documentation":"yarn remove-documentation && typedoc ./","remove-definitions":"rimraf ./types","remove-dist":"rimraf ./dist","remove-documentation":"rimraf ./docs","test":"exit 0","build:cjs":"tsc -p tsconfig.json","build:es":"tsc -p tsconfig.es.json","build":"yarn build:cjs && yarn build:es","downlevel-dts":"downlevel-dts dist/types dist/types/ts3.4"},"main":"./dist/cjs/index.js","types":"./dist/types/index.d.ts","module":"./dist/es/index.js","browser":{"./runtimeConfig":"./runtimeConfig.browser"},"react-native":{"./runtimeConfig":"./runtimeConfig.native"},"sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"^1.0.0","@aws-crypto/sha256-js":"^1.0.0","@aws-sdk/config-resolver":"3.30.0","@aws-sdk/credential-provider-node":"3.31.0","@aws-sdk/fetch-http-handler":"3.29.0","@aws-sdk/hash-node":"3.29.0","@aws-sdk/invalid-dependency":"3.29.0","@aws-sdk/middleware-content-length":"3.29.0","@aws-sdk/middleware-host-header":"3.29.0","@aws-sdk/middleware-logger":"3.29.0","@aws-sdk/middleware-retry":"3.29.0","@aws-sdk/middleware-sdk-sts":"3.30.0","@aws-sdk/middleware-serde":"3.29.0","@aws-sdk/middleware-signing":"3.30.0","@aws-sdk/middleware-stack":"3.29.0","@aws-sdk/middleware-user-agent":"3.29.0","@aws-sdk/node-config-provider":"3.29.0","@aws-sdk/node-http-handler":"3.29.0","@aws-sdk/protocol-http":"3.29.0","@aws-sdk/smithy-client":"3.31.0","@aws-sdk/types":"3.29.0","@aws-sdk/url-parser":"3.29.0","@aws-sdk/util-base64-browser":"3.29.0","@aws-sdk/util-base64-node":"3.29.0","@aws-sdk/util-body-length-browser":"3.29.0","@aws-sdk/util-body-length-node":"3.29.0","@aws-sdk/util-user-agent-browser":"3.29.0","@aws-sdk/util-user-agent-node":"3.29.0","@aws-sdk/util-utf8-browser":"3.29.0","@aws-sdk/util-utf8-node":"3.29.0","entities":"2.2.0","fast-xml-parser":"3.19.0","tslib":"^2.3.0"},"devDependencies":{"@aws-sdk/client-documentation-generator":"3.29.0","@types/node":"^12.7.5","downlevel-dts":"0.7.0","jest":"^26.1.0","rimraf":"^3.0.0","ts-jest":"^26.4.1","typedoc":"^0.19.2","typescript":"~4.4.2"},"engines":{"node":">=10.0.0"},"typesVersions":{"<4.0":{"dist/types/*":["dist/types/ts3.4/*"]}},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sts"}}'); +module.exports = JSON.parse('{"name":"@aws-sdk/client-sts","description":"AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native","version":"3.32.0","scripts":{"clean":"yarn remove-definitions && yarn remove-dist && yarn remove-documentation","build-documentation":"yarn remove-documentation && typedoc ./","remove-definitions":"rimraf ./types","remove-dist":"rimraf ./dist","remove-documentation":"rimraf ./docs","test":"exit 0","build:cjs":"tsc -p tsconfig.json","build:es":"tsc -p tsconfig.es.json","build":"yarn build:cjs && yarn build:es","downlevel-dts":"downlevel-dts dist/types dist/types/ts3.4"},"main":"./dist/cjs/index.js","types":"./dist/types/index.d.ts","module":"./dist/es/index.js","browser":{"./runtimeConfig":"./runtimeConfig.browser"},"react-native":{"./runtimeConfig":"./runtimeConfig.native"},"sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"^1.0.0","@aws-crypto/sha256-js":"^1.0.0","@aws-sdk/config-resolver":"3.32.0","@aws-sdk/credential-provider-node":"3.32.0","@aws-sdk/fetch-http-handler":"3.32.0","@aws-sdk/hash-node":"3.32.0","@aws-sdk/invalid-dependency":"3.32.0","@aws-sdk/middleware-content-length":"3.32.0","@aws-sdk/middleware-host-header":"3.32.0","@aws-sdk/middleware-logger":"3.32.0","@aws-sdk/middleware-retry":"3.32.0","@aws-sdk/middleware-sdk-sts":"3.32.0","@aws-sdk/middleware-serde":"3.32.0","@aws-sdk/middleware-signing":"3.32.0","@aws-sdk/middleware-stack":"3.32.0","@aws-sdk/middleware-user-agent":"3.32.0","@aws-sdk/node-config-provider":"3.32.0","@aws-sdk/node-http-handler":"3.32.0","@aws-sdk/protocol-http":"3.32.0","@aws-sdk/smithy-client":"3.32.0","@aws-sdk/types":"3.32.0","@aws-sdk/url-parser":"3.32.0","@aws-sdk/util-base64-browser":"3.32.0","@aws-sdk/util-base64-node":"3.32.0","@aws-sdk/util-body-length-browser":"3.32.0","@aws-sdk/util-body-length-node":"3.32.0","@aws-sdk/util-user-agent-browser":"3.32.0","@aws-sdk/util-user-agent-node":"3.32.0","@aws-sdk/util-utf8-browser":"3.32.0","@aws-sdk/util-utf8-node":"3.32.0","entities":"2.2.0","fast-xml-parser":"3.19.0","tslib":"^2.3.0"},"devDependencies":{"@aws-sdk/client-documentation-generator":"3.32.0","@types/node":"^12.7.5","downlevel-dts":"0.7.0","jest":"^26.1.0","rimraf":"^3.0.0","ts-jest":"^26.4.1","typedoc":"^0.19.2","typescript":"~4.3.5"},"engines":{"node":">=10.0.0"},"typesVersions":{"<4.0":{"dist/types/*":["dist/types/ts3.4/*"]}},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sts"}}'); /***/ }), @@ -1531,21 +1531,21 @@ const smithy_client_1 = __nccwpck_require__(2223); */ class AppMeshClient extends smithy_client_1.Client { constructor(configuration) { - let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration); - let _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0); - let _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1); - let _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2); - let _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3); - let _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4); - let _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5); + let _config_0 = runtimeConfig_1.getRuntimeConfig(configuration); + let _config_1 = config_resolver_1.resolveRegionConfig(_config_0); + let _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1); + let _config_3 = middleware_retry_1.resolveRetryConfig(_config_2); + let _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3); + let _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4); + let _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5); super(_config_6); this.config = _config_6; - this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config)); - this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config)); - this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config)); - this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config)); - this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config)); - this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config)); + this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config)); + this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config)); + this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config)); + this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config)); + this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config)); } /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. @@ -1606,7 +1606,7 @@ class CreateGatewayRouteCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -1622,10 +1622,10 @@ class CreateGatewayRouteCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1CreateGatewayRouteCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1CreateGatewayRouteCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1CreateGatewayRouteCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1CreateGatewayRouteCommand(output, context); } } exports.CreateGatewayRouteCommand = CreateGatewayRouteCommand; @@ -1679,7 +1679,7 @@ class CreateMeshCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -1695,10 +1695,10 @@ class CreateMeshCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1CreateMeshCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1CreateMeshCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1CreateMeshCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1CreateMeshCommand(output, context); } } exports.CreateMeshCommand = CreateMeshCommand; @@ -1750,7 +1750,7 @@ class CreateRouteCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -1766,10 +1766,10 @@ class CreateRouteCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1CreateRouteCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1CreateRouteCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1CreateRouteCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1CreateRouteCommand(output, context); } } exports.CreateRouteCommand = CreateRouteCommand; @@ -1824,7 +1824,7 @@ class CreateVirtualGatewayCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -1840,10 +1840,10 @@ class CreateVirtualGatewayCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1CreateVirtualGatewayCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1CreateVirtualGatewayCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1CreateVirtualGatewayCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1CreateVirtualGatewayCommand(output, context); } } exports.CreateVirtualGatewayCommand = CreateVirtualGatewayCommand; @@ -1914,7 +1914,7 @@ class CreateVirtualNodeCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -1930,10 +1930,10 @@ class CreateVirtualNodeCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1CreateVirtualNodeCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1CreateVirtualNodeCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1CreateVirtualNodeCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1CreateVirtualNodeCommand(output, context); } } exports.CreateVirtualNodeCommand = CreateVirtualNodeCommand; @@ -1988,7 +1988,7 @@ class CreateVirtualRouterCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2004,10 +2004,10 @@ class CreateVirtualRouterCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1CreateVirtualRouterCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1CreateVirtualRouterCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1CreateVirtualRouterCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1CreateVirtualRouterCommand(output, context); } } exports.CreateVirtualRouterCommand = CreateVirtualRouterCommand; @@ -2062,7 +2062,7 @@ class CreateVirtualServiceCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2078,10 +2078,10 @@ class CreateVirtualServiceCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1CreateVirtualServiceCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1CreateVirtualServiceCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1CreateVirtualServiceCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1CreateVirtualServiceCommand(output, context); } } exports.CreateVirtualServiceCommand = CreateVirtualServiceCommand; @@ -2130,7 +2130,7 @@ class DeleteGatewayRouteCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2146,10 +2146,10 @@ class DeleteGatewayRouteCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1DeleteGatewayRouteCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1DeleteGatewayRouteCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteGatewayRouteCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1DeleteGatewayRouteCommand(output, context); } } exports.DeleteGatewayRouteCommand = DeleteGatewayRouteCommand; @@ -2200,7 +2200,7 @@ class DeleteMeshCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2216,10 +2216,10 @@ class DeleteMeshCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1DeleteMeshCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1DeleteMeshCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteMeshCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1DeleteMeshCommand(output, context); } } exports.DeleteMeshCommand = DeleteMeshCommand; @@ -2268,7 +2268,7 @@ class DeleteRouteCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2284,10 +2284,10 @@ class DeleteRouteCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1DeleteRouteCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1DeleteRouteCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteRouteCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1DeleteRouteCommand(output, context); } } exports.DeleteRouteCommand = DeleteRouteCommand; @@ -2337,7 +2337,7 @@ class DeleteVirtualGatewayCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2353,10 +2353,10 @@ class DeleteVirtualGatewayCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1DeleteVirtualGatewayCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1DeleteVirtualGatewayCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteVirtualGatewayCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1DeleteVirtualGatewayCommand(output, context); } } exports.DeleteVirtualGatewayCommand = DeleteVirtualGatewayCommand; @@ -2407,7 +2407,7 @@ class DeleteVirtualNodeCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2423,10 +2423,10 @@ class DeleteVirtualNodeCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1DeleteVirtualNodeCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1DeleteVirtualNodeCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteVirtualNodeCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1DeleteVirtualNodeCommand(output, context); } } exports.DeleteVirtualNodeCommand = DeleteVirtualNodeCommand; @@ -2477,7 +2477,7 @@ class DeleteVirtualRouterCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2493,10 +2493,10 @@ class DeleteVirtualRouterCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1DeleteVirtualRouterCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1DeleteVirtualRouterCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteVirtualRouterCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1DeleteVirtualRouterCommand(output, context); } } exports.DeleteVirtualRouterCommand = DeleteVirtualRouterCommand; @@ -2545,7 +2545,7 @@ class DeleteVirtualServiceCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2561,10 +2561,10 @@ class DeleteVirtualServiceCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1DeleteVirtualServiceCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1DeleteVirtualServiceCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteVirtualServiceCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1DeleteVirtualServiceCommand(output, context); } } exports.DeleteVirtualServiceCommand = DeleteVirtualServiceCommand; @@ -2613,7 +2613,7 @@ class DescribeGatewayRouteCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2629,10 +2629,10 @@ class DescribeGatewayRouteCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1DescribeGatewayRouteCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1DescribeGatewayRouteCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeGatewayRouteCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1DescribeGatewayRouteCommand(output, context); } } exports.DescribeGatewayRouteCommand = DescribeGatewayRouteCommand; @@ -2681,7 +2681,7 @@ class DescribeMeshCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2697,10 +2697,10 @@ class DescribeMeshCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1DescribeMeshCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1DescribeMeshCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeMeshCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1DescribeMeshCommand(output, context); } } exports.DescribeMeshCommand = DescribeMeshCommand; @@ -2749,7 +2749,7 @@ class DescribeRouteCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2765,10 +2765,10 @@ class DescribeRouteCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1DescribeRouteCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1DescribeRouteCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeRouteCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1DescribeRouteCommand(output, context); } } exports.DescribeRouteCommand = DescribeRouteCommand; @@ -2817,7 +2817,7 @@ class DescribeVirtualGatewayCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2833,10 +2833,10 @@ class DescribeVirtualGatewayCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1DescribeVirtualGatewayCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1DescribeVirtualGatewayCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeVirtualGatewayCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1DescribeVirtualGatewayCommand(output, context); } } exports.DescribeVirtualGatewayCommand = DescribeVirtualGatewayCommand; @@ -2885,7 +2885,7 @@ class DescribeVirtualNodeCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2901,10 +2901,10 @@ class DescribeVirtualNodeCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1DescribeVirtualNodeCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1DescribeVirtualNodeCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeVirtualNodeCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1DescribeVirtualNodeCommand(output, context); } } exports.DescribeVirtualNodeCommand = DescribeVirtualNodeCommand; @@ -2953,7 +2953,7 @@ class DescribeVirtualRouterCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -2969,10 +2969,10 @@ class DescribeVirtualRouterCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1DescribeVirtualRouterCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1DescribeVirtualRouterCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeVirtualRouterCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1DescribeVirtualRouterCommand(output, context); } } exports.DescribeVirtualRouterCommand = DescribeVirtualRouterCommand; @@ -3021,7 +3021,7 @@ class DescribeVirtualServiceCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3037,10 +3037,10 @@ class DescribeVirtualServiceCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1DescribeVirtualServiceCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1DescribeVirtualServiceCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeVirtualServiceCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1DescribeVirtualServiceCommand(output, context); } } exports.DescribeVirtualServiceCommand = DescribeVirtualServiceCommand; @@ -3090,7 +3090,7 @@ class ListGatewayRoutesCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3106,10 +3106,10 @@ class ListGatewayRoutesCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1ListGatewayRoutesCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1ListGatewayRoutesCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1ListGatewayRoutesCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1ListGatewayRoutesCommand(output, context); } } exports.ListGatewayRoutesCommand = ListGatewayRoutesCommand; @@ -3158,7 +3158,7 @@ class ListMeshesCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3174,10 +3174,10 @@ class ListMeshesCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1ListMeshesCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1ListMeshesCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1ListMeshesCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1ListMeshesCommand(output, context); } } exports.ListMeshesCommand = ListMeshesCommand; @@ -3226,7 +3226,7 @@ class ListRoutesCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3242,10 +3242,10 @@ class ListRoutesCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1ListRoutesCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1ListRoutesCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1ListRoutesCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1ListRoutesCommand(output, context); } } exports.ListRoutesCommand = ListRoutesCommand; @@ -3294,7 +3294,7 @@ class ListTagsForResourceCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3310,10 +3310,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand(output, context); } } exports.ListTagsForResourceCommand = ListTagsForResourceCommand; @@ -3362,7 +3362,7 @@ class ListVirtualGatewaysCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3378,10 +3378,10 @@ class ListVirtualGatewaysCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1ListVirtualGatewaysCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1ListVirtualGatewaysCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1ListVirtualGatewaysCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1ListVirtualGatewaysCommand(output, context); } } exports.ListVirtualGatewaysCommand = ListVirtualGatewaysCommand; @@ -3430,7 +3430,7 @@ class ListVirtualNodesCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3446,10 +3446,10 @@ class ListVirtualNodesCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1ListVirtualNodesCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1ListVirtualNodesCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1ListVirtualNodesCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1ListVirtualNodesCommand(output, context); } } exports.ListVirtualNodesCommand = ListVirtualNodesCommand; @@ -3498,7 +3498,7 @@ class ListVirtualRoutersCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3514,10 +3514,10 @@ class ListVirtualRoutersCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1ListVirtualRoutersCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1ListVirtualRoutersCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1ListVirtualRoutersCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1ListVirtualRoutersCommand(output, context); } } exports.ListVirtualRoutersCommand = ListVirtualRoutersCommand; @@ -3566,7 +3566,7 @@ class ListVirtualServicesCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3582,10 +3582,10 @@ class ListVirtualServicesCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1ListVirtualServicesCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1ListVirtualServicesCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1ListVirtualServicesCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1ListVirtualServicesCommand(output, context); } } exports.ListVirtualServicesCommand = ListVirtualServicesCommand; @@ -3637,7 +3637,7 @@ class TagResourceCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3653,10 +3653,10 @@ class TagResourceCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1TagResourceCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand(output, context); } } exports.TagResourceCommand = TagResourceCommand; @@ -3705,7 +3705,7 @@ class UntagResourceCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3721,10 +3721,10 @@ class UntagResourceCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand(output, context); } } exports.UntagResourceCommand = UntagResourceCommand; @@ -3774,7 +3774,7 @@ class UpdateGatewayRouteCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3790,10 +3790,10 @@ class UpdateGatewayRouteCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1UpdateGatewayRouteCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1UpdateGatewayRouteCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateGatewayRouteCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1UpdateGatewayRouteCommand(output, context); } } exports.UpdateGatewayRouteCommand = UpdateGatewayRouteCommand; @@ -3842,7 +3842,7 @@ class UpdateMeshCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3858,10 +3858,10 @@ class UpdateMeshCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1UpdateMeshCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1UpdateMeshCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateMeshCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1UpdateMeshCommand(output, context); } } exports.UpdateMeshCommand = UpdateMeshCommand; @@ -3910,7 +3910,7 @@ class UpdateRouteCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3926,10 +3926,10 @@ class UpdateRouteCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1UpdateRouteCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1UpdateRouteCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateRouteCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1UpdateRouteCommand(output, context); } } exports.UpdateRouteCommand = UpdateRouteCommand; @@ -3978,7 +3978,7 @@ class UpdateVirtualGatewayCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -3994,10 +3994,10 @@ class UpdateVirtualGatewayCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1UpdateVirtualGatewayCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1UpdateVirtualGatewayCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateVirtualGatewayCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1UpdateVirtualGatewayCommand(output, context); } } exports.UpdateVirtualGatewayCommand = UpdateVirtualGatewayCommand; @@ -4046,7 +4046,7 @@ class UpdateVirtualNodeCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -4062,10 +4062,10 @@ class UpdateVirtualNodeCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1UpdateVirtualNodeCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1UpdateVirtualNodeCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateVirtualNodeCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1UpdateVirtualNodeCommand(output, context); } } exports.UpdateVirtualNodeCommand = UpdateVirtualNodeCommand; @@ -4114,7 +4114,7 @@ class UpdateVirtualRouterCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -4130,10 +4130,10 @@ class UpdateVirtualRouterCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1UpdateVirtualRouterCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1UpdateVirtualRouterCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateVirtualRouterCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1UpdateVirtualRouterCommand(output, context); } } exports.UpdateVirtualRouterCommand = UpdateVirtualRouterCommand; @@ -4182,7 +4182,7 @@ class UpdateVirtualServiceCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "AppMeshClient"; @@ -4198,10 +4198,10 @@ class UpdateVirtualServiceCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1UpdateVirtualServiceCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1UpdateVirtualServiceCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateVirtualServiceCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1UpdateVirtualServiceCommand(output, context); } } exports.UpdateVirtualServiceCommand = UpdateVirtualServiceCommand; @@ -4262,7 +4262,7 @@ const partitionHash = { hostname: "appmesh.{region}.amazonaws.com", }, }; -const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, { +const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, { ...options, signingService: "appmesh", regionHash, @@ -4280,56 +4280,56 @@ exports.defaultRegionInfoProvider = defaultRegionInfoProvider; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(6022), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(5032), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7608), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(1029), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(9270), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(233), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(2352), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6618), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(8559), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7336), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6949), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(9491), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(447), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(5710), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(1784), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(5956), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3246), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3693), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(5086), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6841), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6988), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(1393), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(2258), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6477), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3335), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(875), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(1959), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(9802), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(355), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7703), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3337), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6180), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7930), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3515), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6826), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(8811), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(9204), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7907), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7932), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(8006), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(515), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6778), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3890), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7137), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7356), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(4207), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(9306), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(2143), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7507), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(4213), exports); +tslib_1.__exportStar(__nccwpck_require__(6022), exports); +tslib_1.__exportStar(__nccwpck_require__(5032), exports); +tslib_1.__exportStar(__nccwpck_require__(7608), exports); +tslib_1.__exportStar(__nccwpck_require__(1029), exports); +tslib_1.__exportStar(__nccwpck_require__(9270), exports); +tslib_1.__exportStar(__nccwpck_require__(233), exports); +tslib_1.__exportStar(__nccwpck_require__(2352), exports); +tslib_1.__exportStar(__nccwpck_require__(6618), exports); +tslib_1.__exportStar(__nccwpck_require__(8559), exports); +tslib_1.__exportStar(__nccwpck_require__(7336), exports); +tslib_1.__exportStar(__nccwpck_require__(6949), exports); +tslib_1.__exportStar(__nccwpck_require__(9491), exports); +tslib_1.__exportStar(__nccwpck_require__(447), exports); +tslib_1.__exportStar(__nccwpck_require__(5710), exports); +tslib_1.__exportStar(__nccwpck_require__(1784), exports); +tslib_1.__exportStar(__nccwpck_require__(5956), exports); +tslib_1.__exportStar(__nccwpck_require__(3246), exports); +tslib_1.__exportStar(__nccwpck_require__(3693), exports); +tslib_1.__exportStar(__nccwpck_require__(5086), exports); +tslib_1.__exportStar(__nccwpck_require__(6841), exports); +tslib_1.__exportStar(__nccwpck_require__(6988), exports); +tslib_1.__exportStar(__nccwpck_require__(1393), exports); +tslib_1.__exportStar(__nccwpck_require__(2258), exports); +tslib_1.__exportStar(__nccwpck_require__(6477), exports); +tslib_1.__exportStar(__nccwpck_require__(3335), exports); +tslib_1.__exportStar(__nccwpck_require__(875), exports); +tslib_1.__exportStar(__nccwpck_require__(1959), exports); +tslib_1.__exportStar(__nccwpck_require__(9802), exports); +tslib_1.__exportStar(__nccwpck_require__(355), exports); +tslib_1.__exportStar(__nccwpck_require__(7703), exports); +tslib_1.__exportStar(__nccwpck_require__(3337), exports); +tslib_1.__exportStar(__nccwpck_require__(6180), exports); +tslib_1.__exportStar(__nccwpck_require__(7930), exports); +tslib_1.__exportStar(__nccwpck_require__(3515), exports); +tslib_1.__exportStar(__nccwpck_require__(6826), exports); +tslib_1.__exportStar(__nccwpck_require__(8811), exports); +tslib_1.__exportStar(__nccwpck_require__(9204), exports); +tslib_1.__exportStar(__nccwpck_require__(7907), exports); +tslib_1.__exportStar(__nccwpck_require__(7932), exports); +tslib_1.__exportStar(__nccwpck_require__(8006), exports); +tslib_1.__exportStar(__nccwpck_require__(515), exports); +tslib_1.__exportStar(__nccwpck_require__(6778), exports); +tslib_1.__exportStar(__nccwpck_require__(3890), exports); +tslib_1.__exportStar(__nccwpck_require__(7137), exports); +tslib_1.__exportStar(__nccwpck_require__(7356), exports); +tslib_1.__exportStar(__nccwpck_require__(4207), exports); +tslib_1.__exportStar(__nccwpck_require__(9306), exports); +tslib_1.__exportStar(__nccwpck_require__(2143), exports); +tslib_1.__exportStar(__nccwpck_require__(7507), exports); +tslib_1.__exportStar(__nccwpck_require__(4213), exports); //# sourceMappingURL=index.js.map /***/ }), @@ -4341,7 +4341,7 @@ const tslib_1 = __nccwpck_require__(4351); Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(4001), exports); +tslib_1.__exportStar(__nccwpck_require__(4001), exports); //# sourceMappingURL=index.js.map /***/ }), @@ -7306,7 +7306,7 @@ const serializeAws_restJson1CreateGatewayRouteCommand = async (input, context) = if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7316,7 +7316,7 @@ const serializeAws_restJson1CreateGatewayRouteCommand = async (input, context) = if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualGatewayName."); } - resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualGatewayName."); @@ -7326,7 +7326,7 @@ const serializeAws_restJson1CreateGatewayRouteCommand = async (input, context) = }; let body; body = JSON.stringify({ - clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(), + clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(), ...(input.gatewayRouteName !== undefined && input.gatewayRouteName !== null && { gatewayRouteName: input.gatewayRouteName }), ...(input.spec !== undefined && @@ -7355,7 +7355,7 @@ const serializeAws_restJson1CreateMeshCommand = async (input, context) => { let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes"; let body; body = JSON.stringify({ - clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(), + clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(), ...(input.meshName !== undefined && input.meshName !== null && { meshName: input.meshName }), ...(input.spec !== undefined && input.spec !== null && { spec: serializeAws_restJson1MeshSpec(input.spec, context) }), @@ -7386,7 +7386,7 @@ const serializeAws_restJson1CreateRouteCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7396,7 +7396,7 @@ const serializeAws_restJson1CreateRouteCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualRouterName."); } - resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualRouterName."); @@ -7406,7 +7406,7 @@ const serializeAws_restJson1CreateRouteCommand = async (input, context) => { }; let body; body = JSON.stringify({ - clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(), + clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(), ...(input.routeName !== undefined && input.routeName !== null && { routeName: input.routeName }), ...(input.spec !== undefined && input.spec !== null && { spec: serializeAws_restJson1RouteSpec(input.spec, context) }), @@ -7438,7 +7438,7 @@ const serializeAws_restJson1CreateVirtualGatewayCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7448,7 +7448,7 @@ const serializeAws_restJson1CreateVirtualGatewayCommand = async (input, context) }; let body; body = JSON.stringify({ - clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(), + clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(), ...(input.spec !== undefined && input.spec !== null && { spec: serializeAws_restJson1VirtualGatewaySpec(input.spec, context) }), ...(input.tags !== undefined && @@ -7480,7 +7480,7 @@ const serializeAws_restJson1CreateVirtualNodeCommand = async (input, context) => if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7490,7 +7490,7 @@ const serializeAws_restJson1CreateVirtualNodeCommand = async (input, context) => }; let body; body = JSON.stringify({ - clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(), + clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(), ...(input.spec !== undefined && input.spec !== null && { spec: serializeAws_restJson1VirtualNodeSpec(input.spec, context) }), ...(input.tags !== undefined && @@ -7523,7 +7523,7 @@ const serializeAws_restJson1CreateVirtualRouterCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7533,7 +7533,7 @@ const serializeAws_restJson1CreateVirtualRouterCommand = async (input, context) }; let body; body = JSON.stringify({ - clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(), + clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(), ...(input.spec !== undefined && input.spec !== null && { spec: serializeAws_restJson1VirtualRouterSpec(input.spec, context) }), ...(input.tags !== undefined && @@ -7566,7 +7566,7 @@ const serializeAws_restJson1CreateVirtualServiceCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7576,7 +7576,7 @@ const serializeAws_restJson1CreateVirtualServiceCommand = async (input, context) }; let body; body = JSON.stringify({ - clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(), + clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(), ...(input.spec !== undefined && input.spec !== null && { spec: serializeAws_restJson1VirtualServiceSpec(input.spec, context) }), ...(input.tags !== undefined && @@ -7606,7 +7606,7 @@ const serializeAws_restJson1DeleteGatewayRouteCommand = async (input, context) = if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: gatewayRouteName."); } - resolvedPath = resolvedPath.replace("{gatewayRouteName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{gatewayRouteName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: gatewayRouteName."); @@ -7616,7 +7616,7 @@ const serializeAws_restJson1DeleteGatewayRouteCommand = async (input, context) = if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7626,7 +7626,7 @@ const serializeAws_restJson1DeleteGatewayRouteCommand = async (input, context) = if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualGatewayName."); } - resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualGatewayName."); @@ -7656,7 +7656,7 @@ const serializeAws_restJson1DeleteMeshCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7683,7 +7683,7 @@ const serializeAws_restJson1DeleteRouteCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: routeName."); } - resolvedPath = resolvedPath.replace("{routeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{routeName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: routeName."); @@ -7693,7 +7693,7 @@ const serializeAws_restJson1DeleteRouteCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7703,7 +7703,7 @@ const serializeAws_restJson1DeleteRouteCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualRouterName."); } - resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualRouterName."); @@ -7734,7 +7734,7 @@ const serializeAws_restJson1DeleteVirtualGatewayCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualGatewayName."); } - resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualGatewayName."); @@ -7744,7 +7744,7 @@ const serializeAws_restJson1DeleteVirtualGatewayCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7775,7 +7775,7 @@ const serializeAws_restJson1DeleteVirtualNodeCommand = async (input, context) => if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualNodeName."); } - resolvedPath = resolvedPath.replace("{virtualNodeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualNodeName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualNodeName."); @@ -7785,7 +7785,7 @@ const serializeAws_restJson1DeleteVirtualNodeCommand = async (input, context) => if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7816,7 +7816,7 @@ const serializeAws_restJson1DeleteVirtualRouterCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualRouterName."); } - resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualRouterName."); @@ -7826,7 +7826,7 @@ const serializeAws_restJson1DeleteVirtualRouterCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7857,7 +7857,7 @@ const serializeAws_restJson1DeleteVirtualServiceCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualServiceName."); } - resolvedPath = resolvedPath.replace("{virtualServiceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualServiceName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualServiceName."); @@ -7867,7 +7867,7 @@ const serializeAws_restJson1DeleteVirtualServiceCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7898,7 +7898,7 @@ const serializeAws_restJson1DescribeGatewayRouteCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: gatewayRouteName."); } - resolvedPath = resolvedPath.replace("{gatewayRouteName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{gatewayRouteName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: gatewayRouteName."); @@ -7908,7 +7908,7 @@ const serializeAws_restJson1DescribeGatewayRouteCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7918,7 +7918,7 @@ const serializeAws_restJson1DescribeGatewayRouteCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualGatewayName."); } - resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualGatewayName."); @@ -7948,7 +7948,7 @@ const serializeAws_restJson1DescribeMeshCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7979,7 +7979,7 @@ const serializeAws_restJson1DescribeRouteCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: routeName."); } - resolvedPath = resolvedPath.replace("{routeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{routeName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: routeName."); @@ -7989,7 +7989,7 @@ const serializeAws_restJson1DescribeRouteCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -7999,7 +7999,7 @@ const serializeAws_restJson1DescribeRouteCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualRouterName."); } - resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualRouterName."); @@ -8030,7 +8030,7 @@ const serializeAws_restJson1DescribeVirtualGatewayCommand = async (input, contex if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualGatewayName."); } - resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualGatewayName."); @@ -8040,7 +8040,7 @@ const serializeAws_restJson1DescribeVirtualGatewayCommand = async (input, contex if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8071,7 +8071,7 @@ const serializeAws_restJson1DescribeVirtualNodeCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualNodeName."); } - resolvedPath = resolvedPath.replace("{virtualNodeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualNodeName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualNodeName."); @@ -8081,7 +8081,7 @@ const serializeAws_restJson1DescribeVirtualNodeCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8112,7 +8112,7 @@ const serializeAws_restJson1DescribeVirtualRouterCommand = async (input, context if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualRouterName."); } - resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualRouterName."); @@ -8122,7 +8122,7 @@ const serializeAws_restJson1DescribeVirtualRouterCommand = async (input, context if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8153,7 +8153,7 @@ const serializeAws_restJson1DescribeVirtualServiceCommand = async (input, contex if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualServiceName."); } - resolvedPath = resolvedPath.replace("{virtualServiceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualServiceName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualServiceName."); @@ -8163,7 +8163,7 @@ const serializeAws_restJson1DescribeVirtualServiceCommand = async (input, contex if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8194,7 +8194,7 @@ const serializeAws_restJson1ListGatewayRoutesCommand = async (input, context) => if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8204,7 +8204,7 @@ const serializeAws_restJson1ListGatewayRoutesCommand = async (input, context) => if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualGatewayName."); } - resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualGatewayName."); @@ -8258,7 +8258,7 @@ const serializeAws_restJson1ListRoutesCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8268,7 +8268,7 @@ const serializeAws_restJson1ListRoutesCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualRouterName."); } - resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualRouterName."); @@ -8323,7 +8323,7 @@ const serializeAws_restJson1ListVirtualGatewaysCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8355,7 +8355,7 @@ const serializeAws_restJson1ListVirtualNodesCommand = async (input, context) => if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8388,7 +8388,7 @@ const serializeAws_restJson1ListVirtualRoutersCommand = async (input, context) = if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8421,7 +8421,7 @@ const serializeAws_restJson1ListVirtualServicesCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8509,7 +8509,7 @@ const serializeAws_restJson1UpdateGatewayRouteCommand = async (input, context) = if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: gatewayRouteName."); } - resolvedPath = resolvedPath.replace("{gatewayRouteName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{gatewayRouteName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: gatewayRouteName."); @@ -8519,7 +8519,7 @@ const serializeAws_restJson1UpdateGatewayRouteCommand = async (input, context) = if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8529,7 +8529,7 @@ const serializeAws_restJson1UpdateGatewayRouteCommand = async (input, context) = if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualGatewayName."); } - resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualGatewayName."); @@ -8539,7 +8539,7 @@ const serializeAws_restJson1UpdateGatewayRouteCommand = async (input, context) = }; let body; body = JSON.stringify({ - clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(), + clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(), ...(input.spec !== undefined && input.spec !== null && { spec: serializeAws_restJson1GatewayRouteSpec(input.spec, context) }), }); @@ -8567,14 +8567,14 @@ const serializeAws_restJson1UpdateMeshCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); } let body; body = JSON.stringify({ - clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(), + clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(), ...(input.spec !== undefined && input.spec !== null && { spec: serializeAws_restJson1MeshSpec(input.spec, context) }), }); @@ -8602,7 +8602,7 @@ const serializeAws_restJson1UpdateRouteCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: routeName."); } - resolvedPath = resolvedPath.replace("{routeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{routeName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: routeName."); @@ -8612,7 +8612,7 @@ const serializeAws_restJson1UpdateRouteCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8622,7 +8622,7 @@ const serializeAws_restJson1UpdateRouteCommand = async (input, context) => { if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualRouterName."); } - resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualRouterName."); @@ -8632,7 +8632,7 @@ const serializeAws_restJson1UpdateRouteCommand = async (input, context) => { }; let body; body = JSON.stringify({ - clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(), + clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(), ...(input.spec !== undefined && input.spec !== null && { spec: serializeAws_restJson1RouteSpec(input.spec, context) }), }); @@ -8661,7 +8661,7 @@ const serializeAws_restJson1UpdateVirtualGatewayCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualGatewayName."); } - resolvedPath = resolvedPath.replace("{virtualGatewayName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualGatewayName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualGatewayName."); @@ -8671,7 +8671,7 @@ const serializeAws_restJson1UpdateVirtualGatewayCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8681,7 +8681,7 @@ const serializeAws_restJson1UpdateVirtualGatewayCommand = async (input, context) }; let body; body = JSON.stringify({ - clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(), + clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(), ...(input.spec !== undefined && input.spec !== null && { spec: serializeAws_restJson1VirtualGatewaySpec(input.spec, context) }), }); @@ -8710,7 +8710,7 @@ const serializeAws_restJson1UpdateVirtualNodeCommand = async (input, context) => if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualNodeName."); } - resolvedPath = resolvedPath.replace("{virtualNodeName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualNodeName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualNodeName."); @@ -8720,7 +8720,7 @@ const serializeAws_restJson1UpdateVirtualNodeCommand = async (input, context) => if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8730,7 +8730,7 @@ const serializeAws_restJson1UpdateVirtualNodeCommand = async (input, context) => }; let body; body = JSON.stringify({ - clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(), + clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(), ...(input.spec !== undefined && input.spec !== null && { spec: serializeAws_restJson1VirtualNodeSpec(input.spec, context) }), }); @@ -8759,7 +8759,7 @@ const serializeAws_restJson1UpdateVirtualRouterCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualRouterName."); } - resolvedPath = resolvedPath.replace("{virtualRouterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualRouterName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualRouterName."); @@ -8769,7 +8769,7 @@ const serializeAws_restJson1UpdateVirtualRouterCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8779,7 +8779,7 @@ const serializeAws_restJson1UpdateVirtualRouterCommand = async (input, context) }; let body; body = JSON.stringify({ - clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(), + clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(), ...(input.spec !== undefined && input.spec !== null && { spec: serializeAws_restJson1VirtualRouterSpec(input.spec, context) }), }); @@ -8808,7 +8808,7 @@ const serializeAws_restJson1UpdateVirtualServiceCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: virtualServiceName."); } - resolvedPath = resolvedPath.replace("{virtualServiceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{virtualServiceName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: virtualServiceName."); @@ -8818,7 +8818,7 @@ const serializeAws_restJson1UpdateVirtualServiceCommand = async (input, context) if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: meshName."); } - resolvedPath = resolvedPath.replace("{meshName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue)); + resolvedPath = resolvedPath.replace("{meshName}", smithy_client_1.extendedEncodeURIComponent(labelValue)); } else { throw new Error("No value provided for input HTTP label: meshName."); @@ -8828,7 +8828,7 @@ const serializeAws_restJson1UpdateVirtualServiceCommand = async (input, context) }; let body; body = JSON.stringify({ - clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(), + clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(), ...(input.spec !== undefined && input.spec !== null && { spec: serializeAws_restJson1VirtualServiceSpec(input.spec, context) }), }); @@ -8852,7 +8852,7 @@ const deserializeAws_restJson1CreateGatewayRouteCommand = async (output, context $metadata: deserializeMetadata(output), gatewayRoute: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.gatewayRoute = deserializeAws_restJson1GatewayRouteData(data, context); return Promise.resolve(contents); }; @@ -8954,7 +8954,7 @@ const deserializeAws_restJson1CreateMeshCommand = async (output, context) => { $metadata: deserializeMetadata(output), mesh: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.mesh = deserializeAws_restJson1MeshData(data, context); return Promise.resolve(contents); }; @@ -9056,7 +9056,7 @@ const deserializeAws_restJson1CreateRouteCommand = async (output, context) => { $metadata: deserializeMetadata(output), route: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.route = deserializeAws_restJson1RouteData(data, context); return Promise.resolve(contents); }; @@ -9158,7 +9158,7 @@ const deserializeAws_restJson1CreateVirtualGatewayCommand = async (output, conte $metadata: deserializeMetadata(output), virtualGateway: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualGateway = deserializeAws_restJson1VirtualGatewayData(data, context); return Promise.resolve(contents); }; @@ -9260,7 +9260,7 @@ const deserializeAws_restJson1CreateVirtualNodeCommand = async (output, context) $metadata: deserializeMetadata(output), virtualNode: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualNode = deserializeAws_restJson1VirtualNodeData(data, context); return Promise.resolve(contents); }; @@ -9362,7 +9362,7 @@ const deserializeAws_restJson1CreateVirtualRouterCommand = async (output, contex $metadata: deserializeMetadata(output), virtualRouter: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualRouter = deserializeAws_restJson1VirtualRouterData(data, context); return Promise.resolve(contents); }; @@ -9464,7 +9464,7 @@ const deserializeAws_restJson1CreateVirtualServiceCommand = async (output, conte $metadata: deserializeMetadata(output), virtualService: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualService = deserializeAws_restJson1VirtualServiceData(data, context); return Promise.resolve(contents); }; @@ -9566,7 +9566,7 @@ const deserializeAws_restJson1DeleteGatewayRouteCommand = async (output, context $metadata: deserializeMetadata(output), gatewayRoute: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.gatewayRoute = deserializeAws_restJson1GatewayRouteData(data, context); return Promise.resolve(contents); }; @@ -9660,7 +9660,7 @@ const deserializeAws_restJson1DeleteMeshCommand = async (output, context) => { $metadata: deserializeMetadata(output), mesh: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.mesh = deserializeAws_restJson1MeshData(data, context); return Promise.resolve(contents); }; @@ -9754,7 +9754,7 @@ const deserializeAws_restJson1DeleteRouteCommand = async (output, context) => { $metadata: deserializeMetadata(output), route: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.route = deserializeAws_restJson1RouteData(data, context); return Promise.resolve(contents); }; @@ -9848,7 +9848,7 @@ const deserializeAws_restJson1DeleteVirtualGatewayCommand = async (output, conte $metadata: deserializeMetadata(output), virtualGateway: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualGateway = deserializeAws_restJson1VirtualGatewayData(data, context); return Promise.resolve(contents); }; @@ -9942,7 +9942,7 @@ const deserializeAws_restJson1DeleteVirtualNodeCommand = async (output, context) $metadata: deserializeMetadata(output), virtualNode: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualNode = deserializeAws_restJson1VirtualNodeData(data, context); return Promise.resolve(contents); }; @@ -10036,7 +10036,7 @@ const deserializeAws_restJson1DeleteVirtualRouterCommand = async (output, contex $metadata: deserializeMetadata(output), virtualRouter: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualRouter = deserializeAws_restJson1VirtualRouterData(data, context); return Promise.resolve(contents); }; @@ -10130,7 +10130,7 @@ const deserializeAws_restJson1DeleteVirtualServiceCommand = async (output, conte $metadata: deserializeMetadata(output), virtualService: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualService = deserializeAws_restJson1VirtualServiceData(data, context); return Promise.resolve(contents); }; @@ -10224,7 +10224,7 @@ const deserializeAws_restJson1DescribeGatewayRouteCommand = async (output, conte $metadata: deserializeMetadata(output), gatewayRoute: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.gatewayRoute = deserializeAws_restJson1GatewayRouteData(data, context); return Promise.resolve(contents); }; @@ -10310,7 +10310,7 @@ const deserializeAws_restJson1DescribeMeshCommand = async (output, context) => { $metadata: deserializeMetadata(output), mesh: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.mesh = deserializeAws_restJson1MeshData(data, context); return Promise.resolve(contents); }; @@ -10396,7 +10396,7 @@ const deserializeAws_restJson1DescribeRouteCommand = async (output, context) => $metadata: deserializeMetadata(output), route: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.route = deserializeAws_restJson1RouteData(data, context); return Promise.resolve(contents); }; @@ -10482,7 +10482,7 @@ const deserializeAws_restJson1DescribeVirtualGatewayCommand = async (output, con $metadata: deserializeMetadata(output), virtualGateway: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualGateway = deserializeAws_restJson1VirtualGatewayData(data, context); return Promise.resolve(contents); }; @@ -10568,7 +10568,7 @@ const deserializeAws_restJson1DescribeVirtualNodeCommand = async (output, contex $metadata: deserializeMetadata(output), virtualNode: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualNode = deserializeAws_restJson1VirtualNodeData(data, context); return Promise.resolve(contents); }; @@ -10654,7 +10654,7 @@ const deserializeAws_restJson1DescribeVirtualRouterCommand = async (output, cont $metadata: deserializeMetadata(output), virtualRouter: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualRouter = deserializeAws_restJson1VirtualRouterData(data, context); return Promise.resolve(contents); }; @@ -10740,7 +10740,7 @@ const deserializeAws_restJson1DescribeVirtualServiceCommand = async (output, con $metadata: deserializeMetadata(output), virtualService: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualService = deserializeAws_restJson1VirtualServiceData(data, context); return Promise.resolve(contents); }; @@ -10827,12 +10827,12 @@ const deserializeAws_restJson1ListGatewayRoutesCommand = async (output, context) gatewayRoutes: undefined, nextToken: undefined, }; - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); + const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body"); if (data.gatewayRoutes !== undefined && data.gatewayRoutes !== null) { contents.gatewayRoutes = deserializeAws_restJson1GatewayRouteList(data.gatewayRoutes, context); } if (data.nextToken !== undefined && data.nextToken !== null) { - contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken); + contents.nextToken = smithy_client_1.expectString(data.nextToken); } return Promise.resolve(contents); }; @@ -10919,12 +10919,12 @@ const deserializeAws_restJson1ListMeshesCommand = async (output, context) => { meshes: undefined, nextToken: undefined, }; - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); + const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body"); if (data.meshes !== undefined && data.meshes !== null) { contents.meshes = deserializeAws_restJson1MeshList(data.meshes, context); } if (data.nextToken !== undefined && data.nextToken !== null) { - contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken); + contents.nextToken = smithy_client_1.expectString(data.nextToken); } return Promise.resolve(contents); }; @@ -11011,9 +11011,9 @@ const deserializeAws_restJson1ListRoutesCommand = async (output, context) => { nextToken: undefined, routes: undefined, }; - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); + const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body"); if (data.nextToken !== undefined && data.nextToken !== null) { - contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken); + contents.nextToken = smithy_client_1.expectString(data.nextToken); } if (data.routes !== undefined && data.routes !== null) { contents.routes = deserializeAws_restJson1RouteList(data.routes, context); @@ -11103,9 +11103,9 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex nextToken: undefined, tags: undefined, }; - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); + const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body"); if (data.nextToken !== undefined && data.nextToken !== null) { - contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken); + contents.nextToken = smithy_client_1.expectString(data.nextToken); } if (data.tags !== undefined && data.tags !== null) { contents.tags = deserializeAws_restJson1TagList(data.tags, context); @@ -11195,9 +11195,9 @@ const deserializeAws_restJson1ListVirtualGatewaysCommand = async (output, contex nextToken: undefined, virtualGateways: undefined, }; - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); + const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body"); if (data.nextToken !== undefined && data.nextToken !== null) { - contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken); + contents.nextToken = smithy_client_1.expectString(data.nextToken); } if (data.virtualGateways !== undefined && data.virtualGateways !== null) { contents.virtualGateways = deserializeAws_restJson1VirtualGatewayList(data.virtualGateways, context); @@ -11287,9 +11287,9 @@ const deserializeAws_restJson1ListVirtualNodesCommand = async (output, context) nextToken: undefined, virtualNodes: undefined, }; - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); + const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body"); if (data.nextToken !== undefined && data.nextToken !== null) { - contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken); + contents.nextToken = smithy_client_1.expectString(data.nextToken); } if (data.virtualNodes !== undefined && data.virtualNodes !== null) { contents.virtualNodes = deserializeAws_restJson1VirtualNodeList(data.virtualNodes, context); @@ -11379,9 +11379,9 @@ const deserializeAws_restJson1ListVirtualRoutersCommand = async (output, context nextToken: undefined, virtualRouters: undefined, }; - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); + const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body"); if (data.nextToken !== undefined && data.nextToken !== null) { - contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken); + contents.nextToken = smithy_client_1.expectString(data.nextToken); } if (data.virtualRouters !== undefined && data.virtualRouters !== null) { contents.virtualRouters = deserializeAws_restJson1VirtualRouterList(data.virtualRouters, context); @@ -11471,9 +11471,9 @@ const deserializeAws_restJson1ListVirtualServicesCommand = async (output, contex nextToken: undefined, virtualServices: undefined, }; - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); + const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body"); if (data.nextToken !== undefined && data.nextToken !== null) { - contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken); + contents.nextToken = smithy_client_1.expectString(data.nextToken); } if (data.virtualServices !== undefined && data.virtualServices !== null) { contents.virtualServices = deserializeAws_restJson1VirtualServiceList(data.virtualServices, context); @@ -11738,7 +11738,7 @@ const deserializeAws_restJson1UpdateGatewayRouteCommand = async (output, context $metadata: deserializeMetadata(output), gatewayRoute: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.gatewayRoute = deserializeAws_restJson1GatewayRouteData(data, context); return Promise.resolve(contents); }; @@ -11840,7 +11840,7 @@ const deserializeAws_restJson1UpdateMeshCommand = async (output, context) => { $metadata: deserializeMetadata(output), mesh: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.mesh = deserializeAws_restJson1MeshData(data, context); return Promise.resolve(contents); }; @@ -11934,7 +11934,7 @@ const deserializeAws_restJson1UpdateRouteCommand = async (output, context) => { $metadata: deserializeMetadata(output), route: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.route = deserializeAws_restJson1RouteData(data, context); return Promise.resolve(contents); }; @@ -12036,7 +12036,7 @@ const deserializeAws_restJson1UpdateVirtualGatewayCommand = async (output, conte $metadata: deserializeMetadata(output), virtualGateway: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualGateway = deserializeAws_restJson1VirtualGatewayData(data, context); return Promise.resolve(contents); }; @@ -12138,7 +12138,7 @@ const deserializeAws_restJson1UpdateVirtualNodeCommand = async (output, context) $metadata: deserializeMetadata(output), virtualNode: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualNode = deserializeAws_restJson1VirtualNodeData(data, context); return Promise.resolve(contents); }; @@ -12240,7 +12240,7 @@ const deserializeAws_restJson1UpdateVirtualRouterCommand = async (output, contex $metadata: deserializeMetadata(output), virtualRouter: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualRouter = deserializeAws_restJson1VirtualRouterData(data, context); return Promise.resolve(contents); }; @@ -12342,7 +12342,7 @@ const deserializeAws_restJson1UpdateVirtualServiceCommand = async (output, conte $metadata: deserializeMetadata(output), virtualService: undefined, }; - const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context)); + const data = smithy_client_1.expectObject(await parseBody(output.body, context)); contents.virtualService = deserializeAws_restJson1VirtualServiceData(data, context); return Promise.resolve(contents); }; @@ -12445,7 +12445,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, }; const data = parsedOutput.body; if (data.message !== undefined && data.message !== null) { - contents.message = (0, smithy_client_1.expectString)(data.message); + contents.message = smithy_client_1.expectString(data.message); } return contents; }; @@ -12458,7 +12458,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c }; const data = parsedOutput.body; if (data.message !== undefined && data.message !== null) { - contents.message = (0, smithy_client_1.expectString)(data.message); + contents.message = smithy_client_1.expectString(data.message); } return contents; }; @@ -12471,7 +12471,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, }; const data = parsedOutput.body; if (data.message !== undefined && data.message !== null) { - contents.message = (0, smithy_client_1.expectString)(data.message); + contents.message = smithy_client_1.expectString(data.message); } return contents; }; @@ -12485,7 +12485,7 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars }; const data = parsedOutput.body; if (data.message !== undefined && data.message !== null) { - contents.message = (0, smithy_client_1.expectString)(data.message); + contents.message = smithy_client_1.expectString(data.message); } return contents; }; @@ -12498,7 +12498,7 @@ const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutp }; const data = parsedOutput.body; if (data.message !== undefined && data.message !== null) { - contents.message = (0, smithy_client_1.expectString)(data.message); + contents.message = smithy_client_1.expectString(data.message); } return contents; }; @@ -12511,7 +12511,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c }; const data = parsedOutput.body; if (data.message !== undefined && data.message !== null) { - contents.message = (0, smithy_client_1.expectString)(data.message); + contents.message = smithy_client_1.expectString(data.message); } return contents; }; @@ -12524,7 +12524,7 @@ const deserializeAws_restJson1ResourceInUseExceptionResponse = async (parsedOutp }; const data = parsedOutput.body; if (data.message !== undefined && data.message !== null) { - contents.message = (0, smithy_client_1.expectString)(data.message); + contents.message = smithy_client_1.expectString(data.message); } return contents; }; @@ -12538,7 +12538,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse }; const data = parsedOutput.body; if (data.message !== undefined && data.message !== null) { - contents.message = (0, smithy_client_1.expectString)(data.message); + contents.message = smithy_client_1.expectString(data.message); } return contents; }; @@ -12554,7 +12554,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu }; const data = parsedOutput.body; if (data.message !== undefined && data.message !== null) { - contents.message = (0, smithy_client_1.expectString)(data.message); + contents.message = smithy_client_1.expectString(data.message); } return contents; }; @@ -12567,7 +12567,7 @@ const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput }; const data = parsedOutput.body; if (data.message !== undefined && data.message !== null) { - contents.message = (0, smithy_client_1.expectString)(data.message); + contents.message = smithy_client_1.expectString(data.message); } return contents; }; @@ -13763,8 +13763,8 @@ const deserializeAws_restJson1AccessLog = (output, context) => { }; const deserializeAws_restJson1AwsCloudMapInstanceAttribute = (output, context) => { return { - key: (0, smithy_client_1.expectString)(output.key), - value: (0, smithy_client_1.expectString)(output.value), + key: smithy_client_1.expectString(output.key), + value: smithy_client_1.expectString(output.value), }; }; const deserializeAws_restJson1AwsCloudMapInstanceAttributes = (output, context) => { @@ -13782,8 +13782,8 @@ const deserializeAws_restJson1AwsCloudMapServiceDiscovery = (output, context) => attributes: output.attributes !== undefined && output.attributes !== null ? deserializeAws_restJson1AwsCloudMapInstanceAttributes(output.attributes, context) : undefined, - namespaceName: (0, smithy_client_1.expectString)(output.namespaceName), - serviceName: (0, smithy_client_1.expectString)(output.serviceName), + namespaceName: smithy_client_1.expectString(output.namespaceName), + serviceName: smithy_client_1.expectString(output.serviceName), }; }; const deserializeAws_restJson1Backend = (output, context) => { @@ -13808,7 +13808,7 @@ const deserializeAws_restJson1Backends = (output, context) => { if (entry === null) { return null; } - return deserializeAws_restJson1Backend((0, smithy_client_1.expectUnion)(entry), context); + return deserializeAws_restJson1Backend(smithy_client_1.expectUnion(entry), context); }); }; const deserializeAws_restJson1CertificateAuthorityArns = (output, context) => { @@ -13818,7 +13818,7 @@ const deserializeAws_restJson1CertificateAuthorityArns = (output, context) => { if (entry === null) { return null; } - return (0, smithy_client_1.expectString)(entry); + return smithy_client_1.expectString(entry); }); }; const deserializeAws_restJson1ClientPolicy = (output, context) => { @@ -13831,9 +13831,9 @@ const deserializeAws_restJson1ClientPolicy = (output, context) => { const deserializeAws_restJson1ClientPolicyTls = (output, context) => { return { certificate: output.certificate !== undefined && output.certificate !== null - ? deserializeAws_restJson1ClientTlsCertificate((0, smithy_client_1.expectUnion)(output.certificate), context) + ? deserializeAws_restJson1ClientTlsCertificate(smithy_client_1.expectUnion(output.certificate), context) : undefined, - enforce: (0, smithy_client_1.expectBoolean)(output.enforce), + enforce: smithy_client_1.expectBoolean(output.enforce), ports: output.ports !== undefined && output.ports !== null ? deserializeAws_restJson1PortSet(output.ports, context) : undefined, @@ -13857,30 +13857,30 @@ const deserializeAws_restJson1ClientTlsCertificate = (output, context) => { }; const deserializeAws_restJson1DnsServiceDiscovery = (output, context) => { return { - hostname: (0, smithy_client_1.expectString)(output.hostname), - responseType: (0, smithy_client_1.expectString)(output.responseType), + hostname: smithy_client_1.expectString(output.hostname), + responseType: smithy_client_1.expectString(output.responseType), }; }; const deserializeAws_restJson1Duration = (output, context) => { return { - unit: (0, smithy_client_1.expectString)(output.unit), - value: (0, smithy_client_1.expectLong)(output.value), + unit: smithy_client_1.expectString(output.unit), + value: smithy_client_1.expectLong(output.value), }; }; const deserializeAws_restJson1EgressFilter = (output, context) => { return { - type: (0, smithy_client_1.expectString)(output.type), + type: smithy_client_1.expectString(output.type), }; }; const deserializeAws_restJson1FileAccessLog = (output, context) => { return { - path: (0, smithy_client_1.expectString)(output.path), + path: smithy_client_1.expectString(output.path), }; }; const deserializeAws_restJson1GatewayRouteData = (output, context) => { return { - gatewayRouteName: (0, smithy_client_1.expectString)(output.gatewayRouteName), - meshName: (0, smithy_client_1.expectString)(output.meshName), + gatewayRouteName: smithy_client_1.expectString(output.gatewayRouteName), + meshName: smithy_client_1.expectString(output.meshName), metadata: output.metadata !== undefined && output.metadata !== null ? deserializeAws_restJson1ResourceMetadata(output.metadata, context) : undefined, @@ -13890,18 +13890,18 @@ const deserializeAws_restJson1GatewayRouteData = (output, context) => { status: output.status !== undefined && output.status !== null ? deserializeAws_restJson1GatewayRouteStatus(output.status, context) : undefined, - virtualGatewayName: (0, smithy_client_1.expectString)(output.virtualGatewayName), + virtualGatewayName: smithy_client_1.expectString(output.virtualGatewayName), }; }; const deserializeAws_restJson1GatewayRouteHostnameMatch = (output, context) => { return { - exact: (0, smithy_client_1.expectString)(output.exact), - suffix: (0, smithy_client_1.expectString)(output.suffix), + exact: smithy_client_1.expectString(output.exact), + suffix: smithy_client_1.expectString(output.suffix), }; }; const deserializeAws_restJson1GatewayRouteHostnameRewrite = (output, context) => { return { - defaultTargetHostname: (0, smithy_client_1.expectString)(output.defaultTargetHostname), + defaultTargetHostname: smithy_client_1.expectString(output.defaultTargetHostname), }; }; const deserializeAws_restJson1GatewayRouteList = (output, context) => { @@ -13916,19 +13916,19 @@ const deserializeAws_restJson1GatewayRouteList = (output, context) => { }; const deserializeAws_restJson1GatewayRouteRef = (output, context) => { return { - arn: (0, smithy_client_1.expectString)(output.arn), + arn: smithy_client_1.expectString(output.arn), createdAt: output.createdAt !== undefined && output.createdAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt))) : undefined, - gatewayRouteName: (0, smithy_client_1.expectString)(output.gatewayRouteName), + gatewayRouteName: smithy_client_1.expectString(output.gatewayRouteName), lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt))) : undefined, - meshName: (0, smithy_client_1.expectString)(output.meshName), - meshOwner: (0, smithy_client_1.expectString)(output.meshOwner), - resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner), - version: (0, smithy_client_1.expectLong)(output.version), - virtualGatewayName: (0, smithy_client_1.expectString)(output.virtualGatewayName), + meshName: smithy_client_1.expectString(output.meshName), + meshOwner: smithy_client_1.expectString(output.meshOwner), + resourceOwner: smithy_client_1.expectString(output.resourceOwner), + version: smithy_client_1.expectLong(output.version), + virtualGatewayName: smithy_client_1.expectString(output.virtualGatewayName), }; }; const deserializeAws_restJson1GatewayRouteSpec = (output, context) => { @@ -13942,12 +13942,12 @@ const deserializeAws_restJson1GatewayRouteSpec = (output, context) => { httpRoute: output.httpRoute !== undefined && output.httpRoute !== null ? deserializeAws_restJson1HttpGatewayRoute(output.httpRoute, context) : undefined, - priority: (0, smithy_client_1.expectInt32)(output.priority), + priority: smithy_client_1.expectInt32(output.priority), }; }; const deserializeAws_restJson1GatewayRouteStatus = (output, context) => { return { - status: (0, smithy_client_1.expectString)(output.status), + status: smithy_client_1.expectString(output.status), }; }; const deserializeAws_restJson1GatewayRouteTarget = (output, context) => { @@ -13959,7 +13959,7 @@ const deserializeAws_restJson1GatewayRouteTarget = (output, context) => { }; const deserializeAws_restJson1GatewayRouteVirtualService = (output, context) => { return { - virtualServiceName: (0, smithy_client_1.expectString)(output.virtualServiceName), + virtualServiceName: smithy_client_1.expectString(output.virtualServiceName), }; }; const deserializeAws_restJson1GrpcGatewayRoute = (output, context) => { @@ -13990,16 +13990,16 @@ const deserializeAws_restJson1GrpcGatewayRouteMatch = (output, context) => { metadata: output.metadata !== undefined && output.metadata !== null ? deserializeAws_restJson1GrpcGatewayRouteMetadataList(output.metadata, context) : undefined, - serviceName: (0, smithy_client_1.expectString)(output.serviceName), + serviceName: smithy_client_1.expectString(output.serviceName), }; }; const deserializeAws_restJson1GrpcGatewayRouteMetadata = (output, context) => { return { - invert: (0, smithy_client_1.expectBoolean)(output.invert), + invert: smithy_client_1.expectBoolean(output.invert), match: output.match !== undefined && output.match !== null - ? deserializeAws_restJson1GrpcMetadataMatchMethod((0, smithy_client_1.expectUnion)(output.match), context) + ? deserializeAws_restJson1GrpcMetadataMatchMethod(smithy_client_1.expectUnion(output.match), context) : undefined, - name: (0, smithy_client_1.expectString)(output.name), + name: smithy_client_1.expectString(output.name), }; }; const deserializeAws_restJson1GrpcGatewayRouteMetadataList = (output, context) => { @@ -14020,22 +14020,22 @@ const deserializeAws_restJson1GrpcGatewayRouteRewrite = (output, context) => { }; }; const deserializeAws_restJson1GrpcMetadataMatchMethod = (output, context) => { - if ((0, smithy_client_1.expectString)(output.exact) !== undefined) { - return { exact: (0, smithy_client_1.expectString)(output.exact) }; + if (smithy_client_1.expectString(output.exact) !== undefined) { + return { exact: smithy_client_1.expectString(output.exact) }; } - if ((0, smithy_client_1.expectString)(output.prefix) !== undefined) { - return { prefix: (0, smithy_client_1.expectString)(output.prefix) }; + if (smithy_client_1.expectString(output.prefix) !== undefined) { + return { prefix: smithy_client_1.expectString(output.prefix) }; } if (output.range !== undefined && output.range !== null) { return { range: deserializeAws_restJson1MatchRange(output.range, context), }; } - if ((0, smithy_client_1.expectString)(output.regex) !== undefined) { - return { regex: (0, smithy_client_1.expectString)(output.regex) }; + if (smithy_client_1.expectString(output.regex) !== undefined) { + return { regex: smithy_client_1.expectString(output.regex) }; } - if ((0, smithy_client_1.expectString)(output.suffix) !== undefined) { - return { suffix: (0, smithy_client_1.expectString)(output.suffix) }; + if (smithy_client_1.expectString(output.suffix) !== undefined) { + return { suffix: smithy_client_1.expectString(output.suffix) }; } return { $unknown: Object.entries(output)[0] }; }; @@ -14047,7 +14047,7 @@ const deserializeAws_restJson1GrpcRetryPolicy = (output, context) => { httpRetryEvents: output.httpRetryEvents !== undefined && output.httpRetryEvents !== null ? deserializeAws_restJson1HttpRetryPolicyEvents(output.httpRetryEvents, context) : undefined, - maxRetries: (0, smithy_client_1.expectLong)(output.maxRetries), + maxRetries: smithy_client_1.expectLong(output.maxRetries), perRetryTimeout: output.perRetryTimeout !== undefined && output.perRetryTimeout !== null ? deserializeAws_restJson1Duration(output.perRetryTimeout, context) : undefined, @@ -14063,7 +14063,7 @@ const deserializeAws_restJson1GrpcRetryPolicyEvents = (output, context) => { if (entry === null) { return null; } - return (0, smithy_client_1.expectString)(entry); + return smithy_client_1.expectString(entry); }); }; const deserializeAws_restJson1GrpcRoute = (output, context) => { @@ -14094,17 +14094,17 @@ const deserializeAws_restJson1GrpcRouteMatch = (output, context) => { metadata: output.metadata !== undefined && output.metadata !== null ? deserializeAws_restJson1GrpcRouteMetadataList(output.metadata, context) : undefined, - methodName: (0, smithy_client_1.expectString)(output.methodName), - serviceName: (0, smithy_client_1.expectString)(output.serviceName), + methodName: smithy_client_1.expectString(output.methodName), + serviceName: smithy_client_1.expectString(output.serviceName), }; }; const deserializeAws_restJson1GrpcRouteMetadata = (output, context) => { return { - invert: (0, smithy_client_1.expectBoolean)(output.invert), + invert: smithy_client_1.expectBoolean(output.invert), match: output.match !== undefined && output.match !== null - ? deserializeAws_restJson1GrpcRouteMetadataMatchMethod((0, smithy_client_1.expectUnion)(output.match), context) + ? deserializeAws_restJson1GrpcRouteMetadataMatchMethod(smithy_client_1.expectUnion(output.match), context) : undefined, - name: (0, smithy_client_1.expectString)(output.name), + name: smithy_client_1.expectString(output.name), }; }; const deserializeAws_restJson1GrpcRouteMetadataList = (output, context) => { @@ -14118,22 +14118,22 @@ const deserializeAws_restJson1GrpcRouteMetadataList = (output, context) => { }); }; const deserializeAws_restJson1GrpcRouteMetadataMatchMethod = (output, context) => { - if ((0, smithy_client_1.expectString)(output.exact) !== undefined) { - return { exact: (0, smithy_client_1.expectString)(output.exact) }; + if (smithy_client_1.expectString(output.exact) !== undefined) { + return { exact: smithy_client_1.expectString(output.exact) }; } - if ((0, smithy_client_1.expectString)(output.prefix) !== undefined) { - return { prefix: (0, smithy_client_1.expectString)(output.prefix) }; + if (smithy_client_1.expectString(output.prefix) !== undefined) { + return { prefix: smithy_client_1.expectString(output.prefix) }; } if (output.range !== undefined && output.range !== null) { return { range: deserializeAws_restJson1MatchRange(output.range, context), }; } - if ((0, smithy_client_1.expectString)(output.regex) !== undefined) { - return { regex: (0, smithy_client_1.expectString)(output.regex) }; + if (smithy_client_1.expectString(output.regex) !== undefined) { + return { regex: smithy_client_1.expectString(output.regex) }; } - if ((0, smithy_client_1.expectString)(output.suffix) !== undefined) { - return { suffix: (0, smithy_client_1.expectString)(output.suffix) }; + if (smithy_client_1.expectString(output.suffix) !== undefined) { + return { suffix: smithy_client_1.expectString(output.suffix) }; } return { $unknown: Object.entries(output)[0] }; }; @@ -14148,34 +14148,34 @@ const deserializeAws_restJson1GrpcTimeout = (output, context) => { }; }; const deserializeAws_restJson1HeaderMatchMethod = (output, context) => { - if ((0, smithy_client_1.expectString)(output.exact) !== undefined) { - return { exact: (0, smithy_client_1.expectString)(output.exact) }; + if (smithy_client_1.expectString(output.exact) !== undefined) { + return { exact: smithy_client_1.expectString(output.exact) }; } - if ((0, smithy_client_1.expectString)(output.prefix) !== undefined) { - return { prefix: (0, smithy_client_1.expectString)(output.prefix) }; + if (smithy_client_1.expectString(output.prefix) !== undefined) { + return { prefix: smithy_client_1.expectString(output.prefix) }; } if (output.range !== undefined && output.range !== null) { return { range: deserializeAws_restJson1MatchRange(output.range, context), }; } - if ((0, smithy_client_1.expectString)(output.regex) !== undefined) { - return { regex: (0, smithy_client_1.expectString)(output.regex) }; + if (smithy_client_1.expectString(output.regex) !== undefined) { + return { regex: smithy_client_1.expectString(output.regex) }; } - if ((0, smithy_client_1.expectString)(output.suffix) !== undefined) { - return { suffix: (0, smithy_client_1.expectString)(output.suffix) }; + if (smithy_client_1.expectString(output.suffix) !== undefined) { + return { suffix: smithy_client_1.expectString(output.suffix) }; } return { $unknown: Object.entries(output)[0] }; }; const deserializeAws_restJson1HealthCheckPolicy = (output, context) => { return { - healthyThreshold: (0, smithy_client_1.expectInt32)(output.healthyThreshold), - intervalMillis: (0, smithy_client_1.expectLong)(output.intervalMillis), - path: (0, smithy_client_1.expectString)(output.path), - port: (0, smithy_client_1.expectInt32)(output.port), - protocol: (0, smithy_client_1.expectString)(output.protocol), - timeoutMillis: (0, smithy_client_1.expectLong)(output.timeoutMillis), - unhealthyThreshold: (0, smithy_client_1.expectInt32)(output.unhealthyThreshold), + healthyThreshold: smithy_client_1.expectInt32(output.healthyThreshold), + intervalMillis: smithy_client_1.expectLong(output.intervalMillis), + path: smithy_client_1.expectString(output.path), + port: smithy_client_1.expectInt32(output.port), + protocol: smithy_client_1.expectString(output.protocol), + timeoutMillis: smithy_client_1.expectLong(output.timeoutMillis), + unhealthyThreshold: smithy_client_1.expectInt32(output.unhealthyThreshold), }; }; const deserializeAws_restJson1HttpGatewayRoute = (output, context) => { @@ -14200,11 +14200,11 @@ const deserializeAws_restJson1HttpGatewayRouteAction = (output, context) => { }; const deserializeAws_restJson1HttpGatewayRouteHeader = (output, context) => { return { - invert: (0, smithy_client_1.expectBoolean)(output.invert), + invert: smithy_client_1.expectBoolean(output.invert), match: output.match !== undefined && output.match !== null - ? deserializeAws_restJson1HeaderMatchMethod((0, smithy_client_1.expectUnion)(output.match), context) + ? deserializeAws_restJson1HeaderMatchMethod(smithy_client_1.expectUnion(output.match), context) : undefined, - name: (0, smithy_client_1.expectString)(output.name), + name: smithy_client_1.expectString(output.name), }; }; const deserializeAws_restJson1HttpGatewayRouteHeaders = (output, context) => { @@ -14225,11 +14225,11 @@ const deserializeAws_restJson1HttpGatewayRouteMatch = (output, context) => { hostname: output.hostname !== undefined && output.hostname !== null ? deserializeAws_restJson1GatewayRouteHostnameMatch(output.hostname, context) : undefined, - method: (0, smithy_client_1.expectString)(output.method), + method: smithy_client_1.expectString(output.method), path: output.path !== undefined && output.path !== null ? deserializeAws_restJson1HttpPathMatch(output.path, context) : undefined, - prefix: (0, smithy_client_1.expectString)(output.prefix), + prefix: smithy_client_1.expectString(output.prefix), queryParameters: output.queryParameters !== undefined && output.queryParameters !== null ? deserializeAws_restJson1HttpQueryParameters(output.queryParameters, context) : undefined, @@ -14237,13 +14237,13 @@ const deserializeAws_restJson1HttpGatewayRouteMatch = (output, context) => { }; const deserializeAws_restJson1HttpGatewayRoutePathRewrite = (output, context) => { return { - exact: (0, smithy_client_1.expectString)(output.exact), + exact: smithy_client_1.expectString(output.exact), }; }; const deserializeAws_restJson1HttpGatewayRoutePrefixRewrite = (output, context) => { return { - defaultPrefix: (0, smithy_client_1.expectString)(output.defaultPrefix), - value: (0, smithy_client_1.expectString)(output.value), + defaultPrefix: smithy_client_1.expectString(output.defaultPrefix), + value: smithy_client_1.expectString(output.value), }; }; const deserializeAws_restJson1HttpGatewayRouteRewrite = (output, context) => { @@ -14261,8 +14261,8 @@ const deserializeAws_restJson1HttpGatewayRouteRewrite = (output, context) => { }; const deserializeAws_restJson1HttpPathMatch = (output, context) => { return { - exact: (0, smithy_client_1.expectString)(output.exact), - regex: (0, smithy_client_1.expectString)(output.regex), + exact: smithy_client_1.expectString(output.exact), + regex: smithy_client_1.expectString(output.regex), }; }; const deserializeAws_restJson1HttpQueryParameter = (output, context) => { @@ -14270,7 +14270,7 @@ const deserializeAws_restJson1HttpQueryParameter = (output, context) => { match: output.match !== undefined && output.match !== null ? deserializeAws_restJson1QueryParameterMatch(output.match, context) : undefined, - name: (0, smithy_client_1.expectString)(output.name), + name: smithy_client_1.expectString(output.name), }; }; const deserializeAws_restJson1HttpQueryParameters = (output, context) => { @@ -14288,7 +14288,7 @@ const deserializeAws_restJson1HttpRetryPolicy = (output, context) => { httpRetryEvents: output.httpRetryEvents !== undefined && output.httpRetryEvents !== null ? deserializeAws_restJson1HttpRetryPolicyEvents(output.httpRetryEvents, context) : undefined, - maxRetries: (0, smithy_client_1.expectLong)(output.maxRetries), + maxRetries: smithy_client_1.expectLong(output.maxRetries), perRetryTimeout: output.perRetryTimeout !== undefined && output.perRetryTimeout !== null ? deserializeAws_restJson1Duration(output.perRetryTimeout, context) : undefined, @@ -14304,7 +14304,7 @@ const deserializeAws_restJson1HttpRetryPolicyEvents = (output, context) => { if (entry === null) { return null; } - return (0, smithy_client_1.expectString)(entry); + return smithy_client_1.expectString(entry); }); }; const deserializeAws_restJson1HttpRoute = (output, context) => { @@ -14332,11 +14332,11 @@ const deserializeAws_restJson1HttpRouteAction = (output, context) => { }; const deserializeAws_restJson1HttpRouteHeader = (output, context) => { return { - invert: (0, smithy_client_1.expectBoolean)(output.invert), + invert: smithy_client_1.expectBoolean(output.invert), match: output.match !== undefined && output.match !== null - ? deserializeAws_restJson1HeaderMatchMethod((0, smithy_client_1.expectUnion)(output.match), context) + ? deserializeAws_restJson1HeaderMatchMethod(smithy_client_1.expectUnion(output.match), context) : undefined, - name: (0, smithy_client_1.expectString)(output.name), + name: smithy_client_1.expectString(output.name), }; }; const deserializeAws_restJson1HttpRouteHeaders = (output, context) => { @@ -14354,15 +14354,15 @@ const deserializeAws_restJson1HttpRouteMatch = (output, context) => { headers: output.headers !== undefined && output.headers !== null ? deserializeAws_restJson1HttpRouteHeaders(output.headers, context) : undefined, - method: (0, smithy_client_1.expectString)(output.method), + method: smithy_client_1.expectString(output.method), path: output.path !== undefined && output.path !== null ? deserializeAws_restJson1HttpPathMatch(output.path, context) : undefined, - prefix: (0, smithy_client_1.expectString)(output.prefix), + prefix: smithy_client_1.expectString(output.prefix), queryParameters: output.queryParameters !== undefined && output.queryParameters !== null ? deserializeAws_restJson1HttpQueryParameters(output.queryParameters, context) : undefined, - scheme: (0, smithy_client_1.expectString)(output.scheme), + scheme: smithy_client_1.expectString(output.scheme), }; }; const deserializeAws_restJson1HttpTimeout = (output, context) => { @@ -14378,7 +14378,7 @@ const deserializeAws_restJson1HttpTimeout = (output, context) => { const deserializeAws_restJson1Listener = (output, context) => { return { connectionPool: output.connectionPool !== undefined && output.connectionPool !== null - ? deserializeAws_restJson1VirtualNodeConnectionPool((0, smithy_client_1.expectUnion)(output.connectionPool), context) + ? deserializeAws_restJson1VirtualNodeConnectionPool(smithy_client_1.expectUnion(output.connectionPool), context) : undefined, healthCheck: output.healthCheck !== undefined && output.healthCheck !== null ? deserializeAws_restJson1HealthCheckPolicy(output.healthCheck, context) @@ -14390,7 +14390,7 @@ const deserializeAws_restJson1Listener = (output, context) => { ? deserializeAws_restJson1PortMapping(output.portMapping, context) : undefined, timeout: output.timeout !== undefined && output.timeout !== null - ? deserializeAws_restJson1ListenerTimeout((0, smithy_client_1.expectUnion)(output.timeout), context) + ? deserializeAws_restJson1ListenerTimeout(smithy_client_1.expectUnion(output.timeout), context) : undefined, tls: output.tls !== undefined && output.tls !== null ? deserializeAws_restJson1ListenerTls(output.tls, context) @@ -14433,9 +14433,9 @@ const deserializeAws_restJson1ListenerTimeout = (output, context) => { const deserializeAws_restJson1ListenerTls = (output, context) => { return { certificate: output.certificate !== undefined && output.certificate !== null - ? deserializeAws_restJson1ListenerTlsCertificate((0, smithy_client_1.expectUnion)(output.certificate), context) + ? deserializeAws_restJson1ListenerTlsCertificate(smithy_client_1.expectUnion(output.certificate), context) : undefined, - mode: (0, smithy_client_1.expectString)(output.mode), + mode: smithy_client_1.expectString(output.mode), validation: output.validation !== undefined && output.validation !== null ? deserializeAws_restJson1ListenerTlsValidationContext(output.validation, context) : undefined, @@ -14443,7 +14443,7 @@ const deserializeAws_restJson1ListenerTls = (output, context) => { }; const deserializeAws_restJson1ListenerTlsAcmCertificate = (output, context) => { return { - certificateArn: (0, smithy_client_1.expectString)(output.certificateArn), + certificateArn: smithy_client_1.expectString(output.certificateArn), }; }; const deserializeAws_restJson1ListenerTlsCertificate = (output, context) => { @@ -14466,13 +14466,13 @@ const deserializeAws_restJson1ListenerTlsCertificate = (output, context) => { }; const deserializeAws_restJson1ListenerTlsFileCertificate = (output, context) => { return { - certificateChain: (0, smithy_client_1.expectString)(output.certificateChain), - privateKey: (0, smithy_client_1.expectString)(output.privateKey), + certificateChain: smithy_client_1.expectString(output.certificateChain), + privateKey: smithy_client_1.expectString(output.privateKey), }; }; const deserializeAws_restJson1ListenerTlsSdsCertificate = (output, context) => { return { - secretName: (0, smithy_client_1.expectString)(output.secretName), + secretName: smithy_client_1.expectString(output.secretName), }; }; const deserializeAws_restJson1ListenerTlsValidationContext = (output, context) => { @@ -14481,7 +14481,7 @@ const deserializeAws_restJson1ListenerTlsValidationContext = (output, context) = ? deserializeAws_restJson1SubjectAlternativeNames(output.subjectAlternativeNames, context) : undefined, trust: output.trust !== undefined && output.trust !== null - ? deserializeAws_restJson1ListenerTlsValidationContextTrust((0, smithy_client_1.expectUnion)(output.trust), context) + ? deserializeAws_restJson1ListenerTlsValidationContextTrust(smithy_client_1.expectUnion(output.trust), context) : undefined, }; }; @@ -14501,19 +14501,19 @@ const deserializeAws_restJson1ListenerTlsValidationContextTrust = (output, conte const deserializeAws_restJson1Logging = (output, context) => { return { accessLog: output.accessLog !== undefined && output.accessLog !== null - ? deserializeAws_restJson1AccessLog((0, smithy_client_1.expectUnion)(output.accessLog), context) + ? deserializeAws_restJson1AccessLog(smithy_client_1.expectUnion(output.accessLog), context) : undefined, }; }; const deserializeAws_restJson1MatchRange = (output, context) => { return { - end: (0, smithy_client_1.expectLong)(output.end), - start: (0, smithy_client_1.expectLong)(output.start), + end: smithy_client_1.expectLong(output.end), + start: smithy_client_1.expectLong(output.start), }; }; const deserializeAws_restJson1MeshData = (output, context) => { return { - meshName: (0, smithy_client_1.expectString)(output.meshName), + meshName: smithy_client_1.expectString(output.meshName), metadata: output.metadata !== undefined && output.metadata !== null ? deserializeAws_restJson1ResourceMetadata(output.metadata, context) : undefined, @@ -14537,17 +14537,17 @@ const deserializeAws_restJson1MeshList = (output, context) => { }; const deserializeAws_restJson1MeshRef = (output, context) => { return { - arn: (0, smithy_client_1.expectString)(output.arn), + arn: smithy_client_1.expectString(output.arn), createdAt: output.createdAt !== undefined && output.createdAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt))) : undefined, lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt))) : undefined, - meshName: (0, smithy_client_1.expectString)(output.meshName), - meshOwner: (0, smithy_client_1.expectString)(output.meshOwner), - resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner), - version: (0, smithy_client_1.expectLong)(output.version), + meshName: smithy_client_1.expectString(output.meshName), + meshOwner: smithy_client_1.expectString(output.meshOwner), + resourceOwner: smithy_client_1.expectString(output.resourceOwner), + version: smithy_client_1.expectLong(output.version), }; }; const deserializeAws_restJson1MeshSpec = (output, context) => { @@ -14559,7 +14559,7 @@ const deserializeAws_restJson1MeshSpec = (output, context) => { }; const deserializeAws_restJson1MeshStatus = (output, context) => { return { - status: (0, smithy_client_1.expectString)(output.status), + status: smithy_client_1.expectString(output.status), }; }; const deserializeAws_restJson1OutlierDetection = (output, context) => { @@ -14570,14 +14570,14 @@ const deserializeAws_restJson1OutlierDetection = (output, context) => { interval: output.interval !== undefined && output.interval !== null ? deserializeAws_restJson1Duration(output.interval, context) : undefined, - maxEjectionPercent: (0, smithy_client_1.expectInt32)(output.maxEjectionPercent), - maxServerErrors: (0, smithy_client_1.expectLong)(output.maxServerErrors), + maxEjectionPercent: smithy_client_1.expectInt32(output.maxEjectionPercent), + maxServerErrors: smithy_client_1.expectLong(output.maxServerErrors), }; }; const deserializeAws_restJson1PortMapping = (output, context) => { return { - port: (0, smithy_client_1.expectInt32)(output.port), - protocol: (0, smithy_client_1.expectString)(output.protocol), + port: smithy_client_1.expectInt32(output.port), + protocol: smithy_client_1.expectString(output.protocol), }; }; const deserializeAws_restJson1PortSet = (output, context) => { @@ -14588,7 +14588,7 @@ const deserializeAws_restJson1PortSet = (output, context) => { if (entry === null) { return null; } - const parsedEntry = (0, smithy_client_1.expectInt32)(entry); + const parsedEntry = smithy_client_1.expectInt32(entry); if (uniqueValues.has(parsedEntry)) { throw new TypeError('All elements of the set "com.amazonaws.appmesh#PortSet" must be unique.'); } @@ -14600,38 +14600,38 @@ const deserializeAws_restJson1PortSet = (output, context) => { }; const deserializeAws_restJson1QueryParameterMatch = (output, context) => { return { - exact: (0, smithy_client_1.expectString)(output.exact), + exact: smithy_client_1.expectString(output.exact), }; }; const deserializeAws_restJson1ResourceMetadata = (output, context) => { return { - arn: (0, smithy_client_1.expectString)(output.arn), + arn: smithy_client_1.expectString(output.arn), createdAt: output.createdAt !== undefined && output.createdAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt))) : undefined, lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt))) : undefined, - meshOwner: (0, smithy_client_1.expectString)(output.meshOwner), - resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner), - uid: (0, smithy_client_1.expectString)(output.uid), - version: (0, smithy_client_1.expectLong)(output.version), + meshOwner: smithy_client_1.expectString(output.meshOwner), + resourceOwner: smithy_client_1.expectString(output.resourceOwner), + uid: smithy_client_1.expectString(output.uid), + version: smithy_client_1.expectLong(output.version), }; }; const deserializeAws_restJson1RouteData = (output, context) => { return { - meshName: (0, smithy_client_1.expectString)(output.meshName), + meshName: smithy_client_1.expectString(output.meshName), metadata: output.metadata !== undefined && output.metadata !== null ? deserializeAws_restJson1ResourceMetadata(output.metadata, context) : undefined, - routeName: (0, smithy_client_1.expectString)(output.routeName), + routeName: smithy_client_1.expectString(output.routeName), spec: output.spec !== undefined && output.spec !== null ? deserializeAws_restJson1RouteSpec(output.spec, context) : undefined, status: output.status !== undefined && output.status !== null ? deserializeAws_restJson1RouteStatus(output.status, context) : undefined, - virtualRouterName: (0, smithy_client_1.expectString)(output.virtualRouterName), + virtualRouterName: smithy_client_1.expectString(output.virtualRouterName), }; }; const deserializeAws_restJson1RouteList = (output, context) => { @@ -14646,19 +14646,19 @@ const deserializeAws_restJson1RouteList = (output, context) => { }; const deserializeAws_restJson1RouteRef = (output, context) => { return { - arn: (0, smithy_client_1.expectString)(output.arn), + arn: smithy_client_1.expectString(output.arn), createdAt: output.createdAt !== undefined && output.createdAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt))) : undefined, lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt))) : undefined, - meshName: (0, smithy_client_1.expectString)(output.meshName), - meshOwner: (0, smithy_client_1.expectString)(output.meshOwner), - resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner), - routeName: (0, smithy_client_1.expectString)(output.routeName), - version: (0, smithy_client_1.expectLong)(output.version), - virtualRouterName: (0, smithy_client_1.expectString)(output.virtualRouterName), + meshName: smithy_client_1.expectString(output.meshName), + meshOwner: smithy_client_1.expectString(output.meshOwner), + resourceOwner: smithy_client_1.expectString(output.resourceOwner), + routeName: smithy_client_1.expectString(output.routeName), + version: smithy_client_1.expectLong(output.version), + virtualRouterName: smithy_client_1.expectString(output.virtualRouterName), }; }; const deserializeAws_restJson1RouteSpec = (output, context) => { @@ -14672,7 +14672,7 @@ const deserializeAws_restJson1RouteSpec = (output, context) => { httpRoute: output.httpRoute !== undefined && output.httpRoute !== null ? deserializeAws_restJson1HttpRoute(output.httpRoute, context) : undefined, - priority: (0, smithy_client_1.expectInt32)(output.priority), + priority: smithy_client_1.expectInt32(output.priority), tcpRoute: output.tcpRoute !== undefined && output.tcpRoute !== null ? deserializeAws_restJson1TcpRoute(output.tcpRoute, context) : undefined, @@ -14680,7 +14680,7 @@ const deserializeAws_restJson1RouteSpec = (output, context) => { }; const deserializeAws_restJson1RouteStatus = (output, context) => { return { - status: (0, smithy_client_1.expectString)(output.status), + status: smithy_client_1.expectString(output.status), }; }; const deserializeAws_restJson1ServiceDiscovery = (output, context) => { @@ -14703,7 +14703,7 @@ const deserializeAws_restJson1SubjectAlternativeNameList = (output, context) => if (entry === null) { return null; } - return (0, smithy_client_1.expectString)(entry); + return smithy_client_1.expectString(entry); }); }; const deserializeAws_restJson1SubjectAlternativeNameMatchers = (output, context) => { @@ -14732,8 +14732,8 @@ const deserializeAws_restJson1TagList = (output, context) => { }; const deserializeAws_restJson1TagRef = (output, context) => { return { - key: (0, smithy_client_1.expectString)(output.key), - value: (0, smithy_client_1.expectString)(output.value), + key: smithy_client_1.expectString(output.key), + value: smithy_client_1.expectString(output.value), }; }; const deserializeAws_restJson1TcpRetryPolicyEvents = (output, context) => { @@ -14743,7 +14743,7 @@ const deserializeAws_restJson1TcpRetryPolicyEvents = (output, context) => { if (entry === null) { return null; } - return (0, smithy_client_1.expectString)(entry); + return smithy_client_1.expectString(entry); }); }; const deserializeAws_restJson1TcpRoute = (output, context) => { @@ -14776,7 +14776,7 @@ const deserializeAws_restJson1TlsValidationContext = (output, context) => { ? deserializeAws_restJson1SubjectAlternativeNames(output.subjectAlternativeNames, context) : undefined, trust: output.trust !== undefined && output.trust !== null - ? deserializeAws_restJson1TlsValidationContextTrust((0, smithy_client_1.expectUnion)(output.trust), context) + ? deserializeAws_restJson1TlsValidationContextTrust(smithy_client_1.expectUnion(output.trust), context) : undefined, }; }; @@ -14789,12 +14789,12 @@ const deserializeAws_restJson1TlsValidationContextAcmTrust = (output, context) = }; const deserializeAws_restJson1TlsValidationContextFileTrust = (output, context) => { return { - certificateChain: (0, smithy_client_1.expectString)(output.certificateChain), + certificateChain: smithy_client_1.expectString(output.certificateChain), }; }; const deserializeAws_restJson1TlsValidationContextSdsTrust = (output, context) => { return { - secretName: (0, smithy_client_1.expectString)(output.secretName), + secretName: smithy_client_1.expectString(output.secretName), }; }; const deserializeAws_restJson1TlsValidationContextTrust = (output, context) => { @@ -14837,7 +14837,7 @@ const deserializeAws_restJson1VirtualGatewayCertificateAuthorityArns = (output, if (entry === null) { return null; } - return (0, smithy_client_1.expectString)(entry); + return smithy_client_1.expectString(entry); }); }; const deserializeAws_restJson1VirtualGatewayClientPolicy = (output, context) => { @@ -14850,9 +14850,9 @@ const deserializeAws_restJson1VirtualGatewayClientPolicy = (output, context) => const deserializeAws_restJson1VirtualGatewayClientPolicyTls = (output, context) => { return { certificate: output.certificate !== undefined && output.certificate !== null - ? deserializeAws_restJson1VirtualGatewayClientTlsCertificate((0, smithy_client_1.expectUnion)(output.certificate), context) + ? deserializeAws_restJson1VirtualGatewayClientTlsCertificate(smithy_client_1.expectUnion(output.certificate), context) : undefined, - enforce: (0, smithy_client_1.expectBoolean)(output.enforce), + enforce: smithy_client_1.expectBoolean(output.enforce), ports: output.ports !== undefined && output.ports !== null ? deserializeAws_restJson1PortSet(output.ports, context) : undefined, @@ -14894,7 +14894,7 @@ const deserializeAws_restJson1VirtualGatewayConnectionPool = (output, context) = }; const deserializeAws_restJson1VirtualGatewayData = (output, context) => { return { - meshName: (0, smithy_client_1.expectString)(output.meshName), + meshName: smithy_client_1.expectString(output.meshName), metadata: output.metadata !== undefined && output.metadata !== null ? deserializeAws_restJson1ResourceMetadata(output.metadata, context) : undefined, @@ -14904,39 +14904,39 @@ const deserializeAws_restJson1VirtualGatewayData = (output, context) => { status: output.status !== undefined && output.status !== null ? deserializeAws_restJson1VirtualGatewayStatus(output.status, context) : undefined, - virtualGatewayName: (0, smithy_client_1.expectString)(output.virtualGatewayName), + virtualGatewayName: smithy_client_1.expectString(output.virtualGatewayName), }; }; const deserializeAws_restJson1VirtualGatewayFileAccessLog = (output, context) => { return { - path: (0, smithy_client_1.expectString)(output.path), + path: smithy_client_1.expectString(output.path), }; }; const deserializeAws_restJson1VirtualGatewayGrpcConnectionPool = (output, context) => { return { - maxRequests: (0, smithy_client_1.expectInt32)(output.maxRequests), + maxRequests: smithy_client_1.expectInt32(output.maxRequests), }; }; const deserializeAws_restJson1VirtualGatewayHealthCheckPolicy = (output, context) => { return { - healthyThreshold: (0, smithy_client_1.expectInt32)(output.healthyThreshold), - intervalMillis: (0, smithy_client_1.expectLong)(output.intervalMillis), - path: (0, smithy_client_1.expectString)(output.path), - port: (0, smithy_client_1.expectInt32)(output.port), - protocol: (0, smithy_client_1.expectString)(output.protocol), - timeoutMillis: (0, smithy_client_1.expectLong)(output.timeoutMillis), - unhealthyThreshold: (0, smithy_client_1.expectInt32)(output.unhealthyThreshold), + healthyThreshold: smithy_client_1.expectInt32(output.healthyThreshold), + intervalMillis: smithy_client_1.expectLong(output.intervalMillis), + path: smithy_client_1.expectString(output.path), + port: smithy_client_1.expectInt32(output.port), + protocol: smithy_client_1.expectString(output.protocol), + timeoutMillis: smithy_client_1.expectLong(output.timeoutMillis), + unhealthyThreshold: smithy_client_1.expectInt32(output.unhealthyThreshold), }; }; const deserializeAws_restJson1VirtualGatewayHttp2ConnectionPool = (output, context) => { return { - maxRequests: (0, smithy_client_1.expectInt32)(output.maxRequests), + maxRequests: smithy_client_1.expectInt32(output.maxRequests), }; }; const deserializeAws_restJson1VirtualGatewayHttpConnectionPool = (output, context) => { return { - maxConnections: (0, smithy_client_1.expectInt32)(output.maxConnections), - maxPendingRequests: (0, smithy_client_1.expectInt32)(output.maxPendingRequests), + maxConnections: smithy_client_1.expectInt32(output.maxConnections), + maxPendingRequests: smithy_client_1.expectInt32(output.maxPendingRequests), }; }; const deserializeAws_restJson1VirtualGatewayList = (output, context) => { @@ -14952,7 +14952,7 @@ const deserializeAws_restJson1VirtualGatewayList = (output, context) => { const deserializeAws_restJson1VirtualGatewayListener = (output, context) => { return { connectionPool: output.connectionPool !== undefined && output.connectionPool !== null - ? deserializeAws_restJson1VirtualGatewayConnectionPool((0, smithy_client_1.expectUnion)(output.connectionPool), context) + ? deserializeAws_restJson1VirtualGatewayConnectionPool(smithy_client_1.expectUnion(output.connectionPool), context) : undefined, healthCheck: output.healthCheck !== undefined && output.healthCheck !== null ? deserializeAws_restJson1VirtualGatewayHealthCheckPolicy(output.healthCheck, context) @@ -14978,9 +14978,9 @@ const deserializeAws_restJson1VirtualGatewayListeners = (output, context) => { const deserializeAws_restJson1VirtualGatewayListenerTls = (output, context) => { return { certificate: output.certificate !== undefined && output.certificate !== null - ? deserializeAws_restJson1VirtualGatewayListenerTlsCertificate((0, smithy_client_1.expectUnion)(output.certificate), context) + ? deserializeAws_restJson1VirtualGatewayListenerTlsCertificate(smithy_client_1.expectUnion(output.certificate), context) : undefined, - mode: (0, smithy_client_1.expectString)(output.mode), + mode: smithy_client_1.expectString(output.mode), validation: output.validation !== undefined && output.validation !== null ? deserializeAws_restJson1VirtualGatewayListenerTlsValidationContext(output.validation, context) : undefined, @@ -14988,7 +14988,7 @@ const deserializeAws_restJson1VirtualGatewayListenerTls = (output, context) => { }; const deserializeAws_restJson1VirtualGatewayListenerTlsAcmCertificate = (output, context) => { return { - certificateArn: (0, smithy_client_1.expectString)(output.certificateArn), + certificateArn: smithy_client_1.expectString(output.certificateArn), }; }; const deserializeAws_restJson1VirtualGatewayListenerTlsCertificate = (output, context) => { @@ -15011,13 +15011,13 @@ const deserializeAws_restJson1VirtualGatewayListenerTlsCertificate = (output, co }; const deserializeAws_restJson1VirtualGatewayListenerTlsFileCertificate = (output, context) => { return { - certificateChain: (0, smithy_client_1.expectString)(output.certificateChain), - privateKey: (0, smithy_client_1.expectString)(output.privateKey), + certificateChain: smithy_client_1.expectString(output.certificateChain), + privateKey: smithy_client_1.expectString(output.privateKey), }; }; const deserializeAws_restJson1VirtualGatewayListenerTlsSdsCertificate = (output, context) => { return { - secretName: (0, smithy_client_1.expectString)(output.secretName), + secretName: smithy_client_1.expectString(output.secretName), }; }; const deserializeAws_restJson1VirtualGatewayListenerTlsValidationContext = (output, context) => { @@ -15026,7 +15026,7 @@ const deserializeAws_restJson1VirtualGatewayListenerTlsValidationContext = (outp ? deserializeAws_restJson1SubjectAlternativeNames(output.subjectAlternativeNames, context) : undefined, trust: output.trust !== undefined && output.trust !== null - ? deserializeAws_restJson1VirtualGatewayListenerTlsValidationContextTrust((0, smithy_client_1.expectUnion)(output.trust), context) + ? deserializeAws_restJson1VirtualGatewayListenerTlsValidationContextTrust(smithy_client_1.expectUnion(output.trust), context) : undefined, }; }; @@ -15046,30 +15046,30 @@ const deserializeAws_restJson1VirtualGatewayListenerTlsValidationContextTrust = const deserializeAws_restJson1VirtualGatewayLogging = (output, context) => { return { accessLog: output.accessLog !== undefined && output.accessLog !== null - ? deserializeAws_restJson1VirtualGatewayAccessLog((0, smithy_client_1.expectUnion)(output.accessLog), context) + ? deserializeAws_restJson1VirtualGatewayAccessLog(smithy_client_1.expectUnion(output.accessLog), context) : undefined, }; }; const deserializeAws_restJson1VirtualGatewayPortMapping = (output, context) => { return { - port: (0, smithy_client_1.expectInt32)(output.port), - protocol: (0, smithy_client_1.expectString)(output.protocol), + port: smithy_client_1.expectInt32(output.port), + protocol: smithy_client_1.expectString(output.protocol), }; }; const deserializeAws_restJson1VirtualGatewayRef = (output, context) => { return { - arn: (0, smithy_client_1.expectString)(output.arn), + arn: smithy_client_1.expectString(output.arn), createdAt: output.createdAt !== undefined && output.createdAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt))) : undefined, lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt))) : undefined, - meshName: (0, smithy_client_1.expectString)(output.meshName), - meshOwner: (0, smithy_client_1.expectString)(output.meshOwner), - resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner), - version: (0, smithy_client_1.expectLong)(output.version), - virtualGatewayName: (0, smithy_client_1.expectString)(output.virtualGatewayName), + meshName: smithy_client_1.expectString(output.meshName), + meshOwner: smithy_client_1.expectString(output.meshOwner), + resourceOwner: smithy_client_1.expectString(output.resourceOwner), + version: smithy_client_1.expectLong(output.version), + virtualGatewayName: smithy_client_1.expectString(output.virtualGatewayName), }; }; const deserializeAws_restJson1VirtualGatewaySpec = (output, context) => { @@ -15087,7 +15087,7 @@ const deserializeAws_restJson1VirtualGatewaySpec = (output, context) => { }; const deserializeAws_restJson1VirtualGatewayStatus = (output, context) => { return { - status: (0, smithy_client_1.expectString)(output.status), + status: smithy_client_1.expectString(output.status), }; }; const deserializeAws_restJson1VirtualGatewayTlsValidationContext = (output, context) => { @@ -15096,7 +15096,7 @@ const deserializeAws_restJson1VirtualGatewayTlsValidationContext = (output, cont ? deserializeAws_restJson1SubjectAlternativeNames(output.subjectAlternativeNames, context) : undefined, trust: output.trust !== undefined && output.trust !== null - ? deserializeAws_restJson1VirtualGatewayTlsValidationContextTrust((0, smithy_client_1.expectUnion)(output.trust), context) + ? deserializeAws_restJson1VirtualGatewayTlsValidationContextTrust(smithy_client_1.expectUnion(output.trust), context) : undefined, }; }; @@ -15109,12 +15109,12 @@ const deserializeAws_restJson1VirtualGatewayTlsValidationContextAcmTrust = (outp }; const deserializeAws_restJson1VirtualGatewayTlsValidationContextFileTrust = (output, context) => { return { - certificateChain: (0, smithy_client_1.expectString)(output.certificateChain), + certificateChain: smithy_client_1.expectString(output.certificateChain), }; }; const deserializeAws_restJson1VirtualGatewayTlsValidationContextSdsTrust = (output, context) => { return { - secretName: (0, smithy_client_1.expectString)(output.secretName), + secretName: smithy_client_1.expectString(output.secretName), }; }; const deserializeAws_restJson1VirtualGatewayTlsValidationContextTrust = (output, context) => { @@ -15160,7 +15160,7 @@ const deserializeAws_restJson1VirtualNodeConnectionPool = (output, context) => { }; const deserializeAws_restJson1VirtualNodeData = (output, context) => { return { - meshName: (0, smithy_client_1.expectString)(output.meshName), + meshName: smithy_client_1.expectString(output.meshName), metadata: output.metadata !== undefined && output.metadata !== null ? deserializeAws_restJson1ResourceMetadata(output.metadata, context) : undefined, @@ -15170,23 +15170,23 @@ const deserializeAws_restJson1VirtualNodeData = (output, context) => { status: output.status !== undefined && output.status !== null ? deserializeAws_restJson1VirtualNodeStatus(output.status, context) : undefined, - virtualNodeName: (0, smithy_client_1.expectString)(output.virtualNodeName), + virtualNodeName: smithy_client_1.expectString(output.virtualNodeName), }; }; const deserializeAws_restJson1VirtualNodeGrpcConnectionPool = (output, context) => { return { - maxRequests: (0, smithy_client_1.expectInt32)(output.maxRequests), + maxRequests: smithy_client_1.expectInt32(output.maxRequests), }; }; const deserializeAws_restJson1VirtualNodeHttp2ConnectionPool = (output, context) => { return { - maxRequests: (0, smithy_client_1.expectInt32)(output.maxRequests), + maxRequests: smithy_client_1.expectInt32(output.maxRequests), }; }; const deserializeAws_restJson1VirtualNodeHttpConnectionPool = (output, context) => { return { - maxConnections: (0, smithy_client_1.expectInt32)(output.maxConnections), - maxPendingRequests: (0, smithy_client_1.expectInt32)(output.maxPendingRequests), + maxConnections: smithy_client_1.expectInt32(output.maxConnections), + maxPendingRequests: smithy_client_1.expectInt32(output.maxPendingRequests), }; }; const deserializeAws_restJson1VirtualNodeList = (output, context) => { @@ -15201,23 +15201,23 @@ const deserializeAws_restJson1VirtualNodeList = (output, context) => { }; const deserializeAws_restJson1VirtualNodeRef = (output, context) => { return { - arn: (0, smithy_client_1.expectString)(output.arn), + arn: smithy_client_1.expectString(output.arn), createdAt: output.createdAt !== undefined && output.createdAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt))) : undefined, lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt))) : undefined, - meshName: (0, smithy_client_1.expectString)(output.meshName), - meshOwner: (0, smithy_client_1.expectString)(output.meshOwner), - resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner), - version: (0, smithy_client_1.expectLong)(output.version), - virtualNodeName: (0, smithy_client_1.expectString)(output.virtualNodeName), + meshName: smithy_client_1.expectString(output.meshName), + meshOwner: smithy_client_1.expectString(output.meshOwner), + resourceOwner: smithy_client_1.expectString(output.resourceOwner), + version: smithy_client_1.expectLong(output.version), + virtualNodeName: smithy_client_1.expectString(output.virtualNodeName), }; }; const deserializeAws_restJson1VirtualNodeServiceProvider = (output, context) => { return { - virtualNodeName: (0, smithy_client_1.expectString)(output.virtualNodeName), + virtualNodeName: smithy_client_1.expectString(output.virtualNodeName), }; }; const deserializeAws_restJson1VirtualNodeSpec = (output, context) => { @@ -15235,23 +15235,23 @@ const deserializeAws_restJson1VirtualNodeSpec = (output, context) => { ? deserializeAws_restJson1Logging(output.logging, context) : undefined, serviceDiscovery: output.serviceDiscovery !== undefined && output.serviceDiscovery !== null - ? deserializeAws_restJson1ServiceDiscovery((0, smithy_client_1.expectUnion)(output.serviceDiscovery), context) + ? deserializeAws_restJson1ServiceDiscovery(smithy_client_1.expectUnion(output.serviceDiscovery), context) : undefined, }; }; const deserializeAws_restJson1VirtualNodeStatus = (output, context) => { return { - status: (0, smithy_client_1.expectString)(output.status), + status: smithy_client_1.expectString(output.status), }; }; const deserializeAws_restJson1VirtualNodeTcpConnectionPool = (output, context) => { return { - maxConnections: (0, smithy_client_1.expectInt32)(output.maxConnections), + maxConnections: smithy_client_1.expectInt32(output.maxConnections), }; }; const deserializeAws_restJson1VirtualRouterData = (output, context) => { return { - meshName: (0, smithy_client_1.expectString)(output.meshName), + meshName: smithy_client_1.expectString(output.meshName), metadata: output.metadata !== undefined && output.metadata !== null ? deserializeAws_restJson1ResourceMetadata(output.metadata, context) : undefined, @@ -15261,7 +15261,7 @@ const deserializeAws_restJson1VirtualRouterData = (output, context) => { status: output.status !== undefined && output.status !== null ? deserializeAws_restJson1VirtualRouterStatus(output.status, context) : undefined, - virtualRouterName: (0, smithy_client_1.expectString)(output.virtualRouterName), + virtualRouterName: smithy_client_1.expectString(output.virtualRouterName), }; }; const deserializeAws_restJson1VirtualRouterList = (output, context) => { @@ -15293,23 +15293,23 @@ const deserializeAws_restJson1VirtualRouterListeners = (output, context) => { }; const deserializeAws_restJson1VirtualRouterRef = (output, context) => { return { - arn: (0, smithy_client_1.expectString)(output.arn), + arn: smithy_client_1.expectString(output.arn), createdAt: output.createdAt !== undefined && output.createdAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt))) : undefined, lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt))) : undefined, - meshName: (0, smithy_client_1.expectString)(output.meshName), - meshOwner: (0, smithy_client_1.expectString)(output.meshOwner), - resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner), - version: (0, smithy_client_1.expectLong)(output.version), - virtualRouterName: (0, smithy_client_1.expectString)(output.virtualRouterName), + meshName: smithy_client_1.expectString(output.meshName), + meshOwner: smithy_client_1.expectString(output.meshOwner), + resourceOwner: smithy_client_1.expectString(output.resourceOwner), + version: smithy_client_1.expectLong(output.version), + virtualRouterName: smithy_client_1.expectString(output.virtualRouterName), }; }; const deserializeAws_restJson1VirtualRouterServiceProvider = (output, context) => { return { - virtualRouterName: (0, smithy_client_1.expectString)(output.virtualRouterName), + virtualRouterName: smithy_client_1.expectString(output.virtualRouterName), }; }; const deserializeAws_restJson1VirtualRouterSpec = (output, context) => { @@ -15321,7 +15321,7 @@ const deserializeAws_restJson1VirtualRouterSpec = (output, context) => { }; const deserializeAws_restJson1VirtualRouterStatus = (output, context) => { return { - status: (0, smithy_client_1.expectString)(output.status), + status: smithy_client_1.expectString(output.status), }; }; const deserializeAws_restJson1VirtualServiceBackend = (output, context) => { @@ -15329,12 +15329,12 @@ const deserializeAws_restJson1VirtualServiceBackend = (output, context) => { clientPolicy: output.clientPolicy !== undefined && output.clientPolicy !== null ? deserializeAws_restJson1ClientPolicy(output.clientPolicy, context) : undefined, - virtualServiceName: (0, smithy_client_1.expectString)(output.virtualServiceName), + virtualServiceName: smithy_client_1.expectString(output.virtualServiceName), }; }; const deserializeAws_restJson1VirtualServiceData = (output, context) => { return { - meshName: (0, smithy_client_1.expectString)(output.meshName), + meshName: smithy_client_1.expectString(output.meshName), metadata: output.metadata !== undefined && output.metadata !== null ? deserializeAws_restJson1ResourceMetadata(output.metadata, context) : undefined, @@ -15344,7 +15344,7 @@ const deserializeAws_restJson1VirtualServiceData = (output, context) => { status: output.status !== undefined && output.status !== null ? deserializeAws_restJson1VirtualServiceStatus(output.status, context) : undefined, - virtualServiceName: (0, smithy_client_1.expectString)(output.virtualServiceName), + virtualServiceName: smithy_client_1.expectString(output.virtualServiceName), }; }; const deserializeAws_restJson1VirtualServiceList = (output, context) => { @@ -15372,36 +15372,36 @@ const deserializeAws_restJson1VirtualServiceProvider = (output, context) => { }; const deserializeAws_restJson1VirtualServiceRef = (output, context) => { return { - arn: (0, smithy_client_1.expectString)(output.arn), + arn: smithy_client_1.expectString(output.arn), createdAt: output.createdAt !== undefined && output.createdAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt))) : undefined, lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null - ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt))) + ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt))) : undefined, - meshName: (0, smithy_client_1.expectString)(output.meshName), - meshOwner: (0, smithy_client_1.expectString)(output.meshOwner), - resourceOwner: (0, smithy_client_1.expectString)(output.resourceOwner), - version: (0, smithy_client_1.expectLong)(output.version), - virtualServiceName: (0, smithy_client_1.expectString)(output.virtualServiceName), + meshName: smithy_client_1.expectString(output.meshName), + meshOwner: smithy_client_1.expectString(output.meshOwner), + resourceOwner: smithy_client_1.expectString(output.resourceOwner), + version: smithy_client_1.expectLong(output.version), + virtualServiceName: smithy_client_1.expectString(output.virtualServiceName), }; }; const deserializeAws_restJson1VirtualServiceSpec = (output, context) => { return { provider: output.provider !== undefined && output.provider !== null - ? deserializeAws_restJson1VirtualServiceProvider((0, smithy_client_1.expectUnion)(output.provider), context) + ? deserializeAws_restJson1VirtualServiceProvider(smithy_client_1.expectUnion(output.provider), context) : undefined, }; }; const deserializeAws_restJson1VirtualServiceStatus = (output, context) => { return { - status: (0, smithy_client_1.expectString)(output.status), + status: smithy_client_1.expectString(output.status), }; }; const deserializeAws_restJson1WeightedTarget = (output, context) => { return { - virtualNode: (0, smithy_client_1.expectString)(output.virtualNode), - weight: (0, smithy_client_1.expectInt32)(output.weight), + virtualNode: smithy_client_1.expectString(output.virtualNode), + weight: smithy_client_1.expectInt32(output.weight), }; }; const deserializeAws_restJson1WeightedTargets = (output, context) => { @@ -15482,7 +15482,7 @@ const loadRestJsonErrorCode = (output, data) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getRuntimeConfig = void 0; const tslib_1 = __nccwpck_require__(4351); -const package_json_1 = (0, tslib_1.__importDefault)(__nccwpck_require__(3679)); +const package_json_1 = tslib_1.__importDefault(__nccwpck_require__(3679)); const client_sts_1 = __nccwpck_require__(3285); const config_resolver_1 = __nccwpck_require__(7229); const credential_provider_node_1 = __nccwpck_require__(8030); @@ -15501,8 +15501,8 @@ const smithy_client_1 = __nccwpck_require__(2223); */ const getRuntimeConfig = (config) => { var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; - (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version); - const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + smithy_client_1.emitWarningIfUnsupportedVersion(process.version); + const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config); return { ...clientSharedValues, ...config, @@ -15510,12 +15510,12 @@ const getRuntimeConfig = (config) => { 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 : (0, 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 : (0, 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 : (0, 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 : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), + 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 : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS), + 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, @@ -15683,19 +15683,19 @@ const smithy_client_1 = __nccwpck_require__(2223); */ class SSOClient extends smithy_client_1.Client { constructor(configuration) { - let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration); - let _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0); - let _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1); - let _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2); - let _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3); - let _config_5 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_4); + let _config_0 = runtimeConfig_1.getRuntimeConfig(configuration); + let _config_1 = config_resolver_1.resolveRegionConfig(_config_0); + let _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1); + let _config_3 = middleware_retry_1.resolveRetryConfig(_config_2); + let _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3); + let _config_5 = middleware_user_agent_1.resolveUserAgentConfig(_config_4); super(_config_5); this.config = _config_5; - this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config)); - this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config)); - this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config)); - this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config)); - this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config)); + this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config)); + this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config)); + this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config)); + this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config)); } /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. @@ -15753,7 +15753,7 @@ class GetRoleCredentialsCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "SSOClient"; @@ -15769,10 +15769,10 @@ class GetRoleCredentialsCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1GetRoleCredentialsCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1GetRoleCredentialsCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1GetRoleCredentialsCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1GetRoleCredentialsCommand(output, context); } } exports.GetRoleCredentialsCommand = GetRoleCredentialsCommand; @@ -15821,7 +15821,7 @@ class ListAccountRolesCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "SSOClient"; @@ -15837,10 +15837,10 @@ class ListAccountRolesCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1ListAccountRolesCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1ListAccountRolesCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1ListAccountRolesCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1ListAccountRolesCommand(output, context); } } exports.ListAccountRolesCommand = ListAccountRolesCommand; @@ -15891,7 +15891,7 @@ class ListAccountsCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "SSOClient"; @@ -15907,10 +15907,10 @@ class ListAccountsCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1ListAccountsCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1ListAccountsCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1ListAccountsCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1ListAccountsCommand(output, context); } } exports.ListAccountsCommand = ListAccountsCommand; @@ -15959,7 +15959,7 @@ class LogoutCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "SSOClient"; @@ -15975,10 +15975,10 @@ class LogoutCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.serializeAws_restJson1LogoutCommand)(input, context); + return Aws_restJson1_1.serializeAws_restJson1LogoutCommand(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.deserializeAws_restJson1LogoutCommand)(output, context); + return Aws_restJson1_1.deserializeAws_restJson1LogoutCommand(output, context); } } exports.LogoutCommand = LogoutCommand; @@ -16076,7 +16076,7 @@ const partitionHash = { hostname: "portal.sso.{region}.amazonaws.com", }, }; -const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, { +const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, { ...options, signingService: "awsssoportal", regionHash, @@ -16094,16 +16094,16 @@ exports.defaultRegionInfoProvider = defaultRegionInfoProvider; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(7975), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(8207), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(4703), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(2665), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(5895), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3878), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7118), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(1163), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(1621), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(2913), exports); +tslib_1.__exportStar(__nccwpck_require__(7975), exports); +tslib_1.__exportStar(__nccwpck_require__(8207), exports); +tslib_1.__exportStar(__nccwpck_require__(4703), exports); +tslib_1.__exportStar(__nccwpck_require__(2665), exports); +tslib_1.__exportStar(__nccwpck_require__(5895), exports); +tslib_1.__exportStar(__nccwpck_require__(3878), exports); +tslib_1.__exportStar(__nccwpck_require__(7118), exports); +tslib_1.__exportStar(__nccwpck_require__(1163), exports); +tslib_1.__exportStar(__nccwpck_require__(1621), exports); +tslib_1.__exportStar(__nccwpck_require__(2913), exports); //# sourceMappingURL=index.js.map /***/ }), @@ -16115,7 +16115,7 @@ const tslib_1 = __nccwpck_require__(4351); Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(8928), exports); +tslib_1.__exportStar(__nccwpck_require__(8928), exports); //# sourceMappingURL=index.js.map /***/ }), @@ -16486,7 +16486,7 @@ const deserializeAws_restJson1GetRoleCredentialsCommand = async (output, context $metadata: deserializeMetadata(output), roleCredentials: undefined, }; - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); + const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body"); if (data.roleCredentials !== undefined && data.roleCredentials !== null) { contents.roleCredentials = deserializeAws_restJson1RoleCredentials(data.roleCredentials, context); } @@ -16559,9 +16559,9 @@ const deserializeAws_restJson1ListAccountRolesCommand = async (output, context) nextToken: undefined, roleList: undefined, }; - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); + const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body"); if (data.nextToken !== undefined && data.nextToken !== null) { - contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken); + contents.nextToken = smithy_client_1.expectString(data.nextToken); } if (data.roleList !== undefined && data.roleList !== null) { contents.roleList = deserializeAws_restJson1RoleListType(data.roleList, context); @@ -16635,12 +16635,12 @@ const deserializeAws_restJson1ListAccountsCommand = async (output, context) => { accountList: undefined, nextToken: undefined, }; - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); + const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body"); if (data.accountList !== undefined && data.accountList !== null) { contents.accountList = deserializeAws_restJson1AccountListType(data.accountList, context); } if (data.nextToken !== undefined && data.nextToken !== null) { - contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken); + contents.nextToken = smithy_client_1.expectString(data.nextToken); } return Promise.resolve(contents); }; @@ -16771,7 +16771,7 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut }; const data = parsedOutput.body; if (data.message !== undefined && data.message !== null) { - contents.message = (0, smithy_client_1.expectString)(data.message); + contents.message = smithy_client_1.expectString(data.message); } return contents; }; @@ -16784,7 +16784,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO }; const data = parsedOutput.body; if (data.message !== undefined && data.message !== null) { - contents.message = (0, smithy_client_1.expectString)(data.message); + contents.message = smithy_client_1.expectString(data.message); } return contents; }; @@ -16797,7 +16797,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu }; const data = parsedOutput.body; if (data.message !== undefined && data.message !== null) { - contents.message = (0, smithy_client_1.expectString)(data.message); + contents.message = smithy_client_1.expectString(data.message); } return contents; }; @@ -16810,15 +16810,15 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu }; const data = parsedOutput.body; if (data.message !== undefined && data.message !== null) { - contents.message = (0, smithy_client_1.expectString)(data.message); + contents.message = smithy_client_1.expectString(data.message); } return contents; }; const deserializeAws_restJson1AccountInfo = (output, context) => { return { - accountId: (0, smithy_client_1.expectString)(output.accountId), - accountName: (0, smithy_client_1.expectString)(output.accountName), - emailAddress: (0, smithy_client_1.expectString)(output.emailAddress), + accountId: smithy_client_1.expectString(output.accountId), + accountName: smithy_client_1.expectString(output.accountName), + emailAddress: smithy_client_1.expectString(output.emailAddress), }; }; const deserializeAws_restJson1AccountListType = (output, context) => { @@ -16833,16 +16833,16 @@ const deserializeAws_restJson1AccountListType = (output, context) => { }; const deserializeAws_restJson1RoleCredentials = (output, context) => { return { - accessKeyId: (0, smithy_client_1.expectString)(output.accessKeyId), - expiration: (0, smithy_client_1.expectLong)(output.expiration), - secretAccessKey: (0, smithy_client_1.expectString)(output.secretAccessKey), - sessionToken: (0, smithy_client_1.expectString)(output.sessionToken), + accessKeyId: smithy_client_1.expectString(output.accessKeyId), + expiration: smithy_client_1.expectLong(output.expiration), + secretAccessKey: smithy_client_1.expectString(output.secretAccessKey), + sessionToken: smithy_client_1.expectString(output.sessionToken), }; }; const deserializeAws_restJson1RoleInfo = (output, context) => { return { - accountId: (0, smithy_client_1.expectString)(output.accountId), - roleName: (0, smithy_client_1.expectString)(output.roleName), + accountId: smithy_client_1.expectString(output.accountId), + roleName: smithy_client_1.expectString(output.roleName), }; }; const deserializeAws_restJson1RoleListType = (output, context) => { @@ -16923,7 +16923,7 @@ const loadRestJsonErrorCode = (output, data) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getRuntimeConfig = void 0; const tslib_1 = __nccwpck_require__(4351); -const package_json_1 = (0, tslib_1.__importDefault)(__nccwpck_require__(8267)); +const package_json_1 = tslib_1.__importDefault(__nccwpck_require__(8267)); const config_resolver_1 = __nccwpck_require__(7229); const hash_node_1 = __nccwpck_require__(408); const middleware_retry_1 = __nccwpck_require__(7000); @@ -16940,8 +16940,8 @@ const smithy_client_1 = __nccwpck_require__(2223); */ const getRuntimeConfig = (config) => { var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m; - (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version); - const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + smithy_client_1.emitWarningIfUnsupportedVersion(process.version); + const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config); return { ...clientSharedValues, ...config, @@ -16949,11 +16949,11 @@ const getRuntimeConfig = (config) => { 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, - defaultUserAgentProvider: (_d = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _d !== void 0 ? _d : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), - maxAttempts: (_e = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _e !== void 0 ? _e : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), - region: (_f = config === null || config === void 0 ? void 0 : config.region) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), + defaultUserAgentProvider: (_d = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _d !== void 0 ? _d : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: (_e = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _e !== void 0 ? _e : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: (_f = config === null || config === void 0 ? void 0 : config.region) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_g = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _g !== void 0 ? _g : new node_http_handler_1.NodeHttpHandler(), - retryMode: (_h = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _h !== void 0 ? _h : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS), + retryMode: (_h = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _h !== void 0 ? _h : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_j = config === null || config === void 0 ? void 0 : config.sha256) !== null && _j !== void 0 ? _j : hash_node_1.Hash.bind(null, "sha256"), streamCollector: (_k = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _k !== void 0 ? _k : node_http_handler_1.streamCollector, utf8Decoder: (_l = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _l !== void 0 ? _l : util_utf8_node_1.fromUtf8, @@ -17160,20 +17160,20 @@ const smithy_client_1 = __nccwpck_require__(2223); */ class STSClient extends smithy_client_1.Client { constructor(configuration) { - let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration); - let _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0); - let _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1); - let _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2); - let _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3); - let _config_5 = (0, middleware_sdk_sts_1.resolveStsAuthConfig)(_config_4, { stsClientCtor: STSClient }); - let _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5); + let _config_0 = runtimeConfig_1.getRuntimeConfig(configuration); + let _config_1 = config_resolver_1.resolveRegionConfig(_config_0); + let _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1); + let _config_3 = middleware_retry_1.resolveRetryConfig(_config_2); + let _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3); + let _config_5 = middleware_sdk_sts_1.resolveStsAuthConfig(_config_4, { stsClientCtor: STSClient }); + let _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5); super(_config_6); this.config = _config_6; - this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config)); - this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config)); - this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config)); - this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config)); - this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config)); + this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config)); + this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config)); + this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config)); + this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config)); } /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. @@ -17314,8 +17314,8 @@ class AssumeRoleCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "STSClient"; @@ -17331,10 +17331,10 @@ class AssumeRoleCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_query_1.serializeAws_queryAssumeRoleCommand)(input, context); + return Aws_query_1.serializeAws_queryAssumeRoleCommand(input, context); } deserialize(output, context) { - return (0, Aws_query_1.deserializeAws_queryAssumeRoleCommand)(output, context); + return Aws_query_1.deserializeAws_queryAssumeRoleCommand(output, context); } } exports.AssumeRoleCommand = AssumeRoleCommand; @@ -17514,7 +17514,7 @@ class AssumeRoleWithSAMLCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "STSClient"; @@ -17530,10 +17530,10 @@ class AssumeRoleWithSAMLCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_query_1.serializeAws_queryAssumeRoleWithSAMLCommand)(input, context); + return Aws_query_1.serializeAws_queryAssumeRoleWithSAMLCommand(input, context); } deserialize(output, context) { - return (0, Aws_query_1.deserializeAws_queryAssumeRoleWithSAMLCommand)(output, context); + return Aws_query_1.deserializeAws_queryAssumeRoleWithSAMLCommand(output, context); } } exports.AssumeRoleWithSAMLCommand = AssumeRoleWithSAMLCommand; @@ -17717,7 +17717,7 @@ class AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "STSClient"; @@ -17733,10 +17733,10 @@ class AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_query_1.serializeAws_queryAssumeRoleWithWebIdentityCommand)(input, context); + return Aws_query_1.serializeAws_queryAssumeRoleWithWebIdentityCommand(input, context); } deserialize(output, context) { - return (0, Aws_query_1.deserializeAws_queryAssumeRoleWithWebIdentityCommand)(output, context); + return Aws_query_1.deserializeAws_queryAssumeRoleWithWebIdentityCommand(output, context); } } exports.AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand; @@ -17821,8 +17821,8 @@ class DecodeAuthorizationMessageCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "STSClient"; @@ -17838,10 +17838,10 @@ class DecodeAuthorizationMessageCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_query_1.serializeAws_queryDecodeAuthorizationMessageCommand)(input, context); + return Aws_query_1.serializeAws_queryDecodeAuthorizationMessageCommand(input, context); } deserialize(output, context) { - return (0, Aws_query_1.deserializeAws_queryDecodeAuthorizationMessageCommand)(output, context); + return Aws_query_1.deserializeAws_queryDecodeAuthorizationMessageCommand(output, context); } } exports.DecodeAuthorizationMessageCommand = DecodeAuthorizationMessageCommand; @@ -17908,8 +17908,8 @@ class GetAccessKeyInfoCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "STSClient"; @@ -17925,10 +17925,10 @@ class GetAccessKeyInfoCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_query_1.serializeAws_queryGetAccessKeyInfoCommand)(input, context); + return Aws_query_1.serializeAws_queryGetAccessKeyInfoCommand(input, context); } deserialize(output, context) { - return (0, Aws_query_1.deserializeAws_queryGetAccessKeyInfoCommand)(output, context); + return Aws_query_1.deserializeAws_queryGetAccessKeyInfoCommand(output, context); } } exports.GetAccessKeyInfoCommand = GetAccessKeyInfoCommand; @@ -17987,8 +17987,8 @@ class GetCallerIdentityCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "STSClient"; @@ -18004,10 +18004,10 @@ class GetCallerIdentityCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_query_1.serializeAws_queryGetCallerIdentityCommand)(input, context); + return Aws_query_1.serializeAws_queryGetCallerIdentityCommand(input, context); } deserialize(output, context) { - return (0, Aws_query_1.deserializeAws_queryGetCallerIdentityCommand)(output, context); + return Aws_query_1.deserializeAws_queryGetCallerIdentityCommand(output, context); } } exports.GetCallerIdentityCommand = GetCallerIdentityCommand; @@ -18195,8 +18195,8 @@ class GetFederationTokenCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "STSClient"; @@ -18212,10 +18212,10 @@ class GetFederationTokenCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_query_1.serializeAws_queryGetFederationTokenCommand)(input, context); + return Aws_query_1.serializeAws_queryGetFederationTokenCommand(input, context); } deserialize(output, context) { - return (0, Aws_query_1.deserializeAws_queryGetFederationTokenCommand)(output, context); + return Aws_query_1.deserializeAws_queryGetFederationTokenCommand(output, context); } } exports.GetFederationTokenCommand = GetFederationTokenCommand; @@ -18316,8 +18316,8 @@ class GetSessionTokenCommand extends smithy_client_1.Command { * @internal */ resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); + this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "STSClient"; @@ -18333,10 +18333,10 @@ class GetSessionTokenCommand extends smithy_client_1.Command { return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_query_1.serializeAws_queryGetSessionTokenCommand)(input, context); + return Aws_query_1.serializeAws_queryGetSessionTokenCommand(input, context); } deserialize(output, context) { - return (0, Aws_query_1.deserializeAws_queryGetSessionTokenCommand)(output, context); + return Aws_query_1.deserializeAws_queryGetSessionTokenCommand(output, context); } } exports.GetSessionTokenCommand = GetSessionTokenCommand; @@ -18358,12 +18358,12 @@ const STSClient_1 = __nccwpck_require__(2316); /** * The default role assumer that used by credential providers when sts:AssumeRole API is needed. */ -const getDefaultRoleAssumer = (stsOptions = {}) => (0, defaultStsRoleAssumers_1.getDefaultRoleAssumer)(stsOptions, STSClient_1.STSClient); +const getDefaultRoleAssumer = (stsOptions = {}) => defaultStsRoleAssumers_1.getDefaultRoleAssumer(stsOptions, STSClient_1.STSClient); exports.getDefaultRoleAssumer = getDefaultRoleAssumer; /** * The default role assumer that used by credential providers when sts:AssumeRoleWithWebIdentity API is needed. */ -const getDefaultRoleAssumerWithWebIdentity = (stsOptions = {}) => (0, defaultStsRoleAssumers_1.getDefaultRoleAssumerWithWebIdentity)(stsOptions, STSClient_1.STSClient); +const getDefaultRoleAssumerWithWebIdentity = (stsOptions = {}) => defaultStsRoleAssumers_1.getDefaultRoleAssumerWithWebIdentity(stsOptions, STSClient_1.STSClient); exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity; /** * The default credential providers depend STS client to assume role with desired API: sts:assumeRole, @@ -18374,8 +18374,8 @@ exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdent * @internal */ const decorateDefaultCredentialProvider = (provider) => (input) => provider({ - roleAssumer: (0, exports.getDefaultRoleAssumer)(input), - roleAssumerWithWebIdentity: (0, exports.getDefaultRoleAssumerWithWebIdentity)(input), + roleAssumer: exports.getDefaultRoleAssumer(input), + roleAssumerWithWebIdentity: exports.getDefaultRoleAssumerWithWebIdentity(input), ...input, }); exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider; @@ -18478,8 +18478,8 @@ exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdent * @internal */ const decorateDefaultCredentialProvider = (provider) => (input) => provider({ - roleAssumer: (0, exports.getDefaultRoleAssumer)(input, input.stsClientCtor), - roleAssumerWithWebIdentity: (0, exports.getDefaultRoleAssumerWithWebIdentity)(input, input.stsClientCtor), + roleAssumer: exports.getDefaultRoleAssumer(input, input.stsClientCtor), + roleAssumerWithWebIdentity: exports.getDefaultRoleAssumerWithWebIdentity(input, input.stsClientCtor), ...input, }); exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider; @@ -18574,7 +18574,7 @@ const partitionHash = { hostname: "sts.{region}.amazonaws.com", }, }; -const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, { +const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, { ...options, signingService: "sts", regionHash, @@ -18592,18 +18592,18 @@ exports.defaultRegionInfoProvider = defaultRegionInfoProvider; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(2316), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3853), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3638), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(550), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(1733), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(9448), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(4317), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(2439), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(5239), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6499), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7716), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(5231), exports); +tslib_1.__exportStar(__nccwpck_require__(2316), exports); +tslib_1.__exportStar(__nccwpck_require__(3853), exports); +tslib_1.__exportStar(__nccwpck_require__(3638), exports); +tslib_1.__exportStar(__nccwpck_require__(550), exports); +tslib_1.__exportStar(__nccwpck_require__(1733), exports); +tslib_1.__exportStar(__nccwpck_require__(9448), exports); +tslib_1.__exportStar(__nccwpck_require__(4317), exports); +tslib_1.__exportStar(__nccwpck_require__(2439), exports); +tslib_1.__exportStar(__nccwpck_require__(5239), exports); +tslib_1.__exportStar(__nccwpck_require__(6499), exports); +tslib_1.__exportStar(__nccwpck_require__(7716), exports); +tslib_1.__exportStar(__nccwpck_require__(5231), exports); //# sourceMappingURL=index.js.map /***/ }), @@ -18615,7 +18615,7 @@ const tslib_1 = __nccwpck_require__(4351); Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(536), exports); +tslib_1.__exportStar(__nccwpck_require__(536), exports); //# sourceMappingURL=index.js.map /***/ }), @@ -19810,10 +19810,10 @@ const deserializeAws_queryAssumedRoleUser = (output, context) => { Arn: undefined, }; if (output["AssumedRoleId"] !== undefined) { - contents.AssumedRoleId = (0, smithy_client_1.expectString)(output["AssumedRoleId"]); + contents.AssumedRoleId = smithy_client_1.expectString(output["AssumedRoleId"]); } if (output["Arn"] !== undefined) { - contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]); + contents.Arn = smithy_client_1.expectString(output["Arn"]); } return contents; }; @@ -19831,10 +19831,10 @@ const deserializeAws_queryAssumeRoleResponse = (output, context) => { contents.AssumedRoleUser = deserializeAws_queryAssumedRoleUser(output["AssumedRoleUser"], context); } if (output["PackedPolicySize"] !== undefined) { - contents.PackedPolicySize = (0, smithy_client_1.strictParseInt32)(output["PackedPolicySize"]); + contents.PackedPolicySize = smithy_client_1.strictParseInt32(output["PackedPolicySize"]); } if (output["SourceIdentity"] !== undefined) { - contents.SourceIdentity = (0, smithy_client_1.expectString)(output["SourceIdentity"]); + contents.SourceIdentity = smithy_client_1.expectString(output["SourceIdentity"]); } return contents; }; @@ -19857,25 +19857,25 @@ const deserializeAws_queryAssumeRoleWithSAMLResponse = (output, context) => { contents.AssumedRoleUser = deserializeAws_queryAssumedRoleUser(output["AssumedRoleUser"], context); } if (output["PackedPolicySize"] !== undefined) { - contents.PackedPolicySize = (0, smithy_client_1.strictParseInt32)(output["PackedPolicySize"]); + contents.PackedPolicySize = smithy_client_1.strictParseInt32(output["PackedPolicySize"]); } if (output["Subject"] !== undefined) { - contents.Subject = (0, smithy_client_1.expectString)(output["Subject"]); + contents.Subject = smithy_client_1.expectString(output["Subject"]); } if (output["SubjectType"] !== undefined) { - contents.SubjectType = (0, smithy_client_1.expectString)(output["SubjectType"]); + contents.SubjectType = smithy_client_1.expectString(output["SubjectType"]); } if (output["Issuer"] !== undefined) { - contents.Issuer = (0, smithy_client_1.expectString)(output["Issuer"]); + contents.Issuer = smithy_client_1.expectString(output["Issuer"]); } if (output["Audience"] !== undefined) { - contents.Audience = (0, smithy_client_1.expectString)(output["Audience"]); + contents.Audience = smithy_client_1.expectString(output["Audience"]); } if (output["NameQualifier"] !== undefined) { - contents.NameQualifier = (0, smithy_client_1.expectString)(output["NameQualifier"]); + contents.NameQualifier = smithy_client_1.expectString(output["NameQualifier"]); } if (output["SourceIdentity"] !== undefined) { - contents.SourceIdentity = (0, smithy_client_1.expectString)(output["SourceIdentity"]); + contents.SourceIdentity = smithy_client_1.expectString(output["SourceIdentity"]); } return contents; }; @@ -19893,22 +19893,22 @@ const deserializeAws_queryAssumeRoleWithWebIdentityResponse = (output, context) contents.Credentials = deserializeAws_queryCredentials(output["Credentials"], context); } if (output["SubjectFromWebIdentityToken"] !== undefined) { - contents.SubjectFromWebIdentityToken = (0, smithy_client_1.expectString)(output["SubjectFromWebIdentityToken"]); + contents.SubjectFromWebIdentityToken = smithy_client_1.expectString(output["SubjectFromWebIdentityToken"]); } if (output["AssumedRoleUser"] !== undefined) { contents.AssumedRoleUser = deserializeAws_queryAssumedRoleUser(output["AssumedRoleUser"], context); } if (output["PackedPolicySize"] !== undefined) { - contents.PackedPolicySize = (0, smithy_client_1.strictParseInt32)(output["PackedPolicySize"]); + contents.PackedPolicySize = smithy_client_1.strictParseInt32(output["PackedPolicySize"]); } if (output["Provider"] !== undefined) { - contents.Provider = (0, smithy_client_1.expectString)(output["Provider"]); + contents.Provider = smithy_client_1.expectString(output["Provider"]); } if (output["Audience"] !== undefined) { - contents.Audience = (0, smithy_client_1.expectString)(output["Audience"]); + contents.Audience = smithy_client_1.expectString(output["Audience"]); } if (output["SourceIdentity"] !== undefined) { - contents.SourceIdentity = (0, smithy_client_1.expectString)(output["SourceIdentity"]); + contents.SourceIdentity = smithy_client_1.expectString(output["SourceIdentity"]); } return contents; }; @@ -19920,16 +19920,16 @@ const deserializeAws_queryCredentials = (output, context) => { Expiration: undefined, }; if (output["AccessKeyId"] !== undefined) { - contents.AccessKeyId = (0, smithy_client_1.expectString)(output["AccessKeyId"]); + contents.AccessKeyId = smithy_client_1.expectString(output["AccessKeyId"]); } if (output["SecretAccessKey"] !== undefined) { - contents.SecretAccessKey = (0, smithy_client_1.expectString)(output["SecretAccessKey"]); + contents.SecretAccessKey = smithy_client_1.expectString(output["SecretAccessKey"]); } if (output["SessionToken"] !== undefined) { - contents.SessionToken = (0, smithy_client_1.expectString)(output["SessionToken"]); + contents.SessionToken = smithy_client_1.expectString(output["SessionToken"]); } if (output["Expiration"] !== undefined) { - contents.Expiration = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["Expiration"])); + contents.Expiration = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Expiration"])); } return contents; }; @@ -19938,7 +19938,7 @@ const deserializeAws_queryDecodeAuthorizationMessageResponse = (output, context) DecodedMessage: undefined, }; if (output["DecodedMessage"] !== undefined) { - contents.DecodedMessage = (0, smithy_client_1.expectString)(output["DecodedMessage"]); + contents.DecodedMessage = smithy_client_1.expectString(output["DecodedMessage"]); } return contents; }; @@ -19947,7 +19947,7 @@ const deserializeAws_queryExpiredTokenException = (output, context) => { message: undefined, }; if (output["message"] !== undefined) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); + contents.message = smithy_client_1.expectString(output["message"]); } return contents; }; @@ -19957,10 +19957,10 @@ const deserializeAws_queryFederatedUser = (output, context) => { Arn: undefined, }; if (output["FederatedUserId"] !== undefined) { - contents.FederatedUserId = (0, smithy_client_1.expectString)(output["FederatedUserId"]); + contents.FederatedUserId = smithy_client_1.expectString(output["FederatedUserId"]); } if (output["Arn"] !== undefined) { - contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]); + contents.Arn = smithy_client_1.expectString(output["Arn"]); } return contents; }; @@ -19969,7 +19969,7 @@ const deserializeAws_queryGetAccessKeyInfoResponse = (output, context) => { Account: undefined, }; if (output["Account"] !== undefined) { - contents.Account = (0, smithy_client_1.expectString)(output["Account"]); + contents.Account = smithy_client_1.expectString(output["Account"]); } return contents; }; @@ -19980,13 +19980,13 @@ const deserializeAws_queryGetCallerIdentityResponse = (output, context) => { Arn: undefined, }; if (output["UserId"] !== undefined) { - contents.UserId = (0, smithy_client_1.expectString)(output["UserId"]); + contents.UserId = smithy_client_1.expectString(output["UserId"]); } if (output["Account"] !== undefined) { - contents.Account = (0, smithy_client_1.expectString)(output["Account"]); + contents.Account = smithy_client_1.expectString(output["Account"]); } if (output["Arn"] !== undefined) { - contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]); + contents.Arn = smithy_client_1.expectString(output["Arn"]); } return contents; }; @@ -20003,7 +20003,7 @@ const deserializeAws_queryGetFederationTokenResponse = (output, context) => { contents.FederatedUser = deserializeAws_queryFederatedUser(output["FederatedUser"], context); } if (output["PackedPolicySize"] !== undefined) { - contents.PackedPolicySize = (0, smithy_client_1.strictParseInt32)(output["PackedPolicySize"]); + contents.PackedPolicySize = smithy_client_1.strictParseInt32(output["PackedPolicySize"]); } return contents; }; @@ -20021,7 +20021,7 @@ const deserializeAws_queryIDPCommunicationErrorException = (output, context) => message: undefined, }; if (output["message"] !== undefined) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); + contents.message = smithy_client_1.expectString(output["message"]); } return contents; }; @@ -20030,7 +20030,7 @@ const deserializeAws_queryIDPRejectedClaimException = (output, context) => { message: undefined, }; if (output["message"] !== undefined) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); + contents.message = smithy_client_1.expectString(output["message"]); } return contents; }; @@ -20039,7 +20039,7 @@ const deserializeAws_queryInvalidAuthorizationMessageException = (output, contex message: undefined, }; if (output["message"] !== undefined) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); + contents.message = smithy_client_1.expectString(output["message"]); } return contents; }; @@ -20048,7 +20048,7 @@ const deserializeAws_queryInvalidIdentityTokenException = (output, context) => { message: undefined, }; if (output["message"] !== undefined) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); + contents.message = smithy_client_1.expectString(output["message"]); } return contents; }; @@ -20057,7 +20057,7 @@ const deserializeAws_queryMalformedPolicyDocumentException = (output, context) = message: undefined, }; if (output["message"] !== undefined) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); + contents.message = smithy_client_1.expectString(output["message"]); } return contents; }; @@ -20066,7 +20066,7 @@ const deserializeAws_queryPackedPolicyTooLargeException = (output, context) => { message: undefined, }; if (output["message"] !== undefined) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); + contents.message = smithy_client_1.expectString(output["message"]); } return contents; }; @@ -20075,7 +20075,7 @@ const deserializeAws_queryRegionDisabledException = (output, context) => { message: undefined, }; if (output["message"] !== undefined) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); + contents.message = smithy_client_1.expectString(output["message"]); } return contents; }; @@ -20117,12 +20117,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod }; const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { if (encoded.length) { - const parsedObj = (0, fast_xml_parser_1.parse)(encoded, { + const parsedObj = fast_xml_parser_1.parse(encoded, { attributeNamePrefix: "", ignoreAttributes: false, parseNodeValue: false, trimValues: false, - tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)), + tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)), }); const textNodeName = "#text"; const key = Object.keys(parsedObj)[0]; @@ -20131,12 +20131,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context parsedObjToReturn[key] = parsedObjToReturn[textNodeName]; delete parsedObjToReturn[textNodeName]; } - return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn); + return smithy_client_1.getValueFromTextNode(parsedObjToReturn); } return {}; }); const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries) - .map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value)) + .map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value)) .join("&"); const loadQueryErrorCode = (output, data) => { if (data.Error.Code !== undefined) { @@ -20159,7 +20159,7 @@ const loadQueryErrorCode = (output, data) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getRuntimeConfig = void 0; const tslib_1 = __nccwpck_require__(4351); -const package_json_1 = (0, tslib_1.__importDefault)(__nccwpck_require__(1508)); +const package_json_1 = tslib_1.__importDefault(__nccwpck_require__(1508)); const defaultStsRoleAssumers_1 = __nccwpck_require__(2418); const config_resolver_1 = __nccwpck_require__(7229); const credential_provider_node_1 = __nccwpck_require__(8030); @@ -20178,8 +20178,8 @@ const smithy_client_1 = __nccwpck_require__(2223); */ const getRuntimeConfig = (config) => { var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; - (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version); - const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + smithy_client_1.emitWarningIfUnsupportedVersion(process.version); + const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config); return { ...clientSharedValues, ...config, @@ -20187,12 +20187,12 @@ const getRuntimeConfig = (config) => { 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 : (0, defaultStsRoleAssumers_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider), - defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, 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 : (0, 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 : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), + credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : defaultStsRoleAssumers_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 : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS), + 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, @@ -20239,9 +20239,9 @@ exports.getRuntimeConfig = getRuntimeConfig; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(1844), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(9472), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZW5kcG9pbnRzQ29uZmlnL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDhFQUErQztBQUMvQyx3RUFBeUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9yZXNvbHZlQ3VzdG9tRW5kcG9pbnRzQ29uZmlnXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9yZXNvbHZlRW5kcG9pbnRzQ29uZmlnXCI7XG4iXX0= +tslib_1.__exportStar(__nccwpck_require__(1844), exports); +tslib_1.__exportStar(__nccwpck_require__(9472), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZW5kcG9pbnRzQ29uZmlnL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHlFQUErQztBQUMvQyxtRUFBeUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9yZXNvbHZlQ3VzdG9tRW5kcG9pbnRzQ29uZmlnXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9yZXNvbHZlRW5kcG9pbnRzQ29uZmlnXCI7XG4iXX0= /***/ }), @@ -20258,12 +20258,12 @@ const resolveCustomEndpointsConfig = (input) => { return ({ ...input, tls: (_a = input.tls) !== null && _a !== void 0 ? _a : true, - endpoint: (0, normalizeEndpoint_1.normalizeEndpoint)(input), + endpoint: normalizeEndpoint_1.normalizeEndpoint(input), isCustomEndpoint: true, }); }; exports.resolveCustomEndpointsConfig = resolveCustomEndpointsConfig; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZUN1c3RvbUVuZHBvaW50c0NvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9lbmRwb2ludHNDb25maWcvcmVzb2x2ZUN1c3RvbUVuZHBvaW50c0NvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFHQSxpRUFBOEQ7QUFxQnZELE1BQU0sNEJBQTRCLEdBQUcsQ0FDMUMsS0FBMEQsRUFDdkIsRUFBRTs7SUFBQyxPQUFBLENBQUM7UUFDdkMsR0FBRyxLQUFLO1FBQ1IsR0FBRyxFQUFFLE1BQUEsS0FBSyxDQUFDLEdBQUcsbUNBQUksSUFBSTtRQUN0QixRQUFRLEVBQUUsSUFBQSxxQ0FBaUIsRUFBQyxLQUFLLENBQUM7UUFDbEM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KGlucHV0KSxcbiAgaXNDdXN0b21FbmRwb2ludDogdHJ1ZSxcbn0pO1xuIl19 /***/ }), @@ -20282,13 +20282,13 @@ const resolveEndpointsConfig = (input) => { ...input, tls: (_a = input.tls) !== null && _a !== void 0 ? _a : true, endpoint: input.endpoint - ? (0, normalizeEndpoint_1.normalizeEndpoint)({ ...input, endpoint: input.endpoint }) - : () => (0, getEndpointFromRegion_1.getEndpointFromRegion)(input), + ? normalizeEndpoint_1.normalizeEndpoint({ ...input, endpoint: input.endpoint }) + : () => getEndpointFromRegion_1.getEndpointFromRegion(input), isCustomEndpoint: input.endpoint ? true : false, }); }; exports.resolveEndpointsConfig = resolveEndpointsConfig; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZUVuZHBvaW50c0NvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9lbmRwb2ludHNDb25maWcvcmVzb2x2ZUVuZHBvaW50c0NvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFFQSx5RUFBc0U7QUFDdEUsaUVBQThEO0FBaUN2RCxNQUFNLHNCQUFzQixHQUFHLENBQ3BDLEtBQW9ELEVBQ3ZCLEVBQUU7O0lBQUMsT0FBQSxDQUFDO1FBQ2pDLEdBQUcsS0FBSztRQUNSLEdBQUcsRUFBRSxNQUFBLEtBQUssQ0FBQyxHQUFHLG1DQUFJLElBQUk7UUFDdEIsUUFBUSxFQUFFLEtBQUssQ0FBQyxRQUFRO1lBQ3RCLENBQUMsQ0FBQyxJQUFBLHFDQUFpQixFQUFDLEVBQUUsR0FBRyxLQUFLLEVBQUUsUUFBUSxFQUFFLEtBQUssQ0FBQyxRQUFRLEVBQUUsQ0FBQztZQUMzRCxDQUFDLENBQUMsR0FBRyxFQUFFLENBQUMsSUFBQSw2Q0FBcUIsRUFBQyxLQUFLLENBQUM7UUFDdEMsZ0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nQgY29uc3QgcmVzb2x2ZUVuZHBvaW50c0NvbmZpZyA9IDxUPihcbiAgaW5wdXQ6IFQgJiBFbmRwb2ludHNJbnB1dENvbmZpZyAmIFByZXZpb3VzbHlSZXNvbHZlZFxuKTogVCAmIEVuZHBvaW50c1Jlc29sdmVkQ29uZmlnID0+ICh7XG4gIC4uLmlucHV0LFxuICB0bHM6IGlucHV0LnRscyA/PyB0cnVlLFxuICBlbmRwb2ludDogaW5wdXQuZW5kcG9pbnRcbiAgICA/IG5vcm1hbGl6ZUVuZHBvaW50KHsgLi4uaW5wdXQsIGVuZHBvaW50OiBpbnB1dC5lbmRwb2ludCB9KVxuICAgIDogKCkgPT4gZ2V0RW5kcG9pbnRGcm9tUmVnaW9uKGlucHV0KSxcbiAgaXNDdXN0b21FbmRwb2ludDogaW5wdXQuZW5kcG9pbnQgPyB0cnVlIDogZmFsc2UsXG59KTtcbiJdfQ== /***/ }), @@ -20348,10 +20348,10 @@ exports.normalizeEndpoint = normalizeEndpoint; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(9640), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6794), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3830), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsaUVBQWtDO0FBQ2xDLDhEQUErQjtBQUMvQiw0REFBNkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9lbmRwb2ludHNDb25maWdcIjtcbmV4cG9ydCAqIGZyb20gXCIuL3JlZ2lvbkNvbmZpZ1wiO1xuZXhwb3J0ICogZnJvbSBcIi4vcmVnaW9uSW5mb1wiO1xuIl19 +tslib_1.__exportStar(__nccwpck_require__(9640), exports); +tslib_1.__exportStar(__nccwpck_require__(6794), exports); +tslib_1.__exportStar(__nccwpck_require__(3830), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNERBQWtDO0FBQ2xDLHlEQUErQjtBQUMvQix1REFBNkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9lbmRwb2ludHNDb25maWdcIjtcbmV4cG9ydCAqIGZyb20gXCIuL3JlZ2lvbkNvbmZpZ1wiO1xuZXhwb3J0ICogZnJvbSBcIi4vcmVnaW9uSW5mb1wiO1xuIl19 /***/ }), @@ -20385,9 +20385,9 @@ exports.NODE_REGION_CONFIG_FILE_OPTIONS = { Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(825), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(1128), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcmVnaW9uQ29uZmlnL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHdEQUF5QjtBQUN6QixxRUFBc0MiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9jb25maWdcIjtcbmV4cG9ydCAqIGZyb20gXCIuL3Jlc29sdmVSZWdpb25Db25maWdcIjtcbiJdfQ== +tslib_1.__exportStar(__nccwpck_require__(825), exports); +tslib_1.__exportStar(__nccwpck_require__(1128), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcmVnaW9uQ29uZmlnL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLG1EQUF5QjtBQUN6QixnRUFBc0MiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9jb25maWdcIjtcbmV4cG9ydCAqIGZyb20gXCIuL3Jlc29sdmVSZWdpb25Db25maWdcIjtcbiJdfQ== /***/ }), @@ -20424,11 +20424,11 @@ const resolveRegionConfig = (input) => { } return { ...input, - region: (0, normalizeRegion_1.normalizeRegion)(input.region), + region: normalizeRegion_1.normalizeRegion(input.region), }; }; exports.resolveRegionConfig = resolveRegionConfig; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZVJlZ2lvbkNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9yZWdpb25Db25maWcvcmVzb2x2ZVJlZ2lvbkNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFFQSx1REFBb0Q7QUFrQjdDLE1BQU0sbUJBQW1CLEdBQUcsQ0FBSSxLQUFpRCxFQUE0QixFQUFFO0lBQ3BILElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxFQUFFO1FBQ2pCLE1BQU0sSUFBSSxLQUFLLENBQUMsbUJBQW1CLENBQUMsQ0FBQztLQUN0QztJQUNELE9BQU87UUFDTCxHQUFHLEtBQUs7UUFDUixNQUFNLEVBQUUsSUFBQSxpQ0FBZSxFQUFDLEtBQUssQ0FBQyxNQUFPLENBQUM7S0FDdkMsQ0FBQztBQUNKLENBQUMsQ0FBQztBQVJXLFFBQUEsbUJBQW1CLHVCQVE5QiIsInNvdXJjZXN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Zy5yZWdpb259XG4gICAqL1xuICByZWdpb246IFByb3ZpZGVyPHN0cmluZz47XG59XG5cbmV4cG9ydCBjb25zdCByZXNvbHZlUmVnaW9uQ29uZmlnID0gPFQ+KGlucHV0OiBUICYgUmVnaW9uSW5wdXRDb25maWcgJiBQcmV2aW91c2x5UmVzb2x2ZWQpOiBUICYgUmVnaW9uUmVzb2x2ZWRDb25maWcgPT4ge1xuICBpZiAoIWlucHV0LnJlZ2lvbikge1xuICAgIHRocm93IG5ldyBFcnJvcihcIlJlZ2lvbiBpcyBtaXNzaW5nXCIpO1xuICB9XG4gIHJldHVybiB7XG4gICAgLi4uaW5wdXQsXG4gICAgcmVnaW9uOiBub3JtYWxpemVSZWdpb24oaW5wdXQucmVnaW9uISksXG4gIH07XG59O1xuIl19 /***/ }), @@ -20443,10 +20443,10 @@ const getResolvedPartition_1 = __nccwpck_require__(5527); const AWS_TEMPLATE = "{signingService}.{region}.amazonaws.com"; const getHostnameTemplate = (region, { signingService, partitionHash }) => { var _a, _b; - return (_b = (_a = partitionHash[(0, getResolvedPartition_1.getResolvedPartition)(region, { partitionHash })]) === null || _a === void 0 ? void 0 : _a.hostname) !== null && _b !== void 0 ? _b : AWS_TEMPLATE.replace("{signingService}", signingService); + return (_b = (_a = partitionHash[getResolvedPartition_1.getResolvedPartition(region, { partitionHash })]) === null || _a === void 0 ? void 0 : _a.hostname) !== null && _b !== void 0 ? _b : AWS_TEMPLATE.replace("{signingService}", signingService); }; exports.getHostnameTemplate = getHostnameTemplate; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0SG9zdG5hbWVUZW1wbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9yZWdpb25JbmZvL2dldEhvc3RuYW1lVGVtcGxhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsaUVBQTJGO0FBRTNGLE1BQ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JmYWNlIEdldEhvc3RuYW1lVGVtcGxhdGVPcHRpb25zIGV4dGVuZHMgR2V0UmVzb2x2ZWRQYXJ0aXRpb25PcHRpb25zIHtcbiAgLyoqXG4gICAqIFRoZSBuYW1lIHRvIGJlIHVzZWQgd2hpbGUgc2lnbmluZyB0aGUgc2VydmljZSByZXF1ZXN0LlxuICAgKi9cbiAgc2lnbmluZ1NlcnZpY2U6IHN0cmluZztcbn1cblxuZXhwb3J0IGNvbnN0IGdldEhvc3RuYW1lVGVtcGxhdGUgPSAocmVnaW9uOiBzdHJpbmcsIHsgc2lnbmluZ1NlcnZpY2UsIHBhcnRpdGlvbkhhc2ggfTogR2V0SG9zdG5hbWVUZW1wbGF0ZU9wdGlvbnMpID0+XG4gIHBhcnRpdGlvbkhhc2hbZ2V0UmVzb2x2ZWRQYXJ0aXRpb24ocmVnaW9uLCB7IHBhcnRpdGlvbkhhc2ggfSldPy5ob3N0bmFtZSA/P1xuICBBV1NfVEVNUExBVEUucmVwbGFjZShcIntzaWduaW5nU2VydmljZX1cIiwgc2lnbmluZ1NlcnZpY2UpO1xuIl19 /***/ }), @@ -20461,12 +20461,12 @@ const getResolvedHostname_1 = __nccwpck_require__(2693); const getResolvedPartition_1 = __nccwpck_require__(5527); const getRegionInfo = (region, { signingService, regionHash, partitionHash }) => { var _a, _b, _c, _d; - const partition = (0, getResolvedPartition_1.getResolvedPartition)(region, { partitionHash }); + const partition = getResolvedPartition_1.getResolvedPartition(region, { partitionHash }); const resolvedRegion = (_b = (_a = partitionHash[partition]) === null || _a === void 0 ? void 0 : _a.endpoint) !== null && _b !== void 0 ? _b : region; return { partition, signingService, - hostname: (0, getResolvedHostname_1.getResolvedHostname)(resolvedRegion, { signingService, regionHash, partitionHash }), + hostname: getResolvedHostname_1.getResolvedHostname(resolvedRegion, { signingService, regionHash, partitionHash }), ...(((_c = regionHash[resolvedRegion]) === null || _c === void 0 ? void 0 : _c.signingRegion) && { signingRegion: regionHash[resolvedRegion].signingRegion, }), @@ -20476,7 +20476,7 @@ const getRegionInfo = (region, { signingService, regionHash, partitionHash }) => }; }; exports.getRegionInfo = getRegionInfo; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0UmVnaW9uSW5mby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9yZWdpb25JbmZvL2dldFJlZ2lvbkluZm8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBRUEsK0RBQW9HO0FBQ3BHLGlFQUE2RTtBQU10RSxNQUFNLGFBQWEsR0FBRyxDQUMzQixNQUFjLEVBQ2QsRUFBRSxjQUFjLEVBQUUsVUFBVSxFQUFFLGFBQWEsRUFBd0IsRUFDdkQsRUFBRTs7SUFDZCxNQUFNLFNBQVMsR0FBRyxJQUFBLDJDQUFvQixFQUFDLE1BQU0sRUFBRSxFQUFFLGFBQWEsRUFBRSxDQUFDLENBQUM7SUFDbEUsTUFBTSxjQUFjLEdBQUcsTUFBQSxNQUFBLGFBQWEsQ0FBQyxTQUFTLENBQUMsMENBQUUsUUFBUSxtQ0FBSSxNQUFNLENBQUM7SUFDcEUsT0FBTztRQUNMLFNBQVM7UUFDVCxjQUFjO1FBQ2QsUUFBUSxFQUFFLElBQUEseUNBQW1CLEVBQUMsY0FBYyxFQUFFLEVBQUUsY0FBYyxFQUFFLFVBQVUsRUFBRSxhQUFhLEVBQUUsQ0FBQztRQUM1RixHQUFHLENBQUMsQ0FBQSxNQUFBLFVBQVUsQ0FBQyxjQUFjLENBQUMsMENBQUUsYUFBYSxLQUFJO1lBQy9DLGFBQWEsRUFBRSxVQUFVLENBQUMsY0FBYyxDQUFDLENBQUMsYUFBYTtTQUN4RCxDQUFDO1FBQ0YsR0FBRyxDQUFDLENBQUEsTUFBQSxVQUFVLENBQUMsY0FBYyxDQUFDLDBDQUFFLGNBQWMsS0FBSTtZQUNoRCxjQUFjLEVBQUUsVUFBVS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CBjb25zdCBnZXRSZWdpb25JbmZvID0gKFxuICByZWdpb246IHN0cmluZyxcbiAgeyBzaWduaW5nU2VydmljZSwgcmVnaW9uSGFzaCwgcGFydGl0aW9uSGFzaCB9OiBHZXRSZWdpb25JbmZvT3B0aW9uc1xuKTogUmVnaW9uSW5mbyA9PiB7XG4gIGNvbnN0IHBhcnRpdGlvbiA9IGdldFJlc29sdmVkUGFydGl0aW9uKHJlZ2lvbiwgeyBwYXJ0aXRpb25IYXNoIH0pO1xuICBjb25zdCByZXNvbHZlZFJlZ2lvbiA9IHBhcnRpdGlvbkhhc2hbcGFydGl0aW9uXT8uZW5kcG9pbnQgPz8gcmVnaW9uO1xuICByZXR1cm4ge1xuICAgIHBhcnRpdGlvbixcbiAgICBzaWduaW5nU2VydmljZSxcbiAgICBob3N0bmFtZTogZ2V0UmVzb2x2ZWRIb3N0bmFtZShyZXNvbHZlZFJlZ2lvbiwgeyBzaWduaW5nU2VydmljZSwgcmVnaW9uSGFzaCwgcGFydGl0aW9uSGFzaCB9KSxcbiAgICAuLi4ocmVnaW9uSGFzaFtyZXNvbHZlZFJlZ2lvbl0/LnNpZ25pbmdSZWdpb24gJiYge1xuICAgICAgc2lnbmluZ1JlZ2lvbjogcmVnaW9uSGFzaFtyZXNvbHZlZFJlZ2lvbl0uc2lnbmluZ1JlZ2lvbixcbiAgICB9KSxcbiAgICAuLi4ocmVnaW9uSGFzaFtyZXNvbHZlZFJlZ2lvbl0/LnNpZ25pbmdTZXJ2aWNlICYmIHtcbiAgICAgIHNpZ25pbmdTZXJ2aWNlOiByZWdpb25IYXNoW3Jlc29sdmVkUmVnaW9uXS5zaWduaW5nU2VydmljZSxcbiAgICB9KSxcbiAgfTtcbn07XG4iXX0= /***/ }), @@ -20490,10 +20490,10 @@ exports.getResolvedHostname = void 0; const getHostnameTemplate_1 = __nccwpck_require__(1397); const getResolvedHostname = (region, { signingService, regionHash, partitionHash }) => { var _a, _b; - return (_b = (_a = regionHash[region]) === null || _a === void 0 ? void 0 : _a.hostname) !== null && _b !== void 0 ? _b : (0, getHostnameTemplate_1.getHostnameTemplate)(region, { signingService, partitionHash }).replace("{region}", region); + return (_b = (_a = regionHash[region]) === null || _a === void 0 ? void 0 : _a.hostname) !== null && _b !== void 0 ? _b : getHostnameTemplate_1.getHostnameTemplate(region, { signingService, partitionHash }).replace("{region}", region); }; exports.getResolvedHostname = getResolvedHostname; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0UmVzb2x2ZWRIb3N0bmFtZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9yZWdpb25JbmZvL2dldFJlc29sdmVkSG9zdG5hbWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBRUEsK0RBQXdGO0FBYWpGLE1BQU0sbUJBQW1CLEdBQUcsQ0FDakMsTUFBYyxFQUNkLEVBQUUsY0FBYyxFQUFFLFVBQVUsRUFBRSxhQUFhLEVBQThCLEVBQ3pFLEVBQUU7O0lBQ0YsT0FBQSxNQUFBLE1BQUEsVUFBVSxDQUFDLE1BQU0sQ0FBQywwQ0FBRSxRQUFRLG1DQUM1QixJQUFBLHlDQUFtQixFQUFDLE1BQU0sRUFBRSxFQUFFLGNBQWMsRUFBRSxhQUFhLEVBQUUsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxVQUFVLEVBQUUsTUFBTSxDQUFDLENBQUE7Q0FBQSxDQUFDO0FBTGhGLFFBQUEsbUJBQW1CLHVCQUs2RCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFJlZ2lvbkluZm8gfSBmcm9tIFwiQGF3cy1zZGsvdHlwZXNcIjtcblxuaW1wb3J0IHsgZ2V0SG9zdG5hbWVUZW1wbGF0ZSwgR2V0SG9zdG5hbWVUZW1wbGF0ZU9wdGlvbnMgfSBmcm9tIFwiLi9nZXRIb3N0bmFtZVRlbXBsYXRlXCI7XG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bmFtZU9wdGlvbnMgZXh0ZW5kcyBHZXRIb3N0bmFtZVRlbXBsYXRlT3B0aW9ucywgR2V0UmVzb2x2ZWRQYXJ0aXRpb25PcHRpb25zIHtcbiAgLyoqXG4gICAqIFRoZSBoYXNoIG9mIHJlZ2lvbiB3aXRoIHRoZSBpbmZvcm1hdGlvbiBzcGVjaWZpYyB0byB0aGF0IHJlZ2lvbi5cbiAgICogVGhlIGluZm9ybWF0aW9uIGNhbiBpbmNsdWRlIGhvc3RuYW1lLCBzaWduaW5nU2VydmljZSBhbmQgc2lnbmluZ1JlZ2lvbi5cbiAgICovXG4gIHJlZ2lvbkhhc2g6IFJlZ2lvbkhhc2g7XG59XG5cbmV4cG9ydCBjb25zdCBnZXRSZXNvbHZlZEhvc3RuYW1lID0gKFxuICByZWdpb246IHN0cmluZyxcbiAgeyBzaWduaW5nU2VydmljZSwgcmVnaW9uSGFzaCwgcGFydGl0aW9uSGFzaCB9OiBHZXRSZXNvbHZlZEhvc3RuYW1lT3B0aW9uc1xuKSA9PlxuICByZWdpb25IYXNoW3JlZ2lvbl0/Lmhvc3RuYW1lID8/XG4gIGdldEhvc3RuYW1lVGVtcGxhdGUocmVnaW9uLCB7IHNpZ25pbmdTZXJ2aWNlLCBwYXJ0aXRpb25IYXNoIH0pLnJlcGxhY2UoXCJ7cmVnaW9ufVwiLCByZWdpb24pO1xuIl19 /***/ }), @@ -20517,8 +20517,8 @@ exports.getResolvedPartition = getResolvedPartition; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(1580), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcmVnaW9uSW5mby9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSwrREFBZ0MiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9nZXRSZWdpb25JbmZvXCI7XG4iXX0= +tslib_1.__exportStar(__nccwpck_require__(1580), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcmVnaW9uSW5mby9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSwwREFBZ0MiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9nZXRSZWdpb25JbmZvXCI7XG4iXX0= /***/ }), @@ -20650,14 +20650,14 @@ exports.ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; * Container Metadata Service */ const fromContainerMetadata = (init = {}) => { - const { timeout, maxRetries } = (0, RemoteProviderInit_1.providerConfigFromInit)(init); - return () => (0, retry_1.retry)(async () => { + const { timeout, maxRetries } = RemoteProviderInit_1.providerConfigFromInit(init); + return () => retry_1.retry(async () => { const requestOptions = await getCmdsUri(); const credsResponse = JSON.parse(await requestFromEcsImds(timeout, requestOptions)); - if (!(0, ImdsCredentials_1.isImdsCredentials)(credsResponse)) { + if (!ImdsCredentials_1.isImdsCredentials(credsResponse)) { throw new property_provider_1.CredentialsProviderError("Invalid response received from instance metadata service."); } - return (0, ImdsCredentials_1.fromImdsCredentials)(credsResponse); + return ImdsCredentials_1.fromImdsCredentials(credsResponse); }, maxRetries); }; exports.fromContainerMetadata = fromContainerMetadata; @@ -20668,7 +20668,7 @@ const requestFromEcsImds = async (timeout, options) => { Authorization: process.env[exports.ENV_CMDS_AUTH_TOKEN], }; } - const buffer = await (0, httpRequest_1.httpRequest)({ + const buffer = await httpRequest_1.httpRequest({ ...options, timeout, }); @@ -20691,7 +20691,7 @@ const getCmdsUri = async () => { }; } if (process.env[exports.ENV_CMDS_FULL_URI]) { - const parsed = (0, url_1.parse)(process.env[exports.ENV_CMDS_FULL_URI]); + const parsed = url_1.parse(process.env[exports.ENV_CMDS_FULL_URI]); if (!parsed.hostname || !(parsed.hostname in GREENGRASS_HOSTS)) { throw new property_provider_1.CredentialsProviderError(`${parsed.hostname} is not a valid container metadata service hostname`, false); } @@ -20707,7 +20707,7 @@ const getCmdsUri = async () => { ` the ${exports.ENV_CMDS_RELATIVE_URI} or ${exports.ENV_CMDS_FULL_URI} environment` + " variable is set", false); }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnJvbUNvbnRhaW5lck1ldGFkYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2Zyb21Db250YWluZXJNZXRhZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxrRUFBc0U7QUFHdEUsNkJBQTRCO0FBRTVCLDhEQUEyRDtBQUMzRCxzRUFBMEY7QUFDMUYsNEVBQWlHO0FBQ2pHLGtEQUErQztBQUVsQyxRQUFBLGlCQUFpQixHQUFHLG9DQUFvQyxDQUFDO0FBQ3pELFFBQUEscUJBQXFCLEdBQUcsd0NBQXdDLENBQUM7QUFDakUsUUFBQSxtQkFBbUIsR0FBRyxtQ0FBbUMsQ0FBQztBQUV2RTs7O0dBR0c7QUFDSSxNQUFNLHFCQUFxQixHQUFHLENBQUMsT0FBMkIsRUFBRSxFQUFzQixFQUFFO0lBQ3pGLE1BQU0sRUFBRSxPQUFPLEVBQUUsVUFBVSxFQUFFLEdBQUcsSUFBQSwyQ0FBc0IsRUFBQyxJQUFJLENBQUMsQ0FBQztJQUM3RCxPQUFPLEdBQUcsRUFBRSxDQUNWLElBQUEsYUFBSyxFQUFDLEtBQUssSUFBSSxFQUFFO1FBQ2YsTUFBTSxjQUFjLEdBQUcsTUFBTSxVQUFVLEVBQUUsQ0FBQztRQUMxQyxNQUFNLGFB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XG4gICAgICAgIGAke3BhcnNlZC5ob3N0bmFtZX0gaXMgbm90IGEgdmFsaWQgY29udGFpbmVyIG1ldGFkYXRhIHNlcnZpY2UgaG9zdG5hbWVgLFxuICAgICAgICBmYWxzZVxuICAgICAgKTtcbiAgICB9XG5cbiAgICBpZiAoIXBhcnNlZC5wcm90b2NvbCB8fCAhKHBhcnNlZC5wcm90b2NvbCBpbiBHUkVFTkdSQVNTX1BST1RPQ09MUykpIHtcbiAgICAgIHRocm93IG5ldyBDcmVkZW50aWFsc1Byb3ZpZGVyRXJyb3IoXG4gICAgICAgIGAke3BhcnNlZC5wcm90b2NvbH0gaXMgbm90IGEgdmFsaWQgY29udGFpbmVyIG1ldGFkYXRhIHNlcnZpY2UgcHJvdG9jb2xgLFxuICAgICAgICBmYWxzZVxuICAgICAgKTtcbiAgICB9XG5cbiAgICByZXR1cm4ge1xuICAgICAgLi4ucGFyc2VkLFxuICAgICAgcG9ydDogcGFyc2VkLnBvcnQgPyBwYXJzZUludChwYXJzZWQucG9ydCwgMTApIDogdW5kZWZpbmVkLFxuICAgIH07XG4gIH1cblxuICB0aHJvdyBuZXcgQ3JlZGVudGlhbHNQcm92aWRlckVycm9yKFxuICAgIFwiVGhlIGNvbnRhaW5lciBtZXRhZGF0YSBjcmVkZW50aWFsIHByb3ZpZGVyIGNhbm5vdCBiZSB1c2VkIHVubGVzc1wiICtcbiAgICAgIGAgdGhlICR7RU5WX0NNRFNfUkVMQVRJVkVfVVJJfSBvciAke0VOVl9DTURTX0ZVTExfVVJJfSBlbnZpcm9ubWVudGAgK1xuICAgICAgXCIgdmFyaWFibGUgaXMgc2V0XCIsXG4gICAgZmFsc2VcbiAgKTtcbn07XG4iXX0= /***/ }), @@ -20733,9 +20733,9 @@ const IMDS_TOKEN_PATH = "/latest/api/token"; const fromInstanceMetadata = (init = {}) => { // when set to true, metadata service will not fetch token let disableFetchToken = false; - const { timeout, maxRetries } = (0, RemoteProviderInit_1.providerConfigFromInit)(init); + const { timeout, maxRetries } = RemoteProviderInit_1.providerConfigFromInit(init); const getCredentials = async (maxRetries, options) => { - const profile = (await (0, retry_1.retry)(async () => { + const profile = (await retry_1.retry(async () => { let profile; try { profile = await getProfile(options); @@ -20748,7 +20748,7 @@ const fromInstanceMetadata = (init = {}) => { } return profile; }, maxRetries)).trim(); - return (0, retry_1.retry)(async () => { + return retry_1.retry(async () => { let creds; try { creds = await getCredentialsFromProfile(profile, options); @@ -20763,7 +20763,7 @@ const fromInstanceMetadata = (init = {}) => { }, maxRetries); }; return async () => { - const endpoint = await (0, getInstanceMetadataEndpoint_1.getInstanceMetadataEndpoint)(); + const endpoint = await getInstanceMetadataEndpoint_1.getInstanceMetadataEndpoint(); if (disableFetchToken) { return getCredentials(maxRetries, { ...endpoint, timeout }); } @@ -20794,7 +20794,7 @@ const fromInstanceMetadata = (init = {}) => { }; }; exports.fromInstanceMetadata = fromInstanceMetadata; -const getMetadataToken = async (options) => (0, httpRequest_1.httpRequest)({ +const getMetadataToken = async (options) => httpRequest_1.httpRequest({ ...options, path: IMDS_TOKEN_PATH, method: "PUT", @@ -20802,18 +20802,18 @@ const getMetadataToken = async (options) => (0, httpRequest_1.httpRequest)({ "x-aws-ec2-metadata-token-ttl-seconds": "21600", }, }); -const getProfile = async (options) => (await (0, httpRequest_1.httpRequest)({ ...options, path: IMDS_PATH })).toString(); +const getProfile = async (options) => (await httpRequest_1.httpRequest({ ...options, path: IMDS_PATH })).toString(); const getCredentialsFromProfile = async (profile, options) => { - const credsResponse = JSON.parse((await (0, httpRequest_1.httpRequest)({ + const credsResponse = JSON.parse((await httpRequest_1.httpRequest({ ...options, path: IMDS_PATH + profile, })).toString()); - if (!(0, ImdsCredentials_1.isImdsCredentials)(credsResponse)) { + if (!ImdsCredentials_1.isImdsCredentials(credsResponse)) { throw new property_provider_1.CredentialsProviderError("Invalid response received from instance metadata service."); } - return (0, ImdsCredentials_1.fromImdsCredentials)(credsResponse); + return ImdsCredentials_1.fromImdsCredentials(credsResponse);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SZXF1ZXN0KHtcbiAgICAuLi5vcHRpb25zLFxuICAgIHBhdGg6IElNRFNfVE9LRU5fUEFUSCxcbiAgICBtZXRob2Q6IFwiUFVUXCIsXG4gICAgaGVhZGVyczoge1xuICAgICAgXCJ4LWF3cy1lYzItbWV0YWRhdGEtdG9rZW4tdHRsLXNlY29uZHNcIjogXCIyMTYwMFwiLFxuICAgIH0sXG4gIH0pO1xuXG5jb25zdCBnZXRQcm9maWxlID0gYXN5bmMgKG9wdGlvbnM6IFJlcXVlc3RPcHRpb25zKSA9PiAoYXdhaXQgaHR0cFJlcXVlc3QoeyAuLi5vcHRpb25zLCBwYXRoOiBJTURTX1BBVEggfSkpLnRvU3RyaW5nKCk7XG5cbmNvbnN0IGdldENyZWRlbnRpYWxzRnJvbVByb2ZpbGUgPSBhc3luYyAocHJvZmlsZTogc3RyaW5nLCBvcHRpb25zOiBSZXF1ZXN0T3B0aW9ucykgPT4ge1xuICBjb25zdCBjcmVkc1Jlc3BvbnNlID0gSlNPTi5wYXJzZShcbiAgICAoXG4gICAgICBhd2FpdCBodHRwUmVxdWVzdCh7XG4gICAgICAgIC4uLm9wdGlvbnMsXG4gICAgICAgIHBhdGg6IElNRFNfUEFUSCArIHByb2ZpbGUsXG4gICAgICB9KVxuICAgICkudG9TdHJpbmcoKVxuICApO1xuXG4gIGlmICghaXNJbWRzQ3JlZGVudGlhbHMoY3JlZHNSZXNwb25zZSkpIHtcbiAgICB0aHJvdyBuZXcgQ3JlZGVudGlhbHNQcm92aWRlckVycm9yKFwiSW52YWxpZCByZXNwb25zZSByZWNlaXZlZCBmcm9tIGluc3RhbmNlIG1ldGFkYXRhIHNlcnZpY2UuXCIpO1xuICB9XG5cbiAgcmV0dXJuIGZyb21JbWRzQ3JlZGVudGlhbHMoY3JlZHNSZXNwb25zZSk7XG59O1xuIl19 /***/ }), @@ -20824,10 +20824,10 @@ const getCredentialsFromProfile = async (profile, options) => { Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(2262), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3695), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(9856), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsdUVBQXdDO0FBQ3hDLHNFQUF1QztBQUN2QyxtRkFBb0QiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9mcm9tQ29udGFpbmVyTWV0YWRhdGFcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2Zyb21JbnN0YW5jZU1ldGFkYXRhXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9yZW1vdGVQcm92aWRlci9SZW1vdGVQcm92aWRlckluaXRcIjtcbiJdfQ== +tslib_1.__exportStar(__nccwpck_require__(2262), exports); +tslib_1.__exportStar(__nccwpck_require__(3695), exports); +tslib_1.__exportStar(__nccwpck_require__(9856), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsa0VBQXdDO0FBQ3hDLGlFQUF1QztBQUN2Qyw4RUFBb0QiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9mcm9tQ29udGFpbmVyTWV0YWRhdGFcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2Zyb21JbnN0YW5jZU1ldGFkYXRhXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9yZW1vdGVQcm92aWRlci9SZW1vdGVQcm92aWRlckluaXRcIjtcbiJdfQ== /***/ }), @@ -20889,7 +20889,7 @@ const http_1 = __nccwpck_require__(8605); function httpRequest(options) { return new Promise((resolve, reject) => { var _a; - const req = (0, http_1.request)({ + const req = http_1.request({ method: "GET", ...options, // Node.js http module doesn't accept hostname with square brackets @@ -20923,7 +20923,7 @@ function httpRequest(options) { }); } exports.httpRequest = httpRequest; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cFJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcmVtb3RlUHJvdmlkZXIvaHR0cFJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsa0VBQTJEO0FBQzNELG1DQUFnQztBQUNoQywrQkFBZ0U7QUFFaEU7O0dBRUc7QUFDSCxTQUFnQixXQUFXLENBQUMsT0FBdUI7SUFDakQsT0FBTyxJQUFJLE9BQU8sQ0FBQyxDQUFDLE9BQU8sRUFBRSxNQUFNLEVBQUUsRUFBRTs7UUFDckMsTUFBTSxHQUFHLEdBQUcsSUFBQSxjQUFPLEVBQUM7WUFDbEIsTUFBTSxFQUFFLEtBQUs7WUFDYixHQUFHLE9BQU87WUFDVixtRUFBbUU7WUFDbkUsb0RBQW9EO1lBQ3BELFFBQVEsRUFBRSxNQUFBLE9BQU8sQ0FBQyxRQUFRLDBDQUFFLE9BQU8sQ0FBQyxZQUFZLEVBQUUsSUFBSSxDQUFDO1NBQ3hELENBQUMsQ0FBQztRQUVILEdBQUcsQ0FBQyxFQUFFLENBQUMsT0FBTyxFQUFFLENBQUMsR0FBRyxFQUFFLEVBQUU7WUFDdEIsTUFBTSxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxpQ0FBYSxDQUFDLGdEQUFnRCxDQUFDLEVBQUUsR0FBRyxDQUFDLENBQUMsQ0FBQztZQUNoRyxHQUFHLENBQUMsT0FBTyxFQUFFL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G1ldGFkYXRhIHNlcnZpY2VcIiksIGVycikpO1xuICAgICAgcmVxLmRlc3Ryb3koKTtcbiAgICB9KTtcblxuICAgIHJlcS5vbihcInRpbWVvdXRcIiwgKCkgPT4ge1xuICAgICAgcmVqZWN0KG5ldyBQcm92aWRlckVycm9yKFwiVGltZW91dEVycm9yIGZyb20gaW5zdGFuY2UgbWV0YWRhdGEgc2VydmljZVwiKSk7XG4gICAgICByZXEuZGVzdHJveSgpO1xuICAgIH0pO1xuXG4gICAgcmVxLm9uKFwicmVzcG9uc2VcIiwgKHJlczogSW5jb21pbmdNZXNzYWdlKSA9PiB7XG4gICAgICBjb25zdCB7IHN0YXR1c0NvZGUgPSA0MDAgfSA9IHJlcztcbiAgICAgIGlmIChzdGF0dXNDb2RlIDwgMjAwIHx8IDMwMCA8PSBzdGF0dXNDb2RlKSB7XG4gICAgICAgIHJlamVjdChcbiAgICAgICAgICBPYmplY3QuYXNzaWduKG5ldyBQcm92aWRlckVycm9yKFwiRXJyb3IgcmVzcG9uc2UgcmVjZWl2ZWQgZnJvbSBpbnN0YW5jZSBtZXRhZGF0YSBzZXJ2aWNlXCIpLCB7IHN0YXR1c0NvZGUgfSlcbiAgICAgICAgKTtcbiAgICAgICAgcmVxLmRlc3Ryb3koKTtcbiAgICAgIH1cblxuICAgICAgY29uc3QgY2h1bmtzOiBBcnJheTxCdWZmZXI+ID0gW107XG4gICAgICByZXMub24oXCJkYXRhXCIsIChjaHVuaykgPT4ge1xuICAgICAgICBjaHVua3MucHVzaChjaHVuayBhcyBCdWZmZXIpO1xuICAgICAgfSk7XG4gICAgICByZXMub24oXCJlbmRcIiwgKCkgPT4ge1xuICAgICAgICByZXNvbHZlKEJ1ZmZlci5jb25jYXQoY2h1bmtzKSk7XG4gICAgICAgIHJlcS5kZXN0cm95KCk7XG4gICAgICB9KTtcbiAgICB9KTtcblxuICAgIHJlcS5lbmQoKTtcbiAgfSk7XG59XG4iXX0= +//# sourceMappingURL=data:application/json;base64,eyJ2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c3RhbmNlIG1ldGFkYXRhIHNlcnZpY2VcIikpO1xuICAgICAgcmVxLmRlc3Ryb3koKTtcbiAgICB9KTtcblxuICAgIHJlcS5vbihcInJlc3BvbnNlXCIsIChyZXM6IEluY29taW5nTWVzc2FnZSkgPT4ge1xuICAgICAgY29uc3QgeyBzdGF0dXNDb2RlID0gNDAwIH0gPSByZXM7XG4gICAgICBpZiAoc3RhdHVzQ29kZSA8IDIwMCB8fCAzMDAgPD0gc3RhdHVzQ29kZSkge1xuICAgICAgICByZWplY3QoXG4gICAgICAgICAgT2JqZWN0LmFzc2lnbihuZXcgUHJvdmlkZXJFcnJvcihcIkVycm9yIHJlc3BvbnNlIHJlY2VpdmVkIGZyb20gaW5zdGFuY2UgbWV0YWRhdGEgc2VydmljZVwiKSwgeyBzdGF0dXNDb2RlIH0pXG4gICAgICAgICk7XG4gICAgICAgIHJlcS5kZXN0cm95KCk7XG4gICAgICB9XG5cbiAgICAgIGNvbnN0IGNodW5rczogQXJyYXk8QnVmZmVyPiA9IFtdO1xuICAgICAgcmVzLm9uKFwiZGF0YVwiLCAoY2h1bmspID0+IHtcbiAgICAgICAgY2h1bmtzLnB1c2goY2h1bmsgYXMgQnVmZmVyKTtcbiAgICAgIH0pO1xuICAgICAgcmVzLm9uKFwiZW5kXCIsICgpID0+IHtcbiAgICAgICAgcmVzb2x2ZShCdWZmZXIuY29uY2F0KGNodW5rcykpO1xuICAgICAgICByZXEuZGVzdHJveSgpO1xuICAgICAgfSk7XG4gICAgfSk7XG5cbiAgICByZXEuZW5kKCk7XG4gIH0pO1xufVxuIl19 /***/ }), @@ -20979,11 +20979,11 @@ const EndpointModeConfigOptions_1 = __nccwpck_require__(2222); * * @returns Host to use for instance metadata service call. */ -const getInstanceMetadataEndpoint = async () => (0, url_parser_1.parseUrl)((await getFromEndpointConfig()) || (await getFromEndpointModeConfig())); +const getInstanceMetadataEndpoint = async () => url_parser_1.parseUrl((await getFromEndpointConfig()) || (await getFromEndpointModeConfig())); exports.getInstanceMetadataEndpoint = getInstanceMetadataEndpoint; -const getFromEndpointConfig = async () => (0, node_config_provider_1.loadConfig)(EndpointConfigOptions_1.ENDPOINT_CONFIG_OPTIONS)(); +const getFromEndpointConfig = async () => node_config_provider_1.loadConfig(EndpointConfigOptions_1.ENDPOINT_CONFIG_OPTIONS)(); const getFromEndpointModeConfig = async () => { - const endpointMode = await (0, node_config_provider_1.loadConfig)(EndpointModeConfigOptions_1.ENDPOINT_MODE_CONFIG_OPTIONS)(); + const endpointMode = await node_config_provider_1.loadConfig(EndpointModeConfigOptions_1.ENDPOINT_MODE_CONFIG_OPTIONS)(); switch (endpointMode) { case EndpointMode_1.EndpointMode.IPv4: return Endpoint_1.Endpoint.IPv4; @@ -20993,7 +20993,7 @@ const getFromEndpointModeConfig = async () => { throw new Error(`Unsupported endpoint mode: ${endpointMode}.` + ` Select from ${Object.values(EndpointMode_1.EndpointMode)}`); } }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0SW5zdGFuY2VNZXRhZGF0YUVuZHBvaW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3V0aWxzL2dldEluc3RhbmNlTWV0YWRhdGFFbmRwb2ludC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSx3RUFBMkQ7QUFFM0Qsb0RBQStDO0FBRS9DLGlEQUEwRTtBQUMxRSwyRUFBbUg7QUFDbkgseURBQXNEO0FBQ3RELG1GQUk2QztBQUU3Qzs7Ozs7Ozs7Ozs7Ozs7OztHQWdCRztBQUNJLE1BQU0sMkJBQTJCLEdBQUcsS0FBSyxJQUF1QixFQUFFLENBQ3ZFLElBQUEscUJBQVEsRUFBQyxDQUFDLE1BQU0scUJBQXFCLEVBQUUsQ0FBQyxJQUFJLENBQUMsTUFBTSx5QkFBeUIsRUFBRSxDQUFDLENBQUMsQ0FBQztBQUR0RSxRQUFBLDJ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uY2UgbWV0YWRhdGEgc2VydmljZSBjYWxsLlxuICovXG5leHBvcnQgY29uc3QgZ2V0SW5zdGFuY2VNZXRhZGF0YUVuZHBvaW50ID0gYXN5bmMgKCk6IFByb21pc2U8RW5kcG9pbnQ+ID0+XG4gIHBhcnNlVXJsKChhd2FpdCBnZXRGcm9tRW5kcG9pbnRDb25maWcoKSkgfHwgKGF3YWl0IGdldEZyb21FbmRwb2ludE1vZGVDb25maWcoKSkpO1xuXG5jb25zdCBnZXRGcm9tRW5kcG9pbnRDb25maWcgPSBhc3luYyAoKTogUHJvbWlzZTxzdHJpbmcgfCB1bmRlZmluZWQ+ID0+IGxvYWRDb25maWcoRU5EUE9JTlRfQ09ORklHX09QVElPTlMpKCk7XG5cbmNvbnN0IGdldEZyb21FbmRwb2ludE1vZGVDb25maWcgPSBhc3luYyAoKTogUHJvbWlzZTxzdHJpbmc+ID0+IHtcbiAgY29uc3QgZW5kcG9pbnRNb2RlID0gYXdhaXQgbG9hZENvbmZpZyhFTkRQT0lOVF9NT0RFX0NPTkZJR19PUFRJT05TKSgpO1xuICBzd2l0Y2ggKGVuZHBvaW50TW9kZSkge1xuICAgIGNhc2UgRW5kcG9pbnRNb2RlLklQdjQ6XG4gICAgICByZXR1cm4gSW5zdGFuY2VNZXRhZGF0YUVuZHBvaW50LklQdjQ7XG4gICAgY2FzZSBFbmRwb2ludE1vZGUuSVB2NjpcbiAgICAgIHJldHVybiBJbnN0YW5jZU1ldGFkYXRhRW5kcG9pbnQuSVB2NjtcbiAgICBkZWZhdWx0OlxuICAgICAgdGhyb3cgbmV3IEVycm9yKGBVbnN1cHBvcnRlZCBlbmRwb2ludCBtb2RlOiAke2VuZHBvaW50TW9kZX0uYCArIGAgU2VsZWN0IGZyb20gJHtPYmplY3QudmFsdWVzKEVuZHBvaW50TW9kZSl9YCk7XG4gIH1cbn07XG4iXX0= /***/ }), @@ -21033,8 +21033,8 @@ const isAssumeRoleWithProviderProfile = (arg) => isAssumeRoleProfile(arg) && typ * role assumption and multi-factor authentication. */ const fromIni = (init = {}) => async () => { - const profiles = await (0, util_credentials_1.parseKnownFiles)(init); - return resolveProfileData((0, util_credentials_1.getMasterProfileName)(init), profiles, init); + const profiles = await util_credentials_1.parseKnownFiles(init); + return resolveProfileData(util_credentials_1.getMasterProfileName(init), profiles, init); }; exports.fromIni = fromIni; const resolveProfileData = async (profileName, profiles, options, visitedProfiles = {}) => { @@ -21054,7 +21054,7 @@ const resolveProfileData = async (profileName, profiles, options, visitedProfile } if (source_profile && source_profile in visitedProfiles) { throw new property_provider_1.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile` + - ` ${(0, util_credentials_1.getMasterProfileName)(options)}. Profiles visited: ` + + ` ${util_credentials_1.getMasterProfileName(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(", "), false); } const sourceCreds = source_profile @@ -21083,9 +21083,9 @@ const resolveProfileData = async (profileName, profiles, options, visitedProfile if (isWebIdentityProfile(data)) { return resolveWebIdentityCredentials(data, options); } - if ((0, credential_provider_sso_1.isSsoProfile)(data)) { - const { sso_start_url, sso_account_id, sso_region, sso_role_name } = (0, credential_provider_sso_1.validateSsoProfile)(data); - return (0, credential_provider_sso_1.fromSSO)({ + if (credential_provider_sso_1.isSsoProfile(data)) { + const { sso_start_url, sso_account_id, sso_region, sso_role_name } = credential_provider_sso_1.validateSsoProfile(data); + return credential_provider_sso_1.fromSSO({ ssoStartUrl: sso_start_url, ssoAccountId: sso_account_id, ssoRegion: sso_region, @@ -21125,13 +21125,13 @@ const resolveStaticCredentials = (profile) => Promise.resolve({ secretAccessKey: profile.aws_secret_access_key, sessionToken: profile.aws_session_token, }); -const resolveWebIdentityCredentials = async (profile, options) => (0, credential_provider_web_identity_1.fromTokenFile)({ +const resolveWebIdentityCredentials = async (profile, options) => credential_provider_web_identity_1.fromTokenFile({ webIdentityTokenFile: profile.web_identity_token_file, roleArn: profile.role_arn, roleSessionName: profile.role_session_name, roleAssumerWithWebIdentity: options.roleAssumerW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cmVkZW50aWFscyA9IChwcm9maWxlOiBTdGF0aWNDcmVkc1Byb2ZpbGUpOiBQcm9taXNlPENyZWRlbnRpYWxzPiA9PlxuICBQcm9taXNlLnJlc29sdmUoe1xuICAgIGFjY2Vzc0tleUlkOiBwcm9maWxlLmF3c19hY2Nlc3Nfa2V5X2lkLFxuICAgIHNlY3JldEFjY2Vzc0tleTogcHJvZmlsZS5hd3Nfc2VjcmV0X2FjY2Vzc19rZXksXG4gICAgc2Vzc2lvblRva2VuOiBwcm9maWxlLmF3c19zZXNzaW9uX3Rva2VuLFxuICB9KTtcblxuY29uc3QgcmVzb2x2ZVdlYklkZW50aXR5Q3JlZGVudGlhbHMgPSBhc3luYyAocHJvZmlsZTogV2ViSWRlbnRpdHlQcm9maWxlLCBvcHRpb25zOiBGcm9tSW5pSW5pdCk6IFByb21pc2U8Q3JlZGVudGlhbHM+ID0+XG4gIGZyb21Ub2tlbkZpbGUoe1xuICAgIHdlYklkZW50aXR5VG9rZW5GaWxlOiBwcm9maWxlLndlYl9pZGVudGl0eV90b2tlbl9maWxlLFxuICAgIHJvbGVBcm46IHByb2ZpbGUucm9sZV9hcm4sXG4gICAgcm9sZVNlc3Npb25OYW1lOiBwcm9maWxlLnJvbGVfc2Vzc2lvbl9uYW1lLFxuICAgIHJvbGVBc3N1bWVyV2l0aFdlYklkZW50aXR5OiBvcHRpb25zLnJvbGVBc3N1bWVyV2l0aFdlYklkZW50aXR5LFxuICB9KSgpO1xuIl19 /***/ }), @@ -21189,33 +21189,33 @@ exports.ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; const defaultProvider = (init = {}) => { const options = { profile: process.env[util_credentials_1.ENV_PROFILE], ...init }; if (!options.loadedConfig) - options.loadedConfig = (0, shared_ini_file_loader_1.loadSharedConfigFiles)(init); + options.loadedConfig = shared_ini_file_loader_1.loadSharedConfigFiles(init); const providers = [ - (0, credential_provider_sso_1.fromSSO)(options), - (0, credential_provider_ini_1.fromIni)(options), - (0, credential_provider_process_1.fromProcess)(options), - (0, credential_provider_web_identity_1.fromTokenFile)(options), + credential_provider_sso_1.fromSSO(options), + credential_provider_ini_1.fromIni(options), + credential_provider_process_1.fromProcess(options), + credential_provider_web_identity_1.fromTokenFile(options), remoteProvider(options), async () => { throw new property_provider_1.CredentialsProviderError("Could not load credentials from any providers", false); }, ]; if (!options.profile) - providers.unshift((0, credential_provider_env_1.fromEnv)()); - const providerChain = (0, property_provider_1.chain)(...providers); - return (0, property_provider_1.memoize)(providerChain, (credentials) => credentials.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000, (credentials) => credentials.expiration !== undefined); + providers.unshift(credential_provider_env_1.fromEnv()); + const providerChain = property_provider_1.chain(...providers); + return property_provider_1.memoize(providerChain, (credentials) => credentials.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000, (credentials) => credentials.expiration !== undefined); }; exports.defaultProvider = defaultProvider; const remoteProvider = (init) => { if (process.env[credential_provider_imds_1.ENV_CMDS_RELATIVE_URI] || process.env[credential_provider_imds_1.ENV_CMDS_FULL_URI]) { - return (0, credential_provider_imds_1.fromContainerMetadata)(init); + return credential_provider_imds_1.fromContainerMetadata(init); } if (process.env[exports.ENV_IMDS_DISABLED]) { return () => Promise.reject(new property_provider_1.CredentialsProviderError("EC2 Instance Metadata Service access disabled")); } - return (0, credential_provider_imds_1.fromInstanceMetadata)(init); + return credential_provider_imds_1.fromInstanceMetadata(init); }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsOEVBQTJEO0FBQzNELGdGQU0yQztBQUMzQyw4RUFBd0U7QUFDeEUsc0ZBQW9GO0FBQ3BGLDhFQUF3RTtBQUN4RSxnR0FBNkY7QUFDN0Ysa0VBQXNGO0FBQ3RGLDRFQ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gICAgICBDb25maWd1cmF0aW9uIHRoYXQgaXMgcGFzc2VkIHRvIGVhY2ggaW5kaXZpZHVhbFxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwcm92aWRlclxuICpcbiAqIEBzZWUgZnJvbUVudiAgICAgICAgICAgICAgICAgVGhlIGZ1bmN0aW9uIHVzZWQgdG8gc291cmNlIGNyZWRlbnRpYWxzIGZyb21cbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZW52aXJvbm1lbnQgdmFyaWFibGVzXG4gKiBAc2VlIGZyb21TU08gICAgICAgICAgICAgICAgIFRoZSBmdW5jdGlvbiB1c2VkIHRvIHNvdXJjZSBjcmVkZW50aWFscyBmcm9tXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlc29sdmVkIFNTTyB0b2tlbiBjYWNoZVxuICogQHNlZSBmcm9tVG9rZW5GaWxlICAgICAgICAgICBUaGUgZnVuY3Rpb24gdXNlZCB0byBzb3VyY2UgY3JlZGVudGlhbHMgZnJvbVxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0b2tlbiBmaWxlXG4gKiBAc2VlIGZyb21JbmkgICAgICAgICAgICAgICAgIFRoZSBmdW5jdGlvbiB1c2VkIHRvIHNvdXJjZSBjcmVkZW50aWFscyBmcm9tIElOSVxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmaWxlc1xuICogQHNlZSBmcm9tUHJvY2VzcyAgICAgICAgICAgICBUaGUgZnVuY3Rpb24gdXNlZCB0byBzb3VyY2VzIGNyZWRlbnRpYWxzIGZyb21cbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY3JlZGVudGlhbF9wcm9jZXNzIGluIElOSSBmaWxlc1xuICogQHNlZSBmcm9tSW5zdGFuY2VNZXRhZGF0YSAgICBUaGUgZnVuY3Rpb24gdXNlZCB0byBzb3VyY2UgY3JlZGVudGlhbHMgZnJvbSB0aGVcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgIC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SBNZXRhZGF0YSBTZXJ2aWNlLlxuICpcbiAqIEBwYXJhbSBpbml0ICAgICAgICAgICAgICAgICAgQ29uZmlndXJhdGlvbiB0aGF0IGlzIHBhc3NlZCB0byBlYWNoIGluZGl2aWR1YWxcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHJvdmlkZXJcbiAqXG4gKiBAc2VlIGZyb21FbnYgICAgICAgICAgICAgICAgIFRoZSBmdW5jdGlvbiB1c2VkIHRvIHNvdXJjZSBjcmVkZW50aWFscyBmcm9tXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVudmlyb25tZW50IHZhcmlhYmxlc1xuICogQHNlZSBmcm9tU1NPICAgICAgICAgICAgICAgICBUaGUgZnVuY3Rpb24gdXNlZCB0byBzb3VyY2UgY3JlZGVudGlhbHMgZnJvbVxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXNvbHZlZCBTU08gdG9rZW4gY2FjaGVcbiAqIEBzZWUgZnJvbVRva2VuRmlsZSAgICAgICAgICAgVGhlIGZ1bmN0aW9uIHVzZWQgdG8gc291cmNlIGNyZWRlbnRpYWxzIGZyb21cbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdG9rZW4gZmlsZVxuICogQHNlZSBmcm9tSW5pICAgICAgICAgICAgICAgICBUaGUgZnVuY3Rpb24gdXNlZCB0byBzb3VyY2UgY3JlZGVudGlhbHMgZnJvbSBJTklcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsZXNcbiAqIEBzZWUgZnJvbVByb2Nlc3MgICAgICAgICAgICAgVGhlIGZ1bmN0aW9uIHVzZWQgdG8gc291cmNlcyBjcmVkZW50aWFscyBmcm9tXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNyZWRlbnRpYWxfcHJvY2VzcyBpbiBJTkkgZmlsZXNcbiAqIEBzZWUgZnJvbUluc3RhbmNlTWV0YWRhdGEgICAgVGhlIGZ1bmN0aW9uIHVzZW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sc2UpO1xuICAgIH0sXG4gIF07XG4gIGlmICghb3B0aW9ucy5wcm9maWxlKSBwcm92aWRlcnMudW5zaGlmdChmcm9tRW52KCkpO1xuICBjb25zdCBwcm92aWRlckNoYWluID0gY2hhaW4oLi4ucHJvdmlkZXJzKTtcblxuICByZXR1cm4gbWVtb2l6ZShcbiAgICBwcm92aWRlckNoYWluLFxuICAgIChjcmVkZW50aWFscykgPT4gY3JlZGVudGlhbHMuZXhwaXJhdGlvbiAhPT0gdW5kZWZpbmVkICYmIGNyZWRlbnRpYWxzLmV4cGlyYXRpb24uZ2V0VGltZSgpIC0gRGF0ZS5ub3coKSA8IDMwMDAwMCxcbiAgICAoY3JlZGVudGlhbHMpID0+IGNyZWRlbnRpYWxzLmV4cGlyYXRpb24gIT09IHVuZGVmaW5lZFxuICApO1xufTtcblxuY29uc3QgcmVtb3RlUHJvdmlkZXIgPSAoaW5pdDogUmVtb3RlUHJvdmlkZXJJbml0KTogQ3JlZGVudGlhbFByb3ZpZGVyID0+IHtcbiAgaWYgKHByb2Nlc3MuZW52W0VOVl9DTURTX1JFTEFUSVZFX1VSSV0gfHwgcHJvY2Vzcy5lbnZbRU5WX0NNRFNfRlVMTF9VUkldKSB7XG4gICAgcmV0dXJuIGZyb21Db250YWluZXJNZXRhZGF0YShpbml0KTtcbiAgfVxuXG4gIGlmIChwcm9jZXNzLmVudltFTlZfSU1EU19ESVNBQkxFRF0pIHtcbiAgICByZXR1cm4gKCkgPT4gUHJvbWlzZS5yZWplY3QobmV3IENyZWRlbnRpYWxzUHJvdmlkZXJFcnJvcihcIkVDMiBJbnN0YW5jZSBNZXRhZGF0YSBTZXJ2aWNlIGFjY2VzcyBkaXNhYmxlZFwiKSk7XG4gIH1cblxuICByZXR1cm4gZnJvbUluc3RhbmNlTWV0YWRhdGEoaW5pdCk7XG59O1xuIl19 /***/ }), @@ -21238,8 +21238,8 @@ exports.ENV_PROFILE = "AWS_PROFILE"; * in ini files. */ const fromProcess = (init = {}) => async () => { - const profiles = await (0, util_credentials_1.parseKnownFiles)(init); - return resolveProcessCredentials((0, util_credentials_1.getMasterProfileName)(init), profiles); + const profiles = await util_credentials_1.parseKnownFiles(init); + return resolveProcessCredentials(util_credentials_1.getMasterProfileName(init), profiles); }; exports.fromProcess = fromProcess; const resolveProcessCredentials = async (profileName, profiles) => { @@ -21296,7 +21296,7 @@ const resolveProcessCredentials = async (profileName, profiles) => { } }; const execPromise = (command) => new Promise(function (resolve, reject) { - (0, child_process_1.exec)(command, (error, stdout) => { + child_process_1.exec(command, (error, stdout) => { if (error) { reject(error); return; @@ -21304,7 +21304,7 @@ const execPromise = (command) => new Promise(function (resolve, reject) { resolve(stdout.trim()); }); }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsa0VBQXNFO0FBR3RFLGdFQUFxRztBQUNyRyxpREFBcUM7QUFFckM7O0dBRUc7QUFDVSxRQUFBLFdBQVcsR0FBRyxhQUFhLENBQUM7QUFJekM7OztHQUdHO0FBQ0ksTUFBTSxXQUFXLEdBQ3RCLENBQUMsT0FBd0IsRUFBRSxFQUFzQixFQUFFLENBQ25ELEtBQUssSUFBSSxFQUFFO0lBQ1QsTUFBTSxRQUFRLEdBQUcsTUFBTSxJQUFBLGtDQUFlLEVBQUMsSUFBSSxDQUFDLENBQUM7SUFDN0MsT0FBTyx5QkFBeUIsQ0FBQyxJQUFBLHVDQUFvQixFQUFDLElBQUksQ0FBQyxFQUFFLFFBQVEsQ0FBQyxDQUFDO0FBQ3pFLENBQUMsQ0FBQztBQUxTLFFBQUEsV0FBVyxlQUtwQjtBQUVKLE1BQU0seUJBQXlCLEdBQUcsS0FBSyxFQUFFLFdBQW1CLEVBQUUsUUFBdUIsRUFBd0IsRUFBRTtJQUM3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IEpTT04uYCk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgY29uc3Qge1xuICAgICAgICAgICAgVmVyc2lvbjogdmVyc2lvbixcbiAgICAgICAgICAgIEFjY2Vzc0tleUlkOiBhY2Nlc3NLZXlJZCxcbiAgICAgICAgICAgIFNlY3JldEFjY2Vzc0tleTogc2VjcmV0QWNjZXNzS2V5LFxuICAgICAgICAgICAgU2Vzc2lvblRva2VuOiBzZXNzaW9uVG9rZW4sXG4gICAgICAgICAgICBFeHBpcmF0aW9uOiBleHBpcmF0aW9uLFxuICAgICAgICAgIH0gPSBkYXRhO1xuXG4gICAgICAgICAgaWYgKHZlcnNpb24gIT09IDEpIHtcbiAgICAgICAgICAgIHRocm93IEVycm9yKGBQcm9maWxlICR7cHJvZmlsZU5hbWV9IGNyZWRlbnRpYWxfcHJvY2VzcyBkaWQgbm90IHJldHVybiBWZXJzaW9uIDEuYCk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgaWYgKGFjY2Vzc0tleUlkID09PSB1bmRlZmluZWQgfHwgc2VjcmV0QWNjZXNzS2V5ID09PSB1bmRlZmluZWQpIHtcbiAgICAgICAgICAgIHRocm93IEVycm9yKGBQcm9maWxlICR7cHJvZmlsZU5hbWV9IGNyZWRlbnRpYWxfcHJvY2VzcyByZXR1cm5lZCBpbnZhbGlkIGNyZWRlbnRpYWxzLmApO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIGxldCBleHBpcmF0aW9uVW5peDtcblxuICAgICAgICAgIGlmIChleHBpcmF0aW9uKSB7XG4gICAgICAgICAgICBjb25zdCBjdXJyZW50VGltZSA9IG5ldyBEYXRlKCk7XG4gICAgICAgICAgICBjb25zdCBleHBpcmVUaW1lID0gbmV3IERhdGUoZXhwaXJhdGlvbik7XG4gICAgICAgICAgICBpZiAoZXhwaXJlVGltZSA8IGN1cnJlbnRUaW1lKSB7XG4gICAgICAgICAgICAgIHRocm93IEVycm9yKGBQcm9maWxlICR7cHJvZmlsZU5hbWV9I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AgICBkYXRhID0gSlNPTi5wYXJzZShwcm9jZXNzUmVzdWx0KTtcbiAgICAgICAgICB9IGNhdGNoIHtcbiAgICAgICAgICAgIHRocm93IEVycm9yKGBQcm9maWxlICR7cHJvZmlsZU5hbWV9IGNyZWRlbnRpYWxfcHJvY2VzcyByZXR1cm5lZCBpbnZhbGlkIEpTT04uYCk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgY29uc3Qge1xuICAgICAgICAgICAgVmVyc2lvbjogdmVyc2lvbixcbiAgICAgICAgICAgIEFjY2Vzc0tleUlkOiBhY2Nlc3NLZXlJZCxcbiAgICAgICAgICAgIFNlY3JldEFjY2Vzc0tleTogc2VjcmV0QWNjZXNzS2V5LFxuICAgICAgICAgICAgU2Vzc2lvblRva2VuOiBzZXNzaW9uVG9rZW4sXG4gICAgICAgICAgICBFeHBpcmF0aW9uOiBleHBpcmF0aW9uLFxuICAgICAgICAgIH0gPSBkYXRhO1xuXG4gICAgICAgICAgaWYgKHZlcnNpb24gIT09IDEpIHtcbiAgICAgICAgICAgIHRocm93IEVycm9yKGBQcm9maWxlICR7cHJvZmlsZU5hbWV9IGNyZWRlbnRpYWxfcHJvY2VzcyBkaWQgbm90IHJldHVybiBWZXJzaW9uIDEuYCk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgaWYgKGFjY2Vzc0tleUlkID09PSB1bmRlZmluZWQgfHwgc2VjcmV0QWNjZXNzS2V5ID09PSB1bmRlZmluZWQpIHtcbiAgICAgICAgICAgIHRocm93IEVycm9yKGBQcm9maWxlICR7cHJvZmlsZU5hbWV9IGNyZWRlbnRpYWxfcHJvY2VzcyByZXR1cm5lZCBpbnZhbGlkIGNyZWRlbnRpYWxzLmApO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIGxldCBleHBpcmF0aW9uVW5peDtcblxuICAgICAgICAgIGlmIChleHBpcmF0aW9uKSB7XG4gICAgICAgICAgICBjb25zdCBjdXJyZW50VGltZSA9IG5ldyBEYXRlKCk7XG4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Mgc2hvdWxkIGJlIGNvbnNpZGVyZWQgYSB0ZXJtaW5hbFxuICAgIC8vIHJlc29sdXRpb24gZXJyb3IgaWYgYSBwcm9maWxlIGhhcyBiZWVuIHNwZWNpZmllZCBieSB0aGUgdXNlciAod2hldGhlciB2aWFcbiAgICAvLyBhIHBhcmFtZXRlciwgYW5lbnZpcm9ubWVudCB2YXJpYWJsZSwgb3IgYW5vdGhlciBwcm9maWxlJ3MgYHNvdXJjZV9wcm9maWxlYCBrZXkpLlxuICAgIHRocm93IG5ldyBDcmVkZW50aWFsc1Byb3ZpZGVyRXJyb3IoYFByb2ZpbGUgJHtwcm9maWxlTmFtZX0gY291bGQgbm90IGJlIGZvdW5kIGluIHNoYXJlZCBjcmVkZW50aWFscyBmaWxlLmApO1xuICB9XG59O1xuXG5jb25zdCBleGVjUHJvbWlzZSA9IChjb21tYW5kOiBzdHJpbmcpID0+XG4gIG5ldyBQcm9taXNlKGZ1bmN0aW9uIChyZXNvbHZlLCByZWplY3QpIHtcbiAgICBleGVjKGNvbW1hbmQsIChlcnJvciwgc3Rkb3V0KSA9PiB7XG4gICAgICBpZiAoZXJyb3IpIHtcbiAgICAgICAgcmVqZWN0KGVycm9yKTtcbiAgICAgICAgcmV0dXJuO1xuICAgICAgfVxuXG4gICAgICByZXNvbHZlKHN0ZG91dC50cmltKCkpO1xuICAgIH0pO1xuICB9KTtcbiJdfQ== /***/ }), @@ -21338,13 +21338,13 @@ const fromSSO = (init = {}) => async () => { const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoClient } = init; if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName) { // Load the SSO config from shared AWS config file. - const profiles = await (0, util_credentials_1.parseKnownFiles)(init); - const profileName = (0, util_credentials_1.getMasterProfileName)(init); + const profiles = await util_credentials_1.parseKnownFiles(init); + const profileName = util_credentials_1.getMasterProfileName(init); const profile = profiles[profileName]; - if (!(0, exports.isSsoProfile)(profile)) { + if (!exports.isSsoProfile(profile)) { throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`); } - const { sso_start_url, sso_account_id, sso_region, sso_role_name } = (0, exports.validateSsoProfile)(profile); + const { sso_start_url, sso_account_id, sso_region, sso_role_name } = exports.validateSsoProfile(profile); return resolveSSOCredentials({ ssoStartUrl: sso_start_url, ssoAccountId: sso_account_id, @@ -21363,12 +21363,12 @@ const fromSSO = (init = {}) => async () => { }; exports.fromSSO = fromSSO; const resolveSSOCredentials = async ({ ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, }) => { - const hasher = (0, crypto_1.createHash)("sha1"); + const hasher = crypto_1.createHash("sha1"); const cacheName = hasher.update(ssoStartUrl).digest("hex"); - const tokenFile = (0, path_1.join)((0, shared_ini_file_loader_1.getHomeDir)(), ".aws", "sso", "cache", `${cacheName}.json`); + const tokenFile = path_1.join(shared_ini_file_loader_1.getHomeDir(), ".aws", "sso", "cache", `${cacheName}.json`); let token; try { - token = JSON.parse((0, fs_1.readFileSync)(tokenFile, { encoding: "utf-8" })); + token = JSON.parse(fs_1.readFileSync(tokenFile, { encoding: "utf-8" })); if (new Date(token.expiresAt).getTime() - Date.now() <= exports.EXPIRE_WINDOW_MS) { throw new Error("SSO token is expired."); } @@ -21417,7 +21417,7 @@ const isSsoProfile = (arg) => arg && typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string"); exports.isSsoProfile = isSsoProfile; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsb0RBQTRHO0FBQzVHLGtFQUFzRTtBQUN0RSw0RUFBc0U7QUFFdEUsZ0VBQXFHO0FBQ3JHLG1DQUFvQztBQUNwQywyQkFBa0M7QUFDbEMsK0JBQTRCO0FBRTVCOzs7OztHQUt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XG5SZWZlcmVuY2U6IGh0dHBzOi8vZG9jcy5hd3MuYW1hem9uLmNvbS9jbGkvbGF0ZXN0L3VzZXJndWlkZS9jbGktY29uZmlndXJlLXNzby5odG1sYCxcbiAgICAgIFNIT1VMRF9GQUlMX0NSRURFTlRJQUxfQ0hBSU5cbiAgICApO1xuICB9XG4gIHJldHVybiBwcm9maWxlIGFzIFNzb1Byb2ZpbGU7XG59O1xuXG4vKipcbiAqIEBpbnRlcm5hbFxuICovXG5leHBvcnQgY29uc3QgaXNTc29Qcm9maWxlID0gKGFyZzogUHJvZmlsZSk6IGFyZyBpcyBQYXJ0aWFsPFNzb1Byb2ZpbGU+ID0+XG4gIGFyZyAmJlxuICAodHlwZW9mIGFyZy5zc29fc3RhcnRfdXJsID09PSBcInN0cmluZ1wiIHx8XG4gICAgdHlwZW9mIGFyZy5zc29fYWNjb3VudF9pZCA9PT0gXCJzdHJpbmdcIiB8fFxuICAgIHR5cGVvZiBhcmcuc3NvX3JlZ2lvbiA9PT0gXCJzdHJpbmdcIiB8fFxuICAgIHR5cGVvZiBhcmcuc3NvX3JvbGVfbmFtZSA9PT0gXCJzdHJpbmdcIik7XG4iXX0= /***/ }), @@ -21449,14 +21449,14 @@ const resolveTokenFile = (init) => { if (!webIdentityTokenFile || !roleArn) { throw new property_provider_1.CredentialsProviderError("Web identity configuration not specified"); } - return (0, fromWebToken_1.fromWebToken)({ + return fromWebToken_1.fromWebToken({ ...init, - webIdentityToken: (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }), + webIdentityToken: fs_1.readFileSync(webIdentityTokenFile, { encoding: "ascii" }), roleArn, roleSessionName, })(); }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnJvbVRva2VuRmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9mcm9tVG9rZW5GaWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ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2VuKHtcbiAgICAuLi5pbml0LFxuICAgIHdlYklkZW50aXR5VG9rZW46IHJlYWRGaWxlU3luYyh3ZWJJZGVudGl0eVRva2VuRmlsZSwgeyBlbmNvZGluZzogXCJhc2NpaVwiIH0pLFxuICAgIHJvbGVBcm4sXG4gICAgcm9sZVNlc3Npb25OYW1lLFxuICB9KSgpO1xufTtcbiJdfQ== /***/ }), @@ -21496,9 +21496,9 @@ exports.fromWebToken = fromWebToken; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(8299), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7112), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsK0RBQWdDO0FBQ2hDLDhEQUErQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL2Zyb21Ub2tlbkZpbGVcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2Zyb21XZWJUb2tlblwiO1xuIl19 +tslib_1.__exportStar(__nccwpck_require__(8299), exports); +tslib_1.__exportStar(__nccwpck_require__(7112), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMERBQWdDO0FBQ2hDLHlEQUErQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL2Zyb21Ub2tlbkZpbGVcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2Zyb21XZWJUb2tlblwiO1xuIl19 /***/ }), @@ -21514,7 +21514,7 @@ const buffer_1 = __nccwpck_require__(4293); const crypto_1 = __nccwpck_require__(6417); class Hash { constructor(algorithmIdentifier, secret) { - this.hash = secret ? (0, crypto_1.createHmac)(algorithmIdentifier, castSourceData(secret)) : (0, crypto_1.createHash)(algorithmIdentifier); + this.hash = secret ? crypto_1.createHmac(algorithmIdentifier, castSourceData(secret)) : crypto_1.createHash(algorithmIdentifier); } update(toHash, encoding) { this.hash.update(castSourceData(toHash, encoding)); @@ -21529,14 +21529,14 @@ function castSourceData(toCast, encoding) { return toCast; } if (typeof toCast === "string") { - return (0, util_buffer_from_1.fromString)(toCast, encoding); + return util_buffer_from_1.fromString(toCast, encoding); } if (ArrayBuffer.isView(toCast)) { - return (0, util_buffer_from_1.fromArrayBuffer)(toCast.buffer, toCast.byteOffset, toCast.byteLength); + return util_buffer_from_1.fromArrayBuffer(toCast.buffer, toCast.byteOffset, toCast.byteLength); } - return (0, util_buffer_from_1.fromArrayBuffer)(toCast); + return util_buffer_from_1.fromArrayBuffer(toCast); } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsZ0VBQXdGO0FBQ3hGLG1DQUFnQztBQUNoQyxtQ0FBd0U7QUFFeEUsTUFBYSxJQUFJO0lBR2YsWUFBWSxtQkFBMkIsRUFBRSxNQUFtQjtRQUMxRCxJQUFJLENBQUMsSUFBSSxHQUFHLE1BQU0sQ0FBQyxDQUFDLENBQUMsSUFBQSxtQkFBVSxFQUFDLG1CQUFtQixFQUFFLGNBQWMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxJQUFBLG1CQUFVLEVBQUMsbUJBQW1CLENBQUMsQ0FBQztJQUNqSCxDQUFDO0lBRUQsTUFB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ZnJvbUFycmF5QnVmZmVyKHRvQ2FzdCk7XG59XG4iXX0= /***/ }), @@ -21643,11 +21643,11 @@ exports.hostHeaderMiddlewareOptions = { }; const getHostHeaderPlugin = (options) => ({ applyToStack: (clientStack) => { - clientStack.add((0, exports.hostHeaderMiddleware)(options), exports.hostHeaderMiddlewareOptions); + clientStack.add(exports.hostHeaderMiddleware(options), exports.hostHeaderMiddlewareOptions); }, }); exports.getHostHeaderPlugin = getHostHeaderPlugin; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMERBQXFEO0FBYXJELFNBQWdCLHVCQUF1QixDQUNyQyxLQUFxRDtJQUVyRCxPQUFPLEtBQUssQ0FBQztBQUNmLENBQUM7QUFKRCwwREFJQztBQUVNLE1BQU0sb0JBQW9CLEdBQy9CLENBQThDLE9BQWlDLEVBQWtDLEVBQUUsQ0FDbkgsQ0FBQyxJQUFJLEVBQUUsRUFBRSxDQUNULEtBQUssRUFBRSxJQUFJLEVBQUUsRUFBRTtJQUNiLElBQUksQ0FBQywyQkFBVyxDQUFDLFVBQVUsQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDO1FBQUUsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDN0QsTUFBTSxFQUFFLE9BQU8sRUFBRSxHQUFHLElBQUksQ0FBQztJQUN6QixNQUFNLEVBQUUsZUFBZSxHQUFHLEVBQUUsRUFBRSxHQUFHLE9BQU8sQ0FBQyxjQUFjLENBQUMsUUFBUSxJQUFJLEVBQUUsQ0FBQztJQUN2RSwwRUFBMEU7SUFDMUUsMkdBQTJHO0lBQzNHLElBQUksZUFBZSxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLElBQUksQ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5hbWUuXG4gICAgfSBlbHNlIGlmICghcmVxdWVzdC5oZWFkZXJzW1wiaG9zdFwiXSkge1xuICAgICAgcmVxdWVzdC5oZWFkZXJzW1wiaG9zdFwiXSA9IHJlcXVlc3QuaG9zdG5hbWU7XG4gICAgfVxuICAgIHJldHVybiBuZXh0KGFyZ3MpO1xuICB9O1xuXG5leHBvcnQgY29uc3QgaG9zdEhlYWRlck1pZGRsZXdhcmVPcHRpb25zOiBCdWlsZEhhbmRsZXJPcHRpb25zICYgQWJzb2x1dGVMb2NhdGlvbiA9IHtcbiAgbmFtZTogXCJob3N0SGVhZGVyTWlkZGxld2FyZVwiLFxuICBzdGVwOiBcImJ1aWxkXCIsXG4gIHByaW9yaXR5OiBcImxvd1wiLFxuICB0YWdzOiBbXCJIT1NUXCJdLFxuICBvdmVycmlkZTogdHJ1ZSxcbn07XG5cbmV4cG9ydCBjb25zdCBnZXRIb3N0SGVhZGVyUGx1Z2luID0gKG9wdGlvbnM6IEhvc3RIZWFkZXJSZXNvbHZlZENvbmZpZyk6IFBsdWdnYWJsZTxhbnksIGFueT4gPT4gKHtcbiAgYXBwbHlUb1N0YWNrOiAoY2xpZW50U3RhY2spID0+IHtcbiAgICBjbGllbnRTdGFjay5hZGQoaG9zdEhlYWRlck1pZGRsZXdhcmUob3B0aW9ucyksIGhvc3RIZWFkZXJNaWRkbGV3YXJlT3B0aW9ucyk7XG4gIH0sXG59KTtcbiJdfQ== /***/ }), @@ -21658,8 +21658,8 @@ exports.getHostHeaderPlugin = getHostHeaderPlugin; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(3712), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsa0VBQW1DIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vbG9nZ2VyTWlkZGxld2FyZVwiO1xuIl19 +tslib_1.__exportStar(__nccwpck_require__(3712), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNkRBQW1DIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vbG9nZ2VyTWlkZGxld2FyZVwiO1xuIl19 /***/ }), @@ -21698,11 +21698,11 @@ exports.loggerMiddlewareOptions = { // eslint-disable-next-line @typescript-eslint/no-unused-vars const getLoggerPlugin = (options) => ({ applyToStack: (clientStack) => { - clientStack.add((0, exports.loggerMiddleware)(), exports.loggerMiddlewareOptions); + clientStack.add(exports.loggerMiddleware(), exports.loggerMiddlewareOptions); }, }); exports.getLoggerPlugin = getLoggerPlugin; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nZ2VyTWlkZGxld2FyZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9sb2dnZXJNaWRkbGV3YXJlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQVlPLE1BQU0sZ0JBQWdCLEdBQzNCLEdBQUcsRUFBRSxDQUNMLENBQ0UsSUFBb0MsRUFDcEMsT0FBZ0MsRUFDQSxFQUFFLENBQ3BDLEtBQUssRUFBRSxJQUFxQyxFQUE0QyxFQUFFO0lBQ3hGLE1BQU0sRUFBRSxVQUFVLEVBQUUsV0FBVyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sRUFBRSx3QkFBd0IsRUFBRSxHQUFHLE9BQU8sQ0FBQztJQ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QgY29uc3QgbG9nZ2VyTWlkZGxld2FyZU9wdGlvbnM6IEluaXRpYWxpemVIYW5kbGVyT3B0aW9ucyAmIEFic29sdXRlTG9jYXRpb24gPSB7XG4gIG5hbWU6IFwibG9nZ2VyTWlkZGxld2FyZVwiLFxuICB0YWdzOiBbXCJMT0dHRVJcIl0sXG4gIHN0ZXA6IFwiaW5pdGlhbGl6ZVwiLFxuICBvdmVycmlkZTogdHJ1ZSxcbn07XG5cbi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbm8tdW51c2VkLXZhcnNcbmV4cG9ydCBjb25zdCBnZXRMb2dnZXJQbHVnaW4gPSAob3B0aW9uczogYW55KTogUGx1Z2dhYmxlPGFueSwgYW55PiA9PiAoe1xuICBhcHBseVRvU3RhY2s6IChjbGllbnRTdGFjaykgPT4ge1xuICAgIGNsaWVudFN0YWNrLmFkZChsb2dnZXJNaWRkbGV3YXJlKCksIGxvZ2dlck1pZGRsZXdhcmVPcHRpb25zKTtcbiAgfSxcbn0pO1xuIl19 /***/ }), @@ -21800,7 +21800,7 @@ class DefaultRateLimiter { updateClientSendingRate(response) { let calculatedRate; this.updateMeasuredRate(); - if ((0, service_error_classification_1.isThrottlingError)(response)) { + if (service_error_classification_1.isThrottlingError(response)) { const rateToUse = !this.enabled ? this.measuredTxRate : Math.min(this.measuredTxRate, this.fillRate); this.lastMaxRate = rateToUse; this.calculateTimeWindow(); @@ -21851,7 +21851,7 @@ class DefaultRateLimiter { } } exports.DefaultRateLimiter = DefaultRateLimiter; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGVmYXVsdFJhdGVMaW1pdGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL0RlZmF1bHRSYXRlTGltaXRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSx3RkFBMEU7QUFZMUU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jdXJyZW50IGNhcGFjaXR5IHRoYXQgZXhjZWVkcyBvdXIgbWF4Q2FwYWNpdHkuXG4gICAgdGhpcy5jdXJyZW50Q2FwYWNpdHkgPSBNYXRoLm1pbih0aGlzLmN1cnJlbnRDYXBhY2l0eSwgdGhpcy5tYXhDYXBhY2l0eSk7XG4gIH1cblxuICBwcml2YXRlIHVwZGF0ZU1lYXN1cmVkUmF0ZSgpIHtcbiAgICBjb25zdCB0ID0gdGhpcy5nZXRDdXJyZW50VGltZUluU2Vjb25kcygpO1xuICAgIGNvbnN0IHRpbWVCdWNrZXQgPSBNYXRoLmZsb29yKHQgKiAyKSAvIDI7XG4gICAgdGhpcy5yZXF1ZXN0Q291bnQrKztcblxuICAgIGlmICh0aW1lQnVja2V0ID4gdGhpcy5sYXN0VHhSYXRlQnVja2V0KSB7XG4gICAgICBjb25zdCBjdXJyZW50UmF0ZSA9IHRoaXMucmVxdWVzdENvdW50IC8gKHRpbWVCdWNrZXQgLSB0aGlzLmxhc3RUeFJhdGVCdWNrZXQpO1xuICAgICAgdGhpcy5tZWFzdXJlZFR4UmF0ZSA9IHRoaXMuZ2V0UHJlY2lzZShjdXJyZW50UmF0ZSAqIHRoaXMuc21vb3RoICsgdGhpcy5tZWFzdXJlZFR4UmF0ZSAqICgxIC0gdGhpcy5zbW9vdGgpKTtcbiAgICAgIHRoaXMucmVxdWVzdENvdW50ID0gMDtcbiAgICAgIHRoaXMubGFzdFR4UmF0ZUJ1Y2tldCA9IHRpbWVCdWNrZXQ7XG4gICAgfVxuICB9XG5cbiAgcHJpdmF0ZSBnZXRQcmVjaXNlKG51bTogbnVtYmVyKSB7XG4gICAgcmV0dXJuIHBhcnNlRmxvYXQobnVtLnRvRml4ZWQoOCkpO1xuICB9XG59XG4iXX0= /***/ }), @@ -21877,7 +21877,7 @@ class StandardRetryStrategy { this.mode = config_1.RETRY_MODES.STANDARD; this.retryDecider = (_a = options === null || options === void 0 ? void 0 : options.retryDecider) !== null && _a !== void 0 ? _a : retryDecider_1.defaultRetryDecider; this.delayDecider = (_b = options === null || options === void 0 ? void 0 : options.delayDecider) !== null && _b !== void 0 ? _b : delayDecider_1.defaultDelayDecider; - this.retryQuota = (_c = options === null || options === void 0 ? void 0 : options.retryQuota) !== null && _c !== void 0 ? _c : (0, defaultRetryQuota_1.getDefaultRetryQuota)(constants_1.INITIAL_RETRY_TOKENS); + this.retryQuota = (_c = options === null || options === void 0 ? void 0 : options.retryQuota) !== null && _c !== void 0 ? _c : defaultRetryQuota_1.getDefaultRetryQuota(constants_1.INITIAL_RETRY_TOKENS); } shouldRetry(error, attempts, maxAttempts) { return attempts < maxAttempts && this.retryDecider(error) && this.retryQuota.hasRetryTokens(error); @@ -21899,7 +21899,7 @@ class StandardRetryStrategy { const maxAttempts = await this.getMaxAttempts(); const { request } = args; if (protocol_http_1.HttpRequest.isInstance(request)) { - request.headers[constants_1.INVOCATION_ID_HEADER] = (0, uuid_1.v4)(); + request.headers[constants_1.INVOCATION_ID_HEADER] = uuid_1.v4(); } while (true) { try { @@ -21923,7 +21923,7 @@ class StandardRetryStrategy { attempts++; if (this.shouldRetry(err, attempts, maxAttempts)) { retryTokenAmount = this.retryQuota.retrieveRetryTokens(err); - const delay = this.delayDecider((0, service_error_classification_1.isThrottlingError)(err) ? constants_1.THROTTLING_RETRY_DELAY_BASE : constants_1.DEFAULT_RETRY_DELAY_BASE, attempts); + const delay = this.delayDecider(service_error_classification_1.isThrottlingError(err) ? constants_1.THROTTLING_RETRY_DELAY_BASE : constants_1.DEFAULT_RETRY_DELAY_BASE, attempts); totalDelay += delay; await new Promise((resolve) => setTimeout(resolve, delay)); continue; @@ -21948,7 +21948,7 @@ const asSdkError = (error) => { return new Error(error); return new Error(`AWS SDK error wrapper for ${error}`); }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3RhbmRhcmRSZXRyeVN0cmF0ZWd5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOls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9yKTtcbiAgaWYgKHR5cGVvZiBlcnJvciA9PT0gXCJzdHJpbmdcIikgcmV0dXJuIG5ldyBFcnJvcihlcnJvcik7XG4gIHJldHVybiBuZXcgRXJyb3IoYEFXUyBTREsgZXJyb3Igd3JhcHBlciBmb3IgJHtlcnJvcn1gKTtcbn07XG4iXX0= /***/ }), @@ -22171,17 +22171,17 @@ exports.defaultDelayDecider = defaultDelayDecider; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(6730), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(9317), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3004), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3379), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(5493), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(9083), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7659), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7291), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6553), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7108), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsaUVBQWtDO0FBQ2xDLDRFQUE2QztBQUM3Qyx1RUFBd0M7QUFDeEMsdUVBQXdDO0FBQ3hDLHdEQUF5QjtBQUN6QixnRUFBaUM7QUFDakMsOERBQStCO0FBQy9CLG9FQUFxQztBQUNyQyw4REFBK0I7QUFDL0IsdURBQXdCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vcmV0cnlNaWRkbGV3YXJlXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9vbWl0UmV0cnlIZWFkZXJzTWlkZGxld2FyZVwiO1xuZXhwb3J0ICogZnJvbSBcIi4vU3RhbmRhcmRSZXRyeVN0cmF0ZWd5XCI7XG5leHBvcnQgKiBmcm9tIFwiLi9BZGFwdGl2ZVJldHJ5U3RyYXRlZ3lcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2NvbmZpZ1wiO1xuZXhwb3J0ICogZnJvbSBcIi4vY29uZmlndXJhdGlvbnNcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2RlbGF5RGVjaWRlclwiO1xuZXhwb3J0ICogZnJvbSBcIi4vRGVmYXVsdFJhdGVMaW1pdGVyXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9yZXRyeURlY2lkZXJcIjtcbmV4cG9ydCAqIGZyb20gXCIuL3R5cGVzXCI7XG4iXX0= +tslib_1.__exportStar(__nccwpck_require__(6730), exports); +tslib_1.__exportStar(__nccwpck_require__(9317), exports); +tslib_1.__exportStar(__nccwpck_require__(3004), exports); +tslib_1.__exportStar(__nccwpck_require__(3379), exports); +tslib_1.__exportStar(__nccwpck_require__(5493), exports); +tslib_1.__exportStar(__nccwpck_require__(9083), exports); +tslib_1.__exportStar(__nccwpck_require__(7659), exports); +tslib_1.__exportStar(__nccwpck_require__(7291), exports); +tslib_1.__exportStar(__nccwpck_require__(6553), exports); +tslib_1.__exportStar(__nccwpck_require__(7108), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNERBQWtDO0FBQ2xDLHVFQUE2QztBQUM3QyxrRUFBd0M7QUFDeEMsa0VBQXdDO0FBQ3hDLG1EQUF5QjtBQUN6QiwyREFBaUM7QUFDakMseURBQStCO0FBQy9CLCtEQUFxQztBQUNyQyx5REFBK0I7QUFDL0Isa0RBQXdCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vcmV0cnlNaWRkbGV3YXJlXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9vbWl0UmV0cnlIZWFkZXJzTWlkZGxld2FyZVwiO1xuZXhwb3J0ICogZnJvbSBcIi4vU3RhbmRhcmRSZXRyeVN0cmF0ZWd5XCI7XG5leHBvcnQgKiBmcm9tIFwiLi9BZGFwdGl2ZVJldHJ5U3RyYXRlZ3lcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2NvbmZpZ1wiO1xuZXhwb3J0ICogZnJvbSBcIi4vY29uZmlndXJhdGlvbnNcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2RlbGF5RGVjaWRlclwiO1xuZXhwb3J0ICogZnJvbSBcIi4vRGVmYXVsdFJhdGVMaW1pdGVyXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9yZXRyeURlY2lkZXJcIjtcbmV4cG9ydCAqIGZyb20gXCIuL3R5cGVzXCI7XG4iXX0= /***/ }), @@ -22212,11 +22212,11 @@ exports.omitRetryHeadersMiddlewareOptions = { }; const getOmitRetryHeadersPlugin = (options) => ({ applyToStack: (clientStack) => { - clientStack.addRelativeTo((0, exports.omitRetryHeadersMiddleware)(), exports.omitRetryHeadersMiddlewareOptions); + clientStack.addRelativeTo(exports.omitRetryHeadersMiddleware(), exports.omitRetryHeadersMiddlewareOptions); }, }); exports.getOmitRetryHeadersPlugin = getOmitRetryHeadersPlugin; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib21pdFJldHJ5SGVhZGVyc01pZGRsZXdhcmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvb21pdFJldHJ5SGVhZGVyc01pZGRsZXdhcmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMERBQXFEO0FBVXJELDJDQUFtRTtBQUU1RCxNQUFNLDBCQUEwQ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LFxuICB0b01pZGRsZXdhcmU6IFwiYXdzQXV0aE1pZGRsZXdhcmVcIixcbiAgb3ZlcnJpZGU6IHRydWUsXG59O1xuXG5leHBvcnQgY29uc3QgZ2V0T21pdFJldHJ5SGVhZGVyc1BsdWdpbiA9IChvcHRpb25zOiB1bmtub3duKTogUGx1Z2dhYmxlPGFueSwgYW55PiA9PiAoe1xuICBhcHBseVRvU3RhY2s6IChjbGllbnRTdGFjaykgPT4ge1xuICAgIGNsaWVudFN0YWNrLmFkZFJlbGF0aXZlVG8ob21pdFJldHJ5SGVhZGVyc01pZGRsZXdhcmUoKSwgb21pdFJldHJ5SGVhZGVyc01pZGRsZXdhcmVPcHRpb25zKTtcbiAgfSxcbn0pO1xuIl19 /***/ }), @@ -22232,10 +22232,10 @@ const defaultRetryDecider = (error) => { if (!error) { return false; } - return (0, service_error_classification_1.isRetryableByTrait)(error) || (0, service_error_classification_1.isClockSkewError)(error) || (0, service_error_classification_1.isThrottlingError)(error) || (0, service_error_classification_1.isTransientError)(error); + return service_error_classification_1.isRetryableByTrait(error) || service_error_classification_1.isClockSkewError(error) || service_error_classification_1.isThrottlingError(error) || service_error_classification_1.isTransientError(error); }; exports.defaultRetryDecider = defaultRetryDecider; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmV0cnlEZWNpZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3JldHJ5RGVjaWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSx3RkFLK0M7QUFHeEMsTUFBTSxtQkFBbUIsR0FBRyxDQUFDLEtBQWUsRUFBRSxFQUFFO0lBQ3JELElBQUksQ0FBQyxLQUFLLEVBQUU7UUFDVixPQUFPLEtBQUssQ0FBQztLQUNkO0lBRUQsT0FBTyxJQUFBLGlEQUFrQixFQUFDLEtBQUssQ0FBQyxJQUFJLElBQUEsK0NBQWdCLEVBQUMsS0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NkO0lBRUQsT0FBTyxpREFBa0IsQ0FBQyxLQUFLLENBQUMsSUFBSSwrQ0FBZ0IsQ0FBQyxLQUFLLENBQUMsSUFBSSxnREFBaUIsQ0FBQyxLQUFLLENBQUMsSUFBSSwrQ0FBZ0IsQ0FBQyxLQUFLLENBQUMsQ0FBQztBQUNySCxDQUFDLENBQUM7QUFOVyxRQUFBLG1CQUFtQix1QkFNOUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBpc0Nsb2NrU2tld0Vycm9yLFxuICBpc1JldHJ5YWJsZUJ5VHJhaXQsXG4gIGlzVGhyb3R0bGluZ0Vycm9yLFxuICBpc1RyYW5zaWVudEVycm9yLFxufSBmcm9tIFwiQGF3cy1zZGsvc2VydmljZS1lcnJvci1jbGFzc2lmaWNhdGlvblwiO1xuaW1wb3J0IHsgU2RrRXJyb3IgfSBmcm9tIFwiQGF3cy1zZGsvdHlwZXNcIjtcblxuZXhwb3J0IGNvbnN0IGRlZmF1bHRSZXRyeURlY2lkZXIgPSAoZXJyb3I6IFNka0Vycm9yKSA9PiB7XG4gIGlmICghZXJyb3IpIHtcbiAgICByZXR1cm4gZmFsc2U7XG4gIH1cblxuICByZXR1cm4gaXNSZXRyeWFibGVCeVRyYWl0KGVycm9yKSB8fCBpc0Nsb2NrU2tld0Vycm9yKGVycm9yKSB8fCBpc1Rocm90dGxpbmdFcnJvcihlcnJvcikgfHwgaXNUcmFuc2llbnRFcnJvcihlcnJvcik7XG59O1xuIl19 /***/ }), @@ -22262,11 +22262,11 @@ exports.retryMiddlewareOptions = { }; const getRetryPlugin = (options) => ({ applyToStack: (clientStack) => { - clientStack.add((0, exports.retryMiddleware)(options), exports.retryMiddlewareOptions); + clientStack.add(exports.retryMiddleware(options), exports.retryMiddlewareOptions); }, }); exports.getRetryPlugin = getRetryPlugin; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmV0cnlNaWRkbGV3YXJlLmpzIiwic291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tcbiAgfTtcblxuZXhwb3J0IGNvbnN0IHJldHJ5TWlkZGxld2FyZU9wdGlvbnM6IEZpbmFsaXplUmVxdWVzdEhhbmRsZXJPcHRpb25zICYgQWJzb2x1dGVMb2NhdGlvbiA9IHtcbiAgbmFtZTogXCJyZXRyeU1pZGRsZXdhcmVcIixcbiAgdGFnczogW1wiUkVUUllcIl0sXG4gIHN0ZXA6IFwiZmluYWxpemVSZXF1ZXN0XCIsXG4gIHByaW9yaXR5OiBcImhpZ2hcIixcbiAgb3ZlcnJpZGU6IHRydWUsXG59O1xuXG5leHBvcnQgY29uc3QgZ2V0UmV0cnlQbHVnaW4gPSAob3B0aW9uczogUmV0cnlSZXNvbHZlZENvbmZpZyk6IFBsdWdnYWJsZTxhbnksIGFueT4gPT4gKHtcbiAgYXBwbHlUb1N0YWNrOiAoY2xpZW50U3RhY2spID0+IHtcbiAgICBjbGllbnRTdGFjay5hZGQocmV0cnlNaWRkbGV3YXJlKG9wdGlvbnMpLCByZXRyeU1pZGRsZXdhcmVPcHRpb25zKTtcbiAgfSxcbn0pO1xuIl19 /***/ }), @@ -22293,12 +22293,12 @@ const middleware_signing_1 = __nccwpck_require__(2487); * for role assumers for STS client internally. See `clients/client-sts/defaultStsRoleAssumers.ts` * and `clients/client-sts/STSClient.ts`. */ -const resolveStsAuthConfig = (input, { stsClientCtor }) => (0, middleware_signing_1.resolveAwsAuthConfig)({ +const resolveStsAuthConfig = (input, { stsClientCtor }) => middleware_signing_1.resolveAwsAuthConfig({ ...input, stsClientCtor, }); exports.resolveStsAuthConfig = resolveStsAuthConfig; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsb0VBQThHO0FBMkI5Rzs7OztHQUlHO0FBQ0ksTUFBTSxvQk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gICAqIFJlZmVyZW5jZSB0byBTVFNDbGllbnQgY2xhc3MgY29uc3RydWN0b3IuXG4gICAqIEBpbnRlcm5hbFxuICAgKi9cbiAgc3RzQ2xpZW50Q3RvcjogbmV3IChjbGllbnRDb25maWc6IGFueSkgPT4gQ2xpZW50PGFueSwgYW55LCBhbnk+O1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIFN0c0F1dGhDb25maWdPcHRpb25zIHtcbiAgLyoqXG4gICAqIFJlZmVyZW5jZSB0byBTVFNDbGllbnQgY2xhc3MgY29uc3RydWN0b3IuXG4gICAqL1xuICBzdHNDbGllbnRDdG9yOiBuZXcgKGNsaWVudENvbmZpZzogYW55KSA9PiBDbGllbnQ8YW55LCBhbnksIGFueT47XG59XG5cbi8qKlxuICogU2V0IFNUUyBjbGllbnQgY29uc3RydWN0b3IgdG8gYHN0c0NsaWVudEN0b3JgIGNvbmZpZyBwYXJhbWV0ZXIuIEl0IGlzIHVzZWRcbiAqIGZvciByb2xlIGFzc3VtZXJzIGZvciBTVFMgY2xpZW50IGludGVybmFsbHkuIFNlZSBgY2xpZW50cy9jbGllbnQtc3RzL2RlZmF1bHRTdHNSb2xlQXNzdW1lcnMudHNgXG4gKiBhbmQgYGNsaWVudHMvY2xpZW50LXN0cy9TVFNDbGllbnQudHNgLlxuICovXG5leHBvcnQgY29uc3QgcmVzb2x2ZVN0c0F1dGhDb25maWcgPSA8VD4oXG4gIGlucHV0OiBUICYgUHJldmlvdXNseVJlc29sdmVkICYgU3RzQXV0aElucHV0Q29uZmlnLFxuICB7IHN0c0NsaWVudEN0b3IgfTogU3RzQXV0aENvbmZpZ09wdGlvbnNcbik6IFQgJiBTdHNBdXRoUmVzb2x2ZWRDb25maWcgPT5cbiAgcmVzb2x2ZUF3c0F1dGhDb25maWcoe1xuICAgIC4uLmlucHV0LFxuICAgIHN0c0NsaWVudEN0b3IsXG4gIH0pO1xuIl19 +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJm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HRpb25zXG4pOiBUICYgU3RzQXV0aFJlc29sdmVkQ29uZmlnID0+XG4gIHJlc29sdmVBd3NBdXRoQ29uZmlnKHtcbiAgICAuLi5pbnB1dCxcbiAgICBzdHNDbGllbnRDdG9yLFxuICB9KTtcbiJdfQ== /***/ }), @@ -22329,10 +22329,10 @@ exports.deserializerMiddleware = deserializerMiddleware; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(5260), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(1594), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(1288), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsd0VBQXlDO0FBQ3pDLHNFQUF1QztBQUN2Qyw2REFBOEIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9kZXNlcmlhbGl6ZXJNaWRkbGV3YXJlXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9zZXJpYWxpemVyTWlkZGxld2FyZVwiO1xuZXhwb3J0ICogZnJvbSBcIi4vc2VyZGVQbHVnaW5cIjtcbiJdfQ== +tslib_1.__exportStar(__nccwpck_require__(5260), exports); +tslib_1.__exportStar(__nccwpck_require__(1594), exports); +tslib_1.__exportStar(__nccwpck_require__(1288), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsbUVBQXlDO0FBQ3pDLGlFQUF1QztBQUN2Qyx3REFBOEIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9kZXNlcmlhbGl6ZXJNaWRkbGV3YXJlXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9zZXJpYWxpemVyTWlkZGxld2FyZVwiO1xuZXhwb3J0ICogZnJvbSBcIi4vc2VyZGVQbHVnaW5cIjtcbiJdfQ== /***/ }), @@ -22360,13 +22360,13 @@ exports.serializerMiddlewareOption = { function getSerdePlugin(config, serializer, deserializer) { return { applyToStack: (commandStack) => { - commandStack.add((0, deserializerMiddleware_1.deserializerMiddleware)(config, deserializer), exports.deserializerMiddlewareOption); - commandStack.add((0, serializerMiddleware_1.serializerMiddleware)(config, serializer), exports.serializerMiddlewareOption); + commandStack.add(deserializerMiddleware_1.deserializerMiddleware(config, deserializer), exports.deserializerMiddlewareOption); + commandStack.add(serializerMiddleware_1.serializerMiddleware(config, serializer), exports.serializerMiddlewareOption); }, }; } exports.getSerdePlugin = getSerdePlugin; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyZGVQbHVnaW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvc2VyZGVQbHVnaW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBV0EscUVBQWtFO0FBQ2xFLGlFQUE4RDtBQUVqRCxRQUFBLDRCQUE0QixHQUE4QjtJQUNyRSxJQUFJLEVBQUUsd0JBQXdCO0lBQzlCLElBQUksRUFBRSxhQUFhO0lBQ25CLElBQUksRUFBRSxDQUFDLGNBQWMsQ0FBQztJQUN0QixRQUFRLEVBQUUsSUFBSTtDQUNmLENBQUM7QUFFVyxRQUFBLDBCQUEwQixHQUE0QjtJQUNqRSxJQUFJLEVBQUUsc0JBQXNCO0lBQzVCLElBQUksRUFBRSxXQUFXO0lBQ2pCLElBQUksRUFBRSxDQUFDLFlBQVksQ0FBQztJQUNwQixRQUFRLEVBQUUsSUFBST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sdWdpbjxcbiAgSW5wdXRUeXBlIGV4dGVuZHMgb2JqZWN0LFxuICBTZXJEZUNvbnRleHQgZXh0ZW5kcyBFbmRwb2ludEJlYXJlcixcbiAgT3V0cHV0VHlwZSBleHRlbmRzIE1ldGFkYXRhQmVhcmVyXG4+KFxuICBjb25maWc6IFNlckRlQ29udGV4dCxcbiAgc2VyaWFsaXplcjogUmVxdWVzdFNlcmlhbGl6ZXI8YW55LCBTZXJEZUNvbnRleHQ+LFxuICBkZXNlcmlhbGl6ZXI6IFJlc3BvbnNlRGVzZXJpYWxpemVyPE91dHB1dFR5cGUsIGFueSwgU2VyRGVDb250ZXh0PlxuKTogUGx1Z2dhYmxlPElucHV0VHlwZSwgT3V0cHV0VHlwZT4ge1xuICByZXR1cm4ge1xuICAgIGFwcGx5VG9TdGFjazogKGNvbW1hbmRTdGFjazogTWlkZGxld2FyZVN0YWNrPElucHV0VHlwZSwgT3V0cHV0VHlwZT4pID0+IHtcbiAgICAgIGNvbW1hbmRTdGFjay5hZGQoZGVzZXJpYWxpemVyTWlkZGxld2FyZShjb25maWcsIGRlc2VyaWFsaXplciksIGRlc2VyaWFsaXplck1pZGRsZXdhcmVPcHRpb24pO1xuICAgICAgY29tbWFuZFN0YWNrLmFkZChzZXJpYWxpemVyTWlkZGxld2FyZShjb25maWcsIHNlcmlhbGl6ZXIpLCBzZXJpYWxpemVyTWlkZGxld2FyZU9wdGlvbik7XG4gICAgfSxcbiAgfTtcbn1cbiJdfQ== /***/ }), @@ -22478,12 +22478,12 @@ const normalizeProvider = (input) => { }; const normalizeCredentialProvider = (credentials) => { if (typeof credentials === "function") { - return (0, property_provider_1.memoize)(credentials, (credentials) => credentials.expiration !== undefined && + return property_provider_1.memoize(credentials, (credentials) => credentials.expiration !== undefined && credentials.expiration.getTime() - Date.now() < CREDENTIAL_EXPIRE_WINDOW, (credentials) => credentials.expiration !== undefined); } return normalizeProvider(credentials); }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9u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WduZXIsXG4gIH07XG59O1xuXG5jb25zdCBub3JtYWxpemVQcm92aWRlciA9IDxUPihpbnB1dDogVCB8IFByb3ZpZGVyPFQ+KTogUHJvdmlkZXI8VD4gPT4ge1xuICBpZiAodHlwZW9mIGlucHV0ID09PSBcIm9iamVjdFwiKSB7XG4gICAgY29uc3QgcHJvbWlzaWZpZWQgPSBQcm9taXNlLnJlc29sdmUoaW5wdXQpO1xuICAgIHJldHVybiAoKSA9PiBwcm9taXNpZmllZDtcbiAgfVxuICByZXR1cm4gaW5wdXQgYXMgUHJvdmlkZXI8VD47XG59O1xuXG5jb25zdCBub3JtYWxpemVDcmVkZW50aWFsUHJvdmlkZXIgPSAoY3JlZGVudGlhbHM6IENyZWRlbnRpYWxzIHwgUHJvdmlkZXI8Q3JlZGVudGlhbHM+KTogUHJvdmlkZXI8Q3JlZGVudGlhbHM+ID0+IHtcbiAgaWYgKHR5cGVvZiBjcmVkZW50aWFscyA9PT0gXCJmdW5jdGlvblwiKSB7XG4gICAgcmV0dXJuIG1lbW9pemUoXG4gICAgICBjcmVkZW50aWFscyxcbiAgICAgIChjcmVkZW50aWFscykgPT5cbiAgICAgICAgY3JlZGVudGlhbHMuZXhwaXJhdGlvbiAhPT0gdW5kZWZpbmVkICYmXG4gICAgICAgIGNyZWRlbnRpYWxzLmV4cGlyYXRpb24uZ2V0VGltZSgpIC0gRGF0ZS5ub3coKSA8IENSRURFTlRJQUxfRVhQSVJFX1dJTkRPVyxcbiAgICAgIChjcmVkZW50aWFscykgPT4gY3JlZGVudGlhbHMuZXhwaXJhdGlvbiAhPT0gdW5kZWZpbmVkXG4gICAgKTtcbiAgfVxuICByZXR1cm4gbm9ybWFsaXplUHJvdmlkZXIoY3JlZGVudGlhbHMpO1xufTtcbiJdfQ== /***/ }), @@ -22494,9 +22494,9 @@ const normalizeCredentialProvider = (credentials) => { Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(5370), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(4834), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsZ0VBQWlDO0FBQ2pDLDREQUE2QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL2NvbmZpZ3VyYXRpb25zXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9taWRkbGV3YXJlXCI7XG4iXX0= +tslib_1.__exportStar(__nccwpck_require__(5370), exports); +tslib_1.__exportStar(__nccwpck_require__(4834), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMkRBQWlDO0FBQ2pDLHVEQUE2QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL2NvbmZpZ3VyYXRpb25zXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9taWRkbGV3YXJlXCI7XG4iXX0= /***/ }), @@ -22517,20 +22517,20 @@ const awsAuthMiddleware = (options) => (next, context) => async function (args) const output = await next({ ...args, request: await signer.sign(args.request, { - signingDate: (0, getSkewCorrectedDate_1.getSkewCorrectedDate)(options.systemClockOffset), + signingDate: getSkewCorrectedDate_1.getSkewCorrectedDate(options.systemClockOffset), signingRegion: context["signing_region"], signingService: context["signing_service"], }), }).catch((error) => { if (error.ServerTime) { - options.systemClockOffset = (0, getUpdatedSystemClockOffset_1.getUpdatedSystemClockOffset)(error.ServerTime, options.systemClockOffset); + options.systemClockOffset = getUpdatedSystemClockOffset_1.getUpdatedSystemClockOffset(error.ServerTime, options.systemClockOffset); } throw error; }); const { headers } = output.response; const dateHeader = headers && (headers.date || headers.Date); if (dateHeader) { - options.systemClockOffset = (0, getUpdatedSystemClockOffset_1.getUpdatedSystemClockOffset)(dateHeader, options.systemClockOffset); + options.systemClockOffset = getUpdatedSystemClockOffset_1.getUpdatedSystemClockOffset(dateHeader, options.systemClockOffset); } return output; }; @@ -22544,12 +22544,12 @@ exports.awsAuthMiddlewareOptions = { }; const getAwsAuthPlugin = (options) => ({ applyToStack: (clientStack) => { - clientStack.addRelativeTo((0, exports.awsAuthMiddleware)(options), exports.awsAuthMiddlewareOptions); + clientStack.addRelativeTo(exports.awsAuthMiddleware(options), exports.awsAuthMiddlewareOptions); }, }); exports.getAwsAuthPlugin = getAwsAuthPlugin; exports.getSigV4AuthPlugin = exports.getAwsAuthPlugin; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlkZGxld2FyZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9taWRkbGV3YXJlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDBEQUFxRDtBQVlyRCx1RUFBb0U7QUFDcEUscUZBQWtGO0FBRTNFLE1BQU0saUJBQWlCLEdBQzVCLENBQ0UsT0FBOEIsRUFDWSxFQUFFLENBQzlDLENBQUMsSUFBb0MsRUFBRSxPQUFnQyxFQUFrQyxFQUFFLENBQ3pHLEtBQUssV0FBVyxJQUFxQztJQUNuRCxJQUFJLENBQUMsMkJBQVcsQ0FBQyxVQUFVLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQztRQUFFLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQzdELE1BQU0sTUFBTSxHQUFHLE1BQU0sT0FBTyxDQUFDLE1BQU0sRUFBRSxDQUFDO0lBQ3RDLE1BQU0sTUFBTSxHQUFHLE1BQU0sSU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aFJlc29sdmVkQ29uZmlnKTogUGx1Z2dhYmxlPGFueSwgYW55PiA9PiAoe1xuICBhcHBseVRvU3RhY2s6IChjbGllbnRTdGFjaykgPT4ge1xuICAgIGNsaWVudFN0YWNrLmFkZFJlbGF0aXZlVG8oYXdzQXV0aE1pZGRsZXdhcmUob3B0aW9ucyksIGF3c0F1dGhNaWRkbGV3YXJlT3B0aW9ucyk7XG4gIH0sXG59KTtcblxuZXhwb3J0IGNvbnN0IGdldFNpZ1Y0QXV0aFBsdWdpbiA9IGdldEF3c0F1dGhQbHVnaW47XG4iXX0= /***/ }), @@ -22588,13 +22588,13 @@ const isClockSkewed_1 = __nccwpck_require__(9060); */ const getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => { const clockTimeInMs = Date.parse(clockTime); - if ((0, isClockSkewed_1.isClockSkewed)(clockTimeInMs, currentSystemClockOffset)) { + if (isClockSkewed_1.isClockSkewed(clockTimeInMs, currentSystemClockOffset)) { return clockTimeInMs - Date.now(); } return currentSystemClockOffset; }; exports.getUpdatedSystemClockOffset = getUpdatedSystemClockOffset; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0VXBkYXRlZFN5c3RlbUNsb2NrT2Zmc2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3V0aWxzL2dldFVwZGF0ZWRTeXN0ZW1DbG9ja09mZnNldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxtREFBZ0Q7QUFFaEQ7Ozs7OztHQU1HO0FBQ0ksTUFBTSwyQkFBMkIsR0FBRyxDQUFDLFNBQWlCLEVBQUUsd0JBQWdDLEVBQVUsRUFBRTtJQUN6RyxNQUFNLGFBQWEsR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLFNBQVMsQ0FBQyxDQUFDO0lBQzVDLElBQUksSUFBQSw2QkFBYSxFQUFDLGFBQWEsRUFB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iAqIEBwYXJhbSBjdXJyZW50U3lzdGVtQ2xvY2tPZmZzZXQgVGhlIGN1cnJlbnQgc3lzdGVtIGNsb2NrIG9mZnNldC5cbiAqL1xuZXhwb3J0IGNvbnN0IGdldFVwZGF0ZWRTeXN0ZW1DbG9ja09mZnNldCA9IChjbG9ja1RpbWU6IHN0cmluZywgY3VycmVudFN5c3RlbUNsb2NrT2Zmc2V0OiBudW1iZXIpOiBudW1iZXIgPT4ge1xuICBjb25zdCBjbG9ja1RpbWVJbk1zID0gRGF0ZS5wYXJzZShjbG9ja1RpbWUpO1xuICBpZiAoaXNDbG9ja1NrZXdlZChjbG9ja1RpbWVJbk1zLCBjdXJyZW50U3lzdGVtQ2xvY2tPZmZzZXQpKSB7XG4gICAgcmV0dXJuIGNsb2NrVGltZUluTXMgLSBEYXRlLm5vdygpO1xuICB9XG4gIHJldHVybiBjdXJyZW50U3lzdGVtQ2xvY2tPZmZzZXQ7XG59O1xuIl19 /***/ }), @@ -22612,9 +22612,9 @@ const getSkewCorrectedDate_1 = __nccwpck_require__(7322); * @param clockTime - The time to check for skew in milliseconds. * @param systemClockOffset - The offset of the system clock in milliseconds. */ -const isClockSkewed = (clockTime, systemClockOffset) => Math.abs((0, getSkewCorrectedDate_1.getSkewCorrectedDate)(systemClockOffset).getTime() - clockTime) >= 300000; +const isClockSkewed = (clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate_1.getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 300000; exports.isClockSkewed = isClockSkewed; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXNDbG9ja1NrZXdlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy91dGlscy9pc0Nsb2NrU2tld2VkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLGlFQUE4RDtBQUU5RDs7Ozs7R0FLRztBQUNJLE1BQU0sY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SwibWFwcGluZ3MiOiI7OztBQUFBLGlFQUE4RDtBQUU5RDs7Ozs7R0FLRztBQUNJLE1BQU0sYUFBYSxHQUFHLENBQUMsU0FBaUIsRUFBRSxpQkFBeUIsRUFBRSxFQUFFLENBQzVFLElBQUksQ0FBQyxHQUFHLENBQUMsMkNBQW9CLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxPQUFPLEVBQUUsR0FBRyxTQUFTLENBQUMsSUFBSSxNQUFNLENBQUM7QUFEdkUsUUFBQSxhQUFhLGlCQUMwRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGdldFNrZXdDb3JyZWN0ZWREYXRlIH0gZnJvbSBcIi4vZ2V0U2tld0NvcnJlY3RlZERhdGVcIjtcblxuLyoqXG4gKiBDaGVja3MgaWYgdGhlIHByb3ZpZGVkIGRhdGUgaXMgd2l0aGluIHRoZSBza2V3IHdpbmRvdyBvZiAzMDAwMDBtcy5cbiAqXG4gKiBAcGFyYW0gY2xvY2tUaW1lIC0gVGhlIHRpbWUgdG8gY2hlY2sgZm9yIHNrZXcgaW4gbWlsbGlzZWNvbmRzLlxuICogQHBhcmFtIHN5c3RlbUNsb2NrT2Zmc2V0IC0gVGhlIG9mZnNldCBvZiB0aGUgc3lzdGVtIGNsb2NrIGluIG1pbGxpc2Vjb25kcy5cbiAqL1xuZXhwb3J0IGNvbnN0IGlzQ2xvY2tTa2V3ZWQgPSAoY2xvY2tUaW1lOiBudW1iZXIsIHN5c3RlbUNsb2NrT2Zmc2V0OiBudW1iZXIpID0+XG4gIE1hdGguYWJzKGdldFNrZXdDb3JyZWN0ZWREYXRlKHN5c3RlbUNsb2NrT2Zmc2V0KS5nZXRUaW1lKCkgLSBjbG9ja1RpbWUpID49IDMwMDAwMDtcbiJdfQ== /***/ }), @@ -22789,7 +22789,7 @@ const constructStack = () => { } relativeEntries.push(entry); }, - clone: () => cloneTo((0, exports.constructStack)()), + clone: () => cloneTo(exports.constructStack()), use: (plugin) => { plugin.applyToStack(stack); }, @@ -22816,7 +22816,7 @@ const constructStack = () => { return isRemoved; }, concat: (from) => { - const cloned = cloneTo((0, exports.constructStack)()); + const cloned = cloneTo(exports.constructStack()); cloned.use(from); return cloned; }, @@ -22843,7 +22843,7 @@ const priorityWeights = { normal: 2, low: 1, }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlkZGxld2FyZVN0YWNrLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL01pZGRsZXdhcmVTdGFjay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFnQk8sTUFBTSxjQUFjLEdBQUcsR0FBZ0YsRUFBRTtJQUM5RyxJQUFJLGVBQWUsR0FBNkMsRUFBRSxDQUFDO0lBQ25FLElBQUksZUFBZSxHQUE2QyxFQUFFLENBQUM7SUFDbkUsTUFBTSxjQUFjLEdBQWdCLElBQUksR0FBRyxFQUFFLENBQUM7SUFFOUMsTUFBTSxJQUFJLEdBQUcsQ0FBbUQsT0FBWSxFQUFPLEVBQUUsQ0FDbkYsT0FBTyxDQUFDLElBQUksQ0FDVixDQUFDLENBQUMsRUFBRSxDQUFDLEVBQUUsRUFBRSxDQUNQLFdBQVcsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLEdBQUcsV0FBVyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUM7UUFDekMsZUFBZSxDQUFDLENBQUMsQ0FBQyxRQUFRLElBQUksUUFBUSxDQUFDLEdBQUcsZUFBZSxDQUFDLENBQUMsQ0FBQyxRQUFRLElBQUksUUFBUSxDQUFDLENBQ3BGLENBQUM7SUFFSixNQUFNLFlBQVksR0FBRyxDQUFDLFFBQWdCLEVBQVcsRUFBRTtRQUNqRCxJQUFJLFNBQVMsR0FBRyxLQUFLLENBQUM7UUFDdEIsTUFBTSxRQUFRLEdBQUcsQ0FBQyxLQUFxQyxFQUFXLEVBQUU7WUFDbEUsSUFB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eSk7XG4gICAgfSk7XG5cbiAgICByZWxhdGl2ZUVudHJpZXMuZm9yRWFjaCgoZW50cnkpID0+IHtcbiAgICAgIGNvbnN0IG5vcm1hbGl6ZWRFbnRyeSA9IHtcbiAgICAgICAgLi4uZW50cnksXG4gICAgICAgIGJlZm9yZTogW10sXG4gICAgICAgIGFmdGVyOiBbXSxcbiAgICAgIH07XG4gICAgICBpZiAobm9ybWFsaXplZEVudHJ5Lm5hbWUpIG5vcm1hbGl6ZWRFbnRyaWVzTmFtZU1hcFtub3JtYWxpemVkRW50cnkubmFtZV0gPSBub3JtYWxpemVkRW50cnk7XG4gICAgICBub3JtYWxpemVkUmVsYXRpdmVFbnRyaWVzLnB1c2gobm9ybWFsaXplZEVudHJ5KTtcbiAgICB9KTtcblxuICAgIG5vcm1hbGl6ZWRSZWxhdGl2ZUVudHJpZXMuZm9yRWFjaCgoZW50cnkpID0+IHtcbiAgICAgIGlmIChlbnRyeS50b01pZGRsZXdhcmUpIHtcbiAgICAgICAgY29uc3QgdG9NaWRkbGV3YXJlID0gbm9ybWFsaXplZEVudHJpZXNOYW1lTWFwW2VudHJ5LnRvTWlkZGxld2FyZV07XG4gICAgICAgIGlmICh0b01pZGRsZXdhcmUgPT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgIHRocm93IG5ldyBFcnJvcihcbiAgICAgICAgICAgIGAke2VudHJ5LnRvTWlkZGxld2FyZX0gaXMgbm90IGZvdW5kIHdoZW4gYWRkaW5nICR7ZW50cnkubmFtZSB8fCBcImFub255bW91c1wifSBtaWRkbGV3YXJlICR7ZW50cnkucmVsYXRpb259ICR7XG4gICAgICAgICAgICAgIGVudHJ5LnRvTWlkZGxld2FyZVxuICAgICAgICAgICAgfWBcbiAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICAgIGlmIChlbnRyeS5yZWxhdGlvbiA9PT0gXCJhZnRlclwiKSB7XG4gICAgICAgICAgdG9NaWRkbGV3YXJlLmFmdGVyLnB1c2goZW50cnkpO1x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dXRUeXBlIGV4dGVuZHMgT3V0cHV0PihcbiAgICAgIGhhbmRsZXI6IERlc2VyaWFsaXplSGFuZGxlcjxJbnB1dFR5cGUsIE91dHB1dFR5cGU+LFxuICAgICAgY29udGV4dDogSGFuZGxlckV4ZWN1dGlvbkNvbnRleHRcbiAgICApOiBIYW5kbGVyPElucHV0VHlwZSwgT3V0cHV0VHlwZT4gPT4ge1xuICAgICAgZm9yIChjb25zdCBtaWRkbGV3YXJlIG9mIGdldE1pZGRsZXdhcmVMaXN0KCkucmV2ZXJzZSgpKSB7XG4gICAgICAgIGhhbmRsZXIgPSBtaWRkbGV3YXJlKGhhbmRsZXIgYXMgSGFuZGxlcjxJbnB1dCwgT3V0cHV0VHlwZT4sIGNvbnRleHQpIGFzIGFueTtcbiAgICAgIH1cbiAgICAgIHJldHVybiBoYW5kbGVyIGFzIEhhbmRsZXI8SW5wdXRUeXBlLCBPdXRwdXRUeXBlPjtcbiAgICB9LFxuICB9O1xuICByZXR1cm4gc3RhY2s7XG59O1xuXG5jb25zdCBzdGVwV2VpZ2h0czogeyBba2V5IGluIFN0ZXBdOiBudW1iZXIgfSA9IHtcbiAgaW5pdGlhbGl6ZTogNSxcbiAgc2VyaWFsaXplOiA0LFxuICBidWlsZDogMyxcbiAgZmluYWxpemVSZXF1ZXN0OiAyLFxuICBkZXNlcmlhbGl6ZTogMSxcbn07XG5cbmNvbnN0IHByaW9yaXR5V2VpZ2h0czogeyBba2V5IGluIFByaW9yaXR5XTogbnVtYmVyIH0gPSB7XG4gIGhpZ2g6IDMsXG4gIG5vcm1hbDogMixcbiAgbG93OiAxLFxufTtcbiJdfQ== /***/ }), @@ -22854,8 +22854,8 @@ const priorityWeights = { Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(9680), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsaUVBQWtDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vTWlkZGxld2FyZVN0YWNrXCI7XG4iXX0= +tslib_1.__exportStar(__nccwpck_require__(9680), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNERBQWtDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vTWlkZGxld2FyZVN0YWNrXCI7XG4iXX0= /***/ }), @@ -22899,9 +22899,9 @@ exports.UA_ESCAPE_REGEX = /[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(6378), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(8240), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsZ0VBQWlDO0FBQ2pDLHVFQUF3QyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL2NvbmZpZ3VyYXRpb25zXCI7XG5leHBvcnQgKiBmcm9tIFwiLi91c2VyLWFnZW50LW1pZGRsZXdhcmVcIjtcbiJdfQ== +tslib_1.__exportStar(__nccwpck_require__(6378), exports); +tslib_1.__exportStar(__nccwpck_require__(8240), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMkRBQWlDO0FBQ2pDLGtFQUF3QyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL2NvbmZpZ3VyYXRpb25zXCI7XG5leHBvcnQgKiBmcm9tIFwiLi91c2VyLWFnZW50LW1pZGRsZXdhcmVcIjtcbiJdfQ== /***/ }), @@ -22985,11 +22985,11 @@ exports.getUserAgentMiddlewareOptions = { }; const getUserAgentPlugin = (config) => ({ applyToStack: (clientStack) => { - clientStack.add((0, exports.userAgentMiddleware)(config), exports.getUserAgentMiddlewareOptions); + clientStack.add(exports.userAgentMiddleware(config), exports.getUserAgentMiddlewareOptions); }, }); exports.getUserAgentPlugin = getUserAgentPlugin; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1hZ2VudC1taWRkbGV3YXJlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3VzZXItYWdlbnQtbWlkZGxld2FyZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSwwREFBcUQ7QUFjckQsMkNBQW1GO0FBRW5GOzs7Ozs7Ozs7OztHQVdHO0FBQ0ksTUFBTSxtQkFBbUIsR0FDOUIsQ0FBQyxPQUFnQyxFQUFFLEVBQUUsQ0FDckMsQ0FDRSxJQUE0QixFQUM1QixPQUFnQyxFQUNSLEVBQUUsQ0FDNUIsS0FBSyxFQUFFLElBQWdDLEVBQXVDLEVBQUU7O0lBQzlFLE1BQU0sRUFBRSxPQUFPLEVBQUUsR0FBRyxJQUFJLENBQUM7SUFDekIsSUFBSSxDQUFDLDJCQUFXLENBQ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dlbnRQbHVnaW4gPSAoY29uZmlnOiBVc2VyQWdlbnRSZXNvbHZlZENvbmZpZyk6IFBsdWdnYWJsZTxhbnksIGFueT4gPT4gKHtcbiAgYXBwbHlUb1N0YWNrOiAoY2xpZW50U3RhY2spID0+IHtcbiAgICBjbGllbnRTdGFjay5hZGQodXNlckFnZW50TWlkZGxld2FyZShjb25maWcpLCBnZXRVc2VyQWdlbnRNaWRkbGV3YXJlT3B0aW9ucyk7XG4gIH0sXG59KTtcbiJdfQ== /***/ }), @@ -23004,9 +23004,9 @@ const property_provider_1 = __nccwpck_require__(1014); const fromEnv_1 = __nccwpck_require__(8302); const fromSharedConfigFiles_1 = __nccwpck_require__(5945); const fromStatic_1 = __nccwpck_require__(5254); -const loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => (0, property_provider_1.memoize)((0, property_provider_1.chain)((0, fromEnv_1.fromEnv)(environmentVariableSelector), (0, fromSharedConfigFiles_1.fromSharedConfigFiles)(configFileSelector, configuration), (0, fromStatic_1.fromStatic)(defaultValue))); +const loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => property_provider_1.memoize(property_provider_1.chain(fromEnv_1.fromEnv(environmentVariableSelector), fromSharedConfigFiles_1.fromSharedConfigFiles(configFileSelector, configuration), fromStatic_1.fromStatic(defaultValue))); exports.loadConfig = loadConfig; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnTG9hZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NvbmZpZ0xvYWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxrRUFBNEQ7QUFHNUQsdUNBQW1EO0FBQ25ELG1FQUFvRztBQUNwRyw2Q0FBNEQ7QUFxQnJELE1BQU0sVUFBVSxHQUFHLENBQ3hCLEVBQUUsMkJBQTJCLEVBQUUsa0JBQWtCLE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V_PROFILE = "AWS_PROFILE"; * Get config value from the shared config files with inferred profile name. */ const fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => { - const { loadedConfig = (0, shared_ini_file_loader_1.loadSharedConfigFiles)(init), profile = process.env[exports.ENV_PROFILE] || DEFAULT_PROFILE } = init; + const { loadedConfig = shared_ini_file_loader_1.loadSharedConfigFiles(init), profile = process.env[exports.ENV_PROFILE] || DEFAULT_PROFILE } = init; const { configFile, credentialsFile } = await loadedConfig; const profileFromCredentials = credentialsFile[profile] || {}; const profileFromConfig = configFile[profile] || {}; @@ -23074,7 +23074,7 @@ const fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...in } }; exports.fromSharedConfigFiles = fromSharedConfigFiles; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnJvbVNoYXJlZENvbmZpZ0ZpbGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2Zyb21TaGFyZWRDb25maWdGaWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxrRUFBc0U7QUFDdEUsNEVBS3lDO0FBR3pDLE1BQU0sZUFBZSxHQUFHLFNBQVMsQ0FBQztBQUNyQixRQUFBLFdBQVcsR0FBRyxhQUFhLENBQUM7QUEwQnpDOztHQUVHO0FBQ0ksTUFBTSxxQkFBcUIsR0FDaEMsQ0FDRSxjQUFtQyxFQUNuQyxFQUFFLGFBQWEsR0FBRyxRQUFRLEVBQUUsR0FBRyxJQUFJLEtBQXVCLEVBQUUsRUFDL0MsRUFBRSxDQUNqQixLQUFLLElBQUksRUFBRTtJQUNULE1BQU0sRUFBRSxZQUFZLEdBQUcsSUFBQSw4Q0FBcUIsRUFBQyxJQUFJLENBQUMsRUFBRSxPQUFPLEdBQUcsT0FBTyxDQUFDLEdBQUcsQ0FBQyxtQkFBVyxDQUFDLElBQUksZUFBZSxFQUFFLEdBQUcsSU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AgICAgKTtcbiAgICB9XG4gIH07XG4iXX0= /***/ }), @@ -23087,9 +23087,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.fromStatic = void 0; const property_provider_1 = __nccwpck_require__(1014); const isFunction = (func) => typeof func === "function"; -const fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => defaultValue() : (0, property_provider_1.fromStatic)(defaultValue); +const fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => defaultValue() : property_provider_1.fromStatic(defaultValue); exports.fromStatic = fromStatic; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnJvbVN0YXRpYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9mcm9tU3RhdGljLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLGtFQUE2RTtBQUs3RSxNQUFNLFVBQVUsR0FBRyxDQUFJLElBQXlCLEVBQXFCLEVBQUUsQ0FBQyxPQUFPLElBQUksS0FBSyxVQUFVLENBQUM7QUFFNUYsTUFBTSxVQUFVLEdBQUcsQ0FBSSxZQUFpQyxFQUFlLEVBQUUsQ0FDOUUsVUFBVSxDQUFDLFlBQVksQ0FBQyxDQUFDLENBQUMsQ0FBQyxLQUFLLElBQUksRUFBRSxDQUFDLFlBQVksRUFBRSxDQUFDLENBQUMsQ0FBQyxJQUFBLDhCQUFpQixFQUFDLFlBQVksQ0FBQyxDQUFDO0FBRDdFLFFBQUEsVUFBVSxjQUNtRSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGZyb21TdGF0aWMgYXMgY29udmVydFRvUHJvdmlkZXIgfSBmcm9tIFwiQGF3cy1zZGsvcHJvcGVydHktcHJvdmlkZXJcIjtcbmltcG9ydCB7IFByb3ZpZGVyIH0gZnJvbSBcIkBhd3Mtc2RrL3R5cGVzXCI7XG5cbmV4cG9ydCB0eXBlIEZyb21TdGF0aWNDb25maWc8VD4gPSB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gZnJvbSBcIkBhd3Mtc2RrL3Byb3BlcnR5LXByb3ZpZGVyXCI7XG5pbXBvcnQgeyBQcm92aWRlciB9IGZyb20gXCJAYXdzLXNkay90eXBlc1wiO1xuXG5leHBvcnQgdHlwZSBGcm9tU3RhdGljQ29uZmlnPFQ+ID0gVCB8ICgoKSA9PiBUKTtcbnR5cGUgR2V0dGVyPFQ+ID0gKCkgPT4gVDtcbmNvbnN0IGlzRnVuY3Rpb24gPSA8VD4oZnVuYzogRnJvbVN0YXRpY0NvbmZpZzxUPik6IGZ1bmMgaXMgR2V0dGVyPFQ+ID0+IHR5cGVvZiBmdW5jID09PSBcImZ1bmN0aW9uXCI7XG5cbmV4cG9ydCBjb25zdCBmcm9tU3RhdGljID0gPFQ+KGRlZmF1bHRWYWx1ZTogRnJvbVN0YXRpY0NvbmZpZzxUPik6IFByb3ZpZGVyPFQ+ID0+XG4gIGlzRnVuY3Rpb24oZGVmYXVsdFZhbHVlKSA/IGFzeW5jICgpID0+IGRlZmF1bHRWYWx1ZSgpIDogY29udmVydFRvUHJvdmlkZXIoZGVmYXVsdFZhbHVlKTtcbiJdfQ== /***/ }), @@ -23100,8 +23100,8 @@ exports.fromStatic = fromStatic; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(3552), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsOERBQStCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vY29uZmlnTG9hZGVyXCI7XG4iXX0= +tslib_1.__exportStar(__nccwpck_require__(3552), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseURBQStCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vY29uZmlnTG9hZGVyXCI7XG4iXX0= /***/ }), @@ -23147,10 +23147,10 @@ exports.getTransformedHeaders = getTransformedHeaders; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(24), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(8731), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(1624), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsbUVBQW9DO0FBQ3BDLG9FQUFxQztBQUNyQyxrRUFBbUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9ub2RlLWh0dHAtaGFuZGxlclwiO1xuZXhwb3J0ICogZnJvbSBcIi4vbm9kZS1odHRwMi1oYW5kbGVyXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9zdHJlYW0tY29sbGVjdG9yXCI7XG4iXX0= +tslib_1.__exportStar(__nccwpck_require__(24), exports); +tslib_1.__exportStar(__nccwpck_require__(8731), exports); +tslib_1.__exportStar(__nccwpck_require__(1624), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsOERBQW9DO0FBQ3BDLCtEQUFxQztBQUNyQyw2REFBbUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9ub2RlLWh0dHAtaGFuZGxlclwiO1xuZXhwb3J0ICogZnJvbSBcIi4vbm9kZS1odHRwMi1oYW5kbGVyXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9zdHJlYW0tY29sbGVjdG9yXCI7XG4iXX0= /***/ }), @@ -23196,7 +23196,7 @@ class NodeHttpHandler { } // determine which http(s) client to use const isSSL = request.protocol === "https:"; - const queryString = (0, querystring_builder_1.buildQueryString)(request.query || {}); + const queryString = querystring_builder_1.buildQueryString(request.query || {}); const nodeHttpsOptions = { headers: request.headers, host: request.hostname, @@ -23210,7 +23210,7 @@ class NodeHttpHandler { const req = requestFunc(nodeHttpsOptions, (res) => { const httpResponse = new protocol_http_1.HttpResponse({ statusCode: res.statusCode || -1, - headers: (0, get_transformed_headers_1.getTransformedHeaders)(res.headers), + headers: get_transformed_headers_1.getTransformedHeaders(res.headers), body: res, }); resolve({ response: httpResponse }); @@ -23224,8 +23224,8 @@ class NodeHttpHandler { } }); // wire-up any timeout logic - (0, set_connection_timeout_1.setConnectionTimeout)(req, reject, this.connectionTimeout); - (0, set_socket_timeout_1.setSocketTimeout)(req, reject, this.socketTimeout); + set_connection_timeout_1.setConnectionTimeout(req, reject, this.connectionTimeout); + set_socket_timeout_1.setSocketTimeout(req, reject, this.socketTimeout); // wire-up abort logic if (abortSignal) { abortSignal.onabort = () => { @@ -23236,12 +23236,12 @@ class NodeHttpHandler { reject(abortError); }; } - (0, write_request_body_1.writeRequestBody)(req, request); + write_request_body_1.writeRequestBody(req, request); }); } } exports.NodeHttpHandler = NodeHttpHandler; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS1odHRwLWhhbmRsZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvbm9kZS1odHRw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YgKGFib3J0U2lnbmFsKSB7XG4gICAgICAgIGFib3J0U2lnbmFsLm9uYWJvcnQgPSAoKSA9PiB7XG4gICAgICAgICAgLy8gZW5zdXJlIHJlcXVlc3QgaXMgZGVzdHJveWVkXG4gICAgICAgICAgcmVxLmFib3J0KCk7XG4gICAgICAgICAgY29uc3QgYWJvcnRFcnJvciA9IG5ldyBFcnJvcihcIlJlcXVlc3QgYWJvcnRlZFwiKTtcbiAgICAgICAgICBhYm9ydEVycm9yLm5hbWUgPSBcIkFib3J0RXJyb3JcIjtcbiAgICAgICAgICByZWplY3QoYWJvcnRFcnJvcik7XG4gICAgICAgIH07XG4gICAgICB9XG5cbiAgICAgIHdyaXRlUmVxdWVzdEJvZHkocmVxLCByZXF1ZXN0KTtcbiAgICB9KTtcbiAgfVxufVxuIl19 /***/ }), @@ -23294,7 +23294,7 @@ class NodeHttp2Handler { fulfilled = true; rejectOriginal(err); }; - const queryString = (0, querystring_builder_1.buildQueryString)(query || {}); + const queryString = querystring_builder_1.buildQueryString(query || {}); // create the http2 request const req = session.request({ ...request.headers, @@ -23304,7 +23304,7 @@ class NodeHttp2Handler { req.on("response", (headers) => { const httpResponse = new protocol_http_1.HttpResponse({ statusCode: headers[":status"] || -1, - headers: (0, get_transformed_headers_1.getTransformedHeaders)(headers), + headers: get_transformed_headers_1.getTransformedHeaders(headers), body: req, }); fulfilled = true; @@ -23352,7 +23352,7 @@ class NodeHttp2Handler { reject(new Error("Unexpected error: http2 request did not get a response")); } }); - (0, write_request_body_1.writeRequestBody)(req, request); + write_request_body_1.writeRequestBody(req, request); }); } /** @@ -23368,7 +23368,7 @@ class NodeHttp2Handler { // If concurrent streams are not disabled, we can use the existing session. if (existingSessions.length > 0 && !disableConcurrentStreams) return existingSessions[0]; - const newSession = (0, http2_1.connect)(authority); + const newSession = http2_1.connect(authority); const destroySessionCb = () => { this.destroySession(newSession); this.deleteSessionFromCache(authority, newSession); @@ -23408,7 +23408,7 @@ class NodeHttp2Handler { } } exports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5cbiAgICAgIHJldHVybjtcbiAgICB9XG4gICAgdGhpcy5zZXNzaW9uQ2FjaGUuc2V0KFxuICAgICAgYXV0aG9yaXR5LFxuICAgICAgZXhpc3RpbmdTZXNzaW9ucy5maWx0ZXIoKHMpID0+IHMgIT09IHNlc3Npb24pXG4gICAgKTtcbiAgfVxufVxuIl19 /***/ }), @@ -23670,11 +23670,11 @@ exports.fromStatic = fromStatic; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(330), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(2037), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7803), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(791), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsdURBQXdCO0FBQ3hCLDREQUE2QjtBQUM3Qix5REFBMEI7QUFDMUIsK0RBQWdDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vY2hhaW5cIjtcbmV4cG9ydCAqIGZyb20gXCIuL2Zyb21TdGF0aWNcIjtcbmV4cG9ydCAqIGZyb20gXCIuL21lbW9pemVcIjtcbmV4cG9ydCAqIGZyb20gXCIuL1Byb3ZpZGVyRXJyb3JcIjtcbiJdfQ== +tslib_1.__exportStar(__nccwpck_require__(330), exports); +tslib_1.__exportStar(__nccwpck_require__(2037), exports); +tslib_1.__exportStar(__nccwpck_require__(7803), exports); +tslib_1.__exportStar(__nccwpck_require__(791), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsa0RBQXdCO0FBQ3hCLHVEQUE2QjtBQUM3QixvREFBMEI7QUFDMUIsMERBQWdDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vY2hhaW5cIjtcbmV4cG9ydCAqIGZyb20gXCIuL2Zyb21TdGF0aWNcIjtcbmV4cG9ydCAqIGZyb20gXCIuL21lbW9pemVcIjtcbmV4cG9ydCAqIGZyb20gXCIuL1Byb3ZpZGVyRXJyb3JcIjtcbiJdfQ== /***/ }), @@ -23837,11 +23837,11 @@ exports.HttpResponse = HttpResponse; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(1772), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7577), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6695), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(797), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsOERBQStCO0FBQy9CLDZEQUE4QjtBQUM5Qiw2REFBOEI7QUFDOUIsaUVBQWtDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vaHR0cFJlc3BvbnNlXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9odHRwUmVxdWVzdFwiO1xuZXhwb3J0ICogZnJvbSBcIi4vaHR0cEhhbmRsZXJcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2lzVmFsaWRIb3N0bmFtZVwiO1xuIl19 +tslib_1.__exportStar(__nccwpck_require__(1772), exports); +tslib_1.__exportStar(__nccwpck_require__(7577), exports); +tslib_1.__exportStar(__nccwpck_require__(6695), exports); +tslib_1.__exportStar(__nccwpck_require__(797), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseURBQStCO0FBQy9CLHdEQUE4QjtBQUM5Qix3REFBOEI7QUFDOUIsNERBQWtDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vaHR0cFJlc3BvbnNlXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9odHRwUmVxdWVzdFwiO1xuZXhwb3J0ICogZnJvbSBcIi4vaHR0cEhhbmRsZXJcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2lzVmFsaWRIb3N0bmFtZVwiO1xuIl19 /***/ }), @@ -23873,16 +23873,16 @@ function buildQueryString(query) { const parts = []; for (let key of Object.keys(query).sort()) { const value = query[key]; - key = (0, util_uri_escape_1.escapeUri)(key); + key = util_uri_escape_1.escapeUri(key); if (Array.isArray(value)) { for (let i = 0, iLen = value.length; i < iLen; i++) { - parts.push(`${key}=${(0, util_uri_escape_1.escapeUri)(value[i])}`); + parts.push(`${key}=${util_uri_escape_1.escapeUri(value[i])}`); } } else { let qsEntry = key; if (value || typeof value === "string") { - qsEntry += `=${(0, util_uri_escape_1.escapeUri)(value)}`; + qsEntry += `=${util_uri_escape_1.escapeUri(value)}`; } parts.push(qsEntry); } @@ -23890,7 +23890,7 @@ function buildQueryString(query) { return parts.join("&"); } exports.buildQueryString = buildQueryString; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0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IFF1ZXJ5UGFyYW1ldGVyQmFnIH0gZnJvbSBcIkBhd3Mtc2RrL3R5cGVzXCI7XG5pbXBvcnQgeyBlc2NhcGVVcmkgfSBmcm9tIFwiQGF3cy1zZGsvdXRpbC11cmktZXNjYXBlXCI7XG5cbmV4cG9ydCBmdW5jdGlvbiBidWlsZFF1ZXJ5U3RyaW5nKHF1ZXJ5OiBRdWVyeVBhcmFtZXRlckJhZyk6IHN0cmluZyB7XG4gIGNvbnN0IHBhcnRzOiBzdHJpbmdbXSA9IFtdO1xuICBmb3IgKGxldCBrZXkgb2YgT2JqZWN0LmtleXMocXVlcnkpLnNvcnQoKSkge1xuICAgIGNvbnN0IHZhbHVlID0gcXVlcnlba2V5XTtcbiAgICBrZXkgPSBlc2NhcGVVcmkoa2V5KTtcbiAgICBpZiAoQXJyYXkuaXNBcnJheSh2YWx1ZSkpIHtcbiAgICAgIGZvciAobGV0IGkgPSAwLCBpTGVuID0gdmFsdWUubGVuZ3RoOyBpIDwgaUxlbjsgaSsrKSB7XG4gICAgICAgIHBhcnRzLnB1c2goYCR7a2V5fT0ke2VzY2FwZVVyaSh2YWx1ZVtpXSl9YCk7XG4gICAgICB9XG4gICAgfSBlbHNlIHtcbiAgICAgIGxldCBxc0VudHJ5ID0ga2V5O1xuICAgICAgaWYgKHZhbHVlIHx8IHR5cGVvZiB2YWx1ZSA9PT0gXCJzdHJpbmdcIikge1xuICAgICAgICBxc0VudHJ5ICs9IGA9JHtlc2NhcGVVcmkodmFsdWUpfWA7XG4gICAgICB9XG4gICAgICBwYXJ0cy5wdXNoKHFzRW50cnkpO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiBwYXJ0cy5qb2luKFwiJlwiKTtcbn1cbiJdfQ== /***/ }), @@ -24027,7 +24027,7 @@ exports.ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE"; exports.ENV_CONFIG_PATH = "AWS_CONFIG_FILE"; const swallowError = () => ({}); const loadSharedConfigFiles = (init = {}) => { - const { filepath = process.env[exports.ENV_CREDENTIALS_PATH] || (0, path_1.join)((0, exports.getHomeDir)(), ".aws", "credentials"), configFilepath = process.env[exports.ENV_CONFIG_PATH] || (0, path_1.join)((0, exports.getHomeDir)(), ".aws", "config"), } = init; + const { filepath = process.env[exports.ENV_CREDENTIALS_PATH] || path_1.join(exports.getHomeDir(), ".aws", "credentials"), configFilepath = process.env[exports.ENV_CONFIG_PATH] || path_1.join(exports.getHomeDir(), ".aws", "config"), } = init; return Promise.all([ slurpFile(configFilepath).then(parseIni).then(normalizeConfigFile).catch(swallowError), slurpFile(filepath).then(parseIni).catch(swallowError), @@ -24082,7 +24082,7 @@ const parseIni = (iniData) => { return map; }; const slurpFile = (path) => new Promise((resolve, reject) => { - (0, fs_1.readFile)(path, "utf8", (err, data) => { + fs_1.readFile(path, "utf8", (err, data) => { if (err) { reject(err); } @@ -24104,10 +24104,10 @@ const getHomeDir = () => { return USERPROFILE; if (HOMEPATH) return `${HOMEDRIVE}${HOMEPATH}`; - return (0, os_1.homedir)(); + return os_1.homedir(); }; exports.getHomeDir = getHomeDir; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMkJBQThCO0FBQzlCLDJCQUE2QjtBQUM3QiwrQkFBaUM7QUFFcEIsUUFBQSxvQkFBb0IsR0FBRyw2QkFBNkIsQ0FBQztBQUNyRCxRQUFBLGVBQWUsR0FBRyxpQkFBaUIsQ0FBQztBQStCakQsTUFBTSxZQUFZLEdBQUcsR0FBRyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQztBQUV6QixNQUFNLHFCQUFxQixHQUFHLENBQUMsT0FBeUIsRUFBRSxFQUE4QixFQUFFO0lBQy9GLE1BQU0sRUFDSixRQUFRLEdB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SBmb3IgdGhlIGN1cnJlbnQgcnVudGltZS5cbiAqXG4gKiBAaW50ZXJuYWxcbiAqL1xuZXhwb3J0IGNvbnN0IGdldEhvbWVEaXIgPSAoKTogc3RyaW5nID0+IHtcbiAgY29uc3QgeyBIT01FLCBVU0VSUFJPRklMRSwgSE9NRVBBVEgsIEhPTUVEUklWRSA9IGBDOiR7c2VwfWAgfSA9IHByb2Nlc3MuZW52O1xuXG4gIGlmIChIT01FKSByZXR1cm4gSE9NRTtcbiAgaWYgKFVTRVJQUk9GSUxFKSByZXR1cm4gVVNFUlBST0ZJTEU7XG4gIGlmIChIT01FUEFUSCkgcmV0dXJuIGAke0hPTUVEUklWRX0ke0hPTUVQQVRIfWA7XG5cbiAgcmV0dXJuIGhvbWVkaXIoKTtcbn07XG4iXX0= /***/ }), @@ -24146,8 +24146,8 @@ class SignatureV4 { if (expiresIn > constants_1.MAX_PRESIGNED_TTL) { return Promise.reject("Signature version 4 presigned URLs" + " must have an expiration date less than one week in" + " the future"); } - const scope = (0, credentialDerivation_1.createScope)(shortDate, region, signingService !== null && signingService !== void 0 ? signingService : this.service); - const request = (0, moveHeadersToQuery_1.moveHeadersToQuery)((0, prepareRequest_1.prepareRequest)(originalRequest), { unhoistableHeaders }); + const scope = credentialDerivation_1.createScope(shortDate, region, signingService !== null && signingService !== void 0 ? signingService : this.service); + const request = moveHeadersToQuery_1.moveHeadersToQuery(prepareRequest_1.prepareRequest(originalRequest), { unhoistableHeaders }); if (credentials.sessionToken) { request.query[constants_1.TOKEN_QUERY_PARAM] = credentials.sessionToken; } @@ -24155,9 +24155,9 @@ class SignatureV4 { request.query[constants_1.CREDENTIAL_QUERY_PARAM] = `${credentials.accessKeyId}/${scope}`; request.query[constants_1.AMZ_DATE_QUERY_PARAM] = longDate; request.query[constants_1.EXPIRES_QUERY_PARAM] = expiresIn.toString(10); - const canonicalHeaders = (0, getCanonicalHeaders_1.getCanonicalHeaders)(request, unsignableHeaders, signableHeaders); + const canonicalHeaders = getCanonicalHeaders_1.getCanonicalHeaders(request, unsignableHeaders, signableHeaders); request.query[constants_1.SIGNED_HEADERS_QUERY_PARAM] = getCanonicalHeaderList(canonicalHeaders); - request.query[constants_1.SIGNATURE_QUERY_PARAM] = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, await (0, getPayloadHash_1.getPayloadHash)(originalRequest, this.sha256))); + request.query[constants_1.SIGNATURE_QUERY_PARAM] = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, await getPayloadHash_1.getPayloadHash(originalRequest, this.sha256))); return request; } async sign(toSign, options) { @@ -24174,11 +24174,11 @@ class SignatureV4 { async signEvent({ headers, payload }, { signingDate = new Date(), priorSignature, signingRegion, signingService }) { const region = signingRegion !== null && signingRegion !== void 0 ? signingRegion : (await this.regionProvider()); const { shortDate, longDate } = formatDate(signingDate); - const scope = (0, credentialDerivation_1.createScope)(shortDate, region, signingService !== null && signingService !== void 0 ? signingService : this.service); - const hashedPayload = await (0, getPayloadHash_1.getPayloadHash)({ headers: {}, body: payload }, this.sha256); + const scope = credentialDerivation_1.createScope(shortDate, region, signingService !== null && signingService !== void 0 ? signingService : this.service); + const hashedPayload = await getPayloadHash_1.getPayloadHash({ headers: {}, body: payload }, this.sha256); const hash = new this.sha256(); hash.update(headers); - const hashedHeaders = (0, util_hex_encoding_1.toHex)(await hash.digest()); + const hashedHeaders = util_hex_encoding_1.toHex(await hash.digest()); const stringToSign = [ constants_1.EVENT_ALGORITHM_IDENTIFIER, longDate, @@ -24195,23 +24195,23 @@ class SignatureV4 { const { shortDate } = formatDate(signingDate); const hash = new this.sha256(await this.getSigningKey(credentials, region, shortDate, signingService)); hash.update(stringToSign); - return (0, util_hex_encoding_1.toHex)(await hash.digest()); + return util_hex_encoding_1.toHex(await hash.digest()); } async signRequest(requestToSign, { signingDate = new Date(), signableHeaders, unsignableHeaders, signingRegion, signingService, } = {}) { const credentials = await this.credentialProvider(); const region = signingRegion !== null && signingRegion !== void 0 ? signingRegion : (await this.regionProvider()); - const request = (0, prepareRequest_1.prepareRequest)(requestToSign); + const request = prepareRequest_1.prepareRequest(requestToSign); const { longDate, shortDate } = formatDate(signingDate); - const scope = (0, credentialDerivation_1.createScope)(shortDate, region, signingService !== null && signingService !== void 0 ? signingService : this.service); + const scope = credentialDerivation_1.createScope(shortDate, region, signingService !== null && signingService !== void 0 ? signingService : this.service); request.headers[constants_1.AMZ_DATE_HEADER] = longDate; if (credentials.sessionToken) { request.headers[constants_1.TOKEN_HEADER] = credentials.sessionToken; } - const payloadHash = await (0, getPayloadHash_1.getPayloadHash)(request, this.sha256); - if (!(0, hasHeader_1.hasHeader)(constants_1.SHA256_HEADER, request.headers) && this.applyChecksum) { + const payloadHash = await getPayloadHash_1.getPayloadHash(request, this.sha256); + if (!hasHeader_1.hasHeader(constants_1.SHA256_HEADER, request.headers) && this.applyChecksum) { request.headers[constants_1.SHA256_HEADER] = payloadHash; } - const canonicalHeaders = (0, getCanonicalHeaders_1.getCanonicalHeaders)(request, unsignableHeaders, signableHeaders); + const canonicalHeaders = getCanonicalHeaders_1.getCanonicalHeaders(request, unsignableHeaders, signableHeaders); const signature = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, payloadHash)); request.headers[constants_1.AUTH_HEADER] = `${constants_1.ALGORITHM_IDENTIFIER} ` + @@ -24224,7 +24224,7 @@ class SignatureV4 { const sortedHeaders = Object.keys(canonicalHeaders).sort(); return `${request.method} ${this.getCanonicalPath(request)} -${(0, getCanonicalQuery_1.getCanonicalQuery)(request)} +${getCanonicalQuery_1.getCanonicalQuery(request)} ${sortedHeaders.map((name) => `${name}:${canonicalHeaders[name]}`).join("\n")} ${sortedHeaders.join(";")} @@ -24237,7 +24237,7 @@ ${payloadHash}`; return `${constants_1.ALGORITHM_IDENTIFIER} ${longDate} ${credentialScope} -${(0, util_hex_encoding_1.toHex)(hashedRequest)}`; +${util_hex_encoding_1.toHex(hashedRequest)}`; } getCanonicalPath({ path }) { if (this.uriEscapePath) { @@ -24250,15 +24250,15 @@ ${(0, util_hex_encoding_1.toHex)(hashedRequest)}`; const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest); const hash = new this.sha256(await keyPromise); hash.update(stringToSign); - return (0, util_hex_encoding_1.toHex)(await hash.digest()); + return util_hex_encoding_1.toHex(await hash.digest()); } getSigningKey(credentials, region, shortDate, service) { - return (0, credentialDerivation_1.getSigningKey)(this.sha256, credentials, shortDate, region, service || this.service); + return credentialDerivation_1.getSigningKey(this.sha256, credentials, shortDate, region, service || this.service); } } exports.SignatureV4 = SignatureV4; const formatDate = (now) => { - const longDate = (0, utilDate_1.iso8601)(now).replace(/[\-:]/g, ""); + const longDate = utilDate_1.iso8601(now).replace(/[\-:]/g, ""); return { longDate, shortDate: longDate.substr(0, 8), @@ -24283,7 +24283,7 @@ const normalizeCredentialsProvider = (credentials) => { return credentials; } }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2lnbmF0dXJlVjQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvU2lnbmF0dXJlVjQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBaUJBLGtFQUFtRDtBQUVuRCwyQ0FlcUI7QUFDckIsaUVBQW9FO0FBQ3BFLCtEQUE0RDtBQUM1RCwyREFBd0Q7QUFDeEQscURBQWtEO0FBQ2xELDJDQUF3QztBQUN4Qyw2REFBMEQ7QUFDMUQscURBQWtEO0FBQ2xELHlDQUFxQztBQWtEckMsTUFBYSxXQUFXO0lBUXRCLFlBQVksRUFDVixhQUFhLEVBQ2IsV0FBVyxFQUNYLE1BQU0sRUFDTixPQUFPLEVBQ1AsTUFBTSxFQUNOLGFBQWEsR0FBRyxJQUFJLEdBQ29CO1FBQ3hDLElBQ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VxufTtcblxuY29uc3Qgbm9ybWFsaXplQ3JlZGVudGlhbHNQcm92aWRlciA9IChjcmVkZW50aWFsczogQ3JlZGVudGlhbHMgfCBQcm92aWRlcjxDcmVkZW50aWFscz4pOiBQcm92aWRlcjxDcmVkZW50aWFscz4gPT4ge1xuICBpZiAodHlwZW9mIGNyZWRlbnRpYWxzID09PSBcIm9iamVjdFwiKSB7XG4gICAgY29uc3QgcHJvbWlzaWZpZWQgPSBQcm9taXNlLnJlc29sdmUoY3JlZGVudGlhbHMpO1xuICAgIHJldHVybiAoKSA9PiBwcm9taXNpZmllZDtcbiAgfSBlbHNlIHtcbiAgICByZXR1cm4gY3JlZGVudGlhbHM7XG4gIH1cbn07XG4iXX0= /***/ }), @@ -24406,7 +24406,7 @@ exports.createScope = createScope; */ const getSigningKey = async (sha256Constructor, credentials, shortDate, region, service) => { const credsHash = await hmac(sha256Constructor, credentials.secretAccessKey, credentials.accessKeyId); - const cacheKey = `${shortDate}:${region}:${service}:${(0, util_hex_encoding_1.toHex)(credsHash)}:${credentials.sessionToken}`; + const cacheKey = `${shortDate}:${region}:${service}:${util_hex_encoding_1.toHex(credsHash)}:${credentials.sessionToken}`; if (cacheKey in signingKeyCache) { return signingKeyCache[cacheKey]; } @@ -24436,7 +24436,7 @@ function hmac(ctor, secret, data) { hash.update(data); return hash.digest(); } -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlZGVudGlhbERlcml2YXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvY3JlZGVudGlhbERlcml2YXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0Esa0VBQW1EO0FBRW5ELDJDQUFrRTtBQUVsRSxNQUFNLGVBQWUsR0FBa0MsRUFBRSxDQUFDO0FBQzFELE1BQU0sVUFBVSxHQUFrQixFQUFFLENBQUM7QUFFckM7Ozs7OztHQU1HO0FBQ0gs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bmdLZXlDYWNoZSkuZm9yRWFjaCgoY2FjaGVLZXkpID0+IHtcbiAgICBkZWxldGUgc2lnbmluZ0tleUNhY2hlW2NhY2hlS2V5XTtcbiAgfSk7XG59XG5cbmZ1bmN0aW9uIGhtYWMoY3RvcjogSGFzaENvbnN0cnVjdG9yLCBzZWNyZXQ6IFNvdXJjZURhdGEsIGRhdGE6IFNvdXJjZURhdGEpOiBQcm9taXNlPFVpbnQ4QXJyYXk+IHtcbiAgY29uc3QgaGFzaCA9IG5ldyBjdG9yKHNlY3JldCk7XG4gIGhhc2gudXBkYXRlKGRhdGEpO1xuICByZXR1cm4gaGFzaC5kaWdlc3QoKTtcbn1cbiJdfQ== /***/ }), @@ -24494,13 +24494,13 @@ function getCanonicalQuery({ query = {} }) { keys.push(key); const value = query[key]; if (typeof value === "string") { - serialized[key] = `${(0, util_uri_escape_1.escapeUri)(key)}=${(0, util_uri_escape_1.escapeUri)(value)}`; + serialized[key] = `${util_uri_escape_1.escapeUri(key)}=${util_uri_escape_1.escapeUri(value)}`; } else if (Array.isArray(value)) { serialized[key] = value .slice(0) .sort() - .reduce((encoded, value) => encoded.concat([`${(0, util_uri_escape_1.escapeUri)(key)}=${(0, util_uri_escape_1.escapeUri)(value)}`]), []) + .reduce((encoded, value) => encoded.concat([`${util_uri_escape_1.escapeUri(key)}=${util_uri_escape_1.escapeUri(value)}`]), []) .join("&"); } } @@ -24510,7 +24510,7 @@ function getCanonicalQuery({ query = {} }) { .join("&"); } exports.getCanonicalQuery = getCanonicalQuery; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0Q2Fub25pY2FsUXVlcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZ2V0Q2Fub25pY2FsUXVlcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsOERBQXFEO0FBRXJELDJDQUErQztBQUUvQzs7R0FFRztBQ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VkW2tleV0gPSB2YWx1ZVxuICAgICAgICAuc2xpY2UoMClcbiAgICAgICAgLnNvcnQoKVxuICAgICAgICAucmVkdWNlKFxuICAgICAgICAgIChlbmNvZGVkOiBBcnJheTxzdHJpbmc+LCB2YWx1ZTogc3RyaW5nKSA9PiBlbmNvZGVkLmNvbmNhdChbYCR7ZXNjYXBlVXJpKGtleSl9PSR7ZXNjYXBlVXJpKHZhbHVlKX1gXSksXG4gICAgICAgICAgW11cbiAgICAgICAgKVxuICAgICAgICAuam9pbihcIiZcIik7XG4gICAgfVxuICB9XG5cbiAgcmV0dXJuIGtleXNcbiAgICAubWFwKChrZXkpID0+IHNlcmlhbGl6ZWRba2V5XSlcbiAgICAuZmlsdGVyKChzZXJpYWxpemVkKSA9PiBzZXJpYWxpemVkKSAvLyBvbWl0IGFueSBmYWxzeSB2YWx1ZXNcbiAgICAuam9pbihcIiZcIik7XG59XG4iXX0= /***/ }), @@ -24536,10 +24536,10 @@ async function getPayloadHash({ headers, body }, hashConstructor) { if (body == undefined) { return "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"; } - else if (typeof body === "string" || ArrayBuffer.isView(body) || (0, is_array_buffer_1.isArrayBuffer)(body)) { + else if (typeof body === "string" || ArrayBuffer.isView(body) || is_array_buffer_1.isArrayBuffer(body)) { const hashCtor = new hashConstructor(); hashCtor.update(body); - return (0, util_hex_encoding_1.toHex)(await hashCtor.digest()); + return util_hex_encoding_1.toHex(await hashCtor.digest()); } // As any defined body that is not a string or binary data is a stream, this // body is unsignable. Attempt to send the request with an unsigned payload, @@ -24547,7 +24547,7 @@ async function getPayloadHash({ headers, body }, hashConstructor) { return constants_1.UNSIGNED_PAYLOAD; } exports.getPayloadHash = getPayloadHash; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0UGF5bG9hZEhhc2guanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZ2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TG93ZXJDYXNlKCkgPT09IFNIQTI1Nl9IRUFERVIpIHtcbiAgICAgIHJldHVybiBoZWFkZXJzW2hlYWRlck5hbWVdO1xuICAgIH1cbiAgfVxuXG4gIGlmIChib2R5ID09IHVuZGVmaW5lZCkge1xuICAgIHJldHVybiBcImUzYjBjNDQyOThmYzFjMTQ5YWZiZjRjODk5NmZiOTI0MjdhZTQxZTQ2NDliOTM0Y2E0OTU5OTFiNzg1MmI4NTVcIjtcbiAgfSBlbHNlIGlmICh0eXBlb2YgYm9keSA9PT0gXCJzdHJpbmdcIiB8fCBBcnJheUJ1ZmZlci5pc1ZpZXcoYm9keSkgfHwgaXNBcnJheUJ1ZmZlcihib2R5KSkge1xuICAgIGNvbnN0IGhhc2hDdG9yID0gbmV3IGhhc2hDb25zdHJ1Y3RvcigpO1xuICAgIGhhc2hDdG9yLnVwZGF0ZShib2R5KTtcbiAgICByZXR1cm4gdG9IZXgoYXdhaXQgaGFzaEN0b3IuZGlnZXN0KCkpO1xuICB9XG5cbiAgLy8gQXMgYW55IGRlZmluZWQgYm9keSB0aGF0IGlzIG5vdCBhIHN0cmluZyBvciBiaW5hcnkgZGF0YSBpcyBhIHN0cmVhbSwgdGhpc1xuICAvLyBib2R5IGlzIHVuc2lnbmFibGUuIEF0dGVtcHQgdG8gc2VuZCB0aGUgcmVxdWVzdCB3aXRoIGFuIHVuc2lnbmVkIHBheWxvYWQsXG4gIC8vIHdoaWNoIG1heSBvciBtYXkgbm90IGJlIGFjY2VwdGVkIGJ5IHRoZSBzZXJ2aWNlLlxuICByZXR1cm4gVU5TSUdORURfUEFZTE9BRDtcbn1cbiJdfQ== /***/ }), @@ -24579,9 +24579,9 @@ exports.hasHeader = hasHeader; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(5478), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7210), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0VBQXVDO0FBQ3ZDLDZEQUE4QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL2NyZWRlbnRpYWxEZXJpdmF0aW9uXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9TaWduYXR1cmVWNFwiO1xuIl19 +tslib_1.__exportStar(__nccwpck_require__(5478), exports); +tslib_1.__exportStar(__nccwpck_require__(7210), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsaUVBQXVDO0FBQ3ZDLHdEQUE4QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL2NyZWRlbnRpYWxEZXJpdmF0aW9uXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9TaWduYXR1cmVWNFwiO1xuIl19 /***/ }), @@ -24598,7 +24598,7 @@ const cloneRequest_1 = __nccwpck_require__(4566); */ function moveHeadersToQuery(request, options = {}) { var _a; - const { headers, query = {} } = typeof request.clone === "function" ? request.clone() : (0, cloneRequest_1.cloneRequest)(request); + const { headers, query = {} } = typeof request.clone === "function" ? request.clone() : cloneRequest_1.cloneRequest(request); for (const name of Object.keys(headers)) { const lname = name.toLowerCase(); if (lname.substr(0, 6) === "x-amz-" && !((_a = options.unhoistableHeaders) === null || _a === void 0 ? void 0 : _a.has(lname))) { @@ -24613,7 +24613,7 @@ function moveHeadersToQuery(request, options = {}) { }; } exports.moveHeadersToQuery = moveHeadersToQuery; -//# sourceMappingURL=data:application/json;base64,ey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G4gICAgLi4ucmVxdWVzdCxcbiAgICBoZWFkZXJzLFxuICAgIHF1ZXJ5LFxuICB9O1xufVxuIl19 /***/ }), @@ -24631,7 +24631,7 @@ const constants_1 = __nccwpck_require__(3851); */ function prepareRequest(request) { // Create a clone of the request object that does not clone the body - request = typeof request.clone === "function" ? request.clone() : (0, cloneRequest_1.cloneRequest)(request); + request = typeof request.clone === "function" ? request.clone() : cloneRequest_1.cloneRequest(request); for (const headerName of Object.keys(request.headers)) { if (constants_1.GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) { delete request.headers[headerName]; @@ -24640,7 +24640,7 @@ function prepareRequest(request) { return request; } exports.prepareRequest = prepareRequest; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJlcGFyZVJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvcHJlcGFyZVJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBRUEsaURBQThDO0FBQzlDLDJDQUFnRDtBQUVoRDs7R0FFRztBQUNILFNBQWdCLGNBQWMsQ0FBQyxPQUFvQjtJQUNqRCxvRUFBb0U7SUFDcEUsT0FBTyxHQUFHLE9BQVEsT0FBZSxDQUFDLEtBQUssS0FBSyxVQUFVLENBQUMsQ0FBQyxDQUFFLE9BQWUsQ0FBQyxLQUFLLEVBQUUsQ0FBQyxDQUFDLENBQUMsSUFBQSwyQkFBWSxFQUFDLE9BQU8sQ0FBQyxDQUFDO0lBRTFHLEtBQUssTUFBTSxVQUFVLElBQUksTUFBTSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDLEVBQUU7UUFDckQsSUFBSSw2QkFBaUIsQ0FBQyxPQUFPLENBQUMsVUFBVSxDQUFDLFdBQVcsRUFBRSxDQUFDLEdBQUcsQ0FBQyxDQUFDLEVBQUU7WUFDNUQsT0FBTyxPQUFPLENBQUMsT0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pOiBIdHRwUmVxdWVzdCB7XG4gIC8vIENyZWF0ZSBhIGNsb25lIG9mIHRoZSByZXF1ZXN0IG9iamVjdCB0aGF0IGRvZXMgbm90IGNsb25lIHRoZSBib2R5XG4gIHJlcXVlc3QgPSB0eXBlb2YgKHJlcXVlc3QgYXMgYW55KS5jbG9uZSA9PT0gXCJmdW5jdGlvblwiID8gKHJlcXVlc3QgYXMgYW55KS5jbG9uZSgpIDogY2xvbmVSZXF1ZXN0KHJlcXVlc3QpO1xuXG4gIGZvciAoY29uc3QgaGVhZGVyTmFtZSBvZiBPYmplY3Qua2V5cyhyZXF1ZXN0LmhlYWRlcnMpKSB7XG4gICAgaWYgKEdFTkVSQVRFRF9IRUFERVJTLmluZGV4T2YoaGVhZGVyTmFtZS50b0xvd2VyQ2FzZSgpKSA+IC0xKSB7XG4gICAgICBkZWxldGUgcmVxdWVzdC5oZWFkZXJzW2hlYWRlck5hbWVdO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiByZXF1ZXN0O1xufVxuIl19 /***/ }), @@ -24684,7 +24684,7 @@ exports.Client = void 0; const middleware_stack_1 = __nccwpck_require__(2928); class Client { constructor(config) { - this.middlewareStack = (0, middleware_stack_1.constructStack)(); + this.middlewareStack = middleware_stack_1.constructStack(); this.config = config; } send(command, optionsOrCb, cb) { @@ -24709,7 +24709,7 @@ class Client { } } exports.Client = Client; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NsaWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxnRUFBMkQ7QUFlM0QsTUFBYSxNQUFNO0lBU2pCLFlBQVksTUFBbUM7UUFGeEMsb0JBQWUsR0FBK0MsSUFBQSxpQ0FBYyxHQUE2QixDQUFDO1FBRy9HLElBQUksQ0FBQyxNQUFNLEdBQUcsTUFBTSxDQ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Rpb25cIiA/IChvcHRpb25zT3JDYiBhcyAoZXJyOiBhbnksIGRhdGE/OiBPdXRwdXRUeXBlKSA9PiB2b2lkKSA6IGNiO1xuICAgIGNvbnN0IGhhbmRsZXIgPSBjb21tYW5kLnJlc29sdmVNaWRkbGV3YXJlKHRoaXMubWlkZGxld2FyZVN0YWNrIGFzIGFueSwgdGhpcy5jb25maWcsIG9wdGlvbnMpO1xuICAgIGlmIChjYWxsYmFjaykge1xuICAgICAgaGFuZGxlcihjb21tYW5kKVxuICAgICAgICAudGhlbihcbiAgICAgICAgICAocmVzdWx0KSA9PiBjYWxsYmFjayhudWxsLCByZXN1bHQub3V0cHV0KSxcbiAgICAgICAgICAoZXJyOiBhbnkpID0+IGNhbGxiYWNrKGVycilcbiAgICAgICAgKVxuICAgICAgICAuY2F0Y2goXG4gICAgICAgICAgLy8gcHJldmVudCBhbnkgZXJyb3JzIHRocm93biBpbiB0aGUgY2FsbGJhY2sgZnJvbSB0cmlnZ2VyaW5nIGFuXG4gICAgICAgICAgLy8gdW5oYW5kbGVkIHByb21pc2UgcmVqZWN0aW9uXG4gICAgICAgICAgKCkgPT4ge31cbiAgICAgICAgKTtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIGhhbmRsZXIoY29tbWFuZCkudGhlbigocmVzdWx0KSA9PiByZXN1bHQub3V0cHV0KTtcbiAgICB9XG4gIH1cblxuICBkZXN0cm95KCkge1xuICAgIGlmICh0aGlzLmNvbmZpZy5yZXF1ZXN0SGFuZGxlci5kZXN0cm95KSB0aGlzLmNvbmZpZy5yZXF1ZXN0SGFuZGxlci5kZXN0cm95KCk7XG4gIH1cbn1cbiJdfQ== +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NsaWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSx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24723,11 +24723,11 @@ exports.Command = void 0; const middleware_stack_1 = __nccwpck_require__(2928); class Command { constructor() { - this.middlewareStack = (0, middleware_stack_1.constructStack)(); + this.middlewareStack = middleware_stack_1.constructStack(); } } exports.Command = Command; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21tYW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLGdFQUEyRDtBQUczRCxNQUFzQixPQUFPO0lBQTdCO1FBU1csb0JBQWUsR0FBb0MsSUFBQSxpQ0FBYyxHQUFpQixDQUFDO0lBTTlGLENBQUM7Q0FBQTtBQWZELDBCQWVDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY29uc3RydWN0U3RhY2sgfSBmcm9tIFwiQGF3cy1zZGsvbWlkZGxld2FyZS1zdGFja1wiO1xuaW1wb3J0IHsgQ29tbWFuZCBhcyBJQ29tbWFuZCwgSGFuZGxlciwgTWV0YWRhdGFCZWFyZXIsIE1pZGRsZXdhcmVTdGFjayBhcyBJTWlkZGxld2FyZVN0YWNrIH0gZnJvbSBcIkBhd3Mtc2RrL3R5cGVzXCI7XG5cbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBDb21tYW5kPFxuICBJbnB1dCBleHRlbmRzIENsaWVudElucHV0LFxuICBPdXRwdXQgZXh0ZW5kcyBDbGllbnRPdXRwdXQsXG4gIFJlc29sdmVkQ2xpZW50Q29uZmlndXJhdGlvbixcbiAgQ2xpZW50SW5wdXQgZXh0ZW5kcyBvYmplY3QgPSBhbnksXG4gIENsaWVudE91dHB1dCBleHRlbmRzIE1ldGFkYXRhQmVhcmVyID0gYW55XG4+IGltcGxlbWVudHMgSUNvbW1hbmQ8Q2xpZW50SW5wdXQsIElucHV0LCBDbGllbnRPdXRwdXQsIE91dHB1dCwgUmVzb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biAgSW5wdXQgZXh0ZW5kcyBDbGllbnRJbnB1dCxcbiAgT3V0cHV0IGV4dGVuZHMgQ2xpZW50T3V0cHV0LFxuICBSZXNvbHZlZENsaWVudENvbmZpZ3VyYXRpb24sXG4gIENsaWVudElucHV0IGV4dGVuZHMgb2JqZWN0ID0gYW55LFxuICBDbGllbnRPdXRwdXQgZXh0ZW5kcyBNZXRhZGF0YUJlYXJlciA9IGFueVxuPiBpbXBsZW1lbnRzIElDb21tYW5kPENsaWVudElucHV0LCBJbnB1dCwgQ2xpZW50T3V0cHV0LCBPdXRwdXQsIFJlc29sdmVkQ2xpZW50Q29uZmlndXJhdGlvbj5cbntcbiAgYWJzdHJhY3QgaW5wdXQ6IElucHV0O1xuICByZWFkb25seSBtaWRkbGV3YXJlU3RhY2s6IElNaWRkbGV3YXJlU3RhY2s8SW5wdXQsIE91dHB1dD4gPSBjb25zdHJ1Y3RTdGFjazxJbnB1dCwgT3V0cHV0PigpO1xuICBhYnN0cmFjdCByZXNvbHZlTWlkZGxld2FyZShcbiAgICBzdGFjazogSU1pZGRsZXdhcmVTdGFjazxDbGllbnRJbnB1dCwgQ2xpZW50T3V0cHV0PixcbiAgICBjb25maWd1cmF0aW9uOiBSZXNvbHZlZENsaWVudENvbmZpZ3VyYXRpb24sXG4gICAgb3B0aW9uczogYW55XG4gICk6IEhhbmRsZXI8SW5wdXQsIE91dHB1dD47XG59XG4iXX0= /***/ }), @@ -24809,7 +24809,7 @@ const parseRfc3339DateTime = (value) => { if (!match || !match.groups) { throw new TypeError("Invalid RFC-3339 date-time value"); } - const year = (0, parse_utils_1.strictParseShort)(stripLeadingZeroes(match.groups["Y"])); + const year = parse_utils_1.strictParseShort(stripLeadingZeroes(match.groups["Y"])); const month = parseDateValue(match.groups["M"], "month", 1, 12); const day = parseDateValue(match.groups["D"], "day", 1, 31); return buildDate(year, month, day, match); @@ -24840,7 +24840,7 @@ const parseRfc7231DateTime = (value) => { //allow customization of day parsing for asctime days, which can be left-padded with spaces let dayFn = (value) => parseDateValue(value, "day", 1, 31); //all formats other than RFC 850 use a four-digit year - let yearFn = (value) => (0, parse_utils_1.strictParseShort)(stripLeadingZeroes(value)); + let yearFn = (value) => parse_utils_1.strictParseShort(stripLeadingZeroes(value)); //RFC 850 dates need post-processing to adjust year values if they are too far in the future let dateAdjustmentFn = (value) => value; let match = IMF_FIXDATE.exec(value); @@ -24887,7 +24887,7 @@ const parseEpochTimestamp = (value) => { valueAsDouble = value; } else if (typeof value === "string") { - valueAsDouble = (0, parse_utils_1.strictParseDouble)(value); + valueAsDouble = parse_utils_1.strictParseDouble(value); } else { throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation"); @@ -24929,7 +24929,7 @@ const buildDate = (year, month, day, match) => { */ const parseTwoDigitYear = (value) => { const thisYear = new Date().getUTCFullYear(); - const valueInThisCentury = Math.floor(thisYear / 100) * 100 + (0, parse_utils_1.strictParseShort)(stripLeadingZeroes(value)); + const valueInThisCentury = Math.floor(thisYear / 100) * 100 + parse_utils_1.strictParseShort(stripLeadingZeroes(value)); if (valueInThisCentury < thisYear) { // This may end up returning a year that adjustRfc850Year turns back by 100. // That's fine! We don't know the other components of the date yet, so there are @@ -24984,7 +24984,7 @@ const isLeapYear = (year) => { return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0); }; const parseDateValue = (value, type, lower, upper) => { - const dateVal = (0, parse_utils_1.strictParseByte)(stripLeadingZeroes(value)); + const dateVal = parse_utils_1.strictParseByte(stripLeadingZeroes(value)); if (dateVal < lower || dateVal > upper) { throw new TypeError(`${type} must be between ${lower} and ${upper}, inclusive`); } @@ -24994,7 +24994,7 @@ const parseMilliseconds = (value) => { if (value === null || value === undefined) { return 0; } - return (0, parse_utils_1.strictParseFloat32)("0." + value) * 1000; + return parse_utils_1.strictParseFloat32("0." + value) * 1000; }; const stripLeadingZeroes = (value) => { let idx = 0; @@ -25006,7 +25006,7 @@ const stripLeadingZeroes = (value) => { } return value.slice(idx); }; -//# sourceMappingUR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HVlLmxlbmd0aCAtIDEgJiYgdmFsdWUuY2hhckF0KGlkeCkgPT09IFwiMFwiKSB7XG4gICAgaWR4Kys7XG4gIH1cbiAgaWYgKGlkeCA9PT0gMCkge1xuICAgIHJldHVybiB2YWx1ZTtcbiAgfVxuICByZXR1cm4gdmFsdWUuc2xpY2UoaWR4KTtcbn07XG4iXX0= /***/ }), @@ -25095,13 +25095,13 @@ const getValueFromTextNode = (obj) => { obj[key] = obj[key][textNodeName]; } else if (typeof obj[key] === "object" && obj[key] !== null) { - obj[key] = (0, exports.getValueFromTextNode)(obj[key]); + obj[key] = exports.getValueFromTextNode(obj[key]); } } return obj; }; exports.getValueFromTextNode = getValueFromTextNode; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXZhbHVlLWZyb20tdGV4dC1ub2RlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2dldC12YWx1ZS1mcm9tLXRleHQtbm9kZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTs7O0dBR0c7QUFDSSxNQUFNLG9CQUFvQixHQUFHLENBQUMsR0FBUSxFQUFFLEVBQUU7SUFDL0MsTUFBTSxZQUFZLEdBQUcsT0FBTyxDQUFDO0lBQzdCLEtBQUssTUFBTSxHQUFHLElBQUksR0FBRyxFQUFFO1FBQ3JCLElBQUksR0FBRyxDQUFDLGNBQWMsQ0FBQyxHQUFHLENBQUMsSUFBSSxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUMsWUFBWSxDQUFDLEtBQUssU0FBUyxFQUFFO1lBQ25FLEdBQUcsQ0FBQyxHQUFHLENBQUMsR0FBRyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUMsWUFBWSxDQUFDLENBQUM7U0FDbkM7YUFBTSxJQUFJLE9BQU8sR0FBRyxDQUFDLEdBQUcsQ0FBQyxLQUFLLFFBQVEsSUFBSSxHQUFHLENBQUM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kgaW4gb2JqKSB7XG4gICAgaWYgKG9iai5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIG9ialtrZXldW3RleHROb2RlTmFtZV0gIT09IHVuZGVmaW5lZCkge1xuICAgICAgb2JqW2tleV0gPSBvYmpba2V5XVt0ZXh0Tm9kZU5hbWVdO1xuICAgIH0gZWxzZSBpZiAodHlwZW9mIG9ialtrZXldID09PSBcIm9iamVjdFwiICYmIG9ialtrZXldICE9PSBudWxsKSB7XG4gICAgICBvYmpba2V5XSA9IGdldFZhbHVlRnJvbVRleHROb2RlKG9ialtrZXldKTtcbiAgICB9XG4gIH1cbiAgcmV0dXJuIG9iajtcbn07XG4iXX0= /***/ }), @@ -25112,19 +25112,19 @@ exports.getValueFromTextNode = getValueFromTextNode; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(6717), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6041), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3061), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(7121), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(4650), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6526), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(1207), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3186), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(422), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(1370), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6399), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(6171), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsd0RBQXlCO0FBQ3pCLHlEQUEwQjtBQUMxQixpRkFBa0Q7QUFDbEQsK0VBQWdEO0FBQ2hELDBFQUEyQztBQUMzQywwRUFBMkM7QUFDM0MsMkRBQTRCO0FBQzVCLDZEQUE4QjtBQUM5QiwyREFBNEI7QUFDNUIsNERBQTZCO0FBQzdCLDZEQUE4QjtBQUM5QiwyREFBNEIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9jbGllbnRcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2NvbW1hbmRcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2VtaXRXYXJuaW5nSWZVbnN1cHBvcnRlZFZlcnNpb25cIjtcbmV4cG9ydCAqIGZyb20gXCIuL2V4dGVuZGVkLWVuY29kZS11cmktY29tcG9uZW50XCI7XG5leHBvcnQgKiBmcm9tIFwiLi9nZXQtYXJyYXktaWYtc2luZ2xlLWl0ZW1cIjtcbmV4cG9ydCAqIGZyb20gXCIuL2dldC12YWx1ZS1mcm9tLXRleHQtbm9kZVwiO1xuZXhwb3J0ICogZnJvbSBcIi4vbGF6eS1qc29uXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9wYXJzZS11dGlsc1wiO1xuZXhwb3J0ICogZnJvbSBcIi4vc2VyLXV0aWxzXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9kYXRlLXV0aWxzXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9zcGxpdC1ldmVyeVwiO1xuZXhwb3J0ICogZnJvbSBcIi4vY29uc3RhbnRzXCI7XG5leHBvcnQgdHlwZSB7IERvY3VtZW50VHlwZSwgU2RrRXJyb3IsIFNtaXRoeUV4Y2VwdGlvbiB9IGZyb20gXCJAYXdzLXNkay90eXBlc1wiO1xuIl19 +tslib_1.__exportStar(__nccwpck_require__(6717), exports); +tslib_1.__exportStar(__nccwpck_require__(6041), exports); +tslib_1.__exportStar(__nccwpck_require__(3061), exports); +tslib_1.__exportStar(__nccwpck_require__(7121), exports); +tslib_1.__exportStar(__nccwpck_require__(4650), exports); +tslib_1.__exportStar(__nccwpck_require__(6526), exports); +tslib_1.__exportStar(__nccwpck_require__(1207), exports); +tslib_1.__exportStar(__nccwpck_require__(3186), exports); +tslib_1.__exportStar(__nccwpck_require__(422), exports); +tslib_1.__exportStar(__nccwpck_require__(1370), exports); +tslib_1.__exportStar(__nccwpck_require__(6399), exports); +tslib_1.__exportStar(__nccwpck_require__(6171), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsbURBQXlCO0FBQ3pCLG9EQUEwQjtBQUMxQiw0RUFBa0Q7QUFDbEQsMEVBQWdEO0FBQ2hELHFFQUEyQztBQUMzQyxxRUFBMkM7QUFDM0Msc0RBQTRCO0FBQzVCLHdEQUE4QjtBQUM5QixzREFBNEI7QUFDNUIsdURBQTZCO0FBQzdCLHdEQUE4QjtBQUM5QixzREFBNEIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9jbGllbnRcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2NvbW1hbmRcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2VtaXRXYXJuaW5nSWZVbnN1cHBvcnRlZFZlcnNpb25cIjtcbmV4cG9ydCAqIGZyb20gXCIuL2V4dGVuZGVkLWVuY29kZS11cmktY29tcG9uZW50XCI7XG5leHBvcnQgKiBmcm9tIFwiLi9nZXQtYXJyYXktaWYtc2luZ2xlLWl0ZW1cIjtcbmV4cG9ydCAqIGZyb20gXCIuL2dldC12YWx1ZS1mcm9tLXRleHQtbm9kZVwiO1xuZXhwb3J0ICogZnJvbSBcIi4vbGF6eS1qc29uXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9wYXJzZS11dGlsc1wiO1xuZXhwb3J0ICogZnJvbSBcIi4vc2VyLXV0aWxzXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9kYXRlLXV0aWxzXCI7XG5leHBvcnQgKiBmcm9tIFwiLi9zcGxpdC1ldmVyeVwiO1xuZXhwb3J0ICogZnJvbSBcIi4vY29uc3RhbnRzXCI7XG5leHBvcnQgdHlwZSB7IERvY3VtZW50VHlwZSwgU2RrRXJyb3IsIFNtaXRoeUV4Y2VwdGlvbiB9IGZyb20gXCJAYXdzLXNkay90eXBlc1wiO1xuIl19 /***/ }), @@ -25253,7 +25253,7 @@ const MAX_FLOAT = Math.ceil(2 ** 127 * (2 - 2 ** -23)); * otherwise an error is thrown. */ const expectFloat32 = (value) => { - const expected = (0, exports.expectNumber)(value); + const expected = exports.expectNumber(value); if (expected !== undefined && !Number.isNaN(expected) && expected !== Infinity && expected !== -Infinity) { // IEEE-754 is an imperfect representation for floats. Consider the simple // value `0.1`. The representation in a 32-bit float would look like: @@ -25343,7 +25343,7 @@ exports.expectShort = expectShort; const expectByte = (value) => expectSizedInt(value, 8); exports.expectByte = expectByte; const expectSizedInt = (value, size) => { - const expected = (0, exports.expectLong)(value); + const expected = exports.expectLong(value); if (expected !== undefined && castInt(expected, size) !== expected) { throw new TypeError(`Expected ${size}-bit integer, got ${value}`); } @@ -25424,7 +25424,7 @@ const expectUnion = (value) => { if (value === null || value === undefined) { return undefined; } - const asObject = (0, exports.expectObject)(value); + const asObject = exports.expectObject(value); const setKeys = Object.entries(asObject) .filter(([_, v]) => v !== null && v !== undefined) .map(([k, _]) => k); @@ -25449,9 +25449,9 @@ exports.expectUnion = expectUnion; */ const strictParseDouble = (value) => { if (typeof value == "string") { - return (0, exports.expectNumber)(parseNumber(value)); + return exports.expectNumber(parseNumber(value)); } - return (0, exports.expectNumber)(value); + return exports.expectNumber(value); }; exports.strictParseDouble = strictParseDouble; /** @@ -25470,9 +25470,9 @@ exports.strictParseFloat = exports.strictParseDouble; */ const strictParseFloat32 = (value) => { if (typeof value == "string") { - return (0, exports.expectFloat32)(parseNumber(value)); + return exports.expectFloat32(parseNumber(value)); } - return (0, exports.expectFloat32)(value); + return exports.expectFloat32(value); }; exports.strictParseFloat32 = strictParseFloat32; // This regex matches JSON-style numbers. In short: @@ -25503,7 +25503,7 @@ const limitedParseDouble = (value) => { if (typeof value == "string") { return parseFloatString(value); } - return (0, exports.expectNumber)(value); + return exports.expectNumber(value); }; exports.limitedParseDouble = limitedParseDouble; /** @@ -25528,7 +25528,7 @@ const limitedParseFloat32 = (value) => { if (typeof value == "string") { return parseFloatString(value); } - return (0, exports.expectFloat32)(value); + return exports.expectFloat32(value); }; exports.limitedParseFloat32 = limitedParseFloat32; const parseFloatString = (value) => { @@ -25557,9 +25557,9 @@ const strictParseLong = (value) => { if (typeof value === "string") { // parseInt can't be used here, because it will silently discard any // existing decimals. We want to instead throw an error if there are any. - return (0, exports.expectLong)(parseNumber(value)); + return exports.expectLong(parseNumber(value)); } - return (0, exports.expectLong)(value); + return exports.expectLong(value); }; exports.strictParseLong = strictParseLong; /** @@ -25580,9 +25580,9 @@ const strictParseInt32 = (value) => { if (typeof value === "string") { // parseInt can't be used here, because it will silently discard any // existing decimals. We want to instead throw an error if there are any. - return (0, exports.expectInt32)(parseNumber(value)); + return exports.expectInt32(parseNumber(value)); } - return (0, exports.expectInt32)(value); + return exports.expectInt32(value); }; exports.strictParseInt32 = strictParseInt32; /** @@ -25599,9 +25599,9 @@ const strictParseShort = (value) => { if (typeof value === "string") { // parseInt can't be used here, because it will silently discard any // existing decimals. We want to instead throw an error if there are any. - return (0, exports.expectShort)(parseNumber(value)); + return exports.expectShort(parseNumber(value)); } - return (0, exports.expectShort)(value); + return exports.expectShort(value); }; exports.strictParseShort = strictParseShort; /** @@ -25618,12 +25618,12 @@ const strictParseByte = (value) => { if (typeof value === "string") { // parseInt can't be used here, because it will silently discard any // existing decimals. We want to instead throw an error if there are any. - return (0, exports.expectByte)(parseNumber(value)); + return exports.expectByte(parseNumber(value)); } - return (0, exports.expectByte)(value); + return exports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O1xuICB9XG4gIHJldHVybiBleHBlY3RCeXRlKHZhbHVlKTtcbn07XG4iXX0= /***/ }), @@ -25725,7 +25725,7 @@ const parseUrl = (url) => { const { hostname, pathname, port, protocol, search } = new URL(url); let query; if (search) { - query = (0, querystring_parser_1.parseQueryString)(search); + query = querystring_parser_1.parseQueryString(search); } return { hostname, @@ -25736,7 +25736,7 @@ const parseUrl = (url) => { }; }; exports.parseUrl = parseUrl; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsb0VBQStEO0FBR3hELE1BQU0sUUFBUSxHQUFjLENBQUMsR0FBVyxFQUFZLEVBQUU7SUFDM0QsTUFBTSxFQUFFLFFBQVEsRUFBRSxRQUFRLEVBQUUsSUFBSSxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsR0FBRyxJQUFJLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUVwRSxJQUFJLEtBQW9DLENBQUM7SUFDekMsSUFBSSxNQUFNLEVBQUU7UUFDVixLQUFLLEdBQUcsSUFBQSxxQ0FBZ0IsRUFBQyxNQUFNLENBQUMsQ0FBQztLQUNsQztJQUVELE9BQU87UUFDTCxRQUFRO1FBQ1IsSUFBSSxFQUFFLElBQUksQ0FBQyxDQUFDLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQyxTQUFTO1FBQ3ZDLFFBQVE7UUFDUixJQUFJLEVBQUUsUUFBUTtRQUNkLEtBQUs7S0FDTixDQUFDO0FBQ0osQ0FBQyxDQUFDO0FBZlcsUUFBQSxRQUFRLFlBZW5CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgcGFyc2VRdWVyeVN0cmluZyB9IGZyb20gXCJAYXdzLXN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@ exports.parseUrl = parseUrl; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.toBase64 = exports.fromBase64 = void 0; const util_buffer_from_1 = __nccwpck_require__(8577); +const BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/; /** * Converts a base-64 encoded string to a Uint8Array of bytes using Node.JS's * `buffer` module. @@ -25755,7 +25756,19 @@ const util_buffer_from_1 = __nccwpck_require__(8577); * @param input The base-64 encoded string */ function fromBase64(input) { - const buffer = (0, util_buffer_from_1.fromString)(input, "base64"); + // Node's buffer module allows padding to be omitted, but we want to enforce + // it. So here we ensure that the input represents a number of bits divisible + // by 8. Each character represents 6 bits, so after reducing the fraction we + // end up mulitplying by 3/4 and checking for a remainder. + if ((input.length * 3) % 4 !== 0) { + throw new TypeError(`Incorrect padding on base64 string.`); + } + // Node will just ingore invalid characters, so we need to make sure they're + // properly rejected. + if (!BASE64_REGEX.exec(input)) { + throw new TypeError(`Invalid base64 string.`); + } + const buffer = util_buffer_from_1.fromString(input, "base64"); return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength); } exports.fromBase64 = fromBase64; @@ -25766,10 +25779,10 @@ exports.fromBase64 = fromBase64; * @param input The binary data to encode */ function toBase64(input) { - return (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("base64"); + return util_buffer_from_1.fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64"); } exports.toBase64 = toBase64; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsZ0VBQXdFO0FBRXhFOzs7OztHQUtHO0FBQ0gsU0FBZ0IsVUFBVSxDQUFDLEtBQWE7SUFDdEMsTUFBTSxNQUFNLEdBQUcsSUFBQSw2QkFBVSxFQUFDLE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1dCBUaGUgYmluYXJ5IGRhdGEgdG8gZW5jb2RlXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiB0b0Jhc2U2NChpbnB1dDogVWludDhBcnJheSk6IHN0cmluZyB7XG4gIHJldHVybiBmcm9tQXJyYXlCdWZmZXIoaW5wdXQuYnVmZmVyLCBpbnB1dC5ieXRlT2Zmc2V0LCBpbnB1dC5ieXRlTGVuZ3RoKS50b1N0cmluZyhcImJhc2U2NFwiKTtcbn1cbiJdfQ== /***/ }), @@ -25797,11 +25810,11 @@ function calculateBodyLength(body) { } else if (typeof body.path === "string") { // handles fs readable streams - return (0, fs_1.lstatSync)(body.path).size; + return fs_1.lstatSync(body.path).size; } } exports.calculateBodyLength = calculateBodyLength; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMkJBQStCO0FBRS9CLFNBQWdCLG1CQUFtQixDQUFDLElBQVM7SUFDM0MsSUFBSSxDQUFDLElBQUksRUFBRTtRQUNULE9BQU8sQ0FBQyxDQUFDO0tBQ1Y7SUFDRCxJQUFJLE9BQU8sSUFBSSxLQUFLLFFBQVEsRUFBRTtRQUM1QixPQUFPLE1BQU0sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsTUFBTSxDQUFDO0tBQ2pDO1NBQU0sSUFBSSxPQUFPLElBQUksQ0FBQyxVQUFVLEtBQUssUUFBUSxFQUFFO1FBQzlDLCtEQUErRDtRQUMvRCxPQUFPLElBQUksQ0FBQyxVQUFVLENBQUM7S0FDeEI7U0FBTSxJQUFJLE9BQU8sSUFBSSxDQUFDLElBQUksS0FBSyxRQUFRLEVBQUU7UUFDeEMsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDO0tBQ2xCO1NBQU0sSUFBSSx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7XG4gIH0gZWxzZSBpZiAodHlwZW9mIGJvZHkuYnl0ZUxlbmd0aCA9PT0gXCJudW1iZXJcIikge1xuICAgIC8vIGhhbmRsZXMgVWludDhBcnJheSwgQXJyYXlCdWZmZXIsIEJ1ZmZlciwgYW5kIEFycmF5QnVmZmVyVmlld1xuICAgIHJldHVybiBib2R5LmJ5dGVMZW5ndGg7XG4gIH0gZWxzZSBpZiAodHlwZW9mIGJvZHkuc2l6ZSA9PT0gXCJudW1iZXJcIikge1xuICAgIHJldHVybiBib2R5LnNpemU7XG4gIH0gZWxzZSBpZiAodHlwZW9mIGJvZHkucGF0aCA9PT0gXCJzdHJpbmdcIikge1xuICAgIC8vIGhhbmRsZXMgZnMgcmVhZGFibGUgc3RyZWFtc1xuICAgIHJldHVybiBsc3RhdFN5bmMoYm9keS5wYXRoKS5zaXplO1xuICB9XG59XG4iXX0= /***/ }), @@ -25815,7 +25828,7 @@ exports.fromString = exports.fromArrayBuffer = void 0; const is_array_buffer_1 = __nccwpck_require__(694); const buffer_1 = __nccwpck_require__(4293); const fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => { - if (!(0, is_array_buffer_1.isArrayBuffer)(input)) { + if (!is_array_buffer_1.isArrayBuffer(input)) { throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`); } return buffer_1.Buffer.from(input, offset, length); @@ -25828,7 +25841,7 @@ const fromString = (input, encoding) => { return encoding ? buffer_1.Buffer.from(input, encoding) : buffer_1.Buffer.from(input); }; exports.fromString = fromString; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsOERBQXlEO0FBQ3pELG1DQUFnQztBQUV6QixNQUFNLGVBQWUsR0FBRyxDQUFDLEtBQWtCLEVBQUUsTU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 -25849,7 +25862,7 @@ exports.DEFAULT_PROFILE = "default"; * @internal */ const parseKnownFiles = async (init) => { - const { loadedConfig = (0, shared_ini_file_loader_1.loadSharedConfigFiles)(init) } = init; + const { loadedConfig = shared_ini_file_loader_1.loadSharedConfigFiles(init) } = init; const parsedFiles = await loadedConfig; return { ...parsedFiles.configFile, @@ -25862,7 +25875,7 @@ exports.parseKnownFiles = parseKnownFiles; */ const getMasterProfileName = (init) => init.profile || process.env[exports.ENV_PROFILE] || exports.DEFAULT_PROFILE; exports.getMasterProfileName = getMasterProfileName; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNEVBS3lDO0FBRTVCLFFBQUEsV0FBVyxHQUFHLGFBQWEsQ0FBQztBQUM1QixRQUFBLGVBQWUsR0FBRyxTQUFTLENBQUM7QUFpQnpDOzs7OztHQUtHO0FBQ0ksTUFBTSxlQUFlLEdBQUcsS0FBSyxFQUFFLElBQXVCLEVBQTBCLEVBQUU7SUFDdkYsTUFBTSxFQUFFLFlBQVksR0FBRyxJQUFBLDhDQUFxQixFQUFDLElBQUksQ0FBQyxFQUFFLEdBQUcsSUFBSSxDQUFDO0lBRTVELE1BQU0sV0FBVyxHQUFHLE1BQU0sWUFBWSxDQUFDO0lBQ3ZDLE9BQU87UUFDTCxHQUFHLFdBQVcsQ0FBQyxVQUFVO1FBQ3pCLEdBQUcsV0FBVyxDQUFDLGVBQWU7S0FDL0IsQ0FBQztBQUNKLENBQUMsQ0FBQztBQVJXLFFBQUEsZUFBZSxtQkFRMUI7QUFFRjs7R0FFRztBQUNJLE1BQU0sb0JBQW9CLEdBQUcsQ0FBQyxJQUEwQixFQUFVLEVBQUUsQ0FDekUsSUFBSSxDQUFDLE9BQU8sSUFBSSxPQUF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WRpbmcgc2hhcmVkIGNvbmZpZyBmaWxlcyBtdWx0aXBsZSB0aW1lcy5cbiAgICpcbiAgICogQGludGVybmFsXG4gICAqL1xuICBsb2FkZWRDb25maWc/OiBQcm9taXNlPFNoYXJlZENvbmZpZ0ZpbGVzPjtcbn1cblxuLyoqXG4gKiBMb2FkIHByb2ZpbGVzIGZyb20gY3JlZGVudGlhbHMgYW5kIGNvbmZpZyBJTkkgZmlsZXMgYW5kIG5vcm1hbGl6ZSB0aGVtIGludG8gYVxuICogc2luZ2xlIHByb2ZpbGUgbGlzdC5cbiAqXG4gKiBAaW50ZXJuYWxcbiAqL1xuZXhwb3J0IGNvbnN0IHBhcnNlS25vd25GaWxlcyA9IGFzeW5jIChpbml0OiBTb3VyY2VQcm9maWxlSW5pdCk6IFByb21pc2U8UGFyc2VkSW5pRGF0YT4gPT4ge1xuICBjb25zdCB7IGxvYWRlZENvbmZpZyA9IGxvYWRTaGFyZWRDb25maWdGaWxlcyhpbml0KSB9ID0gaW5pdDtcblxuICBjb25zdCBwYXJzZWRGaWxlcyA9IGF3YWl0IGxvYWRlZENvbmZpZztcbiAgcmV0dXJuIHtcbiAgICAuLi5wYXJzZWRGaWxlcy5jb25maWdGaWxlLFxuICAgIC4uLnBhcnNlZEZpbGVzLmNyZWRlbnRpYWxzRmlsZSxcbiAgfTtcbn07XG5cbi8qKlxuICogQGludGVybmFsXG4gKi9cbmV4cG9ydCBjb25zdCBnZXRNYXN0ZXJQcm9maWxlTmFtZSA9IChpbml0OiB7IHByb2ZpbGU/OiBzdHJpbmcgfSk6IHN0cmluZyA9PlxuICBpbml0LnByb2ZpbGUgfHwgcHJvY2Vzcy5lbnZbRU5WX1BST0ZJTEVdIHx8IERFRkFVTFRfUFJPRklMRTtcbiJdfQ== /***/ }), @@ -25959,9 +25972,9 @@ const hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`; Object.defineProperty(exports, "__esModule", ({ value: true })); const tslib_1 = __nccwpck_require__(4351); -(0, tslib_1.__exportStar)(__nccwpck_require__(4302), exports); -(0, tslib_1.__exportStar)(__nccwpck_require__(3545), exports); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNERBQTZCO0FBQzdCLGlFQUFrQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL2VzY2FwZS11cmlcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2VzY2FwZS11cmktcGF0aFwiO1xuIl19 +tslib_1.__exportStar(__nccwpck_require__(4302), exports); +tslib_1.__exportStar(__nccwpck_require__(3545), exports); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsdURBQTZCO0FBQzdCLDREQUFrQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL2VzY2FwZS11cmlcIjtcbmV4cG9ydCAqIGZyb20gXCIuL2VzY2FwZS11cmktcGF0aFwiO1xuIl19 /***/ }), @@ -25985,7 +25998,7 @@ const defaultUserAgent = ({ serviceId, clientVersion }) => { // sdk-metadata ["aws-sdk-js", clientVersion], // os-metadata - [`os/${(0, os_1.platform)()}`, (0, os_1.release)()], + [`os/${os_1.platform()}`, os_1.release()], // language-metadata // ECMAScript edition doesn't matter in JS, so no version needed. ["lang/js"], @@ -26000,7 +26013,7 @@ const defaultUserAgent = ({ serviceId, clientVersion }) => { // env-metadata sections.push([`exec-env/${process_1.env.AWS_EXECUTION_ENV}`]); } - const appIdPromise = (0, node_config_provider_1.loadConfig)({ + const appIdPromise = node_config_provider_1.loadConfig({ environmentVariableSelector: (env) => env[exports.UA_APP_ID_ENV_NAME], configFileSelector: (profile) => profile[exports.UA_APP_ID_INI_NAME], default: undefined, @@ -26015,7 +26028,7 @@ const defaultUserAgent = ({ serviceId, clientVersion }) => { }; }; exports.defaultUserAgent = defaultUserAgent; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsd0VBQTJEO0FBRTNELDJCQUF1QztBQUN2QyxxQ0FBd0M7QUFFM0IsUUFBQSxrQkFBa0IsR0FBRyxtQkFBbUIsQ0FBQztBQUN6QyxRQUFBLGtCQUFrQixHQUFHLGVBQWUsQ0FBQztBQU9sRDs7R0FFRztBQUNJLE1BQU0sZ0JBQWdCLEdBQUcsQ0FBQyxFQUFFLFNBQVMsRUFBRSxhQUFhLEVBQTJCLEVBQXVCLEVBQUU7SUFDN0csTUFBTSxRQUFRLEdBQWM7UUFDMUIsZUFBZTtRQUNmLENBQUMsWUFBWSxFQUFFLGFBQWEsQ0FBQztRQUM3QixjQUFjO1FBQ2QsQ0FBQyxNQUFNLElBQUEsYUFBUSxHQUFFLEVBQUUsRUFBRSxJQUFBLFlBQU8sR0FBRSxDQUFDO1FBQy9CLG9CQUFvQjtRQUNwQixpRUFBaUU7UUFDakUsQ0FBQyxTQUFTLENBQUM7UUFDWCxDQUFDLFdBQVcsRUFBRSxHQUFHLGtCQUFRLENBQUMsSUFBSSxFQUFFLENBQUM7S0FDbEMsQ0FBQztJQUVGLElBQUksU0FBUyxFQUFFO1FBQ2IsZUFBZTtRQUNmLCtDQUErQztRQUMvQyxRQUFRLENBQUMsSUFBSSxDQUFDLENBQUMsT0FBTyxTQUFTLEVBQUUsRUFBRSxhQUFhLENBQUMsQ0FBQyxDQUFD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vbnMucHVzaChbYGFwaS8ke3NlcnZpY2VJZH1gLCBjbGllbnRWZXJzaW9uXSk7XG4gIH1cblxuICBpZiAoZW52LkFXU19FWEVDVVRJT05fRU5WKSB7XG4gICAgLy8gZW52LW1ldGFkYXRhXG4gICAgc2VjdGlvbnMucHVzaChbYGV4ZWMtZW52LyR7ZW52LkFXU19FWEVDVVRJT05fRU5WfWBdKTtcbiAgfVxuXG4gIGNvbnN0IGFwcElkUHJvbWlzZSA9IGxvYWRDb25maWc8c3RyaW5nIHwgdW5kZWZpbmVkPih7XG4gICAgZW52aXJvbm1lbnRWYXJpYWJsZVNlbGVjdG9yOiAoZW52KSA9PiBlbnZbVUFfQVBQX0lEX0VOVl9OQU1FXSxcbiAgICBjb25maWdGaWxlU2VsZWN0b3I6IChwcm9maWxlKSA9PiBwcm9maWxlW1VBX0FQUF9JRF9JTklfTkFNRV0sXG4gICAgZGVmYXVsdDogdW5kZWZpbmVkLFxuICB9KSgpO1xuXG4gIGxldCByZXNvbHZlZFVzZXJBZ2VudDogVXNlckFnZW50IHwgdW5kZWZpbmVkID0gdW5kZWZpbmVkO1xuICByZXR1cm4gYXN5bmMgKCkgPT4ge1xuICAgIGlmICghcmVzb2x2ZWRVc2VyQWdlbnQpIHtcbiAgICAgIGNvbnN0IGFwcElkID0gYXdhaXQgYXBwSWRQcm9taXNlO1xuICAgICAgcmVzb2x2ZWRVc2VyQWdlbnQgPSBhcHBJZCA/IFsuLi5zZWN0aW9ucywgW2BhcHAvJHthcHBJZH1gXV0gOiBbLi4uc2VjdGlvbnNdO1xuICAgIH1cbiAgICByZXR1cm4gcmVzb2x2ZWRVc2VyQWdlbnQ7XG4gIH07XG59O1xuIl19 /***/ }), @@ -26028,13 +26041,13 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.toUtf8 = exports.fromUtf8 = void 0; const util_buffer_from_1 = __nccwpck_require__(8577); const fromUtf8 = (input) => { - const buf = (0, util_buffer_from_1.fromString)(input, "utf8"); + const buf = util_buffer_from_1.fromString(input, "utf8"); return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT); }; exports.fromUtf8 = fromUtf8; -const toUtf8 = (input) => (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("utf8"); +const toUtf8 = (input) => util_buffer_from_1.fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8"); exports.toUtf8 = toUtf8; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsZ0VBQXdFO0FBRWpFLE1BQU0sUUFBUSxHQUFHLENBQUMsS0FBYSxFQUFjLEVBQUU7SUFDcEQsTUFBTSxHQUFHLEdBQUcsSUFBQSw2QkFBVSxFQUFDLEtBQUssRUFBRSxNQUFNLENBQUMsQ0FBQztJQUN0QyxPQUFPLElBQUksVUFBVSxDQUFDLEdBQUcsQ0FBQyxNQUFNLEVBQUUsR0FBRyxDQUFDLFVBQVUsRUFBRSxHQUFHLENBQUMsVUFBVSxHQUFHLFVBQVUsQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDO0FBQ25HLENBQUMsQ0FBQztBQUhXLFFBQUEsUUFBUSxZQUduQjtBQUVLLE1BQU0sTUFBTSxHQUFHLENBQUMsS0FBaUIsRUFBVSxFQUFFLENBQ2xELElBQUEsa0NBQWUsRUFBQyxLQUFLLENBQUMsTUFBTSxFQUFFLEtBQUssQ0FBQyxVQUFVLEVBQUUsS0FBSyxDQUFDLFVBQVUsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxNQUFNLENBQUMsQ0FBQztBQUR4RSxRQUFBLE1BQU0sVUFDa0UiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBmcm9tQXJyYXlC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