From 0728276c39c111b19343a67704734a0f2c8bad9a Mon Sep 17 00:00:00 2001 From: AWS CDK Automation <43080478+aws-cdk-automation@users.noreply.github.com> Date: Thu, 9 Nov 2023 15:45:11 -0800 Subject: [PATCH] chore: npm-check-updates && yarn upgrade (#27914) Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date. --- package.json | 18 +- .../@aws-cdk-testing/cli-integ/package.json | 8 +- .../framework-integ/package.json | 4 +- .../app/package-lock.json | 2 +- .../app/package.json | 2 +- ...efaultTestDeployAssertD40B5C28.assets.json | 12 +- ...aultTestDeployAssertD40B5C28.template.json | 4 +- .../index.js | 30353 ++++++++-------- .../index.js | 77 - .../index.js | 77 + .../node_modules/.yarn-integrity | 0 .../node_modules/delay/index.d.ts | 0 .../node_modules/delay/index.js | 0 .../node_modules/delay/license | 0 .../node_modules/delay/package.json | 0 .../node_modules/delay/readme.md | 0 .../package.json | 0 .../yarn.lock | 0 ...cdk-integ-lambda-nodejs-latest.assets.json | 12 +- ...k-integ-lambda-nodejs-latest.template.json | 2 +- .../test/integ.latest.js.snapshot/cdk.out | 2 +- .../test/integ.latest.js.snapshot/integ.json | 2 +- .../integ.latest.js.snapshot/manifest.json | 6 +- .../test/integ.latest.js.snapshot/tree.json | 12 +- .../@aws-cdk/aws-amplify-alpha/package.json | 8 +- .../aws-apigatewayv2-alpha/package.json | 2 +- .../package.json | 4 +- .../package.json | 2 +- .../@aws-cdk/aws-appconfig-alpha/package.json | 4 +- .../@aws-cdk/aws-apprunner-alpha/package.json | 2 +- .../@aws-cdk/aws-cloud9-alpha/package.json | 2 +- .../@aws-cdk/aws-codestar-alpha/package.json | 2 +- .../package.json | 2 +- .../@aws-cdk/aws-gamelift-alpha/package.json | 2 +- packages/@aws-cdk/aws-glue-alpha/package.json | 2 +- .../aws-iot-actions-alpha/package.json | 2 +- packages/@aws-cdk/aws-iot-alpha/package.json | 2 +- .../aws-iotevents-actions-alpha/package.json | 2 +- .../@aws-cdk/aws-iotevents-alpha/package.json | 2 +- packages/@aws-cdk/aws-ivs-alpha/package.json | 2 +- .../package.json | 2 +- .../aws-kinesisfirehose-alpha/package.json | 2 +- .../package.json | 2 +- .../@aws-cdk/aws-lambda-go-alpha/package.json | 2 +- .../aws-lambda-python-alpha/package.json | 2 +- .../@aws-cdk/aws-location-alpha/package.json | 2 +- packages/@aws-cdk/aws-msk-alpha/package.json | 2 +- .../@aws-cdk/aws-neptune-alpha/package.json | 2 +- .../@aws-cdk/aws-redshift-alpha/package.json | 8 +- .../aws-route53resolver-alpha/package.json | 2 +- .../aws-s3objectlambda-alpha/package.json | 2 +- .../@aws-cdk/aws-sagemaker-alpha/package.json | 2 +- .../@aws-cdk/aws-scheduler-alpha/package.json | 2 +- .../aws-scheduler-targets-alpha/package.json | 2 +- .../package.json | 2 +- .../@aws-cdk/cdk-cli-wrapper/package.json | 2 +- packages/@aws-cdk/cli-lib-alpha/package.json | 2 +- .../cloud-assembly-schema/package.json | 8 +- .../@aws-cdk/cloudformation-diff/package.json | 4 +- .../custom-resource-handlers/package.json | 24 +- packages/@aws-cdk/cx-api/package.json | 6 +- .../example-construct-library/package.json | 2 +- .../integ-runner/THIRD_PARTY_LICENSES | 8 +- packages/@aws-cdk/integ-runner/package.json | 10 +- .../@aws-cdk/integ-tests-alpha/package.json | 14 +- packages/@aws-cdk/region-info/package.json | 2 +- .../sdk-v2-to-v3-adapter/package.json | 6 +- .../schema/cloud-assembly.schema.json | 32 +- .../schema/cloud-assembly.version.json | 2 +- packages/aws-cdk-lib/package.json | 58 +- packages/aws-cdk/THIRD_PARTY_LICENSES | 58 +- .../app/typescript/package.json | 4 +- .../lib/typescript/package.json | 4 +- .../sample-app/typescript/package.json | 4 +- packages/aws-cdk/package.json | 24 +- packages/awslint/package.json | 14 +- packages/cdk-assets/package.json | 10 +- tools/@aws-cdk/cdk-build-tools/package.json | 18 +- tools/@aws-cdk/cdk-release/package.json | 6 +- tools/@aws-cdk/eslint-plugin/package.json | 4 +- tools/@aws-cdk/lazify/package.json | 4 +- tools/@aws-cdk/node-bundle/package.json | 14 +- tools/@aws-cdk/pkglint/package.json | 12 +- tools/@aws-cdk/pkgtools/package.json | 2 +- tools/@aws-cdk/prlint/package.json | 4 +- tools/@aws-cdk/spec2cdk/package.json | 6 +- tools/@aws-cdk/yarn-cling/package.json | 6 +- yarn.lock | 2668 +- 88 files changed, 17036 insertions(+), 16677 deletions(-) rename packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/{asset.9fc28fa3b4e7ac7d75bc59996f5e02c3c7f6f4434a7f284ba5b69d87c1da83f6.bundle => asset.6e5ba7464138b7720c27df56bcc0a5463093492a1f311ed8a4f4c6baf84acaa8.bundle}/index.js (93%) delete mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/index.js create mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/index.js rename packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/{asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611 => asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866}/node_modules/.yarn-integrity (100%) rename packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/{asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611 => asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866}/node_modules/delay/index.d.ts (100%) rename packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/{asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611 => asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866}/node_modules/delay/index.js (100%) rename packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/{asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611 => asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866}/node_modules/delay/license (100%) rename packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/{asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611 => asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866}/node_modules/delay/package.json (100%) rename packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/{asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611 => asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866}/node_modules/delay/readme.md (100%) rename packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/{asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611 => asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866}/package.json (100%) rename packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/{asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611 => asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866}/yarn.lock (100%) diff --git a/package.json b/package.json index db1ddbe8e6e5b..a42bccc1064de 100644 --- a/package.json +++ b/package.json @@ -15,22 +15,22 @@ "build-all": "tsc -b" }, "devDependencies": { - "@nx/workspace": "^16.9.1", + "@nx/workspace": "^16.10.0", "@types/node": "18.11.19", "@types/prettier": "2.6.0", "@yarnpkg/lockfile": "^1.1.0", - "aws-sdk-js-codemod": "^0.18.3", - "cdk-generate-synthetic-examples": "^0.1.291", + "aws-sdk-js-codemod": "^0.26.2", + "cdk-generate-synthetic-examples": "^0.1.295", "conventional-changelog-cli": "^2.2.2", "fs-extra": "^9.1.0", "graceful-fs": "^4.2.11", "jest-junit": "^13.2.0", - "jsii-diff": "1.89.0", - "jsii-pacmak": "1.89.0", - "jsii-reflect": "1.89.0", - "jsii-rosetta": "~5.1.13", - "lerna": "^7.3.0", - "nx": "^16.9.1", + "jsii-diff": "1.91.0", + "jsii-pacmak": "1.91.0", + "jsii-reflect": "1.91.0", + "jsii-rosetta": "~5.2.2", + "lerna": "^7.4.2", + "nx": "^16.10.0", "patch-package": "^6.5.1", "semver": "^7.5.4", "standard-version": "^9.5.0", diff --git a/packages/@aws-cdk-testing/cli-integ/package.json b/packages/@aws-cdk-testing/cli-integ/package.json index cb8b54df945ee..28e317f816baa 100644 --- a/packages/@aws-cdk-testing/cli-integ/package.json +++ b/packages/@aws-cdk-testing/cli-integ/package.json @@ -30,16 +30,16 @@ "license": "Apache-2.0", "devDependencies": { "@aws-cdk/cdk-build-tools": "0.0.0", - "@types/semver": "^7.5.3", - "@types/yargs": "^15.0.16", + "@types/semver": "^7.5.5", + "@types/yargs": "^15.0.18", "@types/fs-extra": "^9.0.13", "@types/glob": "^7.2.0", - "@types/npm": "^7.19.1", + "@types/npm": "^7.19.3", "@aws-cdk/pkglint": "0.0.0" }, "dependencies": { "@octokit/rest": "^18.12.0", - "aws-sdk": "^2.1466.0", + "aws-sdk": "^2.1492.0", "axios": "^0.27.2", "fs-extra": "^9.1.0", "glob": "^7.2.3", diff --git a/packages/@aws-cdk-testing/framework-integ/package.json b/packages/@aws-cdk-testing/framework-integ/package.json index c86abe2111238..8641b5dba7692 100644 --- a/packages/@aws-cdk-testing/framework-integ/package.json +++ b/packages/@aws-cdk-testing/framework-integ/package.json @@ -41,9 +41,9 @@ "@aws-cdk/integ-tests-alpha": "0.0.0", "@aws-cdk/lambda-layer-kubectl-v24": "^2.0.242", "aws-cdk-lib": "0.0.0", - "aws-sdk": "^2.1466.0", + "aws-sdk": "^2.1492.0", "aws-sdk-mock": "5.6.0", - "cdk8s": "^2.64.23", + "cdk8s": "2.64.23", "cdk8s-plus-24": "2.12.1", "constructs": "^10.0.0" }, diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-eks/test/sdk-call-integ-test-docker-app/app/package-lock.json b/packages/@aws-cdk-testing/framework-integ/test/aws-eks/test/sdk-call-integ-test-docker-app/app/package-lock.json index bf95a21a78b5f..6bfafdd01de6f 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-eks/test/sdk-call-integ-test-docker-app/app/package-lock.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-eks/test/sdk-call-integ-test-docker-app/app/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "eks-service-account-sdk-call-integ-test", "dependencies": { - "@aws-sdk/client-s3": "^3.421.0" + "@aws-sdk/client-s3": "3.421.0" } }, "node_modules/@aws-crypto/crc32": { diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-eks/test/sdk-call-integ-test-docker-app/app/package.json b/packages/@aws-cdk-testing/framework-integ/test/aws-eks/test/sdk-call-integ-test-docker-app/app/package.json index c6c724025e539..f565aa9f233ba 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-eks/test/sdk-call-integ-test-docker-app/app/package.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-eks/test/sdk-call-integ-test-docker-app/app/package.json @@ -2,6 +2,6 @@ "name": "eks-service-account-sdk-call-integ-test", "private": "true", "dependencies": { - "@aws-sdk/client-s3": "^3.421.0" + "@aws-sdk/client-s3": "3.421.0" } } diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/LambdaNodeJsLatestIntegDefaultTestDeployAssertD40B5C28.assets.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/LambdaNodeJsLatestIntegDefaultTestDeployAssertD40B5C28.assets.json index bfa00f0a73c51..204bbaa405cc3 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/LambdaNodeJsLatestIntegDefaultTestDeployAssertD40B5C28.assets.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/LambdaNodeJsLatestIntegDefaultTestDeployAssertD40B5C28.assets.json @@ -1,20 +1,20 @@ { - "version": "34.0.0", + "version": "35.0.0", "files": { - "9fc28fa3b4e7ac7d75bc59996f5e02c3c7f6f4434a7f284ba5b69d87c1da83f6": { + "6e5ba7464138b7720c27df56bcc0a5463093492a1f311ed8a4f4c6baf84acaa8": { "source": { - "path": "asset.9fc28fa3b4e7ac7d75bc59996f5e02c3c7f6f4434a7f284ba5b69d87c1da83f6.bundle", + "path": "asset.6e5ba7464138b7720c27df56bcc0a5463093492a1f311ed8a4f4c6baf84acaa8.bundle", "packaging": "zip" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "9fc28fa3b4e7ac7d75bc59996f5e02c3c7f6f4434a7f284ba5b69d87c1da83f6.zip", + "objectKey": "6e5ba7464138b7720c27df56bcc0a5463093492a1f311ed8a4f4c6baf84acaa8.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "3da52fc9b54324b9855c8de5350958d6a73c4cbc840beb487bff66940a3589f5": { + "22d0963c53c533f68dd78b968c494c002dc18201059654e4aeef27ca36d39f19": { "source": { "path": "LambdaNodeJsLatestIntegDefaultTestDeployAssertD40B5C28.template.json", "packaging": "file" @@ -22,7 +22,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "3da52fc9b54324b9855c8de5350958d6a73c4cbc840beb487bff66940a3589f5.json", + "objectKey": "22d0963c53c533f68dd78b968c494c002dc18201059654e4aeef27ca36d39f19.json", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/LambdaNodeJsLatestIntegDefaultTestDeployAssertD40B5C28.template.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/LambdaNodeJsLatestIntegDefaultTestDeployAssertD40B5C28.template.json index 4fdca55a783ed..74a2950b60530 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/LambdaNodeJsLatestIntegDefaultTestDeployAssertD40B5C28.template.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/LambdaNodeJsLatestIntegDefaultTestDeployAssertD40B5C28.template.json @@ -27,7 +27,7 @@ } }, "flattenResponse": "false", - "salt": "1695986917004" + "salt": "1699563584313" }, "UpdateReplacePolicy": "Delete", "DeletionPolicy": "Delete" @@ -127,7 +127,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "9fc28fa3b4e7ac7d75bc59996f5e02c3c7f6f4434a7f284ba5b69d87c1da83f6.zip" + "S3Key": "6e5ba7464138b7720c27df56bcc0a5463093492a1f311ed8a4f4c6baf84acaa8.zip" }, "Timeout": 120, "Handler": "index.handler", diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.9fc28fa3b4e7ac7d75bc59996f5e02c3c7f6f4434a7f284ba5b69d87c1da83f6.bundle/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.6e5ba7464138b7720c27df56bcc0a5463093492a1f311ed8a4f4c6baf84acaa8.bundle/index.js similarity index 93% rename from packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.9fc28fa3b4e7ac7d75bc59996f5e02c3c7f6f4434a7f284ba5b69d87c1da83f6.bundle/index.js rename to packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.6e5ba7464138b7720c27df56bcc0a5463093492a1f311ed8a4f4c6baf84acaa8.bundle/index.js index 08e4eaa737824..fb59a34512c50 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.9fc28fa3b4e7ac7d75bc59996f5e02c3c7f6f4434a7f284ba5b69d87c1da83f6.bundle/index.js +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.6e5ba7464138b7720c27df56bcc0a5463093492a1f311ed8a4f4c6baf84acaa8.bundle/index.js @@ -1,3 +1,4 @@ +"use strict"; var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; @@ -805,8 +806,13 @@ var require_helpers_internal = __commonJS({ __createBinding3(exports2, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); - __exportStar3((init_match(), __toCommonJS(match_exports)), exports); - __exportStar3((init_matcher(), __toCommonJS(matcher_exports)), exports); + var _noFold; + exports.Match = void 0; + Object.defineProperty(exports, _noFold = "Match", { enumerable: true, configurable: true, get: () => (init_match(), __toCommonJS(match_exports)).Match }); + exports.Matcher = void 0; + Object.defineProperty(exports, _noFold = "Matcher", { enumerable: true, configurable: true, get: () => (init_matcher(), __toCommonJS(matcher_exports)).Matcher }); + exports.MatchResult = void 0; + Object.defineProperty(exports, _noFold = "MatchResult", { enumerable: true, configurable: true, get: () => (init_matcher(), __toCommonJS(matcher_exports)).MatchResult }); } }); @@ -1749,6 +1755,13 @@ var require_profile = __commonJS({ "../../../node_modules/@smithy/types/dist-cjs/profile.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.IniSectionType = void 0; + var IniSectionType; + (function(IniSectionType2) { + IniSectionType2["PROFILE"] = "profile"; + IniSectionType2["SSO_SESSION"] = "sso-session"; + IniSectionType2["SERVICES"] = "services"; + })(IniSectionType = exports.IniSectionType || (exports.IniSectionType = {})); } }); @@ -6906,9378 +6919,7413 @@ var require_createConfigValueProvider = __commonJS({ } }); -// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromInstructions.js -var require_getEndpointFromInstructions = __commonJS({ - "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromInstructions.js"(exports) { +// ../../../node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js +var require_fromEnv = __commonJS({ + "../../../node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveParams = exports.getEndpointFromInstructions = void 0; - var service_customizations_1 = require_service_customizations(); - var createConfigValueProvider_1 = require_createConfigValueProvider(); - var getEndpointFromInstructions = async (commandInput, instructionsSupplier, clientConfig, context) => { - const endpointParams = await (0, exports.resolveParams)(commandInput, instructionsSupplier, clientConfig); - if (typeof clientConfig.endpointProvider !== "function") { - throw new Error("config.endpointProvider is not set."); - } - const endpoint = clientConfig.endpointProvider(endpointParams, context); - return endpoint; - }; - exports.getEndpointFromInstructions = getEndpointFromInstructions; - var resolveParams = async (commandInput, instructionsSupplier, clientConfig) => { - var _a; - const endpointParams = {}; - const instructions = ((_a = instructionsSupplier === null || instructionsSupplier === void 0 ? void 0 : instructionsSupplier.getEndpointParameterInstructions) === null || _a === void 0 ? void 0 : _a.call(instructionsSupplier)) || {}; - for (const [name, instruction] of Object.entries(instructions)) { - switch (instruction.type) { - case "staticContextParams": - endpointParams[name] = instruction.value; - break; - case "contextParams": - endpointParams[name] = commandInput[instruction.name]; - break; - case "clientContextParams": - case "builtInParams": - endpointParams[name] = await (0, createConfigValueProvider_1.createConfigValueProvider)(instruction.name, name, clientConfig)(); - break; - default: - throw new Error("Unrecognized endpoint parameter instruction: " + JSON.stringify(instruction)); + exports.fromEnv = void 0; + var property_provider_1 = require_dist_cjs6(); + var fromEnv = (envVarSelector) => async () => { + try { + const config = envVarSelector(process.env); + if (config === void 0) { + throw new Error(); } + return config; + } catch (e) { + throw new property_provider_1.CredentialsProviderError(e.message || `Cannot load config from environment variables with getter: ${envVarSelector}`); } - if (Object.keys(instructions).length === 0) { - Object.assign(endpointParams, clientConfig); - } - if (String(clientConfig.serviceId).toLowerCase() === "s3") { - await (0, service_customizations_1.resolveParamsForS3)(endpointParams); - } - return endpointParams; }; - exports.resolveParams = resolveParams; + exports.fromEnv = fromEnv; } }); -// ../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js -var require_dist_cjs23 = __commonJS({ - "../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js"(exports) { +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +var require_getHomeDir = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.parseQueryString = void 0; - function parseQueryString(querystring) { - const query = {}; - querystring = querystring.replace(/^\?/, ""); - if (querystring) { - for (const pair of querystring.split("&")) { - let [key, value = null] = pair.split("="); - key = decodeURIComponent(key); - if (value) { - value = decodeURIComponent(value); - } - if (!(key in query)) { - query[key] = value; - } else if (Array.isArray(query[key])) { - query[key].push(value); - } else { - query[key] = [query[key], value]; - } - } + exports.getHomeDir = void 0; + var os_1 = require("os"); + var path_1 = require("path"); + var homeDirCache = {}; + var getHomeDirCacheKey = () => { + if (process && process.geteuid) { + return `${process.geteuid()}`; } - return query; - } - exports.parseQueryString = parseQueryString; + return "DEFAULT"; + }; + var getHomeDir = () => { + const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${path_1.sep}` } = process.env; + if (HOME) + return HOME; + if (USERPROFILE) + return USERPROFILE; + if (HOMEPATH) + return `${HOMEDRIVE}${HOMEPATH}`; + const homeDirCacheKey = getHomeDirCacheKey(); + if (!homeDirCache[homeDirCacheKey]) + homeDirCache[homeDirCacheKey] = (0, os_1.homedir)(); + return homeDirCache[homeDirCacheKey]; + }; + exports.getHomeDir = getHomeDir; } }); -// ../../../node_modules/@smithy/url-parser/dist-cjs/index.js -var require_dist_cjs24 = __commonJS({ - "../../../node_modules/@smithy/url-parser/dist-cjs/index.js"(exports) { +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +var require_getProfileName = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.parseUrl = void 0; - var querystring_parser_1 = require_dist_cjs23(); - var parseUrl = (url2) => { - if (typeof url2 === "string") { - return (0, exports.parseUrl)(new URL(url2)); - } - const { hostname, pathname, port, protocol, search } = url2; - let query; - if (search) { - query = (0, querystring_parser_1.parseQueryString)(search); - } - return { - hostname, - port: port ? parseInt(port) : void 0, - protocol, - path: pathname, - query - }; - }; - exports.parseUrl = parseUrl; + exports.getProfileName = exports.DEFAULT_PROFILE = exports.ENV_PROFILE = void 0; + exports.ENV_PROFILE = "AWS_PROFILE"; + exports.DEFAULT_PROFILE = "default"; + var getProfileName = (init) => init.profile || process.env[exports.ENV_PROFILE] || exports.DEFAULT_PROFILE; + exports.getProfileName = getProfileName; } }); -// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/toEndpointV1.js -var require_toEndpointV1 = __commonJS({ - "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/toEndpointV1.js"(exports) { +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +var require_getSSOTokenFilepath = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.toEndpointV1 = void 0; - var url_parser_1 = require_dist_cjs24(); - var toEndpointV1 = (endpoint) => { - if (typeof endpoint === "object") { - if ("url" in endpoint) { - return (0, url_parser_1.parseUrl)(endpoint.url); - } - return endpoint; - } - return (0, url_parser_1.parseUrl)(endpoint); + exports.getSSOTokenFilepath = void 0; + var crypto_1 = require("crypto"); + var path_1 = require("path"); + var getHomeDir_1 = require_getHomeDir(); + var getSSOTokenFilepath = (id) => { + const hasher = (0, crypto_1.createHash)("sha1"); + const cacheName = hasher.update(id).digest("hex"); + return (0, path_1.join)((0, getHomeDir_1.getHomeDir)(), ".aws", "sso", "cache", `${cacheName}.json`); }; - exports.toEndpointV1 = toEndpointV1; + exports.getSSOTokenFilepath = getSSOTokenFilepath; } }); -// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/index.js -var require_adaptors = __commonJS({ - "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/index.js"(exports) { +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +var require_getSSOTokenFromFile = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_getEndpointFromInstructions(), exports); - tslib_1.__exportStar(require_toEndpointV1(), exports); + exports.getSSOTokenFromFile = void 0; + var fs_1 = require("fs"); + var getSSOTokenFilepath_1 = require_getSSOTokenFilepath(); + var { readFile } = fs_1.promises; + var getSSOTokenFromFile = async (id) => { + const ssoTokenFilepath = (0, getSSOTokenFilepath_1.getSSOTokenFilepath)(id); + const ssoTokenText = await readFile(ssoTokenFilepath, "utf8"); + return JSON.parse(ssoTokenText); + }; + exports.getSSOTokenFromFile = getSSOTokenFromFile; } }); -// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/endpointMiddleware.js -var require_endpointMiddleware = __commonJS({ - "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/endpointMiddleware.js"(exports) { +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +var require_getConfigData = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.endpointMiddleware = void 0; - var getEndpointFromInstructions_1 = require_getEndpointFromInstructions(); - var endpointMiddleware = ({ config, instructions }) => { - return (next, context) => async (args) => { - var _a, _b; - const endpoint = await (0, getEndpointFromInstructions_1.getEndpointFromInstructions)(args.input, { - getEndpointParameterInstructions() { - return instructions; - } - }, { ...config }, context); - context.endpointV2 = endpoint; - context.authSchemes = (_a = endpoint.properties) === null || _a === void 0 ? void 0 : _a.authSchemes; - const authScheme = (_b = context.authSchemes) === null || _b === void 0 ? void 0 : _b[0]; - if (authScheme) { - context["signing_region"] = authScheme.signingRegion; - context["signing_service"] = authScheme.signingName; - } - return next({ - ...args - }); - }; - }; - exports.endpointMiddleware = endpointMiddleware; + exports.getConfigData = void 0; + var types_1 = require_dist_cjs(); + var loadSharedConfigFiles_1 = require_loadSharedConfigFiles(); + var getConfigData = (data) => Object.entries(data).filter(([key]) => { + const sections = key.split(loadSharedConfigFiles_1.CONFIG_PREFIX_SEPARATOR); + if (sections.length === 2 && Object.values(types_1.IniSectionType).includes(sections[0])) { + return true; + } + return false; + }).reduce((acc, [key, value]) => { + const updatedKey = key.startsWith(types_1.IniSectionType.PROFILE) ? key.split(loadSharedConfigFiles_1.CONFIG_PREFIX_SEPARATOR)[1] : key; + acc[updatedKey] = value; + return acc; + }, { + ...data.default && { default: data.default } + }); + exports.getConfigData = getConfigData; } }); -// ../../../node_modules/@smithy/middleware-serde/dist-cjs/deserializerMiddleware.js -var require_deserializerMiddleware = __commonJS({ - "../../../node_modules/@smithy/middleware-serde/dist-cjs/deserializerMiddleware.js"(exports) { +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +var require_getConfigFilepath = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.deserializerMiddleware = void 0; - var deserializerMiddleware = (options, deserializer) => (next, context) => async (args) => { - const { response } = await next(args); - try { - const parsed = await deserializer(response, options); - return { - response, - output: parsed - }; - } catch (error) { - Object.defineProperty(error, "$response", { - value: response - }); - if (!("$metadata" in error)) { - const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`; - error.message += "\n " + hint; - } - throw error; - } - }; - exports.deserializerMiddleware = deserializerMiddleware; + exports.getConfigFilepath = exports.ENV_CONFIG_PATH = void 0; + var path_1 = require("path"); + var getHomeDir_1 = require_getHomeDir(); + exports.ENV_CONFIG_PATH = "AWS_CONFIG_FILE"; + var getConfigFilepath = () => process.env[exports.ENV_CONFIG_PATH] || (0, path_1.join)((0, getHomeDir_1.getHomeDir)(), ".aws", "config"); + exports.getConfigFilepath = getConfigFilepath; } }); -// ../../../node_modules/@smithy/middleware-serde/dist-cjs/serializerMiddleware.js -var require_serializerMiddleware = __commonJS({ - "../../../node_modules/@smithy/middleware-serde/dist-cjs/serializerMiddleware.js"(exports) { +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +var require_getCredentialsFilepath = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.serializerMiddleware = void 0; - var serializerMiddleware = (options, serializer) => (next, context) => async (args) => { - var _a; - const endpoint = ((_a = context.endpointV2) === null || _a === void 0 ? void 0 : _a.url) && options.urlParser ? async () => options.urlParser(context.endpointV2.url) : options.endpoint; - if (!endpoint) { - throw new Error("No valid endpoint provider available."); + exports.getCredentialsFilepath = exports.ENV_CREDENTIALS_PATH = void 0; + var path_1 = require("path"); + var getHomeDir_1 = require_getHomeDir(); + exports.ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE"; + var getCredentialsFilepath = () => process.env[exports.ENV_CREDENTIALS_PATH] || (0, path_1.join)((0, getHomeDir_1.getHomeDir)(), ".aws", "credentials"); + exports.getCredentialsFilepath = getCredentialsFilepath; + } +}); + +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +var require_parseIni = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.parseIni = void 0; + var types_1 = require_dist_cjs(); + var loadSharedConfigFiles_1 = require_loadSharedConfigFiles(); + var prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+]+)\2$/; + var profileNameBlockList = ["__proto__", "profile __proto__"]; + var parseIni = (iniData) => { + const map = {}; + let currentSection; + let currentSubSection; + for (const iniLine of iniData.split(/\r?\n/)) { + const trimmedLine = iniLine.split(/(^|\s)[;#]/)[0].trim(); + const isSection = trimmedLine[0] === "[" && trimmedLine[trimmedLine.length - 1] === "]"; + if (isSection) { + currentSection = void 0; + currentSubSection = void 0; + const sectionName = trimmedLine.substring(1, trimmedLine.length - 1); + const matches = prefixKeyRegex.exec(sectionName); + if (matches) { + const [, prefix, , name] = matches; + if (Object.values(types_1.IniSectionType).includes(prefix)) { + currentSection = [prefix, name].join(loadSharedConfigFiles_1.CONFIG_PREFIX_SEPARATOR); + } + } else { + currentSection = sectionName; + } + if (profileNameBlockList.includes(sectionName)) { + throw new Error(`Found invalid profile name "${sectionName}"`); + } + } else if (currentSection) { + const indexOfEqualsSign = trimmedLine.indexOf("="); + if (![0, -1].includes(indexOfEqualsSign)) { + const [name, value] = [ + trimmedLine.substring(0, indexOfEqualsSign).trim(), + trimmedLine.substring(indexOfEqualsSign + 1).trim() + ]; + if (value === "") { + currentSubSection = name; + } else { + if (currentSubSection && iniLine.trimStart() === iniLine) { + currentSubSection = void 0; + } + map[currentSection] = map[currentSection] || {}; + const key = currentSubSection ? [currentSubSection, name].join(loadSharedConfigFiles_1.CONFIG_PREFIX_SEPARATOR) : name; + map[currentSection][key] = value; + } + } + } } - const request2 = await serializer(args.input, { ...options, endpoint }); - return next({ - ...args, - request: request2 - }); + return map; }; - exports.serializerMiddleware = serializerMiddleware; + exports.parseIni = parseIni; } }); -// ../../../node_modules/@smithy/middleware-serde/dist-cjs/serdePlugin.js -var require_serdePlugin = __commonJS({ - "../../../node_modules/@smithy/middleware-serde/dist-cjs/serdePlugin.js"(exports) { +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +var require_slurpFile = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.getSerdePlugin = exports.serializerMiddlewareOption = exports.deserializerMiddlewareOption = void 0; - var deserializerMiddleware_1 = require_deserializerMiddleware(); - var serializerMiddleware_1 = require_serializerMiddleware(); - exports.deserializerMiddlewareOption = { - name: "deserializerMiddleware", - step: "deserialize", - tags: ["DESERIALIZER"], - override: true - }; - exports.serializerMiddlewareOption = { - name: "serializerMiddleware", - step: "serialize", - tags: ["SERIALIZER"], - override: true + exports.slurpFile = void 0; + var fs_1 = require("fs"); + var { readFile } = fs_1.promises; + var filePromisesHash = {}; + var slurpFile = (path, options) => { + if (!filePromisesHash[path] || (options === null || options === void 0 ? void 0 : options.ignoreCache)) { + filePromisesHash[path] = readFile(path, "utf8"); + } + return filePromisesHash[path]; }; - function getSerdePlugin(config, serializer, deserializer) { + exports.slurpFile = slurpFile; + } +}); + +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +var require_loadSharedConfigFiles = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.loadSharedConfigFiles = exports.CONFIG_PREFIX_SEPARATOR = void 0; + var getConfigData_1 = require_getConfigData(); + var getConfigFilepath_1 = require_getConfigFilepath(); + var getCredentialsFilepath_1 = require_getCredentialsFilepath(); + var parseIni_1 = require_parseIni(); + var slurpFile_1 = require_slurpFile(); + var swallowError = () => ({}); + exports.CONFIG_PREFIX_SEPARATOR = "."; + var loadSharedConfigFiles = async (init = {}) => { + const { filepath = (0, getCredentialsFilepath_1.getCredentialsFilepath)(), configFilepath = (0, getConfigFilepath_1.getConfigFilepath)() } = init; + const parsedFiles = await Promise.all([ + (0, slurpFile_1.slurpFile)(configFilepath, { + ignoreCache: init.ignoreCache + }).then(parseIni_1.parseIni).then(getConfigData_1.getConfigData).catch(swallowError), + (0, slurpFile_1.slurpFile)(filepath, { + ignoreCache: init.ignoreCache + }).then(parseIni_1.parseIni).catch(swallowError) + ]); return { - applyToStack: (commandStack) => { - commandStack.add((0, deserializerMiddleware_1.deserializerMiddleware)(config, deserializer), exports.deserializerMiddlewareOption); - commandStack.add((0, serializerMiddleware_1.serializerMiddleware)(config, serializer), exports.serializerMiddlewareOption); - } + configFile: parsedFiles[0], + credentialsFile: parsedFiles[1] }; - } - exports.getSerdePlugin = getSerdePlugin; + }; + exports.loadSharedConfigFiles = loadSharedConfigFiles; } }); -// ../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js -var require_dist_cjs25 = __commonJS({ - "../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js"(exports) { +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +var require_getSsoSessionData = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_deserializerMiddleware(), exports); - tslib_1.__exportStar(require_serdePlugin(), exports); - tslib_1.__exportStar(require_serializerMiddleware(), exports); + exports.getSsoSessionData = void 0; + var types_1 = require_dist_cjs(); + var loadSharedConfigFiles_1 = require_loadSharedConfigFiles(); + var getSsoSessionData = (data) => Object.entries(data).filter(([key]) => key.startsWith(types_1.IniSectionType.SSO_SESSION + loadSharedConfigFiles_1.CONFIG_PREFIX_SEPARATOR)).reduce((acc, [key, value]) => ({ ...acc, [key.split(loadSharedConfigFiles_1.CONFIG_PREFIX_SEPARATOR)[1]]: value }), {}); + exports.getSsoSessionData = getSsoSessionData; } }); -// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/getEndpointPlugin.js -var require_getEndpointPlugin = __commonJS({ - "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/getEndpointPlugin.js"(exports) { +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +var require_loadSsoSessionData = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.getEndpointPlugin = exports.endpointMiddlewareOptions = void 0; - var middleware_serde_1 = require_dist_cjs25(); - var endpointMiddleware_1 = require_endpointMiddleware(); - exports.endpointMiddlewareOptions = { - step: "serialize", - tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"], - name: "endpointV2Middleware", - override: true, - relation: "before", - toMiddleware: middleware_serde_1.serializerMiddlewareOption.name + exports.loadSsoSessionData = void 0; + var getConfigFilepath_1 = require_getConfigFilepath(); + var getSsoSessionData_1 = require_getSsoSessionData(); + var parseIni_1 = require_parseIni(); + var slurpFile_1 = require_slurpFile(); + var swallowError = () => ({}); + var loadSsoSessionData = async (init = {}) => { + var _a; + return (0, slurpFile_1.slurpFile)((_a = init.configFilepath) !== null && _a !== void 0 ? _a : (0, getConfigFilepath_1.getConfigFilepath)()).then(parseIni_1.parseIni).then(getSsoSessionData_1.getSsoSessionData).catch(swallowError); }; - var getEndpointPlugin = (config, instructions) => ({ - applyToStack: (clientStack) => { - clientStack.addRelativeTo((0, endpointMiddleware_1.endpointMiddleware)({ - config, - instructions - }), exports.endpointMiddlewareOptions); - } - }); - exports.getEndpointPlugin = getEndpointPlugin; + exports.loadSsoSessionData = loadSsoSessionData; } }); -// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointConfig.js -var require_resolveEndpointConfig = __commonJS({ - "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointConfig.js"(exports) { +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +var require_mergeConfigFiles = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveEndpointConfig = void 0; - var util_middleware_1 = require_dist_cjs10(); - var toEndpointV1_1 = require_toEndpointV1(); - var resolveEndpointConfig = (input) => { - var _a, _b, _c; - const tls = (_a = input.tls) !== null && _a !== void 0 ? _a : true; - const { endpoint } = input; - const customEndpointProvider = endpoint != null ? async () => (0, toEndpointV1_1.toEndpointV1)(await (0, util_middleware_1.normalizeProvider)(endpoint)()) : void 0; - const isCustomEndpoint = !!endpoint; - return { - ...input, - endpoint: customEndpointProvider, - tls, - isCustomEndpoint, - useDualstackEndpoint: (0, util_middleware_1.normalizeProvider)((_b = input.useDualstackEndpoint) !== null && _b !== void 0 ? _b : false), - useFipsEndpoint: (0, util_middleware_1.normalizeProvider)((_c = input.useFipsEndpoint) !== null && _c !== void 0 ? _c : false) - }; + exports.mergeConfigFiles = void 0; + var mergeConfigFiles = (...files) => { + const merged = {}; + for (const file of files) { + for (const [key, values] of Object.entries(file)) { + if (merged[key] !== void 0) { + Object.assign(merged[key], values); + } else { + merged[key] = values; + } + } + } + return merged; }; - exports.resolveEndpointConfig = resolveEndpointConfig; + exports.mergeConfigFiles = mergeConfigFiles; } }); -// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/types.js -var require_types3 = __commonJS({ - "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/types.js"(exports) { +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +var require_parseKnownFiles = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.parseKnownFiles = void 0; + var loadSharedConfigFiles_1 = require_loadSharedConfigFiles(); + var mergeConfigFiles_1 = require_mergeConfigFiles(); + var parseKnownFiles = async (init) => { + const parsedFiles = await (0, loadSharedConfigFiles_1.loadSharedConfigFiles)(init); + return (0, mergeConfigFiles_1.mergeConfigFiles)(parsedFiles.configFile, parsedFiles.credentialsFile); + }; + exports.parseKnownFiles = parseKnownFiles; } }); -// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js -var require_dist_cjs26 = __commonJS({ - "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js"(exports) { +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +var require_types3 = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_adaptors(), exports); - tslib_1.__exportStar(require_endpointMiddleware(), exports); - tslib_1.__exportStar(require_getEndpointPlugin(), exports); - tslib_1.__exportStar(require_resolveEndpointConfig(), exports); - tslib_1.__exportStar(require_types3(), exports); } }); -// ../../../node_modules/@smithy/util-retry/dist-cjs/config.js -var require_config3 = __commonJS({ - "../../../node_modules/@smithy/util-retry/dist-cjs/config.js"(exports) { +// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +var require_dist_cjs23 = __commonJS({ + "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.DEFAULT_RETRY_MODE = exports.DEFAULT_MAX_ATTEMPTS = exports.RETRY_MODES = void 0; - var RETRY_MODES; - (function(RETRY_MODES2) { - RETRY_MODES2["STANDARD"] = "standard"; - RETRY_MODES2["ADAPTIVE"] = "adaptive"; - })(RETRY_MODES = exports.RETRY_MODES || (exports.RETRY_MODES = {})); - exports.DEFAULT_MAX_ATTEMPTS = 3; - exports.DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_getHomeDir(), exports); + tslib_1.__exportStar(require_getProfileName(), exports); + tslib_1.__exportStar(require_getSSOTokenFilepath(), exports); + tslib_1.__exportStar(require_getSSOTokenFromFile(), exports); + tslib_1.__exportStar(require_loadSharedConfigFiles(), exports); + tslib_1.__exportStar(require_loadSsoSessionData(), exports); + tslib_1.__exportStar(require_parseKnownFiles(), exports); + tslib_1.__exportStar(require_types3(), exports); } }); -// ../../../node_modules/@smithy/service-error-classification/dist-cjs/constants.js -var require_constants3 = __commonJS({ - "../../../node_modules/@smithy/service-error-classification/dist-cjs/constants.js"(exports) { +// ../../../node_modules/@smithy/node-config-provider/dist-cjs/fromSharedConfigFiles.js +var require_fromSharedConfigFiles = __commonJS({ + "../../../node_modules/@smithy/node-config-provider/dist-cjs/fromSharedConfigFiles.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.NODEJS_TIMEOUT_ERROR_CODES = exports.TRANSIENT_ERROR_STATUS_CODES = exports.TRANSIENT_ERROR_CODES = exports.THROTTLING_ERROR_CODES = exports.CLOCK_SKEW_ERROR_CODES = void 0; - exports.CLOCK_SKEW_ERROR_CODES = [ - "AuthFailure", - "InvalidSignatureException", - "RequestExpired", - "RequestInTheFuture", - "RequestTimeTooSkewed", - "SignatureDoesNotMatch" - ]; - exports.THROTTLING_ERROR_CODES = [ - "BandwidthLimitExceeded", - "EC2ThrottledException", - "LimitExceededException", - "PriorRequestNotComplete", - "ProvisionedThroughputExceededException", - "RequestLimitExceeded", - "RequestThrottled", - "RequestThrottledException", - "SlowDown", - "ThrottledException", - "Throttling", - "ThrottlingException", - "TooManyRequestsException", - "TransactionInProgressException" - ]; - exports.TRANSIENT_ERROR_CODES = ["TimeoutError", "RequestTimeout", "RequestTimeoutException"]; - exports.TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504]; - exports.NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMEDOUT"]; + exports.fromSharedConfigFiles = void 0; + var property_provider_1 = require_dist_cjs6(); + var shared_ini_file_loader_1 = require_dist_cjs23(); + var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => { + const profile = (0, shared_ini_file_loader_1.getProfileName)(init); + const { configFile, credentialsFile } = await (0, shared_ini_file_loader_1.loadSharedConfigFiles)(init); + const profileFromCredentials = credentialsFile[profile] || {}; + const profileFromConfig = configFile[profile] || {}; + const mergedProfile = preferredFile === "config" ? { ...profileFromCredentials, ...profileFromConfig } : { ...profileFromConfig, ...profileFromCredentials }; + try { + const cfgFile = preferredFile === "config" ? configFile : credentialsFile; + const configValue = configSelector(mergedProfile, cfgFile); + if (configValue === void 0) { + throw new Error(); + } + return configValue; + } catch (e) { + throw new property_provider_1.CredentialsProviderError(e.message || `Cannot load config for profile ${profile} in SDK configuration files with getter: ${configSelector}`); + } + }; + exports.fromSharedConfigFiles = fromSharedConfigFiles; } }); -// ../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js -var require_dist_cjs27 = __commonJS({ - "../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js"(exports) { +// ../../../node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js +var require_fromStatic2 = __commonJS({ + "../../../node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.isServerError = exports.isTransientError = exports.isThrottlingError = exports.isClockSkewError = exports.isRetryableByTrait = void 0; - var constants_1 = require_constants3(); - var isRetryableByTrait = (error) => error.$retryable !== void 0; - exports.isRetryableByTrait = isRetryableByTrait; - var isClockSkewError = (error) => constants_1.CLOCK_SKEW_ERROR_CODES.includes(error.name); - exports.isClockSkewError = isClockSkewError; - var isThrottlingError = (error) => { - var _a, _b; - return ((_a = error.$metadata) === null || _a === void 0 ? void 0 : _a.httpStatusCode) === 429 || constants_1.THROTTLING_ERROR_CODES.includes(error.name) || ((_b = error.$retryable) === null || _b === void 0 ? void 0 : _b.throttling) == true; - }; - exports.isThrottlingError = isThrottlingError; - var isTransientError = (error) => { - var _a; - return constants_1.TRANSIENT_ERROR_CODES.includes(error.name) || constants_1.NODEJS_TIMEOUT_ERROR_CODES.includes((error === null || error === void 0 ? void 0 : error.code) || "") || constants_1.TRANSIENT_ERROR_STATUS_CODES.includes(((_a = error.$metadata) === null || _a === void 0 ? void 0 : _a.httpStatusCode) || 0); - }; - exports.isTransientError = isTransientError; - var isServerError = (error) => { - var _a; - if (((_a = error.$metadata) === null || _a === void 0 ? void 0 : _a.httpStatusCode) !== void 0) { - const statusCode = error.$metadata.httpStatusCode; - if (500 <= statusCode && statusCode <= 599 && !(0, exports.isTransientError)(error)) { - return true; - } - return false; - } - return false; - }; - exports.isServerError = isServerError; + exports.fromStatic = void 0; + var property_provider_1 = require_dist_cjs6(); + var isFunction = (func) => typeof func === "function"; + var fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : (0, property_provider_1.fromStatic)(defaultValue); + exports.fromStatic = fromStatic; } }); -// ../../../node_modules/@smithy/util-retry/dist-cjs/DefaultRateLimiter.js -var require_DefaultRateLimiter = __commonJS({ - "../../../node_modules/@smithy/util-retry/dist-cjs/DefaultRateLimiter.js"(exports) { +// ../../../node_modules/@smithy/node-config-provider/dist-cjs/configLoader.js +var require_configLoader = __commonJS({ + "../../../node_modules/@smithy/node-config-provider/dist-cjs/configLoader.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.DefaultRateLimiter = void 0; - var service_error_classification_1 = require_dist_cjs27(); - var DefaultRateLimiter = class { - constructor(options) { - var _a, _b, _c, _d, _e; - this.currentCapacity = 0; - this.enabled = false; - this.lastMaxRate = 0; - this.measuredTxRate = 0; - this.requestCount = 0; - this.lastTimestamp = 0; - this.timeWindow = 0; - this.beta = (_a = options === null || options === void 0 ? void 0 : options.beta) !== null && _a !== void 0 ? _a : 0.7; - this.minCapacity = (_b = options === null || options === void 0 ? void 0 : options.minCapacity) !== null && _b !== void 0 ? _b : 1; - this.minFillRate = (_c = options === null || options === void 0 ? void 0 : options.minFillRate) !== null && _c !== void 0 ? _c : 0.5; - this.scaleConstant = (_d = options === null || options === void 0 ? void 0 : options.scaleConstant) !== null && _d !== void 0 ? _d : 0.4; - this.smooth = (_e = options === null || options === void 0 ? void 0 : options.smooth) !== null && _e !== void 0 ? _e : 0.8; - const currentTimeInSeconds = this.getCurrentTimeInSeconds(); - this.lastThrottleTime = currentTimeInSeconds; - this.lastTxRateBucket = Math.floor(this.getCurrentTimeInSeconds()); - this.fillRate = this.minFillRate; - this.maxCapacity = this.minCapacity; - } - getCurrentTimeInSeconds() { - return Date.now() / 1e3; - } - async getSendToken() { - return this.acquireTokenBucket(1); - } - async acquireTokenBucket(amount) { - if (!this.enabled) { - return; - } - this.refillTokenBucket(); - if (amount > this.currentCapacity) { - const delay = (amount - this.currentCapacity) / this.fillRate * 1e3; - await new Promise((resolve) => setTimeout(resolve, delay)); - } - this.currentCapacity = this.currentCapacity - amount; - } - refillTokenBucket() { - const timestamp = this.getCurrentTimeInSeconds(); - if (!this.lastTimestamp) { - this.lastTimestamp = timestamp; - return; - } - const fillAmount = (timestamp - this.lastTimestamp) * this.fillRate; - this.currentCapacity = Math.min(this.maxCapacity, this.currentCapacity + fillAmount); - this.lastTimestamp = timestamp; - } - updateClientSendingRate(response) { - let calculatedRate; - this.updateMeasuredRate(); - if ((0, service_error_classification_1.isThrottlingError)(response)) { - const rateToUse = !this.enabled ? this.measuredTxRate : Math.min(this.measuredTxRate, this.fillRate); - this.lastMaxRate = rateToUse; - this.calculateTimeWindow(); - this.lastThrottleTime = this.getCurrentTimeInSeconds(); - calculatedRate = this.cubicThrottle(rateToUse); - this.enableTokenBucket(); - } else { - this.calculateTimeWindow(); - calculatedRate = this.cubicSuccess(this.getCurrentTimeInSeconds()); - } - const newRate = Math.min(calculatedRate, 2 * this.measuredTxRate); - this.updateTokenBucketRate(newRate); - } - calculateTimeWindow() { - this.timeWindow = this.getPrecise(Math.pow(this.lastMaxRate * (1 - this.beta) / this.scaleConstant, 1 / 3)); - } - cubicThrottle(rateToUse) { - return this.getPrecise(rateToUse * this.beta); - } - cubicSuccess(timestamp) { - return this.getPrecise(this.scaleConstant * Math.pow(timestamp - this.lastThrottleTime - this.timeWindow, 3) + this.lastMaxRate); - } - enableTokenBucket() { - this.enabled = true; - } - updateTokenBucketRate(newRate) { - this.refillTokenBucket(); - this.fillRate = Math.max(newRate, this.minFillRate); - this.maxCapacity = Math.max(newRate, this.minCapacity); - this.currentCapacity = Math.min(this.currentCapacity, this.maxCapacity); - } - updateMeasuredRate() { - const t = this.getCurrentTimeInSeconds(); - const timeBucket = Math.floor(t * 2) / 2; - this.requestCount++; - if (timeBucket > this.lastTxRateBucket) { - const currentRate = this.requestCount / (timeBucket - this.lastTxRateBucket); - this.measuredTxRate = this.getPrecise(currentRate * this.smooth + this.measuredTxRate * (1 - this.smooth)); - this.requestCount = 0; - this.lastTxRateBucket = timeBucket; - } - } - getPrecise(num) { - return parseFloat(num.toFixed(8)); - } - }; - exports.DefaultRateLimiter = DefaultRateLimiter; + exports.loadConfig = void 0; + var property_provider_1 = require_dist_cjs6(); + var fromEnv_1 = require_fromEnv(); + var fromSharedConfigFiles_1 = require_fromSharedConfigFiles(); + var fromStatic_1 = require_fromStatic2(); + var 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))); + exports.loadConfig = loadConfig; } }); -// ../../../node_modules/@smithy/util-retry/dist-cjs/constants.js -var require_constants4 = __commonJS({ - "../../../node_modules/@smithy/util-retry/dist-cjs/constants.js"(exports) { +// ../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js +var require_dist_cjs24 = __commonJS({ + "../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.REQUEST_HEADER = exports.INVOCATION_ID_HEADER = exports.NO_RETRY_INCREMENT = exports.TIMEOUT_RETRY_COST = exports.RETRY_COST = exports.INITIAL_RETRY_TOKENS = exports.THROTTLING_RETRY_DELAY_BASE = exports.MAXIMUM_RETRY_DELAY = exports.DEFAULT_RETRY_DELAY_BASE = void 0; - exports.DEFAULT_RETRY_DELAY_BASE = 100; - exports.MAXIMUM_RETRY_DELAY = 20 * 1e3; - exports.THROTTLING_RETRY_DELAY_BASE = 500; - exports.INITIAL_RETRY_TOKENS = 500; - exports.RETRY_COST = 5; - exports.TIMEOUT_RETRY_COST = 10; - exports.NO_RETRY_INCREMENT = 1; - exports.INVOCATION_ID_HEADER = "amz-sdk-invocation-id"; - exports.REQUEST_HEADER = "amz-sdk-request"; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_configLoader(), exports); } }); -// ../../../node_modules/@smithy/util-retry/dist-cjs/defaultRetryBackoffStrategy.js -var require_defaultRetryBackoffStrategy = __commonJS({ - "../../../node_modules/@smithy/util-retry/dist-cjs/defaultRetryBackoffStrategy.js"(exports) { +// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js +var require_getEndpointUrlConfig = __commonJS({ + "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.getDefaultRetryBackoffStrategy = void 0; - var constants_1 = require_constants4(); - var getDefaultRetryBackoffStrategy = () => { - let delayBase = constants_1.DEFAULT_RETRY_DELAY_BASE; - const computeNextBackoffDelay = (attempts) => { - return Math.floor(Math.min(constants_1.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase)); - }; - const setDelayBase = (delay) => { - delayBase = delay; - }; - return { - computeNextBackoffDelay, - setDelayBase - }; - }; - exports.getDefaultRetryBackoffStrategy = getDefaultRetryBackoffStrategy; + exports.getEndpointUrlConfig = void 0; + var shared_ini_file_loader_1 = require_dist_cjs23(); + var ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL"; + var CONFIG_ENDPOINT_URL = "endpoint_url"; + var getEndpointUrlConfig = (serviceId) => ({ + environmentVariableSelector: (env) => { + const serviceSuffixParts = serviceId.split(" ").map((w) => w.toUpperCase()); + const serviceEndpointUrl = env[[ENV_ENDPOINT_URL, ...serviceSuffixParts].join("_")]; + if (serviceEndpointUrl) + return serviceEndpointUrl; + const endpointUrl = env[ENV_ENDPOINT_URL]; + if (endpointUrl) + return endpointUrl; + return void 0; + }, + configFileSelector: (profile, config) => { + if (config && profile.services) { + const servicesSection = config[["services", profile.services].join(shared_ini_file_loader_1.CONFIG_PREFIX_SEPARATOR)]; + if (servicesSection) { + const servicePrefixParts = serviceId.split(" ").map((w) => w.toLowerCase()); + const endpointUrl2 = servicesSection[[servicePrefixParts.join("_"), CONFIG_ENDPOINT_URL].join(shared_ini_file_loader_1.CONFIG_PREFIX_SEPARATOR)]; + if (endpointUrl2) + return endpointUrl2; + } + } + const endpointUrl = profile[CONFIG_ENDPOINT_URL]; + if (endpointUrl) + return endpointUrl; + return void 0; + }, + default: void 0 + }); + exports.getEndpointUrlConfig = getEndpointUrlConfig; } }); -// ../../../node_modules/@smithy/util-retry/dist-cjs/defaultRetryToken.js -var require_defaultRetryToken = __commonJS({ - "../../../node_modules/@smithy/util-retry/dist-cjs/defaultRetryToken.js"(exports) { +// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +var require_getEndpointFromConfig = __commonJS({ + "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.createDefaultRetryToken = void 0; - var constants_1 = require_constants4(); - var createDefaultRetryToken = ({ retryDelay, retryCount, retryCost }) => { - const getRetryCount = () => retryCount; - const getRetryDelay = () => Math.min(constants_1.MAXIMUM_RETRY_DELAY, retryDelay); - const getRetryCost = () => retryCost; - return { - getRetryCount, - getRetryDelay, - getRetryCost - }; - }; - exports.createDefaultRetryToken = createDefaultRetryToken; + exports.getEndpointFromConfig = void 0; + var node_config_provider_1 = require_dist_cjs24(); + var getEndpointUrlConfig_1 = require_getEndpointUrlConfig(); + var getEndpointFromConfig = async (serviceId) => (0, node_config_provider_1.loadConfig)((0, getEndpointUrlConfig_1.getEndpointUrlConfig)(serviceId))(); + exports.getEndpointFromConfig = getEndpointFromConfig; } }); -// ../../../node_modules/@smithy/util-retry/dist-cjs/StandardRetryStrategy.js -var require_StandardRetryStrategy = __commonJS({ - "../../../node_modules/@smithy/util-retry/dist-cjs/StandardRetryStrategy.js"(exports) { +// ../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js +var require_dist_cjs25 = __commonJS({ + "../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.StandardRetryStrategy = void 0; - var config_1 = require_config3(); - var constants_1 = require_constants4(); - var defaultRetryBackoffStrategy_1 = require_defaultRetryBackoffStrategy(); - var defaultRetryToken_1 = require_defaultRetryToken(); - var StandardRetryStrategy = class { - constructor(maxAttempts) { - this.maxAttempts = maxAttempts; - this.mode = config_1.RETRY_MODES.STANDARD; - this.capacity = constants_1.INITIAL_RETRY_TOKENS; - this.retryBackoffStrategy = (0, defaultRetryBackoffStrategy_1.getDefaultRetryBackoffStrategy)(); - this.maxAttemptsProvider = typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts; - } - async acquireInitialRetryToken(retryTokenScope) { - return (0, defaultRetryToken_1.createDefaultRetryToken)({ - retryDelay: constants_1.DEFAULT_RETRY_DELAY_BASE, - retryCount: 0 - }); - } - async refreshRetryTokenForRetry(token, errorInfo) { - const maxAttempts = await this.getMaxAttempts(); - if (this.shouldRetry(token, errorInfo, maxAttempts)) { - const errorType = errorInfo.errorType; - this.retryBackoffStrategy.setDelayBase(errorType === "THROTTLING" ? constants_1.THROTTLING_RETRY_DELAY_BASE : constants_1.DEFAULT_RETRY_DELAY_BASE); - const delayFromErrorType = this.retryBackoffStrategy.computeNextBackoffDelay(token.getRetryCount()); - const retryDelay = errorInfo.retryAfterHint ? Math.max(errorInfo.retryAfterHint.getTime() - Date.now() || 0, delayFromErrorType) : delayFromErrorType; - const capacityCost = this.getCapacityCost(errorType); - this.capacity -= capacityCost; - return (0, defaultRetryToken_1.createDefaultRetryToken)({ - retryDelay, - retryCount: token.getRetryCount() + 1, - retryCost: capacityCost - }); - } - throw new Error("No retry token available"); - } - recordSuccess(token) { - var _a; - this.capacity = Math.max(constants_1.INITIAL_RETRY_TOKENS, this.capacity + ((_a = token.getRetryCost()) !== null && _a !== void 0 ? _a : constants_1.NO_RETRY_INCREMENT)); - } - getCapacity() { - return this.capacity; - } - async getMaxAttempts() { - try { - return await this.maxAttemptsProvider(); - } catch (error) { - console.warn(`Max attempts provider could not resolve. Using default of ${config_1.DEFAULT_MAX_ATTEMPTS}`); - return config_1.DEFAULT_MAX_ATTEMPTS; + exports.parseQueryString = void 0; + function parseQueryString(querystring) { + const query = {}; + querystring = querystring.replace(/^\?/, ""); + if (querystring) { + for (const pair of querystring.split("&")) { + let [key, value = null] = pair.split("="); + key = decodeURIComponent(key); + if (value) { + value = decodeURIComponent(value); + } + if (!(key in query)) { + query[key] = value; + } else if (Array.isArray(query[key])) { + query[key].push(value); + } else { + query[key] = [query[key], value]; + } } } - shouldRetry(tokenToRenew, errorInfo, maxAttempts) { - const attempts = tokenToRenew.getRetryCount() + 1; - return attempts < maxAttempts && this.capacity >= this.getCapacityCost(errorInfo.errorType) && this.isRetryableError(errorInfo.errorType); - } - getCapacityCost(errorType) { - return errorType === "TRANSIENT" ? constants_1.TIMEOUT_RETRY_COST : constants_1.RETRY_COST; + return query; + } + exports.parseQueryString = parseQueryString; + } +}); + +// ../../../node_modules/@smithy/url-parser/dist-cjs/index.js +var require_dist_cjs26 = __commonJS({ + "../../../node_modules/@smithy/url-parser/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.parseUrl = void 0; + var querystring_parser_1 = require_dist_cjs25(); + var parseUrl = (url2) => { + if (typeof url2 === "string") { + return (0, exports.parseUrl)(new URL(url2)); } - isRetryableError(errorType) { - return errorType === "THROTTLING" || errorType === "TRANSIENT"; + const { hostname, pathname, port, protocol, search } = url2; + let query; + if (search) { + query = (0, querystring_parser_1.parseQueryString)(search); } + return { + hostname, + port: port ? parseInt(port) : void 0, + protocol, + path: pathname, + query + }; }; - exports.StandardRetryStrategy = StandardRetryStrategy; + exports.parseUrl = parseUrl; } }); -// ../../../node_modules/@smithy/util-retry/dist-cjs/AdaptiveRetryStrategy.js -var require_AdaptiveRetryStrategy = __commonJS({ - "../../../node_modules/@smithy/util-retry/dist-cjs/AdaptiveRetryStrategy.js"(exports) { +// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/toEndpointV1.js +var require_toEndpointV1 = __commonJS({ + "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/toEndpointV1.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.AdaptiveRetryStrategy = void 0; - var config_1 = require_config3(); - var DefaultRateLimiter_1 = require_DefaultRateLimiter(); - var StandardRetryStrategy_1 = require_StandardRetryStrategy(); - var AdaptiveRetryStrategy = class { - constructor(maxAttemptsProvider, options) { - this.maxAttemptsProvider = maxAttemptsProvider; - this.mode = config_1.RETRY_MODES.ADAPTIVE; - const { rateLimiter } = options !== null && options !== void 0 ? options : {}; - this.rateLimiter = rateLimiter !== null && rateLimiter !== void 0 ? rateLimiter : new DefaultRateLimiter_1.DefaultRateLimiter(); - this.standardRetryStrategy = new StandardRetryStrategy_1.StandardRetryStrategy(maxAttemptsProvider); - } - async acquireInitialRetryToken(retryTokenScope) { - await this.rateLimiter.getSendToken(); - return this.standardRetryStrategy.acquireInitialRetryToken(retryTokenScope); - } - async refreshRetryTokenForRetry(tokenToRenew, errorInfo) { - this.rateLimiter.updateClientSendingRate(errorInfo); - return this.standardRetryStrategy.refreshRetryTokenForRetry(tokenToRenew, errorInfo); - } - recordSuccess(token) { - this.rateLimiter.updateClientSendingRate({}); - this.standardRetryStrategy.recordSuccess(token); + exports.toEndpointV1 = void 0; + var url_parser_1 = require_dist_cjs26(); + var toEndpointV1 = (endpoint) => { + if (typeof endpoint === "object") { + if ("url" in endpoint) { + return (0, url_parser_1.parseUrl)(endpoint.url); + } + return endpoint; } + return (0, url_parser_1.parseUrl)(endpoint); }; - exports.AdaptiveRetryStrategy = AdaptiveRetryStrategy; + exports.toEndpointV1 = toEndpointV1; } }); -// ../../../node_modules/@smithy/util-retry/dist-cjs/ConfiguredRetryStrategy.js -var require_ConfiguredRetryStrategy = __commonJS({ - "../../../node_modules/@smithy/util-retry/dist-cjs/ConfiguredRetryStrategy.js"(exports) { +// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromInstructions.js +var require_getEndpointFromInstructions = __commonJS({ + "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromInstructions.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.ConfiguredRetryStrategy = void 0; - var constants_1 = require_constants4(); - var StandardRetryStrategy_1 = require_StandardRetryStrategy(); - var ConfiguredRetryStrategy = class extends StandardRetryStrategy_1.StandardRetryStrategy { - constructor(maxAttempts, computeNextBackoffDelay = constants_1.DEFAULT_RETRY_DELAY_BASE) { - super(typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts); - if (typeof computeNextBackoffDelay === "number") { - this.computeNextBackoffDelay = () => computeNextBackoffDelay; - } else { - this.computeNextBackoffDelay = computeNextBackoffDelay; + exports.resolveParams = exports.getEndpointFromInstructions = void 0; + var service_customizations_1 = require_service_customizations(); + var createConfigValueProvider_1 = require_createConfigValueProvider(); + var getEndpointFromConfig_1 = require_getEndpointFromConfig(); + var toEndpointV1_1 = require_toEndpointV1(); + var getEndpointFromInstructions = async (commandInput, instructionsSupplier, clientConfig, context) => { + if (!clientConfig.endpoint) { + const endpointFromConfig = await (0, getEndpointFromConfig_1.getEndpointFromConfig)(clientConfig.serviceId || ""); + if (endpointFromConfig) { + clientConfig.endpoint = () => Promise.resolve((0, toEndpointV1_1.toEndpointV1)(endpointFromConfig)); } } - async refreshRetryTokenForRetry(tokenToRenew, errorInfo) { - const token = await super.refreshRetryTokenForRetry(tokenToRenew, errorInfo); - token.getRetryDelay = () => this.computeNextBackoffDelay(token.getRetryCount()); - return token; + const endpointParams = await (0, exports.resolveParams)(commandInput, instructionsSupplier, clientConfig); + if (typeof clientConfig.endpointProvider !== "function") { + throw new Error("config.endpointProvider is not set."); } + const endpoint = clientConfig.endpointProvider(endpointParams, context); + return endpoint; }; - exports.ConfiguredRetryStrategy = ConfiguredRetryStrategy; + exports.getEndpointFromInstructions = getEndpointFromInstructions; + var resolveParams = async (commandInput, instructionsSupplier, clientConfig) => { + var _a; + const endpointParams = {}; + const instructions = ((_a = instructionsSupplier === null || instructionsSupplier === void 0 ? void 0 : instructionsSupplier.getEndpointParameterInstructions) === null || _a === void 0 ? void 0 : _a.call(instructionsSupplier)) || {}; + for (const [name, instruction] of Object.entries(instructions)) { + switch (instruction.type) { + case "staticContextParams": + endpointParams[name] = instruction.value; + break; + case "contextParams": + endpointParams[name] = commandInput[instruction.name]; + break; + case "clientContextParams": + case "builtInParams": + endpointParams[name] = await (0, createConfigValueProvider_1.createConfigValueProvider)(instruction.name, name, clientConfig)(); + break; + default: + throw new Error("Unrecognized endpoint parameter instruction: " + JSON.stringify(instruction)); + } + } + if (Object.keys(instructions).length === 0) { + Object.assign(endpointParams, clientConfig); + } + if (String(clientConfig.serviceId).toLowerCase() === "s3") { + await (0, service_customizations_1.resolveParamsForS3)(endpointParams); + } + return endpointParams; + }; + exports.resolveParams = resolveParams; } }); -// ../../../node_modules/@smithy/util-retry/dist-cjs/types.js -var require_types4 = __commonJS({ - "../../../node_modules/@smithy/util-retry/dist-cjs/types.js"(exports) { +// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/index.js +var require_adaptors = __commonJS({ + "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_getEndpointFromInstructions(), exports); + tslib_1.__exportStar(require_toEndpointV1(), exports); } }); -// ../../../node_modules/@smithy/util-retry/dist-cjs/index.js -var require_dist_cjs28 = __commonJS({ - "../../../node_modules/@smithy/util-retry/dist-cjs/index.js"(exports) { +// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/endpointMiddleware.js +var require_endpointMiddleware = __commonJS({ + "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/endpointMiddleware.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_AdaptiveRetryStrategy(), exports); - tslib_1.__exportStar(require_ConfiguredRetryStrategy(), exports); - tslib_1.__exportStar(require_DefaultRateLimiter(), exports); - tslib_1.__exportStar(require_StandardRetryStrategy(), exports); - tslib_1.__exportStar(require_config3(), exports); - tslib_1.__exportStar(require_constants4(), exports); - tslib_1.__exportStar(require_types4(), exports); + exports.endpointMiddleware = void 0; + var getEndpointFromInstructions_1 = require_getEndpointFromInstructions(); + var endpointMiddleware = ({ config, instructions }) => { + return (next, context) => async (args) => { + var _a, _b; + const endpoint = await (0, getEndpointFromInstructions_1.getEndpointFromInstructions)(args.input, { + getEndpointParameterInstructions() { + return instructions; + } + }, { ...config }, context); + context.endpointV2 = endpoint; + context.authSchemes = (_a = endpoint.properties) === null || _a === void 0 ? void 0 : _a.authSchemes; + const authScheme = (_b = context.authSchemes) === null || _b === void 0 ? void 0 : _b[0]; + if (authScheme) { + context["signing_region"] = authScheme.signingRegion; + context["signing_service"] = authScheme.signingName; + } + return next({ + ...args + }); + }; + }; + exports.endpointMiddleware = endpointMiddleware; } }); -// ../../../node_modules/uuid/dist/esm-node/rng.js -function rng() { - if (poolPtr > rnds8Pool.length - 16) { - import_crypto.default.randomFillSync(rnds8Pool); - poolPtr = 0; - } - return rnds8Pool.slice(poolPtr, poolPtr += 16); -} -var import_crypto, rnds8Pool, poolPtr; -var init_rng = __esm({ - "../../../node_modules/uuid/dist/esm-node/rng.js"() { - import_crypto = __toESM(require("crypto")); - rnds8Pool = new Uint8Array(256); - poolPtr = rnds8Pool.length; +// ../../../node_modules/@smithy/middleware-serde/dist-cjs/deserializerMiddleware.js +var require_deserializerMiddleware = __commonJS({ + "../../../node_modules/@smithy/middleware-serde/dist-cjs/deserializerMiddleware.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.deserializerMiddleware = void 0; + var deserializerMiddleware = (options, deserializer) => (next, context) => async (args) => { + const { response } = await next(args); + try { + const parsed = await deserializer(response, options); + return { + response, + output: parsed + }; + } catch (error) { + Object.defineProperty(error, "$response", { + value: response + }); + if (!("$metadata" in error)) { + const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`; + error.message += "\n " + hint; + } + throw error; + } + }; + exports.deserializerMiddleware = deserializerMiddleware; } }); -// ../../../node_modules/uuid/dist/esm-node/regex.js -var regex_default; -var init_regex = __esm({ - "../../../node_modules/uuid/dist/esm-node/regex.js"() { - regex_default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; +// ../../../node_modules/@smithy/middleware-serde/dist-cjs/serializerMiddleware.js +var require_serializerMiddleware = __commonJS({ + "../../../node_modules/@smithy/middleware-serde/dist-cjs/serializerMiddleware.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.serializerMiddleware = void 0; + var serializerMiddleware = (options, serializer) => (next, context) => async (args) => { + var _a; + const endpoint = ((_a = context.endpointV2) === null || _a === void 0 ? void 0 : _a.url) && options.urlParser ? async () => options.urlParser(context.endpointV2.url) : options.endpoint; + if (!endpoint) { + throw new Error("No valid endpoint provider available."); + } + const request2 = await serializer(args.input, { ...options, endpoint }); + return next({ + ...args, + request: request2 + }); + }; + exports.serializerMiddleware = serializerMiddleware; } }); -// ../../../node_modules/uuid/dist/esm-node/validate.js -function validate(uuid) { - return typeof uuid === "string" && regex_default.test(uuid); -} -var validate_default; -var init_validate = __esm({ - "../../../node_modules/uuid/dist/esm-node/validate.js"() { - init_regex(); - validate_default = validate; +// ../../../node_modules/@smithy/middleware-serde/dist-cjs/serdePlugin.js +var require_serdePlugin = __commonJS({ + "../../../node_modules/@smithy/middleware-serde/dist-cjs/serdePlugin.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getSerdePlugin = exports.serializerMiddlewareOption = exports.deserializerMiddlewareOption = void 0; + var deserializerMiddleware_1 = require_deserializerMiddleware(); + var serializerMiddleware_1 = require_serializerMiddleware(); + exports.deserializerMiddlewareOption = { + name: "deserializerMiddleware", + step: "deserialize", + tags: ["DESERIALIZER"], + override: true + }; + exports.serializerMiddlewareOption = { + name: "serializerMiddleware", + step: "serialize", + tags: ["SERIALIZER"], + override: true + }; + 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); + } + }; + } + exports.getSerdePlugin = getSerdePlugin; } }); -// ../../../node_modules/uuid/dist/esm-node/stringify.js -function stringify(arr, offset = 0) { - const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); - if (!validate_default(uuid)) { - throw TypeError("Stringified UUID is invalid"); - } - return uuid; -} -var byteToHex, stringify_default; -var init_stringify = __esm({ - "../../../node_modules/uuid/dist/esm-node/stringify.js"() { - init_validate(); - byteToHex = []; - for (let i = 0; i < 256; ++i) { - byteToHex.push((i + 256).toString(16).substr(1)); - } - stringify_default = stringify; +// ../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js +var require_dist_cjs27 = __commonJS({ + "../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_deserializerMiddleware(), exports); + tslib_1.__exportStar(require_serdePlugin(), exports); + tslib_1.__exportStar(require_serializerMiddleware(), exports); } }); -// ../../../node_modules/uuid/dist/esm-node/v1.js -function v1(options, buf, offset) { - let i = buf && offset || 0; - const b = buf || new Array(16); - options = options || {}; - let node = options.node || _nodeId; - let clockseq = options.clockseq !== void 0 ? options.clockseq : _clockseq; - if (node == null || clockseq == null) { - const seedBytes = options.random || (options.rng || rng)(); - if (node == null) { - node = _nodeId = [seedBytes[0] | 1, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]]; - } - if (clockseq == null) { - clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 16383; - } - } - let msecs = options.msecs !== void 0 ? options.msecs : Date.now(); - let nsecs = options.nsecs !== void 0 ? options.nsecs : _lastNSecs + 1; - const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 1e4; - if (dt < 0 && options.clockseq === void 0) { - clockseq = clockseq + 1 & 16383; - } - if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === void 0) { - nsecs = 0; - } - if (nsecs >= 1e4) { - throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); - } - _lastMSecs = msecs; - _lastNSecs = nsecs; - _clockseq = clockseq; - msecs += 122192928e5; - const tl = ((msecs & 268435455) * 1e4 + nsecs) % 4294967296; - b[i++] = tl >>> 24 & 255; - b[i++] = tl >>> 16 & 255; - b[i++] = tl >>> 8 & 255; - b[i++] = tl & 255; - const tmh = msecs / 4294967296 * 1e4 & 268435455; - b[i++] = tmh >>> 8 & 255; - b[i++] = tmh & 255; - b[i++] = tmh >>> 24 & 15 | 16; - b[i++] = tmh >>> 16 & 255; - b[i++] = clockseq >>> 8 | 128; - b[i++] = clockseq & 255; - for (let n = 0; n < 6; ++n) { - b[i + n] = node[n]; - } - return buf || stringify_default(b); -} -var _nodeId, _clockseq, _lastMSecs, _lastNSecs, v1_default; -var init_v1 = __esm({ - "../../../node_modules/uuid/dist/esm-node/v1.js"() { - init_rng(); - init_stringify(); - _lastMSecs = 0; - _lastNSecs = 0; - v1_default = v1; +// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/getEndpointPlugin.js +var require_getEndpointPlugin = __commonJS({ + "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/getEndpointPlugin.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getEndpointPlugin = exports.endpointMiddlewareOptions = void 0; + var middleware_serde_1 = require_dist_cjs27(); + var endpointMiddleware_1 = require_endpointMiddleware(); + exports.endpointMiddlewareOptions = { + step: "serialize", + tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"], + name: "endpointV2Middleware", + override: true, + relation: "before", + toMiddleware: middleware_serde_1.serializerMiddlewareOption.name + }; + var getEndpointPlugin = (config, instructions) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo((0, endpointMiddleware_1.endpointMiddleware)({ + config, + instructions + }), exports.endpointMiddlewareOptions); + } + }); + exports.getEndpointPlugin = getEndpointPlugin; } }); -// ../../../node_modules/uuid/dist/esm-node/parse.js -function parse(uuid) { - if (!validate_default(uuid)) { - throw TypeError("Invalid UUID"); - } - let v; - const arr = new Uint8Array(16); - arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24; - arr[1] = v >>> 16 & 255; - arr[2] = v >>> 8 & 255; - arr[3] = v & 255; - arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8; - arr[5] = v & 255; - arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8; - arr[7] = v & 255; - arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8; - arr[9] = v & 255; - arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 1099511627776 & 255; - arr[11] = v / 4294967296 & 255; - arr[12] = v >>> 24 & 255; - arr[13] = v >>> 16 & 255; - arr[14] = v >>> 8 & 255; - arr[15] = v & 255; - return arr; -} -var parse_default; -var init_parse = __esm({ - "../../../node_modules/uuid/dist/esm-node/parse.js"() { - init_validate(); - parse_default = parse; +// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointConfig.js +var require_resolveEndpointConfig = __commonJS({ + "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointConfig.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveEndpointConfig = void 0; + var util_middleware_1 = require_dist_cjs10(); + var toEndpointV1_1 = require_toEndpointV1(); + var resolveEndpointConfig = (input) => { + var _a, _b, _c; + const tls = (_a = input.tls) !== null && _a !== void 0 ? _a : true; + const { endpoint } = input; + const customEndpointProvider = endpoint != null ? async () => (0, toEndpointV1_1.toEndpointV1)(await (0, util_middleware_1.normalizeProvider)(endpoint)()) : void 0; + const isCustomEndpoint = !!endpoint; + return { + ...input, + endpoint: customEndpointProvider, + tls, + isCustomEndpoint, + useDualstackEndpoint: (0, util_middleware_1.normalizeProvider)((_b = input.useDualstackEndpoint) !== null && _b !== void 0 ? _b : false), + useFipsEndpoint: (0, util_middleware_1.normalizeProvider)((_c = input.useFipsEndpoint) !== null && _c !== void 0 ? _c : false) + }; + }; + exports.resolveEndpointConfig = resolveEndpointConfig; } }); -// ../../../node_modules/uuid/dist/esm-node/v35.js -function stringToBytes(str) { - str = unescape(encodeURIComponent(str)); - const bytes = []; - for (let i = 0; i < str.length; ++i) { - bytes.push(str.charCodeAt(i)); - } - return bytes; -} -function v35_default(name, version2, hashfunc) { - function generateUUID(value, namespace, buf, offset) { - if (typeof value === "string") { - value = stringToBytes(value); - } - if (typeof namespace === "string") { - namespace = parse_default(namespace); - } - if (namespace.length !== 16) { - throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)"); - } - let bytes = new Uint8Array(16 + value.length); - bytes.set(namespace); - bytes.set(value, namespace.length); - bytes = hashfunc(bytes); - bytes[6] = bytes[6] & 15 | version2; - bytes[8] = bytes[8] & 63 | 128; - if (buf) { - offset = offset || 0; - for (let i = 0; i < 16; ++i) { - buf[offset + i] = bytes[i]; - } - return buf; - } - return stringify_default(bytes); - } - try { - generateUUID.name = name; - } catch (err) { - } - generateUUID.DNS = DNS; - generateUUID.URL = URL2; - return generateUUID; -} -var DNS, URL2; -var init_v35 = __esm({ - "../../../node_modules/uuid/dist/esm-node/v35.js"() { - init_stringify(); - init_parse(); - DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8"; - URL2 = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"; - } -}); - -// ../../../node_modules/uuid/dist/esm-node/md5.js -function md5(bytes) { - if (Array.isArray(bytes)) { - bytes = Buffer.from(bytes); - } else if (typeof bytes === "string") { - bytes = Buffer.from(bytes, "utf8"); - } - return import_crypto2.default.createHash("md5").update(bytes).digest(); -} -var import_crypto2, md5_default; -var init_md5 = __esm({ - "../../../node_modules/uuid/dist/esm-node/md5.js"() { - import_crypto2 = __toESM(require("crypto")); - md5_default = md5; - } -}); - -// ../../../node_modules/uuid/dist/esm-node/v3.js -var v3, v3_default; -var init_v3 = __esm({ - "../../../node_modules/uuid/dist/esm-node/v3.js"() { - init_v35(); - init_md5(); - v3 = v35_default("v3", 48, md5_default); - v3_default = v3; - } -}); - -// ../../../node_modules/uuid/dist/esm-node/v4.js -function v4(options, buf, offset) { - options = options || {}; - const rnds = options.random || (options.rng || rng)(); - rnds[6] = rnds[6] & 15 | 64; - rnds[8] = rnds[8] & 63 | 128; - if (buf) { - offset = offset || 0; - for (let i = 0; i < 16; ++i) { - buf[offset + i] = rnds[i]; - } - return buf; - } - return stringify_default(rnds); -} -var v4_default; -var init_v4 = __esm({ - "../../../node_modules/uuid/dist/esm-node/v4.js"() { - init_rng(); - init_stringify(); - v4_default = v4; - } -}); - -// ../../../node_modules/uuid/dist/esm-node/sha1.js -function sha1(bytes) { - if (Array.isArray(bytes)) { - bytes = Buffer.from(bytes); - } else if (typeof bytes === "string") { - bytes = Buffer.from(bytes, "utf8"); - } - return import_crypto3.default.createHash("sha1").update(bytes).digest(); -} -var import_crypto3, sha1_default; -var init_sha1 = __esm({ - "../../../node_modules/uuid/dist/esm-node/sha1.js"() { - import_crypto3 = __toESM(require("crypto")); - sha1_default = sha1; - } -}); - -// ../../../node_modules/uuid/dist/esm-node/v5.js -var v5, v5_default; -var init_v5 = __esm({ - "../../../node_modules/uuid/dist/esm-node/v5.js"() { - init_v35(); - init_sha1(); - v5 = v35_default("v5", 80, sha1_default); - v5_default = v5; - } -}); - -// ../../../node_modules/uuid/dist/esm-node/nil.js -var nil_default; -var init_nil = __esm({ - "../../../node_modules/uuid/dist/esm-node/nil.js"() { - nil_default = "00000000-0000-0000-0000-000000000000"; - } -}); - -// ../../../node_modules/uuid/dist/esm-node/version.js -function version(uuid) { - if (!validate_default(uuid)) { - throw TypeError("Invalid UUID"); - } - return parseInt(uuid.substr(14, 1), 16); -} -var version_default; -var init_version = __esm({ - "../../../node_modules/uuid/dist/esm-node/version.js"() { - init_validate(); - version_default = version; - } -}); - -// ../../../node_modules/uuid/dist/esm-node/index.js -var esm_node_exports = {}; -__export(esm_node_exports, { - NIL: () => nil_default, - parse: () => parse_default, - stringify: () => stringify_default, - v1: () => v1_default, - v3: () => v3_default, - v4: () => v4_default, - v5: () => v5_default, - validate: () => validate_default, - version: () => version_default -}); -var init_esm_node = __esm({ - "../../../node_modules/uuid/dist/esm-node/index.js"() { - init_v1(); - init_v3(); - init_v4(); - init_v5(); - init_nil(); - init_version(); - init_validate(); - init_stringify(); - init_parse(); - } -}); - -// ../../../node_modules/@smithy/middleware-retry/dist-cjs/defaultRetryQuota.js -var require_defaultRetryQuota = __commonJS({ - "../../../node_modules/@smithy/middleware-retry/dist-cjs/defaultRetryQuota.js"(exports) { +// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/types.js +var require_types4 = __commonJS({ + "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/types.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.getDefaultRetryQuota = void 0; - var util_retry_1 = require_dist_cjs28(); - var getDefaultRetryQuota = (initialRetryTokens, options) => { - var _a, _b, _c; - const MAX_CAPACITY = initialRetryTokens; - const noRetryIncrement = (_a = options === null || options === void 0 ? void 0 : options.noRetryIncrement) !== null && _a !== void 0 ? _a : util_retry_1.NO_RETRY_INCREMENT; - const retryCost = (_b = options === null || options === void 0 ? void 0 : options.retryCost) !== null && _b !== void 0 ? _b : util_retry_1.RETRY_COST; - const timeoutRetryCost = (_c = options === null || options === void 0 ? void 0 : options.timeoutRetryCost) !== null && _c !== void 0 ? _c : util_retry_1.TIMEOUT_RETRY_COST; - let availableCapacity = initialRetryTokens; - const getCapacityAmount = (error) => error.name === "TimeoutError" ? timeoutRetryCost : retryCost; - const hasRetryTokens = (error) => getCapacityAmount(error) <= availableCapacity; - const retrieveRetryTokens = (error) => { - if (!hasRetryTokens(error)) { - throw new Error("No retry token available"); - } - const capacityAmount = getCapacityAmount(error); - availableCapacity -= capacityAmount; - return capacityAmount; - }; - const releaseRetryTokens = (capacityReleaseAmount) => { - availableCapacity += capacityReleaseAmount !== null && capacityReleaseAmount !== void 0 ? capacityReleaseAmount : noRetryIncrement; - availableCapacity = Math.min(availableCapacity, MAX_CAPACITY); - }; - return Object.freeze({ - hasRetryTokens, - retrieveRetryTokens, - releaseRetryTokens - }); - }; - exports.getDefaultRetryQuota = getDefaultRetryQuota; } }); -// ../../../node_modules/@smithy/middleware-retry/dist-cjs/delayDecider.js -var require_delayDecider = __commonJS({ - "../../../node_modules/@smithy/middleware-retry/dist-cjs/delayDecider.js"(exports) { +// ../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +var require_dist_cjs28 = __commonJS({ + "../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.defaultDelayDecider = void 0; - var util_retry_1 = require_dist_cjs28(); - var defaultDelayDecider = (delayBase, attempts) => Math.floor(Math.min(util_retry_1.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase)); - exports.defaultDelayDecider = defaultDelayDecider; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_adaptors(), exports); + tslib_1.__exportStar(require_endpointMiddleware(), exports); + tslib_1.__exportStar(require_getEndpointPlugin(), exports); + tslib_1.__exportStar(require_resolveEndpointConfig(), exports); + tslib_1.__exportStar(require_types4(), exports); } }); -// ../../../node_modules/@smithy/middleware-retry/dist-cjs/retryDecider.js -var require_retryDecider = __commonJS({ - "../../../node_modules/@smithy/middleware-retry/dist-cjs/retryDecider.js"(exports) { +// ../../../node_modules/@smithy/util-retry/dist-cjs/config.js +var require_config3 = __commonJS({ + "../../../node_modules/@smithy/util-retry/dist-cjs/config.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.defaultRetryDecider = void 0; - var service_error_classification_1 = require_dist_cjs27(); - var 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); - }; - exports.defaultRetryDecider = defaultRetryDecider; + exports.DEFAULT_RETRY_MODE = exports.DEFAULT_MAX_ATTEMPTS = exports.RETRY_MODES = void 0; + var RETRY_MODES; + (function(RETRY_MODES2) { + RETRY_MODES2["STANDARD"] = "standard"; + RETRY_MODES2["ADAPTIVE"] = "adaptive"; + })(RETRY_MODES = exports.RETRY_MODES || (exports.RETRY_MODES = {})); + exports.DEFAULT_MAX_ATTEMPTS = 3; + exports.DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD; } }); -// ../../../node_modules/@smithy/middleware-retry/dist-cjs/util.js -var require_util3 = __commonJS({ - "../../../node_modules/@smithy/middleware-retry/dist-cjs/util.js"(exports) { +// ../../../node_modules/@smithy/service-error-classification/dist-cjs/constants.js +var require_constants3 = __commonJS({ + "../../../node_modules/@smithy/service-error-classification/dist-cjs/constants.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.asSdkError = void 0; - var asSdkError = (error) => { - if (error instanceof Error) - return error; - if (error instanceof Object) - return Object.assign(new Error(), error); - if (typeof error === "string") - return new Error(error); - return new Error(`AWS SDK error wrapper for ${error}`); - }; - exports.asSdkError = asSdkError; + exports.NODEJS_TIMEOUT_ERROR_CODES = exports.TRANSIENT_ERROR_STATUS_CODES = exports.TRANSIENT_ERROR_CODES = exports.THROTTLING_ERROR_CODES = exports.CLOCK_SKEW_ERROR_CODES = void 0; + exports.CLOCK_SKEW_ERROR_CODES = [ + "AuthFailure", + "InvalidSignatureException", + "RequestExpired", + "RequestInTheFuture", + "RequestTimeTooSkewed", + "SignatureDoesNotMatch" + ]; + exports.THROTTLING_ERROR_CODES = [ + "BandwidthLimitExceeded", + "EC2ThrottledException", + "LimitExceededException", + "PriorRequestNotComplete", + "ProvisionedThroughputExceededException", + "RequestLimitExceeded", + "RequestThrottled", + "RequestThrottledException", + "SlowDown", + "ThrottledException", + "Throttling", + "ThrottlingException", + "TooManyRequestsException", + "TransactionInProgressException" + ]; + exports.TRANSIENT_ERROR_CODES = ["TimeoutError", "RequestTimeout", "RequestTimeoutException"]; + exports.TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504]; + exports.NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMEDOUT"]; } }); -// ../../../node_modules/@smithy/middleware-retry/dist-cjs/StandardRetryStrategy.js -var require_StandardRetryStrategy2 = __commonJS({ - "../../../node_modules/@smithy/middleware-retry/dist-cjs/StandardRetryStrategy.js"(exports) { +// ../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js +var require_dist_cjs29 = __commonJS({ + "../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.StandardRetryStrategy = void 0; - var protocol_http_1 = require_dist_cjs2(); - var service_error_classification_1 = require_dist_cjs27(); - var util_retry_1 = require_dist_cjs28(); - var uuid_1 = (init_esm_node(), __toCommonJS(esm_node_exports)); - var defaultRetryQuota_1 = require_defaultRetryQuota(); - var delayDecider_1 = require_delayDecider(); - var retryDecider_1 = require_retryDecider(); - var util_1 = require_util3(); - var StandardRetryStrategy = class { - constructor(maxAttemptsProvider, options) { - var _a, _b, _c; - this.maxAttemptsProvider = maxAttemptsProvider; - this.mode = util_retry_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)(util_retry_1.INITIAL_RETRY_TOKENS); - } - shouldRetry(error, attempts, maxAttempts) { - return attempts < maxAttempts && this.retryDecider(error) && this.retryQuota.hasRetryTokens(error); - } - async getMaxAttempts() { - let maxAttempts; - try { - maxAttempts = await this.maxAttemptsProvider(); - } catch (error) { - maxAttempts = util_retry_1.DEFAULT_MAX_ATTEMPTS; - } - return maxAttempts; - } - async retry(next, args, options) { - let retryTokenAmount; - let attempts = 0; - let totalDelay = 0; - const maxAttempts = await this.getMaxAttempts(); - const { request: request2 } = args; - if (protocol_http_1.HttpRequest.isInstance(request2)) { - request2.headers[util_retry_1.INVOCATION_ID_HEADER] = (0, uuid_1.v4)(); - } - while (true) { - try { - if (protocol_http_1.HttpRequest.isInstance(request2)) { - request2.headers[util_retry_1.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`; - } - if (options === null || options === void 0 ? void 0 : options.beforeRequest) { - await options.beforeRequest(); - } - const { response, output } = await next(args); - if (options === null || options === void 0 ? void 0 : options.afterRequest) { - options.afterRequest(response); - } - this.retryQuota.releaseRetryTokens(retryTokenAmount); - output.$metadata.attempts = attempts + 1; - output.$metadata.totalRetryDelay = totalDelay; - return { response, output }; - } catch (e) { - const err = (0, util_1.asSdkError)(e); - attempts++; - if (this.shouldRetry(err, attempts, maxAttempts)) { - retryTokenAmount = this.retryQuota.retrieveRetryTokens(err); - const delayFromDecider = this.delayDecider((0, service_error_classification_1.isThrottlingError)(err) ? util_retry_1.THROTTLING_RETRY_DELAY_BASE : util_retry_1.DEFAULT_RETRY_DELAY_BASE, attempts); - const delayFromResponse = getDelayFromRetryAfterHeader(err.$response); - const delay = Math.max(delayFromResponse || 0, delayFromDecider); - totalDelay += delay; - await new Promise((resolve) => setTimeout(resolve, delay)); - continue; - } - if (!err.$metadata) { - err.$metadata = {}; - } - err.$metadata.attempts = attempts; - err.$metadata.totalRetryDelay = totalDelay; - throw err; - } + exports.isServerError = exports.isTransientError = exports.isThrottlingError = exports.isClockSkewError = exports.isRetryableByTrait = void 0; + var constants_1 = require_constants3(); + var isRetryableByTrait = (error) => error.$retryable !== void 0; + exports.isRetryableByTrait = isRetryableByTrait; + var isClockSkewError = (error) => constants_1.CLOCK_SKEW_ERROR_CODES.includes(error.name); + exports.isClockSkewError = isClockSkewError; + var isThrottlingError = (error) => { + var _a, _b; + return ((_a = error.$metadata) === null || _a === void 0 ? void 0 : _a.httpStatusCode) === 429 || constants_1.THROTTLING_ERROR_CODES.includes(error.name) || ((_b = error.$retryable) === null || _b === void 0 ? void 0 : _b.throttling) == true; + }; + exports.isThrottlingError = isThrottlingError; + var isTransientError = (error) => { + var _a; + return constants_1.TRANSIENT_ERROR_CODES.includes(error.name) || constants_1.NODEJS_TIMEOUT_ERROR_CODES.includes((error === null || error === void 0 ? void 0 : error.code) || "") || constants_1.TRANSIENT_ERROR_STATUS_CODES.includes(((_a = error.$metadata) === null || _a === void 0 ? void 0 : _a.httpStatusCode) || 0); + }; + exports.isTransientError = isTransientError; + var isServerError = (error) => { + var _a; + if (((_a = error.$metadata) === null || _a === void 0 ? void 0 : _a.httpStatusCode) !== void 0) { + const statusCode = error.$metadata.httpStatusCode; + if (500 <= statusCode && statusCode <= 599 && !(0, exports.isTransientError)(error)) { + return true; } + return false; } + return false; }; - exports.StandardRetryStrategy = StandardRetryStrategy; - var getDelayFromRetryAfterHeader = (response) => { - if (!protocol_http_1.HttpResponse.isInstance(response)) - return; - const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after"); - if (!retryAfterHeaderName) - return; - const retryAfter = response.headers[retryAfterHeaderName]; - const retryAfterSeconds = Number(retryAfter); - if (!Number.isNaN(retryAfterSeconds)) - return retryAfterSeconds * 1e3; - const retryAfterDate = new Date(retryAfter); - return retryAfterDate.getTime() - Date.now(); - }; + exports.isServerError = isServerError; } }); -// ../../../node_modules/@smithy/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js -var require_AdaptiveRetryStrategy2 = __commonJS({ - "../../../node_modules/@smithy/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js"(exports) { +// ../../../node_modules/@smithy/util-retry/dist-cjs/DefaultRateLimiter.js +var require_DefaultRateLimiter = __commonJS({ + "../../../node_modules/@smithy/util-retry/dist-cjs/DefaultRateLimiter.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.AdaptiveRetryStrategy = void 0; - var util_retry_1 = require_dist_cjs28(); - var StandardRetryStrategy_1 = require_StandardRetryStrategy2(); - var AdaptiveRetryStrategy = class extends StandardRetryStrategy_1.StandardRetryStrategy { - constructor(maxAttemptsProvider, options) { - const { rateLimiter, ...superOptions } = options !== null && options !== void 0 ? options : {}; - super(maxAttemptsProvider, superOptions); - this.rateLimiter = rateLimiter !== null && rateLimiter !== void 0 ? rateLimiter : new util_retry_1.DefaultRateLimiter(); - this.mode = util_retry_1.RETRY_MODES.ADAPTIVE; + exports.DefaultRateLimiter = void 0; + var service_error_classification_1 = require_dist_cjs29(); + var DefaultRateLimiter = class { + constructor(options) { + var _a, _b, _c, _d, _e; + this.currentCapacity = 0; + this.enabled = false; + this.lastMaxRate = 0; + this.measuredTxRate = 0; + this.requestCount = 0; + this.lastTimestamp = 0; + this.timeWindow = 0; + this.beta = (_a = options === null || options === void 0 ? void 0 : options.beta) !== null && _a !== void 0 ? _a : 0.7; + this.minCapacity = (_b = options === null || options === void 0 ? void 0 : options.minCapacity) !== null && _b !== void 0 ? _b : 1; + this.minFillRate = (_c = options === null || options === void 0 ? void 0 : options.minFillRate) !== null && _c !== void 0 ? _c : 0.5; + this.scaleConstant = (_d = options === null || options === void 0 ? void 0 : options.scaleConstant) !== null && _d !== void 0 ? _d : 0.4; + this.smooth = (_e = options === null || options === void 0 ? void 0 : options.smooth) !== null && _e !== void 0 ? _e : 0.8; + const currentTimeInSeconds = this.getCurrentTimeInSeconds(); + this.lastThrottleTime = currentTimeInSeconds; + this.lastTxRateBucket = Math.floor(this.getCurrentTimeInSeconds()); + this.fillRate = this.minFillRate; + this.maxCapacity = this.minCapacity; } - async retry(next, args) { - return super.retry(next, args, { - beforeRequest: async () => { - return this.rateLimiter.getSendToken(); - }, - afterRequest: (response) => { - this.rateLimiter.updateClientSendingRate(response); - } - }); + getCurrentTimeInSeconds() { + return Date.now() / 1e3; } - }; - exports.AdaptiveRetryStrategy = AdaptiveRetryStrategy; - } -}); - -// ../../../node_modules/@smithy/middleware-retry/dist-cjs/configurations.js -var require_configurations2 = __commonJS({ - "../../../node_modules/@smithy/middleware-retry/dist-cjs/configurations.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.NODE_RETRY_MODE_CONFIG_OPTIONS = exports.CONFIG_RETRY_MODE = exports.ENV_RETRY_MODE = exports.resolveRetryConfig = exports.NODE_MAX_ATTEMPT_CONFIG_OPTIONS = exports.CONFIG_MAX_ATTEMPTS = exports.ENV_MAX_ATTEMPTS = void 0; - var util_middleware_1 = require_dist_cjs10(); - var util_retry_1 = require_dist_cjs28(); - exports.ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS"; - exports.CONFIG_MAX_ATTEMPTS = "max_attempts"; - exports.NODE_MAX_ATTEMPT_CONFIG_OPTIONS = { - environmentVariableSelector: (env) => { - const value = env[exports.ENV_MAX_ATTEMPTS]; - if (!value) - return void 0; - const maxAttempt = parseInt(value); - if (Number.isNaN(maxAttempt)) { - throw new Error(`Environment variable ${exports.ENV_MAX_ATTEMPTS} mast be a number, got "${value}"`); + async getSendToken() { + return this.acquireTokenBucket(1); + } + async acquireTokenBucket(amount) { + if (!this.enabled) { + return; } - return maxAttempt; - }, - configFileSelector: (profile) => { - const value = profile[exports.CONFIG_MAX_ATTEMPTS]; - if (!value) - return void 0; - const maxAttempt = parseInt(value); - if (Number.isNaN(maxAttempt)) { - throw new Error(`Shared config file entry ${exports.CONFIG_MAX_ATTEMPTS} mast be a number, got "${value}"`); + this.refillTokenBucket(); + if (amount > this.currentCapacity) { + const delay = (amount - this.currentCapacity) / this.fillRate * 1e3; + await new Promise((resolve) => setTimeout(resolve, delay)); } - return maxAttempt; - }, - default: util_retry_1.DEFAULT_MAX_ATTEMPTS - }; - var resolveRetryConfig = (input) => { - var _a; - const { retryStrategy } = input; - const maxAttempts = (0, util_middleware_1.normalizeProvider)((_a = input.maxAttempts) !== null && _a !== void 0 ? _a : util_retry_1.DEFAULT_MAX_ATTEMPTS); - return { - ...input, - maxAttempts, - retryStrategy: async () => { - if (retryStrategy) { - return retryStrategy; - } - const retryMode = await (0, util_middleware_1.normalizeProvider)(input.retryMode)(); - if (retryMode === util_retry_1.RETRY_MODES.ADAPTIVE) { - return new util_retry_1.AdaptiveRetryStrategy(maxAttempts); - } - return new util_retry_1.StandardRetryStrategy(maxAttempts); + this.currentCapacity = this.currentCapacity - amount; + } + refillTokenBucket() { + const timestamp = this.getCurrentTimeInSeconds(); + if (!this.lastTimestamp) { + this.lastTimestamp = timestamp; + return; } - }; - }; - exports.resolveRetryConfig = resolveRetryConfig; - exports.ENV_RETRY_MODE = "AWS_RETRY_MODE"; - exports.CONFIG_RETRY_MODE = "retry_mode"; - exports.NODE_RETRY_MODE_CONFIG_OPTIONS = { - environmentVariableSelector: (env) => env[exports.ENV_RETRY_MODE], - configFileSelector: (profile) => profile[exports.CONFIG_RETRY_MODE], - default: util_retry_1.DEFAULT_RETRY_MODE + const fillAmount = (timestamp - this.lastTimestamp) * this.fillRate; + this.currentCapacity = Math.min(this.maxCapacity, this.currentCapacity + fillAmount); + this.lastTimestamp = timestamp; + } + updateClientSendingRate(response) { + let calculatedRate; + this.updateMeasuredRate(); + if ((0, service_error_classification_1.isThrottlingError)(response)) { + const rateToUse = !this.enabled ? this.measuredTxRate : Math.min(this.measuredTxRate, this.fillRate); + this.lastMaxRate = rateToUse; + this.calculateTimeWindow(); + this.lastThrottleTime = this.getCurrentTimeInSeconds(); + calculatedRate = this.cubicThrottle(rateToUse); + this.enableTokenBucket(); + } else { + this.calculateTimeWindow(); + calculatedRate = this.cubicSuccess(this.getCurrentTimeInSeconds()); + } + const newRate = Math.min(calculatedRate, 2 * this.measuredTxRate); + this.updateTokenBucketRate(newRate); + } + calculateTimeWindow() { + this.timeWindow = this.getPrecise(Math.pow(this.lastMaxRate * (1 - this.beta) / this.scaleConstant, 1 / 3)); + } + cubicThrottle(rateToUse) { + return this.getPrecise(rateToUse * this.beta); + } + cubicSuccess(timestamp) { + return this.getPrecise(this.scaleConstant * Math.pow(timestamp - this.lastThrottleTime - this.timeWindow, 3) + this.lastMaxRate); + } + enableTokenBucket() { + this.enabled = true; + } + updateTokenBucketRate(newRate) { + this.refillTokenBucket(); + this.fillRate = Math.max(newRate, this.minFillRate); + this.maxCapacity = Math.max(newRate, this.minCapacity); + this.currentCapacity = Math.min(this.currentCapacity, this.maxCapacity); + } + updateMeasuredRate() { + const t = this.getCurrentTimeInSeconds(); + const timeBucket = Math.floor(t * 2) / 2; + this.requestCount++; + if (timeBucket > this.lastTxRateBucket) { + const currentRate = this.requestCount / (timeBucket - this.lastTxRateBucket); + this.measuredTxRate = this.getPrecise(currentRate * this.smooth + this.measuredTxRate * (1 - this.smooth)); + this.requestCount = 0; + this.lastTxRateBucket = timeBucket; + } + } + getPrecise(num) { + return parseFloat(num.toFixed(8)); + } }; + exports.DefaultRateLimiter = DefaultRateLimiter; } }); -// ../../../node_modules/@smithy/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js -var require_omitRetryHeadersMiddleware = __commonJS({ - "../../../node_modules/@smithy/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js"(exports) { +// ../../../node_modules/@smithy/util-retry/dist-cjs/constants.js +var require_constants4 = __commonJS({ + "../../../node_modules/@smithy/util-retry/dist-cjs/constants.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.getOmitRetryHeadersPlugin = exports.omitRetryHeadersMiddlewareOptions = exports.omitRetryHeadersMiddleware = void 0; - var protocol_http_1 = require_dist_cjs2(); - var util_retry_1 = require_dist_cjs28(); - var omitRetryHeadersMiddleware = () => (next) => async (args) => { - const { request: request2 } = args; - if (protocol_http_1.HttpRequest.isInstance(request2)) { - delete request2.headers[util_retry_1.INVOCATION_ID_HEADER]; - delete request2.headers[util_retry_1.REQUEST_HEADER]; - } - return next(args); - }; - exports.omitRetryHeadersMiddleware = omitRetryHeadersMiddleware; - exports.omitRetryHeadersMiddlewareOptions = { - name: "omitRetryHeadersMiddleware", - tags: ["RETRY", "HEADERS", "OMIT_RETRY_HEADERS"], - relation: "before", - toMiddleware: "awsAuthMiddleware", - override: true - }; - var getOmitRetryHeadersPlugin = (options) => ({ - applyToStack: (clientStack) => { - clientStack.addRelativeTo((0, exports.omitRetryHeadersMiddleware)(), exports.omitRetryHeadersMiddlewareOptions); - } - }); - exports.getOmitRetryHeadersPlugin = getOmitRetryHeadersPlugin; + exports.REQUEST_HEADER = exports.INVOCATION_ID_HEADER = exports.NO_RETRY_INCREMENT = exports.TIMEOUT_RETRY_COST = exports.RETRY_COST = exports.INITIAL_RETRY_TOKENS = exports.THROTTLING_RETRY_DELAY_BASE = exports.MAXIMUM_RETRY_DELAY = exports.DEFAULT_RETRY_DELAY_BASE = void 0; + exports.DEFAULT_RETRY_DELAY_BASE = 100; + exports.MAXIMUM_RETRY_DELAY = 20 * 1e3; + exports.THROTTLING_RETRY_DELAY_BASE = 500; + exports.INITIAL_RETRY_TOKENS = 500; + exports.RETRY_COST = 5; + exports.TIMEOUT_RETRY_COST = 10; + exports.NO_RETRY_INCREMENT = 1; + exports.INVOCATION_ID_HEADER = "amz-sdk-invocation-id"; + exports.REQUEST_HEADER = "amz-sdk-request"; } }); -// ../../../node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js -var require_retryMiddleware = __commonJS({ - "../../../node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js"(exports) { +// ../../../node_modules/@smithy/util-retry/dist-cjs/defaultRetryBackoffStrategy.js +var require_defaultRetryBackoffStrategy = __commonJS({ + "../../../node_modules/@smithy/util-retry/dist-cjs/defaultRetryBackoffStrategy.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.getRetryAfterHint = exports.getRetryPlugin = exports.retryMiddlewareOptions = exports.retryMiddleware = void 0; - var protocol_http_1 = require_dist_cjs2(); - var service_error_classification_1 = require_dist_cjs27(); - var util_retry_1 = require_dist_cjs28(); - var uuid_1 = (init_esm_node(), __toCommonJS(esm_node_exports)); - var util_1 = require_util3(); - var retryMiddleware = (options) => (next, context) => async (args) => { - let retryStrategy = await options.retryStrategy(); - const maxAttempts = await options.maxAttempts(); - if (isRetryStrategyV2(retryStrategy)) { - retryStrategy = retryStrategy; - let retryToken = await retryStrategy.acquireInitialRetryToken(context["partition_id"]); - let lastError = new Error(); - let attempts = 0; - let totalRetryDelay = 0; - const { request: request2 } = args; - if (protocol_http_1.HttpRequest.isInstance(request2)) { - request2.headers[util_retry_1.INVOCATION_ID_HEADER] = (0, uuid_1.v4)(); - } - while (true) { - try { - if (protocol_http_1.HttpRequest.isInstance(request2)) { - request2.headers[util_retry_1.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`; - } - const { response, output } = await next(args); - retryStrategy.recordSuccess(retryToken); - output.$metadata.attempts = attempts + 1; - output.$metadata.totalRetryDelay = totalRetryDelay; - return { response, output }; - } catch (e) { - const retryErrorInfo = getRetryErrorInfo(e); - lastError = (0, util_1.asSdkError)(e); - try { - retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo); - } catch (refreshError) { - if (!lastError.$metadata) { - lastError.$metadata = {}; - } - lastError.$metadata.attempts = attempts + 1; - lastError.$metadata.totalRetryDelay = totalRetryDelay; - throw lastError; - } - attempts = retryToken.getRetryCount(); - const delay = retryToken.getRetryDelay(); - totalRetryDelay += delay; - await new Promise((resolve) => setTimeout(resolve, delay)); - } - } - } else { - retryStrategy = retryStrategy; - if (retryStrategy === null || retryStrategy === void 0 ? void 0 : retryStrategy.mode) - context.userAgent = [...context.userAgent || [], ["cfg/retry-mode", retryStrategy.mode]]; - return retryStrategy.retry(next, args); - } - }; - exports.retryMiddleware = retryMiddleware; - var isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" && typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" && typeof retryStrategy.recordSuccess !== "undefined"; - var getRetryErrorInfo = (error) => { - const errorInfo = { - errorType: getRetryErrorType(error) + exports.getDefaultRetryBackoffStrategy = void 0; + var constants_1 = require_constants4(); + var getDefaultRetryBackoffStrategy = () => { + let delayBase = constants_1.DEFAULT_RETRY_DELAY_BASE; + const computeNextBackoffDelay = (attempts) => { + return Math.floor(Math.min(constants_1.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase)); + }; + const setDelayBase = (delay) => { + delayBase = delay; + }; + return { + computeNextBackoffDelay, + setDelayBase }; - const retryAfterHint = (0, exports.getRetryAfterHint)(error.$response); - if (retryAfterHint) { - errorInfo.retryAfterHint = retryAfterHint; - } - return errorInfo; - }; - var getRetryErrorType = (error) => { - if ((0, service_error_classification_1.isThrottlingError)(error)) - return "THROTTLING"; - if ((0, service_error_classification_1.isTransientError)(error)) - return "TRANSIENT"; - if ((0, service_error_classification_1.isServerError)(error)) - return "SERVER_ERROR"; - return "CLIENT_ERROR"; - }; - exports.retryMiddlewareOptions = { - name: "retryMiddleware", - tags: ["RETRY"], - step: "finalizeRequest", - priority: "high", - override: true - }; - var getRetryPlugin = (options) => ({ - applyToStack: (clientStack) => { - clientStack.add((0, exports.retryMiddleware)(options), exports.retryMiddlewareOptions); - } - }); - exports.getRetryPlugin = getRetryPlugin; - var getRetryAfterHint = (response) => { - if (!protocol_http_1.HttpResponse.isInstance(response)) - return; - const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after"); - if (!retryAfterHeaderName) - return; - const retryAfter = response.headers[retryAfterHeaderName]; - const retryAfterSeconds = Number(retryAfter); - if (!Number.isNaN(retryAfterSeconds)) - return new Date(retryAfterSeconds * 1e3); - const retryAfterDate = new Date(retryAfter); - return retryAfterDate; }; - exports.getRetryAfterHint = getRetryAfterHint; + exports.getDefaultRetryBackoffStrategy = getDefaultRetryBackoffStrategy; } }); -// ../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js -var require_dist_cjs29 = __commonJS({ - "../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js"(exports) { +// ../../../node_modules/@smithy/util-retry/dist-cjs/defaultRetryToken.js +var require_defaultRetryToken = __commonJS({ + "../../../node_modules/@smithy/util-retry/dist-cjs/defaultRetryToken.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_AdaptiveRetryStrategy2(), exports); - tslib_1.__exportStar(require_StandardRetryStrategy2(), exports); - tslib_1.__exportStar(require_configurations2(), exports); - tslib_1.__exportStar(require_delayDecider(), exports); - tslib_1.__exportStar(require_omitRetryHeadersMiddleware(), exports); - tslib_1.__exportStar(require_retryDecider(), exports); - tslib_1.__exportStar(require_retryMiddleware(), exports); - } -}); + exports.createDefaultRetryToken = void 0; + var constants_1 = require_constants4(); + var createDefaultRetryToken = ({ retryDelay, retryCount, retryCost }) => { + const getRetryCount = () => retryCount; + const getRetryDelay = () => Math.min(constants_1.MAXIMUM_RETRY_DELAY, retryDelay); + const getRetryCost = () => retryCost; + return { + getRetryCount, + getRetryDelay, + getRetryCost + }; + }; + exports.createDefaultRetryToken = createDefaultRetryToken; + } +}); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/NoOpLogger.js -var require_NoOpLogger = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/NoOpLogger.js"(exports) { +// ../../../node_modules/@smithy/util-retry/dist-cjs/StandardRetryStrategy.js +var require_StandardRetryStrategy = __commonJS({ + "../../../node_modules/@smithy/util-retry/dist-cjs/StandardRetryStrategy.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.NoOpLogger = void 0; - var NoOpLogger = class { - trace() { + exports.StandardRetryStrategy = void 0; + var config_1 = require_config3(); + var constants_1 = require_constants4(); + var defaultRetryBackoffStrategy_1 = require_defaultRetryBackoffStrategy(); + var defaultRetryToken_1 = require_defaultRetryToken(); + var StandardRetryStrategy = class { + constructor(maxAttempts) { + this.maxAttempts = maxAttempts; + this.mode = config_1.RETRY_MODES.STANDARD; + this.capacity = constants_1.INITIAL_RETRY_TOKENS; + this.retryBackoffStrategy = (0, defaultRetryBackoffStrategy_1.getDefaultRetryBackoffStrategy)(); + this.maxAttemptsProvider = typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts; } - debug() { + async acquireInitialRetryToken(retryTokenScope) { + return (0, defaultRetryToken_1.createDefaultRetryToken)({ + retryDelay: constants_1.DEFAULT_RETRY_DELAY_BASE, + retryCount: 0 + }); } - info() { + async refreshRetryTokenForRetry(token, errorInfo) { + const maxAttempts = await this.getMaxAttempts(); + if (this.shouldRetry(token, errorInfo, maxAttempts)) { + const errorType = errorInfo.errorType; + this.retryBackoffStrategy.setDelayBase(errorType === "THROTTLING" ? constants_1.THROTTLING_RETRY_DELAY_BASE : constants_1.DEFAULT_RETRY_DELAY_BASE); + const delayFromErrorType = this.retryBackoffStrategy.computeNextBackoffDelay(token.getRetryCount()); + const retryDelay = errorInfo.retryAfterHint ? Math.max(errorInfo.retryAfterHint.getTime() - Date.now() || 0, delayFromErrorType) : delayFromErrorType; + const capacityCost = this.getCapacityCost(errorType); + this.capacity -= capacityCost; + return (0, defaultRetryToken_1.createDefaultRetryToken)({ + retryDelay, + retryCount: token.getRetryCount() + 1, + retryCost: capacityCost + }); + } + throw new Error("No retry token available"); } - warn() { + recordSuccess(token) { + var _a; + this.capacity = Math.max(constants_1.INITIAL_RETRY_TOKENS, this.capacity + ((_a = token.getRetryCost()) !== null && _a !== void 0 ? _a : constants_1.NO_RETRY_INCREMENT)); } - error() { + getCapacity() { + return this.capacity; + } + async getMaxAttempts() { + try { + return await this.maxAttemptsProvider(); + } catch (error) { + console.warn(`Max attempts provider could not resolve. Using default of ${config_1.DEFAULT_MAX_ATTEMPTS}`); + return config_1.DEFAULT_MAX_ATTEMPTS; + } + } + shouldRetry(tokenToRenew, errorInfo, maxAttempts) { + const attempts = tokenToRenew.getRetryCount() + 1; + return attempts < maxAttempts && this.capacity >= this.getCapacityCost(errorInfo.errorType) && this.isRetryableError(errorInfo.errorType); + } + getCapacityCost(errorType) { + return errorType === "TRANSIENT" ? constants_1.TIMEOUT_RETRY_COST : constants_1.RETRY_COST; + } + isRetryableError(errorType) { + return errorType === "THROTTLING" || errorType === "TRANSIENT"; } }; - exports.NoOpLogger = NoOpLogger; + exports.StandardRetryStrategy = StandardRetryStrategy; } }); -// ../../../node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js -var require_MiddlewareStack = __commonJS({ - "../../../node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js"(exports) { +// ../../../node_modules/@smithy/util-retry/dist-cjs/AdaptiveRetryStrategy.js +var require_AdaptiveRetryStrategy = __commonJS({ + "../../../node_modules/@smithy/util-retry/dist-cjs/AdaptiveRetryStrategy.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.constructStack = void 0; - var constructStack = () => { - let absoluteEntries = []; - let relativeEntries = []; - let identifyOnResolve = false; - const entriesNameSet = /* @__PURE__ */ new Set(); - const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] || priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]); - const removeByName = (toRemove) => { - let isRemoved = false; - const filterCb = (entry) => { - if (entry.name && entry.name === toRemove) { - isRemoved = true; - entriesNameSet.delete(toRemove); - return false; - } - return true; - }; - absoluteEntries = absoluteEntries.filter(filterCb); - relativeEntries = relativeEntries.filter(filterCb); - return isRemoved; - }; - const removeByReference = (toRemove) => { - let isRemoved = false; - const filterCb = (entry) => { - if (entry.middleware === toRemove) { - isRemoved = true; - if (entry.name) - entriesNameSet.delete(entry.name); - return false; - } - return true; - }; - absoluteEntries = absoluteEntries.filter(filterCb); - relativeEntries = relativeEntries.filter(filterCb); - return isRemoved; - }; - const cloneTo = (toStack) => { - var _a; - absoluteEntries.forEach((entry) => { - toStack.add(entry.middleware, { ...entry }); - }); - relativeEntries.forEach((entry) => { - toStack.addRelativeTo(entry.middleware, { ...entry }); - }); - (_a = toStack.identifyOnResolve) === null || _a === void 0 ? void 0 : _a.call(toStack, stack.identifyOnResolve()); - return toStack; - }; - const expandRelativeMiddlewareList = (from) => { - const expandedMiddlewareList = []; - from.before.forEach((entry) => { - if (entry.before.length === 0 && entry.after.length === 0) { - expandedMiddlewareList.push(entry); - } else { - expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry)); - } - }); - expandedMiddlewareList.push(from); - from.after.reverse().forEach((entry) => { - if (entry.before.length === 0 && entry.after.length === 0) { - expandedMiddlewareList.push(entry); - } else { - expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry)); - } - }); - return expandedMiddlewareList; - }; - const getMiddlewareList = (debug = false) => { - const normalizedAbsoluteEntries = []; - const normalizedRelativeEntries = []; - const normalizedEntriesNameMap = {}; - absoluteEntries.forEach((entry) => { - const normalizedEntry = { - ...entry, - before: [], - after: [] - }; - if (normalizedEntry.name) - normalizedEntriesNameMap[normalizedEntry.name] = normalizedEntry; - normalizedAbsoluteEntries.push(normalizedEntry); - }); - relativeEntries.forEach((entry) => { - const normalizedEntry = { - ...entry, - before: [], - after: [] - }; - if (normalizedEntry.name) - normalizedEntriesNameMap[normalizedEntry.name] = normalizedEntry; - normalizedRelativeEntries.push(normalizedEntry); - }); - normalizedRelativeEntries.forEach((entry) => { - if (entry.toMiddleware) { - const toMiddleware = normalizedEntriesNameMap[entry.toMiddleware]; - if (toMiddleware === void 0) { - if (debug) { - return; - } - throw new Error(`${entry.toMiddleware} is not found when adding ${entry.name || "anonymous"} middleware ${entry.relation} ${entry.toMiddleware}`); - } - if (entry.relation === "after") { - toMiddleware.after.push(entry); - } - if (entry.relation === "before") { - toMiddleware.before.push(entry); - } - } - }); - const mainChain = sort(normalizedAbsoluteEntries).map(expandRelativeMiddlewareList).reduce((wholeList, expandedMiddlewareList) => { - wholeList.push(...expandedMiddlewareList); - return wholeList; - }, []); - return mainChain; - }; - const stack = { - add: (middleware, options = {}) => { - const { name, override } = options; - const entry = { - step: "initialize", - priority: "normal", - middleware, - ...options - }; - if (name) { - if (entriesNameSet.has(name)) { - if (!override) - throw new Error(`Duplicate middleware name '${name}'`); - const toOverrideIndex = absoluteEntries.findIndex((entry2) => entry2.name === name); - const toOverride = absoluteEntries[toOverrideIndex]; - if (toOverride.step !== entry.step || toOverride.priority !== entry.priority) { - throw new Error(`"${name}" middleware with ${toOverride.priority} priority in ${toOverride.step} step cannot be overridden by same-name middleware with ${entry.priority} priority in ${entry.step} step.`); - } - absoluteEntries.splice(toOverrideIndex, 1); - } - entriesNameSet.add(name); - } - absoluteEntries.push(entry); - }, - addRelativeTo: (middleware, options) => { - const { name, override } = options; - const entry = { - middleware, - ...options - }; - if (name) { - if (entriesNameSet.has(name)) { - if (!override) - throw new Error(`Duplicate middleware name '${name}'`); - const toOverrideIndex = relativeEntries.findIndex((entry2) => entry2.name === name); - const toOverride = relativeEntries[toOverrideIndex]; - if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) { - throw new Error(`"${name}" middleware ${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden by same-name middleware ${entry.relation} "${entry.toMiddleware}" middleware.`); - } - relativeEntries.splice(toOverrideIndex, 1); - } - entriesNameSet.add(name); - } - relativeEntries.push(entry); - }, - clone: () => cloneTo((0, exports.constructStack)()), - use: (plugin) => { - plugin.applyToStack(stack); - }, - remove: (toRemove) => { - if (typeof toRemove === "string") - return removeByName(toRemove); - else - return removeByReference(toRemove); - }, - removeByTag: (toRemove) => { - let isRemoved = false; - const filterCb = (entry) => { - const { tags, name } = entry; - if (tags && tags.includes(toRemove)) { - if (name) - entriesNameSet.delete(name); - isRemoved = true; - return false; - } - return true; - }; - absoluteEntries = absoluteEntries.filter(filterCb); - relativeEntries = relativeEntries.filter(filterCb); - return isRemoved; - }, - concat: (from) => { - var _a, _b; - const cloned = cloneTo((0, exports.constructStack)()); - cloned.use(from); - cloned.identifyOnResolve(identifyOnResolve || cloned.identifyOnResolve() || ((_b = (_a = from.identifyOnResolve) === null || _a === void 0 ? void 0 : _a.call(from)) !== null && _b !== void 0 ? _b : false)); - return cloned; - }, - applyToStack: cloneTo, - identify: () => { - return getMiddlewareList(true).map((mw) => { - var _a; - const step = (_a = mw.step) !== null && _a !== void 0 ? _a : mw.relation + " " + mw.toMiddleware; - return mw.name + " - " + step; - }); - }, - identifyOnResolve(toggle) { - if (typeof toggle === "boolean") - identifyOnResolve = toggle; - return identifyOnResolve; - }, - resolve: (handler2, context) => { - for (const middleware of getMiddlewareList().map((entry) => entry.middleware).reverse()) { - handler2 = middleware(handler2, context); - } - if (identifyOnResolve) { - console.log(stack.identify()); - } - return handler2; - } - }; - return stack; - }; - exports.constructStack = constructStack; - var stepWeights = { - initialize: 5, - serialize: 4, - build: 3, - finalizeRequest: 2, - deserialize: 1 - }; - var priorityWeights = { - high: 3, - normal: 2, - low: 1 - }; - } -}); - -// ../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js -var require_dist_cjs30 = __commonJS({ - "../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_MiddlewareStack(), exports); - } -}); - -// ../../../node_modules/@smithy/smithy-client/dist-cjs/client.js -var require_client3 = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/client.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.Client = void 0; - var middleware_stack_1 = require_dist_cjs30(); - var Client = class { - constructor(config) { - this.middlewareStack = (0, middleware_stack_1.constructStack)(); - this.config = config; + exports.AdaptiveRetryStrategy = void 0; + var config_1 = require_config3(); + var DefaultRateLimiter_1 = require_DefaultRateLimiter(); + var StandardRetryStrategy_1 = require_StandardRetryStrategy(); + var AdaptiveRetryStrategy = class { + constructor(maxAttemptsProvider, options) { + this.maxAttemptsProvider = maxAttemptsProvider; + this.mode = config_1.RETRY_MODES.ADAPTIVE; + const { rateLimiter } = options !== null && options !== void 0 ? options : {}; + this.rateLimiter = rateLimiter !== null && rateLimiter !== void 0 ? rateLimiter : new DefaultRateLimiter_1.DefaultRateLimiter(); + this.standardRetryStrategy = new StandardRetryStrategy_1.StandardRetryStrategy(maxAttemptsProvider); } - send(command, optionsOrCb, cb) { - const options = typeof optionsOrCb !== "function" ? optionsOrCb : void 0; - const callback = typeof optionsOrCb === "function" ? optionsOrCb : cb; - const handler2 = command.resolveMiddleware(this.middlewareStack, this.config, options); - if (callback) { - handler2(command).then((result) => callback(null, result.output), (err) => callback(err)).catch(() => { - }); - } else { - return handler2(command).then((result) => result.output); - } + async acquireInitialRetryToken(retryTokenScope) { + await this.rateLimiter.getSendToken(); + return this.standardRetryStrategy.acquireInitialRetryToken(retryTokenScope); } - destroy() { - if (this.config.requestHandler.destroy) - this.config.requestHandler.destroy(); + async refreshRetryTokenForRetry(tokenToRenew, errorInfo) { + this.rateLimiter.updateClientSendingRate(errorInfo); + return this.standardRetryStrategy.refreshRetryTokenForRetry(tokenToRenew, errorInfo); + } + recordSuccess(token) { + this.rateLimiter.updateClientSendingRate({}); + this.standardRetryStrategy.recordSuccess(token); } }; - exports.Client = Client; + exports.AdaptiveRetryStrategy = AdaptiveRetryStrategy; } }); -// ../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js -var require_fromBase64 = __commonJS({ - "../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js"(exports) { +// ../../../node_modules/@smithy/util-retry/dist-cjs/ConfiguredRetryStrategy.js +var require_ConfiguredRetryStrategy = __commonJS({ + "../../../node_modules/@smithy/util-retry/dist-cjs/ConfiguredRetryStrategy.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromBase64 = void 0; - var util_buffer_from_1 = require_dist_cjs12(); - var BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/; - var fromBase64 = (input) => { - if (input.length * 3 % 4 !== 0) { - throw new TypeError(`Incorrect padding on base64 string.`); + exports.ConfiguredRetryStrategy = void 0; + var constants_1 = require_constants4(); + var StandardRetryStrategy_1 = require_StandardRetryStrategy(); + var ConfiguredRetryStrategy = class extends StandardRetryStrategy_1.StandardRetryStrategy { + constructor(maxAttempts, computeNextBackoffDelay = constants_1.DEFAULT_RETRY_DELAY_BASE) { + super(typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts); + if (typeof computeNextBackoffDelay === "number") { + this.computeNextBackoffDelay = () => computeNextBackoffDelay; + } else { + this.computeNextBackoffDelay = computeNextBackoffDelay; + } } - if (!BASE64_REGEX.exec(input)) { - throw new TypeError(`Invalid base64 string.`); + async refreshRetryTokenForRetry(tokenToRenew, errorInfo) { + const token = await super.refreshRetryTokenForRetry(tokenToRenew, errorInfo); + token.getRetryDelay = () => this.computeNextBackoffDelay(token.getRetryCount()); + return token; } - const buffer = (0, util_buffer_from_1.fromString)(input, "base64"); - return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength); }; - exports.fromBase64 = fromBase64; + exports.ConfiguredRetryStrategy = ConfiguredRetryStrategy; } }); -// ../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js -var require_toBase64 = __commonJS({ - "../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js"(exports) { +// ../../../node_modules/@smithy/util-retry/dist-cjs/types.js +var require_types5 = __commonJS({ + "../../../node_modules/@smithy/util-retry/dist-cjs/types.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.toBase64 = void 0; - var util_buffer_from_1 = require_dist_cjs12(); - var toBase64 = (input) => (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("base64"); - exports.toBase64 = toBase64; } }); -// ../../../node_modules/@smithy/util-base64/dist-cjs/index.js -var require_dist_cjs31 = __commonJS({ - "../../../node_modules/@smithy/util-base64/dist-cjs/index.js"(exports) { +// ../../../node_modules/@smithy/util-retry/dist-cjs/index.js +var require_dist_cjs30 = __commonJS({ + "../../../node_modules/@smithy/util-retry/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_fromBase64(), exports); - tslib_1.__exportStar(require_toBase64(), exports); + tslib_1.__exportStar(require_AdaptiveRetryStrategy(), exports); + tslib_1.__exportStar(require_ConfiguredRetryStrategy(), exports); + tslib_1.__exportStar(require_DefaultRateLimiter(), exports); + tslib_1.__exportStar(require_StandardRetryStrategy(), exports); + tslib_1.__exportStar(require_config3(), exports); + tslib_1.__exportStar(require_constants4(), exports); + tslib_1.__exportStar(require_types5(), exports); } }); -// ../../../node_modules/@smithy/util-stream/dist-cjs/blob/transforms.js -var require_transforms = __commonJS({ - "../../../node_modules/@smithy/util-stream/dist-cjs/blob/transforms.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.transformFromString = exports.transformToString = void 0; - var util_base64_1 = require_dist_cjs31(); - var util_utf8_1 = require_dist_cjs13(); - var Uint8ArrayBlobAdapter_1 = require_Uint8ArrayBlobAdapter(); - function transformToString(payload, encoding = "utf-8") { - if (encoding === "base64") { - return (0, util_base64_1.toBase64)(payload); - } - return (0, util_utf8_1.toUtf8)(payload); - } - exports.transformToString = transformToString; - function transformFromString(str, encoding) { - if (encoding === "base64") { - return Uint8ArrayBlobAdapter_1.Uint8ArrayBlobAdapter.mutate((0, util_base64_1.fromBase64)(str)); - } - return Uint8ArrayBlobAdapter_1.Uint8ArrayBlobAdapter.mutate((0, util_utf8_1.fromUtf8)(str)); - } - exports.transformFromString = transformFromString; +// ../../../node_modules/uuid/dist/esm-node/rng.js +function rng() { + if (poolPtr > rnds8Pool.length - 16) { + import_crypto.default.randomFillSync(rnds8Pool); + poolPtr = 0; } -}); - -// ../../../node_modules/@smithy/util-stream/dist-cjs/blob/Uint8ArrayBlobAdapter.js -var require_Uint8ArrayBlobAdapter = __commonJS({ - "../../../node_modules/@smithy/util-stream/dist-cjs/blob/Uint8ArrayBlobAdapter.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.Uint8ArrayBlobAdapter = void 0; - var transforms_1 = require_transforms(); - var Uint8ArrayBlobAdapter = class _Uint8ArrayBlobAdapter extends Uint8Array { - static fromString(source, encoding = "utf-8") { - switch (typeof source) { - case "string": - return (0, transforms_1.transformFromString)(source, encoding); - default: - throw new Error(`Unsupported conversion from ${typeof source} to Uint8ArrayBlobAdapter.`); - } - } - static mutate(source) { - Object.setPrototypeOf(source, _Uint8ArrayBlobAdapter.prototype); - return source; - } - transformToString(encoding = "utf-8") { - return (0, transforms_1.transformToString)(this, encoding); - } - }; - exports.Uint8ArrayBlobAdapter = Uint8ArrayBlobAdapter; + return rnds8Pool.slice(poolPtr, poolPtr += 16); +} +var import_crypto, rnds8Pool, poolPtr; +var init_rng = __esm({ + "../../../node_modules/uuid/dist/esm-node/rng.js"() { + import_crypto = __toESM(require("crypto")); + rnds8Pool = new Uint8Array(256); + poolPtr = rnds8Pool.length; } }); -// ../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js -var require_getAwsChunkedEncodingStream = __commonJS({ - "../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getAwsChunkedEncodingStream = void 0; - var stream_1 = require("stream"); - var getAwsChunkedEncodingStream = (readableStream, options) => { - const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options; - const checksumRequired = base64Encoder !== void 0 && checksumAlgorithmFn !== void 0 && checksumLocationName !== void 0 && streamHasher !== void 0; - const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : void 0; - const awsChunkedEncodingStream = new stream_1.Readable({ read: () => { - } }); - readableStream.on("data", (data) => { - const length = bodyLengthChecker(data) || 0; - awsChunkedEncodingStream.push(`${length.toString(16)}\r -`); - awsChunkedEncodingStream.push(data); - awsChunkedEncodingStream.push("\r\n"); - }); - readableStream.on("end", async () => { - awsChunkedEncodingStream.push(`0\r -`); - if (checksumRequired) { - const checksum = base64Encoder(await digest); - awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r -`); - awsChunkedEncodingStream.push(`\r -`); - } - awsChunkedEncodingStream.push(null); - }); - return awsChunkedEncodingStream; - }; - exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream; +// ../../../node_modules/uuid/dist/esm-node/regex.js +var regex_default; +var init_regex = __esm({ + "../../../node_modules/uuid/dist/esm-node/regex.js"() { + regex_default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; } }); -// ../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js -var require_dist_cjs32 = __commonJS({ - "../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.buildQueryString = void 0; - var util_uri_escape_1 = require_dist_cjs14(); - 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); - 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])}`); - } - } else { - let qsEntry = key; - if (value || typeof value === "string") { - qsEntry += `=${(0, util_uri_escape_1.escapeUri)(value)}`; - } - parts.push(qsEntry); - } - } - return parts.join("&"); - } - exports.buildQueryString = buildQueryString; +// ../../../node_modules/uuid/dist/esm-node/validate.js +function validate(uuid) { + return typeof uuid === "string" && regex_default.test(uuid); +} +var validate_default; +var init_validate = __esm({ + "../../../node_modules/uuid/dist/esm-node/validate.js"() { + init_regex(); + validate_default = validate; } }); -// ../../../node_modules/@smithy/node-http-handler/dist-cjs/constants.js -var require_constants5 = __commonJS({ - "../../../node_modules/@smithy/node-http-handler/dist-cjs/constants.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.NODEJS_TIMEOUT_ERROR_CODES = void 0; - exports.NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"]; +// ../../../node_modules/uuid/dist/esm-node/stringify.js +function stringify(arr, offset = 0) { + const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); + if (!validate_default(uuid)) { + throw TypeError("Stringified UUID is invalid"); + } + return uuid; +} +var byteToHex, stringify_default; +var init_stringify = __esm({ + "../../../node_modules/uuid/dist/esm-node/stringify.js"() { + init_validate(); + byteToHex = []; + for (let i = 0; i < 256; ++i) { + byteToHex.push((i + 256).toString(16).substr(1)); + } + stringify_default = stringify; } }); -// ../../../node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js -var require_get_transformed_headers = __commonJS({ - "../../../node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getTransformedHeaders = void 0; - var getTransformedHeaders = (headers) => { - const transformedHeaders = {}; - for (const name of Object.keys(headers)) { - const headerValues = headers[name]; - transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues; - } - return transformedHeaders; - }; - exports.getTransformedHeaders = getTransformedHeaders; +// ../../../node_modules/uuid/dist/esm-node/v1.js +function v1(options, buf, offset) { + let i = buf && offset || 0; + const b = buf || new Array(16); + options = options || {}; + let node = options.node || _nodeId; + let clockseq = options.clockseq !== void 0 ? options.clockseq : _clockseq; + if (node == null || clockseq == null) { + const seedBytes = options.random || (options.rng || rng)(); + if (node == null) { + node = _nodeId = [seedBytes[0] | 1, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]]; + } + if (clockseq == null) { + clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 16383; + } + } + let msecs = options.msecs !== void 0 ? options.msecs : Date.now(); + let nsecs = options.nsecs !== void 0 ? options.nsecs : _lastNSecs + 1; + const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 1e4; + if (dt < 0 && options.clockseq === void 0) { + clockseq = clockseq + 1 & 16383; + } + if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === void 0) { + nsecs = 0; + } + if (nsecs >= 1e4) { + throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); + } + _lastMSecs = msecs; + _lastNSecs = nsecs; + _clockseq = clockseq; + msecs += 122192928e5; + const tl = ((msecs & 268435455) * 1e4 + nsecs) % 4294967296; + b[i++] = tl >>> 24 & 255; + b[i++] = tl >>> 16 & 255; + b[i++] = tl >>> 8 & 255; + b[i++] = tl & 255; + const tmh = msecs / 4294967296 * 1e4 & 268435455; + b[i++] = tmh >>> 8 & 255; + b[i++] = tmh & 255; + b[i++] = tmh >>> 24 & 15 | 16; + b[i++] = tmh >>> 16 & 255; + b[i++] = clockseq >>> 8 | 128; + b[i++] = clockseq & 255; + for (let n = 0; n < 6; ++n) { + b[i + n] = node[n]; + } + return buf || stringify_default(b); +} +var _nodeId, _clockseq, _lastMSecs, _lastNSecs, v1_default; +var init_v1 = __esm({ + "../../../node_modules/uuid/dist/esm-node/v1.js"() { + init_rng(); + init_stringify(); + _lastMSecs = 0; + _lastNSecs = 0; + v1_default = v1; } }); -// ../../../node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js -var require_set_connection_timeout = __commonJS({ - "../../../node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.setConnectionTimeout = void 0; - var setConnectionTimeout = (request2, reject, timeoutInMs = 0) => { - if (!timeoutInMs) { - return; - } - const timeoutId = setTimeout(() => { - request2.destroy(); - reject(Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), { - name: "TimeoutError" - })); - }, timeoutInMs); - request2.on("socket", (socket) => { - if (socket.connecting) { - socket.on("connect", () => { - clearTimeout(timeoutId); - }); - } else { - clearTimeout(timeoutId); - } - }); - }; - exports.setConnectionTimeout = setConnectionTimeout; +// ../../../node_modules/uuid/dist/esm-node/parse.js +function parse(uuid) { + if (!validate_default(uuid)) { + throw TypeError("Invalid UUID"); + } + let v; + const arr = new Uint8Array(16); + arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24; + arr[1] = v >>> 16 & 255; + arr[2] = v >>> 8 & 255; + arr[3] = v & 255; + arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8; + arr[5] = v & 255; + arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8; + arr[7] = v & 255; + arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8; + arr[9] = v & 255; + arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 1099511627776 & 255; + arr[11] = v / 4294967296 & 255; + arr[12] = v >>> 24 & 255; + arr[13] = v >>> 16 & 255; + arr[14] = v >>> 8 & 255; + arr[15] = v & 255; + return arr; +} +var parse_default; +var init_parse = __esm({ + "../../../node_modules/uuid/dist/esm-node/parse.js"() { + init_validate(); + parse_default = parse; } }); -// ../../../node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js -var require_set_socket_keep_alive = __commonJS({ - "../../../node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.setSocketKeepAlive = void 0; - var setSocketKeepAlive = (request2, { keepAlive, keepAliveMsecs }) => { - if (keepAlive !== true) { - return; +// ../../../node_modules/uuid/dist/esm-node/v35.js +function stringToBytes(str) { + str = unescape(encodeURIComponent(str)); + const bytes = []; + for (let i = 0; i < str.length; ++i) { + bytes.push(str.charCodeAt(i)); + } + return bytes; +} +function v35_default(name, version2, hashfunc) { + function generateUUID(value, namespace, buf, offset) { + if (typeof value === "string") { + value = stringToBytes(value); + } + if (typeof namespace === "string") { + namespace = parse_default(namespace); + } + if (namespace.length !== 16) { + throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)"); + } + let bytes = new Uint8Array(16 + value.length); + bytes.set(namespace); + bytes.set(value, namespace.length); + bytes = hashfunc(bytes); + bytes[6] = bytes[6] & 15 | version2; + bytes[8] = bytes[8] & 63 | 128; + if (buf) { + offset = offset || 0; + for (let i = 0; i < 16; ++i) { + buf[offset + i] = bytes[i]; } - request2.on("socket", (socket) => { - socket.setKeepAlive(keepAlive, keepAliveMsecs || 0); - }); - }; - exports.setSocketKeepAlive = setSocketKeepAlive; + return buf; + } + return stringify_default(bytes); + } + try { + generateUUID.name = name; + } catch (err) { + } + generateUUID.DNS = DNS; + generateUUID.URL = URL2; + return generateUUID; +} +var DNS, URL2; +var init_v35 = __esm({ + "../../../node_modules/uuid/dist/esm-node/v35.js"() { + init_stringify(); + init_parse(); + DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8"; + URL2 = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"; } }); -// ../../../node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js -var require_set_socket_timeout = __commonJS({ - "../../../node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.setSocketTimeout = void 0; - var setSocketTimeout = (request2, reject, timeoutInMs = 0) => { - request2.setTimeout(timeoutInMs, () => { - request2.destroy(); - reject(Object.assign(new Error(`Connection timed out after ${timeoutInMs} ms`), { name: "TimeoutError" })); +// ../../../node_modules/uuid/dist/esm-node/md5.js +function md5(bytes) { + if (Array.isArray(bytes)) { + bytes = Buffer.from(bytes); + } else if (typeof bytes === "string") { + bytes = Buffer.from(bytes, "utf8"); + } + return import_crypto2.default.createHash("md5").update(bytes).digest(); +} +var import_crypto2, md5_default; +var init_md5 = __esm({ + "../../../node_modules/uuid/dist/esm-node/md5.js"() { + import_crypto2 = __toESM(require("crypto")); + md5_default = md5; + } +}); + +// ../../../node_modules/uuid/dist/esm-node/v3.js +var v3, v3_default; +var init_v3 = __esm({ + "../../../node_modules/uuid/dist/esm-node/v3.js"() { + init_v35(); + init_md5(); + v3 = v35_default("v3", 48, md5_default); + v3_default = v3; + } +}); + +// ../../../node_modules/uuid/dist/esm-node/v4.js +function v4(options, buf, offset) { + options = options || {}; + const rnds = options.random || (options.rng || rng)(); + rnds[6] = rnds[6] & 15 | 64; + rnds[8] = rnds[8] & 63 | 128; + if (buf) { + offset = offset || 0; + for (let i = 0; i < 16; ++i) { + buf[offset + i] = rnds[i]; + } + return buf; + } + return stringify_default(rnds); +} +var v4_default; +var init_v4 = __esm({ + "../../../node_modules/uuid/dist/esm-node/v4.js"() { + init_rng(); + init_stringify(); + v4_default = v4; + } +}); + +// ../../../node_modules/uuid/dist/esm-node/sha1.js +function sha1(bytes) { + if (Array.isArray(bytes)) { + bytes = Buffer.from(bytes); + } else if (typeof bytes === "string") { + bytes = Buffer.from(bytes, "utf8"); + } + return import_crypto3.default.createHash("sha1").update(bytes).digest(); +} +var import_crypto3, sha1_default; +var init_sha1 = __esm({ + "../../../node_modules/uuid/dist/esm-node/sha1.js"() { + import_crypto3 = __toESM(require("crypto")); + sha1_default = sha1; + } +}); + +// ../../../node_modules/uuid/dist/esm-node/v5.js +var v5, v5_default; +var init_v5 = __esm({ + "../../../node_modules/uuid/dist/esm-node/v5.js"() { + init_v35(); + init_sha1(); + v5 = v35_default("v5", 80, sha1_default); + v5_default = v5; + } +}); + +// ../../../node_modules/uuid/dist/esm-node/nil.js +var nil_default; +var init_nil = __esm({ + "../../../node_modules/uuid/dist/esm-node/nil.js"() { + nil_default = "00000000-0000-0000-0000-000000000000"; + } +}); + +// ../../../node_modules/uuid/dist/esm-node/version.js +function version(uuid) { + if (!validate_default(uuid)) { + throw TypeError("Invalid UUID"); + } + return parseInt(uuid.substr(14, 1), 16); +} +var version_default; +var init_version = __esm({ + "../../../node_modules/uuid/dist/esm-node/version.js"() { + init_validate(); + version_default = version; + } +}); + +// ../../../node_modules/uuid/dist/esm-node/index.js +var esm_node_exports = {}; +__export(esm_node_exports, { + NIL: () => nil_default, + parse: () => parse_default, + stringify: () => stringify_default, + v1: () => v1_default, + v3: () => v3_default, + v4: () => v4_default, + v5: () => v5_default, + validate: () => validate_default, + version: () => version_default +}); +var init_esm_node = __esm({ + "../../../node_modules/uuid/dist/esm-node/index.js"() { + init_v1(); + init_v3(); + init_v4(); + init_v5(); + init_nil(); + init_version(); + init_validate(); + init_stringify(); + init_parse(); + } +}); + +// ../../../node_modules/@smithy/middleware-retry/dist-cjs/defaultRetryQuota.js +var require_defaultRetryQuota = __commonJS({ + "../../../node_modules/@smithy/middleware-retry/dist-cjs/defaultRetryQuota.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getDefaultRetryQuota = void 0; + var util_retry_1 = require_dist_cjs30(); + var getDefaultRetryQuota = (initialRetryTokens, options) => { + var _a, _b, _c; + const MAX_CAPACITY = initialRetryTokens; + const noRetryIncrement = (_a = options === null || options === void 0 ? void 0 : options.noRetryIncrement) !== null && _a !== void 0 ? _a : util_retry_1.NO_RETRY_INCREMENT; + const retryCost = (_b = options === null || options === void 0 ? void 0 : options.retryCost) !== null && _b !== void 0 ? _b : util_retry_1.RETRY_COST; + const timeoutRetryCost = (_c = options === null || options === void 0 ? void 0 : options.timeoutRetryCost) !== null && _c !== void 0 ? _c : util_retry_1.TIMEOUT_RETRY_COST; + let availableCapacity = initialRetryTokens; + const getCapacityAmount = (error) => error.name === "TimeoutError" ? timeoutRetryCost : retryCost; + const hasRetryTokens = (error) => getCapacityAmount(error) <= availableCapacity; + const retrieveRetryTokens = (error) => { + if (!hasRetryTokens(error)) { + throw new Error("No retry token available"); + } + const capacityAmount = getCapacityAmount(error); + availableCapacity -= capacityAmount; + return capacityAmount; + }; + const releaseRetryTokens = (capacityReleaseAmount) => { + availableCapacity += capacityReleaseAmount !== null && capacityReleaseAmount !== void 0 ? capacityReleaseAmount : noRetryIncrement; + availableCapacity = Math.min(availableCapacity, MAX_CAPACITY); + }; + return Object.freeze({ + hasRetryTokens, + retrieveRetryTokens, + releaseRetryTokens }); }; - exports.setSocketTimeout = setSocketTimeout; + exports.getDefaultRetryQuota = getDefaultRetryQuota; } }); -// ../../../node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js -var require_write_request_body = __commonJS({ - "../../../node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js"(exports) { +// ../../../node_modules/@smithy/middleware-retry/dist-cjs/delayDecider.js +var require_delayDecider = __commonJS({ + "../../../node_modules/@smithy/middleware-retry/dist-cjs/delayDecider.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.writeRequestBody = void 0; - var stream_1 = require("stream"); - var MIN_WAIT_TIME = 1e3; - async function writeRequestBody(httpRequest, request2, maxContinueTimeoutMs = MIN_WAIT_TIME) { - var _a; - const headers = (_a = request2.headers) !== null && _a !== void 0 ? _a : {}; - const expect = headers["Expect"] || headers["expect"]; - let timeoutId = -1; - let hasError = false; - if (expect === "100-continue") { - await Promise.race([ - new Promise((resolve) => { - timeoutId = Number(setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs))); - }), - new Promise((resolve) => { - httpRequest.on("continue", () => { - clearTimeout(timeoutId); - resolve(); - }); - httpRequest.on("error", () => { - hasError = true; - clearTimeout(timeoutId); - resolve(); - }); - }) - ]); - } - if (!hasError) { - writeBody(httpRequest, request2.body); - } - } - exports.writeRequestBody = writeRequestBody; - function writeBody(httpRequest, body) { - if (body instanceof stream_1.Readable) { - body.pipe(httpRequest); - } else if (body) { - httpRequest.end(Buffer.from(body)); - } else { - httpRequest.end(); + exports.defaultDelayDecider = void 0; + var util_retry_1 = require_dist_cjs30(); + var defaultDelayDecider = (delayBase, attempts) => Math.floor(Math.min(util_retry_1.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase)); + exports.defaultDelayDecider = defaultDelayDecider; + } +}); + +// ../../../node_modules/@smithy/middleware-retry/dist-cjs/retryDecider.js +var require_retryDecider = __commonJS({ + "../../../node_modules/@smithy/middleware-retry/dist-cjs/retryDecider.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.defaultRetryDecider = void 0; + var service_error_classification_1 = require_dist_cjs29(); + var 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); + }; + exports.defaultRetryDecider = defaultRetryDecider; } }); -// ../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js -var require_node_http_handler = __commonJS({ - "../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js"(exports) { +// ../../../node_modules/@smithy/middleware-retry/dist-cjs/util.js +var require_util3 = __commonJS({ + "../../../node_modules/@smithy/middleware-retry/dist-cjs/util.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.NodeHttpHandler = exports.DEFAULT_REQUEST_TIMEOUT = void 0; + exports.asSdkError = void 0; + var asSdkError = (error) => { + if (error instanceof Error) + return error; + if (error instanceof Object) + return Object.assign(new Error(), error); + if (typeof error === "string") + return new Error(error); + return new Error(`AWS SDK error wrapper for ${error}`); + }; + exports.asSdkError = asSdkError; + } +}); + +// ../../../node_modules/@smithy/middleware-retry/dist-cjs/StandardRetryStrategy.js +var require_StandardRetryStrategy2 = __commonJS({ + "../../../node_modules/@smithy/middleware-retry/dist-cjs/StandardRetryStrategy.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.StandardRetryStrategy = void 0; var protocol_http_1 = require_dist_cjs2(); - var querystring_builder_1 = require_dist_cjs32(); - var http_1 = require("http"); - var https_1 = require("https"); - var constants_1 = require_constants5(); - var get_transformed_headers_1 = require_get_transformed_headers(); - var set_connection_timeout_1 = require_set_connection_timeout(); - var set_socket_keep_alive_1 = require_set_socket_keep_alive(); - var set_socket_timeout_1 = require_set_socket_timeout(); - var write_request_body_1 = require_write_request_body(); - exports.DEFAULT_REQUEST_TIMEOUT = 0; - var NodeHttpHandler = class { - constructor(options) { - this.metadata = { handlerProtocol: "http/1.1" }; - this.configProvider = new Promise((resolve, reject) => { - if (typeof options === "function") { - options().then((_options) => { - resolve(this.resolveDefaultConfig(_options)); - }).catch(reject); - } else { - resolve(this.resolveDefaultConfig(options)); - } - }); - } - resolveDefaultConfig(options) { - const { requestTimeout, connectionTimeout, socketTimeout, httpAgent, httpsAgent } = options || {}; - const keepAlive = true; - const maxSockets = 50; - return { - connectionTimeout, - requestTimeout: requestTimeout !== null && requestTimeout !== void 0 ? requestTimeout : socketTimeout, - httpAgent: httpAgent || new http_1.Agent({ keepAlive, maxSockets }), - httpsAgent: httpsAgent || new https_1.Agent({ keepAlive, maxSockets }) - }; + var service_error_classification_1 = require_dist_cjs29(); + var util_retry_1 = require_dist_cjs30(); + var uuid_1 = (init_esm_node(), __toCommonJS(esm_node_exports)); + var defaultRetryQuota_1 = require_defaultRetryQuota(); + var delayDecider_1 = require_delayDecider(); + var retryDecider_1 = require_retryDecider(); + var util_1 = require_util3(); + var StandardRetryStrategy = class { + constructor(maxAttemptsProvider, options) { + var _a, _b, _c; + this.maxAttemptsProvider = maxAttemptsProvider; + this.mode = util_retry_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)(util_retry_1.INITIAL_RETRY_TOKENS); } - destroy() { - var _a, _b, _c, _d; - (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.httpAgent) === null || _b === void 0 ? void 0 : _b.destroy(); - (_d = (_c = this.config) === null || _c === void 0 ? void 0 : _c.httpsAgent) === null || _d === void 0 ? void 0 : _d.destroy(); + shouldRetry(error, attempts, maxAttempts) { + return attempts < maxAttempts && this.retryDecider(error) && this.retryQuota.hasRetryTokens(error); } - async handle(request2, { abortSignal } = {}) { - if (!this.config) { - this.config = await this.configProvider; + async getMaxAttempts() { + let maxAttempts; + try { + maxAttempts = await this.maxAttemptsProvider(); + } catch (error) { + maxAttempts = util_retry_1.DEFAULT_MAX_ATTEMPTS; } - return new Promise((_resolve, _reject) => { - var _a, _b; - let writeRequestBodyPromise = void 0; - const resolve = async (arg) => { - await writeRequestBodyPromise; - _resolve(arg); - }; - const reject = async (arg) => { - await writeRequestBodyPromise; - _reject(arg); - }; - if (!this.config) { - throw new Error("Node HTTP request handler config is not resolved"); - } - if (abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.aborted) { - const abortError = new Error("Request aborted"); - abortError.name = "AbortError"; - reject(abortError); - return; - } - const isSSL = request2.protocol === "https:"; - const queryString = (0, querystring_builder_1.buildQueryString)(request2.query || {}); - let auth = void 0; - if (request2.username != null || request2.password != null) { - const username = (_a = request2.username) !== null && _a !== void 0 ? _a : ""; - const password = (_b = request2.password) !== null && _b !== void 0 ? _b : ""; - auth = `${username}:${password}`; - } - let path = request2.path; - if (queryString) { - path += `?${queryString}`; - } - if (request2.fragment) { - path += `#${request2.fragment}`; - } - const nodeHttpsOptions = { - headers: request2.headers, - host: request2.hostname, - method: request2.method, - path, - port: request2.port, - agent: isSSL ? this.config.httpsAgent : this.config.httpAgent, - auth - }; - const requestFunc = isSSL ? https_1.request : http_1.request; - const req = requestFunc(nodeHttpsOptions, (res) => { - const httpResponse = new protocol_http_1.HttpResponse({ - statusCode: res.statusCode || -1, - reason: res.statusMessage, - headers: (0, get_transformed_headers_1.getTransformedHeaders)(res.headers), - body: res - }); - resolve({ response: httpResponse }); - }); - req.on("error", (err) => { - if (constants_1.NODEJS_TIMEOUT_ERROR_CODES.includes(err.code)) { - reject(Object.assign(err, { name: "TimeoutError" })); - } else { - reject(err); - } - }); - (0, set_connection_timeout_1.setConnectionTimeout)(req, reject, this.config.connectionTimeout); - (0, set_socket_timeout_1.setSocketTimeout)(req, reject, this.config.requestTimeout); - if (abortSignal) { - abortSignal.onabort = () => { - req.abort(); - const abortError = new Error("Request aborted"); - abortError.name = "AbortError"; - reject(abortError); - }; - } - const httpAgent = nodeHttpsOptions.agent; - if (typeof httpAgent === "object" && "keepAlive" in httpAgent) { - (0, set_socket_keep_alive_1.setSocketKeepAlive)(req, { - keepAlive: httpAgent.keepAlive, - keepAliveMsecs: httpAgent.keepAliveMsecs - }); - } - writeRequestBodyPromise = (0, write_request_body_1.writeRequestBody)(req, request2, this.config.requestTimeout).catch(_reject); - }); - } - updateHttpClientConfig(key, value) { - this.config = void 0; - this.configProvider = this.configProvider.then((config) => { - return { - ...config, - [key]: value - }; - }); - } - httpHandlerConfigs() { - var _a; - return (_a = this.config) !== null && _a !== void 0 ? _a : {}; - } - }; - exports.NodeHttpHandler = NodeHttpHandler; - } -}); - -// ../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js -var require_node_http2_connection_pool = __commonJS({ - "../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.NodeHttp2ConnectionPool = void 0; - var NodeHttp2ConnectionPool = class { - constructor(sessions) { - this.sessions = []; - this.sessions = sessions !== null && sessions !== void 0 ? sessions : []; + return maxAttempts; } - poll() { - if (this.sessions.length > 0) { - return this.sessions.shift(); + async retry(next, args, options) { + let retryTokenAmount; + let attempts = 0; + let totalDelay = 0; + const maxAttempts = await this.getMaxAttempts(); + const { request: request2 } = args; + if (protocol_http_1.HttpRequest.isInstance(request2)) { + request2.headers[util_retry_1.INVOCATION_ID_HEADER] = (0, uuid_1.v4)(); } - } - offerLast(session) { - this.sessions.push(session); - } - contains(session) { - return this.sessions.includes(session); - } - remove(session) { - this.sessions = this.sessions.filter((s) => s !== session); - } - [Symbol.iterator]() { - return this.sessions[Symbol.iterator](); - } - destroy(connection) { - for (const session of this.sessions) { - if (session === connection) { - if (!session.destroyed) { - session.destroy(); + while (true) { + try { + if (protocol_http_1.HttpRequest.isInstance(request2)) { + request2.headers[util_retry_1.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`; + } + if (options === null || options === void 0 ? void 0 : options.beforeRequest) { + await options.beforeRequest(); + } + const { response, output } = await next(args); + if (options === null || options === void 0 ? void 0 : options.afterRequest) { + options.afterRequest(response); + } + this.retryQuota.releaseRetryTokens(retryTokenAmount); + output.$metadata.attempts = attempts + 1; + output.$metadata.totalRetryDelay = totalDelay; + return { response, output }; + } catch (e) { + const err = (0, util_1.asSdkError)(e); + attempts++; + if (this.shouldRetry(err, attempts, maxAttempts)) { + retryTokenAmount = this.retryQuota.retrieveRetryTokens(err); + const delayFromDecider = this.delayDecider((0, service_error_classification_1.isThrottlingError)(err) ? util_retry_1.THROTTLING_RETRY_DELAY_BASE : util_retry_1.DEFAULT_RETRY_DELAY_BASE, attempts); + const delayFromResponse = getDelayFromRetryAfterHeader(err.$response); + const delay = Math.max(delayFromResponse || 0, delayFromDecider); + totalDelay += delay; + await new Promise((resolve) => setTimeout(resolve, delay)); + continue; + } + if (!err.$metadata) { + err.$metadata = {}; } + err.$metadata.attempts = attempts; + err.$metadata.totalRetryDelay = totalDelay; + throw err; } } } }; - exports.NodeHttp2ConnectionPool = NodeHttp2ConnectionPool; + exports.StandardRetryStrategy = StandardRetryStrategy; + var getDelayFromRetryAfterHeader = (response) => { + if (!protocol_http_1.HttpResponse.isInstance(response)) + return; + const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after"); + if (!retryAfterHeaderName) + return; + const retryAfter = response.headers[retryAfterHeaderName]; + const retryAfterSeconds = Number(retryAfter); + if (!Number.isNaN(retryAfterSeconds)) + return retryAfterSeconds * 1e3; + const retryAfterDate = new Date(retryAfter); + return retryAfterDate.getTime() - Date.now(); + }; } }); -// ../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js -var require_node_http2_connection_manager = __commonJS({ - "../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js"(exports) { +// ../../../node_modules/@smithy/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js +var require_AdaptiveRetryStrategy2 = __commonJS({ + "../../../node_modules/@smithy/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.NodeHttp2ConnectionManager = void 0; - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - var http2_1 = tslib_1.__importDefault(require("http2")); - var node_http2_connection_pool_1 = require_node_http2_connection_pool(); - var NodeHttp2ConnectionManager = class { - constructor(config) { - this.sessionCache = /* @__PURE__ */ new Map(); - this.config = config; - if (this.config.maxConcurrency && this.config.maxConcurrency <= 0) { - throw new RangeError("maxConcurrency must be greater than zero."); - } + exports.AdaptiveRetryStrategy = void 0; + var util_retry_1 = require_dist_cjs30(); + var StandardRetryStrategy_1 = require_StandardRetryStrategy2(); + var AdaptiveRetryStrategy = class extends StandardRetryStrategy_1.StandardRetryStrategy { + constructor(maxAttemptsProvider, options) { + const { rateLimiter, ...superOptions } = options !== null && options !== void 0 ? options : {}; + super(maxAttemptsProvider, superOptions); + this.rateLimiter = rateLimiter !== null && rateLimiter !== void 0 ? rateLimiter : new util_retry_1.DefaultRateLimiter(); + this.mode = util_retry_1.RETRY_MODES.ADAPTIVE; } - lease(requestContext, connectionConfiguration) { - const url2 = this.getUrlString(requestContext); - const existingPool = this.sessionCache.get(url2); - if (existingPool) { - const existingSession = existingPool.poll(); - if (existingSession && !this.config.disableConcurrency) { - return existingSession; + async retry(next, args) { + return super.retry(next, args, { + beforeRequest: async () => { + return this.rateLimiter.getSendToken(); + }, + afterRequest: (response) => { + this.rateLimiter.updateClientSendingRate(response); } - } - const session = http2_1.default.connect(url2); - if (this.config.maxConcurrency) { - session.settings({ maxConcurrentStreams: this.config.maxConcurrency }, (err) => { - if (err) { - throw new Error("Fail to set maxConcurrentStreams to " + this.config.maxConcurrency + "when creating new session for " + requestContext.destination.toString()); - } - }); - } - session.unref(); - const destroySessionCb = () => { - session.destroy(); - this.deleteSession(url2, session); - }; - session.on("goaway", destroySessionCb); - session.on("error", destroySessionCb); - session.on("frameError", destroySessionCb); - session.on("close", () => this.deleteSession(url2, session)); - if (connectionConfiguration.requestTimeout) { - session.setTimeout(connectionConfiguration.requestTimeout, destroySessionCb); - } - const connectionPool = this.sessionCache.get(url2) || new node_http2_connection_pool_1.NodeHttp2ConnectionPool(); - connectionPool.offerLast(session); - this.sessionCache.set(url2, connectionPool); - return session; + }); } - deleteSession(authority, session) { - const existingConnectionPool = this.sessionCache.get(authority); - if (!existingConnectionPool) { - return; + }; + exports.AdaptiveRetryStrategy = AdaptiveRetryStrategy; + } +}); + +// ../../../node_modules/@smithy/middleware-retry/dist-cjs/configurations.js +var require_configurations2 = __commonJS({ + "../../../node_modules/@smithy/middleware-retry/dist-cjs/configurations.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.NODE_RETRY_MODE_CONFIG_OPTIONS = exports.CONFIG_RETRY_MODE = exports.ENV_RETRY_MODE = exports.resolveRetryConfig = exports.NODE_MAX_ATTEMPT_CONFIG_OPTIONS = exports.CONFIG_MAX_ATTEMPTS = exports.ENV_MAX_ATTEMPTS = void 0; + var util_middleware_1 = require_dist_cjs10(); + var util_retry_1 = require_dist_cjs30(); + exports.ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS"; + exports.CONFIG_MAX_ATTEMPTS = "max_attempts"; + exports.NODE_MAX_ATTEMPT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => { + const value = env[exports.ENV_MAX_ATTEMPTS]; + if (!value) + return void 0; + const maxAttempt = parseInt(value); + if (Number.isNaN(maxAttempt)) { + throw new Error(`Environment variable ${exports.ENV_MAX_ATTEMPTS} mast be a number, got "${value}"`); } - if (!existingConnectionPool.contains(session)) { - return; + return maxAttempt; + }, + configFileSelector: (profile) => { + const value = profile[exports.CONFIG_MAX_ATTEMPTS]; + if (!value) + return void 0; + const maxAttempt = parseInt(value); + if (Number.isNaN(maxAttempt)) { + throw new Error(`Shared config file entry ${exports.CONFIG_MAX_ATTEMPTS} mast be a number, got "${value}"`); } - existingConnectionPool.remove(session); - this.sessionCache.set(authority, existingConnectionPool); - } - release(requestContext, session) { - var _a; - const cacheKey = this.getUrlString(requestContext); - (_a = this.sessionCache.get(cacheKey)) === null || _a === void 0 ? void 0 : _a.offerLast(session); - } - destroy() { - for (const [key, connectionPool] of this.sessionCache) { - for (const session of connectionPool) { - if (!session.destroyed) { - session.destroy(); - } - connectionPool.remove(session); + return maxAttempt; + }, + default: util_retry_1.DEFAULT_MAX_ATTEMPTS + }; + var resolveRetryConfig = (input) => { + var _a; + const { retryStrategy } = input; + const maxAttempts = (0, util_middleware_1.normalizeProvider)((_a = input.maxAttempts) !== null && _a !== void 0 ? _a : util_retry_1.DEFAULT_MAX_ATTEMPTS); + return { + ...input, + maxAttempts, + retryStrategy: async () => { + if (retryStrategy) { + return retryStrategy; } - this.sessionCache.delete(key); - } - } - setMaxConcurrentStreams(maxConcurrentStreams) { - if (this.config.maxConcurrency && this.config.maxConcurrency <= 0) { - throw new RangeError("maxConcurrentStreams must be greater than zero."); + const retryMode = await (0, util_middleware_1.normalizeProvider)(input.retryMode)(); + if (retryMode === util_retry_1.RETRY_MODES.ADAPTIVE) { + return new util_retry_1.AdaptiveRetryStrategy(maxAttempts); + } + return new util_retry_1.StandardRetryStrategy(maxAttempts); } - this.config.maxConcurrency = maxConcurrentStreams; - } - setDisableConcurrentStreams(disableConcurrentStreams) { - this.config.disableConcurrency = disableConcurrentStreams; - } - getUrlString(request2) { - return request2.destination.toString(); - } + }; + }; + exports.resolveRetryConfig = resolveRetryConfig; + exports.ENV_RETRY_MODE = "AWS_RETRY_MODE"; + exports.CONFIG_RETRY_MODE = "retry_mode"; + exports.NODE_RETRY_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[exports.ENV_RETRY_MODE], + configFileSelector: (profile) => profile[exports.CONFIG_RETRY_MODE], + default: util_retry_1.DEFAULT_RETRY_MODE }; - exports.NodeHttp2ConnectionManager = NodeHttp2ConnectionManager; } }); -// ../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js -var require_node_http2_handler = __commonJS({ - "../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js"(exports) { +// ../../../node_modules/@smithy/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js +var require_omitRetryHeadersMiddleware = __commonJS({ + "../../../node_modules/@smithy/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.NodeHttp2Handler = void 0; + exports.getOmitRetryHeadersPlugin = exports.omitRetryHeadersMiddlewareOptions = exports.omitRetryHeadersMiddleware = void 0; var protocol_http_1 = require_dist_cjs2(); - var querystring_builder_1 = require_dist_cjs32(); - var http2_1 = require("http2"); - var get_transformed_headers_1 = require_get_transformed_headers(); - var node_http2_connection_manager_1 = require_node_http2_connection_manager(); - var write_request_body_1 = require_write_request_body(); - var NodeHttp2Handler = class { - constructor(options) { - this.metadata = { handlerProtocol: "h2" }; - this.connectionManager = new node_http2_connection_manager_1.NodeHttp2ConnectionManager({}); - this.configProvider = new Promise((resolve, reject) => { - if (typeof options === "function") { - options().then((opts) => { - resolve(opts || {}); - }).catch(reject); - } else { - resolve(options || {}); - } - }); + var util_retry_1 = require_dist_cjs30(); + var omitRetryHeadersMiddleware = () => (next) => async (args) => { + const { request: request2 } = args; + if (protocol_http_1.HttpRequest.isInstance(request2)) { + delete request2.headers[util_retry_1.INVOCATION_ID_HEADER]; + delete request2.headers[util_retry_1.REQUEST_HEADER]; } - destroy() { - this.connectionManager.destroy(); + return next(args); + }; + exports.omitRetryHeadersMiddleware = omitRetryHeadersMiddleware; + exports.omitRetryHeadersMiddlewareOptions = { + name: "omitRetryHeadersMiddleware", + tags: ["RETRY", "HEADERS", "OMIT_RETRY_HEADERS"], + relation: "before", + toMiddleware: "awsAuthMiddleware", + override: true + }; + var getOmitRetryHeadersPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo((0, exports.omitRetryHeadersMiddleware)(), exports.omitRetryHeadersMiddlewareOptions); } - async handle(request2, { abortSignal } = {}) { - if (!this.config) { - this.config = await this.configProvider; - this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams || false); - if (this.config.maxConcurrentStreams) { - this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams); + }); + exports.getOmitRetryHeadersPlugin = getOmitRetryHeadersPlugin; + } +}); + +// ../../../node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js +var require_retryMiddleware = __commonJS({ + "../../../node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getRetryAfterHint = exports.getRetryPlugin = exports.retryMiddlewareOptions = exports.retryMiddleware = void 0; + var protocol_http_1 = require_dist_cjs2(); + var service_error_classification_1 = require_dist_cjs29(); + var util_retry_1 = require_dist_cjs30(); + var uuid_1 = (init_esm_node(), __toCommonJS(esm_node_exports)); + var util_1 = require_util3(); + var retryMiddleware = (options) => (next, context) => async (args) => { + let retryStrategy = await options.retryStrategy(); + const maxAttempts = await options.maxAttempts(); + if (isRetryStrategyV2(retryStrategy)) { + retryStrategy = retryStrategy; + let retryToken = await retryStrategy.acquireInitialRetryToken(context["partition_id"]); + let lastError = new Error(); + let attempts = 0; + let totalRetryDelay = 0; + const { request: request2 } = args; + if (protocol_http_1.HttpRequest.isInstance(request2)) { + request2.headers[util_retry_1.INVOCATION_ID_HEADER] = (0, uuid_1.v4)(); + } + while (true) { + try { + if (protocol_http_1.HttpRequest.isInstance(request2)) { + request2.headers[util_retry_1.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`; + } + const { response, output } = await next(args); + retryStrategy.recordSuccess(retryToken); + output.$metadata.attempts = attempts + 1; + output.$metadata.totalRetryDelay = totalRetryDelay; + return { response, output }; + } catch (e) { + const retryErrorInfo = getRetryErrorInfo(e); + lastError = (0, util_1.asSdkError)(e); + try { + retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo); + } catch (refreshError) { + if (!lastError.$metadata) { + lastError.$metadata = {}; + } + lastError.$metadata.attempts = attempts + 1; + lastError.$metadata.totalRetryDelay = totalRetryDelay; + throw lastError; + } + attempts = retryToken.getRetryCount(); + const delay = retryToken.getRetryDelay(); + totalRetryDelay += delay; + await new Promise((resolve) => setTimeout(resolve, delay)); } } - const { requestTimeout, disableConcurrentStreams } = this.config; - return new Promise((_resolve, _reject) => { - var _a, _b, _c; - let fulfilled = false; - let writeRequestBodyPromise = void 0; - const resolve = async (arg) => { - await writeRequestBodyPromise; - _resolve(arg); - }; - const reject = async (arg) => { - await writeRequestBodyPromise; - _reject(arg); - }; - if (abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.aborted) { - fulfilled = true; - const abortError = new Error("Request aborted"); - abortError.name = "AbortError"; - reject(abortError); - return; - } - const { hostname, method, port, protocol, query } = request2; - let auth = ""; - if (request2.username != null || request2.password != null) { - const username = (_a = request2.username) !== null && _a !== void 0 ? _a : ""; - const password = (_b = request2.password) !== null && _b !== void 0 ? _b : ""; - auth = `${username}:${password}@`; - } - const authority = `${protocol}//${auth}${hostname}${port ? `:${port}` : ""}`; - const requestContext = { destination: new URL(authority) }; - const session = this.connectionManager.lease(requestContext, { - requestTimeout: (_c = this.config) === null || _c === void 0 ? void 0 : _c.sessionTimeout, - disableConcurrentStreams: disableConcurrentStreams || false - }); - const rejectWithDestroy = (err) => { - if (disableConcurrentStreams) { - this.destroySession(session); - } - fulfilled = true; - reject(err); - }; - const queryString = (0, querystring_builder_1.buildQueryString)(query || {}); - let path = request2.path; - if (queryString) { - path += `?${queryString}`; - } - if (request2.fragment) { - path += `#${request2.fragment}`; - } - const req = session.request({ - ...request2.headers, - [http2_1.constants.HTTP2_HEADER_PATH]: path, - [http2_1.constants.HTTP2_HEADER_METHOD]: method - }); - session.ref(); - req.on("response", (headers) => { - const httpResponse = new protocol_http_1.HttpResponse({ - statusCode: headers[":status"] || -1, - headers: (0, get_transformed_headers_1.getTransformedHeaders)(headers), - body: req - }); - fulfilled = true; - resolve({ response: httpResponse }); - if (disableConcurrentStreams) { - session.close(); - this.connectionManager.deleteSession(authority, session); - } - }); - if (requestTimeout) { - req.setTimeout(requestTimeout, () => { - req.close(); - const timeoutError = new Error(`Stream timed out because of no activity for ${requestTimeout} ms`); - timeoutError.name = "TimeoutError"; - rejectWithDestroy(timeoutError); - }); - } - if (abortSignal) { - abortSignal.onabort = () => { - req.close(); - const abortError = new Error("Request aborted"); - abortError.name = "AbortError"; - rejectWithDestroy(abortError); - }; - } - req.on("frameError", (type, code, id) => { - rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`)); - }); - req.on("error", rejectWithDestroy); - req.on("aborted", () => { - rejectWithDestroy(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${req.rstCode}.`)); - }); - req.on("close", () => { - session.unref(); - if (disableConcurrentStreams) { - session.destroy(); - } - if (!fulfilled) { - rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response")); - } - }); - writeRequestBodyPromise = (0, write_request_body_1.writeRequestBody)(req, request2, requestTimeout); - }); - } - updateHttpClientConfig(key, value) { - this.config = void 0; - this.configProvider = this.configProvider.then((config) => { - return { - ...config, - [key]: value - }; - }); - } - httpHandlerConfigs() { - var _a; - return (_a = this.config) !== null && _a !== void 0 ? _a : {}; - } - destroySession(session) { - if (!session.destroyed) { - session.destroy(); - } + } else { + retryStrategy = retryStrategy; + if (retryStrategy === null || retryStrategy === void 0 ? void 0 : retryStrategy.mode) + context.userAgent = [...context.userAgent || [], ["cfg/retry-mode", retryStrategy.mode]]; + return retryStrategy.retry(next, args); } }; - exports.NodeHttp2Handler = NodeHttp2Handler; - } -}); - -// ../../../node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js -var require_collector = __commonJS({ - "../../../node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.Collector = void 0; - var stream_1 = require("stream"); - var Collector = class extends stream_1.Writable { - constructor() { - super(...arguments); - this.bufferedBytes = []; + exports.retryMiddleware = retryMiddleware; + var isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" && typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" && typeof retryStrategy.recordSuccess !== "undefined"; + var getRetryErrorInfo = (error) => { + const errorInfo = { + errorType: getRetryErrorType(error) + }; + const retryAfterHint = (0, exports.getRetryAfterHint)(error.$response); + if (retryAfterHint) { + errorInfo.retryAfterHint = retryAfterHint; } - _write(chunk, encoding, callback) { - this.bufferedBytes.push(chunk); - callback(); + return errorInfo; + }; + var getRetryErrorType = (error) => { + if ((0, service_error_classification_1.isThrottlingError)(error)) + return "THROTTLING"; + if ((0, service_error_classification_1.isTransientError)(error)) + return "TRANSIENT"; + if ((0, service_error_classification_1.isServerError)(error)) + return "SERVER_ERROR"; + return "CLIENT_ERROR"; + }; + exports.retryMiddlewareOptions = { + name: "retryMiddleware", + tags: ["RETRY"], + step: "finalizeRequest", + priority: "high", + override: true + }; + var getRetryPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add((0, exports.retryMiddleware)(options), exports.retryMiddlewareOptions); } + }); + exports.getRetryPlugin = getRetryPlugin; + var getRetryAfterHint = (response) => { + if (!protocol_http_1.HttpResponse.isInstance(response)) + return; + const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after"); + if (!retryAfterHeaderName) + return; + const retryAfter = response.headers[retryAfterHeaderName]; + const retryAfterSeconds = Number(retryAfter); + if (!Number.isNaN(retryAfterSeconds)) + return new Date(retryAfterSeconds * 1e3); + const retryAfterDate = new Date(retryAfter); + return retryAfterDate; }; - exports.Collector = Collector; + exports.getRetryAfterHint = getRetryAfterHint; } }); -// ../../../node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js -var require_stream_collector = __commonJS({ - "../../../node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js"(exports) { +// ../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js +var require_dist_cjs31 = __commonJS({ + "../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.streamCollector = void 0; - var collector_1 = require_collector(); - var streamCollector = (stream) => new Promise((resolve, reject) => { - const collector = new collector_1.Collector(); - stream.pipe(collector); - stream.on("error", (err) => { - collector.end(); - reject(err); - }); - collector.on("error", reject); - collector.on("finish", function() { - const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes)); - resolve(bytes); - }); - }); - exports.streamCollector = streamCollector; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_AdaptiveRetryStrategy2(), exports); + tslib_1.__exportStar(require_StandardRetryStrategy2(), exports); + tslib_1.__exportStar(require_configurations2(), exports); + tslib_1.__exportStar(require_delayDecider(), exports); + tslib_1.__exportStar(require_omitRetryHeadersMiddleware(), exports); + tslib_1.__exportStar(require_retryDecider(), exports); + tslib_1.__exportStar(require_retryMiddleware(), exports); } }); -// ../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js -var require_dist_cjs33 = __commonJS({ - "../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js"(exports) { +// ../../../node_modules/@smithy/smithy-client/dist-cjs/NoOpLogger.js +var require_NoOpLogger = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/NoOpLogger.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_node_http_handler(), exports); - tslib_1.__exportStar(require_node_http2_handler(), exports); - tslib_1.__exportStar(require_stream_collector(), exports); + exports.NoOpLogger = void 0; + var NoOpLogger = class { + trace() { + } + debug() { + } + info() { + } + warn() { + } + error() { + } + }; + exports.NoOpLogger = NoOpLogger; } }); -// ../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js -var require_sdk_stream_mixin = __commonJS({ - "../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js"(exports) { +// ../../../node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +var require_MiddlewareStack = __commonJS({ + "../../../node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.sdkStreamMixin = void 0; - var node_http_handler_1 = require_dist_cjs33(); - var util_buffer_from_1 = require_dist_cjs12(); - var stream_1 = require("stream"); - var util_1 = require("util"); - var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed."; - var sdkStreamMixin = (stream) => { - var _a, _b; - if (!(stream instanceof stream_1.Readable)) { - const name = ((_b = (_a = stream === null || stream === void 0 ? void 0 : stream.__proto__) === null || _a === void 0 ? void 0 : _a.constructor) === null || _b === void 0 ? void 0 : _b.name) || stream; - throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${name}`); + exports.constructStack = void 0; + var getAllAliases = (name, aliases) => { + const _aliases = []; + if (name) { + _aliases.push(name); } - let transformed = false; - const transformToByteArray = async () => { - if (transformed) { - throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + if (aliases) { + for (const alias of aliases) { + _aliases.push(alias); } - transformed = true; - return await (0, node_http_handler_1.streamCollector)(stream); + } + return _aliases; + }; + var getMiddlewareNameWithAliases = (name, aliases) => { + return `${name || "anonymous"}${aliases && aliases.length > 0 ? ` (a.k.a. ${aliases.join(",")})` : ""}`; + }; + var constructStack = () => { + let absoluteEntries = []; + let relativeEntries = []; + let identifyOnResolve = false; + const entriesNameSet = /* @__PURE__ */ new Set(); + const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] || priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]); + const removeByName = (toRemove) => { + let isRemoved = false; + const filterCb = (entry) => { + const aliases = getAllAliases(entry.name, entry.aliases); + if (aliases.includes(toRemove)) { + isRemoved = true; + for (const alias of aliases) { + entriesNameSet.delete(alias); + } + return false; + } + return true; + }; + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; }; - return Object.assign(stream, { - transformToByteArray, - transformToString: async (encoding) => { - const buf = await transformToByteArray(); - if (encoding === void 0 || Buffer.isEncoding(encoding)) { - return (0, util_buffer_from_1.fromArrayBuffer)(buf.buffer, buf.byteOffset, buf.byteLength).toString(encoding); + const removeByReference = (toRemove) => { + let isRemoved = false; + const filterCb = (entry) => { + if (entry.middleware === toRemove) { + isRemoved = true; + for (const alias of getAllAliases(entry.name, entry.aliases)) { + entriesNameSet.delete(alias); + } + return false; + } + return true; + }; + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; + }; + const cloneTo = (toStack) => { + var _a; + absoluteEntries.forEach((entry) => { + toStack.add(entry.middleware, { ...entry }); + }); + relativeEntries.forEach((entry) => { + toStack.addRelativeTo(entry.middleware, { ...entry }); + }); + (_a = toStack.identifyOnResolve) === null || _a === void 0 ? void 0 : _a.call(toStack, stack.identifyOnResolve()); + return toStack; + }; + const expandRelativeMiddlewareList = (from) => { + const expandedMiddlewareList = []; + from.before.forEach((entry) => { + if (entry.before.length === 0 && entry.after.length === 0) { + expandedMiddlewareList.push(entry); + } else { + expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry)); + } + }); + expandedMiddlewareList.push(from); + from.after.reverse().forEach((entry) => { + if (entry.before.length === 0 && entry.after.length === 0) { + expandedMiddlewareList.push(entry); } else { - const decoder = new util_1.TextDecoder(encoding); - return decoder.decode(buf); + expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry)); + } + }); + return expandedMiddlewareList; + }; + const getMiddlewareList = (debug = false) => { + const normalizedAbsoluteEntries = []; + const normalizedRelativeEntries = []; + const normalizedEntriesNameMap = {}; + absoluteEntries.forEach((entry) => { + const normalizedEntry = { + ...entry, + before: [], + after: [] + }; + for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) { + normalizedEntriesNameMap[alias] = normalizedEntry; + } + normalizedAbsoluteEntries.push(normalizedEntry); + }); + relativeEntries.forEach((entry) => { + const normalizedEntry = { + ...entry, + before: [], + after: [] + }; + for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) { + normalizedEntriesNameMap[alias] = normalizedEntry; + } + normalizedRelativeEntries.push(normalizedEntry); + }); + normalizedRelativeEntries.forEach((entry) => { + if (entry.toMiddleware) { + const toMiddleware = normalizedEntriesNameMap[entry.toMiddleware]; + if (toMiddleware === void 0) { + if (debug) { + return; + } + throw new Error(`${entry.toMiddleware} is not found when adding ${getMiddlewareNameWithAliases(entry.name, entry.aliases)} middleware ${entry.relation} ${entry.toMiddleware}`); + } + if (entry.relation === "after") { + toMiddleware.after.push(entry); + } + if (entry.relation === "before") { + toMiddleware.before.push(entry); + } + } + }); + const mainChain = sort(normalizedAbsoluteEntries).map(expandRelativeMiddlewareList).reduce((wholeList, expandedMiddlewareList) => { + wholeList.push(...expandedMiddlewareList); + return wholeList; + }, []); + return mainChain; + }; + const stack = { + add: (middleware, options = {}) => { + const { name, override, aliases: _aliases } = options; + const entry = { + step: "initialize", + priority: "normal", + middleware, + ...options + }; + const aliases = getAllAliases(name, _aliases); + if (aliases.length > 0) { + if (aliases.some((alias) => entriesNameSet.has(alias))) { + if (!override) + throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`); + for (const alias of aliases) { + const toOverrideIndex = absoluteEntries.findIndex((entry2) => { + var _a; + return entry2.name === alias || ((_a = entry2.aliases) === null || _a === void 0 ? void 0 : _a.some((a) => a === alias)); + }); + if (toOverrideIndex === -1) { + continue; + } + const toOverride = absoluteEntries[toOverrideIndex]; + if (toOverride.step !== entry.step || entry.priority !== toOverride.priority) { + throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware with ${toOverride.priority} priority in ${toOverride.step} step cannot be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware with ${entry.priority} priority in ${entry.step} step.`); + } + absoluteEntries.splice(toOverrideIndex, 1); + } + } + for (const alias of aliases) { + entriesNameSet.add(alias); + } } + absoluteEntries.push(entry); }, - transformToWebStream: () => { - if (transformed) { - throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + addRelativeTo: (middleware, options) => { + const { name, override, aliases: _aliases } = options; + const entry = { + middleware, + ...options + }; + const aliases = getAllAliases(name, _aliases); + if (aliases.length > 0) { + if (aliases.some((alias) => entriesNameSet.has(alias))) { + if (!override) + throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`); + for (const alias of aliases) { + const toOverrideIndex = relativeEntries.findIndex((entry2) => { + var _a; + return entry2.name === alias || ((_a = entry2.aliases) === null || _a === void 0 ? void 0 : _a.some((a) => a === alias)); + }); + if (toOverrideIndex === -1) { + continue; + } + const toOverride = relativeEntries[toOverrideIndex]; + if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) { + throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware ${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware ${entry.relation} "${entry.toMiddleware}" middleware.`); + } + relativeEntries.splice(toOverrideIndex, 1); + } + } + for (const alias of aliases) { + entriesNameSet.add(alias); + } } - if (stream.readableFlowing !== null) { - throw new Error("The stream has been consumed by other callbacks."); + relativeEntries.push(entry); + }, + clone: () => cloneTo((0, exports.constructStack)()), + use: (plugin) => { + plugin.applyToStack(stack); + }, + remove: (toRemove) => { + if (typeof toRemove === "string") + return removeByName(toRemove); + else + return removeByReference(toRemove); + }, + removeByTag: (toRemove) => { + let isRemoved = false; + const filterCb = (entry) => { + const { tags, name, aliases: _aliases } = entry; + if (tags && tags.includes(toRemove)) { + const aliases = getAllAliases(name, _aliases); + for (const alias of aliases) { + entriesNameSet.delete(alias); + } + isRemoved = true; + return false; + } + return true; + }; + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; + }, + concat: (from) => { + var _a, _b; + const cloned = cloneTo((0, exports.constructStack)()); + cloned.use(from); + cloned.identifyOnResolve(identifyOnResolve || cloned.identifyOnResolve() || ((_b = (_a = from.identifyOnResolve) === null || _a === void 0 ? void 0 : _a.call(from)) !== null && _b !== void 0 ? _b : false)); + return cloned; + }, + applyToStack: cloneTo, + identify: () => { + return getMiddlewareList(true).map((mw) => { + var _a; + const step = (_a = mw.step) !== null && _a !== void 0 ? _a : mw.relation + " " + mw.toMiddleware; + return getMiddlewareNameWithAliases(mw.name, mw.aliases) + " - " + step; + }); + }, + identifyOnResolve(toggle) { + if (typeof toggle === "boolean") + identifyOnResolve = toggle; + return identifyOnResolve; + }, + resolve: (handler2, context) => { + for (const middleware of getMiddlewareList().map((entry) => entry.middleware).reverse()) { + handler2 = middleware(handler2, context); } - if (typeof stream_1.Readable.toWeb !== "function") { - throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available."); + if (identifyOnResolve) { + console.log(stack.identify()); } - transformed = true; - return stream_1.Readable.toWeb(stream); + return handler2; } - }); + }; + return stack; + }; + exports.constructStack = constructStack; + var stepWeights = { + initialize: 5, + serialize: 4, + build: 3, + finalizeRequest: 2, + deserialize: 1 + }; + var priorityWeights = { + high: 3, + normal: 2, + low: 1 }; - exports.sdkStreamMixin = sdkStreamMixin; } }); -// ../../../node_modules/@smithy/util-stream/dist-cjs/index.js -var require_dist_cjs34 = __commonJS({ - "../../../node_modules/@smithy/util-stream/dist-cjs/index.js"(exports) { +// ../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js +var require_dist_cjs32 = __commonJS({ + "../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_Uint8ArrayBlobAdapter(), exports); - tslib_1.__exportStar(require_getAwsChunkedEncodingStream(), exports); - tslib_1.__exportStar(require_sdk_stream_mixin(), exports); + tslib_1.__exportStar(require_MiddlewareStack(), exports); } }); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/collect-stream-body.js -var require_collect_stream_body = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/collect-stream-body.js"(exports) { +// ../../../node_modules/@smithy/smithy-client/dist-cjs/client.js +var require_client3 = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/client.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.collectBody = void 0; - var util_stream_1 = require_dist_cjs34(); - var collectBody = async (streamBody = new Uint8Array(), context) => { - if (streamBody instanceof Uint8Array) { - return util_stream_1.Uint8ArrayBlobAdapter.mutate(streamBody); - } - if (!streamBody) { - return util_stream_1.Uint8ArrayBlobAdapter.mutate(new Uint8Array()); + exports.Client = void 0; + var middleware_stack_1 = require_dist_cjs32(); + var Client = class { + constructor(config) { + this.middlewareStack = (0, middleware_stack_1.constructStack)(); + this.config = config; + } + send(command, optionsOrCb, cb) { + const options = typeof optionsOrCb !== "function" ? optionsOrCb : void 0; + const callback = typeof optionsOrCb === "function" ? optionsOrCb : cb; + const handler2 = command.resolveMiddleware(this.middlewareStack, this.config, options); + if (callback) { + handler2(command).then((result) => callback(null, result.output), (err) => callback(err)).catch(() => { + }); + } else { + return handler2(command).then((result) => result.output); + } + } + destroy() { + if (this.config.requestHandler.destroy) + this.config.requestHandler.destroy(); } - const fromContext = context.streamCollector(streamBody); - return util_stream_1.Uint8ArrayBlobAdapter.mutate(await fromContext); }; - exports.collectBody = collectBody; + exports.Client = Client; } }); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/command.js -var require_command3 = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/command.js"(exports) { +// ../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js +var require_fromBase64 = __commonJS({ + "../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.Command = void 0; - var middleware_stack_1 = require_dist_cjs30(); - var Command = class { - constructor() { - this.middlewareStack = (0, middleware_stack_1.constructStack)(); + exports.fromBase64 = void 0; + var util_buffer_from_1 = require_dist_cjs12(); + var BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/; + var fromBase64 = (input) => { + if (input.length * 3 % 4 !== 0) { + throw new TypeError(`Incorrect padding on base64 string.`); + } + if (!BASE64_REGEX.exec(input)) { + throw new TypeError(`Invalid base64 string.`); } + const buffer = (0, util_buffer_from_1.fromString)(input, "base64"); + return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength); }; - exports.Command = Command; + exports.fromBase64 = fromBase64; } }); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/constants.js -var require_constants6 = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/constants.js"(exports) { +// ../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js +var require_toBase64 = __commonJS({ + "../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.SENSITIVE_STRING = void 0; - exports.SENSITIVE_STRING = "***SensitiveInformation***"; + exports.toBase64 = void 0; + var util_buffer_from_1 = require_dist_cjs12(); + var toBase64 = (input) => (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("base64"); + exports.toBase64 = toBase64; } }); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/create-aggregated-client.js -var require_create_aggregated_client = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/create-aggregated-client.js"(exports) { +// ../../../node_modules/@smithy/util-base64/dist-cjs/index.js +var require_dist_cjs33 = __commonJS({ + "../../../node_modules/@smithy/util-base64/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.createAggregatedClient = void 0; - var createAggregatedClient = (commands, Client) => { - for (const command of Object.keys(commands)) { - const CommandCtor = commands[command]; - const methodImpl = async function(args, optionsOrCb, cb) { - const command2 = new CommandCtor(args); - if (typeof optionsOrCb === "function") { - this.send(command2, optionsOrCb); - } else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") - throw new Error(`Expected http options but got ${typeof optionsOrCb}`); - this.send(command2, optionsOrCb || {}, cb); - } else { - return this.send(command2, optionsOrCb); - } - }; - const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, ""); - Client.prototype[methodName] = methodImpl; - } - }; - exports.createAggregatedClient = createAggregatedClient; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_fromBase64(), exports); + tslib_1.__exportStar(require_toBase64(), exports); } }); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/parse-utils.js -var require_parse_utils = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/parse-utils.js"(exports) { +// ../../../node_modules/@smithy/util-stream/dist-cjs/blob/transforms.js +var require_transforms = __commonJS({ + "../../../node_modules/@smithy/util-stream/dist-cjs/blob/transforms.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.logger = exports.strictParseByte = exports.strictParseShort = exports.strictParseInt32 = exports.strictParseInt = exports.strictParseLong = exports.limitedParseFloat32 = exports.limitedParseFloat = exports.handleFloat = exports.limitedParseDouble = exports.strictParseFloat32 = exports.strictParseFloat = exports.strictParseDouble = exports.expectUnion = exports.expectString = exports.expectObject = exports.expectNonNull = exports.expectByte = exports.expectShort = exports.expectInt32 = exports.expectInt = exports.expectLong = exports.expectFloat32 = exports.expectNumber = exports.expectBoolean = exports.parseBoolean = void 0; - var parseBoolean = (value) => { - switch (value) { - case "true": - return true; - case "false": - return false; - default: - throw new Error(`Unable to parse boolean value "${value}"`); + exports.transformFromString = exports.transformToString = void 0; + var util_base64_1 = require_dist_cjs33(); + var util_utf8_1 = require_dist_cjs13(); + var Uint8ArrayBlobAdapter_1 = require_Uint8ArrayBlobAdapter(); + function transformToString(payload, encoding = "utf-8") { + if (encoding === "base64") { + return (0, util_base64_1.toBase64)(payload); } - }; - exports.parseBoolean = parseBoolean; - var expectBoolean = (value) => { - if (value === null || value === void 0) { - return void 0; + return (0, util_utf8_1.toUtf8)(payload); + } + exports.transformToString = transformToString; + function transformFromString(str, encoding) { + if (encoding === "base64") { + return Uint8ArrayBlobAdapter_1.Uint8ArrayBlobAdapter.mutate((0, util_base64_1.fromBase64)(str)); } - if (typeof value === "number") { - if (value === 0 || value === 1) { - exports.logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`)); - } - if (value === 0) { - return false; - } - if (value === 1) { - return true; + return Uint8ArrayBlobAdapter_1.Uint8ArrayBlobAdapter.mutate((0, util_utf8_1.fromUtf8)(str)); + } + exports.transformFromString = transformFromString; + } +}); + +// ../../../node_modules/@smithy/util-stream/dist-cjs/blob/Uint8ArrayBlobAdapter.js +var require_Uint8ArrayBlobAdapter = __commonJS({ + "../../../node_modules/@smithy/util-stream/dist-cjs/blob/Uint8ArrayBlobAdapter.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.Uint8ArrayBlobAdapter = void 0; + var transforms_1 = require_transforms(); + var Uint8ArrayBlobAdapter = class _Uint8ArrayBlobAdapter extends Uint8Array { + static fromString(source, encoding = "utf-8") { + switch (typeof source) { + case "string": + return (0, transforms_1.transformFromString)(source, encoding); + default: + throw new Error(`Unsupported conversion from ${typeof source} to Uint8ArrayBlobAdapter.`); } } - if (typeof value === "string") { - const lower = value.toLowerCase(); - if (lower === "false" || lower === "true") { - exports.logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`)); - } - if (lower === "false") { - return false; - } - if (lower === "true") { - return true; - } + static mutate(source) { + Object.setPrototypeOf(source, _Uint8ArrayBlobAdapter.prototype); + return source; } - if (typeof value === "boolean") { - return value; + transformToString(encoding = "utf-8") { + return (0, transforms_1.transformToString)(this, encoding); } - throw new TypeError(`Expected boolean, got ${typeof value}: ${value}`); }; - exports.expectBoolean = expectBoolean; - var expectNumber = (value) => { - if (value === null || value === void 0) { - return void 0; - } - if (typeof value === "string") { - const parsed = parseFloat(value); - if (!Number.isNaN(parsed)) { - if (String(parsed) !== String(value)) { - exports.logger.warn(stackTraceWarning(`Expected number but observed string: ${value}`)); - } - return parsed; + exports.Uint8ArrayBlobAdapter = Uint8ArrayBlobAdapter; + } +}); + +// ../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +var require_getAwsChunkedEncodingStream = __commonJS({ + "../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getAwsChunkedEncodingStream = void 0; + var stream_1 = require("stream"); + var getAwsChunkedEncodingStream = (readableStream, options) => { + const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options; + const checksumRequired = base64Encoder !== void 0 && checksumAlgorithmFn !== void 0 && checksumLocationName !== void 0 && streamHasher !== void 0; + const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : void 0; + const awsChunkedEncodingStream = new stream_1.Readable({ read: () => { + } }); + readableStream.on("data", (data) => { + const length = bodyLengthChecker(data) || 0; + awsChunkedEncodingStream.push(`${length.toString(16)}\r +`); + awsChunkedEncodingStream.push(data); + awsChunkedEncodingStream.push("\r\n"); + }); + readableStream.on("end", async () => { + awsChunkedEncodingStream.push(`0\r +`); + if (checksumRequired) { + const checksum = base64Encoder(await digest); + awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r +`); + awsChunkedEncodingStream.push(`\r +`); } - } - if (typeof value === "number") { - return value; - } - throw new TypeError(`Expected number, got ${typeof value}: ${value}`); + awsChunkedEncodingStream.push(null); + }); + return awsChunkedEncodingStream; }; - exports.expectNumber = expectNumber; - var MAX_FLOAT = Math.ceil(2 ** 127 * (2 - 2 ** -23)); - var expectFloat32 = (value) => { - const expected = (0, exports.expectNumber)(value); - if (expected !== void 0 && !Number.isNaN(expected) && expected !== Infinity && expected !== -Infinity) { - if (Math.abs(expected) > MAX_FLOAT) { - throw new TypeError(`Expected 32-bit float, got ${value}`); + exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream; + } +}); + +// ../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js +var require_dist_cjs34 = __commonJS({ + "../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.buildQueryString = void 0; + var util_uri_escape_1 = require_dist_cjs14(); + 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); + 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])}`); + } + } else { + let qsEntry = key; + if (value || typeof value === "string") { + qsEntry += `=${(0, util_uri_escape_1.escapeUri)(value)}`; + } + parts.push(qsEntry); } } - return expected; - }; - exports.expectFloat32 = expectFloat32; - var expectLong = (value) => { - if (value === null || value === void 0) { - return void 0; - } - if (Number.isInteger(value) && !Number.isNaN(value)) { - return value; - } - throw new TypeError(`Expected integer, got ${typeof value}: ${value}`); - }; - exports.expectLong = expectLong; - exports.expectInt = exports.expectLong; - var expectInt32 = (value) => expectSizedInt(value, 32); - exports.expectInt32 = expectInt32; - var expectShort = (value) => expectSizedInt(value, 16); - exports.expectShort = expectShort; - var expectByte = (value) => expectSizedInt(value, 8); - exports.expectByte = expectByte; - var expectSizedInt = (value, size) => { - const expected = (0, exports.expectLong)(value); - if (expected !== void 0 && castInt(expected, size) !== expected) { - throw new TypeError(`Expected ${size}-bit integer, got ${value}`); + return parts.join("&"); + } + exports.buildQueryString = buildQueryString; + } +}); + +// ../../../node_modules/@smithy/node-http-handler/dist-cjs/constants.js +var require_constants5 = __commonJS({ + "../../../node_modules/@smithy/node-http-handler/dist-cjs/constants.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.NODEJS_TIMEOUT_ERROR_CODES = void 0; + exports.NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"]; + } +}); + +// ../../../node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js +var require_get_transformed_headers = __commonJS({ + "../../../node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getTransformedHeaders = void 0; + var getTransformedHeaders = (headers) => { + const transformedHeaders = {}; + for (const name of Object.keys(headers)) { + const headerValues = headers[name]; + transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues; } - return expected; + return transformedHeaders; }; - var castInt = (value, size) => { - switch (size) { - case 32: - return Int32Array.of(value)[0]; - case 16: - return Int16Array.of(value)[0]; - case 8: - return Int8Array.of(value)[0]; + exports.getTransformedHeaders = getTransformedHeaders; + } +}); + +// ../../../node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js +var require_set_connection_timeout = __commonJS({ + "../../../node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.setConnectionTimeout = void 0; + var setConnectionTimeout = (request2, reject, timeoutInMs = 0) => { + if (!timeoutInMs) { + return; } - }; - var expectNonNull = (value, location) => { - if (value === null || value === void 0) { - if (location) { - throw new TypeError(`Expected a non-null value for ${location}`); + const timeoutId = setTimeout(() => { + request2.destroy(); + reject(Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), { + name: "TimeoutError" + })); + }, timeoutInMs); + request2.on("socket", (socket) => { + if (socket.connecting) { + socket.on("connect", () => { + clearTimeout(timeoutId); + }); + } else { + clearTimeout(timeoutId); } - throw new TypeError("Expected a non-null value"); - } - return value; - }; - exports.expectNonNull = expectNonNull; - var expectObject = (value) => { - if (value === null || value === void 0) { - return void 0; - } - if (typeof value === "object" && !Array.isArray(value)) { - return value; - } - const receivedType = Array.isArray(value) ? "array" : typeof value; - throw new TypeError(`Expected object, got ${receivedType}: ${value}`); - }; - exports.expectObject = expectObject; - var expectString = (value) => { - if (value === null || value === void 0) { - return void 0; - } - if (typeof value === "string") { - return value; - } - if (["boolean", "number", "bigint"].includes(typeof value)) { - exports.logger.warn(stackTraceWarning(`Expected string, got ${typeof value}: ${value}`)); - return String(value); - } - throw new TypeError(`Expected string, got ${typeof value}: ${value}`); - }; - exports.expectString = expectString; - var expectUnion = (value) => { - if (value === null || value === void 0) { - return void 0; - } - const asObject = (0, exports.expectObject)(value); - const setKeys = Object.entries(asObject).filter(([, v]) => v != null).map(([k]) => k); - if (setKeys.length === 0) { - throw new TypeError(`Unions must have exactly one non-null member. None were found.`); - } - if (setKeys.length > 1) { - throw new TypeError(`Unions must have exactly one non-null member. Keys ${setKeys} were not null.`); - } - return asObject; - }; - exports.expectUnion = expectUnion; - var strictParseDouble = (value) => { - if (typeof value == "string") { - return (0, exports.expectNumber)(parseNumber(value)); - } - return (0, exports.expectNumber)(value); - }; - exports.strictParseDouble = strictParseDouble; - exports.strictParseFloat = exports.strictParseDouble; - var strictParseFloat32 = (value) => { - if (typeof value == "string") { - return (0, exports.expectFloat32)(parseNumber(value)); - } - return (0, exports.expectFloat32)(value); - }; - exports.strictParseFloat32 = strictParseFloat32; - var NUMBER_REGEX = /(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g; - var parseNumber = (value) => { - const matches = value.match(NUMBER_REGEX); - if (matches === null || matches[0].length !== value.length) { - throw new TypeError(`Expected real number, got implicit NaN`); - } - return parseFloat(value); - }; - var limitedParseDouble = (value) => { - if (typeof value == "string") { - return parseFloatString(value); - } - return (0, exports.expectNumber)(value); - }; - exports.limitedParseDouble = limitedParseDouble; - exports.handleFloat = exports.limitedParseDouble; - exports.limitedParseFloat = exports.limitedParseDouble; - var limitedParseFloat32 = (value) => { - if (typeof value == "string") { - return parseFloatString(value); - } - return (0, exports.expectFloat32)(value); - }; - exports.limitedParseFloat32 = limitedParseFloat32; - var parseFloatString = (value) => { - switch (value) { - case "NaN": - return NaN; - case "Infinity": - return Infinity; - case "-Infinity": - return -Infinity; - default: - throw new Error(`Unable to parse float value: ${value}`); - } - }; - var strictParseLong = (value) => { - if (typeof value === "string") { - return (0, exports.expectLong)(parseNumber(value)); - } - return (0, exports.expectLong)(value); - }; - exports.strictParseLong = strictParseLong; - exports.strictParseInt = exports.strictParseLong; - var strictParseInt32 = (value) => { - if (typeof value === "string") { - return (0, exports.expectInt32)(parseNumber(value)); - } - return (0, exports.expectInt32)(value); - }; - exports.strictParseInt32 = strictParseInt32; - var strictParseShort = (value) => { - if (typeof value === "string") { - return (0, exports.expectShort)(parseNumber(value)); - } - return (0, exports.expectShort)(value); + }); }; - exports.strictParseShort = strictParseShort; - var strictParseByte = (value) => { - if (typeof value === "string") { - return (0, exports.expectByte)(parseNumber(value)); + exports.setConnectionTimeout = setConnectionTimeout; + } +}); + +// ../../../node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js +var require_set_socket_keep_alive = __commonJS({ + "../../../node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.setSocketKeepAlive = void 0; + var setSocketKeepAlive = (request2, { keepAlive, keepAliveMsecs }) => { + if (keepAlive !== true) { + return; } - return (0, exports.expectByte)(value); - }; - exports.strictParseByte = strictParseByte; - var stackTraceWarning = (message) => { - return String(new TypeError(message).stack || message).split("\n").slice(0, 5).filter((s) => !s.includes("stackTraceWarning")).join("\n"); + request2.on("socket", (socket) => { + socket.setKeepAlive(keepAlive, keepAliveMsecs || 0); + }); }; - exports.logger = { - warn: console.warn + exports.setSocketKeepAlive = setSocketKeepAlive; + } +}); + +// ../../../node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js +var require_set_socket_timeout = __commonJS({ + "../../../node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.setSocketTimeout = void 0; + var setSocketTimeout = (request2, reject, timeoutInMs = 0) => { + request2.setTimeout(timeoutInMs, () => { + request2.destroy(); + reject(Object.assign(new Error(`Connection timed out after ${timeoutInMs} ms`), { name: "TimeoutError" })); + }); }; + exports.setSocketTimeout = setSocketTimeout; } }); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/date-utils.js -var require_date_utils = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/date-utils.js"(exports) { +// ../../../node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js +var require_write_request_body = __commonJS({ + "../../../node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.parseEpochTimestamp = exports.parseRfc7231DateTime = exports.parseRfc3339DateTimeWithOffset = exports.parseRfc3339DateTime = exports.dateToUtcString = void 0; - var parse_utils_1 = require_parse_utils(); - var DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; - var MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; - function dateToUtcString(date) { - const year = date.getUTCFullYear(); - const month = date.getUTCMonth(); - const dayOfWeek = date.getUTCDay(); - const dayOfMonthInt = date.getUTCDate(); - const hoursInt = date.getUTCHours(); - const minutesInt = date.getUTCMinutes(); - const secondsInt = date.getUTCSeconds(); - const dayOfMonthString = dayOfMonthInt < 10 ? `0${dayOfMonthInt}` : `${dayOfMonthInt}`; - const hoursString = hoursInt < 10 ? `0${hoursInt}` : `${hoursInt}`; - const minutesString = minutesInt < 10 ? `0${minutesInt}` : `${minutesInt}`; - const secondsString = secondsInt < 10 ? `0${secondsInt}` : `${secondsInt}`; - return `${DAYS[dayOfWeek]}, ${dayOfMonthString} ${MONTHS[month]} ${year} ${hoursString}:${minutesString}:${secondsString} GMT`; - } - exports.dateToUtcString = dateToUtcString; - var RFC3339 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/); - var parseRfc3339DateTime = (value) => { - if (value === null || value === void 0) { - return void 0; - } - if (typeof value !== "string") { - throw new TypeError("RFC-3339 date-times must be expressed as strings"); - } - const match = RFC3339.exec(value); - if (!match) { - throw new TypeError("Invalid RFC-3339 date-time value"); - } - const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds] = match; - const year = (0, parse_utils_1.strictParseShort)(stripLeadingZeroes(yearStr)); - const month = parseDateValue(monthStr, "month", 1, 12); - const day = parseDateValue(dayStr, "day", 1, 31); - return buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds }); - }; - exports.parseRfc3339DateTime = parseRfc3339DateTime; - var RFC3339_WITH_OFFSET = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/); - var parseRfc3339DateTimeWithOffset = (value) => { - if (value === null || value === void 0) { - return void 0; - } - if (typeof value !== "string") { - throw new TypeError("RFC-3339 date-times must be expressed as strings"); - } - const match = RFC3339_WITH_OFFSET.exec(value); - if (!match) { - throw new TypeError("Invalid RFC-3339 date-time value"); - } - const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, offsetStr] = match; - const year = (0, parse_utils_1.strictParseShort)(stripLeadingZeroes(yearStr)); - const month = parseDateValue(monthStr, "month", 1, 12); - const day = parseDateValue(dayStr, "day", 1, 31); - const date = buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds }); - if (offsetStr.toUpperCase() != "Z") { - date.setTime(date.getTime() - parseOffsetToMilliseconds(offsetStr)); - } - return date; - }; - exports.parseRfc3339DateTimeWithOffset = parseRfc3339DateTimeWithOffset; - var IMF_FIXDATE = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/); - var RFC_850_DATE = new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/); - var ASC_TIME = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/); - var parseRfc7231DateTime = (value) => { - if (value === null || value === void 0) { - return void 0; - } - if (typeof value !== "string") { - throw new TypeError("RFC-7231 date-times must be expressed as strings"); - } - let match = IMF_FIXDATE.exec(value); - if (match) { - const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match; - return buildDate((0, parse_utils_1.strictParseShort)(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), { hours, minutes, seconds, fractionalMilliseconds }); - } - match = RFC_850_DATE.exec(value); - if (match) { - const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match; - return adjustRfc850Year(buildDate(parseTwoDigitYear(yearStr), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), { - hours, - minutes, - seconds, - fractionalMilliseconds - })); - } - match = ASC_TIME.exec(value); - if (match) { - const [_, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, yearStr] = match; - return buildDate((0, parse_utils_1.strictParseShort)(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr.trimLeft(), "day", 1, 31), { hours, minutes, seconds, fractionalMilliseconds }); - } - throw new TypeError("Invalid RFC-7231 date-time value"); - }; - exports.parseRfc7231DateTime = parseRfc7231DateTime; - var parseEpochTimestamp = (value) => { - if (value === null || value === void 0) { - return void 0; - } - let valueAsDouble; - if (typeof value === "number") { - valueAsDouble = value; - } else if (typeof value === "string") { - valueAsDouble = (0, parse_utils_1.strictParseDouble)(value); - } else { - throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation"); - } - if (Number.isNaN(valueAsDouble) || valueAsDouble === Infinity || valueAsDouble === -Infinity) { - throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics"); - } - return new Date(Math.round(valueAsDouble * 1e3)); - }; - exports.parseEpochTimestamp = parseEpochTimestamp; - var buildDate = (year, month, day, time) => { - const adjustedMonth = month - 1; - validateDayOfMonth(year, adjustedMonth, day); - return new Date(Date.UTC(year, adjustedMonth, day, parseDateValue(time.hours, "hour", 0, 23), parseDateValue(time.minutes, "minute", 0, 59), parseDateValue(time.seconds, "seconds", 0, 60), parseMilliseconds(time.fractionalMilliseconds))); - }; - var parseTwoDigitYear = (value) => { - const thisYear = (/* @__PURE__ */ new Date()).getUTCFullYear(); - const valueInThisCentury = Math.floor(thisYear / 100) * 100 + (0, parse_utils_1.strictParseShort)(stripLeadingZeroes(value)); - if (valueInThisCentury < thisYear) { - return valueInThisCentury + 100; - } - return valueInThisCentury; - }; - var FIFTY_YEARS_IN_MILLIS = 50 * 365 * 24 * 60 * 60 * 1e3; - var adjustRfc850Year = (input) => { - if (input.getTime() - (/* @__PURE__ */ new Date()).getTime() > FIFTY_YEARS_IN_MILLIS) { - return new Date(Date.UTC(input.getUTCFullYear() - 100, input.getUTCMonth(), input.getUTCDate(), input.getUTCHours(), input.getUTCMinutes(), input.getUTCSeconds(), input.getUTCMilliseconds())); - } - return input; - }; - var parseMonthByShortName = (value) => { - const monthIdx = MONTHS.indexOf(value); - if (monthIdx < 0) { - throw new TypeError(`Invalid month: ${value}`); - } - return monthIdx + 1; - }; - var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; - var validateDayOfMonth = (year, month, day) => { - let maxDays = DAYS_IN_MONTH[month]; - if (month === 1 && isLeapYear(year)) { - maxDays = 29; - } - if (day > maxDays) { - throw new TypeError(`Invalid day for ${MONTHS[month]} in ${year}: ${day}`); - } - }; - var isLeapYear = (year) => { - return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0); - }; - var parseDateValue = (value, type, lower, upper) => { - const dateVal = (0, parse_utils_1.strictParseByte)(stripLeadingZeroes(value)); - if (dateVal < lower || dateVal > upper) { - throw new TypeError(`${type} must be between ${lower} and ${upper}, inclusive`); + exports.writeRequestBody = void 0; + var stream_1 = require("stream"); + var MIN_WAIT_TIME = 1e3; + async function writeRequestBody(httpRequest, request2, maxContinueTimeoutMs = MIN_WAIT_TIME) { + var _a; + const headers = (_a = request2.headers) !== null && _a !== void 0 ? _a : {}; + const expect = headers["Expect"] || headers["expect"]; + let timeoutId = -1; + let hasError = false; + if (expect === "100-continue") { + await Promise.race([ + new Promise((resolve) => { + timeoutId = Number(setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs))); + }), + new Promise((resolve) => { + httpRequest.on("continue", () => { + clearTimeout(timeoutId); + resolve(); + }); + httpRequest.on("error", () => { + hasError = true; + clearTimeout(timeoutId); + resolve(); + }); + }) + ]); } - return dateVal; - }; - var parseMilliseconds = (value) => { - if (value === null || value === void 0) { - return 0; + if (!hasError) { + writeBody(httpRequest, request2.body); } - return (0, parse_utils_1.strictParseFloat32)("0." + value) * 1e3; - }; - var parseOffsetToMilliseconds = (value) => { - const directionStr = value[0]; - let direction = 1; - if (directionStr == "+") { - direction = 1; - } else if (directionStr == "-") { - direction = -1; + } + exports.writeRequestBody = writeRequestBody; + function writeBody(httpRequest, body) { + if (body instanceof stream_1.Readable) { + body.pipe(httpRequest); + } else if (body) { + httpRequest.end(Buffer.from(body)); } else { - throw new TypeError(`Offset direction, ${directionStr}, must be "+" or "-"`); - } - const hour = Number(value.substring(1, 3)); - const minute = Number(value.substring(4, 6)); - return direction * (hour * 60 + minute) * 60 * 1e3; - }; - var stripLeadingZeroes = (value) => { - let idx = 0; - while (idx < value.length - 1 && value.charAt(idx) === "0") { - idx++; - } - if (idx === 0) { - return value; + httpRequest.end(); } - return value.slice(idx); - }; + } } }); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/exceptions.js -var require_exceptions = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/exceptions.js"(exports) { +// ../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +var require_node_http_handler = __commonJS({ + "../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.decorateServiceException = exports.ServiceException = void 0; - var ServiceException = class _ServiceException extends Error { + exports.NodeHttpHandler = exports.DEFAULT_REQUEST_TIMEOUT = void 0; + var protocol_http_1 = require_dist_cjs2(); + var querystring_builder_1 = require_dist_cjs34(); + var http_1 = require("http"); + var https_1 = require("https"); + var constants_1 = require_constants5(); + var get_transformed_headers_1 = require_get_transformed_headers(); + var set_connection_timeout_1 = require_set_connection_timeout(); + var set_socket_keep_alive_1 = require_set_socket_keep_alive(); + var set_socket_timeout_1 = require_set_socket_timeout(); + var write_request_body_1 = require_write_request_body(); + exports.DEFAULT_REQUEST_TIMEOUT = 0; + var NodeHttpHandler = class { constructor(options) { - super(options.message); - Object.setPrototypeOf(this, _ServiceException.prototype); - this.name = options.name; - this.$fault = options.$fault; - this.$metadata = options.$metadata; + this.metadata = { handlerProtocol: "http/1.1" }; + this.configProvider = new Promise((resolve, reject) => { + if (typeof options === "function") { + options().then((_options) => { + resolve(this.resolveDefaultConfig(_options)); + }).catch(reject); + } else { + resolve(this.resolveDefaultConfig(options)); + } + }); } - }; - exports.ServiceException = ServiceException; - var decorateServiceException = (exception, additions = {}) => { - Object.entries(additions).filter(([, v]) => v !== void 0).forEach(([k, v]) => { - if (exception[k] == void 0 || exception[k] === "") { - exception[k] = v; + resolveDefaultConfig(options) { + const { requestTimeout, connectionTimeout, socketTimeout, httpAgent, httpsAgent } = options || {}; + const keepAlive = true; + const maxSockets = 50; + return { + connectionTimeout, + requestTimeout: requestTimeout !== null && requestTimeout !== void 0 ? requestTimeout : socketTimeout, + httpAgent: httpAgent || new http_1.Agent({ keepAlive, maxSockets }), + httpsAgent: httpsAgent || new https_1.Agent({ keepAlive, maxSockets }) + }; + } + destroy() { + var _a, _b, _c, _d; + (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.httpAgent) === null || _b === void 0 ? void 0 : _b.destroy(); + (_d = (_c = this.config) === null || _c === void 0 ? void 0 : _c.httpsAgent) === null || _d === void 0 ? void 0 : _d.destroy(); + } + async handle(request2, { abortSignal } = {}) { + if (!this.config) { + this.config = await this.configProvider; } - }); - const message = exception.message || exception.Message || "UnknownError"; - exception.message = message; - delete exception.Message; - return exception; - }; - exports.decorateServiceException = decorateServiceException; - } -}); - -// ../../../node_modules/@smithy/smithy-client/dist-cjs/default-error-handler.js -var require_default_error_handler = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/default-error-handler.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.withBaseException = exports.throwDefaultError = void 0; - var exceptions_1 = require_exceptions(); - var throwDefaultError = ({ output, parsedBody, exceptionCtor, errorCode }) => { - const $metadata = deserializeMetadata(output); - const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : void 0; - const response = new exceptionCtor({ - name: (parsedBody === null || parsedBody === void 0 ? void 0 : parsedBody.code) || (parsedBody === null || parsedBody === void 0 ? void 0 : parsedBody.Code) || errorCode || statusCode || "UnknownError", - $fault: "client", - $metadata - }); - throw (0, exceptions_1.decorateServiceException)(response, parsedBody); - }; - exports.throwDefaultError = throwDefaultError; - var withBaseException = (ExceptionCtor) => { - return ({ output, parsedBody, errorCode }) => { - (0, exports.throwDefaultError)({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode }); - }; - }; - exports.withBaseException = withBaseException; - var deserializeMetadata = (output) => { - var _a, _b; - return { - httpStatusCode: output.statusCode, - requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"], - extendedRequestId: output.headers["x-amz-id-2"], - cfId: output.headers["x-amz-cf-id"] - }; - }; - } -}); - -// ../../../node_modules/@smithy/smithy-client/dist-cjs/defaults-mode.js -var require_defaults_mode = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/defaults-mode.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.loadConfigsForDefaultMode = void 0; - var loadConfigsForDefaultMode = (mode) => { - switch (mode) { - case "standard": - return { - retryMode: "standard", - connectionTimeout: 3100 + return new Promise((_resolve, _reject) => { + var _a, _b; + let writeRequestBodyPromise = void 0; + const resolve = async (arg) => { + await writeRequestBodyPromise; + _resolve(arg); }; - case "in-region": - return { - retryMode: "standard", - connectionTimeout: 1100 + const reject = async (arg) => { + await writeRequestBodyPromise; + _reject(arg); }; - case "cross-region": - return { - retryMode: "standard", - connectionTimeout: 3100 + if (!this.config) { + throw new Error("Node HTTP request handler config is not resolved"); + } + if (abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.aborted) { + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + reject(abortError); + return; + } + const isSSL = request2.protocol === "https:"; + const queryString = (0, querystring_builder_1.buildQueryString)(request2.query || {}); + let auth = void 0; + if (request2.username != null || request2.password != null) { + const username = (_a = request2.username) !== null && _a !== void 0 ? _a : ""; + const password = (_b = request2.password) !== null && _b !== void 0 ? _b : ""; + auth = `${username}:${password}`; + } + let path = request2.path; + if (queryString) { + path += `?${queryString}`; + } + if (request2.fragment) { + path += `#${request2.fragment}`; + } + const nodeHttpsOptions = { + headers: request2.headers, + host: request2.hostname, + method: request2.method, + path, + port: request2.port, + agent: isSSL ? this.config.httpsAgent : this.config.httpAgent, + auth }; - case "mobile": + const requestFunc = isSSL ? https_1.request : http_1.request; + const req = requestFunc(nodeHttpsOptions, (res) => { + const httpResponse = new protocol_http_1.HttpResponse({ + statusCode: res.statusCode || -1, + reason: res.statusMessage, + headers: (0, get_transformed_headers_1.getTransformedHeaders)(res.headers), + body: res + }); + resolve({ response: httpResponse }); + }); + req.on("error", (err) => { + if (constants_1.NODEJS_TIMEOUT_ERROR_CODES.includes(err.code)) { + reject(Object.assign(err, { name: "TimeoutError" })); + } else { + reject(err); + } + }); + (0, set_connection_timeout_1.setConnectionTimeout)(req, reject, this.config.connectionTimeout); + (0, set_socket_timeout_1.setSocketTimeout)(req, reject, this.config.requestTimeout); + if (abortSignal) { + abortSignal.onabort = () => { + req.abort(); + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + reject(abortError); + }; + } + const httpAgent = nodeHttpsOptions.agent; + if (typeof httpAgent === "object" && "keepAlive" in httpAgent) { + (0, set_socket_keep_alive_1.setSocketKeepAlive)(req, { + keepAlive: httpAgent.keepAlive, + keepAliveMsecs: httpAgent.keepAliveMsecs + }); + } + writeRequestBodyPromise = (0, write_request_body_1.writeRequestBody)(req, request2, this.config.requestTimeout).catch(_reject); + }); + } + updateHttpClientConfig(key, value) { + this.config = void 0; + this.configProvider = this.configProvider.then((config) => { return { - retryMode: "standard", - connectionTimeout: 3e4 + ...config, + [key]: value }; - default: - return {}; + }); + } + httpHandlerConfigs() { + var _a; + return (_a = this.config) !== null && _a !== void 0 ? _a : {}; } }; - exports.loadConfigsForDefaultMode = loadConfigsForDefaultMode; + exports.NodeHttpHandler = NodeHttpHandler; } }); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/emitWarningIfUnsupportedVersion.js -var require_emitWarningIfUnsupportedVersion = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/emitWarningIfUnsupportedVersion.js"(exports) { +// ../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js +var require_node_http2_connection_pool = __commonJS({ + "../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.emitWarningIfUnsupportedVersion = void 0; - var warningEmitted = false; - var emitWarningIfUnsupportedVersion = (version2) => { - if (version2 && !warningEmitted && parseInt(version2.substring(1, version2.indexOf("."))) < 14) { - warningEmitted = true; + exports.NodeHttp2ConnectionPool = void 0; + var NodeHttp2ConnectionPool = class { + constructor(sessions) { + this.sessions = []; + this.sessions = sessions !== null && sessions !== void 0 ? sessions : []; + } + poll() { + if (this.sessions.length > 0) { + return this.sessions.shift(); + } + } + offerLast(session) { + this.sessions.push(session); + } + contains(session) { + return this.sessions.includes(session); + } + remove(session) { + this.sessions = this.sessions.filter((s) => s !== session); + } + [Symbol.iterator]() { + return this.sessions[Symbol.iterator](); + } + destroy(connection) { + for (const session of this.sessions) { + if (session === connection) { + if (!session.destroyed) { + session.destroy(); + } + } + } } }; - exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion; + exports.NodeHttp2ConnectionPool = NodeHttp2ConnectionPool; } }); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js -var require_checksum4 = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js"(exports) { +// ../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js +var require_node_http2_connection_manager = __commonJS({ + "../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveChecksumRuntimeConfig = exports.getChecksumConfiguration = exports.AlgorithmId = void 0; - var types_1 = require_dist_cjs(); - Object.defineProperty(exports, "AlgorithmId", { enumerable: true, get: function() { - return types_1.AlgorithmId; - } }); - var getChecksumConfiguration = (runtimeConfig) => { - const checksumAlgorithms = []; - for (const id in types_1.AlgorithmId) { - const algorithmId = types_1.AlgorithmId[id]; - if (runtimeConfig[algorithmId] === void 0) { - continue; + exports.NodeHttp2ConnectionManager = void 0; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + var http2_1 = tslib_1.__importDefault(require("http2")); + var node_http2_connection_pool_1 = require_node_http2_connection_pool(); + var NodeHttp2ConnectionManager = class { + constructor(config) { + this.sessionCache = /* @__PURE__ */ new Map(); + this.config = config; + if (this.config.maxConcurrency && this.config.maxConcurrency <= 0) { + throw new RangeError("maxConcurrency must be greater than zero."); } - checksumAlgorithms.push({ - algorithmId: () => algorithmId, - checksumConstructor: () => runtimeConfig[algorithmId] - }); } - return { - _checksumAlgorithms: checksumAlgorithms, - addChecksumAlgorithm(algo) { - this._checksumAlgorithms.push(algo); - }, - checksumAlgorithms() { - return this._checksumAlgorithms; + lease(requestContext, connectionConfiguration) { + const url2 = this.getUrlString(requestContext); + const existingPool = this.sessionCache.get(url2); + if (existingPool) { + const existingSession = existingPool.poll(); + if (existingSession && !this.config.disableConcurrency) { + return existingSession; + } } - }; - }; - exports.getChecksumConfiguration = getChecksumConfiguration; - var resolveChecksumRuntimeConfig = (clientConfig) => { - const runtimeConfig = {}; - clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => { - runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor(); - }); - return runtimeConfig; - }; - exports.resolveChecksumRuntimeConfig = resolveChecksumRuntimeConfig; - } -}); - -// ../../../node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js -var require_retry3 = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveRetryRuntimeConfig = exports.getRetryConfiguration = void 0; - var getRetryConfiguration = (runtimeConfig) => { - let _retryStrategy = runtimeConfig.retryStrategy; - return { - setRetryStrategy(retryStrategy) { - _retryStrategy = retryStrategy; - }, - retryStrategy() { - return _retryStrategy; + const session = http2_1.default.connect(url2); + if (this.config.maxConcurrency) { + session.settings({ maxConcurrentStreams: this.config.maxConcurrency }, (err) => { + if (err) { + throw new Error("Fail to set maxConcurrentStreams to " + this.config.maxConcurrency + "when creating new session for " + requestContext.destination.toString()); + } + }); } - }; - }; - exports.getRetryConfiguration = getRetryConfiguration; - var resolveRetryRuntimeConfig = (retryStrategyConfiguration) => { - const runtimeConfig = {}; - runtimeConfig.retryStrategy = retryStrategyConfiguration.retryStrategy(); - return runtimeConfig; - }; - exports.resolveRetryRuntimeConfig = resolveRetryRuntimeConfig; - } -}); - -// ../../../node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js -var require_defaultExtensionConfiguration2 = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveDefaultRuntimeConfig = exports.getDefaultClientConfiguration = exports.getDefaultExtensionConfiguration = void 0; - var checksum_1 = require_checksum4(); - var retry_1 = require_retry3(); - var getDefaultExtensionConfiguration = (runtimeConfig) => { - return { - ...(0, checksum_1.getChecksumConfiguration)(runtimeConfig), - ...(0, retry_1.getRetryConfiguration)(runtimeConfig) - }; - }; - exports.getDefaultExtensionConfiguration = getDefaultExtensionConfiguration; - exports.getDefaultClientConfiguration = exports.getDefaultExtensionConfiguration; - var resolveDefaultRuntimeConfig = (config) => { - return { - ...(0, checksum_1.resolveChecksumRuntimeConfig)(config), - ...(0, retry_1.resolveRetryRuntimeConfig)(config) - }; - }; - exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig; - } -}); - -// ../../../node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js -var require_extensions4 = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_defaultExtensionConfiguration2(), exports); - } -}); - -// ../../../node_modules/@smithy/smithy-client/dist-cjs/extended-encode-uri-component.js -var require_extended_encode_uri_component = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/extended-encode-uri-component.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.extendedEncodeURIComponent = void 0; - function extendedEncodeURIComponent(str) { - return encodeURIComponent(str).replace(/[!'()*]/g, function(c) { - return "%" + c.charCodeAt(0).toString(16).toUpperCase(); - }); - } - exports.extendedEncodeURIComponent = extendedEncodeURIComponent; - } -}); - -// ../../../node_modules/@smithy/smithy-client/dist-cjs/get-array-if-single-item.js -var require_get_array_if_single_item = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/get-array-if-single-item.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getArrayIfSingleItem = void 0; - var getArrayIfSingleItem = (mayBeArray) => Array.isArray(mayBeArray) ? mayBeArray : [mayBeArray]; - exports.getArrayIfSingleItem = getArrayIfSingleItem; - } -}); - -// ../../../node_modules/@smithy/smithy-client/dist-cjs/get-value-from-text-node.js -var require_get_value_from_text_node = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/get-value-from-text-node.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getValueFromTextNode = void 0; - var getValueFromTextNode = (obj) => { - const textNodeName = "#text"; - for (const key in obj) { - if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== void 0) { - obj[key] = obj[key][textNodeName]; - } else if (typeof obj[key] === "object" && obj[key] !== null) { - obj[key] = (0, exports.getValueFromTextNode)(obj[key]); + session.unref(); + const destroySessionCb = () => { + session.destroy(); + this.deleteSession(url2, session); + }; + session.on("goaway", destroySessionCb); + session.on("error", destroySessionCb); + session.on("frameError", destroySessionCb); + session.on("close", () => this.deleteSession(url2, session)); + if (connectionConfiguration.requestTimeout) { + session.setTimeout(connectionConfiguration.requestTimeout, destroySessionCb); } + const connectionPool = this.sessionCache.get(url2) || new node_http2_connection_pool_1.NodeHttp2ConnectionPool(); + connectionPool.offerLast(session); + this.sessionCache.set(url2, connectionPool); + return session; } - return obj; - }; - exports.getValueFromTextNode = getValueFromTextNode; - } -}); - -// ../../../node_modules/@smithy/smithy-client/dist-cjs/lazy-json.js -var require_lazy_json = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/lazy-json.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.LazyJsonString = exports.StringWrapper = void 0; - var StringWrapper = function() { - const Class = Object.getPrototypeOf(this).constructor; - const Constructor = Function.bind.apply(String, [null, ...arguments]); - const instance = new Constructor(); - Object.setPrototypeOf(instance, Class.prototype); - return instance; - }; - exports.StringWrapper = StringWrapper; - exports.StringWrapper.prototype = Object.create(String.prototype, { - constructor: { - value: exports.StringWrapper, - enumerable: false, - writable: true, - configurable: true + deleteSession(authority, session) { + const existingConnectionPool = this.sessionCache.get(authority); + if (!existingConnectionPool) { + return; + } + if (!existingConnectionPool.contains(session)) { + return; + } + existingConnectionPool.remove(session); + this.sessionCache.set(authority, existingConnectionPool); } - }); - Object.setPrototypeOf(exports.StringWrapper, String); - var LazyJsonString = class _LazyJsonString extends exports.StringWrapper { - deserializeJSON() { - return JSON.parse(super.toString()); + release(requestContext, session) { + var _a; + const cacheKey = this.getUrlString(requestContext); + (_a = this.sessionCache.get(cacheKey)) === null || _a === void 0 ? void 0 : _a.offerLast(session); } - toJSON() { - return super.toString(); + destroy() { + for (const [key, connectionPool] of this.sessionCache) { + for (const session of connectionPool) { + if (!session.destroyed) { + session.destroy(); + } + connectionPool.remove(session); + } + this.sessionCache.delete(key); + } } - static fromObject(object) { - if (object instanceof _LazyJsonString) { - return object; - } else if (object instanceof String || typeof object === "string") { - return new _LazyJsonString(object); + setMaxConcurrentStreams(maxConcurrentStreams) { + if (this.config.maxConcurrency && this.config.maxConcurrency <= 0) { + throw new RangeError("maxConcurrentStreams must be greater than zero."); } - return new _LazyJsonString(JSON.stringify(object)); + this.config.maxConcurrency = maxConcurrentStreams; + } + setDisableConcurrentStreams(disableConcurrentStreams) { + this.config.disableConcurrency = disableConcurrentStreams; + } + getUrlString(request2) { + return request2.destination.toString(); } }; - exports.LazyJsonString = LazyJsonString; + exports.NodeHttp2ConnectionManager = NodeHttp2ConnectionManager; } }); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/object-mapping.js -var require_object_mapping = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/object-mapping.js"(exports) { +// ../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +var require_node_http2_handler = __commonJS({ + "../../../node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.take = exports.convertMap = exports.map = void 0; - function map(arg0, arg1, arg2) { - let target; - let filter; - let instructions; - if (typeof arg1 === "undefined" && typeof arg2 === "undefined") { - target = {}; - instructions = arg0; - } else { - target = arg0; - if (typeof arg1 === "function") { - filter = arg1; - instructions = arg2; - return mapWithFilter(target, filter, instructions); - } else { - instructions = arg1; - } - } - for (const key of Object.keys(instructions)) { - if (!Array.isArray(instructions[key])) { - target[key] = instructions[key]; - continue; - } - applyInstruction(target, null, instructions, key); - } - return target; - } - exports.map = map; - var convertMap = (target) => { - const output = {}; - for (const [k, v] of Object.entries(target || {})) { - output[k] = [, v]; + exports.NodeHttp2Handler = void 0; + var protocol_http_1 = require_dist_cjs2(); + var querystring_builder_1 = require_dist_cjs34(); + var http2_1 = require("http2"); + var get_transformed_headers_1 = require_get_transformed_headers(); + var node_http2_connection_manager_1 = require_node_http2_connection_manager(); + var write_request_body_1 = require_write_request_body(); + var NodeHttp2Handler = class { + constructor(options) { + this.metadata = { handlerProtocol: "h2" }; + this.connectionManager = new node_http2_connection_manager_1.NodeHttp2ConnectionManager({}); + this.configProvider = new Promise((resolve, reject) => { + if (typeof options === "function") { + options().then((opts) => { + resolve(opts || {}); + }).catch(reject); + } else { + resolve(options || {}); + } + }); } - return output; - }; - exports.convertMap = convertMap; - var take = (source, instructions) => { - const out = {}; - for (const key in instructions) { - applyInstruction(out, source, instructions, key); + destroy() { + this.connectionManager.destroy(); } - return out; - }; - exports.take = take; - var mapWithFilter = (target, filter, instructions) => { - return map(target, Object.entries(instructions).reduce((_instructions, [key, value]) => { - if (Array.isArray(value)) { - _instructions[key] = value; - } else { - if (typeof value === "function") { - _instructions[key] = [filter, value()]; - } else { - _instructions[key] = [filter, value]; + async handle(request2, { abortSignal } = {}) { + if (!this.config) { + this.config = await this.configProvider; + this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams || false); + if (this.config.maxConcurrentStreams) { + this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams); } } - return _instructions; - }, {})); - }; - var applyInstruction = (target, source, instructions, targetKey) => { - if (source !== null) { - let instruction = instructions[targetKey]; - if (typeof instruction === "function") { - instruction = [, instruction]; - } - const [filter2 = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction; - if (typeof filter2 === "function" && filter2(source[sourceKey]) || typeof filter2 !== "function" && !!filter2) { - target[targetKey] = valueFn(source[sourceKey]); - } - return; + const { requestTimeout, disableConcurrentStreams } = this.config; + return new Promise((_resolve, _reject) => { + var _a, _b, _c; + let fulfilled = false; + let writeRequestBodyPromise = void 0; + const resolve = async (arg) => { + await writeRequestBodyPromise; + _resolve(arg); + }; + const reject = async (arg) => { + await writeRequestBodyPromise; + _reject(arg); + }; + if (abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.aborted) { + fulfilled = true; + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + reject(abortError); + return; + } + const { hostname, method, port, protocol, query } = request2; + let auth = ""; + if (request2.username != null || request2.password != null) { + const username = (_a = request2.username) !== null && _a !== void 0 ? _a : ""; + const password = (_b = request2.password) !== null && _b !== void 0 ? _b : ""; + auth = `${username}:${password}@`; + } + const authority = `${protocol}//${auth}${hostname}${port ? `:${port}` : ""}`; + const requestContext = { destination: new URL(authority) }; + const session = this.connectionManager.lease(requestContext, { + requestTimeout: (_c = this.config) === null || _c === void 0 ? void 0 : _c.sessionTimeout, + disableConcurrentStreams: disableConcurrentStreams || false + }); + const rejectWithDestroy = (err) => { + if (disableConcurrentStreams) { + this.destroySession(session); + } + fulfilled = true; + reject(err); + }; + const queryString = (0, querystring_builder_1.buildQueryString)(query || {}); + let path = request2.path; + if (queryString) { + path += `?${queryString}`; + } + if (request2.fragment) { + path += `#${request2.fragment}`; + } + const req = session.request({ + ...request2.headers, + [http2_1.constants.HTTP2_HEADER_PATH]: path, + [http2_1.constants.HTTP2_HEADER_METHOD]: method + }); + session.ref(); + req.on("response", (headers) => { + const httpResponse = new protocol_http_1.HttpResponse({ + statusCode: headers[":status"] || -1, + headers: (0, get_transformed_headers_1.getTransformedHeaders)(headers), + body: req + }); + fulfilled = true; + resolve({ response: httpResponse }); + if (disableConcurrentStreams) { + session.close(); + this.connectionManager.deleteSession(authority, session); + } + }); + if (requestTimeout) { + req.setTimeout(requestTimeout, () => { + req.close(); + const timeoutError = new Error(`Stream timed out because of no activity for ${requestTimeout} ms`); + timeoutError.name = "TimeoutError"; + rejectWithDestroy(timeoutError); + }); + } + if (abortSignal) { + abortSignal.onabort = () => { + req.close(); + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + rejectWithDestroy(abortError); + }; + } + req.on("frameError", (type, code, id) => { + rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`)); + }); + req.on("error", rejectWithDestroy); + req.on("aborted", () => { + rejectWithDestroy(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${req.rstCode}.`)); + }); + req.on("close", () => { + session.unref(); + if (disableConcurrentStreams) { + session.destroy(); + } + if (!fulfilled) { + rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response")); + } + }); + writeRequestBodyPromise = (0, write_request_body_1.writeRequestBody)(req, request2, requestTimeout); + }); } - let [filter, value] = instructions[targetKey]; - if (typeof value === "function") { - let _value; - const defaultFilterPassed = filter === void 0 && (_value = value()) != null; - const customFilterPassed = typeof filter === "function" && !!filter(void 0) || typeof filter !== "function" && !!filter; - if (defaultFilterPassed) { - target[targetKey] = _value; - } else if (customFilterPassed) { - target[targetKey] = value(); - } - } else { - const defaultFilterPassed = filter === void 0 && value != null; - const customFilterPassed = typeof filter === "function" && !!filter(value) || typeof filter !== "function" && !!filter; - if (defaultFilterPassed || customFilterPassed) { - target[targetKey] = value; - } + updateHttpClientConfig(key, value) { + this.config = void 0; + this.configProvider = this.configProvider.then((config) => { + return { + ...config, + [key]: value + }; + }); } - }; - var nonNullish = (_) => _ != null; - var pass = (_) => _; - } -}); - -// ../../../node_modules/@smithy/smithy-client/dist-cjs/resolve-path.js -var require_resolve_path = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/resolve-path.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolvedPath = void 0; - var extended_encode_uri_component_1 = require_extended_encode_uri_component(); - var resolvedPath = (resolvedPath2, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => { - if (input != null && input[memberName] !== void 0) { - const labelValue = labelValueProvider(); - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: " + memberName + "."); + httpHandlerConfigs() { + var _a; + return (_a = this.config) !== null && _a !== void 0 ? _a : {}; + } + destroySession(session) { + if (!session.destroyed) { + session.destroy(); } - resolvedPath2 = resolvedPath2.replace(uriLabel, isGreedyLabel ? labelValue.split("/").map((segment) => (0, extended_encode_uri_component_1.extendedEncodeURIComponent)(segment)).join("/") : (0, extended_encode_uri_component_1.extendedEncodeURIComponent)(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: " + memberName + "."); } - return resolvedPath2; }; - exports.resolvedPath = resolvedPath; + exports.NodeHttp2Handler = NodeHttp2Handler; } }); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/ser-utils.js -var require_ser_utils = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/ser-utils.js"(exports) { +// ../../../node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js +var require_collector = __commonJS({ + "../../../node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.serializeFloat = void 0; - var serializeFloat = (value) => { - if (value !== value) { - return "NaN"; + exports.Collector = void 0; + var stream_1 = require("stream"); + var Collector = class extends stream_1.Writable { + constructor() { + super(...arguments); + this.bufferedBytes = []; } - switch (value) { - case Infinity: - return "Infinity"; - case -Infinity: - return "-Infinity"; - default: - return value; + _write(chunk, encoding, callback) { + this.bufferedBytes.push(chunk); + callback(); } }; - exports.serializeFloat = serializeFloat; + exports.Collector = Collector; } }); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/serde-json.js -var require_serde_json = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/serde-json.js"(exports) { +// ../../../node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js +var require_stream_collector = __commonJS({ + "../../../node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports._json = void 0; - var _json = (obj) => { - if (obj == null) { - return {}; - } - if (Array.isArray(obj)) { - return obj.filter((_) => _ != null); + exports.streamCollector = void 0; + var collector_1 = require_collector(); + var streamCollector = (stream) => new Promise((resolve, reject) => { + const collector = new collector_1.Collector(); + stream.pipe(collector); + stream.on("error", (err) => { + collector.end(); + reject(err); + }); + collector.on("error", reject); + collector.on("finish", function() { + const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes)); + resolve(bytes); + }); + }); + exports.streamCollector = streamCollector; + } +}); + +// ../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js +var require_dist_cjs35 = __commonJS({ + "../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_node_http_handler(), exports); + tslib_1.__exportStar(require_node_http2_handler(), exports); + tslib_1.__exportStar(require_stream_collector(), exports); + } +}); + +// ../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +var require_sdk_stream_mixin = __commonJS({ + "../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.sdkStreamMixin = void 0; + var node_http_handler_1 = require_dist_cjs35(); + var util_buffer_from_1 = require_dist_cjs12(); + var stream_1 = require("stream"); + var util_1 = require("util"); + var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed."; + var sdkStreamMixin = (stream) => { + var _a, _b; + if (!(stream instanceof stream_1.Readable)) { + const name = ((_b = (_a = stream === null || stream === void 0 ? void 0 : stream.__proto__) === null || _a === void 0 ? void 0 : _a.constructor) === null || _b === void 0 ? void 0 : _b.name) || stream; + throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${name}`); } - if (typeof obj === "object") { - const target = {}; - for (const key of Object.keys(obj)) { - if (obj[key] == null) { - continue; + let transformed = false; + const transformToByteArray = async () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + transformed = true; + return await (0, node_http_handler_1.streamCollector)(stream); + }; + return Object.assign(stream, { + transformToByteArray, + transformToString: async (encoding) => { + const buf = await transformToByteArray(); + if (encoding === void 0 || Buffer.isEncoding(encoding)) { + return (0, util_buffer_from_1.fromArrayBuffer)(buf.buffer, buf.byteOffset, buf.byteLength).toString(encoding); + } else { + const decoder2 = new util_1.TextDecoder(encoding); + return decoder2.decode(buf); } - target[key] = (0, exports._json)(obj[key]); + }, + transformToWebStream: () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + if (stream.readableFlowing !== null) { + throw new Error("The stream has been consumed by other callbacks."); + } + if (typeof stream_1.Readable.toWeb !== "function") { + throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available."); + } + transformed = true; + return stream_1.Readable.toWeb(stream); } - return target; - } - return obj; + }); }; - exports._json = _json; + exports.sdkStreamMixin = sdkStreamMixin; } }); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/split-every.js -var require_split_every = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/split-every.js"(exports) { +// ../../../node_modules/@smithy/util-stream/dist-cjs/index.js +var require_dist_cjs36 = __commonJS({ + "../../../node_modules/@smithy/util-stream/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.splitEvery = void 0; - function splitEvery(value, delimiter, numDelimiters) { - if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) { - throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery."); - } - const segments = value.split(delimiter); - if (numDelimiters === 1) { - return segments; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_Uint8ArrayBlobAdapter(), exports); + tslib_1.__exportStar(require_getAwsChunkedEncodingStream(), exports); + tslib_1.__exportStar(require_sdk_stream_mixin(), exports); + } +}); + +// ../../../node_modules/@smithy/smithy-client/dist-cjs/collect-stream-body.js +var require_collect_stream_body = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/collect-stream-body.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.collectBody = void 0; + var util_stream_1 = require_dist_cjs36(); + var collectBody = async (streamBody = new Uint8Array(), context) => { + if (streamBody instanceof Uint8Array) { + return util_stream_1.Uint8ArrayBlobAdapter.mutate(streamBody); } - const compoundSegments = []; - let currentSegment = ""; - for (let i = 0; i < segments.length; i++) { - if (currentSegment === "") { - currentSegment = segments[i]; - } else { - currentSegment += delimiter + segments[i]; - } - if ((i + 1) % numDelimiters === 0) { - compoundSegments.push(currentSegment); - currentSegment = ""; - } + if (!streamBody) { + return util_stream_1.Uint8ArrayBlobAdapter.mutate(new Uint8Array()); } - if (currentSegment !== "") { - compoundSegments.push(currentSegment); + const fromContext = context.streamCollector(streamBody); + return util_stream_1.Uint8ArrayBlobAdapter.mutate(await fromContext); + }; + exports.collectBody = collectBody; + } +}); + +// ../../../node_modules/@smithy/smithy-client/dist-cjs/command.js +var require_command3 = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/command.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.Command = void 0; + var middleware_stack_1 = require_dist_cjs32(); + var Command = class { + constructor() { + this.middlewareStack = (0, middleware_stack_1.constructStack)(); } - return compoundSegments; - } - exports.splitEvery = splitEvery; + }; + exports.Command = Command; } }); -// ../../../node_modules/@smithy/smithy-client/dist-cjs/index.js -var require_dist_cjs35 = __commonJS({ - "../../../node_modules/@smithy/smithy-client/dist-cjs/index.js"(exports) { +// ../../../node_modules/@smithy/smithy-client/dist-cjs/constants.js +var require_constants6 = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/constants.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_NoOpLogger(), exports); - tslib_1.__exportStar(require_client3(), exports); - tslib_1.__exportStar(require_collect_stream_body(), exports); - tslib_1.__exportStar(require_command3(), exports); - tslib_1.__exportStar(require_constants6(), exports); - tslib_1.__exportStar(require_create_aggregated_client(), exports); - tslib_1.__exportStar(require_date_utils(), exports); - tslib_1.__exportStar(require_default_error_handler(), exports); - tslib_1.__exportStar(require_defaults_mode(), exports); - tslib_1.__exportStar(require_emitWarningIfUnsupportedVersion(), exports); - tslib_1.__exportStar(require_extensions4(), exports); - tslib_1.__exportStar(require_exceptions(), exports); - tslib_1.__exportStar(require_extended_encode_uri_component(), exports); - tslib_1.__exportStar(require_get_array_if_single_item(), exports); - tslib_1.__exportStar(require_get_value_from_text_node(), exports); - tslib_1.__exportStar(require_lazy_json(), exports); - tslib_1.__exportStar(require_object_mapping(), exports); - tslib_1.__exportStar(require_parse_utils(), exports); - tslib_1.__exportStar(require_resolve_path(), exports); - tslib_1.__exportStar(require_ser_utils(), exports); - tslib_1.__exportStar(require_serde_json(), exports); - tslib_1.__exportStar(require_split_every(), exports); + exports.SENSITIVE_STRING = void 0; + exports.SENSITIVE_STRING = "***SensitiveInformation***"; } }); -// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/endpoint/EndpointParameters.js -var require_EndpointParameters = __commonJS({ - "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/endpoint/EndpointParameters.js"(exports) { +// ../../../node_modules/@smithy/smithy-client/dist-cjs/create-aggregated-client.js +var require_create_aggregated_client = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/create-aggregated-client.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveClientEndpointParameters = void 0; - var resolveClientEndpointParameters = (options) => { - return { - ...options, - useDualstackEndpoint: options.useDualstackEndpoint ?? false, - useFipsEndpoint: options.useFipsEndpoint ?? false, - defaultSigningName: "states" - }; + exports.createAggregatedClient = void 0; + var createAggregatedClient = (commands, Client) => { + for (const command of Object.keys(commands)) { + const CommandCtor = commands[command]; + const methodImpl = async function(args, optionsOrCb, cb) { + const command2 = new CommandCtor(args); + if (typeof optionsOrCb === "function") { + this.send(command2, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") + throw new Error(`Expected http options but got ${typeof optionsOrCb}`); + this.send(command2, optionsOrCb || {}, cb); + } else { + return this.send(command2, optionsOrCb); + } + }; + const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, ""); + Client.prototype[methodName] = methodImpl; + } }; - exports.resolveClientEndpointParameters = resolveClientEndpointParameters; + exports.createAggregatedClient = createAggregatedClient; } }); -// ../../../node_modules/@aws-sdk/client-sfn/package.json -var require_package = __commonJS({ - "../../../node_modules/@aws-sdk/client-sfn/package.json"(exports, module2) { - module2.exports = { - name: "@aws-sdk/client-sfn", - description: "AWS SDK for JavaScript Sfn Client for Node.js, Browser and React Native", - version: "3.421.0", - scripts: { - build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", - "build:cjs": "tsc -p tsconfig.cjs.json", - "build:docs": "typedoc", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - clean: "rimraf ./dist-* && rimraf *.tsbuildinfo", - "extract:docs": "api-extractor run --local", - "generate:client": "node ../../scripts/generate-clients/single-service --solo sfn" - }, - main: "./dist-cjs/index.js", - types: "./dist-types/index.d.ts", - module: "./dist-es/index.js", - sideEffects: false, - dependencies: { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "3.421.0", - "@aws-sdk/credential-provider-node": "3.421.0", - "@aws-sdk/middleware-host-header": "3.418.0", - "@aws-sdk/middleware-logger": "3.418.0", - "@aws-sdk/middleware-recursion-detection": "3.418.0", - "@aws-sdk/middleware-signing": "3.418.0", - "@aws-sdk/middleware-user-agent": "3.418.0", - "@aws-sdk/region-config-resolver": "3.418.0", - "@aws-sdk/types": "3.418.0", - "@aws-sdk/util-endpoints": "3.418.0", - "@aws-sdk/util-user-agent-browser": "3.418.0", - "@aws-sdk/util-user-agent-node": "3.418.0", - "@smithy/config-resolver": "^2.0.10", - "@smithy/fetch-http-handler": "^2.1.5", - "@smithy/hash-node": "^2.0.9", - "@smithy/invalid-dependency": "^2.0.9", - "@smithy/middleware-content-length": "^2.0.11", - "@smithy/middleware-endpoint": "^2.0.9", - "@smithy/middleware-retry": "^2.0.12", - "@smithy/middleware-serde": "^2.0.9", - "@smithy/middleware-stack": "^2.0.2", - "@smithy/node-config-provider": "^2.0.12", - "@smithy/node-http-handler": "^2.1.5", - "@smithy/protocol-http": "^3.0.5", - "@smithy/smithy-client": "^2.1.6", - "@smithy/types": "^2.3.3", - "@smithy/url-parser": "^2.0.9", - "@smithy/util-base64": "^2.0.0", - "@smithy/util-body-length-browser": "^2.0.0", - "@smithy/util-body-length-node": "^2.1.0", - "@smithy/util-defaults-mode-browser": "^2.0.10", - "@smithy/util-defaults-mode-node": "^2.0.12", - "@smithy/util-retry": "^2.0.2", - "@smithy/util-utf8": "^2.0.0", - tslib: "^2.5.0" - }, - devDependencies: { - "@smithy/service-client-documentation-generator": "^2.0.0", - "@tsconfig/node14": "1.0.3", - "@types/node": "^14.14.31", - concurrently: "7.0.0", - "downlevel-dts": "0.10.1", - rimraf: "3.0.2", - typedoc: "0.23.23", - typescript: "~4.9.5" - }, - engines: { - node: ">=14.0.0" - }, - typesVersions: { - "<4.0": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - files: [ - "dist-*/**" - ], - author: { - name: "AWS SDK for JavaScript Team", - url: "https://aws.amazon.com/javascript/" - }, - license: "Apache-2.0", - browser: { - "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" - }, - "react-native": { - "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" - }, - homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sfn", - repository: { - type: "git", - url: "https://github.com/aws/aws-sdk-js-v3.git", - directory: "clients/client-sfn" - } - }; - } -}); - -// ../../../node_modules/@aws-sdk/middleware-sdk-sts/dist-cjs/index.js -var require_dist_cjs36 = __commonJS({ - "../../../node_modules/@aws-sdk/middleware-sdk-sts/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveStsAuthConfig = void 0; - var middleware_signing_1 = require_dist_cjs16(); - var resolveStsAuthConfig = (input, { stsClientCtor }) => (0, middleware_signing_1.resolveAwsAuthConfig)({ - ...input, - stsClientCtor - }); - exports.resolveStsAuthConfig = resolveStsAuthConfig; - } -}); - -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js -var require_EndpointParameters2 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js"(exports) { +// ../../../node_modules/@smithy/smithy-client/dist-cjs/parse-utils.js +var require_parse_utils = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/parse-utils.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveClientEndpointParameters = void 0; - var resolveClientEndpointParameters = (options) => { - return { - ...options, - useDualstackEndpoint: options.useDualstackEndpoint ?? false, - useFipsEndpoint: options.useFipsEndpoint ?? false, - useGlobalEndpoint: options.useGlobalEndpoint ?? false, - defaultSigningName: "sts" - }; - }; - exports.resolveClientEndpointParameters = resolveClientEndpointParameters; - } -}); - -// ../../../node_modules/@aws-sdk/client-sts/package.json -var require_package2 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/package.json"(exports, module2) { - module2.exports = { - name: "@aws-sdk/client-sts", - description: "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native", - version: "3.421.0", - scripts: { - build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", - "build:cjs": "tsc -p tsconfig.cjs.json", - "build:docs": "typedoc", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - clean: "rimraf ./dist-* && rimraf *.tsbuildinfo", - "extract:docs": "api-extractor run --local", - "generate:client": "node ../../scripts/generate-clients/single-service --solo sts", - test: "yarn test:unit", - "test:unit": "jest" - }, - main: "./dist-cjs/index.js", - types: "./dist-types/index.d.ts", - module: "./dist-es/index.js", - sideEffects: false, - dependencies: { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/credential-provider-node": "3.421.0", - "@aws-sdk/middleware-host-header": "3.418.0", - "@aws-sdk/middleware-logger": "3.418.0", - "@aws-sdk/middleware-recursion-detection": "3.418.0", - "@aws-sdk/middleware-sdk-sts": "3.418.0", - "@aws-sdk/middleware-signing": "3.418.0", - "@aws-sdk/middleware-user-agent": "3.418.0", - "@aws-sdk/region-config-resolver": "3.418.0", - "@aws-sdk/types": "3.418.0", - "@aws-sdk/util-endpoints": "3.418.0", - "@aws-sdk/util-user-agent-browser": "3.418.0", - "@aws-sdk/util-user-agent-node": "3.418.0", - "@smithy/config-resolver": "^2.0.10", - "@smithy/fetch-http-handler": "^2.1.5", - "@smithy/hash-node": "^2.0.9", - "@smithy/invalid-dependency": "^2.0.9", - "@smithy/middleware-content-length": "^2.0.11", - "@smithy/middleware-endpoint": "^2.0.9", - "@smithy/middleware-retry": "^2.0.12", - "@smithy/middleware-serde": "^2.0.9", - "@smithy/middleware-stack": "^2.0.2", - "@smithy/node-config-provider": "^2.0.12", - "@smithy/node-http-handler": "^2.1.5", - "@smithy/protocol-http": "^3.0.5", - "@smithy/smithy-client": "^2.1.6", - "@smithy/types": "^2.3.3", - "@smithy/url-parser": "^2.0.9", - "@smithy/util-base64": "^2.0.0", - "@smithy/util-body-length-browser": "^2.0.0", - "@smithy/util-body-length-node": "^2.1.0", - "@smithy/util-defaults-mode-browser": "^2.0.10", - "@smithy/util-defaults-mode-node": "^2.0.12", - "@smithy/util-retry": "^2.0.2", - "@smithy/util-utf8": "^2.0.0", - "fast-xml-parser": "4.2.5", - tslib: "^2.5.0" - }, - devDependencies: { - "@smithy/service-client-documentation-generator": "^2.0.0", - "@tsconfig/node14": "1.0.3", - "@types/node": "^14.14.31", - concurrently: "7.0.0", - "downlevel-dts": "0.10.1", - rimraf: "3.0.2", - typedoc: "0.23.23", - typescript: "~4.9.5" - }, - engines: { - node: ">=14.0.0" - }, - typesVersions: { - "<4.0": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - files: [ - "dist-*/**" - ], - author: { - name: "AWS SDK for JavaScript Team", - url: "https://aws.amazon.com/javascript/" - }, - license: "Apache-2.0", - browser: { - "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" - }, - "react-native": { - "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" - }, - 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" + exports.logger = exports.strictParseByte = exports.strictParseShort = exports.strictParseInt32 = exports.strictParseInt = exports.strictParseLong = exports.limitedParseFloat32 = exports.limitedParseFloat = exports.handleFloat = exports.limitedParseDouble = exports.strictParseFloat32 = exports.strictParseFloat = exports.strictParseDouble = exports.expectUnion = exports.expectString = exports.expectObject = exports.expectNonNull = exports.expectByte = exports.expectShort = exports.expectInt32 = exports.expectInt = exports.expectLong = exports.expectFloat32 = exports.expectNumber = exports.expectBoolean = exports.parseBoolean = void 0; + var parseBoolean = (value) => { + switch (value) { + case "true": + return true; + case "false": + return false; + default: + throw new Error(`Unable to parse boolean value "${value}"`); } }; - } -}); - -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/models/STSServiceException.js -var require_STSServiceException = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/models/STSServiceException.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.STSServiceException = exports.__ServiceException = void 0; - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function() { - return smithy_client_1.ServiceException; - } }); - var STSServiceException = class _STSServiceException extends smithy_client_1.ServiceException { - constructor(options) { - super(options); - Object.setPrototypeOf(this, _STSServiceException.prototype); + exports.parseBoolean = parseBoolean; + var expectBoolean = (value) => { + if (value === null || value === void 0) { + return void 0; } - }; - exports.STSServiceException = STSServiceException; - } -}); - -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/models/models_0.js -var require_models_0 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/models/models_0.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.GetSessionTokenResponseFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.AssumeRoleWithWebIdentityResponseFilterSensitiveLog = exports.AssumeRoleWithWebIdentityRequestFilterSensitiveLog = exports.AssumeRoleWithSAMLResponseFilterSensitiveLog = exports.AssumeRoleWithSAMLRequestFilterSensitiveLog = exports.AssumeRoleResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.InvalidAuthorizationMessageException = exports.IDPCommunicationErrorException = exports.InvalidIdentityTokenException = exports.IDPRejectedClaimException = exports.RegionDisabledException = exports.PackedPolicyTooLargeException = exports.MalformedPolicyDocumentException = exports.ExpiredTokenException = void 0; - var smithy_client_1 = require_dist_cjs35(); - var STSServiceException_1 = require_STSServiceException(); - var ExpiredTokenException = class _ExpiredTokenException extends STSServiceException_1.STSServiceException { - constructor(opts) { - super({ - name: "ExpiredTokenException", - $fault: "client", - ...opts - }); - this.name = "ExpiredTokenException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _ExpiredTokenException.prototype); + if (typeof value === "number") { + if (value === 0 || value === 1) { + exports.logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`)); + } + if (value === 0) { + return false; + } + if (value === 1) { + return true; + } } - }; - exports.ExpiredTokenException = ExpiredTokenException; - var MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException_1.STSServiceException { - constructor(opts) { - super({ - name: "MalformedPolicyDocumentException", - $fault: "client", - ...opts - }); - this.name = "MalformedPolicyDocumentException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype); + if (typeof value === "string") { + const lower = value.toLowerCase(); + if (lower === "false" || lower === "true") { + exports.logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`)); + } + if (lower === "false") { + return false; + } + if (lower === "true") { + return true; + } } - }; - exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException; - var PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException_1.STSServiceException { - constructor(opts) { - super({ - name: "PackedPolicyTooLargeException", - $fault: "client", - ...opts - }); - this.name = "PackedPolicyTooLargeException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype); + if (typeof value === "boolean") { + return value; } + throw new TypeError(`Expected boolean, got ${typeof value}: ${value}`); }; - exports.PackedPolicyTooLargeException = PackedPolicyTooLargeException; - var RegionDisabledException = class _RegionDisabledException extends STSServiceException_1.STSServiceException { - constructor(opts) { - super({ - name: "RegionDisabledException", - $fault: "client", - ...opts - }); - this.name = "RegionDisabledException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _RegionDisabledException.prototype); + exports.expectBoolean = expectBoolean; + var expectNumber = (value) => { + if (value === null || value === void 0) { + return void 0; + } + if (typeof value === "string") { + const parsed = parseFloat(value); + if (!Number.isNaN(parsed)) { + if (String(parsed) !== String(value)) { + exports.logger.warn(stackTraceWarning(`Expected number but observed string: ${value}`)); + } + return parsed; + } + } + if (typeof value === "number") { + return value; } + throw new TypeError(`Expected number, got ${typeof value}: ${value}`); }; - exports.RegionDisabledException = RegionDisabledException; - var IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException_1.STSServiceException { - constructor(opts) { - super({ - name: "IDPRejectedClaimException", - $fault: "client", - ...opts - }); - this.name = "IDPRejectedClaimException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype); + exports.expectNumber = expectNumber; + var MAX_FLOAT = Math.ceil(2 ** 127 * (2 - 2 ** -23)); + var expectFloat32 = (value) => { + const expected = (0, exports.expectNumber)(value); + if (expected !== void 0 && !Number.isNaN(expected) && expected !== Infinity && expected !== -Infinity) { + if (Math.abs(expected) > MAX_FLOAT) { + throw new TypeError(`Expected 32-bit float, got ${value}`); + } } + return expected; }; - exports.IDPRejectedClaimException = IDPRejectedClaimException; - var InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException_1.STSServiceException { - constructor(opts) { - super({ - name: "InvalidIdentityTokenException", - $fault: "client", - ...opts - }); - this.name = "InvalidIdentityTokenException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype); + exports.expectFloat32 = expectFloat32; + var expectLong = (value) => { + if (value === null || value === void 0) { + return void 0; + } + if (Number.isInteger(value) && !Number.isNaN(value)) { + return value; } + throw new TypeError(`Expected integer, got ${typeof value}: ${value}`); }; - exports.InvalidIdentityTokenException = InvalidIdentityTokenException; - var IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException_1.STSServiceException { - constructor(opts) { - super({ - name: "IDPCommunicationErrorException", - $fault: "client", - ...opts - }); - this.name = "IDPCommunicationErrorException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype); + exports.expectLong = expectLong; + exports.expectInt = exports.expectLong; + var expectInt32 = (value) => expectSizedInt(value, 32); + exports.expectInt32 = expectInt32; + var expectShort = (value) => expectSizedInt(value, 16); + exports.expectShort = expectShort; + var expectByte = (value) => expectSizedInt(value, 8); + exports.expectByte = expectByte; + var expectSizedInt = (value, size) => { + const expected = (0, exports.expectLong)(value); + if (expected !== void 0 && castInt(expected, size) !== expected) { + throw new TypeError(`Expected ${size}-bit integer, got ${value}`); } + return expected; }; - exports.IDPCommunicationErrorException = IDPCommunicationErrorException; - var InvalidAuthorizationMessageException = class _InvalidAuthorizationMessageException extends STSServiceException_1.STSServiceException { - constructor(opts) { - super({ - name: "InvalidAuthorizationMessageException", - $fault: "client", - ...opts - }); - this.name = "InvalidAuthorizationMessageException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidAuthorizationMessageException.prototype); + var castInt = (value, size) => { + switch (size) { + case 32: + return Int32Array.of(value)[0]; + case 16: + return Int16Array.of(value)[0]; + case 8: + return Int8Array.of(value)[0]; } }; - exports.InvalidAuthorizationMessageException = InvalidAuthorizationMessageException; - var CredentialsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.SecretAccessKey && { SecretAccessKey: smithy_client_1.SENSITIVE_STRING } - }); - exports.CredentialsFilterSensitiveLog = CredentialsFilterSensitiveLog; - var AssumeRoleResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) } - }); - exports.AssumeRoleResponseFilterSensitiveLog = AssumeRoleResponseFilterSensitiveLog; - var AssumeRoleWithSAMLRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.SAMLAssertion && { SAMLAssertion: smithy_client_1.SENSITIVE_STRING } - }); - exports.AssumeRoleWithSAMLRequestFilterSensitiveLog = AssumeRoleWithSAMLRequestFilterSensitiveLog; - var AssumeRoleWithSAMLResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) } - }); - exports.AssumeRoleWithSAMLResponseFilterSensitiveLog = AssumeRoleWithSAMLResponseFilterSensitiveLog; - var AssumeRoleWithWebIdentityRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.WebIdentityToken && { WebIdentityToken: smithy_client_1.SENSITIVE_STRING } - }); - exports.AssumeRoleWithWebIdentityRequestFilterSensitiveLog = AssumeRoleWithWebIdentityRequestFilterSensitiveLog; - var AssumeRoleWithWebIdentityResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) } - }); - exports.AssumeRoleWithWebIdentityResponseFilterSensitiveLog = AssumeRoleWithWebIdentityResponseFilterSensitiveLog; - var GetFederationTokenResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) } - }); - exports.GetFederationTokenResponseFilterSensitiveLog = GetFederationTokenResponseFilterSensitiveLog; - var GetSessionTokenResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) } - }); - exports.GetSessionTokenResponseFilterSensitiveLog = GetSessionTokenResponseFilterSensitiveLog; - } -}); - -// ../../../node_modules/fast-xml-parser/src/util.js -var require_util4 = __commonJS({ - "../../../node_modules/fast-xml-parser/src/util.js"(exports) { - "use strict"; - var nameStartChar = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD"; - var nameChar = nameStartChar + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040"; - var nameRegexp = "[" + nameStartChar + "][" + nameChar + "]*"; - var regexName = new RegExp("^" + nameRegexp + "$"); - var getAllMatches = function(string, regex) { - const matches = []; - let match = regex.exec(string); - while (match) { - const allmatches = []; - allmatches.startIndex = regex.lastIndex - match[0].length; - const len = match.length; - for (let index = 0; index < len; index++) { - allmatches.push(match[index]); + var expectNonNull = (value, location) => { + if (value === null || value === void 0) { + if (location) { + throw new TypeError(`Expected a non-null value for ${location}`); } - matches.push(allmatches); - match = regex.exec(string); + throw new TypeError("Expected a non-null value"); } - return matches; + return value; }; - var isName = function(string) { - const match = regexName.exec(string); - return !(match === null || typeof match === "undefined"); + exports.expectNonNull = expectNonNull; + var expectObject = (value) => { + if (value === null || value === void 0) { + return void 0; + } + if (typeof value === "object" && !Array.isArray(value)) { + return value; + } + const receivedType = Array.isArray(value) ? "array" : typeof value; + throw new TypeError(`Expected object, got ${receivedType}: ${value}`); }; - exports.isExist = function(v) { - return typeof v !== "undefined"; + exports.expectObject = expectObject; + var expectString = (value) => { + if (value === null || value === void 0) { + return void 0; + } + if (typeof value === "string") { + return value; + } + if (["boolean", "number", "bigint"].includes(typeof value)) { + exports.logger.warn(stackTraceWarning(`Expected string, got ${typeof value}: ${value}`)); + return String(value); + } + throw new TypeError(`Expected string, got ${typeof value}: ${value}`); }; - exports.isEmptyObject = function(obj) { - return Object.keys(obj).length === 0; + exports.expectString = expectString; + var expectUnion = (value) => { + if (value === null || value === void 0) { + return void 0; + } + const asObject = (0, exports.expectObject)(value); + const setKeys = Object.entries(asObject).filter(([, v]) => v != null).map(([k]) => k); + if (setKeys.length === 0) { + throw new TypeError(`Unions must have exactly one non-null member. None were found.`); + } + if (setKeys.length > 1) { + throw new TypeError(`Unions must have exactly one non-null member. Keys ${setKeys} were not null.`); + } + return asObject; }; - exports.merge = function(target, a, arrayMode) { - if (a) { - const keys = Object.keys(a); - const len = keys.length; - for (let i = 0; i < len; i++) { - if (arrayMode === "strict") { - target[keys[i]] = [a[keys[i]]]; - } else { - target[keys[i]] = a[keys[i]]; - } - } + exports.expectUnion = expectUnion; + var strictParseDouble = (value) => { + if (typeof value == "string") { + return (0, exports.expectNumber)(parseNumber(value)); } + return (0, exports.expectNumber)(value); }; - exports.getValue = function(v) { - if (exports.isExist(v)) { - return v; - } else { - return ""; + exports.strictParseDouble = strictParseDouble; + exports.strictParseFloat = exports.strictParseDouble; + var strictParseFloat32 = (value) => { + if (typeof value == "string") { + return (0, exports.expectFloat32)(parseNumber(value)); } + return (0, exports.expectFloat32)(value); }; - exports.isName = isName; - exports.getAllMatches = getAllMatches; - exports.nameRegexp = nameRegexp; - } -}); - -// ../../../node_modules/fast-xml-parser/src/validator.js -var require_validator = __commonJS({ - "../../../node_modules/fast-xml-parser/src/validator.js"(exports) { - "use strict"; - var util = require_util4(); - var defaultOptions = { - allowBooleanAttributes: false, - //A tag can have attributes without any value - unpairedTags: [] + exports.strictParseFloat32 = strictParseFloat32; + var NUMBER_REGEX = /(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g; + var parseNumber = (value) => { + const matches = value.match(NUMBER_REGEX); + if (matches === null || matches[0].length !== value.length) { + throw new TypeError(`Expected real number, got implicit NaN`); + } + return parseFloat(value); }; - exports.validate = function(xmlData, options) { - options = Object.assign({}, defaultOptions, options); - const tags = []; - let tagFound = false; - let reachedRoot = false; - if (xmlData[0] === "\uFEFF") { - xmlData = xmlData.substr(1); + var limitedParseDouble = (value) => { + if (typeof value == "string") { + return parseFloatString(value); } - for (let i = 0; i < xmlData.length; i++) { - if (xmlData[i] === "<" && xmlData[i + 1] === "?") { - i += 2; - i = readPI(xmlData, i); - if (i.err) - return i; - } else if (xmlData[i] === "<") { - let tagStartPos = i; - i++; - if (xmlData[i] === "!") { - i = readCommentAndCDATA(xmlData, i); - continue; - } else { - let closingTag = false; - if (xmlData[i] === "/") { - closingTag = true; - i++; - } - let tagName = ""; - for (; i < xmlData.length && xmlData[i] !== ">" && xmlData[i] !== " " && xmlData[i] !== " " && xmlData[i] !== "\n" && xmlData[i] !== "\r"; i++) { - tagName += xmlData[i]; - } - tagName = tagName.trim(); - if (tagName[tagName.length - 1] === "/") { - tagName = tagName.substring(0, tagName.length - 1); - i--; - } - if (!validateTagName(tagName)) { - let msg; - if (tagName.trim().length === 0) { - msg = "Invalid space after '<'."; - } else { - msg = "Tag '" + tagName + "' is an invalid name."; - } - return getErrorObject("InvalidTag", msg, getLineNumberForPosition(xmlData, i)); - } - const result = readAttributeStr(xmlData, i); - if (result === false) { - return getErrorObject("InvalidAttr", "Attributes for '" + tagName + "' have open quote.", getLineNumberForPosition(xmlData, i)); - } - let attrStr = result.value; - i = result.index; - if (attrStr[attrStr.length - 1] === "/") { - const attrStrStart = i - attrStr.length; - attrStr = attrStr.substring(0, attrStr.length - 1); - const isValid = validateAttributeString(attrStr, options); - if (isValid === true) { - tagFound = true; - } else { - return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, attrStrStart + isValid.err.line)); - } - } else if (closingTag) { - if (!result.tagClosed) { - return getErrorObject("InvalidTag", "Closing tag '" + tagName + "' doesn't have proper closing.", getLineNumberForPosition(xmlData, i)); - } else if (attrStr.trim().length > 0) { - return getErrorObject("InvalidTag", "Closing tag '" + tagName + "' can't have attributes or invalid starting.", getLineNumberForPosition(xmlData, tagStartPos)); - } else { - const otg = tags.pop(); - if (tagName !== otg.tagName) { - let openPos = getLineNumberForPosition(xmlData, otg.tagStartPos); - return getErrorObject( - "InvalidTag", - "Expected closing tag '" + otg.tagName + "' (opened in line " + openPos.line + ", col " + openPos.col + ") instead of closing tag '" + tagName + "'.", - getLineNumberForPosition(xmlData, tagStartPos) - ); - } - if (tags.length == 0) { - reachedRoot = true; - } - } - } else { - const isValid = validateAttributeString(attrStr, options); - if (isValid !== true) { - return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, i - attrStr.length + isValid.err.line)); - } - if (reachedRoot === true) { - return getErrorObject("InvalidXml", "Multiple possible root nodes found.", getLineNumberForPosition(xmlData, i)); - } else if (options.unpairedTags.indexOf(tagName) !== -1) { - } else { - tags.push({ tagName, tagStartPos }); - } - tagFound = true; - } - for (i++; i < xmlData.length; i++) { - if (xmlData[i] === "<") { - if (xmlData[i + 1] === "!") { - i++; - i = readCommentAndCDATA(xmlData, i); - continue; - } else if (xmlData[i + 1] === "?") { - i = readPI(xmlData, ++i); - if (i.err) - return i; - } else { - break; - } - } else if (xmlData[i] === "&") { - const afterAmp = validateAmpersand(xmlData, i); - if (afterAmp == -1) - return getErrorObject("InvalidChar", "char '&' is not expected.", getLineNumberForPosition(xmlData, i)); - i = afterAmp; - } else { - if (reachedRoot === true && !isWhiteSpace(xmlData[i])) { - return getErrorObject("InvalidXml", "Extra text at the end", getLineNumberForPosition(xmlData, i)); - } - } - } - if (xmlData[i] === "<") { - i--; - } - } - } else { - if (isWhiteSpace(xmlData[i])) { - continue; - } - return getErrorObject("InvalidChar", "char '" + xmlData[i] + "' is not expected.", getLineNumberForPosition(xmlData, i)); - } + return (0, exports.expectNumber)(value); + }; + exports.limitedParseDouble = limitedParseDouble; + exports.handleFloat = exports.limitedParseDouble; + exports.limitedParseFloat = exports.limitedParseDouble; + var limitedParseFloat32 = (value) => { + if (typeof value == "string") { + return parseFloatString(value); } - if (!tagFound) { - return getErrorObject("InvalidXml", "Start tag expected.", 1); - } else if (tags.length == 1) { - return getErrorObject("InvalidTag", "Unclosed tag '" + tags[0].tagName + "'.", getLineNumberForPosition(xmlData, tags[0].tagStartPos)); - } else if (tags.length > 0) { - return getErrorObject("InvalidXml", "Invalid '" + JSON.stringify(tags.map((t) => t.tagName), null, 4).replace(/\r?\n/g, "") + "' found.", { line: 1, col: 1 }); + return (0, exports.expectFloat32)(value); + }; + exports.limitedParseFloat32 = limitedParseFloat32; + var parseFloatString = (value) => { + switch (value) { + case "NaN": + return NaN; + case "Infinity": + return Infinity; + case "-Infinity": + return -Infinity; + default: + throw new Error(`Unable to parse float value: ${value}`); } - return true; }; - function isWhiteSpace(char) { - return char === " " || char === " " || char === "\n" || char === "\r"; - } - function readPI(xmlData, i) { - const start = i; - for (; i < xmlData.length; i++) { - if (xmlData[i] == "?" || xmlData[i] == " ") { - const tagname = xmlData.substr(start, i - start); - if (i > 5 && tagname === "xml") { - return getErrorObject("InvalidXml", "XML declaration allowed only at the start of the document.", getLineNumberForPosition(xmlData, i)); - } else if (xmlData[i] == "?" && xmlData[i + 1] == ">") { - i++; - break; - } else { - continue; - } - } + var strictParseLong = (value) => { + if (typeof value === "string") { + return (0, exports.expectLong)(parseNumber(value)); } - return i; - } - function readCommentAndCDATA(xmlData, i) { - if (xmlData.length > i + 5 && xmlData[i + 1] === "-" && xmlData[i + 2] === "-") { - for (i += 3; i < xmlData.length; i++) { - if (xmlData[i] === "-" && xmlData[i + 1] === "-" && xmlData[i + 2] === ">") { - i += 2; - break; - } - } - } else if (xmlData.length > i + 8 && xmlData[i + 1] === "D" && xmlData[i + 2] === "O" && xmlData[i + 3] === "C" && xmlData[i + 4] === "T" && xmlData[i + 5] === "Y" && xmlData[i + 6] === "P" && xmlData[i + 7] === "E") { - let angleBracketsCount = 1; - for (i += 8; i < xmlData.length; i++) { - if (xmlData[i] === "<") { - angleBracketsCount++; - } else if (xmlData[i] === ">") { - angleBracketsCount--; - if (angleBracketsCount === 0) { - break; - } - } - } - } else if (xmlData.length > i + 9 && xmlData[i + 1] === "[" && xmlData[i + 2] === "C" && xmlData[i + 3] === "D" && xmlData[i + 4] === "A" && xmlData[i + 5] === "T" && xmlData[i + 6] === "A" && xmlData[i + 7] === "[") { - for (i += 8; i < xmlData.length; i++) { - if (xmlData[i] === "]" && xmlData[i + 1] === "]" && xmlData[i + 2] === ">") { - i += 2; - break; - } - } - } - return i; - } - var doubleQuote = '"'; - var singleQuote = "'"; - function readAttributeStr(xmlData, i) { - let attrStr = ""; - let startChar = ""; - let tagClosed = false; - for (; i < xmlData.length; i++) { - if (xmlData[i] === doubleQuote || xmlData[i] === singleQuote) { - if (startChar === "") { - startChar = xmlData[i]; - } else if (startChar !== xmlData[i]) { - } else { - startChar = ""; - } - } else if (xmlData[i] === ">") { - if (startChar === "") { - tagClosed = true; - break; - } - } - attrStr += xmlData[i]; - } - if (startChar !== "") { - return false; - } - return { - value: attrStr, - index: i, - tagClosed - }; - } - var validAttrStrRegxp = new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`, "g"); - function validateAttributeString(attrStr, options) { - const matches = util.getAllMatches(attrStr, validAttrStrRegxp); - const attrNames = {}; - for (let i = 0; i < matches.length; i++) { - if (matches[i][1].length === 0) { - return getErrorObject("InvalidAttr", "Attribute '" + matches[i][2] + "' has no space in starting.", getPositionFromMatch(matches[i])); - } else if (matches[i][3] !== void 0 && matches[i][4] === void 0) { - return getErrorObject("InvalidAttr", "Attribute '" + matches[i][2] + "' is without value.", getPositionFromMatch(matches[i])); - } else if (matches[i][3] === void 0 && !options.allowBooleanAttributes) { - return getErrorObject("InvalidAttr", "boolean attribute '" + matches[i][2] + "' is not allowed.", getPositionFromMatch(matches[i])); - } - const attrName = matches[i][2]; - if (!validateAttrName(attrName)) { - return getErrorObject("InvalidAttr", "Attribute '" + attrName + "' is an invalid name.", getPositionFromMatch(matches[i])); - } - if (!attrNames.hasOwnProperty(attrName)) { - attrNames[attrName] = 1; - } else { - return getErrorObject("InvalidAttr", "Attribute '" + attrName + "' is repeated.", getPositionFromMatch(matches[i])); - } - } - return true; - } - function validateNumberAmpersand(xmlData, i) { - let re = /\d/; - if (xmlData[i] === "x") { - i++; - re = /[\da-fA-F]/; - } - for (; i < xmlData.length; i++) { - if (xmlData[i] === ";") - return i; - if (!xmlData[i].match(re)) - break; - } - return -1; - } - function validateAmpersand(xmlData, i) { - i++; - if (xmlData[i] === ";") - return -1; - if (xmlData[i] === "#") { - i++; - return validateNumberAmpersand(xmlData, i); + return (0, exports.expectLong)(value); + }; + exports.strictParseLong = strictParseLong; + exports.strictParseInt = exports.strictParseLong; + var strictParseInt32 = (value) => { + if (typeof value === "string") { + return (0, exports.expectInt32)(parseNumber(value)); } - let count = 0; - for (; i < xmlData.length; i++, count++) { - if (xmlData[i].match(/\w/) && count < 20) - continue; - if (xmlData[i] === ";") - break; - return -1; + return (0, exports.expectInt32)(value); + }; + exports.strictParseInt32 = strictParseInt32; + var strictParseShort = (value) => { + if (typeof value === "string") { + return (0, exports.expectShort)(parseNumber(value)); } - return i; - } - function getErrorObject(code, message, lineNumber) { - return { - err: { - code, - msg: message, - line: lineNumber.line || lineNumber, - col: lineNumber.col - } - }; - } - function validateAttrName(attrName) { - return util.isName(attrName); - } - function validateTagName(tagname) { - return util.isName(tagname); - } - function getLineNumberForPosition(xmlData, index) { - const lines = xmlData.substring(0, index).split(/\r?\n/); - return { - line: lines.length, - // column number is last line's length + 1, because column numbering starts at 1: - col: lines[lines.length - 1].length + 1 - }; - } - function getPositionFromMatch(match) { - return match.startIndex + match[1].length; - } - } -}); - -// ../../../node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js -var require_OptionsBuilder = __commonJS({ - "../../../node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js"(exports) { - var defaultOptions = { - preserveOrder: false, - attributeNamePrefix: "@_", - attributesGroupName: false, - textNodeName: "#text", - ignoreAttributes: true, - removeNSPrefix: false, - // remove NS from tag name or attribute name if true - allowBooleanAttributes: false, - //a tag can have attributes without any value - //ignoreRootElement : false, - parseTagValue: true, - parseAttributeValue: false, - trimValues: true, - //Trim string values of tag and attributes - cdataPropName: false, - numberParseOptions: { - hex: true, - leadingZeros: true, - eNotation: true - }, - tagValueProcessor: function(tagName, val2) { - return val2; - }, - attributeValueProcessor: function(attrName, val2) { - return val2; - }, - stopNodes: [], - //nested tags will not be parsed even for errors - alwaysCreateTextNode: false, - isArray: () => false, - commentPropName: false, - unpairedTags: [], - processEntities: true, - htmlEntities: false, - ignoreDeclaration: false, - ignorePiTags: false, - transformTagName: false, - transformAttributeName: false, - updateTag: function(tagName, jPath, attrs) { - return tagName; + return (0, exports.expectShort)(value); + }; + exports.strictParseShort = strictParseShort; + var strictParseByte = (value) => { + if (typeof value === "string") { + return (0, exports.expectByte)(parseNumber(value)); } - // skipEmptyListItem: false + return (0, exports.expectByte)(value); }; - var buildOptions = function(options) { - return Object.assign({}, defaultOptions, options); + exports.strictParseByte = strictParseByte; + var stackTraceWarning = (message) => { + return String(new TypeError(message).stack || message).split("\n").slice(0, 5).filter((s) => !s.includes("stackTraceWarning")).join("\n"); + }; + exports.logger = { + warn: console.warn }; - exports.buildOptions = buildOptions; - exports.defaultOptions = defaultOptions; } }); -// ../../../node_modules/fast-xml-parser/src/xmlparser/xmlNode.js -var require_xmlNode = __commonJS({ - "../../../node_modules/fast-xml-parser/src/xmlparser/xmlNode.js"(exports, module2) { +// ../../../node_modules/@smithy/smithy-client/dist-cjs/date-utils.js +var require_date_utils = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/date-utils.js"(exports) { "use strict"; - var XmlNode = class { - constructor(tagname) { - this.tagname = tagname; - this.child = []; - this[":@"] = {}; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.parseEpochTimestamp = exports.parseRfc7231DateTime = exports.parseRfc3339DateTimeWithOffset = exports.parseRfc3339DateTime = exports.dateToUtcString = void 0; + var parse_utils_1 = require_parse_utils(); + var DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; + var MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; + function dateToUtcString(date) { + const year = date.getUTCFullYear(); + const month = date.getUTCMonth(); + const dayOfWeek = date.getUTCDay(); + const dayOfMonthInt = date.getUTCDate(); + const hoursInt = date.getUTCHours(); + const minutesInt = date.getUTCMinutes(); + const secondsInt = date.getUTCSeconds(); + const dayOfMonthString = dayOfMonthInt < 10 ? `0${dayOfMonthInt}` : `${dayOfMonthInt}`; + const hoursString = hoursInt < 10 ? `0${hoursInt}` : `${hoursInt}`; + const minutesString = minutesInt < 10 ? `0${minutesInt}` : `${minutesInt}`; + const secondsString = secondsInt < 10 ? `0${secondsInt}` : `${secondsInt}`; + return `${DAYS[dayOfWeek]}, ${dayOfMonthString} ${MONTHS[month]} ${year} ${hoursString}:${minutesString}:${secondsString} GMT`; + } + exports.dateToUtcString = dateToUtcString; + var RFC3339 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/); + var parseRfc3339DateTime = (value) => { + if (value === null || value === void 0) { + return void 0; } - add(key, val2) { - if (key === "__proto__") - key = "#__proto__"; - this.child.push({ [key]: val2 }); + if (typeof value !== "string") { + throw new TypeError("RFC-3339 date-times must be expressed as strings"); } - addChild(node) { - if (node.tagname === "__proto__") - node.tagname = "#__proto__"; - if (node[":@"] && Object.keys(node[":@"]).length > 0) { - this.child.push({ [node.tagname]: node.child, [":@"]: node[":@"] }); - } else { - this.child.push({ [node.tagname]: node.child }); - } + const match = RFC3339.exec(value); + if (!match) { + throw new TypeError("Invalid RFC-3339 date-time value"); } + const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds] = match; + const year = (0, parse_utils_1.strictParseShort)(stripLeadingZeroes(yearStr)); + const month = parseDateValue(monthStr, "month", 1, 12); + const day = parseDateValue(dayStr, "day", 1, 31); + return buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds }); }; - module2.exports = XmlNode; - } -}); - -// ../../../node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js -var require_DocTypeReader = __commonJS({ - "../../../node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"(exports, module2) { - var util = require_util4(); - function readDocType(xmlData, i) { - const entities = {}; - if (xmlData[i + 3] === "O" && xmlData[i + 4] === "C" && xmlData[i + 5] === "T" && xmlData[i + 6] === "Y" && xmlData[i + 7] === "P" && xmlData[i + 8] === "E") { - i = i + 9; - let angleBracketsCount = 1; - let hasBody = false, comment = false; - let exp = ""; - for (; i < xmlData.length; i++) { - if (xmlData[i] === "<" && !comment) { - if (hasBody && isEntity(xmlData, i)) { - i += 7; - [entityName, val, i] = readEntityExp(xmlData, i + 1); - if (val.indexOf("&") === -1) - entities[validateEntityName(entityName)] = { - regx: RegExp(`&${entityName};`, "g"), - val - }; - } else if (hasBody && isElement(xmlData, i)) - i += 8; - else if (hasBody && isAttlist(xmlData, i)) - i += 8; - else if (hasBody && isNotation(xmlData, i)) - i += 9; - else if (isComment) - comment = true; - else - throw new Error("Invalid DOCTYPE"); - angleBracketsCount++; - exp = ""; - } else if (xmlData[i] === ">") { - if (comment) { - if (xmlData[i - 1] === "-" && xmlData[i - 2] === "-") { - comment = false; - angleBracketsCount--; - } - } else { - angleBracketsCount--; - } - if (angleBracketsCount === 0) { - break; - } - } else if (xmlData[i] === "[") { - hasBody = true; - } else { - exp += xmlData[i]; - } - } - if (angleBracketsCount !== 0) { - throw new Error(`Unclosed DOCTYPE`); - } - } else { - throw new Error(`Invalid Tag instead of DOCTYPE`); + exports.parseRfc3339DateTime = parseRfc3339DateTime; + var RFC3339_WITH_OFFSET = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/); + var parseRfc3339DateTimeWithOffset = (value) => { + if (value === null || value === void 0) { + return void 0; } - return { entities, i }; - } - function readEntityExp(xmlData, i) { - let entityName2 = ""; - for (; i < xmlData.length && (xmlData[i] !== "'" && xmlData[i] !== '"'); i++) { - entityName2 += xmlData[i]; + if (typeof value !== "string") { + throw new TypeError("RFC-3339 date-times must be expressed as strings"); } - entityName2 = entityName2.trim(); - if (entityName2.indexOf(" ") !== -1) - throw new Error("External entites are not supported"); - const startChar = xmlData[i++]; - let val2 = ""; - for (; i < xmlData.length && xmlData[i] !== startChar; i++) { - val2 += xmlData[i]; + const match = RFC3339_WITH_OFFSET.exec(value); + if (!match) { + throw new TypeError("Invalid RFC-3339 date-time value"); } - return [entityName2, val2, i]; - } - function isComment(xmlData, i) { - if (xmlData[i + 1] === "!" && xmlData[i + 2] === "-" && xmlData[i + 3] === "-") - return true; - return false; - } - function isEntity(xmlData, i) { - if (xmlData[i + 1] === "!" && xmlData[i + 2] === "E" && xmlData[i + 3] === "N" && xmlData[i + 4] === "T" && xmlData[i + 5] === "I" && xmlData[i + 6] === "T" && xmlData[i + 7] === "Y") - return true; - return false; - } - function isElement(xmlData, i) { - if (xmlData[i + 1] === "!" && xmlData[i + 2] === "E" && xmlData[i + 3] === "L" && xmlData[i + 4] === "E" && xmlData[i + 5] === "M" && xmlData[i + 6] === "E" && xmlData[i + 7] === "N" && xmlData[i + 8] === "T") - return true; - return false; - } - function isAttlist(xmlData, i) { - if (xmlData[i + 1] === "!" && xmlData[i + 2] === "A" && xmlData[i + 3] === "T" && xmlData[i + 4] === "T" && xmlData[i + 5] === "L" && xmlData[i + 6] === "I" && xmlData[i + 7] === "S" && xmlData[i + 8] === "T") - return true; - return false; - } - function isNotation(xmlData, i) { - if (xmlData[i + 1] === "!" && xmlData[i + 2] === "N" && xmlData[i + 3] === "O" && xmlData[i + 4] === "T" && xmlData[i + 5] === "A" && xmlData[i + 6] === "T" && xmlData[i + 7] === "I" && xmlData[i + 8] === "O" && xmlData[i + 9] === "N") - return true; - return false; - } - function validateEntityName(name) { - if (util.isName(name)) - return name; - else - throw new Error(`Invalid entity name ${name}`); - } - module2.exports = readDocType; - } -}); - -// ../../../node_modules/strnum/strnum.js -var require_strnum = __commonJS({ - "../../../node_modules/strnum/strnum.js"(exports, module2) { - var hexRegex = /^[-+]?0x[a-fA-F0-9]+$/; - var numRegex = /^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/; - if (!Number.parseInt && window.parseInt) { - Number.parseInt = window.parseInt; - } - if (!Number.parseFloat && window.parseFloat) { - Number.parseFloat = window.parseFloat; - } - var consider = { - hex: true, - leadingZeros: true, - decimalPoint: ".", - eNotation: true - //skipLike: /regex/ + const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, offsetStr] = match; + const year = (0, parse_utils_1.strictParseShort)(stripLeadingZeroes(yearStr)); + const month = parseDateValue(monthStr, "month", 1, 12); + const day = parseDateValue(dayStr, "day", 1, 31); + const date = buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds }); + if (offsetStr.toUpperCase() != "Z") { + date.setTime(date.getTime() - parseOffsetToMilliseconds(offsetStr)); + } + return date; }; - function toNumber(str, options = {}) { - options = Object.assign({}, consider, options); - if (!str || typeof str !== "string") - return str; - let trimmedStr = str.trim(); - if (options.skipLike !== void 0 && options.skipLike.test(trimmedStr)) - return str; - else if (options.hex && hexRegex.test(trimmedStr)) { - return Number.parseInt(trimmedStr, 16); - } else { - const match = numRegex.exec(trimmedStr); - if (match) { - const sign = match[1]; - const leadingZeros = match[2]; - let numTrimmedByZeros = trimZeros(match[3]); - const eNotation = match[4] || match[6]; - if (!options.leadingZeros && leadingZeros.length > 0 && sign && trimmedStr[2] !== ".") - return str; - else if (!options.leadingZeros && leadingZeros.length > 0 && !sign && trimmedStr[1] !== ".") - return str; - else { - const num = Number(trimmedStr); - const numStr = "" + num; - if (numStr.search(/[eE]/) !== -1) { - if (options.eNotation) - return num; - else - return str; - } else if (eNotation) { - if (options.eNotation) - return num; - else - return str; - } else if (trimmedStr.indexOf(".") !== -1) { - if (numStr === "0" && numTrimmedByZeros === "") - return num; - else if (numStr === numTrimmedByZeros) - return num; - else if (sign && numStr === "-" + numTrimmedByZeros) - return num; - else - return str; - } - if (leadingZeros) { - if (numTrimmedByZeros === numStr) - return num; - else if (sign + numTrimmedByZeros === numStr) - return num; - else - return str; - } - if (trimmedStr === numStr) - return num; - else if (trimmedStr === sign + numStr) - return num; - return str; - } - } else { - return str; - } + exports.parseRfc3339DateTimeWithOffset = parseRfc3339DateTimeWithOffset; + var IMF_FIXDATE = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/); + var RFC_850_DATE = new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/); + var ASC_TIME = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/); + var parseRfc7231DateTime = (value) => { + if (value === null || value === void 0) { + return void 0; } - } - function trimZeros(numStr) { - if (numStr && numStr.indexOf(".") !== -1) { - numStr = numStr.replace(/0+$/, ""); - if (numStr === ".") - numStr = "0"; - else if (numStr[0] === ".") - numStr = "0" + numStr; - else if (numStr[numStr.length - 1] === ".") - numStr = numStr.substr(0, numStr.length - 1); - return numStr; + if (typeof value !== "string") { + throw new TypeError("RFC-7231 date-times must be expressed as strings"); } - return numStr; - } - module2.exports = toNumber; - } -}); - -// ../../../node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js -var require_OrderedObjParser = __commonJS({ - "../../../node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js"(exports, module2) { - "use strict"; - var util = require_util4(); - var xmlNode = require_xmlNode(); - var readDocType = require_DocTypeReader(); - var toNumber = require_strnum(); - var regx = "<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g, util.nameRegexp); - var OrderedObjParser = class { - constructor(options) { - this.options = options; - this.currentNode = null; - this.tagsNodeStack = []; - this.docTypeEntities = {}; - this.lastEntities = { - "apos": { regex: /&(apos|#39|#x27);/g, val: "'" }, - "gt": { regex: /&(gt|#62|#x3E);/g, val: ">" }, - "lt": { regex: /&(lt|#60|#x3C);/g, val: "<" }, - "quot": { regex: /&(quot|#34|#x22);/g, val: '"' } - }; - this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }; - this.htmlEntities = { - "space": { regex: /&(nbsp|#160);/g, val: " " }, - // "lt" : { regex: /&(lt|#60);/g, val: "<" }, - // "gt" : { regex: /&(gt|#62);/g, val: ">" }, - // "amp" : { regex: /&(amp|#38);/g, val: "&" }, - // "quot" : { regex: /&(quot|#34);/g, val: "\"" }, - // "apos" : { regex: /&(apos|#39);/g, val: "'" }, - "cent": { regex: /&(cent|#162);/g, val: "\xA2" }, - "pound": { regex: /&(pound|#163);/g, val: "\xA3" }, - "yen": { regex: /&(yen|#165);/g, val: "\xA5" }, - "euro": { regex: /&(euro|#8364);/g, val: "\u20AC" }, - "copyright": { regex: /&(copy|#169);/g, val: "\xA9" }, - "reg": { regex: /&(reg|#174);/g, val: "\xAE" }, - "inr": { regex: /&(inr|#8377);/g, val: "\u20B9" } - }; - this.addExternalEntities = addExternalEntities; - this.parseXml = parseXml; - this.parseTextData = parseTextData; - this.resolveNameSpace = resolveNameSpace; - this.buildAttributesMap = buildAttributesMap; - this.isItStopNode = isItStopNode; - this.replaceEntitiesValue = replaceEntitiesValue; - this.readStopNodeData = readStopNodeData; - this.saveTextToParentTag = saveTextToParentTag; - this.addChild = addChild; + let match = IMF_FIXDATE.exec(value); + if (match) { + const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match; + return buildDate((0, parse_utils_1.strictParseShort)(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), { hours, minutes, seconds, fractionalMilliseconds }); + } + match = RFC_850_DATE.exec(value); + if (match) { + const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match; + return adjustRfc850Year(buildDate(parseTwoDigitYear(yearStr), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), { + hours, + minutes, + seconds, + fractionalMilliseconds + })); + } + match = ASC_TIME.exec(value); + if (match) { + const [_, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, yearStr] = match; + return buildDate((0, parse_utils_1.strictParseShort)(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr.trimLeft(), "day", 1, 31), { hours, minutes, seconds, fractionalMilliseconds }); } + throw new TypeError("Invalid RFC-7231 date-time value"); }; - function addExternalEntities(externalEntities) { - const entKeys = Object.keys(externalEntities); - for (let i = 0; i < entKeys.length; i++) { - const ent = entKeys[i]; - this.lastEntities[ent] = { - regex: new RegExp("&" + ent + ";", "g"), - val: externalEntities[ent] - }; + exports.parseRfc7231DateTime = parseRfc7231DateTime; + var parseEpochTimestamp = (value) => { + if (value === null || value === void 0) { + return void 0; } - } - function parseTextData(val2, tagName, jPath, dontTrim, hasAttributes, isLeafNode, escapeEntities) { - if (val2 !== void 0) { - if (this.options.trimValues && !dontTrim) { - val2 = val2.trim(); - } - if (val2.length > 0) { - if (!escapeEntities) - val2 = this.replaceEntitiesValue(val2); - const newval = this.options.tagValueProcessor(tagName, val2, jPath, hasAttributes, isLeafNode); - if (newval === null || newval === void 0) { - return val2; - } else if (typeof newval !== typeof val2 || newval !== val2) { - return newval; - } else if (this.options.trimValues) { - return parseValue(val2, this.options.parseTagValue, this.options.numberParseOptions); - } else { - const trimmedVal = val2.trim(); - if (trimmedVal === val2) { - return parseValue(val2, this.options.parseTagValue, this.options.numberParseOptions); - } else { - return val2; - } - } - } + let valueAsDouble; + if (typeof value === "number") { + valueAsDouble = value; + } else if (typeof value === "string") { + valueAsDouble = (0, parse_utils_1.strictParseDouble)(value); + } else { + throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation"); } - } - function resolveNameSpace(tagname) { - if (this.options.removeNSPrefix) { - const tags = tagname.split(":"); - const prefix = tagname.charAt(0) === "/" ? "/" : ""; - if (tags[0] === "xmlns") { - return ""; - } - if (tags.length === 2) { - tagname = prefix + tags[1]; - } + if (Number.isNaN(valueAsDouble) || valueAsDouble === Infinity || valueAsDouble === -Infinity) { + throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics"); } - return tagname; - } - var attrsRegx = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm"); - function buildAttributesMap(attrStr, jPath, tagName) { - if (!this.options.ignoreAttributes && typeof attrStr === "string") { - const matches = util.getAllMatches(attrStr, attrsRegx); - const len = matches.length; - const attrs = {}; - for (let i = 0; i < len; i++) { - const attrName = this.resolveNameSpace(matches[i][1]); - let oldVal = matches[i][4]; - let aName = this.options.attributeNamePrefix + attrName; - if (attrName.length) { - if (this.options.transformAttributeName) { - aName = this.options.transformAttributeName(aName); - } - if (aName === "__proto__") - aName = "#__proto__"; - if (oldVal !== void 0) { - if (this.options.trimValues) { - oldVal = oldVal.trim(); - } - oldVal = this.replaceEntitiesValue(oldVal); - const newVal = this.options.attributeValueProcessor(attrName, oldVal, jPath); - if (newVal === null || newVal === void 0) { - attrs[aName] = oldVal; - } else if (typeof newVal !== typeof oldVal || newVal !== oldVal) { - attrs[aName] = newVal; - } else { - attrs[aName] = parseValue( - oldVal, - this.options.parseAttributeValue, - this.options.numberParseOptions - ); - } - } else if (this.options.allowBooleanAttributes) { - attrs[aName] = true; - } - } - } - if (!Object.keys(attrs).length) { - return; - } - if (this.options.attributesGroupName) { - const attrCollection = {}; - attrCollection[this.options.attributesGroupName] = attrs; - return attrCollection; - } - return attrs; + return new Date(Math.round(valueAsDouble * 1e3)); + }; + exports.parseEpochTimestamp = parseEpochTimestamp; + var buildDate = (year, month, day, time) => { + const adjustedMonth = month - 1; + validateDayOfMonth(year, adjustedMonth, day); + return new Date(Date.UTC(year, adjustedMonth, day, parseDateValue(time.hours, "hour", 0, 23), parseDateValue(time.minutes, "minute", 0, 59), parseDateValue(time.seconds, "seconds", 0, 60), parseMilliseconds(time.fractionalMilliseconds))); + }; + var parseTwoDigitYear = (value) => { + const thisYear = (/* @__PURE__ */ new Date()).getUTCFullYear(); + const valueInThisCentury = Math.floor(thisYear / 100) * 100 + (0, parse_utils_1.strictParseShort)(stripLeadingZeroes(value)); + if (valueInThisCentury < thisYear) { + return valueInThisCentury + 100; } - } - var parseXml = function(xmlData) { - xmlData = xmlData.replace(/\r\n?/g, "\n"); - const xmlObj = new xmlNode("!xml"); - let currentNode = xmlObj; - let textData = ""; - let jPath = ""; - for (let i = 0; i < xmlData.length; i++) { - const ch = xmlData[i]; - if (ch === "<") { - if (xmlData[i + 1] === "/") { - const closeIndex = findClosingIndex(xmlData, ">", i, "Closing Tag is not closed."); - let tagName = xmlData.substring(i + 2, closeIndex).trim(); - if (this.options.removeNSPrefix) { - const colonIndex = tagName.indexOf(":"); - if (colonIndex !== -1) { - tagName = tagName.substr(colonIndex + 1); - } - } - if (this.options.transformTagName) { - tagName = this.options.transformTagName(tagName); - } - if (currentNode) { - textData = this.saveTextToParentTag(textData, currentNode, jPath); - } - const lastTagName = jPath.substring(jPath.lastIndexOf(".") + 1); - if (tagName && this.options.unpairedTags.indexOf(tagName) !== -1) { - throw new Error(`Unpaired tag can not be used as closing tag: `); - } - let propIndex = 0; - if (lastTagName && this.options.unpairedTags.indexOf(lastTagName) !== -1) { - propIndex = jPath.lastIndexOf(".", jPath.lastIndexOf(".") - 1); - this.tagsNodeStack.pop(); - } else { - propIndex = jPath.lastIndexOf("."); - } - jPath = jPath.substring(0, propIndex); - currentNode = this.tagsNodeStack.pop(); - textData = ""; - i = closeIndex; - } else if (xmlData[i + 1] === "?") { - let tagData = readTagExp(xmlData, i, false, "?>"); - if (!tagData) - throw new Error("Pi Tag is not closed."); - textData = this.saveTextToParentTag(textData, currentNode, jPath); - if (this.options.ignoreDeclaration && tagData.tagName === "?xml" || this.options.ignorePiTags) { - } else { - const childNode = new xmlNode(tagData.tagName); - childNode.add(this.options.textNodeName, ""); - if (tagData.tagName !== tagData.tagExp && tagData.attrExpPresent) { - childNode[":@"] = this.buildAttributesMap(tagData.tagExp, jPath, tagData.tagName); - } - this.addChild(currentNode, childNode, jPath); - } - i = tagData.closeIndex + 1; - } else if (xmlData.substr(i + 1, 3) === "!--") { - const endIndex = findClosingIndex(xmlData, "-->", i + 4, "Comment is not closed."); - if (this.options.commentPropName) { - const comment = xmlData.substring(i + 4, endIndex - 2); - textData = this.saveTextToParentTag(textData, currentNode, jPath); - currentNode.add(this.options.commentPropName, [{ [this.options.textNodeName]: comment }]); - } - i = endIndex; - } else if (xmlData.substr(i + 1, 2) === "!D") { - const result = readDocType(xmlData, i); - this.docTypeEntities = result.entities; - i = result.i; - } else if (xmlData.substr(i + 1, 2) === "![") { - const closeIndex = findClosingIndex(xmlData, "]]>", i, "CDATA is not closed.") - 2; - const tagExp = xmlData.substring(i + 9, closeIndex); - textData = this.saveTextToParentTag(textData, currentNode, jPath); - if (this.options.cdataPropName) { - currentNode.add(this.options.cdataPropName, [{ [this.options.textNodeName]: tagExp }]); - } else { - let val2 = this.parseTextData(tagExp, currentNode.tagname, jPath, true, false, true); - if (val2 == void 0) - val2 = ""; - currentNode.add(this.options.textNodeName, val2); - } - i = closeIndex + 2; - } else { - let result = readTagExp(xmlData, i, this.options.removeNSPrefix); - let tagName = result.tagName; - let tagExp = result.tagExp; - let attrExpPresent = result.attrExpPresent; - let closeIndex = result.closeIndex; - if (this.options.transformTagName) { - tagName = this.options.transformTagName(tagName); - } - if (currentNode && textData) { - if (currentNode.tagname !== "!xml") { - textData = this.saveTextToParentTag(textData, currentNode, jPath, false); - } - } - const lastTag = currentNode; - if (lastTag && this.options.unpairedTags.indexOf(lastTag.tagname) !== -1) { - currentNode = this.tagsNodeStack.pop(); - jPath = jPath.substring(0, jPath.lastIndexOf(".")); - } - if (tagName !== xmlObj.tagname) { - jPath += jPath ? "." + tagName : tagName; - } - if (this.isItStopNode(this.options.stopNodes, jPath, tagName)) { - let tagContent = ""; - if (tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1) { - i = result.closeIndex; - } else if (this.options.unpairedTags.indexOf(tagName) !== -1) { - i = result.closeIndex; - } else { - const result2 = this.readStopNodeData(xmlData, tagName, closeIndex + 1); - if (!result2) - throw new Error(`Unexpected end of ${tagName}`); - i = result2.i; - tagContent = result2.tagContent; - } - const childNode = new xmlNode(tagName); - if (tagName !== tagExp && attrExpPresent) { - childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName); - } - if (tagContent) { - tagContent = this.parseTextData(tagContent, tagName, jPath, true, attrExpPresent, true, true); - } - jPath = jPath.substr(0, jPath.lastIndexOf(".")); - childNode.add(this.options.textNodeName, tagContent); - this.addChild(currentNode, childNode, jPath); - } else { - if (tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1) { - if (tagName[tagName.length - 1] === "/") { - tagName = tagName.substr(0, tagName.length - 1); - tagExp = tagName; - } else { - tagExp = tagExp.substr(0, tagExp.length - 1); - } - if (this.options.transformTagName) { - tagName = this.options.transformTagName(tagName); - } - const childNode = new xmlNode(tagName); - if (tagName !== tagExp && attrExpPresent) { - childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName); - } - this.addChild(currentNode, childNode, jPath); - jPath = jPath.substr(0, jPath.lastIndexOf(".")); - } else { - const childNode = new xmlNode(tagName); - this.tagsNodeStack.push(currentNode); - if (tagName !== tagExp && attrExpPresent) { - childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName); - } - this.addChild(currentNode, childNode, jPath); - currentNode = childNode; - } - textData = ""; - i = closeIndex; - } - } - } else { - textData += xmlData[i]; - } - } - return xmlObj.child; + return valueInThisCentury; }; - function addChild(currentNode, childNode, jPath) { - const result = this.options.updateTag(childNode.tagname, jPath, childNode[":@"]); - if (result === false) { - } else if (typeof result === "string") { - childNode.tagname = result; - currentNode.addChild(childNode); - } else { - currentNode.addChild(childNode); + var FIFTY_YEARS_IN_MILLIS = 50 * 365 * 24 * 60 * 60 * 1e3; + var adjustRfc850Year = (input) => { + if (input.getTime() - (/* @__PURE__ */ new Date()).getTime() > FIFTY_YEARS_IN_MILLIS) { + return new Date(Date.UTC(input.getUTCFullYear() - 100, input.getUTCMonth(), input.getUTCDate(), input.getUTCHours(), input.getUTCMinutes(), input.getUTCSeconds(), input.getUTCMilliseconds())); } - } - var replaceEntitiesValue = function(val2) { - if (this.options.processEntities) { - for (let entityName2 in this.docTypeEntities) { - const entity = this.docTypeEntities[entityName2]; - val2 = val2.replace(entity.regx, entity.val); - } - for (let entityName2 in this.lastEntities) { - const entity = this.lastEntities[entityName2]; - val2 = val2.replace(entity.regex, entity.val); - } - if (this.options.htmlEntities) { - for (let entityName2 in this.htmlEntities) { - const entity = this.htmlEntities[entityName2]; - val2 = val2.replace(entity.regex, entity.val); - } - } - val2 = val2.replace(this.ampEntity.regex, this.ampEntity.val); + return input; + }; + var parseMonthByShortName = (value) => { + const monthIdx = MONTHS.indexOf(value); + if (monthIdx < 0) { + throw new TypeError(`Invalid month: ${value}`); } - return val2; + return monthIdx + 1; }; - function saveTextToParentTag(textData, currentNode, jPath, isLeafNode) { - if (textData) { - if (isLeafNode === void 0) - isLeafNode = Object.keys(currentNode.child).length === 0; - textData = this.parseTextData( - textData, - currentNode.tagname, - jPath, - false, - currentNode[":@"] ? Object.keys(currentNode[":@"]).length !== 0 : false, - isLeafNode - ); - if (textData !== void 0 && textData !== "") - currentNode.add(this.options.textNodeName, textData); - textData = ""; + var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; + var validateDayOfMonth = (year, month, day) => { + let maxDays = DAYS_IN_MONTH[month]; + if (month === 1 && isLeapYear(year)) { + maxDays = 29; } - return textData; - } - function isItStopNode(stopNodes, jPath, currentTagName) { - const allNodesExp = "*." + currentTagName; - for (const stopNodePath in stopNodes) { - const stopNodeExp = stopNodes[stopNodePath]; - if (allNodesExp === stopNodeExp || jPath === stopNodeExp) - return true; + if (day > maxDays) { + throw new TypeError(`Invalid day for ${MONTHS[month]} in ${year}: ${day}`); } - return false; - } - function tagExpWithClosingIndex(xmlData, i, closingChar = ">") { - let attrBoundary; - let tagExp = ""; - for (let index = i; index < xmlData.length; index++) { - let ch = xmlData[index]; - if (attrBoundary) { - if (ch === attrBoundary) - attrBoundary = ""; - } else if (ch === '"' || ch === "'") { - attrBoundary = ch; - } else if (ch === closingChar[0]) { - if (closingChar[1]) { - if (xmlData[index + 1] === closingChar[1]) { - return { - data: tagExp, - index - }; - } - } else { - return { - data: tagExp, - index - }; - } - } else if (ch === " ") { - ch = " "; - } - tagExp += ch; + }; + var isLeapYear = (year) => { + return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0); + }; + var parseDateValue = (value, type, lower, upper) => { + const dateVal = (0, parse_utils_1.strictParseByte)(stripLeadingZeroes(value)); + if (dateVal < lower || dateVal > upper) { + throw new TypeError(`${type} must be between ${lower} and ${upper}, inclusive`); } - } - function findClosingIndex(xmlData, str, i, errMsg) { - const closingIndex = xmlData.indexOf(str, i); - if (closingIndex === -1) { - throw new Error(errMsg); + return dateVal; + }; + var parseMilliseconds = (value) => { + if (value === null || value === void 0) { + return 0; + } + return (0, parse_utils_1.strictParseFloat32)("0." + value) * 1e3; + }; + var parseOffsetToMilliseconds = (value) => { + const directionStr = value[0]; + let direction = 1; + if (directionStr == "+") { + direction = 1; + } else if (directionStr == "-") { + direction = -1; } else { - return closingIndex + str.length - 1; + throw new TypeError(`Offset direction, ${directionStr}, must be "+" or "-"`); } - } - function readTagExp(xmlData, i, removeNSPrefix, closingChar = ">") { - const result = tagExpWithClosingIndex(xmlData, i + 1, closingChar); - if (!result) - return; - let tagExp = result.data; - const closeIndex = result.index; - const separatorIndex = tagExp.search(/\s/); - let tagName = tagExp; - let attrExpPresent = true; - if (separatorIndex !== -1) { - tagName = tagExp.substr(0, separatorIndex).replace(/\s\s*$/, ""); - tagExp = tagExp.substr(separatorIndex + 1); + const hour = Number(value.substring(1, 3)); + const minute = Number(value.substring(4, 6)); + return direction * (hour * 60 + minute) * 60 * 1e3; + }; + var stripLeadingZeroes = (value) => { + let idx = 0; + while (idx < value.length - 1 && value.charAt(idx) === "0") { + idx++; } - if (removeNSPrefix) { - const colonIndex = tagName.indexOf(":"); - if (colonIndex !== -1) { - tagName = tagName.substr(colonIndex + 1); - attrExpPresent = tagName !== result.data.substr(colonIndex + 1); - } + if (idx === 0) { + return value; } - return { - tagName, - tagExp, - closeIndex, - attrExpPresent - }; - } - function readStopNodeData(xmlData, tagName, i) { - const startIndex = i; - let openTagCount = 1; - for (; i < xmlData.length; i++) { - if (xmlData[i] === "<") { - if (xmlData[i + 1] === "/") { - const closeIndex = findClosingIndex(xmlData, ">", i, `${tagName} is not closed`); - let closeTagName = xmlData.substring(i + 2, closeIndex).trim(); - if (closeTagName === tagName) { - openTagCount--; - if (openTagCount === 0) { - return { - tagContent: xmlData.substring(startIndex, i), - i: closeIndex - }; - } - } - i = closeIndex; - } else if (xmlData[i + 1] === "?") { - const closeIndex = findClosingIndex(xmlData, "?>", i + 1, "StopNode is not closed."); - i = closeIndex; - } else if (xmlData.substr(i + 1, 3) === "!--") { - const closeIndex = findClosingIndex(xmlData, "-->", i + 3, "StopNode is not closed."); - i = closeIndex; - } else if (xmlData.substr(i + 1, 2) === "![") { - const closeIndex = findClosingIndex(xmlData, "]]>", i, "StopNode is not closed.") - 2; - i = closeIndex; - } else { - const tagData = readTagExp(xmlData, i, ">"); - if (tagData) { - const openTagName = tagData && tagData.tagName; - if (openTagName === tagName && tagData.tagExp[tagData.tagExp.length - 1] !== "/") { - openTagCount++; - } - i = tagData.closeIndex; - } - } - } - } - } - function parseValue(val2, shouldParse, options) { - if (shouldParse && typeof val2 === "string") { - const newval = val2.trim(); - if (newval === "true") - return true; - else if (newval === "false") - return false; - else - return toNumber(val2, options); - } else { - if (util.isExist(val2)) { - return val2; - } else { - return ""; - } - } - } - module2.exports = OrderedObjParser; + return value.slice(idx); + }; } }); -// ../../../node_modules/fast-xml-parser/src/xmlparser/node2json.js -var require_node2json = __commonJS({ - "../../../node_modules/fast-xml-parser/src/xmlparser/node2json.js"(exports) { +// ../../../node_modules/@smithy/smithy-client/dist-cjs/exceptions.js +var require_exceptions = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/exceptions.js"(exports) { "use strict"; - function prettify(node, options) { - return compress(node, options); - } - function compress(arr, options, jPath) { - let text; - const compressedObj = {}; - for (let i = 0; i < arr.length; i++) { - const tagObj = arr[i]; - const property = propName(tagObj); - let newJpath = ""; - if (jPath === void 0) - newJpath = property; - else - newJpath = jPath + "." + property; - if (property === options.textNodeName) { - if (text === void 0) - text = tagObj[property]; - else - text += "" + tagObj[property]; - } else if (property === void 0) { - continue; - } else if (tagObj[property]) { - let val2 = compress(tagObj[property], options, newJpath); - const isLeaf = isLeafTag(val2, options); - if (tagObj[":@"]) { - assignAttributes(val2, tagObj[":@"], newJpath, options); - } else if (Object.keys(val2).length === 1 && val2[options.textNodeName] !== void 0 && !options.alwaysCreateTextNode) { - val2 = val2[options.textNodeName]; - } else if (Object.keys(val2).length === 0) { - if (options.alwaysCreateTextNode) - val2[options.textNodeName] = ""; - else - val2 = ""; - } - if (compressedObj[property] !== void 0 && compressedObj.hasOwnProperty(property)) { - if (!Array.isArray(compressedObj[property])) { - compressedObj[property] = [compressedObj[property]]; - } - compressedObj[property].push(val2); - } else { - if (options.isArray(property, newJpath, isLeaf)) { - compressedObj[property] = [val2]; - } else { - compressedObj[property] = val2; - } - } - } - } - if (typeof text === "string") { - if (text.length > 0) - compressedObj[options.textNodeName] = text; - } else if (text !== void 0) - compressedObj[options.textNodeName] = text; - return compressedObj; - } - function propName(obj) { - const keys = Object.keys(obj); - for (let i = 0; i < keys.length; i++) { - const key = keys[i]; - if (key !== ":@") - return key; - } - } - function assignAttributes(obj, attrMap, jpath, options) { - if (attrMap) { - const keys = Object.keys(attrMap); - const len = keys.length; - for (let i = 0; i < len; i++) { - const atrrName = keys[i]; - if (options.isArray(atrrName, jpath + "." + atrrName, true, true)) { - obj[atrrName] = [attrMap[atrrName]]; - } else { - obj[atrrName] = attrMap[atrrName]; - } - } - } - } - function isLeafTag(obj, options) { - const { textNodeName } = options; - const propCount = Object.keys(obj).length; - if (propCount === 0) { - return true; - } - if (propCount === 1 && (obj[textNodeName] || typeof obj[textNodeName] === "boolean" || obj[textNodeName] === 0)) { - return true; - } - return false; - } - exports.prettify = prettify; - } -}); - -// ../../../node_modules/fast-xml-parser/src/xmlparser/XMLParser.js -var require_XMLParser = __commonJS({ - "../../../node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"(exports, module2) { - var { buildOptions } = require_OptionsBuilder(); - var OrderedObjParser = require_OrderedObjParser(); - var { prettify } = require_node2json(); - var validator = require_validator(); - var XMLParser = class { + Object.defineProperty(exports, "__esModule", { value: true }); + exports.decorateServiceException = exports.ServiceException = void 0; + var ServiceException = class _ServiceException extends Error { constructor(options) { - this.externalEntities = {}; - this.options = buildOptions(options); - } - /** - * Parse XML dats to JS object - * @param {string|Buffer} xmlData - * @param {boolean|Object} validationOption - */ - parse(xmlData, validationOption) { - if (typeof xmlData === "string") { - } else if (xmlData.toString) { - xmlData = xmlData.toString(); - } else { - throw new Error("XML data is accepted in String or Bytes[] form."); - } - if (validationOption) { - if (validationOption === true) - validationOption = {}; - const result = validator.validate(xmlData, validationOption); - if (result !== true) { - throw Error(`${result.err.msg}:${result.err.line}:${result.err.col}`); - } - } - const orderedObjParser = new OrderedObjParser(this.options); - orderedObjParser.addExternalEntities(this.externalEntities); - const orderedResult = orderedObjParser.parseXml(xmlData); - if (this.options.preserveOrder || orderedResult === void 0) - return orderedResult; - else - return prettify(orderedResult, this.options); + super(options.message); + Object.setPrototypeOf(this, _ServiceException.prototype); + this.name = options.name; + this.$fault = options.$fault; + this.$metadata = options.$metadata; } - /** - * Add Entity which is not by default supported by this library - * @param {string} key - * @param {string} value - */ - addEntity(key, value) { - if (value.indexOf("&") !== -1) { - throw new Error("Entity value can't have '&'"); - } else if (key.indexOf("&") !== -1 || key.indexOf(";") !== -1) { - throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '"); - } else if (value === "&") { - throw new Error("An entity with value '&' is not permitted"); - } else { - this.externalEntities[key] = value; + }; + exports.ServiceException = ServiceException; + var decorateServiceException = (exception, additions = {}) => { + Object.entries(additions).filter(([, v]) => v !== void 0).forEach(([k, v]) => { + if (exception[k] == void 0 || exception[k] === "") { + exception[k] = v; } - } + }); + const message = exception.message || exception.Message || "UnknownError"; + exception.message = message; + delete exception.Message; + return exception; }; - module2.exports = XMLParser; + exports.decorateServiceException = decorateServiceException; } }); -// ../../../node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js -var require_orderedJs2Xml = __commonJS({ - "../../../node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"(exports, module2) { - var EOL = "\n"; - function toXml(jArray, options) { - let indentation = ""; - if (options.format && options.indentBy.length > 0) { - indentation = EOL; - } - return arrToStr(jArray, options, "", indentation); - } - function arrToStr(arr, options, jPath, indentation) { - let xmlStr = ""; - let isPreviousElementTag = false; - for (let i = 0; i < arr.length; i++) { - const tagObj = arr[i]; - const tagName = propName(tagObj); - let newJPath = ""; - if (jPath.length === 0) - newJPath = tagName; - else - newJPath = `${jPath}.${tagName}`; - if (tagName === options.textNodeName) { - let tagText = tagObj[tagName]; - if (!isStopNode(newJPath, options)) { - tagText = options.tagValueProcessor(tagName, tagText); - tagText = replaceEntitiesValue(tagText, options); - } - if (isPreviousElementTag) { - xmlStr += indentation; - } - xmlStr += tagText; - isPreviousElementTag = false; - continue; - } else if (tagName === options.cdataPropName) { - if (isPreviousElementTag) { - xmlStr += indentation; - } - xmlStr += ``; - isPreviousElementTag = false; - continue; - } else if (tagName === options.commentPropName) { - xmlStr += indentation + ``; - isPreviousElementTag = true; - continue; - } else if (tagName[0] === "?") { - const attStr2 = attr_to_str(tagObj[":@"], options); - const tempInd = tagName === "?xml" ? "" : indentation; - let piTextNodeName = tagObj[tagName][0][options.textNodeName]; - piTextNodeName = piTextNodeName.length !== 0 ? " " + piTextNodeName : ""; - xmlStr += tempInd + `<${tagName}${piTextNodeName}${attStr2}?>`; - isPreviousElementTag = true; - continue; - } - let newIdentation = indentation; - if (newIdentation !== "") { - newIdentation += options.indentBy; - } - const attStr = attr_to_str(tagObj[":@"], options); - const tagStart = indentation + `<${tagName}${attStr}`; - const tagValue = arrToStr(tagObj[tagName], options, newJPath, newIdentation); - if (options.unpairedTags.indexOf(tagName) !== -1) { - if (options.suppressUnpairedNode) - xmlStr += tagStart + ">"; - else - xmlStr += tagStart + "/>"; - } else if ((!tagValue || tagValue.length === 0) && options.suppressEmptyNode) { - xmlStr += tagStart + "/>"; - } else if (tagValue && tagValue.endsWith(">")) { - xmlStr += tagStart + `>${tagValue}${indentation}`; - } else { - xmlStr += tagStart + ">"; - if (tagValue && indentation !== "" && (tagValue.includes("/>") || tagValue.includes("`; - } - isPreviousElementTag = true; +// ../../../node_modules/@smithy/smithy-client/dist-cjs/default-error-handler.js +var require_default_error_handler = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/default-error-handler.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.withBaseException = exports.throwDefaultError = void 0; + var exceptions_1 = require_exceptions(); + var throwDefaultError = ({ output, parsedBody, exceptionCtor, errorCode }) => { + const $metadata = deserializeMetadata(output); + const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : void 0; + const response = new exceptionCtor({ + name: (parsedBody === null || parsedBody === void 0 ? void 0 : parsedBody.code) || (parsedBody === null || parsedBody === void 0 ? void 0 : parsedBody.Code) || errorCode || statusCode || "UnknownError", + $fault: "client", + $metadata + }); + throw (0, exceptions_1.decorateServiceException)(response, parsedBody); + }; + exports.throwDefaultError = throwDefaultError; + var withBaseException = (ExceptionCtor) => { + return ({ output, parsedBody, errorCode }) => { + (0, exports.throwDefaultError)({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode }); + }; + }; + exports.withBaseException = withBaseException; + var deserializeMetadata = (output) => { + var _a, _b; + return { + httpStatusCode: output.statusCode, + requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"], + extendedRequestId: output.headers["x-amz-id-2"], + cfId: output.headers["x-amz-cf-id"] + }; + }; + } +}); + +// ../../../node_modules/@smithy/smithy-client/dist-cjs/defaults-mode.js +var require_defaults_mode = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/defaults-mode.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.loadConfigsForDefaultMode = void 0; + var loadConfigsForDefaultMode = (mode) => { + switch (mode) { + case "standard": + return { + retryMode: "standard", + connectionTimeout: 3100 + }; + case "in-region": + return { + retryMode: "standard", + connectionTimeout: 1100 + }; + case "cross-region": + return { + retryMode: "standard", + connectionTimeout: 3100 + }; + case "mobile": + return { + retryMode: "standard", + connectionTimeout: 3e4 + }; + default: + return {}; } - return xmlStr; - } - function propName(obj) { - const keys = Object.keys(obj); - for (let i = 0; i < keys.length; i++) { - const key = keys[i]; - if (key !== ":@") - return key; + }; + exports.loadConfigsForDefaultMode = loadConfigsForDefaultMode; + } +}); + +// ../../../node_modules/@smithy/smithy-client/dist-cjs/emitWarningIfUnsupportedVersion.js +var require_emitWarningIfUnsupportedVersion = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/emitWarningIfUnsupportedVersion.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.emitWarningIfUnsupportedVersion = void 0; + var warningEmitted = false; + var emitWarningIfUnsupportedVersion = (version2) => { + if (version2 && !warningEmitted && parseInt(version2.substring(1, version2.indexOf("."))) < 14) { + warningEmitted = true; } - } - function attr_to_str(attrMap, options) { - let attrStr = ""; - if (attrMap && !options.ignoreAttributes) { - for (let attr in attrMap) { - let attrVal = options.attributeValueProcessor(attr, attrMap[attr]); - attrVal = replaceEntitiesValue(attrVal, options); - if (attrVal === true && options.suppressBooleanAttributes) { - attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}`; - } else { - attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}="${attrVal}"`; - } + }; + exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion; + } +}); + +// ../../../node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +var require_checksum4 = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveChecksumRuntimeConfig = exports.getChecksumConfiguration = exports.AlgorithmId = void 0; + var types_1 = require_dist_cjs(); + Object.defineProperty(exports, "AlgorithmId", { enumerable: true, get: function() { + return types_1.AlgorithmId; + } }); + var getChecksumConfiguration = (runtimeConfig) => { + const checksumAlgorithms = []; + for (const id in types_1.AlgorithmId) { + const algorithmId = types_1.AlgorithmId[id]; + if (runtimeConfig[algorithmId] === void 0) { + continue; } + checksumAlgorithms.push({ + algorithmId: () => algorithmId, + checksumConstructor: () => runtimeConfig[algorithmId] + }); } - return attrStr; - } - function isStopNode(jPath, options) { - jPath = jPath.substr(0, jPath.length - options.textNodeName.length - 1); - let tagName = jPath.substr(jPath.lastIndexOf(".") + 1); - for (let index in options.stopNodes) { - if (options.stopNodes[index] === jPath || options.stopNodes[index] === "*." + tagName) - return true; - } - return false; - } - function replaceEntitiesValue(textValue, options) { - if (textValue && textValue.length > 0 && options.processEntities) { - for (let i = 0; i < options.entities.length; i++) { - const entity = options.entities[i]; - textValue = textValue.replace(entity.regex, entity.val); + return { + _checksumAlgorithms: checksumAlgorithms, + addChecksumAlgorithm(algo) { + this._checksumAlgorithms.push(algo); + }, + checksumAlgorithms() { + return this._checksumAlgorithms; } - } - return textValue; - } - module2.exports = toXml; + }; + }; + exports.getChecksumConfiguration = getChecksumConfiguration; + var resolveChecksumRuntimeConfig = (clientConfig) => { + const runtimeConfig = {}; + clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => { + runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor(); + }); + return runtimeConfig; + }; + exports.resolveChecksumRuntimeConfig = resolveChecksumRuntimeConfig; } }); -// ../../../node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js -var require_json2xml = __commonJS({ - "../../../node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js"(exports, module2) { +// ../../../node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +var require_retry3 = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js"(exports) { "use strict"; - var buildFromOrderedJs = require_orderedJs2Xml(); - var defaultOptions = { - attributeNamePrefix: "@_", - attributesGroupName: false, - textNodeName: "#text", - ignoreAttributes: true, - cdataPropName: false, - format: false, - indentBy: " ", - suppressEmptyNode: false, - suppressUnpairedNode: true, - suppressBooleanAttributes: true, - tagValueProcessor: function(key, a) { - return a; - }, - attributeValueProcessor: function(attrName, a) { - return a; - }, - preserveOrder: false, - commentPropName: false, - unpairedTags: [], - entities: [ - { regex: new RegExp("&", "g"), val: "&" }, - //it must be on top - { regex: new RegExp(">", "g"), val: ">" }, - { regex: new RegExp("<", "g"), val: "<" }, - { regex: new RegExp("'", "g"), val: "'" }, - { regex: new RegExp('"', "g"), val: """ } - ], - processEntities: true, - stopNodes: [], - // transformTagName: false, - // transformAttributeName: false, - oneListGroup: false - }; - function Builder(options) { - this.options = Object.assign({}, defaultOptions, options); - if (this.options.ignoreAttributes || this.options.attributesGroupName) { - this.isAttribute = function() { - return false; - }; - } else { - this.attrPrefixLen = this.options.attributeNamePrefix.length; - this.isAttribute = isAttribute; - } - this.processTextOrObjNode = processTextOrObjNode; - if (this.options.format) { - this.indentate = indentate; - this.tagEndChar = ">\n"; - this.newLine = "\n"; - } else { - this.indentate = function() { - return ""; - }; - this.tagEndChar = ">"; - this.newLine = ""; - } - } - Builder.prototype.build = function(jObj) { - if (this.options.preserveOrder) { - return buildFromOrderedJs(jObj, this.options); - } else { - if (Array.isArray(jObj) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1) { - jObj = { - [this.options.arrayNodeName]: jObj - }; - } - return this.j2x(jObj, 0).val; - } - }; - Builder.prototype.j2x = function(jObj, level) { - let attrStr = ""; - let val2 = ""; - for (let key in jObj) { - if (typeof jObj[key] === "undefined") { - } else if (jObj[key] === null) { - if (key[0] === "?") - val2 += this.indentate(level) + "<" + key + "?" + this.tagEndChar; - else - val2 += this.indentate(level) + "<" + key + "/" + this.tagEndChar; - } else if (jObj[key] instanceof Date) { - val2 += this.buildTextValNode(jObj[key], key, "", level); - } else if (typeof jObj[key] !== "object") { - const attr = this.isAttribute(key); - if (attr) { - attrStr += this.buildAttrPairStr(attr, "" + jObj[key]); - } else { - if (key === this.options.textNodeName) { - let newval = this.options.tagValueProcessor(key, "" + jObj[key]); - val2 += this.replaceEntitiesValue(newval); - } else { - val2 += this.buildTextValNode(jObj[key], key, "", level); - } - } - } else if (Array.isArray(jObj[key])) { - const arrLen = jObj[key].length; - let listTagVal = ""; - for (let j = 0; j < arrLen; j++) { - const item = jObj[key][j]; - if (typeof item === "undefined") { - } else if (item === null) { - if (key[0] === "?") - val2 += this.indentate(level) + "<" + key + "?" + this.tagEndChar; - else - val2 += this.indentate(level) + "<" + key + "/" + this.tagEndChar; - } else if (typeof item === "object") { - if (this.options.oneListGroup) { - listTagVal += this.j2x(item, level + 1).val; - } else { - listTagVal += this.processTextOrObjNode(item, key, level); - } - } else { - listTagVal += this.buildTextValNode(item, key, "", level); - } - } - if (this.options.oneListGroup) { - listTagVal = this.buildObjectNode(listTagVal, key, "", level); - } - val2 += listTagVal; - } else { - if (this.options.attributesGroupName && key === this.options.attributesGroupName) { - const Ks = Object.keys(jObj[key]); - const L = Ks.length; - for (let j = 0; j < L; j++) { - attrStr += this.buildAttrPairStr(Ks[j], "" + jObj[key][Ks[j]]); - } - } else { - val2 += this.processTextOrObjNode(jObj[key], key, level); - } - } - } - return { attrStr, val: val2 }; - }; - Builder.prototype.buildAttrPairStr = function(attrName, val2) { - val2 = this.options.attributeValueProcessor(attrName, "" + val2); - val2 = this.replaceEntitiesValue(val2); - if (this.options.suppressBooleanAttributes && val2 === "true") { - return " " + attrName; - } else - return " " + attrName + '="' + val2 + '"'; - }; - function processTextOrObjNode(object, key, level) { - const result = this.j2x(object, level + 1); - if (object[this.options.textNodeName] !== void 0 && Object.keys(object).length === 1) { - return this.buildTextValNode(object[this.options.textNodeName], key, result.attrStr, level); - } else { - return this.buildObjectNode(result.val, key, result.attrStr, level); - } - } - Builder.prototype.buildObjectNode = function(val2, key, attrStr, level) { - if (val2 === "") { - if (key[0] === "?") - return this.indentate(level) + "<" + key + attrStr + "?" + this.tagEndChar; - else { - return this.indentate(level) + "<" + key + attrStr + this.closeTag(key) + this.tagEndChar; - } - } else { - let tagEndExp = "" + val2 + tagEndExp; - } else if (this.options.commentPropName !== false && key === this.options.commentPropName && piClosingChar.length === 0) { - return this.indentate(level) + `` + this.newLine; - } else { - return this.indentate(level) + "<" + key + attrStr + piClosingChar + this.tagEndChar + val2 + this.indentate(level) + tagEndExp; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveRetryRuntimeConfig = exports.getRetryConfiguration = void 0; + var getRetryConfiguration = (runtimeConfig) => { + let _retryStrategy = runtimeConfig.retryStrategy; + return { + setRetryStrategy(retryStrategy) { + _retryStrategy = retryStrategy; + }, + retryStrategy() { + return _retryStrategy; } - } + }; }; - Builder.prototype.closeTag = function(key) { - let closeTag = ""; - if (this.options.unpairedTags.indexOf(key) !== -1) { - if (!this.options.suppressUnpairedNode) - closeTag = "/"; - } else if (this.options.suppressEmptyNode) { - closeTag = "/"; - } else { - closeTag = `> { + const runtimeConfig = {}; + runtimeConfig.retryStrategy = retryStrategyConfiguration.retryStrategy(); + return runtimeConfig; }; - Builder.prototype.buildTextValNode = function(val2, key, attrStr, level) { - if (this.options.cdataPropName !== false && key === this.options.cdataPropName) { - return this.indentate(level) + `` + this.newLine; - } else if (this.options.commentPropName !== false && key === this.options.commentPropName) { - return this.indentate(level) + `` + this.newLine; - } else if (key[0] === "?") { - return this.indentate(level) + "<" + key + attrStr + "?" + this.tagEndChar; - } else { - let textValue = this.options.tagValueProcessor(key, val2); - textValue = this.replaceEntitiesValue(textValue); - if (textValue === "") { - return this.indentate(level) + "<" + key + attrStr + this.closeTag(key) + this.tagEndChar; - } else { - return this.indentate(level) + "<" + key + attrStr + ">" + textValue + " { + return { + ...(0, checksum_1.getChecksumConfiguration)(runtimeConfig), + ...(0, retry_1.getRetryConfiguration)(runtimeConfig) + }; }; - Builder.prototype.replaceEntitiesValue = function(textValue) { - if (textValue && textValue.length > 0 && this.options.processEntities) { - for (let i = 0; i < this.options.entities.length; i++) { - const entity = this.options.entities[i]; - textValue = textValue.replace(entity.regex, entity.val); - } - } - return textValue; + exports.getDefaultExtensionConfiguration = getDefaultExtensionConfiguration; + exports.getDefaultClientConfiguration = exports.getDefaultExtensionConfiguration; + var resolveDefaultRuntimeConfig = (config) => { + return { + ...(0, checksum_1.resolveChecksumRuntimeConfig)(config), + ...(0, retry_1.resolveRetryRuntimeConfig)(config) + }; }; - function indentate(level) { - return this.options.indentBy.repeat(level); - } - function isAttribute(name) { - if (name.startsWith(this.options.attributeNamePrefix)) { - return name.substr(this.attrPrefixLen); - } else { - return false; - } - } - module2.exports = Builder; + exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig; } }); -// ../../../node_modules/fast-xml-parser/src/fxp.js -var require_fxp = __commonJS({ - "../../../node_modules/fast-xml-parser/src/fxp.js"(exports, module2) { +// ../../../node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +var require_extensions4 = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js"(exports) { "use strict"; - var validator = require_validator(); - var XMLParser = require_XMLParser(); - var XMLBuilder = require_json2xml(); - module2.exports = { - XMLParser, - XMLValidator: validator, - XMLBuilder - }; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_defaultExtensionConfiguration2(), exports); } }); -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js -var require_Aws_query = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js"(exports) { +// ../../../node_modules/@smithy/smithy-client/dist-cjs/extended-encode-uri-component.js +var require_extended_encode_uri_component = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/extended-encode-uri-component.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.de_GetSessionTokenCommand = exports.de_GetFederationTokenCommand = exports.de_GetCallerIdentityCommand = exports.de_GetAccessKeyInfoCommand = exports.de_DecodeAuthorizationMessageCommand = exports.de_AssumeRoleWithWebIdentityCommand = exports.de_AssumeRoleWithSAMLCommand = exports.de_AssumeRoleCommand = exports.se_GetSessionTokenCommand = exports.se_GetFederationTokenCommand = exports.se_GetCallerIdentityCommand = exports.se_GetAccessKeyInfoCommand = exports.se_DecodeAuthorizationMessageCommand = exports.se_AssumeRoleWithWebIdentityCommand = exports.se_AssumeRoleWithSAMLCommand = exports.se_AssumeRoleCommand = void 0; - var protocol_http_1 = require_dist_cjs2(); - var smithy_client_1 = require_dist_cjs35(); - var fast_xml_parser_1 = require_fxp(); - var models_0_1 = require_models_0(); - var STSServiceException_1 = require_STSServiceException(); - var se_AssumeRoleCommand = async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssumeRoleRequest(input, context), - Action: "AssumeRole", - Version: "2011-06-15" - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_AssumeRoleCommand = se_AssumeRoleCommand; - var se_AssumeRoleWithSAMLCommand = async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssumeRoleWithSAMLRequest(input, context), - Action: "AssumeRoleWithSAML", - Version: "2011-06-15" - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_AssumeRoleWithSAMLCommand = se_AssumeRoleWithSAMLCommand; - var se_AssumeRoleWithWebIdentityCommand = async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssumeRoleWithWebIdentityRequest(input, context), - Action: "AssumeRoleWithWebIdentity", - Version: "2011-06-15" - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_AssumeRoleWithWebIdentityCommand = se_AssumeRoleWithWebIdentityCommand; - var se_DecodeAuthorizationMessageCommand = async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DecodeAuthorizationMessageRequest(input, context), - Action: "DecodeAuthorizationMessage", - Version: "2011-06-15" - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_DecodeAuthorizationMessageCommand = se_DecodeAuthorizationMessageCommand; - var se_GetAccessKeyInfoCommand = async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetAccessKeyInfoRequest(input, context), - Action: "GetAccessKeyInfo", - Version: "2011-06-15" - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_GetAccessKeyInfoCommand = se_GetAccessKeyInfoCommand; - var se_GetCallerIdentityCommand = async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetCallerIdentityRequest(input, context), - Action: "GetCallerIdentity", - Version: "2011-06-15" - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_GetCallerIdentityCommand = se_GetCallerIdentityCommand; - var se_GetFederationTokenCommand = async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetFederationTokenRequest(input, context), - Action: "GetFederationToken", - Version: "2011-06-15" + exports.extendedEncodeURIComponent = void 0; + function extendedEncodeURIComponent(str) { + return encodeURIComponent(str).replace(/[!'()*]/g, function(c) { + return "%" + c.charCodeAt(0).toString(16).toUpperCase(); }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); + } + exports.extendedEncodeURIComponent = extendedEncodeURIComponent; + } +}); + +// ../../../node_modules/@smithy/smithy-client/dist-cjs/get-array-if-single-item.js +var require_get_array_if_single_item = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/get-array-if-single-item.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getArrayIfSingleItem = void 0; + var getArrayIfSingleItem = (mayBeArray) => Array.isArray(mayBeArray) ? mayBeArray : [mayBeArray]; + exports.getArrayIfSingleItem = getArrayIfSingleItem; + } +}); + +// ../../../node_modules/@smithy/smithy-client/dist-cjs/get-value-from-text-node.js +var require_get_value_from_text_node = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/get-value-from-text-node.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getValueFromTextNode = void 0; + var getValueFromTextNode = (obj) => { + const textNodeName = "#text"; + for (const key in obj) { + if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== void 0) { + obj[key] = obj[key][textNodeName]; + } else if (typeof obj[key] === "object" && obj[key] !== null) { + obj[key] = (0, exports.getValueFromTextNode)(obj[key]); + } + } + return obj; }; - exports.se_GetFederationTokenCommand = se_GetFederationTokenCommand; - var se_GetSessionTokenCommand = async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetSessionTokenRequest(input, context), - Action: "GetSessionToken", - Version: "2011-06-15" - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); + exports.getValueFromTextNode = getValueFromTextNode; + } +}); + +// ../../../node_modules/@smithy/smithy-client/dist-cjs/lazy-json.js +var require_lazy_json = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/lazy-json.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.LazyJsonString = exports.StringWrapper = void 0; + var StringWrapper = function() { + const Class = Object.getPrototypeOf(this).constructor; + const Constructor = Function.bind.apply(String, [null, ...arguments]); + const instance = new Constructor(); + Object.setPrototypeOf(instance, Class.prototype); + return instance; }; - exports.se_GetSessionTokenCommand = se_GetSessionTokenCommand; - var de_AssumeRoleCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_AssumeRoleCommandError(output, context); + exports.StringWrapper = StringWrapper; + exports.StringWrapper.prototype = Object.create(String.prototype, { + constructor: { + value: exports.StringWrapper, + enumerable: false, + writable: true, + configurable: true + } + }); + Object.setPrototypeOf(exports.StringWrapper, String); + var LazyJsonString = class _LazyJsonString extends exports.StringWrapper { + deserializeJSON() { + return JSON.parse(super.toString()); + } + toJSON() { + return super.toString(); + } + static fromObject(object) { + if (object instanceof _LazyJsonString) { + return object; + } else if (object instanceof String || typeof object === "string") { + return new _LazyJsonString(object); + } + return new _LazyJsonString(JSON.stringify(object)); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_AssumeRoleResponse(data.AssumeRoleResult, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; }; - exports.de_AssumeRoleCommand = de_AssumeRoleCommand; - var de_AssumeRoleCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadQueryErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ExpiredTokenException": - case "com.amazonaws.sts#ExpiredTokenException": - throw await de_ExpiredTokenExceptionRes(parsedOutput, context); - case "MalformedPolicyDocument": - case "com.amazonaws.sts#MalformedPolicyDocumentException": - throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context); - case "PackedPolicyTooLarge": - case "com.amazonaws.sts#PackedPolicyTooLargeException": - throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context); - case "RegionDisabledException": - case "com.amazonaws.sts#RegionDisabledException": - throw await de_RegionDisabledExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody: parsedBody.Error, - errorCode - }); + exports.LazyJsonString = LazyJsonString; + } +}); + +// ../../../node_modules/@smithy/smithy-client/dist-cjs/object-mapping.js +var require_object_mapping = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/object-mapping.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.take = exports.convertMap = exports.map = void 0; + function map(arg0, arg1, arg2) { + let target; + let filter; + let instructions; + if (typeof arg1 === "undefined" && typeof arg2 === "undefined") { + target = {}; + instructions = arg0; + } else { + target = arg0; + if (typeof arg1 === "function") { + filter = arg1; + instructions = arg2; + return mapWithFilter(target, filter, instructions); + } else { + instructions = arg1; + } + } + for (const key of Object.keys(instructions)) { + if (!Array.isArray(instructions[key])) { + target[key] = instructions[key]; + continue; + } + applyInstruction(target, null, instructions, key); + } + return target; + } + exports.map = map; + var convertMap = (target) => { + const output = {}; + for (const [k, v] of Object.entries(target || {})) { + output[k] = [, v]; } + return output; }; - var de_AssumeRoleWithSAMLCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_AssumeRoleWithSAMLCommandError(output, context); + exports.convertMap = convertMap; + var take = (source, instructions) => { + const out = {}; + for (const key in instructions) { + applyInstruction(out, source, instructions, key); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_AssumeRoleWithSAMLResponse(data.AssumeRoleWithSAMLResult, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; + return out; }; - exports.de_AssumeRoleWithSAMLCommand = de_AssumeRoleWithSAMLCommand; - var de_AssumeRoleWithSAMLCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadQueryErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ExpiredTokenException": - case "com.amazonaws.sts#ExpiredTokenException": - throw await de_ExpiredTokenExceptionRes(parsedOutput, context); - case "IDPRejectedClaim": - case "com.amazonaws.sts#IDPRejectedClaimException": - throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context); - case "InvalidIdentityToken": - case "com.amazonaws.sts#InvalidIdentityTokenException": - throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context); - case "MalformedPolicyDocument": - case "com.amazonaws.sts#MalformedPolicyDocumentException": - throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context); - case "PackedPolicyTooLarge": - case "com.amazonaws.sts#PackedPolicyTooLargeException": - throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context); - case "RegionDisabledException": - case "com.amazonaws.sts#RegionDisabledException": - throw await de_RegionDisabledExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody: parsedBody.Error, - errorCode - }); - } + exports.take = take; + var mapWithFilter = (target, filter, instructions) => { + return map(target, Object.entries(instructions).reduce((_instructions, [key, value]) => { + if (Array.isArray(value)) { + _instructions[key] = value; + } else { + if (typeof value === "function") { + _instructions[key] = [filter, value()]; + } else { + _instructions[key] = [filter, value]; + } + } + return _instructions; + }, {})); }; - var de_AssumeRoleWithWebIdentityCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_AssumeRoleWithWebIdentityCommandError(output, context); + var applyInstruction = (target, source, instructions, targetKey) => { + if (source !== null) { + let instruction = instructions[targetKey]; + if (typeof instruction === "function") { + instruction = [, instruction]; + } + const [filter2 = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction; + if (typeof filter2 === "function" && filter2(source[sourceKey]) || typeof filter2 !== "function" && !!filter2) { + target[targetKey] = valueFn(source[sourceKey]); + } + return; } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_AssumeRoleWithWebIdentityResponse(data.AssumeRoleWithWebIdentityResult, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_AssumeRoleWithWebIdentityCommand = de_AssumeRoleWithWebIdentityCommand; - var de_AssumeRoleWithWebIdentityCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadQueryErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ExpiredTokenException": - case "com.amazonaws.sts#ExpiredTokenException": - throw await de_ExpiredTokenExceptionRes(parsedOutput, context); - case "IDPCommunicationError": - case "com.amazonaws.sts#IDPCommunicationErrorException": - throw await de_IDPCommunicationErrorExceptionRes(parsedOutput, context); - case "IDPRejectedClaim": - case "com.amazonaws.sts#IDPRejectedClaimException": - throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context); - case "InvalidIdentityToken": - case "com.amazonaws.sts#InvalidIdentityTokenException": - throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context); - case "MalformedPolicyDocument": - case "com.amazonaws.sts#MalformedPolicyDocumentException": - throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context); - case "PackedPolicyTooLarge": - case "com.amazonaws.sts#PackedPolicyTooLargeException": - throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context); - case "RegionDisabledException": - case "com.amazonaws.sts#RegionDisabledException": - throw await de_RegionDisabledExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody: parsedBody.Error, - errorCode - }); + let [filter, value] = instructions[targetKey]; + if (typeof value === "function") { + let _value; + const defaultFilterPassed = filter === void 0 && (_value = value()) != null; + const customFilterPassed = typeof filter === "function" && !!filter(void 0) || typeof filter !== "function" && !!filter; + if (defaultFilterPassed) { + target[targetKey] = _value; + } else if (customFilterPassed) { + target[targetKey] = value(); + } + } else { + const defaultFilterPassed = filter === void 0 && value != null; + const customFilterPassed = typeof filter === "function" && !!filter(value) || typeof filter !== "function" && !!filter; + if (defaultFilterPassed || customFilterPassed) { + target[targetKey] = value; + } } }; - var de_DecodeAuthorizationMessageCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_DecodeAuthorizationMessageCommandError(output, context); + var nonNullish = (_) => _ != null; + var pass = (_) => _; + } +}); + +// ../../../node_modules/@smithy/smithy-client/dist-cjs/resolve-path.js +var require_resolve_path = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/resolve-path.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolvedPath = void 0; + var extended_encode_uri_component_1 = require_extended_encode_uri_component(); + var resolvedPath = (resolvedPath2, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => { + if (input != null && input[memberName] !== void 0) { + const labelValue = labelValueProvider(); + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: " + memberName + "."); + } + resolvedPath2 = resolvedPath2.replace(uriLabel, isGreedyLabel ? labelValue.split("/").map((segment) => (0, extended_encode_uri_component_1.extendedEncodeURIComponent)(segment)).join("/") : (0, extended_encode_uri_component_1.extendedEncodeURIComponent)(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: " + memberName + "."); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_DecodeAuthorizationMessageResponse(data.DecodeAuthorizationMessageResult, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; + return resolvedPath2; }; - exports.de_DecodeAuthorizationMessageCommand = de_DecodeAuthorizationMessageCommand; - var de_DecodeAuthorizationMessageCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadQueryErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidAuthorizationMessageException": - case "com.amazonaws.sts#InvalidAuthorizationMessageException": - throw await de_InvalidAuthorizationMessageExceptionRes(parsedOutput, context); + exports.resolvedPath = resolvedPath; + } +}); + +// ../../../node_modules/@smithy/smithy-client/dist-cjs/ser-utils.js +var require_ser_utils = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/ser-utils.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.serializeFloat = void 0; + var serializeFloat = (value) => { + if (value !== value) { + return "NaN"; + } + switch (value) { + case Infinity: + return "Infinity"; + case -Infinity: + return "-Infinity"; default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody: parsedBody.Error, - errorCode - }); + return value; } }; - var de_GetAccessKeyInfoCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_GetAccessKeyInfoCommandError(output, context); + exports.serializeFloat = serializeFloat; + } +}); + +// ../../../node_modules/@smithy/smithy-client/dist-cjs/serde-json.js +var require_serde_json = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/serde-json.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports._json = void 0; + var _json = (obj) => { + if (obj == null) { + return {}; } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_GetAccessKeyInfoResponse(data.GetAccessKeyInfoResult, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_GetAccessKeyInfoCommand = de_GetAccessKeyInfoCommand; - var de_GetAccessKeyInfoCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadQueryErrorCode(output, parsedOutput.body); - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody: parsedBody.Error, - errorCode - }); - }; - var de_GetCallerIdentityCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_GetCallerIdentityCommandError(output, context); + if (Array.isArray(obj)) { + return obj.filter((_) => _ != null); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_GetCallerIdentityResponse(data.GetCallerIdentityResult, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; + if (typeof obj === "object") { + const target = {}; + for (const key of Object.keys(obj)) { + if (obj[key] == null) { + continue; + } + target[key] = (0, exports._json)(obj[key]); + } + return target; + } + return obj; }; - exports.de_GetCallerIdentityCommand = de_GetCallerIdentityCommand; - var de_GetCallerIdentityCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadQueryErrorCode(output, parsedOutput.body); - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody: parsedBody.Error, - errorCode - }); - }; - var de_GetFederationTokenCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_GetFederationTokenCommandError(output, context); - } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_GetFederationTokenResponse(data.GetFederationTokenResult, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_GetFederationTokenCommand = de_GetFederationTokenCommand; - var de_GetFederationTokenCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadQueryErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "MalformedPolicyDocument": - case "com.amazonaws.sts#MalformedPolicyDocumentException": - throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context); - case "PackedPolicyTooLarge": - case "com.amazonaws.sts#PackedPolicyTooLargeException": - throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context); - case "RegionDisabledException": - case "com.amazonaws.sts#RegionDisabledException": - throw await de_RegionDisabledExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody: parsedBody.Error, - errorCode - }); - } - }; - var de_GetSessionTokenCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_GetSessionTokenCommandError(output, context); - } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_GetSessionTokenResponse(data.GetSessionTokenResult, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_GetSessionTokenCommand = de_GetSessionTokenCommand; - var de_GetSessionTokenCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadQueryErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "RegionDisabledException": - case "com.amazonaws.sts#RegionDisabledException": - throw await de_RegionDisabledExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody: parsedBody.Error, - errorCode - }); - } - }; - var de_ExpiredTokenExceptionRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = de_ExpiredTokenException(body.Error, context); - const exception = new models_0_1.ExpiredTokenException({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var de_IDPCommunicationErrorExceptionRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = de_IDPCommunicationErrorException(body.Error, context); - const exception = new models_0_1.IDPCommunicationErrorException({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var de_IDPRejectedClaimExceptionRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = de_IDPRejectedClaimException(body.Error, context); - const exception = new models_0_1.IDPRejectedClaimException({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var de_InvalidAuthorizationMessageExceptionRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = de_InvalidAuthorizationMessageException(body.Error, context); - const exception = new models_0_1.InvalidAuthorizationMessageException({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var de_InvalidIdentityTokenExceptionRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = de_InvalidIdentityTokenException(body.Error, context); - const exception = new models_0_1.InvalidIdentityTokenException({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var de_MalformedPolicyDocumentExceptionRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = de_MalformedPolicyDocumentException(body.Error, context); - const exception = new models_0_1.MalformedPolicyDocumentException({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var de_PackedPolicyTooLargeExceptionRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = de_PackedPolicyTooLargeException(body.Error, context); - const exception = new models_0_1.PackedPolicyTooLargeException({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var de_RegionDisabledExceptionRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = de_RegionDisabledException(body.Error, context); - const exception = new models_0_1.RegionDisabledException({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var se_AssumeRoleRequest = (input, context) => { - const entries = {}; - if (input.RoleArn != null) { - entries["RoleArn"] = input.RoleArn; - } - if (input.RoleSessionName != null) { - entries["RoleSessionName"] = input.RoleSessionName; - } - if (input.PolicyArns != null) { - const memberEntries = se_policyDescriptorListType(input.PolicyArns, context); - if (input.PolicyArns?.length === 0) { - entries.PolicyArns = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PolicyArns.${key}`; - entries[loc] = value; - }); - } - if (input.Policy != null) { - entries["Policy"] = input.Policy; - } - if (input.DurationSeconds != null) { - entries["DurationSeconds"] = input.DurationSeconds; + exports._json = _json; + } +}); + +// ../../../node_modules/@smithy/smithy-client/dist-cjs/split-every.js +var require_split_every = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/split-every.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.splitEvery = void 0; + function splitEvery(value, delimiter, numDelimiters) { + if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) { + throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery."); } - if (input.Tags != null) { - const memberEntries = se_tagListType(input.Tags, context); - if (input.Tags?.length === 0) { - entries.Tags = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Tags.${key}`; - entries[loc] = value; - }); + const segments = value.split(delimiter); + if (numDelimiters === 1) { + return segments; } - if (input.TransitiveTagKeys != null) { - const memberEntries = se_tagKeyListType(input.TransitiveTagKeys, context); - if (input.TransitiveTagKeys?.length === 0) { - entries.TransitiveTagKeys = []; + const compoundSegments = []; + let currentSegment = ""; + for (let i = 0; i < segments.length; i++) { + if (currentSegment === "") { + currentSegment = segments[i]; + } else { + currentSegment += delimiter + segments[i]; } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TransitiveTagKeys.${key}`; - entries[loc] = value; - }); - } - if (input.ExternalId != null) { - entries["ExternalId"] = input.ExternalId; - } - if (input.SerialNumber != null) { - entries["SerialNumber"] = input.SerialNumber; - } - if (input.TokenCode != null) { - entries["TokenCode"] = input.TokenCode; - } - if (input.SourceIdentity != null) { - entries["SourceIdentity"] = input.SourceIdentity; - } - if (input.ProvidedContexts != null) { - const memberEntries = se_ProvidedContextsListType(input.ProvidedContexts, context); - if (input.ProvidedContexts?.length === 0) { - entries.ProvidedContexts = []; + if ((i + 1) % numDelimiters === 0) { + compoundSegments.push(currentSegment); + currentSegment = ""; } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ProvidedContexts.${key}`; - entries[loc] = value; - }); - } - return entries; - }; - var se_AssumeRoleWithSAMLRequest = (input, context) => { - const entries = {}; - if (input.RoleArn != null) { - entries["RoleArn"] = input.RoleArn; } - if (input.PrincipalArn != null) { - entries["PrincipalArn"] = input.PrincipalArn; + if (currentSegment !== "") { + compoundSegments.push(currentSegment); } - if (input.SAMLAssertion != null) { - entries["SAMLAssertion"] = input.SAMLAssertion; - } - if (input.PolicyArns != null) { - const memberEntries = se_policyDescriptorListType(input.PolicyArns, context); - if (input.PolicyArns?.length === 0) { - entries.PolicyArns = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PolicyArns.${key}`; - entries[loc] = value; - }); - } - if (input.Policy != null) { - entries["Policy"] = input.Policy; - } - if (input.DurationSeconds != null) { - entries["DurationSeconds"] = input.DurationSeconds; - } - return entries; + return compoundSegments; + } + exports.splitEvery = splitEvery; + } +}); + +// ../../../node_modules/@smithy/smithy-client/dist-cjs/index.js +var require_dist_cjs37 = __commonJS({ + "../../../node_modules/@smithy/smithy-client/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_NoOpLogger(), exports); + tslib_1.__exportStar(require_client3(), exports); + tslib_1.__exportStar(require_collect_stream_body(), exports); + tslib_1.__exportStar(require_command3(), exports); + tslib_1.__exportStar(require_constants6(), exports); + tslib_1.__exportStar(require_create_aggregated_client(), exports); + tslib_1.__exportStar(require_date_utils(), exports); + tslib_1.__exportStar(require_default_error_handler(), exports); + tslib_1.__exportStar(require_defaults_mode(), exports); + tslib_1.__exportStar(require_emitWarningIfUnsupportedVersion(), exports); + tslib_1.__exportStar(require_extensions4(), exports); + tslib_1.__exportStar(require_exceptions(), exports); + tslib_1.__exportStar(require_extended_encode_uri_component(), exports); + tslib_1.__exportStar(require_get_array_if_single_item(), exports); + tslib_1.__exportStar(require_get_value_from_text_node(), exports); + tslib_1.__exportStar(require_lazy_json(), exports); + tslib_1.__exportStar(require_object_mapping(), exports); + tslib_1.__exportStar(require_parse_utils(), exports); + tslib_1.__exportStar(require_resolve_path(), exports); + tslib_1.__exportStar(require_ser_utils(), exports); + tslib_1.__exportStar(require_serde_json(), exports); + tslib_1.__exportStar(require_split_every(), exports); + } +}); + +// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/endpoint/EndpointParameters.js +var require_EndpointParameters = __commonJS({ + "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/endpoint/EndpointParameters.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveClientEndpointParameters = void 0; + var resolveClientEndpointParameters = (options) => { + return { + ...options, + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "states" + }; }; - var se_AssumeRoleWithWebIdentityRequest = (input, context) => { - const entries = {}; - if (input.RoleArn != null) { - entries["RoleArn"] = input.RoleArn; - } - if (input.RoleSessionName != null) { - entries["RoleSessionName"] = input.RoleSessionName; - } - if (input.WebIdentityToken != null) { - entries["WebIdentityToken"] = input.WebIdentityToken; - } - if (input.ProviderId != null) { - entries["ProviderId"] = input.ProviderId; - } - if (input.PolicyArns != null) { - const memberEntries = se_policyDescriptorListType(input.PolicyArns, context); - if (input.PolicyArns?.length === 0) { - entries.PolicyArns = []; + exports.resolveClientEndpointParameters = resolveClientEndpointParameters; + } +}); + +// ../../../node_modules/@aws-sdk/client-sfn/package.json +var require_package = __commonJS({ + "../../../node_modules/@aws-sdk/client-sfn/package.json"(exports, module2) { + module2.exports = { + name: "@aws-sdk/client-sfn", + description: "AWS SDK for JavaScript Sfn Client for Node.js, Browser and React Native", + version: "3.421.0", + scripts: { + build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:docs": "typedoc", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + clean: "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", + "generate:client": "node ../../scripts/generate-clients/single-service --solo sfn" + }, + main: "./dist-cjs/index.js", + types: "./dist-types/index.d.ts", + module: "./dist-es/index.js", + sideEffects: false, + dependencies: { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/client-sts": "3.421.0", + "@aws-sdk/credential-provider-node": "3.421.0", + "@aws-sdk/middleware-host-header": "3.418.0", + "@aws-sdk/middleware-logger": "3.418.0", + "@aws-sdk/middleware-recursion-detection": "3.418.0", + "@aws-sdk/middleware-signing": "3.418.0", + "@aws-sdk/middleware-user-agent": "3.418.0", + "@aws-sdk/region-config-resolver": "3.418.0", + "@aws-sdk/types": "3.418.0", + "@aws-sdk/util-endpoints": "3.418.0", + "@aws-sdk/util-user-agent-browser": "3.418.0", + "@aws-sdk/util-user-agent-node": "3.418.0", + "@smithy/config-resolver": "^2.0.10", + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/hash-node": "^2.0.9", + "@smithy/invalid-dependency": "^2.0.9", + "@smithy/middleware-content-length": "^2.0.11", + "@smithy/middleware-endpoint": "^2.0.9", + "@smithy/middleware-retry": "^2.0.12", + "@smithy/middleware-serde": "^2.0.9", + "@smithy/middleware-stack": "^2.0.2", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/protocol-http": "^3.0.5", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-body-length-browser": "^2.0.0", + "@smithy/util-body-length-node": "^2.1.0", + "@smithy/util-defaults-mode-browser": "^2.0.10", + "@smithy/util-defaults-mode-node": "^2.0.12", + "@smithy/util-retry": "^2.0.2", + "@smithy/util-utf8": "^2.0.0", + tslib: "^2.5.0" + }, + devDependencies: { + "@smithy/service-client-documentation-generator": "^2.0.0", + "@tsconfig/node14": "1.0.3", + "@types/node": "^14.14.31", + concurrently: "7.0.0", + "downlevel-dts": "0.10.1", + rimraf: "3.0.2", + typedoc: "0.23.23", + typescript: "~4.9.5" + }, + engines: { + node: ">=14.0.0" + }, + typesVersions: { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PolicyArns.${key}`; - entries[loc] = value; - }); - } - if (input.Policy != null) { - entries["Policy"] = input.Policy; - } - if (input.DurationSeconds != null) { - entries["DurationSeconds"] = input.DurationSeconds; - } - return entries; - }; - var se_DecodeAuthorizationMessageRequest = (input, context) => { - const entries = {}; - if (input.EncodedMessage != null) { - entries["EncodedMessage"] = input.EncodedMessage; - } - return entries; - }; - var se_GetAccessKeyInfoRequest = (input, context) => { - const entries = {}; - if (input.AccessKeyId != null) { - entries["AccessKeyId"] = input.AccessKeyId; + }, + files: [ + "dist-*/**" + ], + author: { + name: "AWS SDK for JavaScript Team", + url: "https://aws.amazon.com/javascript/" + }, + license: "Apache-2.0", + browser: { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sfn", + repository: { + type: "git", + url: "https://github.com/aws/aws-sdk-js-v3.git", + directory: "clients/client-sfn" } - return entries; }; - var se_GetCallerIdentityRequest = (input, context) => { - const entries = {}; - return entries; + } +}); + +// ../../../node_modules/@aws-sdk/middleware-sdk-sts/dist-cjs/index.js +var require_dist_cjs38 = __commonJS({ + "../../../node_modules/@aws-sdk/middleware-sdk-sts/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveStsAuthConfig = void 0; + var middleware_signing_1 = require_dist_cjs16(); + var resolveStsAuthConfig = (input, { stsClientCtor }) => (0, middleware_signing_1.resolveAwsAuthConfig)({ + ...input, + stsClientCtor + }); + exports.resolveStsAuthConfig = resolveStsAuthConfig; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js +var require_EndpointParameters2 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveClientEndpointParameters = void 0; + var resolveClientEndpointParameters = (options) => { + return { + ...options, + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + useGlobalEndpoint: options.useGlobalEndpoint ?? false, + defaultSigningName: "sts" + }; }; - var se_GetFederationTokenRequest = (input, context) => { - const entries = {}; - if (input.Name != null) { - entries["Name"] = input.Name; - } - if (input.Policy != null) { - entries["Policy"] = input.Policy; - } - if (input.PolicyArns != null) { - const memberEntries = se_policyDescriptorListType(input.PolicyArns, context); - if (input.PolicyArns?.length === 0) { - entries.PolicyArns = []; + exports.resolveClientEndpointParameters = resolveClientEndpointParameters; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/package.json +var require_package2 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/package.json"(exports, module2) { + module2.exports = { + name: "@aws-sdk/client-sts", + description: "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native", + version: "3.421.0", + scripts: { + build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:docs": "typedoc", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + clean: "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", + "generate:client": "node ../../scripts/generate-clients/single-service --solo sts", + test: "yarn test:unit", + "test:unit": "jest" + }, + main: "./dist-cjs/index.js", + types: "./dist-types/index.d.ts", + module: "./dist-es/index.js", + sideEffects: false, + dependencies: { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/credential-provider-node": "3.421.0", + "@aws-sdk/middleware-host-header": "3.418.0", + "@aws-sdk/middleware-logger": "3.418.0", + "@aws-sdk/middleware-recursion-detection": "3.418.0", + "@aws-sdk/middleware-sdk-sts": "3.418.0", + "@aws-sdk/middleware-signing": "3.418.0", + "@aws-sdk/middleware-user-agent": "3.418.0", + "@aws-sdk/region-config-resolver": "3.418.0", + "@aws-sdk/types": "3.418.0", + "@aws-sdk/util-endpoints": "3.418.0", + "@aws-sdk/util-user-agent-browser": "3.418.0", + "@aws-sdk/util-user-agent-node": "3.418.0", + "@smithy/config-resolver": "^2.0.10", + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/hash-node": "^2.0.9", + "@smithy/invalid-dependency": "^2.0.9", + "@smithy/middleware-content-length": "^2.0.11", + "@smithy/middleware-endpoint": "^2.0.9", + "@smithy/middleware-retry": "^2.0.12", + "@smithy/middleware-serde": "^2.0.9", + "@smithy/middleware-stack": "^2.0.2", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/protocol-http": "^3.0.5", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-body-length-browser": "^2.0.0", + "@smithy/util-body-length-node": "^2.1.0", + "@smithy/util-defaults-mode-browser": "^2.0.10", + "@smithy/util-defaults-mode-node": "^2.0.12", + "@smithy/util-retry": "^2.0.2", + "@smithy/util-utf8": "^2.0.0", + "fast-xml-parser": "4.2.5", + tslib: "^2.5.0" + }, + devDependencies: { + "@smithy/service-client-documentation-generator": "^2.0.0", + "@tsconfig/node14": "1.0.3", + "@types/node": "^14.14.31", + concurrently: "7.0.0", + "downlevel-dts": "0.10.1", + rimraf: "3.0.2", + typedoc: "0.23.23", + typescript: "~4.9.5" + }, + engines: { + node: ">=14.0.0" + }, + typesVersions: { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PolicyArns.${key}`; - entries[loc] = value; - }); + }, + files: [ + "dist-*/**" + ], + author: { + name: "AWS SDK for JavaScript Team", + url: "https://aws.amazon.com/javascript/" + }, + license: "Apache-2.0", + browser: { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + 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" } - if (input.DurationSeconds != null) { - entries["DurationSeconds"] = input.DurationSeconds; + }; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/models/STSServiceException.js +var require_STSServiceException = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/models/STSServiceException.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.STSServiceException = exports.__ServiceException = void 0; + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function() { + return smithy_client_1.ServiceException; + } }); + var STSServiceException = class _STSServiceException extends smithy_client_1.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, _STSServiceException.prototype); } - if (input.Tags != null) { - const memberEntries = se_tagListType(input.Tags, context); - if (input.Tags?.length === 0) { - entries.Tags = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Tags.${key}`; - entries[loc] = value; + }; + exports.STSServiceException = STSServiceException; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/models/models_0.js +var require_models_0 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/models/models_0.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.GetSessionTokenResponseFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.AssumeRoleWithWebIdentityResponseFilterSensitiveLog = exports.AssumeRoleWithWebIdentityRequestFilterSensitiveLog = exports.AssumeRoleWithSAMLResponseFilterSensitiveLog = exports.AssumeRoleWithSAMLRequestFilterSensitiveLog = exports.AssumeRoleResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.InvalidAuthorizationMessageException = exports.IDPCommunicationErrorException = exports.InvalidIdentityTokenException = exports.IDPRejectedClaimException = exports.RegionDisabledException = exports.PackedPolicyTooLargeException = exports.MalformedPolicyDocumentException = exports.ExpiredTokenException = void 0; + var smithy_client_1 = require_dist_cjs37(); + var STSServiceException_1 = require_STSServiceException(); + var ExpiredTokenException = class _ExpiredTokenException extends STSServiceException_1.STSServiceException { + constructor(opts) { + super({ + name: "ExpiredTokenException", + $fault: "client", + ...opts }); + this.name = "ExpiredTokenException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ExpiredTokenException.prototype); } - return entries; }; - var se_GetSessionTokenRequest = (input, context) => { - const entries = {}; - if (input.DurationSeconds != null) { - entries["DurationSeconds"] = input.DurationSeconds; - } - if (input.SerialNumber != null) { - entries["SerialNumber"] = input.SerialNumber; - } - if (input.TokenCode != null) { - entries["TokenCode"] = input.TokenCode; + exports.ExpiredTokenException = ExpiredTokenException; + var MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException_1.STSServiceException { + constructor(opts) { + super({ + name: "MalformedPolicyDocumentException", + $fault: "client", + ...opts + }); + this.name = "MalformedPolicyDocumentException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype); } - return entries; }; - var se_policyDescriptorListType = (input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_PolicyDescriptorType(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`member.${counter}.${key}`] = value; + exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException; + var PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException_1.STSServiceException { + constructor(opts) { + super({ + name: "PackedPolicyTooLargeException", + $fault: "client", + ...opts }); - counter++; + this.name = "PackedPolicyTooLargeException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype); } - return entries; }; - var se_PolicyDescriptorType = (input, context) => { - const entries = {}; - if (input.arn != null) { - entries["arn"] = input.arn; + exports.PackedPolicyTooLargeException = PackedPolicyTooLargeException; + var RegionDisabledException = class _RegionDisabledException extends STSServiceException_1.STSServiceException { + constructor(opts) { + super({ + name: "RegionDisabledException", + $fault: "client", + ...opts + }); + this.name = "RegionDisabledException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _RegionDisabledException.prototype); } - return entries; }; - var se_ProvidedContext = (input, context) => { - const entries = {}; - if (input.ProviderArn != null) { - entries["ProviderArn"] = input.ProviderArn; + exports.RegionDisabledException = RegionDisabledException; + var IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException_1.STSServiceException { + constructor(opts) { + super({ + name: "IDPRejectedClaimException", + $fault: "client", + ...opts + }); + this.name = "IDPRejectedClaimException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype); } - if (input.ContextAssertion != null) { - entries["ContextAssertion"] = input.ContextAssertion; + }; + exports.IDPRejectedClaimException = IDPRejectedClaimException; + var InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException_1.STSServiceException { + constructor(opts) { + super({ + name: "InvalidIdentityTokenException", + $fault: "client", + ...opts + }); + this.name = "InvalidIdentityTokenException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype); } - return entries; }; - var se_ProvidedContextsListType = (input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ProvidedContext(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`member.${counter}.${key}`] = value; + exports.InvalidIdentityTokenException = InvalidIdentityTokenException; + var IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException_1.STSServiceException { + constructor(opts) { + super({ + name: "IDPCommunicationErrorException", + $fault: "client", + ...opts }); - counter++; + this.name = "IDPCommunicationErrorException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype); } - return entries; }; - var se_Tag = (input, context) => { - const entries = {}; - if (input.Key != null) { - entries["Key"] = input.Key; - } - if (input.Value != null) { - entries["Value"] = input.Value; + exports.IDPCommunicationErrorException = IDPCommunicationErrorException; + var InvalidAuthorizationMessageException = class _InvalidAuthorizationMessageException extends STSServiceException_1.STSServiceException { + constructor(opts) { + super({ + name: "InvalidAuthorizationMessageException", + $fault: "client", + ...opts + }); + this.name = "InvalidAuthorizationMessageException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidAuthorizationMessageException.prototype); } - return entries; }; - var se_tagKeyListType = (input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; + exports.InvalidAuthorizationMessageException = InvalidAuthorizationMessageException; + var CredentialsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.SecretAccessKey && { SecretAccessKey: smithy_client_1.SENSITIVE_STRING } + }); + exports.CredentialsFilterSensitiveLog = CredentialsFilterSensitiveLog; + var AssumeRoleResponseFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) } + }); + exports.AssumeRoleResponseFilterSensitiveLog = AssumeRoleResponseFilterSensitiveLog; + var AssumeRoleWithSAMLRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.SAMLAssertion && { SAMLAssertion: smithy_client_1.SENSITIVE_STRING } + }); + exports.AssumeRoleWithSAMLRequestFilterSensitiveLog = AssumeRoleWithSAMLRequestFilterSensitiveLog; + var AssumeRoleWithSAMLResponseFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) } + }); + exports.AssumeRoleWithSAMLResponseFilterSensitiveLog = AssumeRoleWithSAMLResponseFilterSensitiveLog; + var AssumeRoleWithWebIdentityRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.WebIdentityToken && { WebIdentityToken: smithy_client_1.SENSITIVE_STRING } + }); + exports.AssumeRoleWithWebIdentityRequestFilterSensitiveLog = AssumeRoleWithWebIdentityRequestFilterSensitiveLog; + var AssumeRoleWithWebIdentityResponseFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) } + }); + exports.AssumeRoleWithWebIdentityResponseFilterSensitiveLog = AssumeRoleWithWebIdentityResponseFilterSensitiveLog; + var GetFederationTokenResponseFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) } + }); + exports.GetFederationTokenResponseFilterSensitiveLog = GetFederationTokenResponseFilterSensitiveLog; + var GetSessionTokenResponseFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.Credentials && { Credentials: (0, exports.CredentialsFilterSensitiveLog)(obj.Credentials) } + }); + exports.GetSessionTokenResponseFilterSensitiveLog = GetSessionTokenResponseFilterSensitiveLog; + } +}); + +// ../../../node_modules/fast-xml-parser/src/util.js +var require_util4 = __commonJS({ + "../../../node_modules/fast-xml-parser/src/util.js"(exports) { + "use strict"; + var nameStartChar = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD"; + var nameChar = nameStartChar + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040"; + var nameRegexp = "[" + nameStartChar + "][" + nameChar + "]*"; + var regexName = new RegExp("^" + nameRegexp + "$"); + var getAllMatches = function(string, regex) { + const matches = []; + let match = regex.exec(string); + while (match) { + const allmatches = []; + allmatches.startIndex = regex.lastIndex - match[0].length; + const len = match.length; + for (let index = 0; index < len; index++) { + allmatches.push(match[index]); } - entries[`member.${counter}`] = entry; - counter++; + matches.push(allmatches); + match = regex.exec(string); } - return entries; + return matches; }; - var se_tagListType = (input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_Tag(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`member.${counter}.${key}`] = value; - }); - counter++; - } - return entries; + var isName = function(string) { + const match = regexName.exec(string); + return !(match === null || typeof match === "undefined"); }; - var de_AssumedRoleUser = (output, context) => { - const contents = {}; - if (output["AssumedRoleId"] !== void 0) { - contents.AssumedRoleId = (0, smithy_client_1.expectString)(output["AssumedRoleId"]); - } - if (output["Arn"] !== void 0) { - contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]); - } - return contents; + exports.isExist = function(v) { + return typeof v !== "undefined"; }; - var de_AssumeRoleResponse = (output, context) => { - const contents = {}; - if (output["Credentials"] !== void 0) { - contents.Credentials = de_Credentials(output["Credentials"], context); - } - if (output["AssumedRoleUser"] !== void 0) { - contents.AssumedRoleUser = de_AssumedRoleUser(output["AssumedRoleUser"], context); - } - if (output["PackedPolicySize"] !== void 0) { - contents.PackedPolicySize = (0, smithy_client_1.strictParseInt32)(output["PackedPolicySize"]); - } - if (output["SourceIdentity"] !== void 0) { - contents.SourceIdentity = (0, smithy_client_1.expectString)(output["SourceIdentity"]); - } - return contents; + exports.isEmptyObject = function(obj) { + return Object.keys(obj).length === 0; }; - var de_AssumeRoleWithSAMLResponse = (output, context) => { - const contents = {}; - if (output["Credentials"] !== void 0) { - contents.Credentials = de_Credentials(output["Credentials"], context); - } - if (output["AssumedRoleUser"] !== void 0) { - contents.AssumedRoleUser = de_AssumedRoleUser(output["AssumedRoleUser"], context); - } - if (output["PackedPolicySize"] !== void 0) { - contents.PackedPolicySize = (0, smithy_client_1.strictParseInt32)(output["PackedPolicySize"]); - } - if (output["Subject"] !== void 0) { - contents.Subject = (0, smithy_client_1.expectString)(output["Subject"]); - } - if (output["SubjectType"] !== void 0) { - contents.SubjectType = (0, smithy_client_1.expectString)(output["SubjectType"]); - } - if (output["Issuer"] !== void 0) { - contents.Issuer = (0, smithy_client_1.expectString)(output["Issuer"]); - } - if (output["Audience"] !== void 0) { - contents.Audience = (0, smithy_client_1.expectString)(output["Audience"]); - } - if (output["NameQualifier"] !== void 0) { - contents.NameQualifier = (0, smithy_client_1.expectString)(output["NameQualifier"]); - } - if (output["SourceIdentity"] !== void 0) { - contents.SourceIdentity = (0, smithy_client_1.expectString)(output["SourceIdentity"]); + exports.merge = function(target, a, arrayMode) { + if (a) { + const keys = Object.keys(a); + const len = keys.length; + for (let i = 0; i < len; i++) { + if (arrayMode === "strict") { + target[keys[i]] = [a[keys[i]]]; + } else { + target[keys[i]] = a[keys[i]]; + } + } } - return contents; }; - var de_AssumeRoleWithWebIdentityResponse = (output, context) => { - const contents = {}; - if (output["Credentials"] !== void 0) { - contents.Credentials = de_Credentials(output["Credentials"], context); - } - if (output["SubjectFromWebIdentityToken"] !== void 0) { - contents.SubjectFromWebIdentityToken = (0, smithy_client_1.expectString)(output["SubjectFromWebIdentityToken"]); - } - if (output["AssumedRoleUser"] !== void 0) { - contents.AssumedRoleUser = de_AssumedRoleUser(output["AssumedRoleUser"], context); - } - if (output["PackedPolicySize"] !== void 0) { - contents.PackedPolicySize = (0, smithy_client_1.strictParseInt32)(output["PackedPolicySize"]); - } - if (output["Provider"] !== void 0) { - contents.Provider = (0, smithy_client_1.expectString)(output["Provider"]); - } - if (output["Audience"] !== void 0) { - contents.Audience = (0, smithy_client_1.expectString)(output["Audience"]); - } - if (output["SourceIdentity"] !== void 0) { - contents.SourceIdentity = (0, smithy_client_1.expectString)(output["SourceIdentity"]); + exports.getValue = function(v) { + if (exports.isExist(v)) { + return v; + } else { + return ""; } - return contents; }; - var de_Credentials = (output, context) => { - const contents = {}; - if (output["AccessKeyId"] !== void 0) { - contents.AccessKeyId = (0, smithy_client_1.expectString)(output["AccessKeyId"]); + exports.isName = isName; + exports.getAllMatches = getAllMatches; + exports.nameRegexp = nameRegexp; + } +}); + +// ../../../node_modules/fast-xml-parser/src/validator.js +var require_validator = __commonJS({ + "../../../node_modules/fast-xml-parser/src/validator.js"(exports) { + "use strict"; + var util = require_util4(); + var defaultOptions = { + allowBooleanAttributes: false, + //A tag can have attributes without any value + unpairedTags: [] + }; + exports.validate = function(xmlData, options) { + options = Object.assign({}, defaultOptions, options); + const tags = []; + let tagFound = false; + let reachedRoot = false; + if (xmlData[0] === "\uFEFF") { + xmlData = xmlData.substr(1); } - if (output["SecretAccessKey"] !== void 0) { - contents.SecretAccessKey = (0, smithy_client_1.expectString)(output["SecretAccessKey"]); - } - if (output["SessionToken"] !== void 0) { - contents.SessionToken = (0, smithy_client_1.expectString)(output["SessionToken"]); + for (let i = 0; i < xmlData.length; i++) { + if (xmlData[i] === "<" && xmlData[i + 1] === "?") { + i += 2; + i = readPI(xmlData, i); + if (i.err) + return i; + } else if (xmlData[i] === "<") { + let tagStartPos = i; + i++; + if (xmlData[i] === "!") { + i = readCommentAndCDATA(xmlData, i); + continue; + } else { + let closingTag = false; + if (xmlData[i] === "/") { + closingTag = true; + i++; + } + let tagName = ""; + for (; i < xmlData.length && xmlData[i] !== ">" && xmlData[i] !== " " && xmlData[i] !== " " && xmlData[i] !== "\n" && xmlData[i] !== "\r"; i++) { + tagName += xmlData[i]; + } + tagName = tagName.trim(); + if (tagName[tagName.length - 1] === "/") { + tagName = tagName.substring(0, tagName.length - 1); + i--; + } + if (!validateTagName(tagName)) { + let msg; + if (tagName.trim().length === 0) { + msg = "Invalid space after '<'."; + } else { + msg = "Tag '" + tagName + "' is an invalid name."; + } + return getErrorObject("InvalidTag", msg, getLineNumberForPosition(xmlData, i)); + } + const result = readAttributeStr(xmlData, i); + if (result === false) { + return getErrorObject("InvalidAttr", "Attributes for '" + tagName + "' have open quote.", getLineNumberForPosition(xmlData, i)); + } + let attrStr = result.value; + i = result.index; + if (attrStr[attrStr.length - 1] === "/") { + const attrStrStart = i - attrStr.length; + attrStr = attrStr.substring(0, attrStr.length - 1); + const isValid = validateAttributeString(attrStr, options); + if (isValid === true) { + tagFound = true; + } else { + return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, attrStrStart + isValid.err.line)); + } + } else if (closingTag) { + if (!result.tagClosed) { + return getErrorObject("InvalidTag", "Closing tag '" + tagName + "' doesn't have proper closing.", getLineNumberForPosition(xmlData, i)); + } else if (attrStr.trim().length > 0) { + return getErrorObject("InvalidTag", "Closing tag '" + tagName + "' can't have attributes or invalid starting.", getLineNumberForPosition(xmlData, tagStartPos)); + } else { + const otg = tags.pop(); + if (tagName !== otg.tagName) { + let openPos = getLineNumberForPosition(xmlData, otg.tagStartPos); + return getErrorObject( + "InvalidTag", + "Expected closing tag '" + otg.tagName + "' (opened in line " + openPos.line + ", col " + openPos.col + ") instead of closing tag '" + tagName + "'.", + getLineNumberForPosition(xmlData, tagStartPos) + ); + } + if (tags.length == 0) { + reachedRoot = true; + } + } + } else { + const isValid = validateAttributeString(attrStr, options); + if (isValid !== true) { + return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, i - attrStr.length + isValid.err.line)); + } + if (reachedRoot === true) { + return getErrorObject("InvalidXml", "Multiple possible root nodes found.", getLineNumberForPosition(xmlData, i)); + } else if (options.unpairedTags.indexOf(tagName) !== -1) { + } else { + tags.push({ tagName, tagStartPos }); + } + tagFound = true; + } + for (i++; i < xmlData.length; i++) { + if (xmlData[i] === "<") { + if (xmlData[i + 1] === "!") { + i++; + i = readCommentAndCDATA(xmlData, i); + continue; + } else if (xmlData[i + 1] === "?") { + i = readPI(xmlData, ++i); + if (i.err) + return i; + } else { + break; + } + } else if (xmlData[i] === "&") { + const afterAmp = validateAmpersand(xmlData, i); + if (afterAmp == -1) + return getErrorObject("InvalidChar", "char '&' is not expected.", getLineNumberForPosition(xmlData, i)); + i = afterAmp; + } else { + if (reachedRoot === true && !isWhiteSpace(xmlData[i])) { + return getErrorObject("InvalidXml", "Extra text at the end", getLineNumberForPosition(xmlData, i)); + } + } + } + if (xmlData[i] === "<") { + i--; + } + } + } else { + if (isWhiteSpace(xmlData[i])) { + continue; + } + return getErrorObject("InvalidChar", "char '" + xmlData[i] + "' is not expected.", getLineNumberForPosition(xmlData, i)); + } } - if (output["Expiration"] !== void 0) { - contents.Expiration = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Expiration"])); + if (!tagFound) { + return getErrorObject("InvalidXml", "Start tag expected.", 1); + } else if (tags.length == 1) { + return getErrorObject("InvalidTag", "Unclosed tag '" + tags[0].tagName + "'.", getLineNumberForPosition(xmlData, tags[0].tagStartPos)); + } else if (tags.length > 0) { + return getErrorObject("InvalidXml", "Invalid '" + JSON.stringify(tags.map((t) => t.tagName), null, 4).replace(/\r?\n/g, "") + "' found.", { line: 1, col: 1 }); } - return contents; + return true; }; - var de_DecodeAuthorizationMessageResponse = (output, context) => { - const contents = {}; - if (output["DecodedMessage"] !== void 0) { - contents.DecodedMessage = (0, smithy_client_1.expectString)(output["DecodedMessage"]); + function isWhiteSpace(char) { + return char === " " || char === " " || char === "\n" || char === "\r"; + } + function readPI(xmlData, i) { + const start = i; + for (; i < xmlData.length; i++) { + if (xmlData[i] == "?" || xmlData[i] == " ") { + const tagname = xmlData.substr(start, i - start); + if (i > 5 && tagname === "xml") { + return getErrorObject("InvalidXml", "XML declaration allowed only at the start of the document.", getLineNumberForPosition(xmlData, i)); + } else if (xmlData[i] == "?" && xmlData[i + 1] == ">") { + i++; + break; + } else { + continue; + } + } } - return contents; - }; - var de_ExpiredTokenException = (output, context) => { - const contents = {}; - if (output["message"] !== void 0) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); + return i; + } + function readCommentAndCDATA(xmlData, i) { + if (xmlData.length > i + 5 && xmlData[i + 1] === "-" && xmlData[i + 2] === "-") { + for (i += 3; i < xmlData.length; i++) { + if (xmlData[i] === "-" && xmlData[i + 1] === "-" && xmlData[i + 2] === ">") { + i += 2; + break; + } + } + } else if (xmlData.length > i + 8 && xmlData[i + 1] === "D" && xmlData[i + 2] === "O" && xmlData[i + 3] === "C" && xmlData[i + 4] === "T" && xmlData[i + 5] === "Y" && xmlData[i + 6] === "P" && xmlData[i + 7] === "E") { + let angleBracketsCount = 1; + for (i += 8; i < xmlData.length; i++) { + if (xmlData[i] === "<") { + angleBracketsCount++; + } else if (xmlData[i] === ">") { + angleBracketsCount--; + if (angleBracketsCount === 0) { + break; + } + } + } + } else if (xmlData.length > i + 9 && xmlData[i + 1] === "[" && xmlData[i + 2] === "C" && xmlData[i + 3] === "D" && xmlData[i + 4] === "A" && xmlData[i + 5] === "T" && xmlData[i + 6] === "A" && xmlData[i + 7] === "[") { + for (i += 8; i < xmlData.length; i++) { + if (xmlData[i] === "]" && xmlData[i + 1] === "]" && xmlData[i + 2] === ">") { + i += 2; + break; + } + } } - return contents; - }; - var de_FederatedUser = (output, context) => { - const contents = {}; - if (output["FederatedUserId"] !== void 0) { - contents.FederatedUserId = (0, smithy_client_1.expectString)(output["FederatedUserId"]); + return i; + } + var doubleQuote = '"'; + var singleQuote = "'"; + function readAttributeStr(xmlData, i) { + let attrStr = ""; + let startChar = ""; + let tagClosed = false; + for (; i < xmlData.length; i++) { + if (xmlData[i] === doubleQuote || xmlData[i] === singleQuote) { + if (startChar === "") { + startChar = xmlData[i]; + } else if (startChar !== xmlData[i]) { + } else { + startChar = ""; + } + } else if (xmlData[i] === ">") { + if (startChar === "") { + tagClosed = true; + break; + } + } + attrStr += xmlData[i]; } - if (output["Arn"] !== void 0) { - contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]); + if (startChar !== "") { + return false; } - return contents; - }; - var de_GetAccessKeyInfoResponse = (output, context) => { - const contents = {}; - if (output["Account"] !== void 0) { - contents.Account = (0, smithy_client_1.expectString)(output["Account"]); + return { + value: attrStr, + index: i, + tagClosed + }; + } + var validAttrStrRegxp = new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`, "g"); + function validateAttributeString(attrStr, options) { + const matches = util.getAllMatches(attrStr, validAttrStrRegxp); + const attrNames = {}; + for (let i = 0; i < matches.length; i++) { + if (matches[i][1].length === 0) { + return getErrorObject("InvalidAttr", "Attribute '" + matches[i][2] + "' has no space in starting.", getPositionFromMatch(matches[i])); + } else if (matches[i][3] !== void 0 && matches[i][4] === void 0) { + return getErrorObject("InvalidAttr", "Attribute '" + matches[i][2] + "' is without value.", getPositionFromMatch(matches[i])); + } else if (matches[i][3] === void 0 && !options.allowBooleanAttributes) { + return getErrorObject("InvalidAttr", "boolean attribute '" + matches[i][2] + "' is not allowed.", getPositionFromMatch(matches[i])); + } + const attrName = matches[i][2]; + if (!validateAttrName(attrName)) { + return getErrorObject("InvalidAttr", "Attribute '" + attrName + "' is an invalid name.", getPositionFromMatch(matches[i])); + } + if (!attrNames.hasOwnProperty(attrName)) { + attrNames[attrName] = 1; + } else { + return getErrorObject("InvalidAttr", "Attribute '" + attrName + "' is repeated.", getPositionFromMatch(matches[i])); + } } - return contents; - }; - var de_GetCallerIdentityResponse = (output, context) => { - const contents = {}; - if (output["UserId"] !== void 0) { - contents.UserId = (0, smithy_client_1.expectString)(output["UserId"]); - } - if (output["Account"] !== void 0) { - contents.Account = (0, smithy_client_1.expectString)(output["Account"]); + return true; + } + function validateNumberAmpersand(xmlData, i) { + let re = /\d/; + if (xmlData[i] === "x") { + i++; + re = /[\da-fA-F]/; } - if (output["Arn"] !== void 0) { - contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]); + for (; i < xmlData.length; i++) { + if (xmlData[i] === ";") + return i; + if (!xmlData[i].match(re)) + break; } - return contents; - }; - var de_GetFederationTokenResponse = (output, context) => { - const contents = {}; - if (output["Credentials"] !== void 0) { - contents.Credentials = de_Credentials(output["Credentials"], context); + return -1; + } + function validateAmpersand(xmlData, i) { + i++; + if (xmlData[i] === ";") + return -1; + if (xmlData[i] === "#") { + i++; + return validateNumberAmpersand(xmlData, i); } - if (output["FederatedUser"] !== void 0) { - contents.FederatedUser = de_FederatedUser(output["FederatedUser"], context); + let count = 0; + for (; i < xmlData.length; i++, count++) { + if (xmlData[i].match(/\w/) && count < 20) + continue; + if (xmlData[i] === ";") + break; + return -1; } - if (output["PackedPolicySize"] !== void 0) { - contents.PackedPolicySize = (0, smithy_client_1.strictParseInt32)(output["PackedPolicySize"]); + return i; + } + function getErrorObject(code, message, lineNumber) { + return { + err: { + code, + msg: message, + line: lineNumber.line || lineNumber, + col: lineNumber.col + } + }; + } + function validateAttrName(attrName) { + return util.isName(attrName); + } + function validateTagName(tagname) { + return util.isName(tagname); + } + function getLineNumberForPosition(xmlData, index) { + const lines = xmlData.substring(0, index).split(/\r?\n/); + return { + line: lines.length, + // column number is last line's length + 1, because column numbering starts at 1: + col: lines[lines.length - 1].length + 1 + }; + } + function getPositionFromMatch(match) { + return match.startIndex + match[1].length; + } + } +}); + +// ../../../node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +var require_OptionsBuilder = __commonJS({ + "../../../node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js"(exports) { + var defaultOptions = { + preserveOrder: false, + attributeNamePrefix: "@_", + attributesGroupName: false, + textNodeName: "#text", + ignoreAttributes: true, + removeNSPrefix: false, + // remove NS from tag name or attribute name if true + allowBooleanAttributes: false, + //a tag can have attributes without any value + //ignoreRootElement : false, + parseTagValue: true, + parseAttributeValue: false, + trimValues: true, + //Trim string values of tag and attributes + cdataPropName: false, + numberParseOptions: { + hex: true, + leadingZeros: true, + eNotation: true + }, + tagValueProcessor: function(tagName, val2) { + return val2; + }, + attributeValueProcessor: function(attrName, val2) { + return val2; + }, + stopNodes: [], + //nested tags will not be parsed even for errors + alwaysCreateTextNode: false, + isArray: () => false, + commentPropName: false, + unpairedTags: [], + processEntities: true, + htmlEntities: false, + ignoreDeclaration: false, + ignorePiTags: false, + transformTagName: false, + transformAttributeName: false, + updateTag: function(tagName, jPath, attrs) { + return tagName; } - return contents; + // skipEmptyListItem: false }; - var de_GetSessionTokenResponse = (output, context) => { - const contents = {}; - if (output["Credentials"] !== void 0) { - contents.Credentials = de_Credentials(output["Credentials"], context); - } - return contents; + var buildOptions = function(options) { + return Object.assign({}, defaultOptions, options); }; - var de_IDPCommunicationErrorException = (output, context) => { - const contents = {}; - if (output["message"] !== void 0) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); + exports.buildOptions = buildOptions; + exports.defaultOptions = defaultOptions; + } +}); + +// ../../../node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +var require_xmlNode = __commonJS({ + "../../../node_modules/fast-xml-parser/src/xmlparser/xmlNode.js"(exports, module2) { + "use strict"; + var XmlNode = class { + constructor(tagname) { + this.tagname = tagname; + this.child = []; + this[":@"] = {}; } - return contents; - }; - var de_IDPRejectedClaimException = (output, context) => { - const contents = {}; - if (output["message"] !== void 0) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); + add(key, val2) { + if (key === "__proto__") + key = "#__proto__"; + this.child.push({ [key]: val2 }); } - return contents; - }; - var de_InvalidAuthorizationMessageException = (output, context) => { - const contents = {}; - if (output["message"] !== void 0) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); + addChild(node) { + if (node.tagname === "__proto__") + node.tagname = "#__proto__"; + if (node[":@"] && Object.keys(node[":@"]).length > 0) { + this.child.push({ [node.tagname]: node.child, [":@"]: node[":@"] }); + } else { + this.child.push({ [node.tagname]: node.child }); + } } - return contents; }; - var de_InvalidIdentityTokenException = (output, context) => { - const contents = {}; - if (output["message"] !== void 0) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); + module2.exports = XmlNode; + } +}); + +// ../../../node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +var require_DocTypeReader = __commonJS({ + "../../../node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"(exports, module2) { + var util = require_util4(); + function readDocType(xmlData, i) { + const entities = {}; + if (xmlData[i + 3] === "O" && xmlData[i + 4] === "C" && xmlData[i + 5] === "T" && xmlData[i + 6] === "Y" && xmlData[i + 7] === "P" && xmlData[i + 8] === "E") { + i = i + 9; + let angleBracketsCount = 1; + let hasBody = false, comment = false; + let exp = ""; + for (; i < xmlData.length; i++) { + if (xmlData[i] === "<" && !comment) { + if (hasBody && isEntity(xmlData, i)) { + i += 7; + [entityName, val, i] = readEntityExp(xmlData, i + 1); + if (val.indexOf("&") === -1) + entities[validateEntityName(entityName)] = { + regx: RegExp(`&${entityName};`, "g"), + val + }; + } else if (hasBody && isElement(xmlData, i)) + i += 8; + else if (hasBody && isAttlist(xmlData, i)) + i += 8; + else if (hasBody && isNotation(xmlData, i)) + i += 9; + else if (isComment) + comment = true; + else + throw new Error("Invalid DOCTYPE"); + angleBracketsCount++; + exp = ""; + } else if (xmlData[i] === ">") { + if (comment) { + if (xmlData[i - 1] === "-" && xmlData[i - 2] === "-") { + comment = false; + angleBracketsCount--; + } + } else { + angleBracketsCount--; + } + if (angleBracketsCount === 0) { + break; + } + } else if (xmlData[i] === "[") { + hasBody = true; + } else { + exp += xmlData[i]; + } + } + if (angleBracketsCount !== 0) { + throw new Error(`Unclosed DOCTYPE`); + } + } else { + throw new Error(`Invalid Tag instead of DOCTYPE`); } - return contents; - }; - var de_MalformedPolicyDocumentException = (output, context) => { - const contents = {}; - if (output["message"] !== void 0) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); + return { entities, i }; + } + function readEntityExp(xmlData, i) { + let entityName2 = ""; + for (; i < xmlData.length && (xmlData[i] !== "'" && xmlData[i] !== '"'); i++) { + entityName2 += xmlData[i]; } - return contents; - }; - var de_PackedPolicyTooLargeException = (output, context) => { - const contents = {}; - if (output["message"] !== void 0) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); - } - return contents; - }; - var de_RegionDisabledException = (output, context) => { - const contents = {}; - if (output["message"] !== void 0) { - contents.message = (0, smithy_client_1.expectString)(output["message"]); - } - return contents; - }; - var deserializeMetadata = (output) => ({ - httpStatusCode: output.statusCode, - requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], - extendedRequestId: output.headers["x-amz-id-2"], - cfId: output.headers["x-amz-cf-id"] - }); - var collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)); - var throwDefaultError = (0, smithy_client_1.withBaseException)(STSServiceException_1.STSServiceException); - var buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const contents = { - protocol, - hostname, - port, - method: "POST", - path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, - headers - }; - if (resolvedHostname !== void 0) { - contents.hostname = resolvedHostname; - } - if (body !== void 0) { - contents.body = body; + entityName2 = entityName2.trim(); + if (entityName2.indexOf(" ") !== -1) + throw new Error("External entites are not supported"); + const startChar = xmlData[i++]; + let val2 = ""; + for (; i < xmlData.length && xmlData[i] !== startChar; i++) { + val2 += xmlData[i]; } - return new protocol_http_1.HttpRequest(contents); - }; - var SHARED_HEADERS = { - "content-type": "application/x-www-form-urlencoded" + return [entityName2, val2, i]; + } + function isComment(xmlData, i) { + if (xmlData[i + 1] === "!" && xmlData[i + 2] === "-" && xmlData[i + 3] === "-") + return true; + return false; + } + function isEntity(xmlData, i) { + if (xmlData[i + 1] === "!" && xmlData[i + 2] === "E" && xmlData[i + 3] === "N" && xmlData[i + 4] === "T" && xmlData[i + 5] === "I" && xmlData[i + 6] === "T" && xmlData[i + 7] === "Y") + return true; + return false; + } + function isElement(xmlData, i) { + if (xmlData[i + 1] === "!" && xmlData[i + 2] === "E" && xmlData[i + 3] === "L" && xmlData[i + 4] === "E" && xmlData[i + 5] === "M" && xmlData[i + 6] === "E" && xmlData[i + 7] === "N" && xmlData[i + 8] === "T") + return true; + return false; + } + function isAttlist(xmlData, i) { + if (xmlData[i + 1] === "!" && xmlData[i + 2] === "A" && xmlData[i + 3] === "T" && xmlData[i + 4] === "T" && xmlData[i + 5] === "L" && xmlData[i + 6] === "I" && xmlData[i + 7] === "S" && xmlData[i + 8] === "T") + return true; + return false; + } + function isNotation(xmlData, i) { + if (xmlData[i + 1] === "!" && xmlData[i + 2] === "N" && xmlData[i + 3] === "O" && xmlData[i + 4] === "T" && xmlData[i + 5] === "A" && xmlData[i + 6] === "T" && xmlData[i + 7] === "I" && xmlData[i + 8] === "O" && xmlData[i + 9] === "N") + return true; + return false; + } + function validateEntityName(name) { + if (util.isName(name)) + return name; + else + throw new Error(`Invalid entity name ${name}`); + } + module2.exports = readDocType; + } +}); + +// ../../../node_modules/strnum/strnum.js +var require_strnum = __commonJS({ + "../../../node_modules/strnum/strnum.js"(exports, module2) { + var hexRegex = /^[-+]?0x[a-fA-F0-9]+$/; + var numRegex = /^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/; + if (!Number.parseInt && window.parseInt) { + Number.parseInt = window.parseInt; + } + if (!Number.parseFloat && window.parseFloat) { + Number.parseFloat = window.parseFloat; + } + var consider = { + hex: true, + leadingZeros: true, + decimalPoint: ".", + eNotation: true + //skipLike: /regex/ }; - var parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { - if (encoded.length) { - const parser = new fast_xml_parser_1.XMLParser({ - attributeNamePrefix: "", - htmlEntities: true, - ignoreAttributes: false, - ignoreDeclaration: true, - parseTagValue: false, - trimValues: false, - tagValueProcessor: (_, val2) => val2.trim() === "" && val2.includes("\n") ? "" : void 0 - }); - parser.addEntity("#xD", "\r"); - parser.addEntity("#10", "\n"); - const parsedObj = parser.parse(encoded); - const textNodeName = "#text"; - const key = Object.keys(parsedObj)[0]; - const parsedObjToReturn = parsedObj[key]; - if (parsedObjToReturn[textNodeName]) { - parsedObjToReturn[key] = parsedObjToReturn[textNodeName]; - delete parsedObjToReturn[textNodeName]; + function toNumber(str, options = {}) { + options = Object.assign({}, consider, options); + if (!str || typeof str !== "string") + return str; + let trimmedStr = str.trim(); + if (options.skipLike !== void 0 && options.skipLike.test(trimmedStr)) + return str; + else if (options.hex && hexRegex.test(trimmedStr)) { + return Number.parseInt(trimmedStr, 16); + } else { + const match = numRegex.exec(trimmedStr); + if (match) { + const sign = match[1]; + const leadingZeros = match[2]; + let numTrimmedByZeros = trimZeros(match[3]); + const eNotation = match[4] || match[6]; + if (!options.leadingZeros && leadingZeros.length > 0 && sign && trimmedStr[2] !== ".") + return str; + else if (!options.leadingZeros && leadingZeros.length > 0 && !sign && trimmedStr[1] !== ".") + return str; + else { + const num = Number(trimmedStr); + const numStr = "" + num; + if (numStr.search(/[eE]/) !== -1) { + if (options.eNotation) + return num; + else + return str; + } else if (eNotation) { + if (options.eNotation) + return num; + else + return str; + } else if (trimmedStr.indexOf(".") !== -1) { + if (numStr === "0" && numTrimmedByZeros === "") + return num; + else if (numStr === numTrimmedByZeros) + return num; + else if (sign && numStr === "-" + numTrimmedByZeros) + return num; + else + return str; + } + if (leadingZeros) { + if (numTrimmedByZeros === numStr) + return num; + else if (sign + numTrimmedByZeros === numStr) + return num; + else + return str; + } + if (trimmedStr === numStr) + return num; + else if (trimmedStr === sign + numStr) + return num; + return str; + } + } else { + return str; } - return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn); - } - return {}; - }); - var parseErrorBody = async (errorBody, context) => { - const value = await parseBody(errorBody, context); - if (value.Error) { - value.Error.message = value.Error.message ?? value.Error.Message; - } - return value; - }; - var buildFormUrlencodedString = (formEntries) => Object.entries(formEntries).map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value)).join("&"); - var loadQueryErrorCode = (output, data) => { - if (data.Error?.Code !== void 0) { - return data.Error.Code; } - if (output.statusCode == 404) { - return "NotFound"; + } + function trimZeros(numStr) { + if (numStr && numStr.indexOf(".") !== -1) { + numStr = numStr.replace(/0+$/, ""); + if (numStr === ".") + numStr = "0"; + else if (numStr[0] === ".") + numStr = "0" + numStr; + else if (numStr[numStr.length - 1] === ".") + numStr = numStr.substr(0, numStr.length - 1); + return numStr; } - }; + return numStr; + } + module2.exports = toNumber; } }); -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js -var require_AssumeRoleCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js"(exports) { +// ../../../node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +var require_OrderedObjParser = __commonJS({ + "../../../node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js"(exports, module2) { "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.AssumeRoleCommand = exports.$Command = void 0; - var middleware_signing_1 = require_dist_cjs16(); - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { - return smithy_client_1.Command; - } }); - var types_1 = require_dist_cjs(); - var models_0_1 = require_models_0(); - var Aws_query_1 = require_Aws_query(); - var AssumeRoleCommand = class _AssumeRoleCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + var util = require_util4(); + var xmlNode = require_xmlNode(); + var readDocType = require_DocTypeReader(); + var toNumber = require_strnum(); + var regx = "<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g, util.nameRegexp); + var OrderedObjParser = class { + constructor(options) { + this.options = options; + this.currentNode = null; + this.tagsNodeStack = []; + this.docTypeEntities = {}; + this.lastEntities = { + "apos": { regex: /&(apos|#39|#x27);/g, val: "'" }, + "gt": { regex: /&(gt|#62|#x3E);/g, val: ">" }, + "lt": { regex: /&(lt|#60|#x3C);/g, val: "<" }, + "quot": { regex: /&(quot|#34|#x22);/g, val: '"' } }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _AssumeRoleCommand.getEndpointParameterInstructions())); - this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "STSClient"; - const commandName = "AssumeRoleCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: models_0_1.AssumeRoleResponseFilterSensitiveLog, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSSecurityTokenServiceV20110615", - operation: "AssumeRole" - } + this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }; + this.htmlEntities = { + "space": { regex: /&(nbsp|#160);/g, val: " " }, + // "lt" : { regex: /&(lt|#60);/g, val: "<" }, + // "gt" : { regex: /&(gt|#62);/g, val: ">" }, + // "amp" : { regex: /&(amp|#38);/g, val: "&" }, + // "quot" : { regex: /&(quot|#34);/g, val: "\"" }, + // "apos" : { regex: /&(apos|#39);/g, val: "'" }, + "cent": { regex: /&(cent|#162);/g, val: "\xA2" }, + "pound": { regex: /&(pound|#163);/g, val: "\xA3" }, + "yen": { regex: /&(yen|#165);/g, val: "\xA5" }, + "euro": { regex: /&(euro|#8364);/g, val: "\u20AC" }, + "copyright": { regex: /&(copy|#169);/g, val: "\xA9" }, + "reg": { regex: /&(reg|#174);/g, val: "\xAE" }, + "inr": { regex: /&(inr|#8377);/g, val: "\u20B9" } }; - const { requestHandler } = configuration; - return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_query_1.se_AssumeRoleCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_query_1.de_AssumeRoleCommand)(output, context); + this.addExternalEntities = addExternalEntities; + this.parseXml = parseXml; + this.parseTextData = parseTextData; + this.resolveNameSpace = resolveNameSpace; + this.buildAttributesMap = buildAttributesMap; + this.isItStopNode = isItStopNode; + this.replaceEntitiesValue = replaceEntitiesValue; + this.readStopNodeData = readStopNodeData; + this.saveTextToParentTag = saveTextToParentTag; + this.addChild = addChild; } }; - exports.AssumeRoleCommand = AssumeRoleCommand; - } -}); - -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js -var require_AssumeRoleWithWebIdentityCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.AssumeRoleWithWebIdentityCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { - return smithy_client_1.Command; - } }); - var types_1 = require_dist_cjs(); - var models_0_1 = require_models_0(); - var Aws_query_1 = require_Aws_query(); - var AssumeRoleWithWebIdentityCommand = class _AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + function addExternalEntities(externalEntities) { + const entKeys = Object.keys(externalEntities); + for (let i = 0; i < entKeys.length; i++) { + const ent = entKeys[i]; + this.lastEntities[ent] = { + regex: new RegExp("&" + ent + ";", "g"), + val: externalEntities[ent] }; } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _AssumeRoleWithWebIdentityCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "STSClient"; - const commandName = "AssumeRoleWithWebIdentityCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: models_0_1.AssumeRoleWithWebIdentityRequestFilterSensitiveLog, - outputFilterSensitiveLog: models_0_1.AssumeRoleWithWebIdentityResponseFilterSensitiveLog, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSSecurityTokenServiceV20110615", - operation: "AssumeRoleWithWebIdentity" + } + function parseTextData(val2, tagName, jPath, dontTrim, hasAttributes, isLeafNode, escapeEntities) { + if (val2 !== void 0) { + if (this.options.trimValues && !dontTrim) { + val2 = val2.trim(); + } + if (val2.length > 0) { + if (!escapeEntities) + val2 = this.replaceEntitiesValue(val2); + const newval = this.options.tagValueProcessor(tagName, val2, jPath, hasAttributes, isLeafNode); + if (newval === null || newval === void 0) { + return val2; + } else if (typeof newval !== typeof val2 || newval !== val2) { + return newval; + } else if (this.options.trimValues) { + return parseValue(val2, this.options.parseTagValue, this.options.numberParseOptions); + } else { + const trimmedVal = val2.trim(); + if (trimmedVal === val2) { + return parseValue(val2, this.options.parseTagValue, this.options.numberParseOptions); + } else { + return val2; + } } - }; - const { requestHandler } = configuration; - return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_query_1.se_AssumeRoleWithWebIdentityCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_query_1.de_AssumeRoleWithWebIdentityCommand)(output, context); - } - }; - exports.AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand; - } -}); - -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/defaultStsRoleAssumers.js -var require_defaultStsRoleAssumers = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/defaultStsRoleAssumers.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.decorateDefaultCredentialProvider = exports.getDefaultRoleAssumerWithWebIdentity = exports.getDefaultRoleAssumer = void 0; - var AssumeRoleCommand_1 = require_AssumeRoleCommand(); - var AssumeRoleWithWebIdentityCommand_1 = require_AssumeRoleWithWebIdentityCommand(); - var ASSUME_ROLE_DEFAULT_REGION = "us-east-1"; - var decorateDefaultRegion = (region) => { - if (typeof region !== "function") { - return region === void 0 ? ASSUME_ROLE_DEFAULT_REGION : region; + } } - return async () => { - try { - return await region(); - } catch (e) { - return ASSUME_ROLE_DEFAULT_REGION; + } + function resolveNameSpace(tagname) { + if (this.options.removeNSPrefix) { + const tags = tagname.split(":"); + const prefix = tagname.charAt(0) === "/" ? "/" : ""; + if (tags[0] === "xmlns") { + return ""; } - }; - }; - var getDefaultRoleAssumer = (stsOptions, stsClientCtor) => { - let stsClient; - let closureSourceCreds; - return async (sourceCreds, params) => { - closureSourceCreds = sourceCreds; - if (!stsClient) { - const { logger, region, requestHandler } = stsOptions; - stsClient = new stsClientCtor({ - logger, - credentialDefaultProvider: () => async () => closureSourceCreds, - region: decorateDefaultRegion(region || stsOptions.region), - ...requestHandler ? { requestHandler } : {} - }); + if (tags.length === 2) { + tagname = prefix + tags[1]; } - const { Credentials } = await stsClient.send(new AssumeRoleCommand_1.AssumeRoleCommand(params)); - if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) { - throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`); + } + return tagname; + } + var attrsRegx = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm"); + function buildAttributesMap(attrStr, jPath, tagName) { + if (!this.options.ignoreAttributes && typeof attrStr === "string") { + const matches = util.getAllMatches(attrStr, attrsRegx); + const len = matches.length; + const attrs = {}; + for (let i = 0; i < len; i++) { + const attrName = this.resolveNameSpace(matches[i][1]); + let oldVal = matches[i][4]; + let aName = this.options.attributeNamePrefix + attrName; + if (attrName.length) { + if (this.options.transformAttributeName) { + aName = this.options.transformAttributeName(aName); + } + if (aName === "__proto__") + aName = "#__proto__"; + if (oldVal !== void 0) { + if (this.options.trimValues) { + oldVal = oldVal.trim(); + } + oldVal = this.replaceEntitiesValue(oldVal); + const newVal = this.options.attributeValueProcessor(attrName, oldVal, jPath); + if (newVal === null || newVal === void 0) { + attrs[aName] = oldVal; + } else if (typeof newVal !== typeof oldVal || newVal !== oldVal) { + attrs[aName] = newVal; + } else { + attrs[aName] = parseValue( + oldVal, + this.options.parseAttributeValue, + this.options.numberParseOptions + ); + } + } else if (this.options.allowBooleanAttributes) { + attrs[aName] = true; + } + } } - return { - accessKeyId: Credentials.AccessKeyId, - secretAccessKey: Credentials.SecretAccessKey, - sessionToken: Credentials.SessionToken, - expiration: Credentials.Expiration - }; - }; - }; - exports.getDefaultRoleAssumer = getDefaultRoleAssumer; - var getDefaultRoleAssumerWithWebIdentity = (stsOptions, stsClientCtor) => { - let stsClient; - return async (params) => { - if (!stsClient) { - const { logger, region, requestHandler } = stsOptions; - stsClient = new stsClientCtor({ - logger, - region: decorateDefaultRegion(region || stsOptions.region), - ...requestHandler ? { requestHandler } : {} - }); + if (!Object.keys(attrs).length) { + return; } - const { Credentials } = await stsClient.send(new AssumeRoleWithWebIdentityCommand_1.AssumeRoleWithWebIdentityCommand(params)); - if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) { - throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`); + if (this.options.attributesGroupName) { + const attrCollection = {}; + attrCollection[this.options.attributesGroupName] = attrs; + return attrCollection; } - return { - accessKeyId: Credentials.AccessKeyId, - secretAccessKey: Credentials.SecretAccessKey, - sessionToken: Credentials.SessionToken, - expiration: Credentials.Expiration - }; - }; - }; - exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity; - var decorateDefaultCredentialProvider = (provider) => (input) => provider({ - roleAssumer: (0, exports.getDefaultRoleAssumer)(input, input.stsClientCtor), - roleAssumerWithWebIdentity: (0, exports.getDefaultRoleAssumerWithWebIdentity)(input, input.stsClientCtor), - ...input - }); - exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/fromEnv.js -var require_fromEnv = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/fromEnv.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromEnv = exports.ENV_EXPIRATION = exports.ENV_SESSION = exports.ENV_SECRET = exports.ENV_KEY = void 0; - var property_provider_1 = require_dist_cjs6(); - exports.ENV_KEY = "AWS_ACCESS_KEY_ID"; - exports.ENV_SECRET = "AWS_SECRET_ACCESS_KEY"; - exports.ENV_SESSION = "AWS_SESSION_TOKEN"; - exports.ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION"; - var fromEnv = () => async () => { - const accessKeyId = process.env[exports.ENV_KEY]; - const secretAccessKey = process.env[exports.ENV_SECRET]; - const sessionToken = process.env[exports.ENV_SESSION]; - const expiry = process.env[exports.ENV_EXPIRATION]; - if (accessKeyId && secretAccessKey) { - return { - accessKeyId, - secretAccessKey, - ...sessionToken && { sessionToken }, - ...expiry && { expiration: new Date(expiry) } - }; + return attrs; } - throw new property_provider_1.CredentialsProviderError("Unable to find environment variable credentials."); + } + var parseXml = function(xmlData) { + xmlData = xmlData.replace(/\r\n?/g, "\n"); + const xmlObj = new xmlNode("!xml"); + let currentNode = xmlObj; + let textData = ""; + let jPath = ""; + for (let i = 0; i < xmlData.length; i++) { + const ch = xmlData[i]; + if (ch === "<") { + if (xmlData[i + 1] === "/") { + const closeIndex = findClosingIndex(xmlData, ">", i, "Closing Tag is not closed."); + let tagName = xmlData.substring(i + 2, closeIndex).trim(); + if (this.options.removeNSPrefix) { + const colonIndex = tagName.indexOf(":"); + if (colonIndex !== -1) { + tagName = tagName.substr(colonIndex + 1); + } + } + if (this.options.transformTagName) { + tagName = this.options.transformTagName(tagName); + } + if (currentNode) { + textData = this.saveTextToParentTag(textData, currentNode, jPath); + } + const lastTagName = jPath.substring(jPath.lastIndexOf(".") + 1); + if (tagName && this.options.unpairedTags.indexOf(tagName) !== -1) { + throw new Error(`Unpaired tag can not be used as closing tag: `); + } + let propIndex = 0; + if (lastTagName && this.options.unpairedTags.indexOf(lastTagName) !== -1) { + propIndex = jPath.lastIndexOf(".", jPath.lastIndexOf(".") - 1); + this.tagsNodeStack.pop(); + } else { + propIndex = jPath.lastIndexOf("."); + } + jPath = jPath.substring(0, propIndex); + currentNode = this.tagsNodeStack.pop(); + textData = ""; + i = closeIndex; + } else if (xmlData[i + 1] === "?") { + let tagData = readTagExp(xmlData, i, false, "?>"); + if (!tagData) + throw new Error("Pi Tag is not closed."); + textData = this.saveTextToParentTag(textData, currentNode, jPath); + if (this.options.ignoreDeclaration && tagData.tagName === "?xml" || this.options.ignorePiTags) { + } else { + const childNode = new xmlNode(tagData.tagName); + childNode.add(this.options.textNodeName, ""); + if (tagData.tagName !== tagData.tagExp && tagData.attrExpPresent) { + childNode[":@"] = this.buildAttributesMap(tagData.tagExp, jPath, tagData.tagName); + } + this.addChild(currentNode, childNode, jPath); + } + i = tagData.closeIndex + 1; + } else if (xmlData.substr(i + 1, 3) === "!--") { + const endIndex = findClosingIndex(xmlData, "-->", i + 4, "Comment is not closed."); + if (this.options.commentPropName) { + const comment = xmlData.substring(i + 4, endIndex - 2); + textData = this.saveTextToParentTag(textData, currentNode, jPath); + currentNode.add(this.options.commentPropName, [{ [this.options.textNodeName]: comment }]); + } + i = endIndex; + } else if (xmlData.substr(i + 1, 2) === "!D") { + const result = readDocType(xmlData, i); + this.docTypeEntities = result.entities; + i = result.i; + } else if (xmlData.substr(i + 1, 2) === "![") { + const closeIndex = findClosingIndex(xmlData, "]]>", i, "CDATA is not closed.") - 2; + const tagExp = xmlData.substring(i + 9, closeIndex); + textData = this.saveTextToParentTag(textData, currentNode, jPath); + if (this.options.cdataPropName) { + currentNode.add(this.options.cdataPropName, [{ [this.options.textNodeName]: tagExp }]); + } else { + let val2 = this.parseTextData(tagExp, currentNode.tagname, jPath, true, false, true); + if (val2 == void 0) + val2 = ""; + currentNode.add(this.options.textNodeName, val2); + } + i = closeIndex + 2; + } else { + let result = readTagExp(xmlData, i, this.options.removeNSPrefix); + let tagName = result.tagName; + let tagExp = result.tagExp; + let attrExpPresent = result.attrExpPresent; + let closeIndex = result.closeIndex; + if (this.options.transformTagName) { + tagName = this.options.transformTagName(tagName); + } + if (currentNode && textData) { + if (currentNode.tagname !== "!xml") { + textData = this.saveTextToParentTag(textData, currentNode, jPath, false); + } + } + const lastTag = currentNode; + if (lastTag && this.options.unpairedTags.indexOf(lastTag.tagname) !== -1) { + currentNode = this.tagsNodeStack.pop(); + jPath = jPath.substring(0, jPath.lastIndexOf(".")); + } + if (tagName !== xmlObj.tagname) { + jPath += jPath ? "." + tagName : tagName; + } + if (this.isItStopNode(this.options.stopNodes, jPath, tagName)) { + let tagContent = ""; + if (tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1) { + i = result.closeIndex; + } else if (this.options.unpairedTags.indexOf(tagName) !== -1) { + i = result.closeIndex; + } else { + const result2 = this.readStopNodeData(xmlData, tagName, closeIndex + 1); + if (!result2) + throw new Error(`Unexpected end of ${tagName}`); + i = result2.i; + tagContent = result2.tagContent; + } + const childNode = new xmlNode(tagName); + if (tagName !== tagExp && attrExpPresent) { + childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName); + } + if (tagContent) { + tagContent = this.parseTextData(tagContent, tagName, jPath, true, attrExpPresent, true, true); + } + jPath = jPath.substr(0, jPath.lastIndexOf(".")); + childNode.add(this.options.textNodeName, tagContent); + this.addChild(currentNode, childNode, jPath); + } else { + if (tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1) { + if (tagName[tagName.length - 1] === "/") { + tagName = tagName.substr(0, tagName.length - 1); + tagExp = tagName; + } else { + tagExp = tagExp.substr(0, tagExp.length - 1); + } + if (this.options.transformTagName) { + tagName = this.options.transformTagName(tagName); + } + const childNode = new xmlNode(tagName); + if (tagName !== tagExp && attrExpPresent) { + childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName); + } + this.addChild(currentNode, childNode, jPath); + jPath = jPath.substr(0, jPath.lastIndexOf(".")); + } else { + const childNode = new xmlNode(tagName); + this.tagsNodeStack.push(currentNode); + if (tagName !== tagExp && attrExpPresent) { + childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName); + } + this.addChild(currentNode, childNode, jPath); + currentNode = childNode; + } + textData = ""; + i = closeIndex; + } + } + } else { + textData += xmlData[i]; + } + } + return xmlObj.child; }; - exports.fromEnv = fromEnv; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js -var require_dist_cjs37 = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_fromEnv(), exports); - } -}); - -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js -var require_getHomeDir = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getHomeDir = void 0; - var os_1 = require("os"); - var path_1 = require("path"); - var homeDirCache = {}; - var getHomeDirCacheKey = () => { - if (process && process.geteuid) { - return `${process.geteuid()}`; + function addChild(currentNode, childNode, jPath) { + const result = this.options.updateTag(childNode.tagname, jPath, childNode[":@"]); + if (result === false) { + } else if (typeof result === "string") { + childNode.tagname = result; + currentNode.addChild(childNode); + } else { + currentNode.addChild(childNode); } - return "DEFAULT"; + } + var replaceEntitiesValue = function(val2) { + if (this.options.processEntities) { + for (let entityName2 in this.docTypeEntities) { + const entity = this.docTypeEntities[entityName2]; + val2 = val2.replace(entity.regx, entity.val); + } + for (let entityName2 in this.lastEntities) { + const entity = this.lastEntities[entityName2]; + val2 = val2.replace(entity.regex, entity.val); + } + if (this.options.htmlEntities) { + for (let entityName2 in this.htmlEntities) { + const entity = this.htmlEntities[entityName2]; + val2 = val2.replace(entity.regex, entity.val); + } + } + val2 = val2.replace(this.ampEntity.regex, this.ampEntity.val); + } + return val2; }; - var getHomeDir = () => { - const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${path_1.sep}` } = process.env; - if (HOME) - return HOME; - if (USERPROFILE) - return USERPROFILE; - if (HOMEPATH) - return `${HOMEDRIVE}${HOMEPATH}`; - const homeDirCacheKey = getHomeDirCacheKey(); - if (!homeDirCache[homeDirCacheKey]) - homeDirCache[homeDirCacheKey] = (0, os_1.homedir)(); - return homeDirCache[homeDirCacheKey]; - }; - exports.getHomeDir = getHomeDir; - } -}); - -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js -var require_getProfileName = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getProfileName = exports.DEFAULT_PROFILE = exports.ENV_PROFILE = void 0; - exports.ENV_PROFILE = "AWS_PROFILE"; - exports.DEFAULT_PROFILE = "default"; - var getProfileName = (init) => init.profile || process.env[exports.ENV_PROFILE] || exports.DEFAULT_PROFILE; - exports.getProfileName = getProfileName; - } -}); - -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js -var require_getSSOTokenFilepath = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getSSOTokenFilepath = void 0; - var crypto_1 = require("crypto"); - var path_1 = require("path"); - var getHomeDir_1 = require_getHomeDir(); - var getSSOTokenFilepath = (id) => { - const hasher = (0, crypto_1.createHash)("sha1"); - const cacheName = hasher.update(id).digest("hex"); - return (0, path_1.join)((0, getHomeDir_1.getHomeDir)(), ".aws", "sso", "cache", `${cacheName}.json`); - }; - exports.getSSOTokenFilepath = getSSOTokenFilepath; - } -}); - -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js -var require_getSSOTokenFromFile = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getSSOTokenFromFile = void 0; - var fs_1 = require("fs"); - var getSSOTokenFilepath_1 = require_getSSOTokenFilepath(); - var { readFile } = fs_1.promises; - var getSSOTokenFromFile = async (id) => { - const ssoTokenFilepath = (0, getSSOTokenFilepath_1.getSSOTokenFilepath)(id); - const ssoTokenText = await readFile(ssoTokenFilepath, "utf8"); - return JSON.parse(ssoTokenText); - }; - exports.getSSOTokenFromFile = getSSOTokenFromFile; - } -}); - -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js -var require_getConfigFilepath = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getConfigFilepath = exports.ENV_CONFIG_PATH = void 0; - var path_1 = require("path"); - var getHomeDir_1 = require_getHomeDir(); - exports.ENV_CONFIG_PATH = "AWS_CONFIG_FILE"; - var getConfigFilepath = () => process.env[exports.ENV_CONFIG_PATH] || (0, path_1.join)((0, getHomeDir_1.getHomeDir)(), ".aws", "config"); - exports.getConfigFilepath = getConfigFilepath; - } -}); - -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js -var require_getCredentialsFilepath = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getCredentialsFilepath = exports.ENV_CREDENTIALS_PATH = void 0; - var path_1 = require("path"); - var getHomeDir_1 = require_getHomeDir(); - exports.ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE"; - var getCredentialsFilepath = () => process.env[exports.ENV_CREDENTIALS_PATH] || (0, path_1.join)((0, getHomeDir_1.getHomeDir)(), ".aws", "credentials"); - exports.getCredentialsFilepath = getCredentialsFilepath; - } -}); - -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileData.js -var require_getProfileData = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileData.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getProfileData = void 0; - var profileKeyRegex = /^profile\s(["'])?([^\1]+)\1$/; - var getProfileData = (data) => Object.entries(data).filter(([key]) => profileKeyRegex.test(key)).reduce((acc, [key, value]) => ({ ...acc, [profileKeyRegex.exec(key)[2]]: value }), { - ...data.default && { default: data.default } - }); - exports.getProfileData = getProfileData; - } -}); - -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js -var require_parseIni = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.parseIni = void 0; - var profileNameBlockList = ["__proto__", "profile __proto__"]; - var parseIni = (iniData) => { - const map = {}; - let currentSection; - for (let line of iniData.split(/\r?\n/)) { - line = line.split(/(^|\s)[;#]/)[0].trim(); - const isSection = line[0] === "[" && line[line.length - 1] === "]"; - if (isSection) { - currentSection = line.substring(1, line.length - 1); - if (profileNameBlockList.includes(currentSection)) { - throw new Error(`Found invalid profile name "${currentSection}"`); - } - } else if (currentSection) { - const indexOfEqualsSign = line.indexOf("="); - const start = 0; - const end = line.length - 1; - const isAssignment = indexOfEqualsSign !== -1 && indexOfEqualsSign !== start && indexOfEqualsSign !== end; - if (isAssignment) { - const [name, value] = [ - line.substring(0, indexOfEqualsSign).trim(), - line.substring(indexOfEqualsSign + 1).trim() - ]; - map[currentSection] = map[currentSection] || {}; - map[currentSection][name] = value; + function saveTextToParentTag(textData, currentNode, jPath, isLeafNode) { + if (textData) { + if (isLeafNode === void 0) + isLeafNode = Object.keys(currentNode.child).length === 0; + textData = this.parseTextData( + textData, + currentNode.tagname, + jPath, + false, + currentNode[":@"] ? Object.keys(currentNode[":@"]).length !== 0 : false, + isLeafNode + ); + if (textData !== void 0 && textData !== "") + currentNode.add(this.options.textNodeName, textData); + textData = ""; + } + return textData; + } + function isItStopNode(stopNodes, jPath, currentTagName) { + const allNodesExp = "*." + currentTagName; + for (const stopNodePath in stopNodes) { + const stopNodeExp = stopNodes[stopNodePath]; + if (allNodesExp === stopNodeExp || jPath === stopNodeExp) + return true; + } + return false; + } + function tagExpWithClosingIndex(xmlData, i, closingChar = ">") { + let attrBoundary; + let tagExp = ""; + for (let index = i; index < xmlData.length; index++) { + let ch = xmlData[index]; + if (attrBoundary) { + if (ch === attrBoundary) + attrBoundary = ""; + } else if (ch === '"' || ch === "'") { + attrBoundary = ch; + } else if (ch === closingChar[0]) { + if (closingChar[1]) { + if (xmlData[index + 1] === closingChar[1]) { + return { + data: tagExp, + index + }; + } + } else { + return { + data: tagExp, + index + }; } + } else if (ch === " ") { + ch = " "; } + tagExp += ch; } - return map; - }; - exports.parseIni = parseIni; - } -}); - -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js -var require_slurpFile = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.slurpFile = void 0; - var fs_1 = require("fs"); - var { readFile } = fs_1.promises; - var filePromisesHash = {}; - var slurpFile = (path, options) => { - if (!filePromisesHash[path] || (options === null || options === void 0 ? void 0 : options.ignoreCache)) { - filePromisesHash[path] = readFile(path, "utf8"); + } + function findClosingIndex(xmlData, str, i, errMsg) { + const closingIndex = xmlData.indexOf(str, i); + if (closingIndex === -1) { + throw new Error(errMsg); + } else { + return closingIndex + str.length - 1; + } + } + function readTagExp(xmlData, i, removeNSPrefix, closingChar = ">") { + const result = tagExpWithClosingIndex(xmlData, i + 1, closingChar); + if (!result) + return; + let tagExp = result.data; + const closeIndex = result.index; + const separatorIndex = tagExp.search(/\s/); + let tagName = tagExp; + let attrExpPresent = true; + if (separatorIndex !== -1) { + tagName = tagExp.substr(0, separatorIndex).replace(/\s\s*$/, ""); + tagExp = tagExp.substr(separatorIndex + 1); + } + if (removeNSPrefix) { + const colonIndex = tagName.indexOf(":"); + if (colonIndex !== -1) { + tagName = tagName.substr(colonIndex + 1); + attrExpPresent = tagName !== result.data.substr(colonIndex + 1); + } } - return filePromisesHash[path]; - }; - exports.slurpFile = slurpFile; - } -}); - -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js -var require_loadSharedConfigFiles = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.loadSharedConfigFiles = void 0; - var getConfigFilepath_1 = require_getConfigFilepath(); - var getCredentialsFilepath_1 = require_getCredentialsFilepath(); - var getProfileData_1 = require_getProfileData(); - var parseIni_1 = require_parseIni(); - var slurpFile_1 = require_slurpFile(); - var swallowError = () => ({}); - var loadSharedConfigFiles = async (init = {}) => { - const { filepath = (0, getCredentialsFilepath_1.getCredentialsFilepath)(), configFilepath = (0, getConfigFilepath_1.getConfigFilepath)() } = init; - const parsedFiles = await Promise.all([ - (0, slurpFile_1.slurpFile)(configFilepath, { - ignoreCache: init.ignoreCache - }).then(parseIni_1.parseIni).then(getProfileData_1.getProfileData).catch(swallowError), - (0, slurpFile_1.slurpFile)(filepath, { - ignoreCache: init.ignoreCache - }).then(parseIni_1.parseIni).catch(swallowError) - ]); return { - configFile: parsedFiles[0], - credentialsFile: parsedFiles[1] + tagName, + tagExp, + closeIndex, + attrExpPresent }; - }; - exports.loadSharedConfigFiles = loadSharedConfigFiles; - } -}); - -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js -var require_getSsoSessionData = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getSsoSessionData = void 0; - var ssoSessionKeyRegex = /^sso-session\s(["'])?([^\1]+)\1$/; - var getSsoSessionData = (data) => Object.entries(data).filter(([key]) => ssoSessionKeyRegex.test(key)).reduce((acc, [key, value]) => ({ ...acc, [ssoSessionKeyRegex.exec(key)[2]]: value }), {}); - exports.getSsoSessionData = getSsoSessionData; - } -}); - -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js -var require_loadSsoSessionData = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.loadSsoSessionData = void 0; - var getConfigFilepath_1 = require_getConfigFilepath(); - var getSsoSessionData_1 = require_getSsoSessionData(); - var parseIni_1 = require_parseIni(); - var slurpFile_1 = require_slurpFile(); - var swallowError = () => ({}); - var loadSsoSessionData = async (init = {}) => { - var _a; - return (0, slurpFile_1.slurpFile)((_a = init.configFilepath) !== null && _a !== void 0 ? _a : (0, getConfigFilepath_1.getConfigFilepath)()).then(parseIni_1.parseIni).then(getSsoSessionData_1.getSsoSessionData).catch(swallowError); - }; - exports.loadSsoSessionData = loadSsoSessionData; + } + function readStopNodeData(xmlData, tagName, i) { + const startIndex = i; + let openTagCount = 1; + for (; i < xmlData.length; i++) { + if (xmlData[i] === "<") { + if (xmlData[i + 1] === "/") { + const closeIndex = findClosingIndex(xmlData, ">", i, `${tagName} is not closed`); + let closeTagName = xmlData.substring(i + 2, closeIndex).trim(); + if (closeTagName === tagName) { + openTagCount--; + if (openTagCount === 0) { + return { + tagContent: xmlData.substring(startIndex, i), + i: closeIndex + }; + } + } + i = closeIndex; + } else if (xmlData[i + 1] === "?") { + const closeIndex = findClosingIndex(xmlData, "?>", i + 1, "StopNode is not closed."); + i = closeIndex; + } else if (xmlData.substr(i + 1, 3) === "!--") { + const closeIndex = findClosingIndex(xmlData, "-->", i + 3, "StopNode is not closed."); + i = closeIndex; + } else if (xmlData.substr(i + 1, 2) === "![") { + const closeIndex = findClosingIndex(xmlData, "]]>", i, "StopNode is not closed.") - 2; + i = closeIndex; + } else { + const tagData = readTagExp(xmlData, i, ">"); + if (tagData) { + const openTagName = tagData && tagData.tagName; + if (openTagName === tagName && tagData.tagExp[tagData.tagExp.length - 1] !== "/") { + openTagCount++; + } + i = tagData.closeIndex; + } + } + } + } + } + function parseValue(val2, shouldParse, options) { + if (shouldParse && typeof val2 === "string") { + const newval = val2.trim(); + if (newval === "true") + return true; + else if (newval === "false") + return false; + else + return toNumber(val2, options); + } else { + if (util.isExist(val2)) { + return val2; + } else { + return ""; + } + } + } + module2.exports = OrderedObjParser; } }); -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js -var require_mergeConfigFiles = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js"(exports) { +// ../../../node_modules/fast-xml-parser/src/xmlparser/node2json.js +var require_node2json = __commonJS({ + "../../../node_modules/fast-xml-parser/src/xmlparser/node2json.js"(exports) { "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.mergeConfigFiles = void 0; - var mergeConfigFiles = (...files) => { - const merged = {}; - for (const file of files) { - for (const [key, values] of Object.entries(file)) { - if (merged[key] !== void 0) { - Object.assign(merged[key], values); + function prettify(node, options) { + return compress(node, options); + } + function compress(arr, options, jPath) { + let text; + const compressedObj = {}; + for (let i = 0; i < arr.length; i++) { + const tagObj = arr[i]; + const property = propName(tagObj); + let newJpath = ""; + if (jPath === void 0) + newJpath = property; + else + newJpath = jPath + "." + property; + if (property === options.textNodeName) { + if (text === void 0) + text = tagObj[property]; + else + text += "" + tagObj[property]; + } else if (property === void 0) { + continue; + } else if (tagObj[property]) { + let val2 = compress(tagObj[property], options, newJpath); + const isLeaf = isLeafTag(val2, options); + if (tagObj[":@"]) { + assignAttributes(val2, tagObj[":@"], newJpath, options); + } else if (Object.keys(val2).length === 1 && val2[options.textNodeName] !== void 0 && !options.alwaysCreateTextNode) { + val2 = val2[options.textNodeName]; + } else if (Object.keys(val2).length === 0) { + if (options.alwaysCreateTextNode) + val2[options.textNodeName] = ""; + else + val2 = ""; + } + if (compressedObj[property] !== void 0 && compressedObj.hasOwnProperty(property)) { + if (!Array.isArray(compressedObj[property])) { + compressedObj[property] = [compressedObj[property]]; + } + compressedObj[property].push(val2); } else { - merged[key] = values; + if (options.isArray(property, newJpath, isLeaf)) { + compressedObj[property] = [val2]; + } else { + compressedObj[property] = val2; + } } } } - return merged; - }; - exports.mergeConfigFiles = mergeConfigFiles; + if (typeof text === "string") { + if (text.length > 0) + compressedObj[options.textNodeName] = text; + } else if (text !== void 0) + compressedObj[options.textNodeName] = text; + return compressedObj; + } + function propName(obj) { + const keys = Object.keys(obj); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + if (key !== ":@") + return key; + } + } + function assignAttributes(obj, attrMap, jpath, options) { + if (attrMap) { + const keys = Object.keys(attrMap); + const len = keys.length; + for (let i = 0; i < len; i++) { + const atrrName = keys[i]; + if (options.isArray(atrrName, jpath + "." + atrrName, true, true)) { + obj[atrrName] = [attrMap[atrrName]]; + } else { + obj[atrrName] = attrMap[atrrName]; + } + } + } + } + function isLeafTag(obj, options) { + const { textNodeName } = options; + const propCount = Object.keys(obj).length; + if (propCount === 0) { + return true; + } + if (propCount === 1 && (obj[textNodeName] || typeof obj[textNodeName] === "boolean" || obj[textNodeName] === 0)) { + return true; + } + return false; + } + exports.prettify = prettify; } }); -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js -var require_parseKnownFiles = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.parseKnownFiles = void 0; - var loadSharedConfigFiles_1 = require_loadSharedConfigFiles(); - var mergeConfigFiles_1 = require_mergeConfigFiles(); - var parseKnownFiles = async (init) => { - const parsedFiles = await (0, loadSharedConfigFiles_1.loadSharedConfigFiles)(init); - return (0, mergeConfigFiles_1.mergeConfigFiles)(parsedFiles.configFile, parsedFiles.credentialsFile); +// ../../../node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +var require_XMLParser = __commonJS({ + "../../../node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"(exports, module2) { + var { buildOptions } = require_OptionsBuilder(); + var OrderedObjParser = require_OrderedObjParser(); + var { prettify } = require_node2json(); + var validator = require_validator(); + var XMLParser = class { + constructor(options) { + this.externalEntities = {}; + this.options = buildOptions(options); + } + /** + * Parse XML dats to JS object + * @param {string|Buffer} xmlData + * @param {boolean|Object} validationOption + */ + parse(xmlData, validationOption) { + if (typeof xmlData === "string") { + } else if (xmlData.toString) { + xmlData = xmlData.toString(); + } else { + throw new Error("XML data is accepted in String or Bytes[] form."); + } + if (validationOption) { + if (validationOption === true) + validationOption = {}; + const result = validator.validate(xmlData, validationOption); + if (result !== true) { + throw Error(`${result.err.msg}:${result.err.line}:${result.err.col}`); + } + } + const orderedObjParser = new OrderedObjParser(this.options); + orderedObjParser.addExternalEntities(this.externalEntities); + const orderedResult = orderedObjParser.parseXml(xmlData); + if (this.options.preserveOrder || orderedResult === void 0) + return orderedResult; + else + return prettify(orderedResult, this.options); + } + /** + * Add Entity which is not by default supported by this library + * @param {string} key + * @param {string} value + */ + addEntity(key, value) { + if (value.indexOf("&") !== -1) { + throw new Error("Entity value can't have '&'"); + } else if (key.indexOf("&") !== -1 || key.indexOf(";") !== -1) { + throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '"); + } else if (value === "&") { + throw new Error("An entity with value '&' is not permitted"); + } else { + this.externalEntities[key] = value; + } + } }; - exports.parseKnownFiles = parseKnownFiles; - } -}); - -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js -var require_types5 = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); + module2.exports = XMLParser; } }); -// ../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js -var require_dist_cjs38 = __commonJS({ - "../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_getHomeDir(), exports); - tslib_1.__exportStar(require_getProfileName(), exports); - tslib_1.__exportStar(require_getSSOTokenFilepath(), exports); - tslib_1.__exportStar(require_getSSOTokenFromFile(), exports); - tslib_1.__exportStar(require_loadSharedConfigFiles(), exports); - tslib_1.__exportStar(require_loadSsoSessionData(), exports); - tslib_1.__exportStar(require_parseKnownFiles(), exports); - tslib_1.__exportStar(require_types5(), exports); - } -}); - -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js -var require_httpRequest2 = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.httpRequest = void 0; - var property_provider_1 = require_dist_cjs6(); - var buffer_1 = require("buffer"); - var http_1 = require("http"); - function httpRequest(options) { - return new Promise((resolve, reject) => { - var _a; - const req = (0, http_1.request)({ - method: "GET", - ...options, - hostname: (_a = options.hostname) === null || _a === void 0 ? void 0 : _a.replace(/^\[(.+)\]$/, "$1") - }); - req.on("error", (err) => { - reject(Object.assign(new property_provider_1.ProviderError("Unable to connect to instance metadata service"), err)); - req.destroy(); - }); - req.on("timeout", () => { - reject(new property_provider_1.ProviderError("TimeoutError from instance metadata service")); - req.destroy(); - }); - req.on("response", (res) => { - const { statusCode = 400 } = res; - if (statusCode < 200 || 300 <= statusCode) { - reject(Object.assign(new property_provider_1.ProviderError("Error response received from instance metadata service"), { statusCode })); - req.destroy(); +// ../../../node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +var require_orderedJs2Xml = __commonJS({ + "../../../node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"(exports, module2) { + var EOL = "\n"; + function toXml(jArray, options) { + let indentation = ""; + if (options.format && options.indentBy.length > 0) { + indentation = EOL; + } + return arrToStr(jArray, options, "", indentation); + } + function arrToStr(arr, options, jPath, indentation) { + let xmlStr = ""; + let isPreviousElementTag = false; + for (let i = 0; i < arr.length; i++) { + const tagObj = arr[i]; + const tagName = propName(tagObj); + let newJPath = ""; + if (jPath.length === 0) + newJPath = tagName; + else + newJPath = `${jPath}.${tagName}`; + if (tagName === options.textNodeName) { + let tagText = tagObj[tagName]; + if (!isStopNode(newJPath, options)) { + tagText = options.tagValueProcessor(tagName, tagText); + tagText = replaceEntitiesValue(tagText, options); } - const chunks = []; - res.on("data", (chunk) => { - chunks.push(chunk); - }); - res.on("end", () => { - resolve(buffer_1.Buffer.concat(chunks)); - req.destroy(); - }); - }); - req.end(); - }); + if (isPreviousElementTag) { + xmlStr += indentation; + } + xmlStr += tagText; + isPreviousElementTag = false; + continue; + } else if (tagName === options.cdataPropName) { + if (isPreviousElementTag) { + xmlStr += indentation; + } + xmlStr += ``; + isPreviousElementTag = false; + continue; + } else if (tagName === options.commentPropName) { + xmlStr += indentation + ``; + isPreviousElementTag = true; + continue; + } else if (tagName[0] === "?") { + const attStr2 = attr_to_str(tagObj[":@"], options); + const tempInd = tagName === "?xml" ? "" : indentation; + let piTextNodeName = tagObj[tagName][0][options.textNodeName]; + piTextNodeName = piTextNodeName.length !== 0 ? " " + piTextNodeName : ""; + xmlStr += tempInd + `<${tagName}${piTextNodeName}${attStr2}?>`; + isPreviousElementTag = true; + continue; + } + let newIdentation = indentation; + if (newIdentation !== "") { + newIdentation += options.indentBy; + } + const attStr = attr_to_str(tagObj[":@"], options); + const tagStart = indentation + `<${tagName}${attStr}`; + const tagValue = arrToStr(tagObj[tagName], options, newJPath, newIdentation); + if (options.unpairedTags.indexOf(tagName) !== -1) { + if (options.suppressUnpairedNode) + xmlStr += tagStart + ">"; + else + xmlStr += tagStart + "/>"; + } else if ((!tagValue || tagValue.length === 0) && options.suppressEmptyNode) { + xmlStr += tagStart + "/>"; + } else if (tagValue && tagValue.endsWith(">")) { + xmlStr += tagStart + `>${tagValue}${indentation}`; + } else { + xmlStr += tagStart + ">"; + if (tagValue && indentation !== "" && (tagValue.includes("/>") || tagValue.includes("`; + } + isPreviousElementTag = true; + } + return xmlStr; } - exports.httpRequest = httpRequest; - } -}); - -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js -var require_ImdsCredentials = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromImdsCredentials = exports.isImdsCredentials = void 0; - var isImdsCredentials = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.AccessKeyId === "string" && typeof arg.SecretAccessKey === "string" && typeof arg.Token === "string" && typeof arg.Expiration === "string"; - exports.isImdsCredentials = isImdsCredentials; - var fromImdsCredentials = (creds) => ({ - accessKeyId: creds.AccessKeyId, - secretAccessKey: creds.SecretAccessKey, - sessionToken: creds.Token, - expiration: new Date(creds.Expiration) - }); - exports.fromImdsCredentials = fromImdsCredentials; - } -}); - -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js -var require_RemoteProviderInit = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.providerConfigFromInit = exports.DEFAULT_MAX_RETRIES = exports.DEFAULT_TIMEOUT = void 0; - exports.DEFAULT_TIMEOUT = 1e3; - exports.DEFAULT_MAX_RETRIES = 0; - var providerConfigFromInit = ({ maxRetries = exports.DEFAULT_MAX_RETRIES, timeout = exports.DEFAULT_TIMEOUT }) => ({ maxRetries, timeout }); - exports.providerConfigFromInit = providerConfigFromInit; - } -}); - -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js -var require_retry4 = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.retry = void 0; - var retry = (toRetry, maxRetries) => { - let promise = toRetry(); - for (let i = 0; i < maxRetries; i++) { - promise = promise.catch(toRetry); + function propName(obj) { + const keys = Object.keys(obj); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + if (key !== ":@") + return key; } - return promise; - }; - exports.retry = retry; + } + function attr_to_str(attrMap, options) { + let attrStr = ""; + if (attrMap && !options.ignoreAttributes) { + for (let attr in attrMap) { + let attrVal = options.attributeValueProcessor(attr, attrMap[attr]); + attrVal = replaceEntitiesValue(attrVal, options); + if (attrVal === true && options.suppressBooleanAttributes) { + attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}`; + } else { + attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}="${attrVal}"`; + } + } + } + return attrStr; + } + function isStopNode(jPath, options) { + jPath = jPath.substr(0, jPath.length - options.textNodeName.length - 1); + let tagName = jPath.substr(jPath.lastIndexOf(".") + 1); + for (let index in options.stopNodes) { + if (options.stopNodes[index] === jPath || options.stopNodes[index] === "*." + tagName) + return true; + } + return false; + } + function replaceEntitiesValue(textValue, options) { + if (textValue && textValue.length > 0 && options.processEntities) { + for (let i = 0; i < options.entities.length; i++) { + const entity = options.entities[i]; + textValue = textValue.replace(entity.regex, entity.val); + } + } + return textValue; + } + module2.exports = toXml; } }); -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js -var require_fromContainerMetadata = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js"(exports) { +// ../../../node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +var require_json2xml = __commonJS({ + "../../../node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js"(exports, module2) { "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromContainerMetadata = exports.ENV_CMDS_AUTH_TOKEN = exports.ENV_CMDS_RELATIVE_URI = exports.ENV_CMDS_FULL_URI = void 0; - var property_provider_1 = require_dist_cjs6(); - var url_1 = require("url"); - var httpRequest_1 = require_httpRequest2(); - var ImdsCredentials_1 = require_ImdsCredentials(); - var RemoteProviderInit_1 = require_RemoteProviderInit(); - var retry_1 = require_retry4(); - exports.ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI"; - exports.ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"; - exports.ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; - var fromContainerMetadata = (init = {}) => { - const { timeout, maxRetries } = (0, RemoteProviderInit_1.providerConfigFromInit)(init); - return () => (0, retry_1.retry)(async () => { - const requestOptions = await getCmdsUri(); - const credsResponse = JSON.parse(await requestFromEcsImds(timeout, requestOptions)); - if (!(0, ImdsCredentials_1.isImdsCredentials)(credsResponse)) { - throw new property_provider_1.CredentialsProviderError("Invalid response received from instance metadata service."); - } - return (0, ImdsCredentials_1.fromImdsCredentials)(credsResponse); - }, maxRetries); - }; - exports.fromContainerMetadata = fromContainerMetadata; - var requestFromEcsImds = async (timeout, options) => { - if (process.env[exports.ENV_CMDS_AUTH_TOKEN]) { - options.headers = { - ...options.headers, - Authorization: process.env[exports.ENV_CMDS_AUTH_TOKEN] + var buildFromOrderedJs = require_orderedJs2Xml(); + var defaultOptions = { + attributeNamePrefix: "@_", + attributesGroupName: false, + textNodeName: "#text", + ignoreAttributes: true, + cdataPropName: false, + format: false, + indentBy: " ", + suppressEmptyNode: false, + suppressUnpairedNode: true, + suppressBooleanAttributes: true, + tagValueProcessor: function(key, a) { + return a; + }, + attributeValueProcessor: function(attrName, a) { + return a; + }, + preserveOrder: false, + commentPropName: false, + unpairedTags: [], + entities: [ + { regex: new RegExp("&", "g"), val: "&" }, + //it must be on top + { regex: new RegExp(">", "g"), val: ">" }, + { regex: new RegExp("<", "g"), val: "<" }, + { regex: new RegExp("'", "g"), val: "'" }, + { regex: new RegExp('"', "g"), val: """ } + ], + processEntities: true, + stopNodes: [], + // transformTagName: false, + // transformAttributeName: false, + oneListGroup: false + }; + function Builder(options) { + this.options = Object.assign({}, defaultOptions, options); + if (this.options.ignoreAttributes || this.options.attributesGroupName) { + this.isAttribute = function() { + return false; }; + } else { + this.attrPrefixLen = this.options.attributeNamePrefix.length; + this.isAttribute = isAttribute; + } + this.processTextOrObjNode = processTextOrObjNode; + if (this.options.format) { + this.indentate = indentate; + this.tagEndChar = ">\n"; + this.newLine = "\n"; + } else { + this.indentate = function() { + return ""; + }; + this.tagEndChar = ">"; + this.newLine = ""; + } + } + Builder.prototype.build = function(jObj) { + if (this.options.preserveOrder) { + return buildFromOrderedJs(jObj, this.options); + } else { + if (Array.isArray(jObj) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1) { + jObj = { + [this.options.arrayNodeName]: jObj + }; + } + return this.j2x(jObj, 0).val; } - const buffer = await (0, httpRequest_1.httpRequest)({ - ...options, - timeout - }); - return buffer.toString(); }; - var CMDS_IP = "169.254.170.2"; - var GREENGRASS_HOSTS = { - localhost: true, - "127.0.0.1": true + Builder.prototype.j2x = function(jObj, level) { + let attrStr = ""; + let val2 = ""; + for (let key in jObj) { + if (typeof jObj[key] === "undefined") { + } else if (jObj[key] === null) { + if (key[0] === "?") + val2 += this.indentate(level) + "<" + key + "?" + this.tagEndChar; + else + val2 += this.indentate(level) + "<" + key + "/" + this.tagEndChar; + } else if (jObj[key] instanceof Date) { + val2 += this.buildTextValNode(jObj[key], key, "", level); + } else if (typeof jObj[key] !== "object") { + const attr = this.isAttribute(key); + if (attr) { + attrStr += this.buildAttrPairStr(attr, "" + jObj[key]); + } else { + if (key === this.options.textNodeName) { + let newval = this.options.tagValueProcessor(key, "" + jObj[key]); + val2 += this.replaceEntitiesValue(newval); + } else { + val2 += this.buildTextValNode(jObj[key], key, "", level); + } + } + } else if (Array.isArray(jObj[key])) { + const arrLen = jObj[key].length; + let listTagVal = ""; + for (let j = 0; j < arrLen; j++) { + const item = jObj[key][j]; + if (typeof item === "undefined") { + } else if (item === null) { + if (key[0] === "?") + val2 += this.indentate(level) + "<" + key + "?" + this.tagEndChar; + else + val2 += this.indentate(level) + "<" + key + "/" + this.tagEndChar; + } else if (typeof item === "object") { + if (this.options.oneListGroup) { + listTagVal += this.j2x(item, level + 1).val; + } else { + listTagVal += this.processTextOrObjNode(item, key, level); + } + } else { + listTagVal += this.buildTextValNode(item, key, "", level); + } + } + if (this.options.oneListGroup) { + listTagVal = this.buildObjectNode(listTagVal, key, "", level); + } + val2 += listTagVal; + } else { + if (this.options.attributesGroupName && key === this.options.attributesGroupName) { + const Ks = Object.keys(jObj[key]); + const L = Ks.length; + for (let j = 0; j < L; j++) { + attrStr += this.buildAttrPairStr(Ks[j], "" + jObj[key][Ks[j]]); + } + } else { + val2 += this.processTextOrObjNode(jObj[key], key, level); + } + } + } + return { attrStr, val: val2 }; }; - var GREENGRASS_PROTOCOLS = { - "http:": true, - "https:": true + Builder.prototype.buildAttrPairStr = function(attrName, val2) { + val2 = this.options.attributeValueProcessor(attrName, "" + val2); + val2 = this.replaceEntitiesValue(val2); + if (this.options.suppressBooleanAttributes && val2 === "true") { + return " " + attrName; + } else + return " " + attrName + '="' + val2 + '"'; }; - var getCmdsUri = async () => { - if (process.env[exports.ENV_CMDS_RELATIVE_URI]) { - return { - hostname: CMDS_IP, - path: process.env[exports.ENV_CMDS_RELATIVE_URI] - }; + function processTextOrObjNode(object, key, level) { + const result = this.j2x(object, level + 1); + if (object[this.options.textNodeName] !== void 0 && Object.keys(object).length === 1) { + return this.buildTextValNode(object[this.options.textNodeName], key, result.attrStr, level); + } else { + return this.buildObjectNode(result.val, key, result.attrStr, level); } - if (process.env[exports.ENV_CMDS_FULL_URI]) { - const parsed = (0, 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); + } + Builder.prototype.buildObjectNode = function(val2, key, attrStr, level) { + if (val2 === "") { + if (key[0] === "?") + return this.indentate(level) + "<" + key + attrStr + "?" + this.tagEndChar; + else { + return this.indentate(level) + "<" + key + attrStr + this.closeTag(key) + this.tagEndChar; } - if (!parsed.protocol || !(parsed.protocol in GREENGRASS_PROTOCOLS)) { - throw new property_provider_1.CredentialsProviderError(`${parsed.protocol} is not a valid container metadata service protocol`, false); + } else { + let tagEndExp = "" + val2 + tagEndExp; + } else if (this.options.commentPropName !== false && key === this.options.commentPropName && piClosingChar.length === 0) { + return this.indentate(level) + `` + this.newLine; + } else { + return this.indentate(level) + "<" + key + attrStr + piClosingChar + this.tagEndChar + val2 + this.indentate(level) + tagEndExp; } - return { - ...parsed, - port: parsed.port ? parseInt(parsed.port, 10) : void 0 - }; } - throw new property_provider_1.CredentialsProviderError(`The container metadata credential provider cannot be used unless the ${exports.ENV_CMDS_RELATIVE_URI} or ${exports.ENV_CMDS_FULL_URI} environment variable is set`, false); }; + Builder.prototype.closeTag = function(key) { + let closeTag = ""; + if (this.options.unpairedTags.indexOf(key) !== -1) { + if (!this.options.suppressUnpairedNode) + closeTag = "/"; + } else if (this.options.suppressEmptyNode) { + closeTag = "/"; + } else { + closeTag = `>` + this.newLine; + } else if (this.options.commentPropName !== false && key === this.options.commentPropName) { + return this.indentate(level) + `` + this.newLine; + } else if (key[0] === "?") { + return this.indentate(level) + "<" + key + attrStr + "?" + this.tagEndChar; + } else { + let textValue = this.options.tagValueProcessor(key, val2); + textValue = this.replaceEntitiesValue(textValue); + if (textValue === "") { + return this.indentate(level) + "<" + key + attrStr + this.closeTag(key) + this.tagEndChar; + } else { + return this.indentate(level) + "<" + key + attrStr + ">" + textValue + " 0 && this.options.processEntities) { + for (let i = 0; i < this.options.entities.length; i++) { + const entity = this.options.entities[i]; + textValue = textValue.replace(entity.regex, entity.val); + } + } + return textValue; + }; + function indentate(level) { + return this.options.indentBy.repeat(level); + } + function isAttribute(name) { + if (name.startsWith(this.options.attributeNamePrefix)) { + return name.substr(this.attrPrefixLen); + } else { + return false; + } + } + module2.exports = Builder; } }); -// ../../../node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js -var require_fromEnv2 = __commonJS({ - "../../../node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js"(exports) { +// ../../../node_modules/fast-xml-parser/src/fxp.js +var require_fxp = __commonJS({ + "../../../node_modules/fast-xml-parser/src/fxp.js"(exports, module2) { "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromEnv = void 0; - var property_provider_1 = require_dist_cjs6(); - var fromEnv = (envVarSelector) => async () => { - try { - const config = envVarSelector(process.env); - if (config === void 0) { - throw new Error(); - } - return config; - } catch (e) { - throw new property_provider_1.CredentialsProviderError(e.message || `Cannot load config from environment variables with getter: ${envVarSelector}`); - } + var validator = require_validator(); + var XMLParser = require_XMLParser(); + var XMLBuilder = require_json2xml(); + module2.exports = { + XMLParser, + XMLValidator: validator, + XMLBuilder }; - exports.fromEnv = fromEnv; } }); -// ../../../node_modules/@smithy/node-config-provider/dist-cjs/fromSharedConfigFiles.js -var require_fromSharedConfigFiles = __commonJS({ - "../../../node_modules/@smithy/node-config-provider/dist-cjs/fromSharedConfigFiles.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +var require_Aws_query = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromSharedConfigFiles = void 0; - var property_provider_1 = require_dist_cjs6(); - var shared_ini_file_loader_1 = require_dist_cjs38(); - var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => { - const profile = (0, shared_ini_file_loader_1.getProfileName)(init); - const { configFile, credentialsFile } = await (0, shared_ini_file_loader_1.loadSharedConfigFiles)(init); - const profileFromCredentials = credentialsFile[profile] || {}; - const profileFromConfig = configFile[profile] || {}; - const mergedProfile = preferredFile === "config" ? { ...profileFromCredentials, ...profileFromConfig } : { ...profileFromConfig, ...profileFromCredentials }; - try { - const configValue = configSelector(mergedProfile); - if (configValue === void 0) { - throw new Error(); - } - return configValue; - } catch (e) { - throw new property_provider_1.CredentialsProviderError(e.message || `Cannot load config for profile ${profile} in SDK configuration files with getter: ${configSelector}`); - } + exports.de_GetSessionTokenCommand = exports.de_GetFederationTokenCommand = exports.de_GetCallerIdentityCommand = exports.de_GetAccessKeyInfoCommand = exports.de_DecodeAuthorizationMessageCommand = exports.de_AssumeRoleWithWebIdentityCommand = exports.de_AssumeRoleWithSAMLCommand = exports.de_AssumeRoleCommand = exports.se_GetSessionTokenCommand = exports.se_GetFederationTokenCommand = exports.se_GetCallerIdentityCommand = exports.se_GetAccessKeyInfoCommand = exports.se_DecodeAuthorizationMessageCommand = exports.se_AssumeRoleWithWebIdentityCommand = exports.se_AssumeRoleWithSAMLCommand = exports.se_AssumeRoleCommand = void 0; + var protocol_http_1 = require_dist_cjs2(); + var smithy_client_1 = require_dist_cjs37(); + var fast_xml_parser_1 = require_fxp(); + var models_0_1 = require_models_0(); + var STSServiceException_1 = require_STSServiceException(); + var se_AssumeRoleCommand = async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssumeRoleRequest(input, context), + Action: "AssumeRole", + Version: "2011-06-15" + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); }; - exports.fromSharedConfigFiles = fromSharedConfigFiles; - } -}); - -// ../../../node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js -var require_fromStatic2 = __commonJS({ - "../../../node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromStatic = void 0; - var property_provider_1 = require_dist_cjs6(); - var isFunction = (func) => typeof func === "function"; - var fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : (0, property_provider_1.fromStatic)(defaultValue); - exports.fromStatic = fromStatic; - } -}); - -// ../../../node_modules/@smithy/node-config-provider/dist-cjs/configLoader.js -var require_configLoader = __commonJS({ - "../../../node_modules/@smithy/node-config-provider/dist-cjs/configLoader.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.loadConfig = void 0; - var property_provider_1 = require_dist_cjs6(); - var fromEnv_1 = require_fromEnv2(); - var fromSharedConfigFiles_1 = require_fromSharedConfigFiles(); - var fromStatic_1 = require_fromStatic2(); - var 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))); - exports.loadConfig = loadConfig; - } -}); - -// ../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js -var require_dist_cjs39 = __commonJS({ - "../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_configLoader(), exports); - } -}); - -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js -var require_Endpoint = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.Endpoint = void 0; - var Endpoint; - (function(Endpoint2) { - Endpoint2["IPv4"] = "http://169.254.169.254"; - Endpoint2["IPv6"] = "http://[fd00:ec2::254]"; - })(Endpoint = exports.Endpoint || (exports.Endpoint = {})); - } -}); - -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js -var require_EndpointConfigOptions = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.ENDPOINT_CONFIG_OPTIONS = exports.CONFIG_ENDPOINT_NAME = exports.ENV_ENDPOINT_NAME = void 0; - exports.ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT"; - exports.CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint"; - exports.ENDPOINT_CONFIG_OPTIONS = { - environmentVariableSelector: (env) => env[exports.ENV_ENDPOINT_NAME], - configFileSelector: (profile) => profile[exports.CONFIG_ENDPOINT_NAME], - default: void 0 + exports.se_AssumeRoleCommand = se_AssumeRoleCommand; + var se_AssumeRoleWithSAMLCommand = async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssumeRoleWithSAMLRequest(input, context), + Action: "AssumeRoleWithSAML", + Version: "2011-06-15" + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); }; - } -}); - -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js -var require_EndpointMode = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.EndpointMode = void 0; - var EndpointMode; - (function(EndpointMode2) { - EndpointMode2["IPv4"] = "IPv4"; - EndpointMode2["IPv6"] = "IPv6"; - })(EndpointMode = exports.EndpointMode || (exports.EndpointMode = {})); - } -}); - -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js -var require_EndpointModeConfigOptions = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.ENDPOINT_MODE_CONFIG_OPTIONS = exports.CONFIG_ENDPOINT_MODE_NAME = exports.ENV_ENDPOINT_MODE_NAME = void 0; - var EndpointMode_1 = require_EndpointMode(); - exports.ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE"; - exports.CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode"; - exports.ENDPOINT_MODE_CONFIG_OPTIONS = { - environmentVariableSelector: (env) => env[exports.ENV_ENDPOINT_MODE_NAME], - configFileSelector: (profile) => profile[exports.CONFIG_ENDPOINT_MODE_NAME], - default: EndpointMode_1.EndpointMode.IPv4 + exports.se_AssumeRoleWithSAMLCommand = se_AssumeRoleWithSAMLCommand; + var se_AssumeRoleWithWebIdentityCommand = async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssumeRoleWithWebIdentityRequest(input, context), + Action: "AssumeRoleWithWebIdentity", + Version: "2011-06-15" + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); }; - } -}); - -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js -var require_getInstanceMetadataEndpoint = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getInstanceMetadataEndpoint = void 0; - var node_config_provider_1 = require_dist_cjs39(); - var url_parser_1 = require_dist_cjs24(); - var Endpoint_1 = require_Endpoint(); - var EndpointConfigOptions_1 = require_EndpointConfigOptions(); - var EndpointMode_1 = require_EndpointMode(); - var EndpointModeConfigOptions_1 = require_EndpointModeConfigOptions(); - var getInstanceMetadataEndpoint = async () => (0, url_parser_1.parseUrl)(await getFromEndpointConfig() || await getFromEndpointModeConfig()); - exports.getInstanceMetadataEndpoint = getInstanceMetadataEndpoint; - var getFromEndpointConfig = async () => (0, node_config_provider_1.loadConfig)(EndpointConfigOptions_1.ENDPOINT_CONFIG_OPTIONS)(); - var getFromEndpointModeConfig = async () => { - const endpointMode = await (0, node_config_provider_1.loadConfig)(EndpointModeConfigOptions_1.ENDPOINT_MODE_CONFIG_OPTIONS)(); - switch (endpointMode) { - case EndpointMode_1.EndpointMode.IPv4: - return Endpoint_1.Endpoint.IPv4; - case EndpointMode_1.EndpointMode.IPv6: - return Endpoint_1.Endpoint.IPv6; - default: - throw new Error(`Unsupported endpoint mode: ${endpointMode}. Select from ${Object.values(EndpointMode_1.EndpointMode)}`); - } + exports.se_AssumeRoleWithWebIdentityCommand = se_AssumeRoleWithWebIdentityCommand; + var se_DecodeAuthorizationMessageCommand = async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DecodeAuthorizationMessageRequest(input, context), + Action: "DecodeAuthorizationMessage", + Version: "2011-06-15" + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); }; - } -}); - -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js -var require_getExtendedInstanceMetadataCredentials = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getExtendedInstanceMetadataCredentials = void 0; - var STATIC_STABILITY_REFRESH_INTERVAL_SECONDS = 5 * 60; - var STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60; - var STATIC_STABILITY_DOC_URL = "https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html"; - var getExtendedInstanceMetadataCredentials = (credentials, logger) => { - var _a; - const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS + Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS); - const newExpiration = new Date(Date.now() + refreshInterval * 1e3); - logger.warn("Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(newExpiration)}.\nFor more information, please visit: " + STATIC_STABILITY_DOC_URL); - const originalExpiration = (_a = credentials.originalExpiration) !== null && _a !== void 0 ? _a : credentials.expiration; - return { - ...credentials, - ...originalExpiration ? { originalExpiration } : {}, - expiration: newExpiration - }; + exports.se_DecodeAuthorizationMessageCommand = se_DecodeAuthorizationMessageCommand; + var se_GetAccessKeyInfoCommand = async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetAccessKeyInfoRequest(input, context), + Action: "GetAccessKeyInfo", + Version: "2011-06-15" + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); }; - exports.getExtendedInstanceMetadataCredentials = getExtendedInstanceMetadataCredentials; - } -}); - -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js -var require_staticStabilityProvider = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.staticStabilityProvider = void 0; - var getExtendedInstanceMetadataCredentials_1 = require_getExtendedInstanceMetadataCredentials(); - var staticStabilityProvider = (provider, options = {}) => { - const logger = (options === null || options === void 0 ? void 0 : options.logger) || console; - let pastCredentials; - return async () => { - let credentials; - try { - credentials = await provider(); - if (credentials.expiration && credentials.expiration.getTime() < Date.now()) { - credentials = (0, getExtendedInstanceMetadataCredentials_1.getExtendedInstanceMetadataCredentials)(credentials, logger); - } - } catch (e) { - if (pastCredentials) { - logger.warn("Credential renew failed: ", e); - credentials = (0, getExtendedInstanceMetadataCredentials_1.getExtendedInstanceMetadataCredentials)(pastCredentials, logger); - } else { - throw e; - } - } - pastCredentials = credentials; - return credentials; + exports.se_GetAccessKeyInfoCommand = se_GetAccessKeyInfoCommand; + var se_GetCallerIdentityCommand = async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetCallerIdentityRequest(input, context), + Action: "GetCallerIdentity", + Version: "2011-06-15" + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_GetCallerIdentityCommand = se_GetCallerIdentityCommand; + var se_GetFederationTokenCommand = async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetFederationTokenRequest(input, context), + Action: "GetFederationToken", + Version: "2011-06-15" + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_GetFederationTokenCommand = se_GetFederationTokenCommand; + var se_GetSessionTokenCommand = async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetSessionTokenRequest(input, context), + Action: "GetSessionToken", + Version: "2011-06-15" + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_GetSessionTokenCommand = se_GetSessionTokenCommand; + var de_AssumeRoleCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_AssumeRoleCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_AssumeRoleResponse(data.AssumeRoleResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents }; + return response; }; - exports.staticStabilityProvider = staticStabilityProvider; - } -}); - -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js -var require_fromInstanceMetadata = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromInstanceMetadata = void 0; - var property_provider_1 = require_dist_cjs6(); - var httpRequest_1 = require_httpRequest2(); - var ImdsCredentials_1 = require_ImdsCredentials(); - var RemoteProviderInit_1 = require_RemoteProviderInit(); - var retry_1 = require_retry4(); - var getInstanceMetadataEndpoint_1 = require_getInstanceMetadataEndpoint(); - var staticStabilityProvider_1 = require_staticStabilityProvider(); - var IMDS_PATH = "/latest/meta-data/iam/security-credentials/"; - var IMDS_TOKEN_PATH = "/latest/api/token"; - var fromInstanceMetadata = (init = {}) => (0, staticStabilityProvider_1.staticStabilityProvider)(getInstanceImdsProvider(init), { logger: init.logger }); - exports.fromInstanceMetadata = fromInstanceMetadata; - var getInstanceImdsProvider = (init) => { - let disableFetchToken = false; - const { timeout, maxRetries } = (0, RemoteProviderInit_1.providerConfigFromInit)(init); - const getCredentials = async (maxRetries2, options) => { - const profile = (await (0, retry_1.retry)(async () => { - let profile2; - try { - profile2 = await getProfile(options); - } catch (err) { - if (err.statusCode === 401) { - disableFetchToken = false; - } - throw err; - } - return profile2; - }, maxRetries2)).trim(); - return (0, retry_1.retry)(async () => { - let creds; - try { - creds = await getCredentialsFromProfile(profile, options); - } catch (err) { - if (err.statusCode === 401) { - disableFetchToken = false; - } - throw err; - } - return creds; - }, maxRetries2); + exports.de_AssumeRoleCommand = de_AssumeRoleCommand; + var de_AssumeRoleCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) }; - return async () => { - const endpoint = await (0, getInstanceMetadataEndpoint_1.getInstanceMetadataEndpoint)(); - if (disableFetchToken) { - return getCredentials(maxRetries, { ...endpoint, timeout }); - } else { - let token; - try { - token = (await getMetadataToken({ ...endpoint, timeout })).toString(); - } catch (error) { - if ((error === null || error === void 0 ? void 0 : error.statusCode) === 400) { - throw Object.assign(error, { - message: "EC2 Metadata token request returned error" - }); - } else if (error.message === "TimeoutError" || [403, 404, 405].includes(error.statusCode)) { - disableFetchToken = true; - } - return getCredentials(maxRetries, { ...endpoint, timeout }); - } - return getCredentials(maxRetries, { - ...endpoint, - headers: { - "x-aws-ec2-metadata-token": token - }, - timeout + const errorCode = loadQueryErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ExpiredTokenException": + case "com.amazonaws.sts#ExpiredTokenException": + throw await de_ExpiredTokenExceptionRes(parsedOutput, context); + case "MalformedPolicyDocument": + case "com.amazonaws.sts#MalformedPolicyDocumentException": + throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context); + case "PackedPolicyTooLarge": + case "com.amazonaws.sts#PackedPolicyTooLargeException": + throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context); + case "RegionDisabledException": + case "com.amazonaws.sts#RegionDisabledException": + throw await de_RegionDisabledExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody: parsedBody.Error, + errorCode }); - } + } + }; + var de_AssumeRoleWithSAMLCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_AssumeRoleWithSAMLCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_AssumeRoleWithSAMLResponse(data.AssumeRoleWithSAMLResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents }; + return response; }; - var getMetadataToken = async (options) => (0, httpRequest_1.httpRequest)({ - ...options, - path: IMDS_TOKEN_PATH, - method: "PUT", - headers: { - "x-aws-ec2-metadata-token-ttl-seconds": "21600" + exports.de_AssumeRoleWithSAMLCommand = de_AssumeRoleWithSAMLCommand; + var de_AssumeRoleWithSAMLCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadQueryErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ExpiredTokenException": + case "com.amazonaws.sts#ExpiredTokenException": + throw await de_ExpiredTokenExceptionRes(parsedOutput, context); + case "IDPRejectedClaim": + case "com.amazonaws.sts#IDPRejectedClaimException": + throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context); + case "InvalidIdentityToken": + case "com.amazonaws.sts#InvalidIdentityTokenException": + throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context); + case "MalformedPolicyDocument": + case "com.amazonaws.sts#MalformedPolicyDocumentException": + throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context); + case "PackedPolicyTooLarge": + case "com.amazonaws.sts#PackedPolicyTooLargeException": + throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context); + case "RegionDisabledException": + case "com.amazonaws.sts#RegionDisabledException": + throw await de_RegionDisabledExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody: parsedBody.Error, + errorCode + }); } - }); - var getProfile = async (options) => (await (0, httpRequest_1.httpRequest)({ ...options, path: IMDS_PATH })).toString(); - var getCredentialsFromProfile = async (profile, options) => { - const credsResponse = JSON.parse((await (0, httpRequest_1.httpRequest)({ - ...options, - path: IMDS_PATH + profile - })).toString()); - if (!(0, ImdsCredentials_1.isImdsCredentials)(credsResponse)) { - throw new property_provider_1.CredentialsProviderError("Invalid response received from instance metadata service."); + }; + var de_AssumeRoleWithWebIdentityCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_AssumeRoleWithWebIdentityCommandError(output, context); } - return (0, ImdsCredentials_1.fromImdsCredentials)(credsResponse); + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_AssumeRoleWithWebIdentityResponse(data.AssumeRoleWithWebIdentityResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; }; - } -}); - -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/types.js -var require_types6 = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/types.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - } -}); - -// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js -var require_dist_cjs40 = __commonJS({ - "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getInstanceMetadataEndpoint = exports.httpRequest = void 0; - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_fromContainerMetadata(), exports); - tslib_1.__exportStar(require_fromInstanceMetadata(), exports); - tslib_1.__exportStar(require_RemoteProviderInit(), exports); - tslib_1.__exportStar(require_types6(), exports); - var httpRequest_1 = require_httpRequest2(); - Object.defineProperty(exports, "httpRequest", { enumerable: true, get: function() { - return httpRequest_1.httpRequest; - } }); - var getInstanceMetadataEndpoint_1 = require_getInstanceMetadataEndpoint(); - Object.defineProperty(exports, "getInstanceMetadataEndpoint", { enumerable: true, get: function() { - return getInstanceMetadataEndpoint_1.getInstanceMetadataEndpoint; - } }); - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveCredentialSource.js -var require_resolveCredentialSource = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveCredentialSource.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveCredentialSource = void 0; - var credential_provider_env_1 = require_dist_cjs37(); - var credential_provider_imds_1 = require_dist_cjs40(); - var property_provider_1 = require_dist_cjs6(); - var resolveCredentialSource = (credentialSource, profileName) => { - const sourceProvidersMap = { - EcsContainer: credential_provider_imds_1.fromContainerMetadata, - Ec2InstanceMetadata: credential_provider_imds_1.fromInstanceMetadata, - Environment: credential_provider_env_1.fromEnv + exports.de_AssumeRoleWithWebIdentityCommand = de_AssumeRoleWithWebIdentityCommand; + var de_AssumeRoleWithWebIdentityCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) }; - if (credentialSource in sourceProvidersMap) { - return sourceProvidersMap[credentialSource](); - } else { - throw new property_provider_1.CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`); + const errorCode = loadQueryErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ExpiredTokenException": + case "com.amazonaws.sts#ExpiredTokenException": + throw await de_ExpiredTokenExceptionRes(parsedOutput, context); + case "IDPCommunicationError": + case "com.amazonaws.sts#IDPCommunicationErrorException": + throw await de_IDPCommunicationErrorExceptionRes(parsedOutput, context); + case "IDPRejectedClaim": + case "com.amazonaws.sts#IDPRejectedClaimException": + throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context); + case "InvalidIdentityToken": + case "com.amazonaws.sts#InvalidIdentityTokenException": + throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context); + case "MalformedPolicyDocument": + case "com.amazonaws.sts#MalformedPolicyDocumentException": + throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context); + case "PackedPolicyTooLarge": + case "com.amazonaws.sts#PackedPolicyTooLargeException": + throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context); + case "RegionDisabledException": + case "com.amazonaws.sts#RegionDisabledException": + throw await de_RegionDisabledExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody: parsedBody.Error, + errorCode + }); } }; - exports.resolveCredentialSource = resolveCredentialSource; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js -var require_resolveAssumeRoleCredentials = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveAssumeRoleCredentials = exports.isAssumeRoleProfile = void 0; - var property_provider_1 = require_dist_cjs6(); - var shared_ini_file_loader_1 = require_dist_cjs38(); - var resolveCredentialSource_1 = require_resolveCredentialSource(); - var resolveProfileData_1 = require_resolveProfileData(); - var isAssumeRoleProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg) || isAssumeRoleWithProviderProfile(arg)); - exports.isAssumeRoleProfile = isAssumeRoleProfile; - var isAssumeRoleWithSourceProfile = (arg) => typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined"; - var isAssumeRoleWithProviderProfile = (arg) => typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined"; - var resolveAssumeRoleCredentials = async (profileName, profiles, options, visitedProfiles = {}) => { - const data = profiles[profileName]; - if (!options.roleAssumer) { - throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} requires a role to be assumed, but no role assumption callback was provided.`, false); - } - const { source_profile } = data; - if (source_profile && source_profile in visitedProfiles) { - throw new property_provider_1.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${(0, shared_ini_file_loader_1.getProfileName)(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(", "), false); + var de_DecodeAuthorizationMessageCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DecodeAuthorizationMessageCommandError(output, context); } - const sourceCredsProvider = source_profile ? (0, resolveProfileData_1.resolveProfileData)(source_profile, profiles, options, { - ...visitedProfiles, - [source_profile]: true - }) : (0, resolveCredentialSource_1.resolveCredentialSource)(data.credential_source, profileName)(); - const params = { - RoleArn: data.role_arn, - RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`, - ExternalId: data.external_id, - DurationSeconds: parseInt(data.duration_seconds || "3600", 10) + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DecodeAuthorizationMessageResponse(data.DecodeAuthorizationMessageResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents }; - const { mfa_serial } = data; - if (mfa_serial) { - if (!options.mfaCodeProvider) { - throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, false); - } - params.SerialNumber = mfa_serial; - params.TokenCode = await options.mfaCodeProvider(mfa_serial); - } - const sourceCreds = await sourceCredsProvider; - return options.roleAssumer(sourceCreds, params); + return response; }; - exports.resolveAssumeRoleCredentials = resolveAssumeRoleCredentials; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js -var require_getValidatedProcessCredentials = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getValidatedProcessCredentials = void 0; - var getValidatedProcessCredentials = (profileName, data) => { - if (data.Version !== 1) { - throw Error(`Profile ${profileName} credential_process did not return Version 1.`); - } - if (data.AccessKeyId === void 0 || data.SecretAccessKey === void 0) { - throw Error(`Profile ${profileName} credential_process returned invalid credentials.`); + exports.de_DecodeAuthorizationMessageCommand = de_DecodeAuthorizationMessageCommand; + var de_DecodeAuthorizationMessageCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadQueryErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidAuthorizationMessageException": + case "com.amazonaws.sts#InvalidAuthorizationMessageException": + throw await de_InvalidAuthorizationMessageExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody: parsedBody.Error, + errorCode + }); } - if (data.Expiration) { - const currentTime = /* @__PURE__ */ new Date(); - const expireTime = new Date(data.Expiration); - if (expireTime < currentTime) { - throw Error(`Profile ${profileName} credential_process returned expired credentials.`); - } + }; + var de_GetAccessKeyInfoCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetAccessKeyInfoCommandError(output, context); } - return { - accessKeyId: data.AccessKeyId, - secretAccessKey: data.SecretAccessKey, - ...data.SessionToken && { sessionToken: data.SessionToken }, - ...data.Expiration && { expiration: new Date(data.Expiration) } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetAccessKeyInfoResponse(data.GetAccessKeyInfoResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents }; + return response; }; - exports.getValidatedProcessCredentials = getValidatedProcessCredentials; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js -var require_resolveProcessCredentials = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveProcessCredentials = void 0; - var property_provider_1 = require_dist_cjs6(); - var child_process_1 = require("child_process"); - var util_1 = require("util"); - var getValidatedProcessCredentials_1 = require_getValidatedProcessCredentials(); - var resolveProcessCredentials = async (profileName, profiles) => { - const profile = profiles[profileName]; - if (profiles[profileName]) { - const credentialProcess = profile["credential_process"]; - if (credentialProcess !== void 0) { - const execPromise = (0, util_1.promisify)(child_process_1.exec); - try { - const { stdout } = await execPromise(credentialProcess); - let data; - try { - data = JSON.parse(stdout.trim()); - } catch (_a) { - throw Error(`Profile ${profileName} credential_process returned invalid JSON.`); - } - return (0, getValidatedProcessCredentials_1.getValidatedProcessCredentials)(profileName, data); - } catch (error) { - throw new property_provider_1.CredentialsProviderError(error.message); - } - } else { - throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`); - } - } else { - throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`); - } + exports.de_GetAccessKeyInfoCommand = de_GetAccessKeyInfoCommand; + var de_GetAccessKeyInfoCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadQueryErrorCode(output, parsedOutput.body); + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody: parsedBody.Error, + errorCode + }); }; - exports.resolveProcessCredentials = resolveProcessCredentials; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js -var require_fromProcess = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromProcess = void 0; - var shared_ini_file_loader_1 = require_dist_cjs38(); - var resolveProcessCredentials_1 = require_resolveProcessCredentials(); - var fromProcess = (init = {}) => async () => { - const profiles = await (0, shared_ini_file_loader_1.parseKnownFiles)(init); - return (0, resolveProcessCredentials_1.resolveProcessCredentials)((0, shared_ini_file_loader_1.getProfileName)(init), profiles); + var de_GetCallerIdentityCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetCallerIdentityCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetCallerIdentityResponse(data.GetCallerIdentityResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; }; - exports.fromProcess = fromProcess; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js -var require_dist_cjs41 = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_fromProcess(), exports); - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProcessCredentials.js -var require_resolveProcessCredentials2 = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProcessCredentials.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveProcessCredentials = exports.isProcessProfile = void 0; - var credential_provider_process_1 = require_dist_cjs41(); - var isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string"; - exports.isProcessProfile = isProcessProfile; - var resolveProcessCredentials = async (options, profile) => (0, credential_provider_process_1.fromProcess)({ - ...options, - profile - })(); - exports.resolveProcessCredentials = resolveProcessCredentials; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/isSsoProfile.js -var require_isSsoProfile = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/isSsoProfile.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.isSsoProfile = void 0; - var isSsoProfile = (arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string"); - exports.isSsoProfile = isSsoProfile; - } -}); - -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/EndpointParameters.js -var require_EndpointParameters3 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/EndpointParameters.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveClientEndpointParameters = void 0; - var resolveClientEndpointParameters = (options) => { - return { - ...options, - useDualstackEndpoint: options.useDualstackEndpoint ?? false, - useFipsEndpoint: options.useFipsEndpoint ?? false, - defaultSigningName: "awsssoportal" + exports.de_GetCallerIdentityCommand = de_GetCallerIdentityCommand; + var de_GetCallerIdentityCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) }; + const errorCode = loadQueryErrorCode(output, parsedOutput.body); + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody: parsedBody.Error, + errorCode + }); }; - exports.resolveClientEndpointParameters = resolveClientEndpointParameters; - } -}); - -// ../../../node_modules/@aws-sdk/client-sso/package.json -var require_package3 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/package.json"(exports, module2) { - module2.exports = { - name: "@aws-sdk/client-sso", - description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native", - version: "3.421.0", - scripts: { - build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", - "build:cjs": "tsc -p tsconfig.cjs.json", - "build:docs": "typedoc", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - clean: "rimraf ./dist-* && rimraf *.tsbuildinfo", - "extract:docs": "api-extractor run --local", - "generate:client": "node ../../scripts/generate-clients/single-service --solo sso" - }, - main: "./dist-cjs/index.js", - types: "./dist-types/index.d.ts", - module: "./dist-es/index.js", - sideEffects: false, - dependencies: { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/middleware-host-header": "3.418.0", - "@aws-sdk/middleware-logger": "3.418.0", - "@aws-sdk/middleware-recursion-detection": "3.418.0", - "@aws-sdk/middleware-user-agent": "3.418.0", - "@aws-sdk/region-config-resolver": "3.418.0", - "@aws-sdk/types": "3.418.0", - "@aws-sdk/util-endpoints": "3.418.0", - "@aws-sdk/util-user-agent-browser": "3.418.0", - "@aws-sdk/util-user-agent-node": "3.418.0", - "@smithy/config-resolver": "^2.0.10", - "@smithy/fetch-http-handler": "^2.1.5", - "@smithy/hash-node": "^2.0.9", - "@smithy/invalid-dependency": "^2.0.9", - "@smithy/middleware-content-length": "^2.0.11", - "@smithy/middleware-endpoint": "^2.0.9", - "@smithy/middleware-retry": "^2.0.12", - "@smithy/middleware-serde": "^2.0.9", - "@smithy/middleware-stack": "^2.0.2", - "@smithy/node-config-provider": "^2.0.12", - "@smithy/node-http-handler": "^2.1.5", - "@smithy/protocol-http": "^3.0.5", - "@smithy/smithy-client": "^2.1.6", - "@smithy/types": "^2.3.3", - "@smithy/url-parser": "^2.0.9", - "@smithy/util-base64": "^2.0.0", - "@smithy/util-body-length-browser": "^2.0.0", - "@smithy/util-body-length-node": "^2.1.0", - "@smithy/util-defaults-mode-browser": "^2.0.10", - "@smithy/util-defaults-mode-node": "^2.0.12", - "@smithy/util-retry": "^2.0.2", - "@smithy/util-utf8": "^2.0.0", - tslib: "^2.5.0" - }, - devDependencies: { - "@smithy/service-client-documentation-generator": "^2.0.0", - "@tsconfig/node14": "1.0.3", - "@types/node": "^14.14.31", - concurrently: "7.0.0", - "downlevel-dts": "0.10.1", - rimraf: "3.0.2", - typedoc: "0.23.23", - typescript: "~4.9.5" - }, - engines: { - node: ">=14.0.0" - }, - typesVersions: { - "<4.0": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - files: [ - "dist-*/**" - ], - author: { - name: "AWS SDK for JavaScript Team", - url: "https://aws.amazon.com/javascript/" - }, - license: "Apache-2.0", - browser: { - "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" - }, - "react-native": { - "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" - }, - 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" + var de_GetFederationTokenCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetFederationTokenCommandError(output, context); } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetFederationTokenResponse(data.GetFederationTokenResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; }; - } -}); - -// ../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js -var require_is_crt_available = __commonJS({ - "../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js"(exports, module2) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.isCrtAvailable = void 0; - var isCrtAvailable = () => { - try { - if (typeof require === "function" && typeof module2 !== "undefined" && require("aws-crt")) { - return ["md/crt-avail"]; - } - return null; - } catch (e) { - return null; + exports.de_GetFederationTokenCommand = de_GetFederationTokenCommand; + var de_GetFederationTokenCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadQueryErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "MalformedPolicyDocument": + case "com.amazonaws.sts#MalformedPolicyDocumentException": + throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context); + case "PackedPolicyTooLarge": + case "com.amazonaws.sts#PackedPolicyTooLargeException": + throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context); + case "RegionDisabledException": + case "com.amazonaws.sts#RegionDisabledException": + throw await de_RegionDisabledExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody: parsedBody.Error, + errorCode + }); } }; - exports.isCrtAvailable = isCrtAvailable; - } -}); - -// ../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js -var require_dist_cjs42 = __commonJS({ - "../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.defaultUserAgent = exports.UA_APP_ID_INI_NAME = exports.UA_APP_ID_ENV_NAME = void 0; - var node_config_provider_1 = require_dist_cjs39(); - var os_1 = require("os"); - var process_1 = require("process"); - var is_crt_available_1 = require_is_crt_available(); - exports.UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID"; - exports.UA_APP_ID_INI_NAME = "sdk-ua-app-id"; - var defaultUserAgent = ({ serviceId, clientVersion }) => { - const sections = [ - ["aws-sdk-js", clientVersion], - ["ua", "2.0"], - [`os/${(0, os_1.platform)()}`, (0, os_1.release)()], - ["lang/js"], - ["md/nodejs", `${process_1.versions.node}`] - ]; - const crtAvailable = (0, is_crt_available_1.isCrtAvailable)(); - if (crtAvailable) { - sections.push(crtAvailable); - } - if (serviceId) { - sections.push([`api/${serviceId}`, clientVersion]); - } - if (process_1.env.AWS_EXECUTION_ENV) { - sections.push([`exec-env/${process_1.env.AWS_EXECUTION_ENV}`]); + var de_GetSessionTokenCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetSessionTokenCommandError(output, context); } - const appIdPromise = (0, node_config_provider_1.loadConfig)({ - environmentVariableSelector: (env) => env[exports.UA_APP_ID_ENV_NAME], - configFileSelector: (profile) => profile[exports.UA_APP_ID_INI_NAME], - default: void 0 - })(); - let resolvedUserAgent = void 0; - return async () => { - if (!resolvedUserAgent) { - const appId = await appIdPromise; - resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections]; - } - return resolvedUserAgent; + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetSessionTokenResponse(data.GetSessionTokenResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents }; + return response; }; - exports.defaultUserAgent = defaultUserAgent; - } -}); - -// ../../../node_modules/@smithy/hash-node/dist-cjs/index.js -var require_dist_cjs43 = __commonJS({ - "../../../node_modules/@smithy/hash-node/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.Hash = void 0; - var util_buffer_from_1 = require_dist_cjs12(); - var util_utf8_1 = require_dist_cjs13(); - var buffer_1 = require("buffer"); - var crypto_1 = require("crypto"); - var Hash = class { - constructor(algorithmIdentifier, secret) { - this.algorithmIdentifier = algorithmIdentifier; - this.secret = secret; - this.reset(); + exports.de_GetSessionTokenCommand = de_GetSessionTokenCommand; + var de_GetSessionTokenCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadQueryErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "RegionDisabledException": + case "com.amazonaws.sts#RegionDisabledException": + throw await de_RegionDisabledExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody: parsedBody.Error, + errorCode + }); } - update(toHash, encoding) { - this.hash.update((0, util_utf8_1.toUint8Array)(castSourceData(toHash, encoding))); + }; + var de_ExpiredTokenExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_ExpiredTokenException(body.Error, context); + const exception = new models_0_1.ExpiredTokenException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_IDPCommunicationErrorExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_IDPCommunicationErrorException(body.Error, context); + const exception = new models_0_1.IDPCommunicationErrorException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_IDPRejectedClaimExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_IDPRejectedClaimException(body.Error, context); + const exception = new models_0_1.IDPRejectedClaimException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_InvalidAuthorizationMessageExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_InvalidAuthorizationMessageException(body.Error, context); + const exception = new models_0_1.InvalidAuthorizationMessageException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_InvalidIdentityTokenExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_InvalidIdentityTokenException(body.Error, context); + const exception = new models_0_1.InvalidIdentityTokenException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_MalformedPolicyDocumentExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_MalformedPolicyDocumentException(body.Error, context); + const exception = new models_0_1.MalformedPolicyDocumentException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_PackedPolicyTooLargeExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_PackedPolicyTooLargeException(body.Error, context); + const exception = new models_0_1.PackedPolicyTooLargeException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_RegionDisabledExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_RegionDisabledException(body.Error, context); + const exception = new models_0_1.RegionDisabledException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var se_AssumeRoleRequest = (input, context) => { + const entries = {}; + if (input.RoleArn != null) { + entries["RoleArn"] = input.RoleArn; } - digest() { - return Promise.resolve(this.hash.digest()); + if (input.RoleSessionName != null) { + entries["RoleSessionName"] = input.RoleSessionName; } - reset() { - this.hash = this.secret ? (0, crypto_1.createHmac)(this.algorithmIdentifier, castSourceData(this.secret)) : (0, crypto_1.createHash)(this.algorithmIdentifier); + if (input.PolicyArns != null) { + const memberEntries = se_policyDescriptorListType(input.PolicyArns, context); + if (input.PolicyArns?.length === 0) { + entries.PolicyArns = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PolicyArns.${key}`; + entries[loc] = value; + }); + } + if (input.Policy != null) { + entries["Policy"] = input.Policy; + } + if (input.DurationSeconds != null) { + entries["DurationSeconds"] = input.DurationSeconds; + } + if (input.Tags != null) { + const memberEntries = se_tagListType(input.Tags, context); + if (input.Tags?.length === 0) { + entries.Tags = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Tags.${key}`; + entries[loc] = value; + }); + } + if (input.TransitiveTagKeys != null) { + const memberEntries = se_tagKeyListType(input.TransitiveTagKeys, context); + if (input.TransitiveTagKeys?.length === 0) { + entries.TransitiveTagKeys = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TransitiveTagKeys.${key}`; + entries[loc] = value; + }); + } + if (input.ExternalId != null) { + entries["ExternalId"] = input.ExternalId; + } + if (input.SerialNumber != null) { + entries["SerialNumber"] = input.SerialNumber; + } + if (input.TokenCode != null) { + entries["TokenCode"] = input.TokenCode; + } + if (input.SourceIdentity != null) { + entries["SourceIdentity"] = input.SourceIdentity; + } + if (input.ProvidedContexts != null) { + const memberEntries = se_ProvidedContextsListType(input.ProvidedContexts, context); + if (input.ProvidedContexts?.length === 0) { + entries.ProvidedContexts = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ProvidedContexts.${key}`; + entries[loc] = value; + }); } + return entries; }; - exports.Hash = Hash; - function castSourceData(toCast, encoding) { - if (buffer_1.Buffer.isBuffer(toCast)) { - return toCast; + var se_AssumeRoleWithSAMLRequest = (input, context) => { + const entries = {}; + if (input.RoleArn != null) { + entries["RoleArn"] = input.RoleArn; } - if (typeof toCast === "string") { - return (0, util_buffer_from_1.fromString)(toCast, encoding); + if (input.PrincipalArn != null) { + entries["PrincipalArn"] = input.PrincipalArn; } - if (ArrayBuffer.isView(toCast)) { - return (0, util_buffer_from_1.fromArrayBuffer)(toCast.buffer, toCast.byteOffset, toCast.byteLength); + if (input.SAMLAssertion != null) { + entries["SAMLAssertion"] = input.SAMLAssertion; } - return (0, util_buffer_from_1.fromArrayBuffer)(toCast); - } - } -}); - -// ../../../node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js -var require_calculateBodyLength = __commonJS({ - "../../../node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.calculateBodyLength = void 0; - var fs_1 = require("fs"); - var calculateBodyLength = (body) => { - if (!body) { - return 0; + if (input.PolicyArns != null) { + const memberEntries = se_policyDescriptorListType(input.PolicyArns, context); + if (input.PolicyArns?.length === 0) { + entries.PolicyArns = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PolicyArns.${key}`; + entries[loc] = value; + }); } - if (typeof body === "string") { - return Buffer.from(body).length; - } else if (typeof body.byteLength === "number") { - return body.byteLength; - } else if (typeof body.size === "number") { - return body.size; - } else if (typeof body.start === "number" && typeof body.end === "number") { - return body.end + 1 - body.start; - } else if (typeof body.path === "string" || Buffer.isBuffer(body.path)) { - return (0, fs_1.lstatSync)(body.path).size; - } else if (typeof body.fd === "number") { - return (0, fs_1.fstatSync)(body.fd).size; + if (input.Policy != null) { + entries["Policy"] = input.Policy; } - throw new Error(`Body Length computation failed for ${body}`); + if (input.DurationSeconds != null) { + entries["DurationSeconds"] = input.DurationSeconds; + } + return entries; }; - exports.calculateBodyLength = calculateBodyLength; - } -}); - -// ../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js -var require_dist_cjs44 = __commonJS({ - "../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_calculateBodyLength(), exports); - } -}); - -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js -var require_ruleset = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.ruleSet = void 0; - var q = "required"; - var r = "fn"; - var s = "argv"; - var t = "ref"; - var a = "isSet"; - var b = "tree"; - var c = "error"; - var d = "endpoint"; - var e = "PartitionResult"; - var f = { [q]: false, "type": "String" }; - var g = { [q]: true, "default": false, "type": "Boolean" }; - var h = { [t]: "Endpoint" }; - var i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }; - var j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }; - var k = {}; - var l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }; - var m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }; - var n = [i]; - var o = [j]; - var p = [{ [t]: "Region" }]; - var _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }; - exports.ruleSet = _data; - } -}); - -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js -var require_endpointResolver = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.defaultEndpointResolver = void 0; - var util_endpoints_1 = require_dist_cjs18(); - var ruleset_1 = require_ruleset(); - var defaultEndpointResolver = (endpointParams, context = {}) => { - return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, { - endpointParams, - logger: context.logger - }); + var se_AssumeRoleWithWebIdentityRequest = (input, context) => { + const entries = {}; + if (input.RoleArn != null) { + entries["RoleArn"] = input.RoleArn; + } + if (input.RoleSessionName != null) { + entries["RoleSessionName"] = input.RoleSessionName; + } + if (input.WebIdentityToken != null) { + entries["WebIdentityToken"] = input.WebIdentityToken; + } + if (input.ProviderId != null) { + entries["ProviderId"] = input.ProviderId; + } + if (input.PolicyArns != null) { + const memberEntries = se_policyDescriptorListType(input.PolicyArns, context); + if (input.PolicyArns?.length === 0) { + entries.PolicyArns = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PolicyArns.${key}`; + entries[loc] = value; + }); + } + if (input.Policy != null) { + entries["Policy"] = input.Policy; + } + if (input.DurationSeconds != null) { + entries["DurationSeconds"] = input.DurationSeconds; + } + return entries; }; - exports.defaultEndpointResolver = defaultEndpointResolver; - } -}); - -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js -var require_runtimeConfig_shared = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getRuntimeConfig = void 0; - var smithy_client_1 = require_dist_cjs35(); - var url_parser_1 = require_dist_cjs24(); - var util_base64_1 = require_dist_cjs31(); - var util_utf8_1 = require_dist_cjs13(); - var endpointResolver_1 = require_endpointResolver(); - var getRuntimeConfig = (config) => ({ - apiVersion: "2019-06-10", - base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, - base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, - disableHostPrefix: config?.disableHostPrefix ?? false, - endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, - extensions: config?.extensions ?? [], - logger: config?.logger ?? new smithy_client_1.NoOpLogger(), - serviceId: config?.serviceId ?? "SSO", - urlParser: config?.urlParser ?? url_parser_1.parseUrl, - utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, - utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8 - }); - exports.getRuntimeConfig = getRuntimeConfig; - } -}); - -// ../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/constants.js -var require_constants7 = __commonJS({ - "../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/constants.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.IMDS_REGION_PATH = exports.DEFAULTS_MODE_OPTIONS = exports.ENV_IMDS_DISABLED = exports.AWS_DEFAULT_REGION_ENV = exports.AWS_REGION_ENV = exports.AWS_EXECUTION_ENV = void 0; - exports.AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV"; - exports.AWS_REGION_ENV = "AWS_REGION"; - exports.AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION"; - exports.ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; - exports.DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"]; - exports.IMDS_REGION_PATH = "/latest/meta-data/placement/region"; - } -}); - -// ../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/defaultsModeConfig.js -var require_defaultsModeConfig = __commonJS({ - "../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/defaultsModeConfig.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.NODE_DEFAULTS_MODE_CONFIG_OPTIONS = void 0; - var AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE"; - var AWS_DEFAULTS_MODE_CONFIG = "defaults_mode"; - exports.NODE_DEFAULTS_MODE_CONFIG_OPTIONS = { - environmentVariableSelector: (env) => { - return env[AWS_DEFAULTS_MODE_ENV]; - }, - configFileSelector: (profile) => { - return profile[AWS_DEFAULTS_MODE_CONFIG]; - }, - default: "legacy" + var se_DecodeAuthorizationMessageRequest = (input, context) => { + const entries = {}; + if (input.EncodedMessage != null) { + entries["EncodedMessage"] = input.EncodedMessage; + } + return entries; }; - } -}); - -// ../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/resolveDefaultsModeConfig.js -var require_resolveDefaultsModeConfig = __commonJS({ - "../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/resolveDefaultsModeConfig.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveDefaultsModeConfig = void 0; - var config_resolver_1 = require_dist_cjs21(); - var credential_provider_imds_1 = require_dist_cjs40(); - var node_config_provider_1 = require_dist_cjs39(); - var property_provider_1 = require_dist_cjs6(); - var constants_1 = require_constants7(); - var defaultsModeConfig_1 = require_defaultsModeConfig(); - var resolveDefaultsModeConfig = ({ region = (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS), defaultsMode = (0, node_config_provider_1.loadConfig)(defaultsModeConfig_1.NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) => (0, property_provider_1.memoize)(async () => { - const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode; - switch (mode === null || mode === void 0 ? void 0 : mode.toLowerCase()) { - case "auto": - return resolveNodeDefaultsModeAuto(region); - case "in-region": - case "cross-region": - case "mobile": - case "standard": - case "legacy": - return Promise.resolve(mode === null || mode === void 0 ? void 0 : mode.toLocaleLowerCase()); - case void 0: - return Promise.resolve("legacy"); - default: - throw new Error(`Invalid parameter for "defaultsMode", expect ${constants_1.DEFAULTS_MODE_OPTIONS.join(", ")}, got ${mode}`); + var se_GetAccessKeyInfoRequest = (input, context) => { + const entries = {}; + if (input.AccessKeyId != null) { + entries["AccessKeyId"] = input.AccessKeyId; } - }); - exports.resolveDefaultsModeConfig = resolveDefaultsModeConfig; - var resolveNodeDefaultsModeAuto = async (clientRegion) => { - if (clientRegion) { - const resolvedRegion = typeof clientRegion === "function" ? await clientRegion() : clientRegion; - const inferredRegion = await inferPhysicalRegion(); - if (!inferredRegion) { - return "standard"; + return entries; + }; + var se_GetCallerIdentityRequest = (input, context) => { + const entries = {}; + return entries; + }; + var se_GetFederationTokenRequest = (input, context) => { + const entries = {}; + if (input.Name != null) { + entries["Name"] = input.Name; + } + if (input.Policy != null) { + entries["Policy"] = input.Policy; + } + if (input.PolicyArns != null) { + const memberEntries = se_policyDescriptorListType(input.PolicyArns, context); + if (input.PolicyArns?.length === 0) { + entries.PolicyArns = []; } - if (resolvedRegion === inferredRegion) { - return "in-region"; - } else { - return "cross-region"; + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PolicyArns.${key}`; + entries[loc] = value; + }); + } + if (input.DurationSeconds != null) { + entries["DurationSeconds"] = input.DurationSeconds; + } + if (input.Tags != null) { + const memberEntries = se_tagListType(input.Tags, context); + if (input.Tags?.length === 0) { + entries.Tags = []; } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Tags.${key}`; + entries[loc] = value; + }); } - return "standard"; + return entries; }; - var inferPhysicalRegion = async () => { - var _a; - if (process.env[constants_1.AWS_EXECUTION_ENV] && (process.env[constants_1.AWS_REGION_ENV] || process.env[constants_1.AWS_DEFAULT_REGION_ENV])) { - return (_a = process.env[constants_1.AWS_REGION_ENV]) !== null && _a !== void 0 ? _a : process.env[constants_1.AWS_DEFAULT_REGION_ENV]; + var se_GetSessionTokenRequest = (input, context) => { + const entries = {}; + if (input.DurationSeconds != null) { + entries["DurationSeconds"] = input.DurationSeconds; } - if (!process.env[constants_1.ENV_IMDS_DISABLED]) { - try { - const endpoint = await (0, credential_provider_imds_1.getInstanceMetadataEndpoint)(); - return (await (0, credential_provider_imds_1.httpRequest)({ ...endpoint, path: constants_1.IMDS_REGION_PATH })).toString(); - } catch (e) { - } + if (input.SerialNumber != null) { + entries["SerialNumber"] = input.SerialNumber; } + if (input.TokenCode != null) { + entries["TokenCode"] = input.TokenCode; + } + return entries; }; - } -}); - -// ../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js -var require_dist_cjs45 = __commonJS({ - "../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_resolveDefaultsModeConfig(), exports); - } -}); - -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js -var require_runtimeConfig = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getRuntimeConfig = void 0; - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - var package_json_1 = tslib_1.__importDefault(require_package3()); - var util_user_agent_node_1 = require_dist_cjs42(); - var config_resolver_1 = require_dist_cjs21(); - var hash_node_1 = require_dist_cjs43(); - var middleware_retry_1 = require_dist_cjs29(); - var node_config_provider_1 = require_dist_cjs39(); - var node_http_handler_1 = require_dist_cjs33(); - var util_body_length_node_1 = require_dist_cjs44(); - var util_retry_1 = require_dist_cjs28(); - var runtimeConfig_shared_1 = require_runtimeConfig_shared(); - var smithy_client_1 = require_dist_cjs35(); - var util_defaults_mode_node_1 = require_dist_cjs45(); - var smithy_client_2 = require_dist_cjs35(); - var getRuntimeConfig = (config) => { - (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version); - const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); - const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); - const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); - return { - ...clientSharedValues, - ...config, - runtime: "node", - defaultsMode, - bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), - maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), - region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), - requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider), - retryMode: config?.retryMode ?? (0, node_config_provider_1.loadConfig)({ - ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, - default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE - }), - sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), - streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), - useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS) - }; - }; - exports.getRuntimeConfig = getRuntimeConfig; - } -}); - -// ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js -var require_extensions5 = __commonJS({ - "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveAwsRegionExtensionConfiguration = exports.getAwsRegionExtensionConfiguration = void 0; - var getAwsRegionExtensionConfiguration = (runtimeConfig) => { - let runtimeConfigRegion = async () => { - if (runtimeConfig.region === void 0) { - throw new Error("Region is missing from runtimeConfig"); - } - const region = runtimeConfig.region; - if (typeof region === "string") { - return region; - } - return region(); - }; - return { - setRegion(region) { - runtimeConfigRegion = region; - }, - region() { - return runtimeConfigRegion; + var se_policyDescriptorListType = (input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; } - }; + const memberEntries = se_PolicyDescriptorType(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; }; - exports.getAwsRegionExtensionConfiguration = getAwsRegionExtensionConfiguration; - var resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) => { - return { - region: awsRegionExtensionConfiguration.region() - }; + var se_PolicyDescriptorType = (input, context) => { + const entries = {}; + if (input.arn != null) { + entries["arn"] = input.arn; + } + return entries; }; - exports.resolveAwsRegionExtensionConfiguration = resolveAwsRegionExtensionConfiguration; - } -}); - -// ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js -var require_config4 = __commonJS({ - "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.NODE_REGION_CONFIG_FILE_OPTIONS = exports.NODE_REGION_CONFIG_OPTIONS = exports.REGION_INI_NAME = exports.REGION_ENV_NAME = void 0; - exports.REGION_ENV_NAME = "AWS_REGION"; - exports.REGION_INI_NAME = "region"; - exports.NODE_REGION_CONFIG_OPTIONS = { - environmentVariableSelector: (env) => env[exports.REGION_ENV_NAME], - configFileSelector: (profile) => profile[exports.REGION_INI_NAME], - default: () => { - throw new Error("Region is missing"); + var se_ProvidedContext = (input, context) => { + const entries = {}; + if (input.ProviderArn != null) { + entries["ProviderArn"] = input.ProviderArn; + } + if (input.ContextAssertion != null) { + entries["ContextAssertion"] = input.ContextAssertion; } + return entries; }; - exports.NODE_REGION_CONFIG_FILE_OPTIONS = { - preferredFile: "credentials" + var se_ProvidedContextsListType = (input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ProvidedContext(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; }; - } -}); - -// ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js -var require_isFipsRegion2 = __commonJS({ - "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.isFipsRegion = void 0; - var isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips")); - exports.isFipsRegion = isFipsRegion; - } -}); - -// ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js -var require_getRealRegion2 = __commonJS({ - "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getRealRegion = void 0; - var isFipsRegion_1 = require_isFipsRegion2(); - var getRealRegion = (region) => (0, isFipsRegion_1.isFipsRegion)(region) ? ["fips-aws-global", "aws-fips"].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region; - exports.getRealRegion = getRealRegion; - } -}); - -// ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js -var require_resolveRegionConfig2 = __commonJS({ - "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveRegionConfig = void 0; - var getRealRegion_1 = require_getRealRegion2(); - var isFipsRegion_1 = require_isFipsRegion2(); - var resolveRegionConfig = (input) => { - const { region, useFipsEndpoint } = input; - if (!region) { - throw new Error("Region is missing"); + var se_Tag = (input, context) => { + const entries = {}; + if (input.Key != null) { + entries["Key"] = input.Key; } - return { - ...input, - region: async () => { - if (typeof region === "string") { - return (0, getRealRegion_1.getRealRegion)(region); - } - const providedRegion = await region(); - return (0, getRealRegion_1.getRealRegion)(providedRegion); - }, - useFipsEndpoint: async () => { - const providedRegion = typeof region === "string" ? region : await region(); - if ((0, isFipsRegion_1.isFipsRegion)(providedRegion)) { - return true; - } - return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint(); + if (input.Value != null) { + entries["Value"] = input.Value; + } + return entries; + }; + var se_tagKeyListType = (input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; } - }; + entries[`member.${counter}`] = entry; + counter++; + } + return entries; }; - exports.resolveRegionConfig = resolveRegionConfig; - } -}); - -// ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js -var require_regionConfig2 = __commonJS({ - "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_config4(), exports); - tslib_1.__exportStar(require_resolveRegionConfig2(), exports); - } -}); - -// ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js -var require_dist_cjs46 = __commonJS({ - "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_extensions5(), exports); - tslib_1.__exportStar(require_regionConfig2(), exports); - } -}); - -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js -var require_runtimeExtensions = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveRuntimeExtensions = void 0; - var region_config_resolver_1 = require_dist_cjs46(); - var protocol_http_1 = require_dist_cjs2(); - var smithy_client_1 = require_dist_cjs35(); - var asPartial = (t) => t; - var resolveRuntimeExtensions = (runtimeConfig, extensions) => { - const extensionConfiguration = { - ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)), - ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)), - ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)) - }; - extensions.forEach((extension) => extension.configure(extensionConfiguration)); - return { - ...runtimeConfig, - ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), - ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), - ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration) - }; + var se_tagListType = (input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_Tag(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; }; - exports.resolveRuntimeExtensions = resolveRuntimeExtensions; - } -}); - -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js -var require_SSOClient = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.SSOClient = exports.__Client = void 0; - var middleware_host_header_1 = require_dist_cjs3(); - var middleware_logger_1 = require_dist_cjs4(); - var middleware_recursion_detection_1 = require_dist_cjs5(); - var middleware_user_agent_1 = require_dist_cjs19(); - var config_resolver_1 = require_dist_cjs21(); - var middleware_content_length_1 = require_dist_cjs22(); - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_retry_1 = require_dist_cjs29(); - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "__Client", { enumerable: true, get: function() { - return smithy_client_1.Client; - } }); - var EndpointParameters_1 = require_EndpointParameters3(); - var runtimeConfig_1 = require_runtimeConfig(); - var runtimeExtensions_1 = require_runtimeExtensions(); - var SSOClient = class extends smithy_client_1.Client { - constructor(...[configuration]) { - const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {}); - const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0); - const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1); - const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2); - const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3); - const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4); - const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5); - const _config_7 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_6, configuration?.extensions || []); - super(_config_7); - this.config = _config_7; - 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_recursion_detection_1.getRecursionDetectionPlugin)(this.config)); - this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config)); + var de_AssumedRoleUser = (output, context) => { + const contents = {}; + if (output["AssumedRoleId"] !== void 0) { + contents.AssumedRoleId = (0, smithy_client_1.expectString)(output["AssumedRoleId"]); } - destroy() { - super.destroy(); + if (output["Arn"] !== void 0) { + contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]); } + return contents; }; - exports.SSOClient = SSOClient; - } -}); - -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js -var require_SSOServiceException = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.SSOServiceException = exports.__ServiceException = void 0; - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function() { - return smithy_client_1.ServiceException; - } }); - var SSOServiceException = class _SSOServiceException extends smithy_client_1.ServiceException { - constructor(options) { - super(options); - Object.setPrototypeOf(this, _SSOServiceException.prototype); + var de_AssumeRoleResponse = (output, context) => { + const contents = {}; + if (output["Credentials"] !== void 0) { + contents.Credentials = de_Credentials(output["Credentials"], context); + } + if (output["AssumedRoleUser"] !== void 0) { + contents.AssumedRoleUser = de_AssumedRoleUser(output["AssumedRoleUser"], context); + } + if (output["PackedPolicySize"] !== void 0) { + contents.PackedPolicySize = (0, smithy_client_1.strictParseInt32)(output["PackedPolicySize"]); } + if (output["SourceIdentity"] !== void 0) { + contents.SourceIdentity = (0, smithy_client_1.expectString)(output["SourceIdentity"]); + } + return contents; }; - exports.SSOServiceException = SSOServiceException; - } -}); - -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/models/models_0.js -var require_models_02 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/models/models_0.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.LogoutRequestFilterSensitiveLog = exports.ListAccountsRequestFilterSensitiveLog = exports.ListAccountRolesRequestFilterSensitiveLog = exports.GetRoleCredentialsResponseFilterSensitiveLog = exports.RoleCredentialsFilterSensitiveLog = exports.GetRoleCredentialsRequestFilterSensitiveLog = exports.UnauthorizedException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.InvalidRequestException = void 0; - var smithy_client_1 = require_dist_cjs35(); - var SSOServiceException_1 = require_SSOServiceException(); - var InvalidRequestException = class _InvalidRequestException extends SSOServiceException_1.SSOServiceException { - constructor(opts) { - super({ - name: "InvalidRequestException", - $fault: "client", - ...opts - }); - this.name = "InvalidRequestException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidRequestException.prototype); + var de_AssumeRoleWithSAMLResponse = (output, context) => { + const contents = {}; + if (output["Credentials"] !== void 0) { + contents.Credentials = de_Credentials(output["Credentials"], context); + } + if (output["AssumedRoleUser"] !== void 0) { + contents.AssumedRoleUser = de_AssumedRoleUser(output["AssumedRoleUser"], context); + } + if (output["PackedPolicySize"] !== void 0) { + contents.PackedPolicySize = (0, smithy_client_1.strictParseInt32)(output["PackedPolicySize"]); + } + if (output["Subject"] !== void 0) { + contents.Subject = (0, smithy_client_1.expectString)(output["Subject"]); + } + if (output["SubjectType"] !== void 0) { + contents.SubjectType = (0, smithy_client_1.expectString)(output["SubjectType"]); + } + if (output["Issuer"] !== void 0) { + contents.Issuer = (0, smithy_client_1.expectString)(output["Issuer"]); + } + if (output["Audience"] !== void 0) { + contents.Audience = (0, smithy_client_1.expectString)(output["Audience"]); + } + if (output["NameQualifier"] !== void 0) { + contents.NameQualifier = (0, smithy_client_1.expectString)(output["NameQualifier"]); + } + if (output["SourceIdentity"] !== void 0) { + contents.SourceIdentity = (0, smithy_client_1.expectString)(output["SourceIdentity"]); } + return contents; }; - exports.InvalidRequestException = InvalidRequestException; - var ResourceNotFoundException = class _ResourceNotFoundException extends SSOServiceException_1.SSOServiceException { - constructor(opts) { - super({ - name: "ResourceNotFoundException", - $fault: "client", - ...opts - }); - this.name = "ResourceNotFoundException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); + var de_AssumeRoleWithWebIdentityResponse = (output, context) => { + const contents = {}; + if (output["Credentials"] !== void 0) { + contents.Credentials = de_Credentials(output["Credentials"], context); + } + if (output["SubjectFromWebIdentityToken"] !== void 0) { + contents.SubjectFromWebIdentityToken = (0, smithy_client_1.expectString)(output["SubjectFromWebIdentityToken"]); + } + if (output["AssumedRoleUser"] !== void 0) { + contents.AssumedRoleUser = de_AssumedRoleUser(output["AssumedRoleUser"], context); + } + if (output["PackedPolicySize"] !== void 0) { + contents.PackedPolicySize = (0, smithy_client_1.strictParseInt32)(output["PackedPolicySize"]); + } + if (output["Provider"] !== void 0) { + contents.Provider = (0, smithy_client_1.expectString)(output["Provider"]); + } + if (output["Audience"] !== void 0) { + contents.Audience = (0, smithy_client_1.expectString)(output["Audience"]); } + if (output["SourceIdentity"] !== void 0) { + contents.SourceIdentity = (0, smithy_client_1.expectString)(output["SourceIdentity"]); + } + return contents; }; - exports.ResourceNotFoundException = ResourceNotFoundException; - var TooManyRequestsException = class _TooManyRequestsException extends SSOServiceException_1.SSOServiceException { - constructor(opts) { - super({ - name: "TooManyRequestsException", - $fault: "client", - ...opts - }); - this.name = "TooManyRequestsException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _TooManyRequestsException.prototype); + var de_Credentials = (output, context) => { + const contents = {}; + if (output["AccessKeyId"] !== void 0) { + contents.AccessKeyId = (0, smithy_client_1.expectString)(output["AccessKeyId"]); + } + if (output["SecretAccessKey"] !== void 0) { + contents.SecretAccessKey = (0, smithy_client_1.expectString)(output["SecretAccessKey"]); + } + if (output["SessionToken"] !== void 0) { + contents.SessionToken = (0, smithy_client_1.expectString)(output["SessionToken"]); + } + if (output["Expiration"] !== void 0) { + contents.Expiration = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Expiration"])); } + return contents; }; - exports.TooManyRequestsException = TooManyRequestsException; - var UnauthorizedException = class _UnauthorizedException extends SSOServiceException_1.SSOServiceException { - constructor(opts) { - super({ - name: "UnauthorizedException", - $fault: "client", - ...opts - }); - this.name = "UnauthorizedException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _UnauthorizedException.prototype); + var de_DecodeAuthorizationMessageResponse = (output, context) => { + const contents = {}; + if (output["DecodedMessage"] !== void 0) { + contents.DecodedMessage = (0, smithy_client_1.expectString)(output["DecodedMessage"]); } + return contents; }; - exports.UnauthorizedException = UnauthorizedException; - var GetRoleCredentialsRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING } - }); - exports.GetRoleCredentialsRequestFilterSensitiveLog = GetRoleCredentialsRequestFilterSensitiveLog; - var RoleCredentialsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.secretAccessKey && { secretAccessKey: smithy_client_1.SENSITIVE_STRING }, - ...obj.sessionToken && { sessionToken: smithy_client_1.SENSITIVE_STRING } - }); - exports.RoleCredentialsFilterSensitiveLog = RoleCredentialsFilterSensitiveLog; - var GetRoleCredentialsResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.roleCredentials && { roleCredentials: (0, exports.RoleCredentialsFilterSensitiveLog)(obj.roleCredentials) } - }); - exports.GetRoleCredentialsResponseFilterSensitiveLog = GetRoleCredentialsResponseFilterSensitiveLog; - var ListAccountRolesRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING } - }); - exports.ListAccountRolesRequestFilterSensitiveLog = ListAccountRolesRequestFilterSensitiveLog; - var ListAccountsRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING } - }); - exports.ListAccountsRequestFilterSensitiveLog = ListAccountsRequestFilterSensitiveLog; - var LogoutRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING } - }); - exports.LogoutRequestFilterSensitiveLog = LogoutRequestFilterSensitiveLog; - } -}); - -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js -var require_Aws_restJson1 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.de_LogoutCommand = exports.de_ListAccountsCommand = exports.de_ListAccountRolesCommand = exports.de_GetRoleCredentialsCommand = exports.se_LogoutCommand = exports.se_ListAccountsCommand = exports.se_ListAccountRolesCommand = exports.se_GetRoleCredentialsCommand = void 0; - var protocol_http_1 = require_dist_cjs2(); - var smithy_client_1 = require_dist_cjs35(); - var models_0_1 = require_models_02(); - var SSOServiceException_1 = require_SSOServiceException(); - var se_GetRoleCredentialsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, { - "x-amz-sso_bearer_token": input.accessToken - }); - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}/federation/credentials`; - const query = (0, smithy_client_1.map)({ - role_name: [, (0, smithy_client_1.expectNonNull)(input.roleName, `roleName`)], - account_id: [, (0, smithy_client_1.expectNonNull)(input.accountId, `accountId`)] - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body - }); + var de_ExpiredTokenException = (output, context) => { + const contents = {}; + if (output["message"] !== void 0) { + contents.message = (0, smithy_client_1.expectString)(output["message"]); + } + return contents; }; - exports.se_GetRoleCredentialsCommand = se_GetRoleCredentialsCommand; - var se_ListAccountRolesCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, { - "x-amz-sso_bearer_token": input.accessToken - }); - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}/assignment/roles`; - const query = (0, smithy_client_1.map)({ - next_token: [, input.nextToken], - max_result: [() => input.maxResults !== void 0, () => input.maxResults.toString()], - account_id: [, (0, smithy_client_1.expectNonNull)(input.accountId, `accountId`)] - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body - }); + var de_FederatedUser = (output, context) => { + const contents = {}; + if (output["FederatedUserId"] !== void 0) { + contents.FederatedUserId = (0, smithy_client_1.expectString)(output["FederatedUserId"]); + } + if (output["Arn"] !== void 0) { + contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]); + } + return contents; }; - exports.se_ListAccountRolesCommand = se_ListAccountRolesCommand; - var se_ListAccountsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, { - "x-amz-sso_bearer_token": input.accessToken - }); - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}/assignment/accounts`; - const query = (0, smithy_client_1.map)({ - next_token: [, input.nextToken], - max_result: [() => input.maxResults !== void 0, () => input.maxResults.toString()] - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body - }); + var de_GetAccessKeyInfoResponse = (output, context) => { + const contents = {}; + if (output["Account"] !== void 0) { + contents.Account = (0, smithy_client_1.expectString)(output["Account"]); + } + return contents; }; - exports.se_ListAccountsCommand = se_ListAccountsCommand; - var se_LogoutCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, { - "x-amz-sso_bearer_token": input.accessToken - }); - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}/logout`; - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body - }); + var de_GetCallerIdentityResponse = (output, context) => { + const contents = {}; + if (output["UserId"] !== void 0) { + contents.UserId = (0, smithy_client_1.expectString)(output["UserId"]); + } + if (output["Account"] !== void 0) { + contents.Account = (0, smithy_client_1.expectString)(output["Account"]); + } + if (output["Arn"] !== void 0) { + contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]); + } + return contents; }; - exports.se_LogoutCommand = se_LogoutCommand; - var de_GetRoleCredentialsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetRoleCredentialsCommandError(output, context); + var de_GetFederationTokenResponse = (output, context) => { + const contents = {}; + if (output["Credentials"] !== void 0) { + contents.Credentials = de_Credentials(output["Credentials"], context); + } + if (output["FederatedUser"] !== void 0) { + contents.FederatedUser = de_FederatedUser(output["FederatedUser"], context); + } + if (output["PackedPolicySize"] !== void 0) { + contents.PackedPolicySize = (0, smithy_client_1.strictParseInt32)(output["PackedPolicySize"]); } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output) - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - roleCredentials: smithy_client_1._json - }); - Object.assign(contents, doc); return contents; }; - exports.de_GetRoleCredentialsCommand = de_GetRoleCredentialsCommand; - var de_GetRoleCredentialsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidRequestException": - case "com.amazonaws.sso#InvalidRequestException": - throw await de_InvalidRequestExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.sso#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.sso#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - case "UnauthorizedException": - case "com.amazonaws.sso#UnauthorizedException": - throw await de_UnauthorizedExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + var de_GetSessionTokenResponse = (output, context) => { + const contents = {}; + if (output["Credentials"] !== void 0) { + contents.Credentials = de_Credentials(output["Credentials"], context); } + return contents; }; - var de_ListAccountRolesCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListAccountRolesCommandError(output, context); + var de_IDPCommunicationErrorException = (output, context) => { + const contents = {}; + if (output["message"] !== void 0) { + contents.message = (0, smithy_client_1.expectString)(output["message"]); } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output) - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - nextToken: smithy_client_1.expectString, - roleList: smithy_client_1._json - }); - Object.assign(contents, doc); return contents; }; - exports.de_ListAccountRolesCommand = de_ListAccountRolesCommand; - var de_ListAccountRolesCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidRequestException": - case "com.amazonaws.sso#InvalidRequestException": - throw await de_InvalidRequestExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.sso#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.sso#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - case "UnauthorizedException": - case "com.amazonaws.sso#UnauthorizedException": - throw await de_UnauthorizedExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + var de_IDPRejectedClaimException = (output, context) => { + const contents = {}; + if (output["message"] !== void 0) { + contents.message = (0, smithy_client_1.expectString)(output["message"]); } + return contents; }; - var de_ListAccountsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListAccountsCommandError(output, context); + var de_InvalidAuthorizationMessageException = (output, context) => { + const contents = {}; + if (output["message"] !== void 0) { + contents.message = (0, smithy_client_1.expectString)(output["message"]); } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output) - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - accountList: smithy_client_1._json, - nextToken: smithy_client_1.expectString - }); - Object.assign(contents, doc); return contents; }; - exports.de_ListAccountsCommand = de_ListAccountsCommand; - var de_ListAccountsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidRequestException": - case "com.amazonaws.sso#InvalidRequestException": - throw await de_InvalidRequestExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.sso#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.sso#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - case "UnauthorizedException": - case "com.amazonaws.sso#UnauthorizedException": - throw await de_UnauthorizedExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + var de_InvalidIdentityTokenException = (output, context) => { + const contents = {}; + if (output["message"] !== void 0) { + contents.message = (0, smithy_client_1.expectString)(output["message"]); } + return contents; }; - var de_LogoutCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_LogoutCommandError(output, context); + var de_MalformedPolicyDocumentException = (output, context) => { + const contents = {}; + if (output["message"] !== void 0) { + contents.message = (0, smithy_client_1.expectString)(output["message"]); } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output) - }); - await (0, smithy_client_1.collectBody)(output.body, context); return contents; }; - exports.de_LogoutCommand = de_LogoutCommand; - var de_LogoutCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidRequestException": - case "com.amazonaws.sso#InvalidRequestException": - throw await de_InvalidRequestExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.sso#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - case "UnauthorizedException": - case "com.amazonaws.sso#UnauthorizedException": - throw await de_UnauthorizedExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + var de_PackedPolicyTooLargeException = (output, context) => { + const contents = {}; + if (output["message"] !== void 0) { + contents.message = (0, smithy_client_1.expectString)(output["message"]); } + return contents; }; - var throwDefaultError = (0, smithy_client_1.withBaseException)(SSOServiceException_1.SSOServiceException); - var de_InvalidRequestExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - message: smithy_client_1.expectString - }); - Object.assign(contents, doc); - const exception = new models_0_1.InvalidRequestException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); - }; - var de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - message: smithy_client_1.expectString - }); - Object.assign(contents, doc); - const exception = new models_0_1.ResourceNotFoundException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); - }; - var de_TooManyRequestsExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - message: smithy_client_1.expectString - }); - Object.assign(contents, doc); - const exception = new models_0_1.TooManyRequestsException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); - }; - var de_UnauthorizedExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - message: smithy_client_1.expectString - }); - Object.assign(contents, doc); - const exception = new models_0_1.UnauthorizedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); + var de_RegionDisabledException = (output, context) => { + const contents = {}; + if (output["message"] !== void 0) { + contents.message = (0, smithy_client_1.expectString)(output["message"]); + } + return contents; }; var deserializeMetadata = (output) => ({ httpStatusCode: output.statusCode, @@ -16286,68 +14334,92 @@ var require_Aws_restJson1 = __commonJS({ cfId: output.headers["x-amz-cf-id"] }); var collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)); - var isSerializableHeaderValue = (value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); + var throwDefaultError = (0, smithy_client_1.withBaseException)(STSServiceException_1.STSServiceException); + var buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const contents = { + protocol, + hostname, + port, + method: "POST", + path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, + headers + }; + if (resolvedHostname !== void 0) { + contents.hostname = resolvedHostname; + } + if (body !== void 0) { + contents.body = body; + } + return new protocol_http_1.HttpRequest(contents); + }; + var SHARED_HEADERS = { + "content-type": "application/x-www-form-urlencoded" + }; var parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { if (encoded.length) { - return JSON.parse(encoded); + const parser = new fast_xml_parser_1.XMLParser({ + attributeNamePrefix: "", + htmlEntities: true, + ignoreAttributes: false, + ignoreDeclaration: true, + parseTagValue: false, + trimValues: false, + tagValueProcessor: (_, val2) => val2.trim() === "" && val2.includes("\n") ? "" : void 0 + }); + parser.addEntity("#xD", "\r"); + parser.addEntity("#10", "\n"); + const parsedObj = parser.parse(encoded); + const textNodeName = "#text"; + const key = Object.keys(parsedObj)[0]; + const parsedObjToReturn = parsedObj[key]; + if (parsedObjToReturn[textNodeName]) { + parsedObjToReturn[key] = parsedObjToReturn[textNodeName]; + delete parsedObjToReturn[textNodeName]; + } + return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn); } return {}; }); var parseErrorBody = async (errorBody, context) => { const value = await parseBody(errorBody, context); - value.message = value.message ?? value.Message; + if (value.Error) { + value.Error.message = value.Error.message ?? value.Error.Message; + } return value; }; - var loadRestJsonErrorCode = (output, data) => { - const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); - const sanitizeErrorCode = (rawValue) => { - let cleanValue = rawValue; - if (typeof cleanValue === "number") { - cleanValue = cleanValue.toString(); - } - if (cleanValue.indexOf(",") >= 0) { - cleanValue = cleanValue.split(",")[0]; - } - if (cleanValue.indexOf(":") >= 0) { - cleanValue = cleanValue.split(":")[0]; - } - if (cleanValue.indexOf("#") >= 0) { - cleanValue = cleanValue.split("#")[1]; - } - return cleanValue; - }; - const headerKey = findKey(output.headers, "x-amzn-errortype"); - if (headerKey !== void 0) { - return sanitizeErrorCode(output.headers[headerKey]); - } - if (data.code !== void 0) { - return sanitizeErrorCode(data.code); + var buildFormUrlencodedString = (formEntries) => Object.entries(formEntries).map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value)).join("&"); + var loadQueryErrorCode = (output, data) => { + if (data.Error?.Code !== void 0) { + return data.Error.Code; } - if (data["__type"] !== void 0) { - return sanitizeErrorCode(data["__type"]); + if (output.statusCode == 404) { + return "NotFound"; } }; } }); -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js -var require_GetRoleCredentialsCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +var require_AssumeRoleCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.GetRoleCredentialsCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + exports.AssumeRoleCommand = exports.$Command = void 0; + var middleware_signing_1 = require_dist_cjs16(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); var types_1 = require_dist_cjs(); - var models_0_1 = require_models_02(); - var Aws_restJson1_1 = require_Aws_restJson1(); - var GetRoleCredentialsCommand = class _GetRoleCredentialsCommand extends smithy_client_1.Command { + var models_0_1 = require_models_0(); + var Aws_query_1 = require_Aws_query(); + var AssumeRoleCommand = class _AssumeRoleCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { + UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, @@ -16360,54 +14432,56 @@ var require_GetRoleCredentialsCommand = __commonJS({ } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _GetRoleCredentialsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _AssumeRoleCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "SSOClient"; - const commandName = "GetRoleCredentialsCommand"; + const clientName = "STSClient"; + const commandName = "AssumeRoleCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: models_0_1.GetRoleCredentialsRequestFilterSensitiveLog, - outputFilterSensitiveLog: models_0_1.GetRoleCredentialsResponseFilterSensitiveLog, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_0_1.AssumeRoleResponseFilterSensitiveLog, [types_1.SMITHY_CONTEXT_KEY]: { - service: "SWBPortalService", - operation: "GetRoleCredentials" + service: "AWSSecurityTokenServiceV20110615", + operation: "AssumeRole" } }; const { requestHandler } = configuration; return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetRoleCredentialsCommand)(input, context); + return (0, Aws_query_1.se_AssumeRoleCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetRoleCredentialsCommand)(output, context); + return (0, Aws_query_1.de_AssumeRoleCommand)(output, context); } }; - exports.GetRoleCredentialsCommand = GetRoleCredentialsCommand; + exports.AssumeRoleCommand = AssumeRoleCommand; } }); -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js -var require_ListAccountRolesCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +var require_AssumeRoleWithWebIdentityCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.ListAccountRolesCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + exports.AssumeRoleWithWebIdentityCommand = exports.$Command = void 0; + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); var types_1 = require_dist_cjs(); - var models_0_1 = require_models_02(); - var Aws_restJson1_1 = require_Aws_restJson1(); - var ListAccountRolesCommand = class _ListAccountRolesCommand extends smithy_client_1.Command { + var models_0_1 = require_models_0(); + var Aws_query_1 = require_Aws_query(); + var AssumeRoleWithWebIdentityCommand = class _AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { + UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, @@ -16420,2101 +14494,2014 @@ var require_ListAccountRolesCommand = __commonJS({ } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _ListAccountRolesCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _AssumeRoleWithWebIdentityCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "SSOClient"; - const commandName = "ListAccountRolesCommand"; + const clientName = "STSClient"; + const commandName = "AssumeRoleWithWebIdentityCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: models_0_1.ListAccountRolesRequestFilterSensitiveLog, - outputFilterSensitiveLog: (_) => _, + inputFilterSensitiveLog: models_0_1.AssumeRoleWithWebIdentityRequestFilterSensitiveLog, + outputFilterSensitiveLog: models_0_1.AssumeRoleWithWebIdentityResponseFilterSensitiveLog, [types_1.SMITHY_CONTEXT_KEY]: { - service: "SWBPortalService", - operation: "ListAccountRoles" + service: "AWSSecurityTokenServiceV20110615", + operation: "AssumeRoleWithWebIdentity" } }; const { requestHandler } = configuration; return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_ListAccountRolesCommand)(input, context); + return (0, Aws_query_1.se_AssumeRoleWithWebIdentityCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_ListAccountRolesCommand)(output, context); + return (0, Aws_query_1.de_AssumeRoleWithWebIdentityCommand)(output, context); } }; - exports.ListAccountRolesCommand = ListAccountRolesCommand; + exports.AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand; } }); -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js -var require_ListAccountsCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/defaultStsRoleAssumers.js +var require_defaultStsRoleAssumers = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/defaultStsRoleAssumers.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.ListAccountsCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { - return smithy_client_1.Command; - } }); - var types_1 = require_dist_cjs(); - var models_0_1 = require_models_02(); - var Aws_restJson1_1 = require_Aws_restJson1(); - var ListAccountsCommand = class _ListAccountsCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { + exports.decorateDefaultCredentialProvider = exports.getDefaultRoleAssumerWithWebIdentity = exports.getDefaultRoleAssumer = void 0; + var AssumeRoleCommand_1 = require_AssumeRoleCommand(); + var AssumeRoleWithWebIdentityCommand_1 = require_AssumeRoleWithWebIdentityCommand(); + var ASSUME_ROLE_DEFAULT_REGION = "us-east-1"; + var decorateDefaultRegion = (region) => { + if (typeof region !== "function") { + return region === void 0 ? ASSUME_ROLE_DEFAULT_REGION : region; + } + return async () => { + try { + return await region(); + } catch (e) { + return ASSUME_ROLE_DEFAULT_REGION; + } + }; + }; + var getDefaultRoleAssumer = (stsOptions, stsClientCtor) => { + let stsClient; + let closureSourceCreds; + return async (sourceCreds, params) => { + closureSourceCreds = sourceCreds; + if (!stsClient) { + const { logger, region, requestHandler } = stsOptions; + stsClient = new stsClientCtor({ + logger, + credentialDefaultProvider: () => async () => closureSourceCreds, + region: decorateDefaultRegion(region || stsOptions.region), + ...requestHandler ? { requestHandler } : {} + }); + } + const { Credentials } = await stsClient.send(new AssumeRoleCommand_1.AssumeRoleCommand(params)); + if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) { + throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`); + } return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + accessKeyId: Credentials.AccessKeyId, + secretAccessKey: Credentials.SecretAccessKey, + sessionToken: Credentials.SessionToken, + expiration: Credentials.Expiration }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _ListAccountsCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "SSOClient"; - const commandName = "ListAccountsCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: models_0_1.ListAccountsRequestFilterSensitiveLog, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "SWBPortalService", - operation: "ListAccounts" - } + }; + }; + exports.getDefaultRoleAssumer = getDefaultRoleAssumer; + var getDefaultRoleAssumerWithWebIdentity = (stsOptions, stsClientCtor) => { + let stsClient; + return async (params) => { + if (!stsClient) { + const { logger, region, requestHandler } = stsOptions; + stsClient = new stsClientCtor({ + logger, + region: decorateDefaultRegion(region || stsOptions.region), + ...requestHandler ? { requestHandler } : {} + }); + } + const { Credentials } = await stsClient.send(new AssumeRoleWithWebIdentityCommand_1.AssumeRoleWithWebIdentityCommand(params)); + if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) { + throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`); + } + return { + accessKeyId: Credentials.AccessKeyId, + secretAccessKey: Credentials.SecretAccessKey, + sessionToken: Credentials.SessionToken, + expiration: Credentials.Expiration }; - const { requestHandler } = configuration; - return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_ListAccountsCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_ListAccountsCommand)(output, context); - } + }; }; - exports.ListAccountsCommand = ListAccountsCommand; + exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity; + var decorateDefaultCredentialProvider = (provider) => (input) => provider({ + roleAssumer: (0, exports.getDefaultRoleAssumer)(input, input.stsClientCtor), + roleAssumerWithWebIdentity: (0, exports.getDefaultRoleAssumerWithWebIdentity)(input, input.stsClientCtor), + ...input + }); + exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider; } }); -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js -var require_LogoutCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js"(exports) { +// ../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/fromEnv.js +var require_fromEnv2 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/fromEnv.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.LogoutCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { - return smithy_client_1.Command; - } }); - var types_1 = require_dist_cjs(); - var models_0_1 = require_models_02(); - var Aws_restJson1_1 = require_Aws_restJson1(); - var LogoutCommand = class _LogoutCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { + exports.fromEnv = exports.ENV_EXPIRATION = exports.ENV_SESSION = exports.ENV_SECRET = exports.ENV_KEY = void 0; + var property_provider_1 = require_dist_cjs6(); + exports.ENV_KEY = "AWS_ACCESS_KEY_ID"; + exports.ENV_SECRET = "AWS_SECRET_ACCESS_KEY"; + exports.ENV_SESSION = "AWS_SESSION_TOKEN"; + exports.ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION"; + var fromEnv = () => async () => { + const accessKeyId = process.env[exports.ENV_KEY]; + const secretAccessKey = process.env[exports.ENV_SECRET]; + const sessionToken = process.env[exports.ENV_SESSION]; + const expiry = process.env[exports.ENV_EXPIRATION]; + if (accessKeyId && secretAccessKey) { return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _LogoutCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "SSOClient"; - const commandName = "LogoutCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: models_0_1.LogoutRequestFilterSensitiveLog, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "SWBPortalService", - operation: "Logout" - } + accessKeyId, + secretAccessKey, + ...sessionToken && { sessionToken }, + ...expiry && { expiration: new Date(expiry) } }; - const { requestHandler } = configuration; - return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_LogoutCommand)(input, context); } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_LogoutCommand)(output, context); - } - }; - exports.LogoutCommand = LogoutCommand; - } -}); - -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/SSO.js -var require_SSO = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/SSO.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.SSO = void 0; - var smithy_client_1 = require_dist_cjs35(); - var GetRoleCredentialsCommand_1 = require_GetRoleCredentialsCommand(); - var ListAccountRolesCommand_1 = require_ListAccountRolesCommand(); - var ListAccountsCommand_1 = require_ListAccountsCommand(); - var LogoutCommand_1 = require_LogoutCommand(); - var SSOClient_1 = require_SSOClient(); - var commands = { - GetRoleCredentialsCommand: GetRoleCredentialsCommand_1.GetRoleCredentialsCommand, - ListAccountRolesCommand: ListAccountRolesCommand_1.ListAccountRolesCommand, - ListAccountsCommand: ListAccountsCommand_1.ListAccountsCommand, - LogoutCommand: LogoutCommand_1.LogoutCommand - }; - var SSO = class extends SSOClient_1.SSOClient { + throw new property_provider_1.CredentialsProviderError("Unable to find environment variable credentials."); }; - exports.SSO = SSO; - (0, smithy_client_1.createAggregatedClient)(commands, SSO); + exports.fromEnv = fromEnv; } }); -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/index.js -var require_commands = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/index.js"(exports) { +// ../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +var require_dist_cjs39 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_GetRoleCredentialsCommand(), exports); - tslib_1.__exportStar(require_ListAccountRolesCommand(), exports); - tslib_1.__exportStar(require_ListAccountsCommand(), exports); - tslib_1.__exportStar(require_LogoutCommand(), exports); - } -}); - -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/Interfaces.js -var require_Interfaces = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/Interfaces.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); + tslib_1.__exportStar(require_fromEnv2(), exports); } }); -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js -var require_ListAccountRolesPaginator = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js"(exports) { +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +var require_httpRequest2 = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.paginateListAccountRoles = void 0; - var ListAccountRolesCommand_1 = require_ListAccountRolesCommand(); - var SSOClient_1 = require_SSOClient(); - var makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListAccountRolesCommand_1.ListAccountRolesCommand(input), ...args); - }; - async function* paginateListAccountRoles(config, input, ...additionalArguments) { - let token = config.startingToken || void 0; - let hasNext = true; - let page; - while (hasNext) { - input.nextToken = token; - input["maxResults"] = config.pageSize; - if (config.client instanceof SSOClient_1.SSOClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } else { - throw new Error("Invalid client, expected SSO | SSOClient"); - } - yield page; - const prevToken = token; - token = page.nextToken; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return void 0; + exports.httpRequest = void 0; + var property_provider_1 = require_dist_cjs6(); + var buffer_1 = require("buffer"); + var http_1 = require("http"); + function httpRequest(options) { + return new Promise((resolve, reject) => { + var _a; + const req = (0, http_1.request)({ + method: "GET", + ...options, + hostname: (_a = options.hostname) === null || _a === void 0 ? void 0 : _a.replace(/^\[(.+)\]$/, "$1") + }); + req.on("error", (err) => { + reject(Object.assign(new property_provider_1.ProviderError("Unable to connect to instance metadata service"), err)); + req.destroy(); + }); + req.on("timeout", () => { + reject(new property_provider_1.ProviderError("TimeoutError from instance metadata service")); + req.destroy(); + }); + req.on("response", (res) => { + const { statusCode = 400 } = res; + if (statusCode < 200 || 300 <= statusCode) { + reject(Object.assign(new property_provider_1.ProviderError("Error response received from instance metadata service"), { statusCode })); + req.destroy(); + } + const chunks = []; + res.on("data", (chunk) => { + chunks.push(chunk); + }); + res.on("end", () => { + resolve(buffer_1.Buffer.concat(chunks)); + req.destroy(); + }); + }); + req.end(); + }); } - exports.paginateListAccountRoles = paginateListAccountRoles; + exports.httpRequest = httpRequest; } }); -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js -var require_ListAccountsPaginator = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js"(exports) { +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +var require_ImdsCredentials = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.paginateListAccounts = void 0; - var ListAccountsCommand_1 = require_ListAccountsCommand(); - var SSOClient_1 = require_SSOClient(); - var makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListAccountsCommand_1.ListAccountsCommand(input), ...args); - }; - async function* paginateListAccounts(config, input, ...additionalArguments) { - let token = config.startingToken || void 0; - let hasNext = true; - let page; - while (hasNext) { - input.nextToken = token; - input["maxResults"] = config.pageSize; - if (config.client instanceof SSOClient_1.SSOClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } else { - throw new Error("Invalid client, expected SSO | SSOClient"); - } - yield page; - const prevToken = token; - token = page.nextToken; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return void 0; - } - exports.paginateListAccounts = paginateListAccounts; + exports.fromImdsCredentials = exports.isImdsCredentials = void 0; + var isImdsCredentials = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.AccessKeyId === "string" && typeof arg.SecretAccessKey === "string" && typeof arg.Token === "string" && typeof arg.Expiration === "string"; + exports.isImdsCredentials = isImdsCredentials; + var fromImdsCredentials = (creds) => ({ + accessKeyId: creds.AccessKeyId, + secretAccessKey: creds.SecretAccessKey, + sessionToken: creds.Token, + expiration: new Date(creds.Expiration) + }); + exports.fromImdsCredentials = fromImdsCredentials; } }); -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/index.js -var require_pagination3 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/index.js"(exports) { +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +var require_RemoteProviderInit = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_Interfaces(), exports); - tslib_1.__exportStar(require_ListAccountRolesPaginator(), exports); - tslib_1.__exportStar(require_ListAccountsPaginator(), exports); + exports.providerConfigFromInit = exports.DEFAULT_MAX_RETRIES = exports.DEFAULT_TIMEOUT = void 0; + exports.DEFAULT_TIMEOUT = 1e3; + exports.DEFAULT_MAX_RETRIES = 0; + var providerConfigFromInit = ({ maxRetries = exports.DEFAULT_MAX_RETRIES, timeout = exports.DEFAULT_TIMEOUT }) => ({ maxRetries, timeout }); + exports.providerConfigFromInit = providerConfigFromInit; } }); -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/models/index.js -var require_models = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/models/index.js"(exports) { +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +var require_retry4 = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_models_02(), exports); + exports.retry = void 0; + var retry = (toRetry, maxRetries) => { + let promise = toRetry(); + for (let i = 0; i < maxRetries; i++) { + promise = promise.catch(toRetry); + } + return promise; + }; + exports.retry = retry; } }); -// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js -var require_dist_cjs47 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js"(exports) { +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +var require_fromContainerMetadata = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.SSOServiceException = void 0; - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_SSOClient(), exports); - tslib_1.__exportStar(require_SSO(), exports); - tslib_1.__exportStar(require_commands(), exports); - tslib_1.__exportStar(require_pagination3(), exports); - tslib_1.__exportStar(require_models(), exports); - var SSOServiceException_1 = require_SSOServiceException(); - Object.defineProperty(exports, "SSOServiceException", { enumerable: true, get: function() { - return SSOServiceException_1.SSOServiceException; - } }); + exports.fromContainerMetadata = exports.ENV_CMDS_AUTH_TOKEN = exports.ENV_CMDS_RELATIVE_URI = exports.ENV_CMDS_FULL_URI = void 0; + var property_provider_1 = require_dist_cjs6(); + var url_1 = require("url"); + var httpRequest_1 = require_httpRequest2(); + var ImdsCredentials_1 = require_ImdsCredentials(); + var RemoteProviderInit_1 = require_RemoteProviderInit(); + var retry_1 = require_retry4(); + exports.ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI"; + exports.ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"; + exports.ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; + var fromContainerMetadata = (init = {}) => { + const { timeout, maxRetries } = (0, RemoteProviderInit_1.providerConfigFromInit)(init); + return () => (0, retry_1.retry)(async () => { + const requestOptions = await getCmdsUri(); + const credsResponse = JSON.parse(await requestFromEcsImds(timeout, requestOptions)); + if (!(0, ImdsCredentials_1.isImdsCredentials)(credsResponse)) { + throw new property_provider_1.CredentialsProviderError("Invalid response received from instance metadata service."); + } + return (0, ImdsCredentials_1.fromImdsCredentials)(credsResponse); + }, maxRetries); + }; + exports.fromContainerMetadata = fromContainerMetadata; + var requestFromEcsImds = async (timeout, options) => { + if (process.env[exports.ENV_CMDS_AUTH_TOKEN]) { + options.headers = { + ...options.headers, + Authorization: process.env[exports.ENV_CMDS_AUTH_TOKEN] + }; + } + const buffer = await (0, httpRequest_1.httpRequest)({ + ...options, + timeout + }); + return buffer.toString(); + }; + var CMDS_IP = "169.254.170.2"; + var GREENGRASS_HOSTS = { + localhost: true, + "127.0.0.1": true + }; + var GREENGRASS_PROTOCOLS = { + "http:": true, + "https:": true + }; + var getCmdsUri = async () => { + if (process.env[exports.ENV_CMDS_RELATIVE_URI]) { + return { + hostname: CMDS_IP, + path: process.env[exports.ENV_CMDS_RELATIVE_URI] + }; + } + if (process.env[exports.ENV_CMDS_FULL_URI]) { + const parsed = (0, 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); + } + if (!parsed.protocol || !(parsed.protocol in GREENGRASS_PROTOCOLS)) { + throw new property_provider_1.CredentialsProviderError(`${parsed.protocol} is not a valid container metadata service protocol`, false); + } + return { + ...parsed, + port: parsed.port ? parseInt(parsed.port, 10) : void 0 + }; + } + throw new property_provider_1.CredentialsProviderError(`The container metadata credential provider cannot be used unless the ${exports.ENV_CMDS_RELATIVE_URI} or ${exports.ENV_CMDS_FULL_URI} environment variable is set`, false); + }; } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js -var require_client_sso_oidc_node = __commonJS({ - "../../../node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js"(exports) { +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +var require_Endpoint = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.UnsupportedGrantTypeException = exports.UnauthorizedClientException = exports.SlowDownException = exports.SSOOIDCClient = exports.InvalidScopeException = exports.InvalidRequestException = exports.InvalidClientException = exports.InternalServerException = exports.ExpiredTokenException = exports.CreateTokenCommand = exports.AuthorizationPendingException = exports.AccessDeniedException = void 0; - var middleware_host_header_1 = require_dist_cjs3(); - var middleware_logger_1 = require_dist_cjs4(); - var middleware_recursion_detection_1 = require_dist_cjs5(); - var middleware_user_agent_1 = require_dist_cjs19(); - var config_resolver_1 = require_dist_cjs21(); - var middleware_content_length_1 = require_dist_cjs22(); - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_retry_1 = require_dist_cjs29(); - var smithy_client_1 = require_dist_cjs35(); - var resolveClientEndpointParameters = (options) => { - var _a, _b; - return { - ...options, - useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false, - useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false, - defaultSigningName: "awsssooidc" - }; + exports.Endpoint = void 0; + var Endpoint; + (function(Endpoint2) { + Endpoint2["IPv4"] = "http://169.254.169.254"; + Endpoint2["IPv6"] = "http://[fd00:ec2::254]"; + })(Endpoint = exports.Endpoint || (exports.Endpoint = {})); + } +}); + +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +var require_EndpointConfigOptions = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.ENDPOINT_CONFIG_OPTIONS = exports.CONFIG_ENDPOINT_NAME = exports.ENV_ENDPOINT_NAME = void 0; + exports.ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT"; + exports.CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint"; + exports.ENDPOINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[exports.ENV_ENDPOINT_NAME], + configFileSelector: (profile) => profile[exports.CONFIG_ENDPOINT_NAME], + default: void 0 }; - var package_default = { version: "3.387.0" }; - var util_user_agent_node_1 = require_dist_cjs42(); - var config_resolver_2 = require_dist_cjs21(); - var hash_node_1 = require_dist_cjs43(); - var middleware_retry_2 = require_dist_cjs29(); - var node_config_provider_1 = require_dist_cjs39(); - var node_http_handler_1 = require_dist_cjs33(); - var util_body_length_node_1 = require_dist_cjs44(); - var util_retry_1 = require_dist_cjs28(); - var smithy_client_2 = require_dist_cjs35(); - var url_parser_1 = require_dist_cjs24(); - var util_base64_1 = require_dist_cjs31(); - var util_utf8_1 = require_dist_cjs13(); - var util_endpoints_1 = require_dist_cjs18(); - var p = "required"; - var q = "fn"; - var r = "argv"; - var s = "ref"; - var a = "PartitionResult"; - var b = "tree"; - var c = "error"; - var d = "endpoint"; - var e = { [p]: false, "type": "String" }; - var f = { [p]: true, "default": false, "type": "Boolean" }; - var g = { [s]: "Endpoint" }; - var h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }; - var i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }; - var j = {}; - var k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }; - var l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }; - var m = [g]; - var n = [h]; - var o = [i]; - var _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }; - var ruleSet = _data; - var defaultEndpointResolver = (endpointParams, context = {}) => { - return (0, util_endpoints_1.resolveEndpoint)(ruleSet, { - endpointParams, - logger: context.logger - }); + } +}); + +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +var require_EndpointMode = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.EndpointMode = void 0; + var EndpointMode; + (function(EndpointMode2) { + EndpointMode2["IPv4"] = "IPv4"; + EndpointMode2["IPv6"] = "IPv6"; + })(EndpointMode = exports.EndpointMode || (exports.EndpointMode = {})); + } +}); + +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +var require_EndpointModeConfigOptions = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.ENDPOINT_MODE_CONFIG_OPTIONS = exports.CONFIG_ENDPOINT_MODE_NAME = exports.ENV_ENDPOINT_MODE_NAME = void 0; + var EndpointMode_1 = require_EndpointMode(); + exports.ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE"; + exports.CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode"; + exports.ENDPOINT_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[exports.ENV_ENDPOINT_MODE_NAME], + configFileSelector: (profile) => profile[exports.CONFIG_ENDPOINT_MODE_NAME], + default: EndpointMode_1.EndpointMode.IPv4 }; - var getRuntimeConfig = (config) => { - var _a, _b, _c, _d, _e, _f, _g, _h, _j; - return { - apiVersion: "2019-06-10", - base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_1.fromBase64, - base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_1.toBase64, - disableHostPrefix: (_c = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _c !== void 0 ? _c : false, - endpointProvider: (_d = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _d !== void 0 ? _d : defaultEndpointResolver, - logger: (_e = config === null || config === void 0 ? void 0 : config.logger) !== null && _e !== void 0 ? _e : new smithy_client_2.NoOpLogger(), - serviceId: (_f = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _f !== void 0 ? _f : "SSO OIDC", - urlParser: (_g = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _g !== void 0 ? _g : url_parser_1.parseUrl, - utf8Decoder: (_h = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _h !== void 0 ? _h : util_utf8_1.fromUtf8, - utf8Encoder: (_j = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _j !== void 0 ? _j : util_utf8_1.toUtf8 - }; + } +}); + +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +var require_getInstanceMetadataEndpoint = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getInstanceMetadataEndpoint = void 0; + var node_config_provider_1 = require_dist_cjs24(); + var url_parser_1 = require_dist_cjs26(); + var Endpoint_1 = require_Endpoint(); + var EndpointConfigOptions_1 = require_EndpointConfigOptions(); + var EndpointMode_1 = require_EndpointMode(); + var EndpointModeConfigOptions_1 = require_EndpointModeConfigOptions(); + var getInstanceMetadataEndpoint = async () => (0, url_parser_1.parseUrl)(await getFromEndpointConfig() || await getFromEndpointModeConfig()); + exports.getInstanceMetadataEndpoint = getInstanceMetadataEndpoint; + var getFromEndpointConfig = async () => (0, node_config_provider_1.loadConfig)(EndpointConfigOptions_1.ENDPOINT_CONFIG_OPTIONS)(); + var getFromEndpointModeConfig = async () => { + const endpointMode = await (0, node_config_provider_1.loadConfig)(EndpointModeConfigOptions_1.ENDPOINT_MODE_CONFIG_OPTIONS)(); + switch (endpointMode) { + case EndpointMode_1.EndpointMode.IPv4: + return Endpoint_1.Endpoint.IPv4; + case EndpointMode_1.EndpointMode.IPv6: + return Endpoint_1.Endpoint.IPv6; + default: + throw new Error(`Unsupported endpoint mode: ${endpointMode}. Select from ${Object.values(EndpointMode_1.EndpointMode)}`); + } }; - var smithy_client_3 = require_dist_cjs35(); - var util_defaults_mode_node_1 = require_dist_cjs45(); - var smithy_client_4 = require_dist_cjs35(); - var getRuntimeConfig2 = (config) => { - var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k; - (0, smithy_client_4.emitWarningIfUnsupportedVersion)(process.version); - const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); - const defaultConfigProvider = () => defaultsMode().then(smithy_client_3.loadConfigsForDefaultMode); - const clientSharedValues = getRuntimeConfig(config); + } +}); + +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +var require_getExtendedInstanceMetadataCredentials = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getExtendedInstanceMetadataCredentials = void 0; + var STATIC_STABILITY_REFRESH_INTERVAL_SECONDS = 5 * 60; + var STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60; + var STATIC_STABILITY_DOC_URL = "https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html"; + var getExtendedInstanceMetadataCredentials = (credentials, logger) => { + var _a; + const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS + Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS); + const newExpiration = new Date(Date.now() + refreshInterval * 1e3); + logger.warn("Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(newExpiration)}.\nFor more information, please visit: " + STATIC_STABILITY_DOC_URL); + const originalExpiration = (_a = credentials.originalExpiration) !== null && _a !== void 0 ? _a : credentials.expiration; return { - ...clientSharedValues, - ...config, - runtime: "node", - defaultsMode, - bodyLengthChecker: (_a = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _a !== void 0 ? _a : util_body_length_node_1.calculateBodyLength, - defaultUserAgentProvider: (_b = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _b !== void 0 ? _b : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }), - maxAttempts: (_c = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _c !== void 0 ? _c : (0, node_config_provider_1.loadConfig)(middleware_retry_2.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), - region: (_d = config === null || config === void 0 ? void 0 : config.region) !== null && _d !== void 0 ? _d : (0, node_config_provider_1.loadConfig)(config_resolver_2.NODE_REGION_CONFIG_OPTIONS, config_resolver_2.NODE_REGION_CONFIG_FILE_OPTIONS), - requestHandler: (_e = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _e !== void 0 ? _e : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider), - retryMode: (_f = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)({ - ...middleware_retry_2.NODE_RETRY_MODE_CONFIG_OPTIONS, - default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE - }), - sha256: (_g = config === null || config === void 0 ? void 0 : config.sha256) !== null && _g !== void 0 ? _g : hash_node_1.Hash.bind(null, "sha256"), - streamCollector: (_h = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _h !== void 0 ? _h : node_http_handler_1.streamCollector, - useDualstackEndpoint: (_j = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)(config_resolver_2.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), - useFipsEndpoint: (_k = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _k !== void 0 ? _k : (0, node_config_provider_1.loadConfig)(config_resolver_2.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS) + ...credentials, + ...originalExpiration ? { originalExpiration } : {}, + expiration: newExpiration }; }; - var SSOOIDCClient = class extends smithy_client_1.Client { - constructor(...[configuration]) { - const _config_0 = getRuntimeConfig2(configuration || {}); - const _config_1 = resolveClientEndpointParameters(_config_0); - const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1); - const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2); - const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3); - const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4); - const _config_6 = (0, 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_recursion_detection_1.getRecursionDetectionPlugin)(this.config)); - this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config)); - } - destroy() { - super.destroy(); - } - }; - exports.SSOOIDCClient = SSOOIDCClient; - var smithy_client_5 = require_dist_cjs35(); - var middleware_endpoint_2 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_6 = require_dist_cjs35(); - var protocol_http_1 = require_dist_cjs2(); - var smithy_client_7 = require_dist_cjs35(); - var smithy_client_8 = require_dist_cjs35(); - var SSOOIDCServiceException = class _SSOOIDCServiceException extends smithy_client_8.ServiceException { - constructor(options) { - super(options); - Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype); - } - }; - var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException { - constructor(opts) { - super({ - name: "AccessDeniedException", - $fault: "client", - ...opts - }); - this.name = "AccessDeniedException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _AccessDeniedException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } - }; - exports.AccessDeniedException = AccessDeniedException; - var AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException { - constructor(opts) { - super({ - name: "AuthorizationPendingException", - $fault: "client", - ...opts - }); - this.name = "AuthorizationPendingException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _AuthorizationPendingException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } - }; - exports.AuthorizationPendingException = AuthorizationPendingException; - var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException { - constructor(opts) { - super({ - name: "ExpiredTokenException", - $fault: "client", - ...opts - }); - this.name = "ExpiredTokenException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _ExpiredTokenException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } + exports.getExtendedInstanceMetadataCredentials = getExtendedInstanceMetadataCredentials; + } +}); + +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +var require_staticStabilityProvider = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.staticStabilityProvider = void 0; + var getExtendedInstanceMetadataCredentials_1 = require_getExtendedInstanceMetadataCredentials(); + var staticStabilityProvider = (provider, options = {}) => { + const logger = (options === null || options === void 0 ? void 0 : options.logger) || console; + let pastCredentials; + return async () => { + let credentials; + try { + credentials = await provider(); + if (credentials.expiration && credentials.expiration.getTime() < Date.now()) { + credentials = (0, getExtendedInstanceMetadataCredentials_1.getExtendedInstanceMetadataCredentials)(credentials, logger); + } + } catch (e) { + if (pastCredentials) { + logger.warn("Credential renew failed: ", e); + credentials = (0, getExtendedInstanceMetadataCredentials_1.getExtendedInstanceMetadataCredentials)(pastCredentials, logger); + } else { + throw e; + } + } + pastCredentials = credentials; + return credentials; + }; }; - exports.ExpiredTokenException = ExpiredTokenException; - var InternalServerException = class _InternalServerException extends SSOOIDCServiceException { - constructor(opts) { - super({ - name: "InternalServerException", - $fault: "server", - ...opts - }); - this.name = "InternalServerException"; - this.$fault = "server"; - Object.setPrototypeOf(this, _InternalServerException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } + exports.staticStabilityProvider = staticStabilityProvider; + } +}); + +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +var require_fromInstanceMetadata = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.fromInstanceMetadata = void 0; + var property_provider_1 = require_dist_cjs6(); + var httpRequest_1 = require_httpRequest2(); + var ImdsCredentials_1 = require_ImdsCredentials(); + var RemoteProviderInit_1 = require_RemoteProviderInit(); + var retry_1 = require_retry4(); + var getInstanceMetadataEndpoint_1 = require_getInstanceMetadataEndpoint(); + var staticStabilityProvider_1 = require_staticStabilityProvider(); + var IMDS_PATH = "/latest/meta-data/iam/security-credentials/"; + var IMDS_TOKEN_PATH = "/latest/api/token"; + var fromInstanceMetadata = (init = {}) => (0, staticStabilityProvider_1.staticStabilityProvider)(getInstanceImdsProvider(init), { logger: init.logger }); + exports.fromInstanceMetadata = fromInstanceMetadata; + var getInstanceImdsProvider = (init) => { + let disableFetchToken = false; + const { timeout, maxRetries } = (0, RemoteProviderInit_1.providerConfigFromInit)(init); + const getCredentials = async (maxRetries2, options) => { + const profile = (await (0, retry_1.retry)(async () => { + let profile2; + try { + profile2 = await getProfile(options); + } catch (err) { + if (err.statusCode === 401) { + disableFetchToken = false; + } + throw err; + } + return profile2; + }, maxRetries2)).trim(); + return (0, retry_1.retry)(async () => { + let creds; + try { + creds = await getCredentialsFromProfile(profile, options); + } catch (err) { + if (err.statusCode === 401) { + disableFetchToken = false; + } + throw err; + } + return creds; + }, maxRetries2); + }; + return async () => { + const endpoint = await (0, getInstanceMetadataEndpoint_1.getInstanceMetadataEndpoint)(); + if (disableFetchToken) { + return getCredentials(maxRetries, { ...endpoint, timeout }); + } else { + let token; + try { + token = (await getMetadataToken({ ...endpoint, timeout })).toString(); + } catch (error) { + if ((error === null || error === void 0 ? void 0 : error.statusCode) === 400) { + throw Object.assign(error, { + message: "EC2 Metadata token request returned error" + }); + } else if (error.message === "TimeoutError" || [403, 404, 405].includes(error.statusCode)) { + disableFetchToken = true; + } + return getCredentials(maxRetries, { ...endpoint, timeout }); + } + return getCredentials(maxRetries, { + ...endpoint, + headers: { + "x-aws-ec2-metadata-token": token + }, + timeout + }); + } + }; }; - exports.InternalServerException = InternalServerException; - var InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException { - constructor(opts) { - super({ - name: "InvalidClientException", - $fault: "client", - ...opts - }); - this.name = "InvalidClientException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidClientException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; + var getMetadataToken = async (options) => (0, httpRequest_1.httpRequest)({ + ...options, + path: IMDS_TOKEN_PATH, + method: "PUT", + headers: { + "x-aws-ec2-metadata-token-ttl-seconds": "21600" } - }; - exports.InvalidClientException = InvalidClientException; - var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException { - constructor(opts) { - super({ - name: "InvalidGrantException", - $fault: "client", - ...opts - }); - this.name = "InvalidGrantException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidGrantException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; + }); + var getProfile = async (options) => (await (0, httpRequest_1.httpRequest)({ ...options, path: IMDS_PATH })).toString(); + var getCredentialsFromProfile = async (profile, options) => { + const credsResponse = JSON.parse((await (0, httpRequest_1.httpRequest)({ + ...options, + path: IMDS_PATH + profile + })).toString()); + if (!(0, ImdsCredentials_1.isImdsCredentials)(credsResponse)) { + throw new property_provider_1.CredentialsProviderError("Invalid response received from instance metadata service."); } + return (0, ImdsCredentials_1.fromImdsCredentials)(credsResponse); }; - var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException { - constructor(opts) { - super({ - name: "InvalidRequestException", - $fault: "client", - ...opts - }); - this.name = "InvalidRequestException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidRequestException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; + } +}); + +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +var require_types6 = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/types.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + } +}); + +// ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +var require_dist_cjs40 = __commonJS({ + "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getInstanceMetadataEndpoint = exports.httpRequest = void 0; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_fromContainerMetadata(), exports); + tslib_1.__exportStar(require_fromInstanceMetadata(), exports); + tslib_1.__exportStar(require_RemoteProviderInit(), exports); + tslib_1.__exportStar(require_types6(), exports); + var httpRequest_1 = require_httpRequest2(); + Object.defineProperty(exports, "httpRequest", { enumerable: true, get: function() { + return httpRequest_1.httpRequest; + } }); + var getInstanceMetadataEndpoint_1 = require_getInstanceMetadataEndpoint(); + Object.defineProperty(exports, "getInstanceMetadataEndpoint", { enumerable: true, get: function() { + return getInstanceMetadataEndpoint_1.getInstanceMetadataEndpoint; + } }); + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveCredentialSource.js +var require_resolveCredentialSource = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveCredentialSource.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveCredentialSource = void 0; + var credential_provider_env_1 = require_dist_cjs39(); + var credential_provider_imds_1 = require_dist_cjs40(); + var property_provider_1 = require_dist_cjs6(); + var resolveCredentialSource = (credentialSource, profileName) => { + const sourceProvidersMap = { + EcsContainer: credential_provider_imds_1.fromContainerMetadata, + Ec2InstanceMetadata: credential_provider_imds_1.fromInstanceMetadata, + Environment: credential_provider_env_1.fromEnv + }; + if (credentialSource in sourceProvidersMap) { + return sourceProvidersMap[credentialSource](); + } else { + throw new property_provider_1.CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`); } }; - exports.InvalidRequestException = InvalidRequestException; - var InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException { - constructor(opts) { - super({ - name: "InvalidScopeException", - $fault: "client", - ...opts - }); - this.name = "InvalidScopeException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidScopeException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; + exports.resolveCredentialSource = resolveCredentialSource; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js +var require_resolveAssumeRoleCredentials = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveAssumeRoleCredentials = exports.isAssumeRoleProfile = void 0; + var property_provider_1 = require_dist_cjs6(); + var shared_ini_file_loader_1 = require_dist_cjs23(); + var resolveCredentialSource_1 = require_resolveCredentialSource(); + var resolveProfileData_1 = require_resolveProfileData(); + var isAssumeRoleProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg) || isAssumeRoleWithProviderProfile(arg)); + exports.isAssumeRoleProfile = isAssumeRoleProfile; + var isAssumeRoleWithSourceProfile = (arg) => typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined"; + var isAssumeRoleWithProviderProfile = (arg) => typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined"; + var resolveAssumeRoleCredentials = async (profileName, profiles, options, visitedProfiles = {}) => { + const data = profiles[profileName]; + if (!options.roleAssumer) { + throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} requires a role to be assumed, but no role assumption callback was provided.`, false); } - }; - exports.InvalidScopeException = InvalidScopeException; - var SlowDownException = class _SlowDownException extends SSOOIDCServiceException { - constructor(opts) { - super({ - name: "SlowDownException", - $fault: "client", - ...opts - }); - this.name = "SlowDownException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _SlowDownException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; + const { source_profile } = data; + if (source_profile && source_profile in visitedProfiles) { + throw new property_provider_1.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${(0, shared_ini_file_loader_1.getProfileName)(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(", "), false); } - }; - exports.SlowDownException = SlowDownException; - var UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException { - constructor(opts) { - super({ - name: "UnauthorizedClientException", - $fault: "client", - ...opts - }); - this.name = "UnauthorizedClientException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _UnauthorizedClientException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; + const sourceCredsProvider = source_profile ? (0, resolveProfileData_1.resolveProfileData)(source_profile, profiles, options, { + ...visitedProfiles, + [source_profile]: true + }) : (0, resolveCredentialSource_1.resolveCredentialSource)(data.credential_source, profileName)(); + const params = { + RoleArn: data.role_arn, + RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`, + ExternalId: data.external_id, + DurationSeconds: parseInt(data.duration_seconds || "3600", 10) + }; + const { mfa_serial } = data; + if (mfa_serial) { + if (!options.mfaCodeProvider) { + throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, false); + } + params.SerialNumber = mfa_serial; + params.TokenCode = await options.mfaCodeProvider(mfa_serial); } + const sourceCreds = await sourceCredsProvider; + return options.roleAssumer(sourceCreds, params); }; - exports.UnauthorizedClientException = UnauthorizedClientException; - var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException { - constructor(opts) { - super({ - name: "UnsupportedGrantTypeException", - $fault: "client", - ...opts - }); - this.name = "UnsupportedGrantTypeException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; + exports.resolveAssumeRoleCredentials = resolveAssumeRoleCredentials; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js +var require_getValidatedProcessCredentials = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getValidatedProcessCredentials = void 0; + var getValidatedProcessCredentials = (profileName, data) => { + if (data.Version !== 1) { + throw Error(`Profile ${profileName} credential_process did not return Version 1.`); } - }; - exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException; - var InvalidClientMetadataException = class _InvalidClientMetadataException extends SSOOIDCServiceException { - constructor(opts) { - super({ - name: "InvalidClientMetadataException", - $fault: "client", - ...opts - }); - this.name = "InvalidClientMetadataException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidClientMetadataException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; + if (data.AccessKeyId === void 0 || data.SecretAccessKey === void 0) { + throw Error(`Profile ${profileName} credential_process returned invalid credentials.`); } - }; - var se_CreateTokenCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json" + if (data.Expiration) { + const currentTime = /* @__PURE__ */ new Date(); + const expireTime = new Date(data.Expiration); + if (expireTime < currentTime) { + throw Error(`Profile ${profileName} credential_process returned expired credentials.`); + } + } + return { + accessKeyId: data.AccessKeyId, + secretAccessKey: data.SecretAccessKey, + ...data.SessionToken && { sessionToken: data.SessionToken }, + ...data.Expiration && { expiration: new Date(data.Expiration) } }; - const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/token`; - let body; - body = JSON.stringify((0, smithy_client_7.take)(input, { - clientId: [], - clientSecret: [], - code: [], - deviceCode: [], - grantType: [], - redirectUri: [], - refreshToken: [], - scope: (_) => (0, smithy_client_7._json)(_) - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body - }); }; - var se_RegisterClientCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json" - }; - const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/client/register`; - let body; - body = JSON.stringify((0, smithy_client_7.take)(input, { - clientName: [], - clientType: [], - scopes: (_) => (0, smithy_client_7._json)(_) - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body - }); + exports.getValidatedProcessCredentials = getValidatedProcessCredentials; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js +var require_resolveProcessCredentials = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveProcessCredentials = void 0; + var property_provider_1 = require_dist_cjs6(); + var child_process_1 = require("child_process"); + var util_1 = require("util"); + var getValidatedProcessCredentials_1 = require_getValidatedProcessCredentials(); + var resolveProcessCredentials = async (profileName, profiles) => { + const profile = profiles[profileName]; + if (profiles[profileName]) { + const credentialProcess = profile["credential_process"]; + if (credentialProcess !== void 0) { + const execPromise = (0, util_1.promisify)(child_process_1.exec); + try { + const { stdout } = await execPromise(credentialProcess); + let data; + try { + data = JSON.parse(stdout.trim()); + } catch (_a) { + throw Error(`Profile ${profileName} credential_process returned invalid JSON.`); + } + return (0, getValidatedProcessCredentials_1.getValidatedProcessCredentials)(profileName, data); + } catch (error) { + throw new property_provider_1.CredentialsProviderError(error.message); + } + } else { + throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`); + } + } else { + throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`); + } }; - var se_StartDeviceAuthorizationCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json" + exports.resolveProcessCredentials = resolveProcessCredentials; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js +var require_fromProcess = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.fromProcess = void 0; + var shared_ini_file_loader_1 = require_dist_cjs23(); + var resolveProcessCredentials_1 = require_resolveProcessCredentials(); + var fromProcess = (init = {}) => async () => { + const profiles = await (0, shared_ini_file_loader_1.parseKnownFiles)(init); + return (0, resolveProcessCredentials_1.resolveProcessCredentials)((0, shared_ini_file_loader_1.getProfileName)(init), profiles); + }; + exports.fromProcess = fromProcess; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +var require_dist_cjs41 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_fromProcess(), exports); + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProcessCredentials.js +var require_resolveProcessCredentials2 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProcessCredentials.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveProcessCredentials = exports.isProcessProfile = void 0; + var credential_provider_process_1 = require_dist_cjs41(); + var isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string"; + exports.isProcessProfile = isProcessProfile; + var resolveProcessCredentials = async (options, profile) => (0, credential_provider_process_1.fromProcess)({ + ...options, + profile + })(); + exports.resolveProcessCredentials = resolveProcessCredentials; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/isSsoProfile.js +var require_isSsoProfile = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/isSsoProfile.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.isSsoProfile = void 0; + var isSsoProfile = (arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string"); + exports.isSsoProfile = isSsoProfile; + } +}); + +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/EndpointParameters.js +var require_EndpointParameters3 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/EndpointParameters.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveClientEndpointParameters = void 0; + var resolveClientEndpointParameters = (options) => { + return { + ...options, + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "awsssoportal" }; - const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/device_authorization`; - let body; - body = JSON.stringify((0, smithy_client_7.take)(input, { - clientId: [], - clientSecret: [], - startUrl: [] - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body - }); }; - var de_CreateTokenCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CreateTokenCommandError(output, context); - } - const contents = (0, smithy_client_7.map)({ - $metadata: deserializeMetadata(output) - }); - const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_7.take)(data, { - accessToken: smithy_client_7.expectString, - expiresIn: smithy_client_7.expectInt32, - idToken: smithy_client_7.expectString, - refreshToken: smithy_client_7.expectString, - tokenType: smithy_client_7.expectString - }); - Object.assign(contents, doc); - return contents; - }; - var de_CreateTokenCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "AccessDeniedException": - case "com.amazonaws.ssooidc#AccessDeniedException": - throw await de_AccessDeniedExceptionRes(parsedOutput, context); - case "AuthorizationPendingException": - case "com.amazonaws.ssooidc#AuthorizationPendingException": - throw await de_AuthorizationPendingExceptionRes(parsedOutput, context); - case "ExpiredTokenException": - case "com.amazonaws.ssooidc#ExpiredTokenException": - throw await de_ExpiredTokenExceptionRes(parsedOutput, context); - case "InternalServerException": - case "com.amazonaws.ssooidc#InternalServerException": - throw await de_InternalServerExceptionRes(parsedOutput, context); - case "InvalidClientException": - case "com.amazonaws.ssooidc#InvalidClientException": - throw await de_InvalidClientExceptionRes(parsedOutput, context); - case "InvalidGrantException": - case "com.amazonaws.ssooidc#InvalidGrantException": - throw await de_InvalidGrantExceptionRes(parsedOutput, context); - case "InvalidRequestException": - case "com.amazonaws.ssooidc#InvalidRequestException": - throw await de_InvalidRequestExceptionRes(parsedOutput, context); - case "InvalidScopeException": - case "com.amazonaws.ssooidc#InvalidScopeException": - throw await de_InvalidScopeExceptionRes(parsedOutput, context); - case "SlowDownException": - case "com.amazonaws.ssooidc#SlowDownException": - throw await de_SlowDownExceptionRes(parsedOutput, context); - case "UnauthorizedClientException": - case "com.amazonaws.ssooidc#UnauthorizedClientException": - throw await de_UnauthorizedClientExceptionRes(parsedOutput, context); - case "UnsupportedGrantTypeException": - case "com.amazonaws.ssooidc#UnsupportedGrantTypeException": - throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + exports.resolveClientEndpointParameters = resolveClientEndpointParameters; + } +}); + +// ../../../node_modules/@aws-sdk/client-sso/package.json +var require_package3 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/package.json"(exports, module2) { + module2.exports = { + name: "@aws-sdk/client-sso", + description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native", + version: "3.421.0", + scripts: { + build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:docs": "typedoc", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + clean: "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", + "generate:client": "node ../../scripts/generate-clients/single-service --solo sso" + }, + main: "./dist-cjs/index.js", + types: "./dist-types/index.d.ts", + module: "./dist-es/index.js", + sideEffects: false, + dependencies: { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/middleware-host-header": "3.418.0", + "@aws-sdk/middleware-logger": "3.418.0", + "@aws-sdk/middleware-recursion-detection": "3.418.0", + "@aws-sdk/middleware-user-agent": "3.418.0", + "@aws-sdk/region-config-resolver": "3.418.0", + "@aws-sdk/types": "3.418.0", + "@aws-sdk/util-endpoints": "3.418.0", + "@aws-sdk/util-user-agent-browser": "3.418.0", + "@aws-sdk/util-user-agent-node": "3.418.0", + "@smithy/config-resolver": "^2.0.10", + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/hash-node": "^2.0.9", + "@smithy/invalid-dependency": "^2.0.9", + "@smithy/middleware-content-length": "^2.0.11", + "@smithy/middleware-endpoint": "^2.0.9", + "@smithy/middleware-retry": "^2.0.12", + "@smithy/middleware-serde": "^2.0.9", + "@smithy/middleware-stack": "^2.0.2", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/protocol-http": "^3.0.5", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-body-length-browser": "^2.0.0", + "@smithy/util-body-length-node": "^2.1.0", + "@smithy/util-defaults-mode-browser": "^2.0.10", + "@smithy/util-defaults-mode-node": "^2.0.12", + "@smithy/util-retry": "^2.0.2", + "@smithy/util-utf8": "^2.0.0", + tslib: "^2.5.0" + }, + devDependencies: { + "@smithy/service-client-documentation-generator": "^2.0.0", + "@tsconfig/node14": "1.0.3", + "@types/node": "^14.14.31", + concurrently: "7.0.0", + "downlevel-dts": "0.10.1", + rimraf: "3.0.2", + typedoc: "0.23.23", + typescript: "~4.9.5" + }, + engines: { + node: ">=14.0.0" + }, + typesVersions: { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + files: [ + "dist-*/**" + ], + author: { + name: "AWS SDK for JavaScript Team", + url: "https://aws.amazon.com/javascript/" + }, + license: "Apache-2.0", + browser: { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + 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" } }; - var de_RegisterClientCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_RegisterClientCommandError(output, context); + } +}); + +// ../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js +var require_is_crt_available = __commonJS({ + "../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js"(exports, module2) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.isCrtAvailable = void 0; + var isCrtAvailable = () => { + try { + if (typeof require === "function" && typeof module2 !== "undefined" && require("aws-crt")) { + return ["md/crt-avail"]; + } + return null; + } catch (e) { + return null; } - const contents = (0, smithy_client_7.map)({ - $metadata: deserializeMetadata(output) - }); - const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_7.take)(data, { - authorizationEndpoint: smithy_client_7.expectString, - clientId: smithy_client_7.expectString, - clientIdIssuedAt: smithy_client_7.expectLong, - clientSecret: smithy_client_7.expectString, - clientSecretExpiresAt: smithy_client_7.expectLong, - tokenEndpoint: smithy_client_7.expectString - }); - Object.assign(contents, doc); - return contents; }; - var de_RegisterClientCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InternalServerException": - case "com.amazonaws.ssooidc#InternalServerException": - throw await de_InternalServerExceptionRes(parsedOutput, context); - case "InvalidClientMetadataException": - case "com.amazonaws.ssooidc#InvalidClientMetadataException": - throw await de_InvalidClientMetadataExceptionRes(parsedOutput, context); - case "InvalidRequestException": - case "com.amazonaws.ssooidc#InvalidRequestException": - throw await de_InvalidRequestExceptionRes(parsedOutput, context); - case "InvalidScopeException": - case "com.amazonaws.ssooidc#InvalidScopeException": - throw await de_InvalidScopeExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + exports.isCrtAvailable = isCrtAvailable; + } +}); + +// ../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +var require_dist_cjs42 = __commonJS({ + "../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.defaultUserAgent = exports.UA_APP_ID_INI_NAME = exports.UA_APP_ID_ENV_NAME = void 0; + var node_config_provider_1 = require_dist_cjs24(); + var os_1 = require("os"); + var process_1 = require("process"); + var is_crt_available_1 = require_is_crt_available(); + exports.UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID"; + exports.UA_APP_ID_INI_NAME = "sdk-ua-app-id"; + var defaultUserAgent = ({ serviceId, clientVersion }) => { + const sections = [ + ["aws-sdk-js", clientVersion], + ["ua", "2.0"], + [`os/${(0, os_1.platform)()}`, (0, os_1.release)()], + ["lang/js"], + ["md/nodejs", `${process_1.versions.node}`] + ]; + const crtAvailable = (0, is_crt_available_1.isCrtAvailable)(); + if (crtAvailable) { + sections.push(crtAvailable); } - }; - var de_StartDeviceAuthorizationCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_StartDeviceAuthorizationCommandError(output, context); + if (serviceId) { + sections.push([`api/${serviceId}`, clientVersion]); } - const contents = (0, smithy_client_7.map)({ - $metadata: deserializeMetadata(output) - }); - const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_7.take)(data, { - deviceCode: smithy_client_7.expectString, - expiresIn: smithy_client_7.expectInt32, - interval: smithy_client_7.expectInt32, - userCode: smithy_client_7.expectString, - verificationUri: smithy_client_7.expectString, - verificationUriComplete: smithy_client_7.expectString - }); - Object.assign(contents, doc); - return contents; - }; - var de_StartDeviceAuthorizationCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InternalServerException": - case "com.amazonaws.ssooidc#InternalServerException": - throw await de_InternalServerExceptionRes(parsedOutput, context); - case "InvalidClientException": - case "com.amazonaws.ssooidc#InvalidClientException": - throw await de_InvalidClientExceptionRes(parsedOutput, context); - case "InvalidRequestException": - case "com.amazonaws.ssooidc#InvalidRequestException": - throw await de_InvalidRequestExceptionRes(parsedOutput, context); - case "SlowDownException": - case "com.amazonaws.ssooidc#SlowDownException": - throw await de_SlowDownExceptionRes(parsedOutput, context); - case "UnauthorizedClientException": - case "com.amazonaws.ssooidc#UnauthorizedClientException": - throw await de_UnauthorizedClientExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + if (process_1.env.AWS_EXECUTION_ENV) { + sections.push([`exec-env/${process_1.env.AWS_EXECUTION_ENV}`]); } + const appIdPromise = (0, node_config_provider_1.loadConfig)({ + environmentVariableSelector: (env) => env[exports.UA_APP_ID_ENV_NAME], + configFileSelector: (profile) => profile[exports.UA_APP_ID_INI_NAME], + default: void 0 + })(); + let resolvedUserAgent = void 0; + return async () => { + if (!resolvedUserAgent) { + const appId = await appIdPromise; + resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections]; + } + return resolvedUserAgent; + }; }; - var throwDefaultError = (0, smithy_client_7.withBaseException)(SSOOIDCServiceException); - var de_AccessDeniedExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_7.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_7.take)(data, { - error: smithy_client_7.expectString, - error_description: smithy_client_7.expectString - }); - Object.assign(contents, doc); - const exception = new AccessDeniedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); - }; - var de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_7.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_7.take)(data, { - error: smithy_client_7.expectString, - error_description: smithy_client_7.expectString - }); - Object.assign(contents, doc); - const exception = new AuthorizationPendingException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); - }; - var de_ExpiredTokenExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_7.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_7.take)(data, { - error: smithy_client_7.expectString, - error_description: smithy_client_7.expectString - }); - Object.assign(contents, doc); - const exception = new ExpiredTokenException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); + exports.defaultUserAgent = defaultUserAgent; + } +}); + +// ../../../node_modules/@smithy/hash-node/dist-cjs/index.js +var require_dist_cjs43 = __commonJS({ + "../../../node_modules/@smithy/hash-node/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.Hash = void 0; + var util_buffer_from_1 = require_dist_cjs12(); + var util_utf8_1 = require_dist_cjs13(); + var buffer_1 = require("buffer"); + var crypto_1 = require("crypto"); + var Hash = class { + constructor(algorithmIdentifier, secret) { + this.algorithmIdentifier = algorithmIdentifier; + this.secret = secret; + this.reset(); + } + update(toHash, encoding) { + this.hash.update((0, util_utf8_1.toUint8Array)(castSourceData(toHash, encoding))); + } + digest() { + return Promise.resolve(this.hash.digest()); + } + reset() { + this.hash = this.secret ? (0, crypto_1.createHmac)(this.algorithmIdentifier, castSourceData(this.secret)) : (0, crypto_1.createHash)(this.algorithmIdentifier); + } }; - var de_InternalServerExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_7.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_7.take)(data, { - error: smithy_client_7.expectString, - error_description: smithy_client_7.expectString - }); - Object.assign(contents, doc); - const exception = new InternalServerException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); + exports.Hash = Hash; + function castSourceData(toCast, encoding) { + if (buffer_1.Buffer.isBuffer(toCast)) { + return toCast; + } + if (typeof toCast === "string") { + return (0, 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 (0, util_buffer_from_1.fromArrayBuffer)(toCast); + } + } +}); + +// ../../../node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +var require_calculateBodyLength = __commonJS({ + "../../../node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.calculateBodyLength = void 0; + var fs_1 = require("fs"); + var calculateBodyLength = (body) => { + if (!body) { + return 0; + } + if (typeof body === "string") { + return Buffer.from(body).length; + } else if (typeof body.byteLength === "number") { + return body.byteLength; + } else if (typeof body.size === "number") { + return body.size; + } else if (typeof body.start === "number" && typeof body.end === "number") { + return body.end + 1 - body.start; + } else if (typeof body.path === "string" || Buffer.isBuffer(body.path)) { + return (0, fs_1.lstatSync)(body.path).size; + } else if (typeof body.fd === "number") { + return (0, fs_1.fstatSync)(body.fd).size; + } + throw new Error(`Body Length computation failed for ${body}`); }; - var de_InvalidClientExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_7.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_7.take)(data, { - error: smithy_client_7.expectString, - error_description: smithy_client_7.expectString - }); - Object.assign(contents, doc); - const exception = new InvalidClientException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents + exports.calculateBodyLength = calculateBodyLength; + } +}); + +// ../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js +var require_dist_cjs44 = __commonJS({ + "../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_calculateBodyLength(), exports); + } +}); + +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +var require_ruleset = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.ruleSet = void 0; + var q = "required"; + var r = "fn"; + var s = "argv"; + var t = "ref"; + var a = "isSet"; + var b = "tree"; + var c = "error"; + var d = "endpoint"; + var e = "PartitionResult"; + var f = { [q]: false, "type": "String" }; + var g = { [q]: true, "default": false, "type": "Boolean" }; + var h = { [t]: "Endpoint" }; + var i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }; + var j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }; + var k = {}; + var l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }; + var m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }; + var n = [i]; + var o = [j]; + var p = [{ [t]: "Region" }]; + var _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }; + exports.ruleSet = _data; + } +}); + +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +var require_endpointResolver = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.defaultEndpointResolver = void 0; + var util_endpoints_1 = require_dist_cjs18(); + var ruleset_1 = require_ruleset(); + var defaultEndpointResolver = (endpointParams, context = {}) => { + return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams, + logger: context.logger }); - return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); }; - var de_InvalidClientMetadataExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_7.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_7.take)(data, { - error: smithy_client_7.expectString, - error_description: smithy_client_7.expectString - }); - Object.assign(contents, doc); - const exception = new InvalidClientMetadataException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); - }; - var de_InvalidGrantExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_7.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_7.take)(data, { - error: smithy_client_7.expectString, - error_description: smithy_client_7.expectString - }); - Object.assign(contents, doc); - const exception = new InvalidGrantException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); - }; - var de_InvalidRequestExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_7.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_7.take)(data, { - error: smithy_client_7.expectString, - error_description: smithy_client_7.expectString - }); - Object.assign(contents, doc); - const exception = new InvalidRequestException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); - }; - var de_InvalidScopeExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_7.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_7.take)(data, { - error: smithy_client_7.expectString, - error_description: smithy_client_7.expectString - }); - Object.assign(contents, doc); - const exception = new InvalidScopeException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); - }; - var de_SlowDownExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_7.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_7.take)(data, { - error: smithy_client_7.expectString, - error_description: smithy_client_7.expectString - }); - Object.assign(contents, doc); - const exception = new SlowDownException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); - }; - var de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_7.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_7.take)(data, { - error: smithy_client_7.expectString, - error_description: smithy_client_7.expectString - }); - Object.assign(contents, doc); - const exception = new UnauthorizedClientException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); - }; - var de_UnsupportedGrantTypeExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_7.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_7.take)(data, { - error: smithy_client_7.expectString, - error_description: smithy_client_7.expectString - }); - Object.assign(contents, doc); - const exception = new UnsupportedGrantTypeException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents - }); - return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); - }; - var deserializeMetadata = (output) => { - var _a, _b; - return { - httpStatusCode: output.statusCode, - requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"], - extendedRequestId: output.headers["x-amz-id-2"], - cfId: output.headers["x-amz-cf-id"] - }; + exports.defaultEndpointResolver = defaultEndpointResolver; + } +}); + +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +var require_runtimeConfig_shared = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getRuntimeConfig = void 0; + var smithy_client_1 = require_dist_cjs37(); + var url_parser_1 = require_dist_cjs26(); + var util_base64_1 = require_dist_cjs33(); + var util_utf8_1 = require_dist_cjs13(); + var endpointResolver_1 = require_endpointResolver(); + var getRuntimeConfig = (config) => ({ + apiVersion: "2019-06-10", + base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, + base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, + extensions: config?.extensions ?? [], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + serviceId: config?.serviceId ?? "SSO", + urlParser: config?.urlParser ?? url_parser_1.parseUrl, + utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8 + }); + exports.getRuntimeConfig = getRuntimeConfig; + } +}); + +// ../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/constants.js +var require_constants7 = __commonJS({ + "../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/constants.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.IMDS_REGION_PATH = exports.DEFAULTS_MODE_OPTIONS = exports.ENV_IMDS_DISABLED = exports.AWS_DEFAULT_REGION_ENV = exports.AWS_REGION_ENV = exports.AWS_EXECUTION_ENV = void 0; + exports.AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV"; + exports.AWS_REGION_ENV = "AWS_REGION"; + exports.AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION"; + exports.ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; + exports.DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"]; + exports.IMDS_REGION_PATH = "/latest/meta-data/placement/region"; + } +}); + +// ../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/defaultsModeConfig.js +var require_defaultsModeConfig = __commonJS({ + "../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/defaultsModeConfig.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.NODE_DEFAULTS_MODE_CONFIG_OPTIONS = void 0; + var AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE"; + var AWS_DEFAULTS_MODE_CONFIG = "defaults_mode"; + exports.NODE_DEFAULTS_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => { + return env[AWS_DEFAULTS_MODE_ENV]; + }, + configFileSelector: (profile) => { + return profile[AWS_DEFAULTS_MODE_CONFIG]; + }, + default: "legacy" }; - var collectBodyString = (streamBody, context) => (0, smithy_client_7.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)); - var parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { - if (encoded.length) { - return JSON.parse(encoded); + } +}); + +// ../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/resolveDefaultsModeConfig.js +var require_resolveDefaultsModeConfig = __commonJS({ + "../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/resolveDefaultsModeConfig.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveDefaultsModeConfig = void 0; + var config_resolver_1 = require_dist_cjs21(); + var credential_provider_imds_1 = require_dist_cjs40(); + var node_config_provider_1 = require_dist_cjs24(); + var property_provider_1 = require_dist_cjs6(); + var constants_1 = require_constants7(); + var defaultsModeConfig_1 = require_defaultsModeConfig(); + var resolveDefaultsModeConfig = ({ region = (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS), defaultsMode = (0, node_config_provider_1.loadConfig)(defaultsModeConfig_1.NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) => (0, property_provider_1.memoize)(async () => { + const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode; + switch (mode === null || mode === void 0 ? void 0 : mode.toLowerCase()) { + case "auto": + return resolveNodeDefaultsModeAuto(region); + case "in-region": + case "cross-region": + case "mobile": + case "standard": + case "legacy": + return Promise.resolve(mode === null || mode === void 0 ? void 0 : mode.toLocaleLowerCase()); + case void 0: + return Promise.resolve("legacy"); + default: + throw new Error(`Invalid parameter for "defaultsMode", expect ${constants_1.DEFAULTS_MODE_OPTIONS.join(", ")}, got ${mode}`); } - return {}; }); - var parseErrorBody = async (errorBody, context) => { - var _a; - const value = await parseBody(errorBody, context); - value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message; - return value; - }; - var loadRestJsonErrorCode = (output, data) => { - const findKey = (object, key) => Object.keys(object).find((k2) => k2.toLowerCase() === key.toLowerCase()); - const sanitizeErrorCode = (rawValue) => { - let cleanValue = rawValue; - if (typeof cleanValue === "number") { - cleanValue = cleanValue.toString(); - } - if (cleanValue.indexOf(",") >= 0) { - cleanValue = cleanValue.split(",")[0]; - } - if (cleanValue.indexOf(":") >= 0) { - cleanValue = cleanValue.split(":")[0]; + exports.resolveDefaultsModeConfig = resolveDefaultsModeConfig; + var resolveNodeDefaultsModeAuto = async (clientRegion) => { + if (clientRegion) { + const resolvedRegion = typeof clientRegion === "function" ? await clientRegion() : clientRegion; + const inferredRegion = await inferPhysicalRegion(); + if (!inferredRegion) { + return "standard"; } - if (cleanValue.indexOf("#") >= 0) { - cleanValue = cleanValue.split("#")[1]; + if (resolvedRegion === inferredRegion) { + return "in-region"; + } else { + return "cross-region"; } - return cleanValue; - }; - const headerKey = findKey(output.headers, "x-amzn-errortype"); - if (headerKey !== void 0) { - return sanitizeErrorCode(output.headers[headerKey]); } - if (data.code !== void 0) { - return sanitizeErrorCode(data.code); + return "standard"; + }; + var inferPhysicalRegion = async () => { + var _a; + if (process.env[constants_1.AWS_EXECUTION_ENV] && (process.env[constants_1.AWS_REGION_ENV] || process.env[constants_1.AWS_DEFAULT_REGION_ENV])) { + return (_a = process.env[constants_1.AWS_REGION_ENV]) !== null && _a !== void 0 ? _a : process.env[constants_1.AWS_DEFAULT_REGION_ENV]; } - if (data["__type"] !== void 0) { - return sanitizeErrorCode(data["__type"]); + if (!process.env[constants_1.ENV_IMDS_DISABLED]) { + try { + const endpoint = await (0, credential_provider_imds_1.getInstanceMetadataEndpoint)(); + return (await (0, credential_provider_imds_1.httpRequest)({ ...endpoint, path: constants_1.IMDS_REGION_PATH })).toString(); + } catch (e) { + } } }; - var CreateTokenCommand = class _CreateTokenCommand extends smithy_client_6.Command { - constructor(input) { - super(); - this.input = input; - } - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } - }; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_2.getEndpointPlugin)(configuration, _CreateTokenCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "SSOOIDCClient"; - const commandName = "CreateTokenCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _ - }; - const { requestHandler } = configuration; - return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_CreateTokenCommand(input, context); - } - deserialize(output, context) { - return de_CreateTokenCommand(output, context); - } - }; - exports.CreateTokenCommand = CreateTokenCommand; - var middleware_endpoint_3 = require_dist_cjs26(); - var middleware_serde_2 = require_dist_cjs25(); - var smithy_client_9 = require_dist_cjs35(); - var RegisterClientCommand = class _RegisterClientCommand extends smithy_client_9.Command { - constructor(input) { - super(); - this.input = input; - } - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } - }; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_2.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_3.getEndpointPlugin)(configuration, _RegisterClientCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "SSOOIDCClient"; - const commandName = "RegisterClientCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _ - }; - const { requestHandler } = configuration; - return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_RegisterClientCommand(input, context); - } - deserialize(output, context) { - return de_RegisterClientCommand(output, context); - } - }; - var middleware_endpoint_4 = require_dist_cjs26(); - var middleware_serde_3 = require_dist_cjs25(); - var smithy_client_10 = require_dist_cjs35(); - var StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand extends smithy_client_10.Command { - constructor(input) { - super(); - this.input = input; - } - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } - }; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_3.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_4.getEndpointPlugin)(configuration, _StartDeviceAuthorizationCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "SSOOIDCClient"; - const commandName = "StartDeviceAuthorizationCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _ - }; - const { requestHandler } = configuration; - return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_StartDeviceAuthorizationCommand(input, context); - } - deserialize(output, context) { - return de_StartDeviceAuthorizationCommand(output, context); - } - }; - var commands = { - CreateTokenCommand, - RegisterClientCommand, - StartDeviceAuthorizationCommand - }; - var SSOOIDC = class extends SSOOIDCClient { - }; - (0, smithy_client_5.createAggregatedClient)(commands, SSOOIDC); } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/constants.js -var require_constants8 = __commonJS({ - "../../../node_modules/@aws-sdk/token-providers/dist-cjs/constants.js"(exports) { +// ../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +var require_dist_cjs45 = __commonJS({ + "../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.REFRESH_MESSAGE = exports.EXPIRE_WINDOW_MS = void 0; - exports.EXPIRE_WINDOW_MS = 5 * 60 * 1e3; - exports.REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_resolveDefaultsModeConfig(), exports); } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js -var require_getSsoOidcClient = __commonJS({ - "../../../node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +var require_runtimeConfig = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.getSsoOidcClient = void 0; - var client_sso_oidc_node_1 = require_client_sso_oidc_node(); - var ssoOidcClientsHash = {}; - var getSsoOidcClient = (ssoRegion) => { - if (ssoOidcClientsHash[ssoRegion]) { - return ssoOidcClientsHash[ssoRegion]; - } - const ssoOidcClient = new client_sso_oidc_node_1.SSOOIDCClient({ region: ssoRegion }); - ssoOidcClientsHash[ssoRegion] = ssoOidcClient; - return ssoOidcClient; + exports.getRuntimeConfig = void 0; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + var package_json_1 = tslib_1.__importDefault(require_package3()); + var util_user_agent_node_1 = require_dist_cjs42(); + var config_resolver_1 = require_dist_cjs21(); + var hash_node_1 = require_dist_cjs43(); + var middleware_retry_1 = require_dist_cjs31(); + var node_config_provider_1 = require_dist_cjs24(); + var node_http_handler_1 = require_dist_cjs35(); + var util_body_length_node_1 = require_dist_cjs44(); + var util_retry_1 = require_dist_cjs30(); + var runtimeConfig_shared_1 = require_runtimeConfig_shared(); + var smithy_client_1 = require_dist_cjs37(); + var util_defaults_mode_node_1 = require_dist_cjs45(); + var smithy_client_2 = require_dist_cjs37(); + var getRuntimeConfig = (config) => { + (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version); + const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), + requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider), + retryMode: config?.retryMode ?? (0, node_config_provider_1.loadConfig)({ + ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE + }), + sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS) + }; }; - exports.getSsoOidcClient = getSsoOidcClient; + exports.getRuntimeConfig = getRuntimeConfig; } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js -var require_getNewSsoOidcToken = __commonJS({ - "../../../node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js"(exports) { +// ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js +var require_extensions5 = __commonJS({ + "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.getNewSsoOidcToken = void 0; - var client_sso_oidc_node_1 = require_client_sso_oidc_node(); - var getSsoOidcClient_1 = require_getSsoOidcClient(); - var getNewSsoOidcToken = (ssoToken, ssoRegion) => { - const ssoOidcClient = (0, getSsoOidcClient_1.getSsoOidcClient)(ssoRegion); - return ssoOidcClient.send(new client_sso_oidc_node_1.CreateTokenCommand({ - clientId: ssoToken.clientId, - clientSecret: ssoToken.clientSecret, - refreshToken: ssoToken.refreshToken, - grantType: "refresh_token" - })); + exports.resolveAwsRegionExtensionConfiguration = exports.getAwsRegionExtensionConfiguration = void 0; + var getAwsRegionExtensionConfiguration = (runtimeConfig) => { + let runtimeConfigRegion = async () => { + if (runtimeConfig.region === void 0) { + throw new Error("Region is missing from runtimeConfig"); + } + const region = runtimeConfig.region; + if (typeof region === "string") { + return region; + } + return region(); + }; + return { + setRegion(region) { + runtimeConfigRegion = region; + }, + region() { + return runtimeConfigRegion; + } + }; }; - exports.getNewSsoOidcToken = getNewSsoOidcToken; + exports.getAwsRegionExtensionConfiguration = getAwsRegionExtensionConfiguration; + var resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) => { + return { + region: awsRegionExtensionConfiguration.region() + }; + }; + exports.resolveAwsRegionExtensionConfiguration = resolveAwsRegionExtensionConfiguration; } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js -var require_validateTokenExpiry = __commonJS({ - "../../../node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js"(exports) { +// ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +var require_config4 = __commonJS({ + "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.validateTokenExpiry = void 0; - var property_provider_1 = require_dist_cjs6(); - var constants_1 = require_constants8(); - var validateTokenExpiry = (token) => { - if (token.expiration && token.expiration.getTime() < Date.now()) { - throw new property_provider_1.TokenProviderError(`Token is expired. ${constants_1.REFRESH_MESSAGE}`, false); + exports.NODE_REGION_CONFIG_FILE_OPTIONS = exports.NODE_REGION_CONFIG_OPTIONS = exports.REGION_INI_NAME = exports.REGION_ENV_NAME = void 0; + exports.REGION_ENV_NAME = "AWS_REGION"; + exports.REGION_INI_NAME = "region"; + exports.NODE_REGION_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[exports.REGION_ENV_NAME], + configFileSelector: (profile) => profile[exports.REGION_INI_NAME], + default: () => { + throw new Error("Region is missing"); } }; - exports.validateTokenExpiry = validateTokenExpiry; + exports.NODE_REGION_CONFIG_FILE_OPTIONS = { + preferredFile: "credentials" + }; } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js -var require_validateTokenKey = __commonJS({ - "../../../node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js"(exports) { +// ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +var require_isFipsRegion2 = __commonJS({ + "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.validateTokenKey = void 0; - var property_provider_1 = require_dist_cjs6(); - var constants_1 = require_constants8(); - var validateTokenKey = (key, value, forRefresh = false) => { - if (typeof value === "undefined") { - throw new property_provider_1.TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${constants_1.REFRESH_MESSAGE}`, false); - } - }; - exports.validateTokenKey = validateTokenKey; + exports.isFipsRegion = void 0; + var isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips")); + exports.isFipsRegion = isFipsRegion; } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js -var require_writeSSOTokenToFile = __commonJS({ - "../../../node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js"(exports) { +// ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +var require_getRealRegion2 = __commonJS({ + "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.writeSSOTokenToFile = void 0; - var shared_ini_file_loader_1 = require_dist_cjs38(); - var fs_1 = require("fs"); - var { writeFile } = fs_1.promises; - var writeSSOTokenToFile = (id, ssoToken) => { - const tokenFilepath = (0, shared_ini_file_loader_1.getSSOTokenFilepath)(id); - const tokenString = JSON.stringify(ssoToken, null, 2); - return writeFile(tokenFilepath, tokenString); - }; - exports.writeSSOTokenToFile = writeSSOTokenToFile; + exports.getRealRegion = void 0; + var isFipsRegion_1 = require_isFipsRegion2(); + var getRealRegion = (region) => (0, isFipsRegion_1.isFipsRegion)(region) ? ["fips-aws-global", "aws-fips"].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region; + exports.getRealRegion = getRealRegion; } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js -var require_fromSso = __commonJS({ - "../../../node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js"(exports) { +// ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +var require_resolveRegionConfig2 = __commonJS({ + "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromSso = void 0; - var property_provider_1 = require_dist_cjs6(); - var shared_ini_file_loader_1 = require_dist_cjs38(); - var constants_1 = require_constants8(); - var getNewSsoOidcToken_1 = require_getNewSsoOidcToken(); - var validateTokenExpiry_1 = require_validateTokenExpiry(); - var validateTokenKey_1 = require_validateTokenKey(); - var writeSSOTokenToFile_1 = require_writeSSOTokenToFile(); - var lastRefreshAttemptTime = /* @__PURE__ */ new Date(0); - var fromSso = (init = {}) => async () => { - const profiles = await (0, shared_ini_file_loader_1.parseKnownFiles)(init); - const profileName = (0, shared_ini_file_loader_1.getProfileName)(init); - const profile = profiles[profileName]; - if (!profile) { - throw new property_provider_1.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false); - } else if (!profile["sso_session"]) { - throw new property_provider_1.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`); - } - const ssoSessionName = profile["sso_session"]; - const ssoSessions = await (0, shared_ini_file_loader_1.loadSsoSessionData)(init); - const ssoSession = ssoSessions[ssoSessionName]; - if (!ssoSession) { - throw new property_provider_1.TokenProviderError(`Sso session '${ssoSessionName}' could not be found in shared credentials file.`, false); - } - for (const ssoSessionRequiredKey of ["sso_start_url", "sso_region"]) { - if (!ssoSession[ssoSessionRequiredKey]) { - throw new property_provider_1.TokenProviderError(`Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`, false); - } - } - const ssoStartUrl = ssoSession["sso_start_url"]; - const ssoRegion = ssoSession["sso_region"]; - let ssoToken; - try { - ssoToken = await (0, shared_ini_file_loader_1.getSSOTokenFromFile)(ssoSessionName); - } catch (e) { - throw new property_provider_1.TokenProviderError(`The SSO session token associated with profile=${profileName} was not found or is invalid. ${constants_1.REFRESH_MESSAGE}`, false); - } - (0, validateTokenKey_1.validateTokenKey)("accessToken", ssoToken.accessToken); - (0, validateTokenKey_1.validateTokenKey)("expiresAt", ssoToken.expiresAt); - const { accessToken, expiresAt } = ssoToken; - const existingToken = { token: accessToken, expiration: new Date(expiresAt) }; - if (existingToken.expiration.getTime() - Date.now() > constants_1.EXPIRE_WINDOW_MS) { - return existingToken; - } - if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1e3) { - (0, validateTokenExpiry_1.validateTokenExpiry)(existingToken); - return existingToken; + exports.resolveRegionConfig = void 0; + var getRealRegion_1 = require_getRealRegion2(); + var isFipsRegion_1 = require_isFipsRegion2(); + var resolveRegionConfig = (input) => { + const { region, useFipsEndpoint } = input; + if (!region) { + throw new Error("Region is missing"); } - (0, validateTokenKey_1.validateTokenKey)("clientId", ssoToken.clientId, true); - (0, validateTokenKey_1.validateTokenKey)("clientSecret", ssoToken.clientSecret, true); - (0, validateTokenKey_1.validateTokenKey)("refreshToken", ssoToken.refreshToken, true); - try { - lastRefreshAttemptTime.setTime(Date.now()); - const newSsoOidcToken = await (0, getNewSsoOidcToken_1.getNewSsoOidcToken)(ssoToken, ssoRegion); - (0, validateTokenKey_1.validateTokenKey)("accessToken", newSsoOidcToken.accessToken); - (0, validateTokenKey_1.validateTokenKey)("expiresIn", newSsoOidcToken.expiresIn); - const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1e3); - try { - await (0, writeSSOTokenToFile_1.writeSSOTokenToFile)(ssoSessionName, { - ...ssoToken, - accessToken: newSsoOidcToken.accessToken, - expiresAt: newTokenExpiration.toISOString(), - refreshToken: newSsoOidcToken.refreshToken - }); - } catch (error) { + return { + ...input, + region: async () => { + if (typeof region === "string") { + return (0, getRealRegion_1.getRealRegion)(region); + } + const providedRegion = await region(); + return (0, getRealRegion_1.getRealRegion)(providedRegion); + }, + useFipsEndpoint: async () => { + const providedRegion = typeof region === "string" ? region : await region(); + if ((0, isFipsRegion_1.isFipsRegion)(providedRegion)) { + return true; + } + return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint(); } - return { - token: newSsoOidcToken.accessToken, - expiration: newTokenExpiration - }; - } catch (error) { - (0, validateTokenExpiry_1.validateTokenExpiry)(existingToken); - return existingToken; - } - }; - exports.fromSso = fromSso; - } -}); - -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js -var require_fromStatic3 = __commonJS({ - "../../../node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromStatic = void 0; - var property_provider_1 = require_dist_cjs6(); - var fromStatic = ({ token }) => async () => { - if (!token || !token.token) { - throw new property_provider_1.TokenProviderError(`Please pass a valid token to fromStatic`, false); - } - return token; + }; }; - exports.fromStatic = fromStatic; + exports.resolveRegionConfig = resolveRegionConfig; } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js -var require_nodeProvider = __commonJS({ - "../../../node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js"(exports) { +// ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js +var require_regionConfig2 = __commonJS({ + "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.nodeProvider = void 0; - var property_provider_1 = require_dist_cjs6(); - var fromSso_1 = require_fromSso(); - var nodeProvider = (init = {}) => (0, property_provider_1.memoize)((0, property_provider_1.chain)((0, fromSso_1.fromSso)(init), async () => { - throw new property_provider_1.TokenProviderError("Could not load token from any providers", false); - }), (token) => token.expiration !== void 0 && token.expiration.getTime() - Date.now() < 3e5, (token) => token.expiration !== void 0); - exports.nodeProvider = nodeProvider; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_config4(), exports); + tslib_1.__exportStar(require_resolveRegionConfig2(), exports); } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js -var require_dist_cjs48 = __commonJS({ - "../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js"(exports) { +// ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +var require_dist_cjs46 = __commonJS({ + "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_client_sso_oidc_node(), exports); - tslib_1.__exportStar(require_fromSso(), exports); - tslib_1.__exportStar(require_fromStatic3(), exports); - tslib_1.__exportStar(require_nodeProvider(), exports); + tslib_1.__exportStar(require_extensions5(), exports); + tslib_1.__exportStar(require_regionConfig2(), exports); } }); -// ../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js -var require_resolveSSOCredentials = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js +var require_runtimeExtensions = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveSSOCredentials = void 0; - var client_sso_1 = require_dist_cjs47(); - var token_providers_1 = require_dist_cjs48(); - var property_provider_1 = require_dist_cjs6(); - var shared_ini_file_loader_1 = require_dist_cjs38(); - var SHOULD_FAIL_CREDENTIAL_CHAIN = false; - var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, profile }) => { - let token; - const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`; - if (ssoSession) { - try { - const _token = await (0, token_providers_1.fromSso)({ profile })(); - token = { - accessToken: _token.token, - expiresAt: new Date(_token.expiration).toISOString() - }; - } catch (e) { - throw new property_provider_1.CredentialsProviderError(e.message, SHOULD_FAIL_CREDENTIAL_CHAIN); - } - } else { - try { - token = await (0, shared_ini_file_loader_1.getSSOTokenFromFile)(ssoStartUrl); - } catch (e) { - throw new property_provider_1.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, SHOULD_FAIL_CREDENTIAL_CHAIN); - } - } - if (new Date(token.expiresAt).getTime() - Date.now() <= 0) { - throw new property_provider_1.CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, SHOULD_FAIL_CREDENTIAL_CHAIN); - } - const { accessToken } = token; - const sso = ssoClient || new client_sso_1.SSOClient({ region: ssoRegion }); - let ssoResp; - try { - ssoResp = await sso.send(new client_sso_1.GetRoleCredentialsCommand({ - accountId: ssoAccountId, - roleName: ssoRoleName, - accessToken - })); - } catch (e) { - throw property_provider_1.CredentialsProviderError.from(e, SHOULD_FAIL_CREDENTIAL_CHAIN); - } - const { roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration } = {} } = ssoResp; - if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) { - throw new property_provider_1.CredentialsProviderError("SSO returns an invalid temporary credential.", SHOULD_FAIL_CREDENTIAL_CHAIN); - } - return { accessKeyId, secretAccessKey, sessionToken, expiration: new Date(expiration) }; + exports.resolveRuntimeExtensions = void 0; + var region_config_resolver_1 = require_dist_cjs46(); + var protocol_http_1 = require_dist_cjs2(); + var smithy_client_1 = require_dist_cjs37(); + var asPartial = (t) => t; + var resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = { + ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)), + ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)), + ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)) + }; + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return { + ...runtimeConfig, + ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), + ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), + ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration) + }; }; - exports.resolveSSOCredentials = resolveSSOCredentials; + exports.resolveRuntimeExtensions = resolveRuntimeExtensions; } }); -// ../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/validateSsoProfile.js -var require_validateSsoProfile = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/validateSsoProfile.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js +var require_SSOClient = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.validateSsoProfile = void 0; - var property_provider_1 = require_dist_cjs6(); - var validateSsoProfile = (profile) => { - const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile; - if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) { - throw new property_provider_1.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(profile).join(", ")} -Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`, false); - } - return profile; - }; - exports.validateSsoProfile = validateSsoProfile; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/fromSSO.js -var require_fromSSO = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/fromSSO.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromSSO = void 0; - var property_provider_1 = require_dist_cjs6(); - var shared_ini_file_loader_1 = require_dist_cjs38(); - var isSsoProfile_1 = require_isSsoProfile(); - var resolveSSOCredentials_1 = require_resolveSSOCredentials(); - var validateSsoProfile_1 = require_validateSsoProfile(); - var fromSSO = (init = {}) => async () => { - const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, ssoSession } = init; - const profileName = (0, shared_ini_file_loader_1.getProfileName)(init); - if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) { - const profiles = await (0, shared_ini_file_loader_1.parseKnownFiles)(init); - const profile = profiles[profileName]; - if (!profile) { - throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} was not found.`); - } - if (!(0, isSsoProfile_1.isSsoProfile)(profile)) { - throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`); - } - if (profile === null || profile === void 0 ? void 0 : profile.sso_session) { - const ssoSessions = await (0, shared_ini_file_loader_1.loadSsoSessionData)(init); - const session = ssoSessions[profile.sso_session]; - const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`; - if (ssoRegion && ssoRegion !== session.sso_region) { - throw new property_provider_1.CredentialsProviderError(`Conflicting SSO region` + conflictMsg, false); - } - if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) { - throw new property_provider_1.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, false); - } - profile.sso_region = session.sso_region; - profile.sso_start_url = session.sso_start_url; - } - const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = (0, validateSsoProfile_1.validateSsoProfile)(profile); - return (0, resolveSSOCredentials_1.resolveSSOCredentials)({ - ssoStartUrl: sso_start_url, - ssoSession: sso_session, - ssoAccountId: sso_account_id, - ssoRegion: sso_region, - ssoRoleName: sso_role_name, - ssoClient, - profile: profileName - }); - } else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) { - throw new property_provider_1.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"'); - } else { - return (0, resolveSSOCredentials_1.resolveSSOCredentials)({ - ssoStartUrl, - ssoSession, - ssoAccountId, - ssoRegion, - ssoRoleName, - ssoClient, - profile: profileName - }); + exports.SSOClient = exports.__Client = void 0; + var middleware_host_header_1 = require_dist_cjs3(); + var middleware_logger_1 = require_dist_cjs4(); + var middleware_recursion_detection_1 = require_dist_cjs5(); + var middleware_user_agent_1 = require_dist_cjs19(); + var config_resolver_1 = require_dist_cjs21(); + var middleware_content_length_1 = require_dist_cjs22(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_retry_1 = require_dist_cjs31(); + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "__Client", { enumerable: true, get: function() { + return smithy_client_1.Client; + } }); + var EndpointParameters_1 = require_EndpointParameters3(); + var runtimeConfig_1 = require_runtimeConfig(); + var runtimeExtensions_1 = require_runtimeExtensions(); + var SSOClient = class extends smithy_client_1.Client { + constructor(...[configuration]) { + const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {}); + const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0); + const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1); + const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2); + const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3); + const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4); + const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5); + const _config_7 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_6, configuration?.extensions || []); + super(_config_7); + this.config = _config_7; + 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_recursion_detection_1.getRecursionDetectionPlugin)(this.config)); + this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config)); + } + destroy() { + super.destroy(); } }; - exports.fromSSO = fromSSO; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js -var require_types7 = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js -var require_dist_cjs49 = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_fromSSO(), exports); - tslib_1.__exportStar(require_isSsoProfile(), exports); - tslib_1.__exportStar(require_types7(), exports); - tslib_1.__exportStar(require_validateSsoProfile(), exports); + exports.SSOClient = SSOClient; } }); -// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveSsoCredentials.js -var require_resolveSsoCredentials = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveSsoCredentials.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js +var require_SSOServiceException = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveSsoCredentials = exports.isSsoProfile = void 0; - var credential_provider_sso_1 = require_dist_cjs49(); - var credential_provider_sso_2 = require_dist_cjs49(); - Object.defineProperty(exports, "isSsoProfile", { enumerable: true, get: function() { - return credential_provider_sso_2.isSsoProfile; + exports.SSOServiceException = exports.__ServiceException = void 0; + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function() { + return smithy_client_1.ServiceException; } }); - var resolveSsoCredentials = (data) => { - const { sso_start_url, sso_account_id, sso_session, sso_region, sso_role_name } = (0, credential_provider_sso_1.validateSsoProfile)(data); - return (0, credential_provider_sso_1.fromSSO)({ - ssoStartUrl: sso_start_url, - ssoAccountId: sso_account_id, - ssoSession: sso_session, - ssoRegion: sso_region, - ssoRoleName: sso_role_name - })(); + var SSOServiceException = class _SSOServiceException extends smithy_client_1.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, _SSOServiceException.prototype); + } }; - exports.resolveSsoCredentials = resolveSsoCredentials; + exports.SSOServiceException = SSOServiceException; } }); -// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveStaticCredentials.js -var require_resolveStaticCredentials = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveStaticCredentials.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/models/models_0.js +var require_models_02 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/models/models_0.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveStaticCredentials = exports.isStaticCredsProfile = void 0; - var isStaticCredsProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.aws_access_key_id === "string" && typeof arg.aws_secret_access_key === "string" && ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1; - exports.isStaticCredsProfile = isStaticCredsProfile; - var resolveStaticCredentials = (profile) => Promise.resolve({ - accessKeyId: profile.aws_access_key_id, - secretAccessKey: profile.aws_secret_access_key, - sessionToken: profile.aws_session_token + exports.LogoutRequestFilterSensitiveLog = exports.ListAccountsRequestFilterSensitiveLog = exports.ListAccountRolesRequestFilterSensitiveLog = exports.GetRoleCredentialsResponseFilterSensitiveLog = exports.RoleCredentialsFilterSensitiveLog = exports.GetRoleCredentialsRequestFilterSensitiveLog = exports.UnauthorizedException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.InvalidRequestException = void 0; + var smithy_client_1 = require_dist_cjs37(); + var SSOServiceException_1 = require_SSOServiceException(); + var InvalidRequestException = class _InvalidRequestException extends SSOServiceException_1.SSOServiceException { + constructor(opts) { + super({ + name: "InvalidRequestException", + $fault: "client", + ...opts + }); + this.name = "InvalidRequestException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidRequestException.prototype); + } + }; + exports.InvalidRequestException = InvalidRequestException; + var ResourceNotFoundException = class _ResourceNotFoundException extends SSOServiceException_1.SSOServiceException { + constructor(opts) { + super({ + name: "ResourceNotFoundException", + $fault: "client", + ...opts + }); + this.name = "ResourceNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); + } + }; + exports.ResourceNotFoundException = ResourceNotFoundException; + var TooManyRequestsException = class _TooManyRequestsException extends SSOServiceException_1.SSOServiceException { + constructor(opts) { + super({ + name: "TooManyRequestsException", + $fault: "client", + ...opts + }); + this.name = "TooManyRequestsException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _TooManyRequestsException.prototype); + } + }; + exports.TooManyRequestsException = TooManyRequestsException; + var UnauthorizedException = class _UnauthorizedException extends SSOServiceException_1.SSOServiceException { + constructor(opts) { + super({ + name: "UnauthorizedException", + $fault: "client", + ...opts + }); + this.name = "UnauthorizedException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _UnauthorizedException.prototype); + } + }; + exports.UnauthorizedException = UnauthorizedException; + var GetRoleCredentialsRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING } }); - exports.resolveStaticCredentials = resolveStaticCredentials; + exports.GetRoleCredentialsRequestFilterSensitiveLog = GetRoleCredentialsRequestFilterSensitiveLog; + var RoleCredentialsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.secretAccessKey && { secretAccessKey: smithy_client_1.SENSITIVE_STRING }, + ...obj.sessionToken && { sessionToken: smithy_client_1.SENSITIVE_STRING } + }); + exports.RoleCredentialsFilterSensitiveLog = RoleCredentialsFilterSensitiveLog; + var GetRoleCredentialsResponseFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.roleCredentials && { roleCredentials: (0, exports.RoleCredentialsFilterSensitiveLog)(obj.roleCredentials) } + }); + exports.GetRoleCredentialsResponseFilterSensitiveLog = GetRoleCredentialsResponseFilterSensitiveLog; + var ListAccountRolesRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING } + }); + exports.ListAccountRolesRequestFilterSensitiveLog = ListAccountRolesRequestFilterSensitiveLog; + var ListAccountsRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING } + }); + exports.ListAccountsRequestFilterSensitiveLog = ListAccountsRequestFilterSensitiveLog; + var LogoutRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING } + }); + exports.LogoutRequestFilterSensitiveLog = LogoutRequestFilterSensitiveLog; } }); -// ../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js -var require_fromWebToken = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js +var require_Aws_restJson1 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromWebToken = void 0; - var property_provider_1 = require_dist_cjs6(); - var fromWebToken = (init) => () => { - const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds, roleAssumerWithWebIdentity } = init; - if (!roleAssumerWithWebIdentity) { - throw new property_provider_1.CredentialsProviderError(`Role Arn '${roleArn}' needs to be assumed with web identity, but no role assumption callback was provided.`, false); - } - return roleAssumerWithWebIdentity({ - RoleArn: roleArn, - RoleSessionName: roleSessionName !== null && roleSessionName !== void 0 ? roleSessionName : `aws-sdk-js-session-${Date.now()}`, - WebIdentityToken: webIdentityToken, - ProviderId: providerId, - PolicyArns: policyArns, - Policy: policy, - DurationSeconds: durationSeconds + exports.de_LogoutCommand = exports.de_ListAccountsCommand = exports.de_ListAccountRolesCommand = exports.de_GetRoleCredentialsCommand = exports.se_LogoutCommand = exports.se_ListAccountsCommand = exports.se_ListAccountRolesCommand = exports.se_GetRoleCredentialsCommand = void 0; + var protocol_http_1 = require_dist_cjs2(); + var smithy_client_1 = require_dist_cjs37(); + var models_0_1 = require_models_02(); + var SSOServiceException_1 = require_SSOServiceException(); + var se_GetRoleCredentialsCommand = async (input, context) => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, { + "x-amz-sso_bearer_token": input.accessToken + }); + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}/federation/credentials`; + const query = (0, smithy_client_1.map)({ + role_name: [, (0, smithy_client_1.expectNonNull)(input.roleName, `roleName`)], + account_id: [, (0, smithy_client_1.expectNonNull)(input.accountId, `accountId`)] + }); + let body; + return new protocol_http_1.HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body }); }; - exports.fromWebToken = fromWebToken; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js -var require_fromTokenFile = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromTokenFile = void 0; - var property_provider_1 = require_dist_cjs6(); - var fs_1 = require("fs"); - var fromWebToken_1 = require_fromWebToken(); - var ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE"; - var ENV_ROLE_ARN = "AWS_ROLE_ARN"; - var ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME"; - var fromTokenFile = (init = {}) => async () => { - var _a, _b, _c; - const webIdentityTokenFile = (_a = init === null || init === void 0 ? void 0 : init.webIdentityTokenFile) !== null && _a !== void 0 ? _a : process.env[ENV_TOKEN_FILE]; - const roleArn = (_b = init === null || init === void 0 ? void 0 : init.roleArn) !== null && _b !== void 0 ? _b : process.env[ENV_ROLE_ARN]; - const roleSessionName = (_c = init === null || init === void 0 ? void 0 : init.roleSessionName) !== null && _c !== void 0 ? _c : process.env[ENV_ROLE_SESSION_NAME]; - if (!webIdentityTokenFile || !roleArn) { - throw new property_provider_1.CredentialsProviderError("Web identity configuration not specified"); - } - return (0, fromWebToken_1.fromWebToken)({ - ...init, - webIdentityToken: (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }), - roleArn, - roleSessionName - })(); + exports.se_GetRoleCredentialsCommand = se_GetRoleCredentialsCommand; + var se_ListAccountRolesCommand = async (input, context) => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, { + "x-amz-sso_bearer_token": input.accessToken + }); + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}/assignment/roles`; + const query = (0, smithy_client_1.map)({ + next_token: [, input.nextToken], + max_result: [() => input.maxResults !== void 0, () => input.maxResults.toString()], + account_id: [, (0, smithy_client_1.expectNonNull)(input.accountId, `accountId`)] + }); + let body; + return new protocol_http_1.HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body + }); }; - exports.fromTokenFile = fromTokenFile; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js -var require_dist_cjs50 = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_fromTokenFile(), exports); - tslib_1.__exportStar(require_fromWebToken(), exports); - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveWebIdentityCredentials.js -var require_resolveWebIdentityCredentials = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveWebIdentityCredentials.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveWebIdentityCredentials = exports.isWebIdentityProfile = void 0; - var credential_provider_web_identity_1 = require_dist_cjs50(); - var isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1; - exports.isWebIdentityProfile = isWebIdentityProfile; - var resolveWebIdentityCredentials = async (profile, options) => (0, credential_provider_web_identity_1.fromTokenFile)({ - webIdentityTokenFile: profile.web_identity_token_file, - roleArn: profile.role_arn, - roleSessionName: profile.role_session_name, - roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity - })(); - exports.resolveWebIdentityCredentials = resolveWebIdentityCredentials; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProfileData.js -var require_resolveProfileData = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProfileData.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveProfileData = void 0; - var property_provider_1 = require_dist_cjs6(); - var resolveAssumeRoleCredentials_1 = require_resolveAssumeRoleCredentials(); - var resolveProcessCredentials_1 = require_resolveProcessCredentials2(); - var resolveSsoCredentials_1 = require_resolveSsoCredentials(); - var resolveStaticCredentials_1 = require_resolveStaticCredentials(); - var resolveWebIdentityCredentials_1 = require_resolveWebIdentityCredentials(); - var resolveProfileData = async (profileName, profiles, options, visitedProfiles = {}) => { - const data = profiles[profileName]; - if (Object.keys(visitedProfiles).length > 0 && (0, resolveStaticCredentials_1.isStaticCredsProfile)(data)) { - return (0, resolveStaticCredentials_1.resolveStaticCredentials)(data); - } - if ((0, resolveAssumeRoleCredentials_1.isAssumeRoleProfile)(data)) { - return (0, resolveAssumeRoleCredentials_1.resolveAssumeRoleCredentials)(profileName, profiles, options, visitedProfiles); - } - if ((0, resolveStaticCredentials_1.isStaticCredsProfile)(data)) { - return (0, resolveStaticCredentials_1.resolveStaticCredentials)(data); - } - if ((0, resolveWebIdentityCredentials_1.isWebIdentityProfile)(data)) { - return (0, resolveWebIdentityCredentials_1.resolveWebIdentityCredentials)(data, options); - } - if ((0, resolveProcessCredentials_1.isProcessProfile)(data)) { - return (0, resolveProcessCredentials_1.resolveProcessCredentials)(options, profileName); - } - if ((0, resolveSsoCredentials_1.isSsoProfile)(data)) { - return (0, resolveSsoCredentials_1.resolveSsoCredentials)(data); - } - throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} could not be found or parsed in shared credentials file.`); + exports.se_ListAccountRolesCommand = se_ListAccountRolesCommand; + var se_ListAccountsCommand = async (input, context) => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, { + "x-amz-sso_bearer_token": input.accessToken + }); + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}/assignment/accounts`; + const query = (0, smithy_client_1.map)({ + next_token: [, input.nextToken], + max_result: [() => input.maxResults !== void 0, () => input.maxResults.toString()] + }); + let body; + return new protocol_http_1.HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body + }); }; - exports.resolveProfileData = resolveProfileData; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/fromIni.js -var require_fromIni = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/fromIni.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.fromIni = void 0; - var shared_ini_file_loader_1 = require_dist_cjs38(); - var resolveProfileData_1 = require_resolveProfileData(); - var fromIni = (init = {}) => async () => { - const profiles = await (0, shared_ini_file_loader_1.parseKnownFiles)(init); - return (0, resolveProfileData_1.resolveProfileData)((0, shared_ini_file_loader_1.getProfileName)(init), profiles, init); + exports.se_ListAccountsCommand = se_ListAccountsCommand; + var se_LogoutCommand = async (input, context) => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, { + "x-amz-sso_bearer_token": input.accessToken + }); + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}/logout`; + let body; + return new protocol_http_1.HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body + }); }; - exports.fromIni = fromIni; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js -var require_dist_cjs51 = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_fromIni(), exports); - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/remoteProvider.js -var require_remoteProvider = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/remoteProvider.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.remoteProvider = exports.ENV_IMDS_DISABLED = void 0; - var credential_provider_imds_1 = require_dist_cjs40(); - var property_provider_1 = require_dist_cjs6(); - exports.ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; - var 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); - } - if (process.env[exports.ENV_IMDS_DISABLED]) { - return async () => { - throw new property_provider_1.CredentialsProviderError("EC2 Instance Metadata Service access disabled"); - }; + exports.se_LogoutCommand = se_LogoutCommand; + var de_GetRoleCredentialsCommand = async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_GetRoleCredentialsCommandError(output, context); } - return (0, credential_provider_imds_1.fromInstanceMetadata)(init); + const contents = (0, smithy_client_1.map)({ + $metadata: deserializeMetadata(output) + }); + const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); + const doc = (0, smithy_client_1.take)(data, { + roleCredentials: smithy_client_1._json + }); + Object.assign(contents, doc); + return contents; }; - exports.remoteProvider = remoteProvider; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/defaultProvider.js -var require_defaultProvider = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/defaultProvider.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.defaultProvider = void 0; - var credential_provider_env_1 = require_dist_cjs37(); - var credential_provider_ini_1 = require_dist_cjs51(); - var credential_provider_process_1 = require_dist_cjs41(); - var credential_provider_sso_1 = require_dist_cjs49(); - var credential_provider_web_identity_1 = require_dist_cjs50(); - var property_provider_1 = require_dist_cjs6(); - var shared_ini_file_loader_1 = require_dist_cjs38(); - var remoteProvider_1 = require_remoteProvider(); - var defaultProvider = (init = {}) => (0, property_provider_1.memoize)((0, property_provider_1.chain)(...init.profile || process.env[shared_ini_file_loader_1.ENV_PROFILE] ? [] : [(0, credential_provider_env_1.fromEnv)()], (0, credential_provider_sso_1.fromSSO)(init), (0, credential_provider_ini_1.fromIni)(init), (0, credential_provider_process_1.fromProcess)(init), (0, credential_provider_web_identity_1.fromTokenFile)(init), (0, remoteProvider_1.remoteProvider)(init), async () => { - throw new property_provider_1.CredentialsProviderError("Could not load credentials from any providers", false); - }), (credentials) => credentials.expiration !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5, (credentials) => credentials.expiration !== void 0); - exports.defaultProvider = defaultProvider; - } -}); - -// ../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js -var require_dist_cjs52 = __commonJS({ - "../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_defaultProvider(), exports); - } -}); - -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js -var require_ruleset2 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.ruleSet = void 0; - var F = "required"; - var G = "type"; - var H = "fn"; - var I = "argv"; - var J = "ref"; - var a = false; - var b = true; - var c = "booleanEquals"; - var d = "tree"; - var e = "stringEquals"; - var f = "sigv4"; - var g = "sts"; - var h = "us-east-1"; - var i = "endpoint"; - var j = "https://sts.{Region}.{PartitionResult#dnsSuffix}"; - var k = "error"; - var l = "getAttr"; - var m = { [F]: false, [G]: "String" }; - var n = { [F]: true, "default": false, [G]: "Boolean" }; - var o = { [J]: "Endpoint" }; - var p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }; - var q = { [J]: "Region" }; - var r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }; - var s = { [J]: "UseFIPS" }; - var t = { [J]: "UseDualStack" }; - var u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": f, "signingName": g, "signingRegion": h }] }, "headers": {} }; - var v = {}; - var w = { "conditions": [{ [H]: e, [I]: [q, "aws-global"] }], [i]: u, [G]: i }; - var x = { [H]: c, [I]: [s, true] }; - var y = { [H]: c, [I]: [t, true] }; - var z = { [H]: c, [I]: [true, { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }] }; - var A = { [J]: "PartitionResult" }; - var B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }; - var C = [{ [H]: "isSet", [I]: [o] }]; - var D = [x]; - var E = [y]; - var _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: i }, w, { conditions: [{ [H]: e, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, h] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-east-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-2"] }], endpoint: u, [G]: i }, { endpoint: { url: j, properties: { authSchemes: [{ name: f, signingName: g, signingRegion: "{Region}" }] }, headers: v }, [G]: i }] }, { conditions: C, [G]: d, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: i }] }, { conditions: [p], [G]: d, rules: [{ conditions: [r], [G]: d, rules: [{ conditions: [x, y], [G]: d, rules: [{ conditions: [z, B], [G]: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }] }, { conditions: D, [G]: d, rules: [{ conditions: [z], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: ["aws-us-gov", { [H]: l, [I]: [A, "name"] }] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: i }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }] }, { conditions: E, [G]: d, rules: [{ conditions: [B], [G]: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }] }, w, { endpoint: { url: j, properties: v, headers: v }, [G]: i }] }] }, { error: "Invalid Configuration: Missing Region", [G]: k }] }; - exports.ruleSet = _data; - } -}); - -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js -var require_endpointResolver2 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.defaultEndpointResolver = void 0; - var util_endpoints_1 = require_dist_cjs18(); - var ruleset_1 = require_ruleset2(); - var defaultEndpointResolver = (endpointParams, context = {}) => { - return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, { - endpointParams, - logger: context.logger - }); - }; - exports.defaultEndpointResolver = defaultEndpointResolver; - } -}); - -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js -var require_runtimeConfig_shared2 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getRuntimeConfig = void 0; - var smithy_client_1 = require_dist_cjs35(); - var url_parser_1 = require_dist_cjs24(); - var util_base64_1 = require_dist_cjs31(); - var util_utf8_1 = require_dist_cjs13(); - var endpointResolver_1 = require_endpointResolver2(); - var getRuntimeConfig = (config) => ({ - apiVersion: "2011-06-15", - base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, - base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, - disableHostPrefix: config?.disableHostPrefix ?? false, - endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, - extensions: config?.extensions ?? [], - logger: config?.logger ?? new smithy_client_1.NoOpLogger(), - serviceId: config?.serviceId ?? "STS", - urlParser: config?.urlParser ?? url_parser_1.parseUrl, - utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, - utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8 - }); - exports.getRuntimeConfig = getRuntimeConfig; - } -}); - -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js -var require_runtimeConfig2 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getRuntimeConfig = void 0; - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - var package_json_1 = tslib_1.__importDefault(require_package2()); - var defaultStsRoleAssumers_1 = require_defaultStsRoleAssumers(); - var credential_provider_node_1 = require_dist_cjs52(); - var util_user_agent_node_1 = require_dist_cjs42(); - var config_resolver_1 = require_dist_cjs21(); - var hash_node_1 = require_dist_cjs43(); - var middleware_retry_1 = require_dist_cjs29(); - var node_config_provider_1 = require_dist_cjs39(); - var node_http_handler_1 = require_dist_cjs33(); - var util_body_length_node_1 = require_dist_cjs44(); - var util_retry_1 = require_dist_cjs28(); - var runtimeConfig_shared_1 = require_runtimeConfig_shared2(); - var smithy_client_1 = require_dist_cjs35(); - var util_defaults_mode_node_1 = require_dist_cjs45(); - var smithy_client_2 = require_dist_cjs35(); - var getRuntimeConfig = (config) => { - (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version); - const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); - const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); - const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); - return { - ...clientSharedValues, - ...config, - runtime: "node", - defaultsMode, - bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, - credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, defaultStsRoleAssumers_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider), - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), - maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), - region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), - requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider), - retryMode: config?.retryMode ?? (0, node_config_provider_1.loadConfig)({ - ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, - default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE - }), - sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), - streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), - useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS) + exports.de_GetRoleCredentialsCommand = de_GetRoleCredentialsCommand; + var de_GetRoleCredentialsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidRequestException": + case "com.amazonaws.sso#InvalidRequestException": + throw await de_InvalidRequestExceptionRes(parsedOutput, context); + case "ResourceNotFoundException": + case "com.amazonaws.sso#ResourceNotFoundException": + throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); + case "TooManyRequestsException": + case "com.amazonaws.sso#TooManyRequestsException": + throw await de_TooManyRequestsExceptionRes(parsedOutput, context); + case "UnauthorizedException": + case "com.amazonaws.sso#UnauthorizedException": + throw await de_UnauthorizedExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } }; - exports.getRuntimeConfig = getRuntimeConfig; - } -}); - -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js -var require_runtimeExtensions2 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveRuntimeExtensions = void 0; - var region_config_resolver_1 = require_dist_cjs46(); - var protocol_http_1 = require_dist_cjs2(); - var smithy_client_1 = require_dist_cjs35(); - var asPartial = (t) => t; - var resolveRuntimeExtensions = (runtimeConfig, extensions) => { - const extensionConfiguration = { - ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)), - ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)), - ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)) - }; - extensions.forEach((extension) => extension.configure(extensionConfiguration)); - return { - ...runtimeConfig, - ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), - ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), - ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration) + var de_ListAccountRolesCommand = async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_ListAccountRolesCommandError(output, context); + } + const contents = (0, smithy_client_1.map)({ + $metadata: deserializeMetadata(output) + }); + const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); + const doc = (0, smithy_client_1.take)(data, { + nextToken: smithy_client_1.expectString, + roleList: smithy_client_1._json + }); + Object.assign(contents, doc); + return contents; + }; + exports.de_ListAccountRolesCommand = de_ListAccountRolesCommand; + var de_ListAccountRolesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidRequestException": + case "com.amazonaws.sso#InvalidRequestException": + throw await de_InvalidRequestExceptionRes(parsedOutput, context); + case "ResourceNotFoundException": + case "com.amazonaws.sso#ResourceNotFoundException": + throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); + case "TooManyRequestsException": + case "com.amazonaws.sso#TooManyRequestsException": + throw await de_TooManyRequestsExceptionRes(parsedOutput, context); + case "UnauthorizedException": + case "com.amazonaws.sso#UnauthorizedException": + throw await de_UnauthorizedExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } }; - exports.resolveRuntimeExtensions = resolveRuntimeExtensions; - } -}); - -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js -var require_STSClient = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.STSClient = exports.__Client = void 0; - var middleware_host_header_1 = require_dist_cjs3(); - var middleware_logger_1 = require_dist_cjs4(); - var middleware_recursion_detection_1 = require_dist_cjs5(); - var middleware_sdk_sts_1 = require_dist_cjs36(); - var middleware_user_agent_1 = require_dist_cjs19(); - var config_resolver_1 = require_dist_cjs21(); - var middleware_content_length_1 = require_dist_cjs22(); - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_retry_1 = require_dist_cjs29(); - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "__Client", { enumerable: true, get: function() { - return smithy_client_1.Client; - } }); - var EndpointParameters_1 = require_EndpointParameters2(); - var runtimeConfig_1 = require_runtimeConfig2(); - var runtimeExtensions_1 = require_runtimeExtensions2(); - var STSClient = class _STSClient extends smithy_client_1.Client { - constructor(...[configuration]) { - const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {}); - const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0); - const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1); - const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2); - const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3); - const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4); - const _config_6 = (0, middleware_sdk_sts_1.resolveStsAuthConfig)(_config_5, { stsClientCtor: _STSClient }); - const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6); - const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []); - super(_config_8); - this.config = _config_8; - 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_recursion_detection_1.getRecursionDetectionPlugin)(this.config)); - this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config)); + var de_ListAccountsCommand = async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_ListAccountsCommandError(output, context); } - destroy() { - super.destroy(); + const contents = (0, smithy_client_1.map)({ + $metadata: deserializeMetadata(output) + }); + const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); + const doc = (0, smithy_client_1.take)(data, { + accountList: smithy_client_1._json, + nextToken: smithy_client_1.expectString + }); + Object.assign(contents, doc); + return contents; + }; + exports.de_ListAccountsCommand = de_ListAccountsCommand; + var de_ListAccountsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidRequestException": + case "com.amazonaws.sso#InvalidRequestException": + throw await de_InvalidRequestExceptionRes(parsedOutput, context); + case "ResourceNotFoundException": + case "com.amazonaws.sso#ResourceNotFoundException": + throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); + case "TooManyRequestsException": + case "com.amazonaws.sso#TooManyRequestsException": + throw await de_TooManyRequestsExceptionRes(parsedOutput, context); + case "UnauthorizedException": + case "com.amazonaws.sso#UnauthorizedException": + throw await de_UnauthorizedExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_LogoutCommand = async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_LogoutCommandError(output, context); + } + const contents = (0, smithy_client_1.map)({ + $metadata: deserializeMetadata(output) + }); + await (0, smithy_client_1.collectBody)(output.body, context); + return contents; + }; + exports.de_LogoutCommand = de_LogoutCommand; + var de_LogoutCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidRequestException": + case "com.amazonaws.sso#InvalidRequestException": + throw await de_InvalidRequestExceptionRes(parsedOutput, context); + case "TooManyRequestsException": + case "com.amazonaws.sso#TooManyRequestsException": + throw await de_TooManyRequestsExceptionRes(parsedOutput, context); + case "UnauthorizedException": + case "com.amazonaws.sso#UnauthorizedException": + throw await de_UnauthorizedExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var throwDefaultError = (0, smithy_client_1.withBaseException)(SSOServiceException_1.SSOServiceException); + var de_InvalidRequestExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_1.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_1.take)(data, { + message: smithy_client_1.expectString + }); + Object.assign(contents, doc); + const exception = new models_0_1.InvalidRequestException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); + }; + var de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_1.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_1.take)(data, { + message: smithy_client_1.expectString + }); + Object.assign(contents, doc); + const exception = new models_0_1.ResourceNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); + }; + var de_TooManyRequestsExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_1.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_1.take)(data, { + message: smithy_client_1.expectString + }); + Object.assign(contents, doc); + const exception = new models_0_1.TooManyRequestsException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); + }; + var de_UnauthorizedExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_1.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_1.take)(data, { + message: smithy_client_1.expectString + }); + Object.assign(contents, doc); + const exception = new models_0_1.UnauthorizedException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); + }; + var deserializeMetadata = (output) => ({ + httpStatusCode: output.statusCode, + requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], + extendedRequestId: output.headers["x-amz-id-2"], + cfId: output.headers["x-amz-cf-id"] + }); + var collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)); + var isSerializableHeaderValue = (value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); + var parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + return JSON.parse(encoded); + } + return {}; + }); + var parseErrorBody = async (errorBody, context) => { + const value = await parseBody(errorBody, context); + value.message = value.message ?? value.Message; + return value; + }; + var loadRestJsonErrorCode = (output, data) => { + const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); + const sanitizeErrorCode = (rawValue) => { + let cleanValue = rawValue; + if (typeof cleanValue === "number") { + cleanValue = cleanValue.toString(); + } + if (cleanValue.indexOf(",") >= 0) { + cleanValue = cleanValue.split(",")[0]; + } + if (cleanValue.indexOf(":") >= 0) { + cleanValue = cleanValue.split(":")[0]; + } + if (cleanValue.indexOf("#") >= 0) { + cleanValue = cleanValue.split("#")[1]; + } + return cleanValue; + }; + const headerKey = findKey(output.headers, "x-amzn-errortype"); + if (headerKey !== void 0) { + return sanitizeErrorCode(output.headers[headerKey]); + } + if (data.code !== void 0) { + return sanitizeErrorCode(data.code); + } + if (data["__type"] !== void 0) { + return sanitizeErrorCode(data["__type"]); } }; - exports.STSClient = STSClient; } }); -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js -var require_AssumeRoleWithSAMLCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +var require_GetRoleCredentialsCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.AssumeRoleWithSAMLCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + exports.GetRoleCredentialsCommand = exports.$Command = void 0; + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); var types_1 = require_dist_cjs(); - var models_0_1 = require_models_0(); - var Aws_query_1 = require_Aws_query(); - var AssumeRoleWithSAMLCommand = class _AssumeRoleWithSAMLCommand extends smithy_client_1.Command { + var models_0_1 = require_models_02(); + var Aws_restJson1_1 = require_Aws_restJson1(); + var GetRoleCredentialsCommand = class _GetRoleCredentialsCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { - UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, @@ -18527,55 +16514,54 @@ var require_AssumeRoleWithSAMLCommand = __commonJS({ } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _AssumeRoleWithSAMLCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _GetRoleCredentialsCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "STSClient"; - const commandName = "AssumeRoleWithSAMLCommand"; + const clientName = "SSOClient"; + const commandName = "GetRoleCredentialsCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: models_0_1.AssumeRoleWithSAMLRequestFilterSensitiveLog, - outputFilterSensitiveLog: models_0_1.AssumeRoleWithSAMLResponseFilterSensitiveLog, + inputFilterSensitiveLog: models_0_1.GetRoleCredentialsRequestFilterSensitiveLog, + outputFilterSensitiveLog: models_0_1.GetRoleCredentialsResponseFilterSensitiveLog, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSSecurityTokenServiceV20110615", - operation: "AssumeRoleWithSAML" + service: "SWBPortalService", + operation: "GetRoleCredentials" } }; const { requestHandler } = configuration; return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_query_1.se_AssumeRoleWithSAMLCommand)(input, context); + return (0, Aws_restJson1_1.se_GetRoleCredentialsCommand)(input, context); } deserialize(output, context) { - return (0, Aws_query_1.de_AssumeRoleWithSAMLCommand)(output, context); + return (0, Aws_restJson1_1.de_GetRoleCredentialsCommand)(output, context); } }; - exports.AssumeRoleWithSAMLCommand = AssumeRoleWithSAMLCommand; + exports.GetRoleCredentialsCommand = GetRoleCredentialsCommand; } }); -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js -var require_DecodeAuthorizationMessageCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +var require_ListAccountRolesCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.DecodeAuthorizationMessageCommand = exports.$Command = void 0; - var middleware_signing_1 = require_dist_cjs16(); - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + exports.ListAccountRolesCommand = exports.$Command = void 0; + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); var types_1 = require_dist_cjs(); - var Aws_query_1 = require_Aws_query(); - var DecodeAuthorizationMessageCommand = class _DecodeAuthorizationMessageCommand extends smithy_client_1.Command { + var models_0_1 = require_models_02(); + var Aws_restJson1_1 = require_Aws_restJson1(); + var ListAccountRolesCommand = class _ListAccountRolesCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { - UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, @@ -18588,56 +16574,54 @@ var require_DecodeAuthorizationMessageCommand = __commonJS({ } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _DecodeAuthorizationMessageCommand.getEndpointParameterInstructions())); - this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _ListAccountRolesCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "STSClient"; - const commandName = "DecodeAuthorizationMessageCommand"; + const clientName = "SSOClient"; + const commandName = "ListAccountRolesCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: (_) => _, + inputFilterSensitiveLog: models_0_1.ListAccountRolesRequestFilterSensitiveLog, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSSecurityTokenServiceV20110615", - operation: "DecodeAuthorizationMessage" + service: "SWBPortalService", + operation: "ListAccountRoles" } }; const { requestHandler } = configuration; return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_query_1.se_DecodeAuthorizationMessageCommand)(input, context); + return (0, Aws_restJson1_1.se_ListAccountRolesCommand)(input, context); } deserialize(output, context) { - return (0, Aws_query_1.de_DecodeAuthorizationMessageCommand)(output, context); + return (0, Aws_restJson1_1.de_ListAccountRolesCommand)(output, context); } }; - exports.DecodeAuthorizationMessageCommand = DecodeAuthorizationMessageCommand; + exports.ListAccountRolesCommand = ListAccountRolesCommand; } }); -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js -var require_GetAccessKeyInfoCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +var require_ListAccountsCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.GetAccessKeyInfoCommand = exports.$Command = void 0; - var middleware_signing_1 = require_dist_cjs16(); - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + exports.ListAccountsCommand = exports.$Command = void 0; + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); var types_1 = require_dist_cjs(); - var Aws_query_1 = require_Aws_query(); - var GetAccessKeyInfoCommand = class _GetAccessKeyInfoCommand extends smithy_client_1.Command { + var models_0_1 = require_models_02(); + var Aws_restJson1_1 = require_Aws_restJson1(); + var ListAccountsCommand = class _ListAccountsCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { - UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, @@ -18650,56 +16634,54 @@ var require_GetAccessKeyInfoCommand = __commonJS({ } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _GetAccessKeyInfoCommand.getEndpointParameterInstructions())); - this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _ListAccountsCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "STSClient"; - const commandName = "GetAccessKeyInfoCommand"; + const clientName = "SSOClient"; + const commandName = "ListAccountsCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: (_) => _, + inputFilterSensitiveLog: models_0_1.ListAccountsRequestFilterSensitiveLog, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSSecurityTokenServiceV20110615", - operation: "GetAccessKeyInfo" + service: "SWBPortalService", + operation: "ListAccounts" } }; const { requestHandler } = configuration; return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_query_1.se_GetAccessKeyInfoCommand)(input, context); + return (0, Aws_restJson1_1.se_ListAccountsCommand)(input, context); } deserialize(output, context) { - return (0, Aws_query_1.de_GetAccessKeyInfoCommand)(output, context); + return (0, Aws_restJson1_1.de_ListAccountsCommand)(output, context); } }; - exports.GetAccessKeyInfoCommand = GetAccessKeyInfoCommand; + exports.ListAccountsCommand = ListAccountsCommand; } }); -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js -var require_GetCallerIdentityCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +var require_LogoutCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.GetCallerIdentityCommand = exports.$Command = void 0; - var middleware_signing_1 = require_dist_cjs16(); - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + exports.LogoutCommand = exports.$Command = void 0; + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); var types_1 = require_dist_cjs(); - var Aws_query_1 = require_Aws_query(); - var GetCallerIdentityCommand = class _GetCallerIdentityCommand extends smithy_client_1.Command { + var models_0_1 = require_models_02(); + var Aws_restJson1_1 = require_Aws_restJson1(); + var LogoutCommand = class _LogoutCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { - UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, @@ -18712,3750 +16694,5922 @@ var require_GetCallerIdentityCommand = __commonJS({ } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _GetCallerIdentityCommand.getEndpointParameterInstructions())); - this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _LogoutCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "STSClient"; - const commandName = "GetCallerIdentityCommand"; + const clientName = "SSOClient"; + const commandName = "LogoutCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: (_) => _, + inputFilterSensitiveLog: models_0_1.LogoutRequestFilterSensitiveLog, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSSecurityTokenServiceV20110615", - operation: "GetCallerIdentity" + service: "SWBPortalService", + operation: "Logout" } }; const { requestHandler } = configuration; return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_query_1.se_GetCallerIdentityCommand)(input, context); + return (0, Aws_restJson1_1.se_LogoutCommand)(input, context); } deserialize(output, context) { - return (0, Aws_query_1.de_GetCallerIdentityCommand)(output, context); + return (0, Aws_restJson1_1.de_LogoutCommand)(output, context); } }; - exports.GetCallerIdentityCommand = GetCallerIdentityCommand; + exports.LogoutCommand = LogoutCommand; } }); -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js -var require_GetFederationTokenCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/SSO.js +var require_SSO = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/SSO.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.GetFederationTokenCommand = exports.$Command = void 0; - var middleware_signing_1 = require_dist_cjs16(); - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { - return smithy_client_1.Command; - } }); - var types_1 = require_dist_cjs(); - var models_0_1 = require_models_0(); - var Aws_query_1 = require_Aws_query(); - var GetFederationTokenCommand = class _GetFederationTokenCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _GetFederationTokenCommand.getEndpointParameterInstructions())); - this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "STSClient"; - const commandName = "GetFederationTokenCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: models_0_1.GetFederationTokenResponseFilterSensitiveLog, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSSecurityTokenServiceV20110615", - operation: "GetFederationToken" - } - }; - const { requestHandler } = configuration; - return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_query_1.se_GetFederationTokenCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_query_1.de_GetFederationTokenCommand)(output, context); - } + exports.SSO = void 0; + var smithy_client_1 = require_dist_cjs37(); + var GetRoleCredentialsCommand_1 = require_GetRoleCredentialsCommand(); + var ListAccountRolesCommand_1 = require_ListAccountRolesCommand(); + var ListAccountsCommand_1 = require_ListAccountsCommand(); + var LogoutCommand_1 = require_LogoutCommand(); + var SSOClient_1 = require_SSOClient(); + var commands = { + GetRoleCredentialsCommand: GetRoleCredentialsCommand_1.GetRoleCredentialsCommand, + ListAccountRolesCommand: ListAccountRolesCommand_1.ListAccountRolesCommand, + ListAccountsCommand: ListAccountsCommand_1.ListAccountsCommand, + LogoutCommand: LogoutCommand_1.LogoutCommand }; - exports.GetFederationTokenCommand = GetFederationTokenCommand; + var SSO = class extends SSOClient_1.SSOClient { + }; + exports.SSO = SSO; + (0, smithy_client_1.createAggregatedClient)(commands, SSO); } }); -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js -var require_GetSessionTokenCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/index.js +var require_commands = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/commands/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.GetSessionTokenCommand = exports.$Command = void 0; - var middleware_signing_1 = require_dist_cjs16(); - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { - return smithy_client_1.Command; - } }); - var types_1 = require_dist_cjs(); - var models_0_1 = require_models_0(); - var Aws_query_1 = require_Aws_query(); - var GetSessionTokenCommand = class _GetSessionTokenCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _GetSessionTokenCommand.getEndpointParameterInstructions())); - this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "STSClient"; - const commandName = "GetSessionTokenCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: models_0_1.GetSessionTokenResponseFilterSensitiveLog, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSSecurityTokenServiceV20110615", - operation: "GetSessionToken" - } - }; - const { requestHandler } = configuration; - return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_query_1.se_GetSessionTokenCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_query_1.de_GetSessionTokenCommand)(output, context); - } - }; - exports.GetSessionTokenCommand = GetSessionTokenCommand; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_GetRoleCredentialsCommand(), exports); + tslib_1.__exportStar(require_ListAccountRolesCommand(), exports); + tslib_1.__exportStar(require_ListAccountsCommand(), exports); + tslib_1.__exportStar(require_LogoutCommand(), exports); } }); -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/STS.js -var require_STS = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/STS.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/Interfaces.js +var require_Interfaces = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/Interfaces.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.STS = void 0; - var smithy_client_1 = require_dist_cjs35(); - var AssumeRoleCommand_1 = require_AssumeRoleCommand(); - var AssumeRoleWithSAMLCommand_1 = require_AssumeRoleWithSAMLCommand(); - var AssumeRoleWithWebIdentityCommand_1 = require_AssumeRoleWithWebIdentityCommand(); - var DecodeAuthorizationMessageCommand_1 = require_DecodeAuthorizationMessageCommand(); - var GetAccessKeyInfoCommand_1 = require_GetAccessKeyInfoCommand(); - var GetCallerIdentityCommand_1 = require_GetCallerIdentityCommand(); - var GetFederationTokenCommand_1 = require_GetFederationTokenCommand(); - var GetSessionTokenCommand_1 = require_GetSessionTokenCommand(); - var STSClient_1 = require_STSClient(); - var commands = { - AssumeRoleCommand: AssumeRoleCommand_1.AssumeRoleCommand, - AssumeRoleWithSAMLCommand: AssumeRoleWithSAMLCommand_1.AssumeRoleWithSAMLCommand, - AssumeRoleWithWebIdentityCommand: AssumeRoleWithWebIdentityCommand_1.AssumeRoleWithWebIdentityCommand, - DecodeAuthorizationMessageCommand: DecodeAuthorizationMessageCommand_1.DecodeAuthorizationMessageCommand, - GetAccessKeyInfoCommand: GetAccessKeyInfoCommand_1.GetAccessKeyInfoCommand, - GetCallerIdentityCommand: GetCallerIdentityCommand_1.GetCallerIdentityCommand, - GetFederationTokenCommand: GetFederationTokenCommand_1.GetFederationTokenCommand, - GetSessionTokenCommand: GetSessionTokenCommand_1.GetSessionTokenCommand - }; - var STS = class extends STSClient_1.STSClient { + } +}); + +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js +var require_ListAccountRolesPaginator = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.paginateListAccountRoles = void 0; + var ListAccountRolesCommand_1 = require_ListAccountRolesCommand(); + var SSOClient_1 = require_SSOClient(); + var makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListAccountRolesCommand_1.ListAccountRolesCommand(input), ...args); }; - exports.STS = STS; - (0, smithy_client_1.createAggregatedClient)(commands, STS); + async function* paginateListAccountRoles(config, input, ...additionalArguments) { + let token = config.startingToken || void 0; + let hasNext = true; + let page; + while (hasNext) { + input.nextToken = token; + input["maxResults"] = config.pageSize; + if (config.client instanceof SSOClient_1.SSOClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected SSO | SSOClient"); + } + yield page; + const prevToken = token; + token = page.nextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return void 0; + } + exports.paginateListAccountRoles = paginateListAccountRoles; } }); -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/index.js -var require_commands2 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/index.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js +var require_ListAccountsPaginator = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_AssumeRoleCommand(), exports); - tslib_1.__exportStar(require_AssumeRoleWithSAMLCommand(), exports); - tslib_1.__exportStar(require_AssumeRoleWithWebIdentityCommand(), exports); - tslib_1.__exportStar(require_DecodeAuthorizationMessageCommand(), exports); - tslib_1.__exportStar(require_GetAccessKeyInfoCommand(), exports); - tslib_1.__exportStar(require_GetCallerIdentityCommand(), exports); - tslib_1.__exportStar(require_GetFederationTokenCommand(), exports); - tslib_1.__exportStar(require_GetSessionTokenCommand(), exports); + exports.paginateListAccounts = void 0; + var ListAccountsCommand_1 = require_ListAccountsCommand(); + var SSOClient_1 = require_SSOClient(); + var makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListAccountsCommand_1.ListAccountsCommand(input), ...args); + }; + async function* paginateListAccounts(config, input, ...additionalArguments) { + let token = config.startingToken || void 0; + let hasNext = true; + let page; + while (hasNext) { + input.nextToken = token; + input["maxResults"] = config.pageSize; + if (config.client instanceof SSOClient_1.SSOClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected SSO | SSOClient"); + } + yield page; + const prevToken = token; + token = page.nextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return void 0; + } + exports.paginateListAccounts = paginateListAccounts; } }); -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/models/index.js -var require_models2 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/models/index.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/index.js +var require_pagination3 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/pagination/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_models_0(), exports); + tslib_1.__exportStar(require_Interfaces(), exports); + tslib_1.__exportStar(require_ListAccountRolesPaginator(), exports); + tslib_1.__exportStar(require_ListAccountsPaginator(), exports); } }); -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/defaultRoleAssumers.js -var require_defaultRoleAssumers = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/defaultRoleAssumers.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/models/index.js +var require_models = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/models/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.decorateDefaultCredentialProvider = exports.getDefaultRoleAssumerWithWebIdentity = exports.getDefaultRoleAssumer = void 0; - var defaultStsRoleAssumers_1 = require_defaultStsRoleAssumers(); - var STSClient_1 = require_STSClient(); - var getCustomizableStsClientCtor = (baseCtor, customizations) => { - if (!customizations) - return baseCtor; - else - return class CustomizableSTSClient extends baseCtor { - constructor(config) { - super(config); - for (const customization of customizations) { - this.middlewareStack.use(customization); - } - } - }; - }; - var getDefaultRoleAssumer = (stsOptions = {}, stsPlugins) => (0, defaultStsRoleAssumers_1.getDefaultRoleAssumer)(stsOptions, getCustomizableStsClientCtor(STSClient_1.STSClient, stsPlugins)); - exports.getDefaultRoleAssumer = getDefaultRoleAssumer; - var getDefaultRoleAssumerWithWebIdentity = (stsOptions = {}, stsPlugins) => (0, defaultStsRoleAssumers_1.getDefaultRoleAssumerWithWebIdentity)(stsOptions, getCustomizableStsClientCtor(STSClient_1.STSClient, stsPlugins)); - exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity; - var decorateDefaultCredentialProvider = (provider) => (input) => provider({ - roleAssumer: (0, exports.getDefaultRoleAssumer)(input), - roleAssumerWithWebIdentity: (0, exports.getDefaultRoleAssumerWithWebIdentity)(input), - ...input - }); - exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_models_02(), exports); } }); -// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/index.js -var require_dist_cjs53 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sts/dist-cjs/index.js"(exports) { +// ../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js +var require_dist_cjs47 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.STSServiceException = void 0; + exports.SSOServiceException = void 0; var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - tslib_1.__exportStar(require_STSClient(), exports); - tslib_1.__exportStar(require_STS(), exports); - tslib_1.__exportStar(require_commands2(), exports); - tslib_1.__exportStar(require_models2(), exports); - tslib_1.__exportStar(require_defaultRoleAssumers(), exports); - var STSServiceException_1 = require_STSServiceException(); - Object.defineProperty(exports, "STSServiceException", { enumerable: true, get: function() { - return STSServiceException_1.STSServiceException; + tslib_1.__exportStar(require_SSOClient(), exports); + tslib_1.__exportStar(require_SSO(), exports); + tslib_1.__exportStar(require_commands(), exports); + tslib_1.__exportStar(require_pagination3(), exports); + tslib_1.__exportStar(require_models(), exports); + var SSOServiceException_1 = require_SSOServiceException(); + Object.defineProperty(exports, "SSOServiceException", { enumerable: true, get: function() { + return SSOServiceException_1.SSOServiceException; } }); } }); -// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/endpoint/ruleset.js -var require_ruleset3 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/endpoint/ruleset.js"(exports) { +// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js +var require_client_sso_oidc_node = __commonJS({ + "../../../node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.ruleSet = void 0; - var r = "required"; - var s = "fn"; - var t = "argv"; - var u = "ref"; - var a = "isSet"; + exports.UnsupportedGrantTypeException = exports.UnauthorizedClientException = exports.SlowDownException = exports.SSOOIDCClient = exports.InvalidScopeException = exports.InvalidRequestException = exports.InvalidClientException = exports.InternalServerException = exports.ExpiredTokenException = exports.CreateTokenCommand = exports.AuthorizationPendingException = exports.AccessDeniedException = void 0; + var middleware_host_header_1 = require_dist_cjs3(); + var middleware_logger_1 = require_dist_cjs4(); + var middleware_recursion_detection_1 = require_dist_cjs5(); + var middleware_user_agent_1 = require_dist_cjs19(); + var config_resolver_1 = require_dist_cjs21(); + var middleware_content_length_1 = require_dist_cjs22(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_retry_1 = require_dist_cjs31(); + var smithy_client_1 = require_dist_cjs37(); + var resolveClientEndpointParameters = (options) => { + var _a, _b; + return { + ...options, + useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false, + useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false, + defaultSigningName: "awsssooidc" + }; + }; + var package_default = { version: "3.387.0" }; + var util_user_agent_node_1 = require_dist_cjs42(); + var config_resolver_2 = require_dist_cjs21(); + var hash_node_1 = require_dist_cjs43(); + var middleware_retry_2 = require_dist_cjs31(); + var node_config_provider_1 = require_dist_cjs24(); + var node_http_handler_1 = require_dist_cjs35(); + var util_body_length_node_1 = require_dist_cjs44(); + var util_retry_1 = require_dist_cjs30(); + var smithy_client_2 = require_dist_cjs37(); + var url_parser_1 = require_dist_cjs26(); + var util_base64_1 = require_dist_cjs33(); + var util_utf8_1 = require_dist_cjs13(); + var util_endpoints_1 = require_dist_cjs18(); + var p = "required"; + var q = "fn"; + var r = "argv"; + var s = "ref"; + var a = "PartitionResult"; var b = "tree"; var c = "error"; var d = "endpoint"; - var e = "PartitionResult"; - var f = { [r]: false, "type": "String" }; - var g = { [r]: true, "default": false, "type": "Boolean" }; - var h = { [u]: "Endpoint" }; - var i = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }; - var j = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }; - var k = {}; - var l = { [u]: "Region" }; - var m = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsFIPS"] }] }; - var n = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsDualStack"] }] }; + var e = { [p]: false, "type": "String" }; + var f = { [p]: true, "default": false, "type": "Boolean" }; + var g = { [s]: "Endpoint" }; + var h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }; + var i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }; + var j = {}; + var k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }; + var l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }; + var m = [g]; + var n = [h]; var o = [i]; - var p = [j]; - var q = [l]; - var _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [s]: a, [t]: [h] }], type: b, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [s]: a, [t]: q }], type: b, rules: [{ conditions: [{ [s]: "aws.partition", [t]: q, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ endpoint: { url: "https://states-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [s]: "stringEquals", [t]: [l, "us-gov-west-1"] }], endpoint: { url: "https://states.us-gov-west-1.amazonaws.com", properties: k, headers: k }, type: d }, { endpoint: { url: "https://states-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ endpoint: { url: "https://states.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://states.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }; - exports.ruleSet = _data; - } -}); - -// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/endpoint/endpointResolver.js -var require_endpointResolver3 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/endpoint/endpointResolver.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.defaultEndpointResolver = void 0; - var util_endpoints_1 = require_dist_cjs18(); - var ruleset_1 = require_ruleset3(); + var _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }; + var ruleSet = _data; var defaultEndpointResolver = (endpointParams, context = {}) => { - return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, { + return (0, util_endpoints_1.resolveEndpoint)(ruleSet, { endpointParams, logger: context.logger }); }; - exports.defaultEndpointResolver = defaultEndpointResolver; - } -}); - -// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/runtimeConfig.shared.js -var require_runtimeConfig_shared3 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/runtimeConfig.shared.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getRuntimeConfig = void 0; - var smithy_client_1 = require_dist_cjs35(); - var url_parser_1 = require_dist_cjs24(); - var util_base64_1 = require_dist_cjs31(); - var util_utf8_1 = require_dist_cjs13(); - var endpointResolver_1 = require_endpointResolver3(); - var getRuntimeConfig = (config) => ({ - apiVersion: "2016-11-23", - base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, - base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, - disableHostPrefix: config?.disableHostPrefix ?? false, - endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, - extensions: config?.extensions ?? [], - logger: config?.logger ?? new smithy_client_1.NoOpLogger(), - serviceId: config?.serviceId ?? "SFN", - urlParser: config?.urlParser ?? url_parser_1.parseUrl, - utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, - utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8 - }); - exports.getRuntimeConfig = getRuntimeConfig; - } -}); - -// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/runtimeConfig.js -var require_runtimeConfig3 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/runtimeConfig.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getRuntimeConfig = void 0; - var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - var package_json_1 = tslib_1.__importDefault(require_package()); - var client_sts_1 = require_dist_cjs53(); - var credential_provider_node_1 = require_dist_cjs52(); - var util_user_agent_node_1 = require_dist_cjs42(); - var config_resolver_1 = require_dist_cjs21(); - var hash_node_1 = require_dist_cjs43(); - var middleware_retry_1 = require_dist_cjs29(); - var node_config_provider_1 = require_dist_cjs39(); - var node_http_handler_1 = require_dist_cjs33(); - var util_body_length_node_1 = require_dist_cjs44(); - var util_retry_1 = require_dist_cjs28(); - var runtimeConfig_shared_1 = require_runtimeConfig_shared3(); - var smithy_client_1 = require_dist_cjs35(); - var util_defaults_mode_node_1 = require_dist_cjs45(); - var smithy_client_2 = require_dist_cjs35(); var getRuntimeConfig = (config) => { - (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version); + var _a, _b, _c, _d, _e, _f, _g, _h, _j; + return { + apiVersion: "2019-06-10", + base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_1.fromBase64, + base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_1.toBase64, + disableHostPrefix: (_c = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _c !== void 0 ? _c : false, + endpointProvider: (_d = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _d !== void 0 ? _d : defaultEndpointResolver, + logger: (_e = config === null || config === void 0 ? void 0 : config.logger) !== null && _e !== void 0 ? _e : new smithy_client_2.NoOpLogger(), + serviceId: (_f = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _f !== void 0 ? _f : "SSO OIDC", + urlParser: (_g = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _g !== void 0 ? _g : url_parser_1.parseUrl, + utf8Decoder: (_h = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _h !== void 0 ? _h : util_utf8_1.fromUtf8, + utf8Encoder: (_j = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _j !== void 0 ? _j : util_utf8_1.toUtf8 + }; + }; + var smithy_client_3 = require_dist_cjs37(); + var util_defaults_mode_node_1 = require_dist_cjs45(); + var smithy_client_4 = require_dist_cjs37(); + var getRuntimeConfig2 = (config) => { + var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k; + (0, smithy_client_4.emitWarningIfUnsupportedVersion)(process.version); const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); - const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); - const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_3.loadConfigsForDefaultMode); + const clientSharedValues = getRuntimeConfig(config); return { ...clientSharedValues, ...config, runtime: "node", defaultsMode, - bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, - credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider), - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), - maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), - region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), - requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider), - retryMode: config?.retryMode ?? (0, node_config_provider_1.loadConfig)({ - ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, + bodyLengthChecker: (_a = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _a !== void 0 ? _a : util_body_length_node_1.calculateBodyLength, + defaultUserAgentProvider: (_b = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _b !== void 0 ? _b : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }), + maxAttempts: (_c = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _c !== void 0 ? _c : (0, node_config_provider_1.loadConfig)(middleware_retry_2.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: (_d = config === null || config === void 0 ? void 0 : config.region) !== null && _d !== void 0 ? _d : (0, node_config_provider_1.loadConfig)(config_resolver_2.NODE_REGION_CONFIG_OPTIONS, config_resolver_2.NODE_REGION_CONFIG_FILE_OPTIONS), + requestHandler: (_e = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _e !== void 0 ? _e : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider), + retryMode: (_f = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)({ + ...middleware_retry_2.NODE_RETRY_MODE_CONFIG_OPTIONS, default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE }), - sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), - streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), - useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS) - }; - }; - exports.getRuntimeConfig = getRuntimeConfig; - } -}); - -// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/runtimeExtensions.js -var require_runtimeExtensions3 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/runtimeExtensions.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolveRuntimeExtensions = void 0; - var region_config_resolver_1 = require_dist_cjs46(); - var protocol_http_1 = require_dist_cjs2(); - var smithy_client_1 = require_dist_cjs35(); - var asPartial = (t) => t; - var resolveRuntimeExtensions = (runtimeConfig, extensions) => { - const extensionConfiguration = { - ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)), - ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)), - ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)) - }; - extensions.forEach((extension) => extension.configure(extensionConfiguration)); - return { - ...runtimeConfig, - ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), - ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), - ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration) + sha256: (_g = config === null || config === void 0 ? void 0 : config.sha256) !== null && _g !== void 0 ? _g : hash_node_1.Hash.bind(null, "sha256"), + streamCollector: (_h = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _h !== void 0 ? _h : node_http_handler_1.streamCollector, + useDualstackEndpoint: (_j = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)(config_resolver_2.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), + useFipsEndpoint: (_k = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _k !== void 0 ? _k : (0, node_config_provider_1.loadConfig)(config_resolver_2.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS) }; }; - exports.resolveRuntimeExtensions = resolveRuntimeExtensions; - } -}); - -// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/SFNClient.js -var require_SFNClient = __commonJS({ - "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/SFNClient.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.SFNClient = exports.__Client = void 0; - var middleware_host_header_1 = require_dist_cjs3(); - var middleware_logger_1 = require_dist_cjs4(); - var middleware_recursion_detection_1 = require_dist_cjs5(); - var middleware_signing_1 = require_dist_cjs16(); - var middleware_user_agent_1 = require_dist_cjs19(); - var config_resolver_1 = require_dist_cjs21(); - var middleware_content_length_1 = require_dist_cjs22(); - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_retry_1 = require_dist_cjs29(); - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "__Client", { enumerable: true, get: function() { - return smithy_client_1.Client; - } }); - var EndpointParameters_1 = require_EndpointParameters(); - var runtimeConfig_1 = require_runtimeConfig3(); - var runtimeExtensions_1 = require_runtimeExtensions3(); - var SFNClient = class extends smithy_client_1.Client { + var SSOOIDCClient = class extends smithy_client_1.Client { constructor(...[configuration]) { - const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {}); - const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0); + const _config_0 = getRuntimeConfig2(configuration || {}); + const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1); const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2); const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3); const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4); - const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5); - const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6); - const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []); - super(_config_8); - this.config = _config_8; + const _config_6 = (0, 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_recursion_detection_1.getRecursionDetectionPlugin)(this.config)); - this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config)); this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config)); } destroy() { super.destroy(); } }; - exports.SFNClient = SFNClient; - } -}); - -// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/models/SFNServiceException.js -var require_SFNServiceException = __commonJS({ - "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/models/SFNServiceException.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.SFNServiceException = exports.__ServiceException = void 0; - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function() { - return smithy_client_1.ServiceException; - } }); - var SFNServiceException = class _SFNServiceException extends smithy_client_1.ServiceException { + exports.SSOOIDCClient = SSOOIDCClient; + var smithy_client_5 = require_dist_cjs37(); + var middleware_endpoint_2 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_6 = require_dist_cjs37(); + var protocol_http_1 = require_dist_cjs2(); + var smithy_client_7 = require_dist_cjs37(); + var smithy_client_8 = require_dist_cjs37(); + var SSOOIDCServiceException = class _SSOOIDCServiceException extends smithy_client_8.ServiceException { constructor(options) { super(options); - Object.setPrototypeOf(this, _SFNServiceException.prototype); + Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype); } }; - exports.SFNServiceException = SFNServiceException; - } -}); - -// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/models/models_0.js -var require_models_03 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/models/models_0.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.ExecutionStartedEventDetailsFilterSensitiveLog = exports.ExecutionFailedEventDetailsFilterSensitiveLog = exports.ExecutionAbortedEventDetailsFilterSensitiveLog = exports.GetActivityTaskOutputFilterSensitiveLog = exports.DescribeStateMachineForExecutionOutputFilterSensitiveLog = exports.DescribeStateMachineAliasOutputFilterSensitiveLog = exports.DescribeStateMachineOutputFilterSensitiveLog = exports.DescribeExecutionOutputFilterSensitiveLog = exports.CreateStateMachineAliasInputFilterSensitiveLog = exports.CreateStateMachineInputFilterSensitiveLog = exports.ActivityTimedOutEventDetailsFilterSensitiveLog = exports.ActivitySucceededEventDetailsFilterSensitiveLog = exports.ActivityScheduleFailedEventDetailsFilterSensitiveLog = exports.ActivityScheduledEventDetailsFilterSensitiveLog = exports.ActivityFailedEventDetailsFilterSensitiveLog = exports.MissingRequiredParameter = exports.SyncExecutionStatus = exports.InvalidExecutionInput = exports.ExecutionLimitExceeded = exports.ExecutionAlreadyExists = exports.InvalidOutput = exports.TaskTimedOut = exports.TaskDoesNotExist = exports.InvalidToken = exports.HistoryEventType = exports.StateMachineDoesNotExist = exports.StateMachineStatus = exports.MapRunStatus = exports.ExecutionDoesNotExist = exports.ExecutionStatus = exports.ServiceQuotaExceededException = exports.ResourceNotFound = exports.ValidationException = exports.ValidationExceptionReason = exports.StateMachineTypeNotSupported = exports.StateMachineLimitExceeded = exports.StateMachineDeleting = exports.StateMachineAlreadyExists = exports.InvalidTracingConfiguration = exports.InvalidLoggingConfiguration = exports.InvalidDefinition = exports.InvalidArn = exports.StateMachineType = exports.LogLevel = exports.ConflictException = exports.TooManyTags = exports.InvalidName = exports.ActivityWorkerLimitExceeded = exports.ActivityLimitExceeded = exports.ActivityDoesNotExist = void 0; - exports.UpdateStateMachineAliasInputFilterSensitiveLog = exports.UpdateStateMachineInputFilterSensitiveLog = exports.StopExecutionInputFilterSensitiveLog = exports.StartSyncExecutionOutputFilterSensitiveLog = exports.StartSyncExecutionInputFilterSensitiveLog = exports.StartExecutionInputFilterSensitiveLog = exports.SendTaskSuccessInputFilterSensitiveLog = exports.SendTaskFailureInputFilterSensitiveLog = exports.PublishStateMachineVersionInputFilterSensitiveLog = exports.GetExecutionHistoryOutputFilterSensitiveLog = exports.HistoryEventFilterSensitiveLog = exports.TaskTimedOutEventDetailsFilterSensitiveLog = exports.TaskSucceededEventDetailsFilterSensitiveLog = exports.TaskSubmittedEventDetailsFilterSensitiveLog = exports.TaskSubmitFailedEventDetailsFilterSensitiveLog = exports.TaskStartFailedEventDetailsFilterSensitiveLog = exports.TaskScheduledEventDetailsFilterSensitiveLog = exports.TaskFailedEventDetailsFilterSensitiveLog = exports.StateExitedEventDetailsFilterSensitiveLog = exports.StateEnteredEventDetailsFilterSensitiveLog = exports.MapRunFailedEventDetailsFilterSensitiveLog = exports.LambdaFunctionTimedOutEventDetailsFilterSensitiveLog = exports.LambdaFunctionSucceededEventDetailsFilterSensitiveLog = exports.LambdaFunctionStartFailedEventDetailsFilterSensitiveLog = exports.LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog = exports.LambdaFunctionScheduledEventDetailsFilterSensitiveLog = exports.LambdaFunctionFailedEventDetailsFilterSensitiveLog = exports.ExecutionTimedOutEventDetailsFilterSensitiveLog = exports.ExecutionSucceededEventDetailsFilterSensitiveLog = void 0; - var smithy_client_1 = require_dist_cjs35(); - var SFNServiceException_1 = require_SFNServiceException(); - var ActivityDoesNotExist = class _ActivityDoesNotExist extends SFNServiceException_1.SFNServiceException { + var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException { constructor(opts) { super({ - name: "ActivityDoesNotExist", + name: "AccessDeniedException", $fault: "client", ...opts }); - this.name = "ActivityDoesNotExist"; + this.name = "AccessDeniedException"; this.$fault = "client"; - Object.setPrototypeOf(this, _ActivityDoesNotExist.prototype); + Object.setPrototypeOf(this, _AccessDeniedException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; } }; - exports.ActivityDoesNotExist = ActivityDoesNotExist; - var ActivityLimitExceeded = class _ActivityLimitExceeded extends SFNServiceException_1.SFNServiceException { + exports.AccessDeniedException = AccessDeniedException; + var AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException { constructor(opts) { super({ - name: "ActivityLimitExceeded", + name: "AuthorizationPendingException", $fault: "client", ...opts }); - this.name = "ActivityLimitExceeded"; + this.name = "AuthorizationPendingException"; this.$fault = "client"; - Object.setPrototypeOf(this, _ActivityLimitExceeded.prototype); + Object.setPrototypeOf(this, _AuthorizationPendingException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; } }; - exports.ActivityLimitExceeded = ActivityLimitExceeded; - var ActivityWorkerLimitExceeded = class _ActivityWorkerLimitExceeded extends SFNServiceException_1.SFNServiceException { + exports.AuthorizationPendingException = AuthorizationPendingException; + var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException { constructor(opts) { super({ - name: "ActivityWorkerLimitExceeded", + name: "ExpiredTokenException", $fault: "client", ...opts }); - this.name = "ActivityWorkerLimitExceeded"; + this.name = "ExpiredTokenException"; this.$fault = "client"; - Object.setPrototypeOf(this, _ActivityWorkerLimitExceeded.prototype); + Object.setPrototypeOf(this, _ExpiredTokenException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; } }; - exports.ActivityWorkerLimitExceeded = ActivityWorkerLimitExceeded; - var InvalidName = class _InvalidName extends SFNServiceException_1.SFNServiceException { + exports.ExpiredTokenException = ExpiredTokenException; + var InternalServerException = class _InternalServerException extends SSOOIDCServiceException { constructor(opts) { super({ - name: "InvalidName", - $fault: "client", + name: "InternalServerException", + $fault: "server", ...opts }); - this.name = "InvalidName"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidName.prototype); + this.name = "InternalServerException"; + this.$fault = "server"; + Object.setPrototypeOf(this, _InternalServerException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; } }; - exports.InvalidName = InvalidName; - var TooManyTags = class _TooManyTags extends SFNServiceException_1.SFNServiceException { + exports.InternalServerException = InternalServerException; + var InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException { constructor(opts) { super({ - name: "TooManyTags", + name: "InvalidClientException", $fault: "client", ...opts }); - this.name = "TooManyTags"; + this.name = "InvalidClientException"; this.$fault = "client"; - Object.setPrototypeOf(this, _TooManyTags.prototype); - this.resourceName = opts.resourceName; + Object.setPrototypeOf(this, _InvalidClientException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; } }; - exports.TooManyTags = TooManyTags; - var ConflictException = class _ConflictException extends SFNServiceException_1.SFNServiceException { + exports.InvalidClientException = InvalidClientException; + var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException { constructor(opts) { super({ - name: "ConflictException", + name: "InvalidGrantException", $fault: "client", ...opts }); - this.name = "ConflictException"; + this.name = "InvalidGrantException"; this.$fault = "client"; - Object.setPrototypeOf(this, _ConflictException.prototype); + Object.setPrototypeOf(this, _InvalidGrantException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; } }; - exports.ConflictException = ConflictException; - exports.LogLevel = { - ALL: "ALL", - ERROR: "ERROR", - FATAL: "FATAL", - OFF: "OFF" - }; - exports.StateMachineType = { - EXPRESS: "EXPRESS", - STANDARD: "STANDARD" - }; - var InvalidArn = class _InvalidArn extends SFNServiceException_1.SFNServiceException { + var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException { constructor(opts) { super({ - name: "InvalidArn", + name: "InvalidRequestException", $fault: "client", ...opts }); - this.name = "InvalidArn"; + this.name = "InvalidRequestException"; this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidArn.prototype); + Object.setPrototypeOf(this, _InvalidRequestException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; } }; - exports.InvalidArn = InvalidArn; - var InvalidDefinition = class _InvalidDefinition extends SFNServiceException_1.SFNServiceException { + exports.InvalidRequestException = InvalidRequestException; + var InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException { constructor(opts) { super({ - name: "InvalidDefinition", + name: "InvalidScopeException", $fault: "client", ...opts }); - this.name = "InvalidDefinition"; + this.name = "InvalidScopeException"; this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidDefinition.prototype); + Object.setPrototypeOf(this, _InvalidScopeException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; } }; - exports.InvalidDefinition = InvalidDefinition; - var InvalidLoggingConfiguration = class _InvalidLoggingConfiguration extends SFNServiceException_1.SFNServiceException { + exports.InvalidScopeException = InvalidScopeException; + var SlowDownException = class _SlowDownException extends SSOOIDCServiceException { constructor(opts) { super({ - name: "InvalidLoggingConfiguration", + name: "SlowDownException", $fault: "client", ...opts }); - this.name = "InvalidLoggingConfiguration"; + this.name = "SlowDownException"; this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidLoggingConfiguration.prototype); + Object.setPrototypeOf(this, _SlowDownException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; } }; - exports.InvalidLoggingConfiguration = InvalidLoggingConfiguration; - var InvalidTracingConfiguration = class _InvalidTracingConfiguration extends SFNServiceException_1.SFNServiceException { + exports.SlowDownException = SlowDownException; + var UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException { constructor(opts) { super({ - name: "InvalidTracingConfiguration", + name: "UnauthorizedClientException", $fault: "client", ...opts }); - this.name = "InvalidTracingConfiguration"; + this.name = "UnauthorizedClientException"; this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidTracingConfiguration.prototype); + Object.setPrototypeOf(this, _UnauthorizedClientException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; } }; - exports.InvalidTracingConfiguration = InvalidTracingConfiguration; - var StateMachineAlreadyExists = class _StateMachineAlreadyExists extends SFNServiceException_1.SFNServiceException { + exports.UnauthorizedClientException = UnauthorizedClientException; + var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException { constructor(opts) { super({ - name: "StateMachineAlreadyExists", + name: "UnsupportedGrantTypeException", $fault: "client", ...opts }); - this.name = "StateMachineAlreadyExists"; + this.name = "UnsupportedGrantTypeException"; this.$fault = "client"; - Object.setPrototypeOf(this, _StateMachineAlreadyExists.prototype); + Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; } }; - exports.StateMachineAlreadyExists = StateMachineAlreadyExists; - var StateMachineDeleting = class _StateMachineDeleting extends SFNServiceException_1.SFNServiceException { + exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException; + var InvalidClientMetadataException = class _InvalidClientMetadataException extends SSOOIDCServiceException { constructor(opts) { super({ - name: "StateMachineDeleting", + name: "InvalidClientMetadataException", $fault: "client", ...opts }); - this.name = "StateMachineDeleting"; + this.name = "InvalidClientMetadataException"; this.$fault = "client"; - Object.setPrototypeOf(this, _StateMachineDeleting.prototype); + Object.setPrototypeOf(this, _InvalidClientMetadataException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; } }; - exports.StateMachineDeleting = StateMachineDeleting; - var StateMachineLimitExceeded = class _StateMachineLimitExceeded extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "StateMachineLimitExceeded", - $fault: "client", - ...opts - }); - this.name = "StateMachineLimitExceeded"; - this.$fault = "client"; - Object.setPrototypeOf(this, _StateMachineLimitExceeded.prototype); - } + var se_CreateTokenCommand = async (input, context) => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers = { + "content-type": "application/json" + }; + const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/token`; + let body; + body = JSON.stringify((0, smithy_client_7.take)(input, { + clientId: [], + clientSecret: [], + code: [], + deviceCode: [], + grantType: [], + redirectUri: [], + refreshToken: [], + scope: (_) => (0, smithy_client_7._json)(_) + })); + return new protocol_http_1.HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body + }); }; - exports.StateMachineLimitExceeded = StateMachineLimitExceeded; - var StateMachineTypeNotSupported = class _StateMachineTypeNotSupported extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "StateMachineTypeNotSupported", - $fault: "client", - ...opts - }); - this.name = "StateMachineTypeNotSupported"; - this.$fault = "client"; - Object.setPrototypeOf(this, _StateMachineTypeNotSupported.prototype); - } + var se_RegisterClientCommand = async (input, context) => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers = { + "content-type": "application/json" + }; + const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/client/register`; + let body; + body = JSON.stringify((0, smithy_client_7.take)(input, { + clientName: [], + clientType: [], + scopes: (_) => (0, smithy_client_7._json)(_) + })); + return new protocol_http_1.HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body + }); }; - exports.StateMachineTypeNotSupported = StateMachineTypeNotSupported; - exports.ValidationExceptionReason = { - API_DOES_NOT_SUPPORT_LABELED_ARNS: "API_DOES_NOT_SUPPORT_LABELED_ARNS", - CANNOT_UPDATE_COMPLETED_MAP_RUN: "CANNOT_UPDATE_COMPLETED_MAP_RUN", - INVALID_ROUTING_CONFIGURATION: "INVALID_ROUTING_CONFIGURATION", - MISSING_REQUIRED_PARAMETER: "MISSING_REQUIRED_PARAMETER" + var se_StartDeviceAuthorizationCommand = async (input, context) => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers = { + "content-type": "application/json" + }; + const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/device_authorization`; + let body; + body = JSON.stringify((0, smithy_client_7.take)(input, { + clientId: [], + clientSecret: [], + startUrl: [] + })); + return new protocol_http_1.HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body + }); }; - var ValidationException = class _ValidationException extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "ValidationException", - $fault: "client", - ...opts - }); - this.name = "ValidationException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _ValidationException.prototype); - this.reason = opts.reason; + var de_CreateTokenCommand = async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CreateTokenCommandError(output, context); } + const contents = (0, smithy_client_7.map)({ + $metadata: deserializeMetadata(output) + }); + const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body"); + const doc = (0, smithy_client_7.take)(data, { + accessToken: smithy_client_7.expectString, + expiresIn: smithy_client_7.expectInt32, + idToken: smithy_client_7.expectString, + refreshToken: smithy_client_7.expectString, + tokenType: smithy_client_7.expectString + }); + Object.assign(contents, doc); + return contents; }; - exports.ValidationException = ValidationException; - var ResourceNotFound = class _ResourceNotFound extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "ResourceNotFound", - $fault: "client", - ...opts - }); - this.name = "ResourceNotFound"; - this.$fault = "client"; - Object.setPrototypeOf(this, _ResourceNotFound.prototype); - this.resourceName = opts.resourceName; + var de_CreateTokenCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.ssooidc#AccessDeniedException": + throw await de_AccessDeniedExceptionRes(parsedOutput, context); + case "AuthorizationPendingException": + case "com.amazonaws.ssooidc#AuthorizationPendingException": + throw await de_AuthorizationPendingExceptionRes(parsedOutput, context); + case "ExpiredTokenException": + case "com.amazonaws.ssooidc#ExpiredTokenException": + throw await de_ExpiredTokenExceptionRes(parsedOutput, context); + case "InternalServerException": + case "com.amazonaws.ssooidc#InternalServerException": + throw await de_InternalServerExceptionRes(parsedOutput, context); + case "InvalidClientException": + case "com.amazonaws.ssooidc#InvalidClientException": + throw await de_InvalidClientExceptionRes(parsedOutput, context); + case "InvalidGrantException": + case "com.amazonaws.ssooidc#InvalidGrantException": + throw await de_InvalidGrantExceptionRes(parsedOutput, context); + case "InvalidRequestException": + case "com.amazonaws.ssooidc#InvalidRequestException": + throw await de_InvalidRequestExceptionRes(parsedOutput, context); + case "InvalidScopeException": + case "com.amazonaws.ssooidc#InvalidScopeException": + throw await de_InvalidScopeExceptionRes(parsedOutput, context); + case "SlowDownException": + case "com.amazonaws.ssooidc#SlowDownException": + throw await de_SlowDownExceptionRes(parsedOutput, context); + case "UnauthorizedClientException": + case "com.amazonaws.ssooidc#UnauthorizedClientException": + throw await de_UnauthorizedClientExceptionRes(parsedOutput, context); + case "UnsupportedGrantTypeException": + case "com.amazonaws.ssooidc#UnsupportedGrantTypeException": + throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); } }; - exports.ResourceNotFound = ResourceNotFound; - var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "ServiceQuotaExceededException", - $fault: "client", - ...opts - }); - this.name = "ServiceQuotaExceededException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype); - } - }; - exports.ServiceQuotaExceededException = ServiceQuotaExceededException; - exports.ExecutionStatus = { - ABORTED: "ABORTED", - FAILED: "FAILED", - RUNNING: "RUNNING", - SUCCEEDED: "SUCCEEDED", - TIMED_OUT: "TIMED_OUT" - }; - var ExecutionDoesNotExist = class _ExecutionDoesNotExist extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "ExecutionDoesNotExist", - $fault: "client", - ...opts - }); - this.name = "ExecutionDoesNotExist"; - this.$fault = "client"; - Object.setPrototypeOf(this, _ExecutionDoesNotExist.prototype); - } - }; - exports.ExecutionDoesNotExist = ExecutionDoesNotExist; - exports.MapRunStatus = { - ABORTED: "ABORTED", - FAILED: "FAILED", - RUNNING: "RUNNING", - SUCCEEDED: "SUCCEEDED" - }; - exports.StateMachineStatus = { - ACTIVE: "ACTIVE", - DELETING: "DELETING" - }; - var StateMachineDoesNotExist = class _StateMachineDoesNotExist extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "StateMachineDoesNotExist", - $fault: "client", - ...opts - }); - this.name = "StateMachineDoesNotExist"; - this.$fault = "client"; - Object.setPrototypeOf(this, _StateMachineDoesNotExist.prototype); + var de_RegisterClientCommand = async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_RegisterClientCommandError(output, context); } + const contents = (0, smithy_client_7.map)({ + $metadata: deserializeMetadata(output) + }); + const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body"); + const doc = (0, smithy_client_7.take)(data, { + authorizationEndpoint: smithy_client_7.expectString, + clientId: smithy_client_7.expectString, + clientIdIssuedAt: smithy_client_7.expectLong, + clientSecret: smithy_client_7.expectString, + clientSecretExpiresAt: smithy_client_7.expectLong, + tokenEndpoint: smithy_client_7.expectString + }); + Object.assign(contents, doc); + return contents; }; - exports.StateMachineDoesNotExist = StateMachineDoesNotExist; - exports.HistoryEventType = { - ActivityFailed: "ActivityFailed", - ActivityScheduleFailed: "ActivityScheduleFailed", - ActivityScheduled: "ActivityScheduled", - ActivityStarted: "ActivityStarted", - ActivitySucceeded: "ActivitySucceeded", - ActivityTimedOut: "ActivityTimedOut", - ChoiceStateEntered: "ChoiceStateEntered", - ChoiceStateExited: "ChoiceStateExited", - ExecutionAborted: "ExecutionAborted", - ExecutionFailed: "ExecutionFailed", - ExecutionStarted: "ExecutionStarted", - ExecutionSucceeded: "ExecutionSucceeded", - ExecutionTimedOut: "ExecutionTimedOut", - FailStateEntered: "FailStateEntered", - LambdaFunctionFailed: "LambdaFunctionFailed", - LambdaFunctionScheduleFailed: "LambdaFunctionScheduleFailed", - LambdaFunctionScheduled: "LambdaFunctionScheduled", - LambdaFunctionStartFailed: "LambdaFunctionStartFailed", - LambdaFunctionStarted: "LambdaFunctionStarted", - LambdaFunctionSucceeded: "LambdaFunctionSucceeded", - LambdaFunctionTimedOut: "LambdaFunctionTimedOut", - MapIterationAborted: "MapIterationAborted", - MapIterationFailed: "MapIterationFailed", - MapIterationStarted: "MapIterationStarted", - MapIterationSucceeded: "MapIterationSucceeded", - MapRunAborted: "MapRunAborted", - MapRunFailed: "MapRunFailed", - MapRunStarted: "MapRunStarted", - MapRunSucceeded: "MapRunSucceeded", - MapStateAborted: "MapStateAborted", - MapStateEntered: "MapStateEntered", - MapStateExited: "MapStateExited", - MapStateFailed: "MapStateFailed", - MapStateStarted: "MapStateStarted", - MapStateSucceeded: "MapStateSucceeded", - ParallelStateAborted: "ParallelStateAborted", - ParallelStateEntered: "ParallelStateEntered", - ParallelStateExited: "ParallelStateExited", - ParallelStateFailed: "ParallelStateFailed", - ParallelStateStarted: "ParallelStateStarted", - ParallelStateSucceeded: "ParallelStateSucceeded", - PassStateEntered: "PassStateEntered", - PassStateExited: "PassStateExited", - SucceedStateEntered: "SucceedStateEntered", - SucceedStateExited: "SucceedStateExited", - TaskFailed: "TaskFailed", - TaskScheduled: "TaskScheduled", - TaskStartFailed: "TaskStartFailed", - TaskStarted: "TaskStarted", - TaskStateAborted: "TaskStateAborted", - TaskStateEntered: "TaskStateEntered", - TaskStateExited: "TaskStateExited", - TaskSubmitFailed: "TaskSubmitFailed", - TaskSubmitted: "TaskSubmitted", - TaskSucceeded: "TaskSucceeded", - TaskTimedOut: "TaskTimedOut", - WaitStateAborted: "WaitStateAborted", - WaitStateEntered: "WaitStateEntered", - WaitStateExited: "WaitStateExited" - }; - var InvalidToken = class _InvalidToken extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "InvalidToken", - $fault: "client", - ...opts - }); - this.name = "InvalidToken"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidToken.prototype); + var de_RegisterClientCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.ssooidc#InternalServerException": + throw await de_InternalServerExceptionRes(parsedOutput, context); + case "InvalidClientMetadataException": + case "com.amazonaws.ssooidc#InvalidClientMetadataException": + throw await de_InvalidClientMetadataExceptionRes(parsedOutput, context); + case "InvalidRequestException": + case "com.amazonaws.ssooidc#InvalidRequestException": + throw await de_InvalidRequestExceptionRes(parsedOutput, context); + case "InvalidScopeException": + case "com.amazonaws.ssooidc#InvalidScopeException": + throw await de_InvalidScopeExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); } }; - exports.InvalidToken = InvalidToken; - var TaskDoesNotExist = class _TaskDoesNotExist extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "TaskDoesNotExist", - $fault: "client", - ...opts - }); - this.name = "TaskDoesNotExist"; - this.$fault = "client"; - Object.setPrototypeOf(this, _TaskDoesNotExist.prototype); + var de_StartDeviceAuthorizationCommand = async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_StartDeviceAuthorizationCommandError(output, context); } + const contents = (0, smithy_client_7.map)({ + $metadata: deserializeMetadata(output) + }); + const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body"); + const doc = (0, smithy_client_7.take)(data, { + deviceCode: smithy_client_7.expectString, + expiresIn: smithy_client_7.expectInt32, + interval: smithy_client_7.expectInt32, + userCode: smithy_client_7.expectString, + verificationUri: smithy_client_7.expectString, + verificationUriComplete: smithy_client_7.expectString + }); + Object.assign(contents, doc); + return contents; }; - exports.TaskDoesNotExist = TaskDoesNotExist; - var TaskTimedOut = class _TaskTimedOut extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "TaskTimedOut", - $fault: "client", - ...opts - }); - this.name = "TaskTimedOut"; - this.$fault = "client"; - Object.setPrototypeOf(this, _TaskTimedOut.prototype); + var de_StartDeviceAuthorizationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.ssooidc#InternalServerException": + throw await de_InternalServerExceptionRes(parsedOutput, context); + case "InvalidClientException": + case "com.amazonaws.ssooidc#InvalidClientException": + throw await de_InvalidClientExceptionRes(parsedOutput, context); + case "InvalidRequestException": + case "com.amazonaws.ssooidc#InvalidRequestException": + throw await de_InvalidRequestExceptionRes(parsedOutput, context); + case "SlowDownException": + case "com.amazonaws.ssooidc#SlowDownException": + throw await de_SlowDownExceptionRes(parsedOutput, context); + case "UnauthorizedClientException": + case "com.amazonaws.ssooidc#UnauthorizedClientException": + throw await de_UnauthorizedClientExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); } }; - exports.TaskTimedOut = TaskTimedOut; - var InvalidOutput = class _InvalidOutput extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "InvalidOutput", - $fault: "client", - ...opts - }); - this.name = "InvalidOutput"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidOutput.prototype); - } + var throwDefaultError = (0, smithy_client_7.withBaseException)(SSOOIDCServiceException); + var de_AccessDeniedExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_7.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_7.take)(data, { + error: smithy_client_7.expectString, + error_description: smithy_client_7.expectString + }); + Object.assign(contents, doc); + const exception = new AccessDeniedException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); }; - exports.InvalidOutput = InvalidOutput; - var ExecutionAlreadyExists = class _ExecutionAlreadyExists extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "ExecutionAlreadyExists", - $fault: "client", - ...opts - }); - this.name = "ExecutionAlreadyExists"; - this.$fault = "client"; - Object.setPrototypeOf(this, _ExecutionAlreadyExists.prototype); - } + var de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_7.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_7.take)(data, { + error: smithy_client_7.expectString, + error_description: smithy_client_7.expectString + }); + Object.assign(contents, doc); + const exception = new AuthorizationPendingException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); }; - exports.ExecutionAlreadyExists = ExecutionAlreadyExists; - var ExecutionLimitExceeded = class _ExecutionLimitExceeded extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "ExecutionLimitExceeded", - $fault: "client", - ...opts - }); - this.name = "ExecutionLimitExceeded"; - this.$fault = "client"; - Object.setPrototypeOf(this, _ExecutionLimitExceeded.prototype); - } + var de_ExpiredTokenExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_7.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_7.take)(data, { + error: smithy_client_7.expectString, + error_description: smithy_client_7.expectString + }); + Object.assign(contents, doc); + const exception = new ExpiredTokenException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); }; - exports.ExecutionLimitExceeded = ExecutionLimitExceeded; - var InvalidExecutionInput = class _InvalidExecutionInput extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "InvalidExecutionInput", - $fault: "client", - ...opts - }); - this.name = "InvalidExecutionInput"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidExecutionInput.prototype); - } + var de_InternalServerExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_7.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_7.take)(data, { + error: smithy_client_7.expectString, + error_description: smithy_client_7.expectString + }); + Object.assign(contents, doc); + const exception = new InternalServerException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); }; - exports.InvalidExecutionInput = InvalidExecutionInput; - exports.SyncExecutionStatus = { - FAILED: "FAILED", - SUCCEEDED: "SUCCEEDED", - TIMED_OUT: "TIMED_OUT" + var de_InvalidClientExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_7.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_7.take)(data, { + error: smithy_client_7.expectString, + error_description: smithy_client_7.expectString + }); + Object.assign(contents, doc); + const exception = new InvalidClientException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); }; - var MissingRequiredParameter = class _MissingRequiredParameter extends SFNServiceException_1.SFNServiceException { - constructor(opts) { - super({ - name: "MissingRequiredParameter", - $fault: "client", - ...opts - }); - this.name = "MissingRequiredParameter"; - this.$fault = "client"; - Object.setPrototypeOf(this, _MissingRequiredParameter.prototype); - } + var de_InvalidClientMetadataExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_7.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_7.take)(data, { + error: smithy_client_7.expectString, + error_description: smithy_client_7.expectString + }); + Object.assign(contents, doc); + const exception = new InvalidClientMetadataException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); }; - exports.MissingRequiredParameter = MissingRequiredParameter; - var ActivityFailedEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.ActivityFailedEventDetailsFilterSensitiveLog = ActivityFailedEventDetailsFilterSensitiveLog; - var ActivityScheduledEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.input && { input: smithy_client_1.SENSITIVE_STRING } - }); - exports.ActivityScheduledEventDetailsFilterSensitiveLog = ActivityScheduledEventDetailsFilterSensitiveLog; - var ActivityScheduleFailedEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.ActivityScheduleFailedEventDetailsFilterSensitiveLog = ActivityScheduleFailedEventDetailsFilterSensitiveLog; - var ActivitySucceededEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } - }); - exports.ActivitySucceededEventDetailsFilterSensitiveLog = ActivitySucceededEventDetailsFilterSensitiveLog; - var ActivityTimedOutEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.ActivityTimedOutEventDetailsFilterSensitiveLog = ActivityTimedOutEventDetailsFilterSensitiveLog; - var CreateStateMachineInputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.definition && { definition: smithy_client_1.SENSITIVE_STRING }, - ...obj.versionDescription && { versionDescription: smithy_client_1.SENSITIVE_STRING } - }); - exports.CreateStateMachineInputFilterSensitiveLog = CreateStateMachineInputFilterSensitiveLog; - var CreateStateMachineAliasInputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.description && { description: smithy_client_1.SENSITIVE_STRING } + var de_InvalidGrantExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_7.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_7.take)(data, { + error: smithy_client_7.expectString, + error_description: smithy_client_7.expectString + }); + Object.assign(contents, doc); + const exception = new InvalidGrantException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); + }; + var de_InvalidRequestExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_7.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_7.take)(data, { + error: smithy_client_7.expectString, + error_description: smithy_client_7.expectString + }); + Object.assign(contents, doc); + const exception = new InvalidRequestException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); + }; + var de_InvalidScopeExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_7.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_7.take)(data, { + error: smithy_client_7.expectString, + error_description: smithy_client_7.expectString + }); + Object.assign(contents, doc); + const exception = new InvalidScopeException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); + }; + var de_SlowDownExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_7.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_7.take)(data, { + error: smithy_client_7.expectString, + error_description: smithy_client_7.expectString + }); + Object.assign(contents, doc); + const exception = new SlowDownException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); + }; + var de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_7.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_7.take)(data, { + error: smithy_client_7.expectString, + error_description: smithy_client_7.expectString + }); + Object.assign(contents, doc); + const exception = new UnauthorizedClientException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); + }; + var de_UnsupportedGrantTypeExceptionRes = async (parsedOutput, context) => { + const contents = (0, smithy_client_7.map)({}); + const data = parsedOutput.body; + const doc = (0, smithy_client_7.take)(data, { + error: smithy_client_7.expectString, + error_description: smithy_client_7.expectString + }); + Object.assign(contents, doc); + const exception = new UnsupportedGrantTypeException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body); + }; + var deserializeMetadata = (output) => { + var _a, _b; + return { + httpStatusCode: output.statusCode, + requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"], + extendedRequestId: output.headers["x-amz-id-2"], + cfId: output.headers["x-amz-cf-id"] + }; + }; + var collectBodyString = (streamBody, context) => (0, smithy_client_7.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)); + var parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + return JSON.parse(encoded); + } + return {}; }); - exports.CreateStateMachineAliasInputFilterSensitiveLog = CreateStateMachineAliasInputFilterSensitiveLog; - var DescribeExecutionOutputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.input && { input: smithy_client_1.SENSITIVE_STRING }, - ...obj.output && { output: smithy_client_1.SENSITIVE_STRING }, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.DescribeExecutionOutputFilterSensitiveLog = DescribeExecutionOutputFilterSensitiveLog; - var DescribeStateMachineOutputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.definition && { definition: smithy_client_1.SENSITIVE_STRING }, - ...obj.description && { description: smithy_client_1.SENSITIVE_STRING } - }); - exports.DescribeStateMachineOutputFilterSensitiveLog = DescribeStateMachineOutputFilterSensitiveLog; - var DescribeStateMachineAliasOutputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.description && { description: smithy_client_1.SENSITIVE_STRING } - }); - exports.DescribeStateMachineAliasOutputFilterSensitiveLog = DescribeStateMachineAliasOutputFilterSensitiveLog; - var DescribeStateMachineForExecutionOutputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.definition && { definition: smithy_client_1.SENSITIVE_STRING } - }); - exports.DescribeStateMachineForExecutionOutputFilterSensitiveLog = DescribeStateMachineForExecutionOutputFilterSensitiveLog; - var GetActivityTaskOutputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.input && { input: smithy_client_1.SENSITIVE_STRING } - }); - exports.GetActivityTaskOutputFilterSensitiveLog = GetActivityTaskOutputFilterSensitiveLog; - var ExecutionAbortedEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.ExecutionAbortedEventDetailsFilterSensitiveLog = ExecutionAbortedEventDetailsFilterSensitiveLog; - var ExecutionFailedEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.ExecutionFailedEventDetailsFilterSensitiveLog = ExecutionFailedEventDetailsFilterSensitiveLog; - var ExecutionStartedEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.input && { input: smithy_client_1.SENSITIVE_STRING } - }); - exports.ExecutionStartedEventDetailsFilterSensitiveLog = ExecutionStartedEventDetailsFilterSensitiveLog; - var ExecutionSucceededEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } - }); - exports.ExecutionSucceededEventDetailsFilterSensitiveLog = ExecutionSucceededEventDetailsFilterSensitiveLog; - var ExecutionTimedOutEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.ExecutionTimedOutEventDetailsFilterSensitiveLog = ExecutionTimedOutEventDetailsFilterSensitiveLog; - var LambdaFunctionFailedEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.LambdaFunctionFailedEventDetailsFilterSensitiveLog = LambdaFunctionFailedEventDetailsFilterSensitiveLog; - var LambdaFunctionScheduledEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.input && { input: smithy_client_1.SENSITIVE_STRING } - }); - exports.LambdaFunctionScheduledEventDetailsFilterSensitiveLog = LambdaFunctionScheduledEventDetailsFilterSensitiveLog; - var LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog = LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog; - var LambdaFunctionStartFailedEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.LambdaFunctionStartFailedEventDetailsFilterSensitiveLog = LambdaFunctionStartFailedEventDetailsFilterSensitiveLog; - var LambdaFunctionSucceededEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } - }); - exports.LambdaFunctionSucceededEventDetailsFilterSensitiveLog = LambdaFunctionSucceededEventDetailsFilterSensitiveLog; - var LambdaFunctionTimedOutEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.LambdaFunctionTimedOutEventDetailsFilterSensitiveLog = LambdaFunctionTimedOutEventDetailsFilterSensitiveLog; - var MapRunFailedEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.MapRunFailedEventDetailsFilterSensitiveLog = MapRunFailedEventDetailsFilterSensitiveLog; - var StateEnteredEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.input && { input: smithy_client_1.SENSITIVE_STRING } - }); - exports.StateEnteredEventDetailsFilterSensitiveLog = StateEnteredEventDetailsFilterSensitiveLog; - var StateExitedEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } - }); - exports.StateExitedEventDetailsFilterSensitiveLog = StateExitedEventDetailsFilterSensitiveLog; - var TaskFailedEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.TaskFailedEventDetailsFilterSensitiveLog = TaskFailedEventDetailsFilterSensitiveLog; - var TaskScheduledEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.parameters && { parameters: smithy_client_1.SENSITIVE_STRING } - }); - exports.TaskScheduledEventDetailsFilterSensitiveLog = TaskScheduledEventDetailsFilterSensitiveLog; - var TaskStartFailedEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.TaskStartFailedEventDetailsFilterSensitiveLog = TaskStartFailedEventDetailsFilterSensitiveLog; - var TaskSubmitFailedEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.TaskSubmitFailedEventDetailsFilterSensitiveLog = TaskSubmitFailedEventDetailsFilterSensitiveLog; - var TaskSubmittedEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } - }); - exports.TaskSubmittedEventDetailsFilterSensitiveLog = TaskSubmittedEventDetailsFilterSensitiveLog; - var TaskSucceededEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } - }); - exports.TaskSucceededEventDetailsFilterSensitiveLog = TaskSucceededEventDetailsFilterSensitiveLog; - var TaskTimedOutEventDetailsFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.TaskTimedOutEventDetailsFilterSensitiveLog = TaskTimedOutEventDetailsFilterSensitiveLog; - var HistoryEventFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.activityFailedEventDetails && { - activityFailedEventDetails: (0, exports.ActivityFailedEventDetailsFilterSensitiveLog)(obj.activityFailedEventDetails) - }, - ...obj.activityScheduleFailedEventDetails && { - activityScheduleFailedEventDetails: (0, exports.ActivityScheduleFailedEventDetailsFilterSensitiveLog)(obj.activityScheduleFailedEventDetails) - }, - ...obj.activityScheduledEventDetails && { - activityScheduledEventDetails: (0, exports.ActivityScheduledEventDetailsFilterSensitiveLog)(obj.activityScheduledEventDetails) - }, - ...obj.activitySucceededEventDetails && { - activitySucceededEventDetails: (0, exports.ActivitySucceededEventDetailsFilterSensitiveLog)(obj.activitySucceededEventDetails) - }, - ...obj.activityTimedOutEventDetails && { - activityTimedOutEventDetails: (0, exports.ActivityTimedOutEventDetailsFilterSensitiveLog)(obj.activityTimedOutEventDetails) - }, - ...obj.taskFailedEventDetails && { - taskFailedEventDetails: (0, exports.TaskFailedEventDetailsFilterSensitiveLog)(obj.taskFailedEventDetails) - }, - ...obj.taskScheduledEventDetails && { - taskScheduledEventDetails: (0, exports.TaskScheduledEventDetailsFilterSensitiveLog)(obj.taskScheduledEventDetails) - }, - ...obj.taskStartFailedEventDetails && { - taskStartFailedEventDetails: (0, exports.TaskStartFailedEventDetailsFilterSensitiveLog)(obj.taskStartFailedEventDetails) - }, - ...obj.taskSubmitFailedEventDetails && { - taskSubmitFailedEventDetails: (0, exports.TaskSubmitFailedEventDetailsFilterSensitiveLog)(obj.taskSubmitFailedEventDetails) - }, - ...obj.taskSubmittedEventDetails && { - taskSubmittedEventDetails: (0, exports.TaskSubmittedEventDetailsFilterSensitiveLog)(obj.taskSubmittedEventDetails) - }, - ...obj.taskSucceededEventDetails && { - taskSucceededEventDetails: (0, exports.TaskSucceededEventDetailsFilterSensitiveLog)(obj.taskSucceededEventDetails) - }, - ...obj.taskTimedOutEventDetails && { - taskTimedOutEventDetails: (0, exports.TaskTimedOutEventDetailsFilterSensitiveLog)(obj.taskTimedOutEventDetails) - }, - ...obj.executionFailedEventDetails && { - executionFailedEventDetails: (0, exports.ExecutionFailedEventDetailsFilterSensitiveLog)(obj.executionFailedEventDetails) - }, - ...obj.executionStartedEventDetails && { - executionStartedEventDetails: (0, exports.ExecutionStartedEventDetailsFilterSensitiveLog)(obj.executionStartedEventDetails) - }, - ...obj.executionSucceededEventDetails && { - executionSucceededEventDetails: (0, exports.ExecutionSucceededEventDetailsFilterSensitiveLog)(obj.executionSucceededEventDetails) - }, - ...obj.executionAbortedEventDetails && { - executionAbortedEventDetails: (0, exports.ExecutionAbortedEventDetailsFilterSensitiveLog)(obj.executionAbortedEventDetails) - }, - ...obj.executionTimedOutEventDetails && { - executionTimedOutEventDetails: (0, exports.ExecutionTimedOutEventDetailsFilterSensitiveLog)(obj.executionTimedOutEventDetails) - }, - ...obj.lambdaFunctionFailedEventDetails && { - lambdaFunctionFailedEventDetails: (0, exports.LambdaFunctionFailedEventDetailsFilterSensitiveLog)(obj.lambdaFunctionFailedEventDetails) - }, - ...obj.lambdaFunctionScheduleFailedEventDetails && { - lambdaFunctionScheduleFailedEventDetails: (0, exports.LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog)(obj.lambdaFunctionScheduleFailedEventDetails) - }, - ...obj.lambdaFunctionScheduledEventDetails && { - lambdaFunctionScheduledEventDetails: (0, exports.LambdaFunctionScheduledEventDetailsFilterSensitiveLog)(obj.lambdaFunctionScheduledEventDetails) - }, - ...obj.lambdaFunctionStartFailedEventDetails && { - lambdaFunctionStartFailedEventDetails: (0, exports.LambdaFunctionStartFailedEventDetailsFilterSensitiveLog)(obj.lambdaFunctionStartFailedEventDetails) - }, - ...obj.lambdaFunctionSucceededEventDetails && { - lambdaFunctionSucceededEventDetails: (0, exports.LambdaFunctionSucceededEventDetailsFilterSensitiveLog)(obj.lambdaFunctionSucceededEventDetails) - }, - ...obj.lambdaFunctionTimedOutEventDetails && { - lambdaFunctionTimedOutEventDetails: (0, exports.LambdaFunctionTimedOutEventDetailsFilterSensitiveLog)(obj.lambdaFunctionTimedOutEventDetails) - }, - ...obj.stateEnteredEventDetails && { - stateEnteredEventDetails: (0, exports.StateEnteredEventDetailsFilterSensitiveLog)(obj.stateEnteredEventDetails) - }, - ...obj.stateExitedEventDetails && { - stateExitedEventDetails: (0, exports.StateExitedEventDetailsFilterSensitiveLog)(obj.stateExitedEventDetails) - }, - ...obj.mapRunFailedEventDetails && { - mapRunFailedEventDetails: (0, exports.MapRunFailedEventDetailsFilterSensitiveLog)(obj.mapRunFailedEventDetails) + var parseErrorBody = async (errorBody, context) => { + var _a; + const value = await parseBody(errorBody, context); + value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message; + return value; + }; + var loadRestJsonErrorCode = (output, data) => { + const findKey = (object, key) => Object.keys(object).find((k2) => k2.toLowerCase() === key.toLowerCase()); + const sanitizeErrorCode = (rawValue) => { + let cleanValue = rawValue; + if (typeof cleanValue === "number") { + cleanValue = cleanValue.toString(); + } + if (cleanValue.indexOf(",") >= 0) { + cleanValue = cleanValue.split(",")[0]; + } + if (cleanValue.indexOf(":") >= 0) { + cleanValue = cleanValue.split(":")[0]; + } + if (cleanValue.indexOf("#") >= 0) { + cleanValue = cleanValue.split("#")[1]; + } + return cleanValue; + }; + const headerKey = findKey(output.headers, "x-amzn-errortype"); + if (headerKey !== void 0) { + return sanitizeErrorCode(output.headers[headerKey]); + } + if (data.code !== void 0) { + return sanitizeErrorCode(data.code); + } + if (data["__type"] !== void 0) { + return sanitizeErrorCode(data["__type"]); } - }); - exports.HistoryEventFilterSensitiveLog = HistoryEventFilterSensitiveLog; - var GetExecutionHistoryOutputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.events && { events: obj.events.map((item) => (0, exports.HistoryEventFilterSensitiveLog)(item)) } - }); - exports.GetExecutionHistoryOutputFilterSensitiveLog = GetExecutionHistoryOutputFilterSensitiveLog; - var PublishStateMachineVersionInputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.description && { description: smithy_client_1.SENSITIVE_STRING } - }); - exports.PublishStateMachineVersionInputFilterSensitiveLog = PublishStateMachineVersionInputFilterSensitiveLog; - var SendTaskFailureInputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.SendTaskFailureInputFilterSensitiveLog = SendTaskFailureInputFilterSensitiveLog; - var SendTaskSuccessInputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } - }); - exports.SendTaskSuccessInputFilterSensitiveLog = SendTaskSuccessInputFilterSensitiveLog; - var StartExecutionInputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.input && { input: smithy_client_1.SENSITIVE_STRING } - }); - exports.StartExecutionInputFilterSensitiveLog = StartExecutionInputFilterSensitiveLog; - var StartSyncExecutionInputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.input && { input: smithy_client_1.SENSITIVE_STRING } - }); - exports.StartSyncExecutionInputFilterSensitiveLog = StartSyncExecutionInputFilterSensitiveLog; - var StartSyncExecutionOutputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING }, - ...obj.input && { input: smithy_client_1.SENSITIVE_STRING }, - ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } - }); - exports.StartSyncExecutionOutputFilterSensitiveLog = StartSyncExecutionOutputFilterSensitiveLog; - var StopExecutionInputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, - ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } - }); - exports.StopExecutionInputFilterSensitiveLog = StopExecutionInputFilterSensitiveLog; - var UpdateStateMachineInputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.definition && { definition: smithy_client_1.SENSITIVE_STRING }, - ...obj.versionDescription && { versionDescription: smithy_client_1.SENSITIVE_STRING } - }); - exports.UpdateStateMachineInputFilterSensitiveLog = UpdateStateMachineInputFilterSensitiveLog; - var UpdateStateMachineAliasInputFilterSensitiveLog = (obj) => ({ - ...obj, - ...obj.description && { description: smithy_client_1.SENSITIVE_STRING } - }); - exports.UpdateStateMachineAliasInputFilterSensitiveLog = UpdateStateMachineAliasInputFilterSensitiveLog; - } -}); - -// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/protocols/Aws_json1_0.js -var require_Aws_json1_0 = __commonJS({ - "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/protocols/Aws_json1_0.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.de_ListActivitiesCommand = exports.de_GetExecutionHistoryCommand = exports.de_GetActivityTaskCommand = exports.de_DescribeStateMachineForExecutionCommand = exports.de_DescribeStateMachineAliasCommand = exports.de_DescribeStateMachineCommand = exports.de_DescribeMapRunCommand = exports.de_DescribeExecutionCommand = exports.de_DescribeActivityCommand = exports.de_DeleteStateMachineVersionCommand = exports.de_DeleteStateMachineAliasCommand = exports.de_DeleteStateMachineCommand = exports.de_DeleteActivityCommand = exports.de_CreateStateMachineAliasCommand = exports.de_CreateStateMachineCommand = exports.de_CreateActivityCommand = exports.se_UpdateStateMachineAliasCommand = exports.se_UpdateStateMachineCommand = exports.se_UpdateMapRunCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopExecutionCommand = exports.se_StartSyncExecutionCommand = exports.se_StartExecutionCommand = exports.se_SendTaskSuccessCommand = exports.se_SendTaskHeartbeatCommand = exports.se_SendTaskFailureCommand = exports.se_PublishStateMachineVersionCommand = exports.se_ListTagsForResourceCommand = exports.se_ListStateMachineVersionsCommand = exports.se_ListStateMachinesCommand = exports.se_ListStateMachineAliasesCommand = exports.se_ListMapRunsCommand = exports.se_ListExecutionsCommand = exports.se_ListActivitiesCommand = exports.se_GetExecutionHistoryCommand = exports.se_GetActivityTaskCommand = exports.se_DescribeStateMachineForExecutionCommand = exports.se_DescribeStateMachineAliasCommand = exports.se_DescribeStateMachineCommand = exports.se_DescribeMapRunCommand = exports.se_DescribeExecutionCommand = exports.se_DescribeActivityCommand = exports.se_DeleteStateMachineVersionCommand = exports.se_DeleteStateMachineAliasCommand = exports.se_DeleteStateMachineCommand = exports.se_DeleteActivityCommand = exports.se_CreateStateMachineAliasCommand = exports.se_CreateStateMachineCommand = exports.se_CreateActivityCommand = void 0; - exports.de_UpdateStateMachineAliasCommand = exports.de_UpdateStateMachineCommand = exports.de_UpdateMapRunCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopExecutionCommand = exports.de_StartSyncExecutionCommand = exports.de_StartExecutionCommand = exports.de_SendTaskSuccessCommand = exports.de_SendTaskHeartbeatCommand = exports.de_SendTaskFailureCommand = exports.de_PublishStateMachineVersionCommand = exports.de_ListTagsForResourceCommand = exports.de_ListStateMachineVersionsCommand = exports.de_ListStateMachinesCommand = exports.de_ListStateMachineAliasesCommand = exports.de_ListMapRunsCommand = exports.de_ListExecutionsCommand = void 0; - var protocol_http_1 = require_dist_cjs2(); - var smithy_client_1 = require_dist_cjs35(); - var models_0_1 = require_models_03(); - var SFNServiceException_1 = require_SFNServiceException(); - var se_CreateActivityCommand = async (input, context) => { - const headers = sharedHeaders("CreateActivity"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); }; - exports.se_CreateActivityCommand = se_CreateActivityCommand; - var se_CreateStateMachineCommand = async (input, context) => { - const headers = sharedHeaders("CreateStateMachine"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); + var CreateTokenCommand = class _CreateTokenCommand extends smithy_client_6.Command { + constructor(input) { + super(); + this.input = input; + } + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + }; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_2.getEndpointPlugin)(configuration, _CreateTokenCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSOOIDCClient"; + const commandName = "CreateTokenCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _ + }; + const { requestHandler } = configuration; + return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_CreateTokenCommand(input, context); + } + deserialize(output, context) { + return de_CreateTokenCommand(output, context); + } }; - exports.se_CreateStateMachineCommand = se_CreateStateMachineCommand; - var se_CreateStateMachineAliasCommand = async (input, context) => { - const headers = sharedHeaders("CreateStateMachineAlias"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); + exports.CreateTokenCommand = CreateTokenCommand; + var middleware_endpoint_3 = require_dist_cjs28(); + var middleware_serde_2 = require_dist_cjs27(); + var smithy_client_9 = require_dist_cjs37(); + var RegisterClientCommand = class _RegisterClientCommand extends smithy_client_9.Command { + constructor(input) { + super(); + this.input = input; + } + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + }; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_2.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_3.getEndpointPlugin)(configuration, _RegisterClientCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSOOIDCClient"; + const commandName = "RegisterClientCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _ + }; + const { requestHandler } = configuration; + return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_RegisterClientCommand(input, context); + } + deserialize(output, context) { + return de_RegisterClientCommand(output, context); + } }; - exports.se_CreateStateMachineAliasCommand = se_CreateStateMachineAliasCommand; - var se_DeleteActivityCommand = async (input, context) => { - const headers = sharedHeaders("DeleteActivity"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); + var middleware_endpoint_4 = require_dist_cjs28(); + var middleware_serde_3 = require_dist_cjs27(); + var smithy_client_10 = require_dist_cjs37(); + var StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand extends smithy_client_10.Command { + constructor(input) { + super(); + this.input = input; + } + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + }; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_3.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_4.getEndpointPlugin)(configuration, _StartDeviceAuthorizationCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSOOIDCClient"; + const commandName = "StartDeviceAuthorizationCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _ + }; + const { requestHandler } = configuration; + return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_StartDeviceAuthorizationCommand(input, context); + } + deserialize(output, context) { + return de_StartDeviceAuthorizationCommand(output, context); + } }; - exports.se_DeleteActivityCommand = se_DeleteActivityCommand; - var se_DeleteStateMachineCommand = async (input, context) => { - const headers = sharedHeaders("DeleteStateMachine"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); + var commands = { + CreateTokenCommand, + RegisterClientCommand, + StartDeviceAuthorizationCommand }; - exports.se_DeleteStateMachineCommand = se_DeleteStateMachineCommand; - var se_DeleteStateMachineAliasCommand = async (input, context) => { - const headers = sharedHeaders("DeleteStateMachineAlias"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); + var SSOOIDC = class extends SSOOIDCClient { }; - exports.se_DeleteStateMachineAliasCommand = se_DeleteStateMachineAliasCommand; - var se_DeleteStateMachineVersionCommand = async (input, context) => { - const headers = sharedHeaders("DeleteStateMachineVersion"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); + (0, smithy_client_5.createAggregatedClient)(commands, SSOOIDC); + } +}); + +// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/constants.js +var require_constants8 = __commonJS({ + "../../../node_modules/@aws-sdk/token-providers/dist-cjs/constants.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.REFRESH_MESSAGE = exports.EXPIRE_WINDOW_MS = void 0; + exports.EXPIRE_WINDOW_MS = 5 * 60 * 1e3; + exports.REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`; + } +}); + +// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +var require_getSsoOidcClient = __commonJS({ + "../../../node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getSsoOidcClient = void 0; + var client_sso_oidc_node_1 = require_client_sso_oidc_node(); + var ssoOidcClientsHash = {}; + var getSsoOidcClient = (ssoRegion) => { + if (ssoOidcClientsHash[ssoRegion]) { + return ssoOidcClientsHash[ssoRegion]; + } + const ssoOidcClient = new client_sso_oidc_node_1.SSOOIDCClient({ region: ssoRegion }); + ssoOidcClientsHash[ssoRegion] = ssoOidcClient; + return ssoOidcClient; }; - exports.se_DeleteStateMachineVersionCommand = se_DeleteStateMachineVersionCommand; - var se_DescribeActivityCommand = async (input, context) => { - const headers = sharedHeaders("DescribeActivity"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_DescribeActivityCommand = se_DescribeActivityCommand; - var se_DescribeExecutionCommand = async (input, context) => { - const headers = sharedHeaders("DescribeExecution"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_DescribeExecutionCommand = se_DescribeExecutionCommand; - var se_DescribeMapRunCommand = async (input, context) => { - const headers = sharedHeaders("DescribeMapRun"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_DescribeMapRunCommand = se_DescribeMapRunCommand; - var se_DescribeStateMachineCommand = async (input, context) => { - const headers = sharedHeaders("DescribeStateMachine"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_DescribeStateMachineCommand = se_DescribeStateMachineCommand; - var se_DescribeStateMachineAliasCommand = async (input, context) => { - const headers = sharedHeaders("DescribeStateMachineAlias"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_DescribeStateMachineAliasCommand = se_DescribeStateMachineAliasCommand; - var se_DescribeStateMachineForExecutionCommand = async (input, context) => { - const headers = sharedHeaders("DescribeStateMachineForExecution"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_DescribeStateMachineForExecutionCommand = se_DescribeStateMachineForExecutionCommand; - var se_GetActivityTaskCommand = async (input, context) => { - const headers = sharedHeaders("GetActivityTask"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_GetActivityTaskCommand = se_GetActivityTaskCommand; - var se_GetExecutionHistoryCommand = async (input, context) => { - const headers = sharedHeaders("GetExecutionHistory"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_GetExecutionHistoryCommand = se_GetExecutionHistoryCommand; - var se_ListActivitiesCommand = async (input, context) => { - const headers = sharedHeaders("ListActivities"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_ListActivitiesCommand = se_ListActivitiesCommand; - var se_ListExecutionsCommand = async (input, context) => { - const headers = sharedHeaders("ListExecutions"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_ListExecutionsCommand = se_ListExecutionsCommand; - var se_ListMapRunsCommand = async (input, context) => { - const headers = sharedHeaders("ListMapRuns"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_ListMapRunsCommand = se_ListMapRunsCommand; - var se_ListStateMachineAliasesCommand = async (input, context) => { - const headers = sharedHeaders("ListStateMachineAliases"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_ListStateMachineAliasesCommand = se_ListStateMachineAliasesCommand; - var se_ListStateMachinesCommand = async (input, context) => { - const headers = sharedHeaders("ListStateMachines"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_ListStateMachinesCommand = se_ListStateMachinesCommand; - var se_ListStateMachineVersionsCommand = async (input, context) => { - const headers = sharedHeaders("ListStateMachineVersions"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_ListStateMachineVersionsCommand = se_ListStateMachineVersionsCommand; - var se_ListTagsForResourceCommand = async (input, context) => { - const headers = sharedHeaders("ListTagsForResource"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand; - var se_PublishStateMachineVersionCommand = async (input, context) => { - const headers = sharedHeaders("PublishStateMachineVersion"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_PublishStateMachineVersionCommand = se_PublishStateMachineVersionCommand; - var se_SendTaskFailureCommand = async (input, context) => { - const headers = sharedHeaders("SendTaskFailure"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); + exports.getSsoOidcClient = getSsoOidcClient; + } +}); + +// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +var require_getNewSsoOidcToken = __commonJS({ + "../../../node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getNewSsoOidcToken = void 0; + var client_sso_oidc_node_1 = require_client_sso_oidc_node(); + var getSsoOidcClient_1 = require_getSsoOidcClient(); + var getNewSsoOidcToken = (ssoToken, ssoRegion) => { + const ssoOidcClient = (0, getSsoOidcClient_1.getSsoOidcClient)(ssoRegion); + return ssoOidcClient.send(new client_sso_oidc_node_1.CreateTokenCommand({ + clientId: ssoToken.clientId, + clientSecret: ssoToken.clientSecret, + refreshToken: ssoToken.refreshToken, + grantType: "refresh_token" + })); }; - exports.se_SendTaskFailureCommand = se_SendTaskFailureCommand; - var se_SendTaskHeartbeatCommand = async (input, context) => { - const headers = sharedHeaders("SendTaskHeartbeat"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); + exports.getNewSsoOidcToken = getNewSsoOidcToken; + } +}); + +// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js +var require_validateTokenExpiry = __commonJS({ + "../../../node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.validateTokenExpiry = void 0; + var property_provider_1 = require_dist_cjs6(); + var constants_1 = require_constants8(); + var validateTokenExpiry = (token) => { + if (token.expiration && token.expiration.getTime() < Date.now()) { + throw new property_provider_1.TokenProviderError(`Token is expired. ${constants_1.REFRESH_MESSAGE}`, false); + } }; - exports.se_SendTaskHeartbeatCommand = se_SendTaskHeartbeatCommand; - var se_SendTaskSuccessCommand = async (input, context) => { - const headers = sharedHeaders("SendTaskSuccess"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); + exports.validateTokenExpiry = validateTokenExpiry; + } +}); + +// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js +var require_validateTokenKey = __commonJS({ + "../../../node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.validateTokenKey = void 0; + var property_provider_1 = require_dist_cjs6(); + var constants_1 = require_constants8(); + var validateTokenKey = (key, value, forRefresh = false) => { + if (typeof value === "undefined") { + throw new property_provider_1.TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${constants_1.REFRESH_MESSAGE}`, false); + } }; - exports.se_SendTaskSuccessCommand = se_SendTaskSuccessCommand; - var se_StartExecutionCommand = async (input, context) => { - const headers = sharedHeaders("StartExecution"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); + exports.validateTokenKey = validateTokenKey; + } +}); + +// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js +var require_writeSSOTokenToFile = __commonJS({ + "../../../node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.writeSSOTokenToFile = void 0; + var shared_ini_file_loader_1 = require_dist_cjs23(); + var fs_1 = require("fs"); + var { writeFile } = fs_1.promises; + var writeSSOTokenToFile = (id, ssoToken) => { + const tokenFilepath = (0, shared_ini_file_loader_1.getSSOTokenFilepath)(id); + const tokenString = JSON.stringify(ssoToken, null, 2); + return writeFile(tokenFilepath, tokenString); }; - exports.se_StartExecutionCommand = se_StartExecutionCommand; - var se_StartSyncExecutionCommand = async (input, context) => { - const headers = sharedHeaders("StartSyncExecution"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "sync-" + resolvedHostname; - if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); + exports.writeSSOTokenToFile = writeSSOTokenToFile; + } +}); + +// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js +var require_fromSso = __commonJS({ + "../../../node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.fromSso = void 0; + var property_provider_1 = require_dist_cjs6(); + var shared_ini_file_loader_1 = require_dist_cjs23(); + var constants_1 = require_constants8(); + var getNewSsoOidcToken_1 = require_getNewSsoOidcToken(); + var validateTokenExpiry_1 = require_validateTokenExpiry(); + var validateTokenKey_1 = require_validateTokenKey(); + var writeSSOTokenToFile_1 = require_writeSSOTokenToFile(); + var lastRefreshAttemptTime = /* @__PURE__ */ new Date(0); + var fromSso = (init = {}) => async () => { + const profiles = await (0, shared_ini_file_loader_1.parseKnownFiles)(init); + const profileName = (0, shared_ini_file_loader_1.getProfileName)(init); + const profile = profiles[profileName]; + if (!profile) { + throw new property_provider_1.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false); + } else if (!profile["sso_session"]) { + throw new property_provider_1.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`); + } + const ssoSessionName = profile["sso_session"]; + const ssoSessions = await (0, shared_ini_file_loader_1.loadSsoSessionData)(init); + const ssoSession = ssoSessions[ssoSessionName]; + if (!ssoSession) { + throw new property_provider_1.TokenProviderError(`Sso session '${ssoSessionName}' could not be found in shared credentials file.`, false); + } + for (const ssoSessionRequiredKey of ["sso_start_url", "sso_region"]) { + if (!ssoSession[ssoSessionRequiredKey]) { + throw new property_provider_1.TokenProviderError(`Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`, false); } } - return buildHttpRpcRequest(context, headers, "/", resolvedHostname, body); - }; - exports.se_StartSyncExecutionCommand = se_StartSyncExecutionCommand; - var se_StopExecutionCommand = async (input, context) => { - const headers = sharedHeaders("StopExecution"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_StopExecutionCommand = se_StopExecutionCommand; - var se_TagResourceCommand = async (input, context) => { - const headers = sharedHeaders("TagResource"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_TagResourceCommand = se_TagResourceCommand; - var se_UntagResourceCommand = async (input, context) => { - const headers = sharedHeaders("UntagResource"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_UntagResourceCommand = se_UntagResourceCommand; - var se_UpdateMapRunCommand = async (input, context) => { - const headers = sharedHeaders("UpdateMapRun"); - let body; - body = JSON.stringify(se_UpdateMapRunInput(input, context)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_UpdateMapRunCommand = se_UpdateMapRunCommand; - var se_UpdateStateMachineCommand = async (input, context) => { - const headers = sharedHeaders("UpdateStateMachine"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_UpdateStateMachineCommand = se_UpdateStateMachineCommand; - var se_UpdateStateMachineAliasCommand = async (input, context) => { - const headers = sharedHeaders("UpdateStateMachineAlias"); - let body; - body = JSON.stringify((0, smithy_client_1._json)(input)); - return buildHttpRpcRequest(context, headers, "/", void 0, body); - }; - exports.se_UpdateStateMachineAliasCommand = se_UpdateStateMachineAliasCommand; - var de_CreateActivityCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_CreateActivityCommandError(output, context); - } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_CreateActivityOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_CreateActivityCommand = de_CreateActivityCommand; - var de_CreateActivityCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ActivityLimitExceeded": - case "com.amazonaws.sfn#ActivityLimitExceeded": - throw await de_ActivityLimitExceededRes(parsedOutput, context); - case "InvalidName": - case "com.amazonaws.sfn#InvalidName": - throw await de_InvalidNameRes(parsedOutput, context); - case "TooManyTags": - case "com.amazonaws.sfn#TooManyTags": - throw await de_TooManyTagsRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); - } - }; - var de_CreateStateMachineCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_CreateStateMachineCommandError(output, context); + const ssoStartUrl = ssoSession["sso_start_url"]; + const ssoRegion = ssoSession["sso_region"]; + let ssoToken; + try { + ssoToken = await (0, shared_ini_file_loader_1.getSSOTokenFromFile)(ssoSessionName); + } catch (e) { + throw new property_provider_1.TokenProviderError(`The SSO session token associated with profile=${profileName} was not found or is invalid. ${constants_1.REFRESH_MESSAGE}`, false); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_CreateStateMachineOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_CreateStateMachineCommand = de_CreateStateMachineCommand; - var de_CreateStateMachineCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ConflictException": - case "com.amazonaws.sfn#ConflictException": - throw await de_ConflictExceptionRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "InvalidDefinition": - case "com.amazonaws.sfn#InvalidDefinition": - throw await de_InvalidDefinitionRes(parsedOutput, context); - case "InvalidLoggingConfiguration": - case "com.amazonaws.sfn#InvalidLoggingConfiguration": - throw await de_InvalidLoggingConfigurationRes(parsedOutput, context); - case "InvalidName": - case "com.amazonaws.sfn#InvalidName": - throw await de_InvalidNameRes(parsedOutput, context); - case "InvalidTracingConfiguration": - case "com.amazonaws.sfn#InvalidTracingConfiguration": - throw await de_InvalidTracingConfigurationRes(parsedOutput, context); - case "StateMachineAlreadyExists": - case "com.amazonaws.sfn#StateMachineAlreadyExists": - throw await de_StateMachineAlreadyExistsRes(parsedOutput, context); - case "StateMachineDeleting": - case "com.amazonaws.sfn#StateMachineDeleting": - throw await de_StateMachineDeletingRes(parsedOutput, context); - case "StateMachineLimitExceeded": - case "com.amazonaws.sfn#StateMachineLimitExceeded": - throw await de_StateMachineLimitExceededRes(parsedOutput, context); - case "StateMachineTypeNotSupported": - case "com.amazonaws.sfn#StateMachineTypeNotSupported": - throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context); - case "TooManyTags": - case "com.amazonaws.sfn#TooManyTags": - throw await de_TooManyTagsRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.sfn#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + (0, validateTokenKey_1.validateTokenKey)("accessToken", ssoToken.accessToken); + (0, validateTokenKey_1.validateTokenKey)("expiresAt", ssoToken.expiresAt); + const { accessToken, expiresAt } = ssoToken; + const existingToken = { token: accessToken, expiration: new Date(expiresAt) }; + if (existingToken.expiration.getTime() - Date.now() > constants_1.EXPIRE_WINDOW_MS) { + return existingToken; } - }; - var de_CreateStateMachineAliasCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_CreateStateMachineAliasCommandError(output, context); + if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1e3) { + (0, validateTokenExpiry_1.validateTokenExpiry)(existingToken); + return existingToken; } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_CreateStateMachineAliasOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_CreateStateMachineAliasCommand = de_CreateStateMachineAliasCommand; - var de_CreateStateMachineAliasCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ConflictException": - case "com.amazonaws.sfn#ConflictException": - throw await de_ConflictExceptionRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "InvalidName": - case "com.amazonaws.sfn#InvalidName": - throw await de_InvalidNameRes(parsedOutput, context); - case "ResourceNotFound": - case "com.amazonaws.sfn#ResourceNotFound": - throw await de_ResourceNotFoundRes(parsedOutput, context); - case "ServiceQuotaExceededException": - case "com.amazonaws.sfn#ServiceQuotaExceededException": - throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); - case "StateMachineDeleting": - case "com.amazonaws.sfn#StateMachineDeleting": - throw await de_StateMachineDeletingRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.sfn#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode + (0, validateTokenKey_1.validateTokenKey)("clientId", ssoToken.clientId, true); + (0, validateTokenKey_1.validateTokenKey)("clientSecret", ssoToken.clientSecret, true); + (0, validateTokenKey_1.validateTokenKey)("refreshToken", ssoToken.refreshToken, true); + try { + lastRefreshAttemptTime.setTime(Date.now()); + const newSsoOidcToken = await (0, getNewSsoOidcToken_1.getNewSsoOidcToken)(ssoToken, ssoRegion); + (0, validateTokenKey_1.validateTokenKey)("accessToken", newSsoOidcToken.accessToken); + (0, validateTokenKey_1.validateTokenKey)("expiresIn", newSsoOidcToken.expiresIn); + const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1e3); + try { + await (0, writeSSOTokenToFile_1.writeSSOTokenToFile)(ssoSessionName, { + ...ssoToken, + accessToken: newSsoOidcToken.accessToken, + expiresAt: newTokenExpiration.toISOString(), + refreshToken: newSsoOidcToken.refreshToken }); + } catch (error) { + } + return { + token: newSsoOidcToken.accessToken, + expiration: newTokenExpiration + }; + } catch (error) { + (0, validateTokenExpiry_1.validateTokenExpiry)(existingToken); + return existingToken; } }; - var de_DeleteActivityCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_DeleteActivityCommandError(output, context); + exports.fromSso = fromSso; + } +}); + +// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js +var require_fromStatic3 = __commonJS({ + "../../../node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.fromStatic = void 0; + var property_provider_1 = require_dist_cjs6(); + var fromStatic = ({ token }) => async () => { + if (!token || !token.token) { + throw new property_provider_1.TokenProviderError(`Please pass a valid token to fromStatic`, false); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = (0, smithy_client_1._json)(data); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; + return token; }; - exports.de_DeleteActivityCommand = de_DeleteActivityCommand; - var de_DeleteActivityCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + exports.fromStatic = fromStatic; + } +}); + +// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js +var require_nodeProvider = __commonJS({ + "../../../node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.nodeProvider = void 0; + var property_provider_1 = require_dist_cjs6(); + var fromSso_1 = require_fromSso(); + var nodeProvider = (init = {}) => (0, property_provider_1.memoize)((0, property_provider_1.chain)((0, fromSso_1.fromSso)(init), async () => { + throw new property_provider_1.TokenProviderError("Could not load token from any providers", false); + }), (token) => token.expiration !== void 0 && token.expiration.getTime() - Date.now() < 3e5, (token) => token.expiration !== void 0); + exports.nodeProvider = nodeProvider; + } +}); + +// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js +var require_dist_cjs48 = __commonJS({ + "../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_client_sso_oidc_node(), exports); + tslib_1.__exportStar(require_fromSso(), exports); + tslib_1.__exportStar(require_fromStatic3(), exports); + tslib_1.__exportStar(require_nodeProvider(), exports); + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +var require_resolveSSOCredentials = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveSSOCredentials = void 0; + var client_sso_1 = require_dist_cjs47(); + var token_providers_1 = require_dist_cjs48(); + var property_provider_1 = require_dist_cjs6(); + var shared_ini_file_loader_1 = require_dist_cjs23(); + var SHOULD_FAIL_CREDENTIAL_CHAIN = false; + var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, profile }) => { + let token; + const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`; + if (ssoSession) { + try { + const _token = await (0, token_providers_1.fromSso)({ profile })(); + token = { + accessToken: _token.token, + expiresAt: new Date(_token.expiration).toISOString() + }; + } catch (e) { + throw new property_provider_1.CredentialsProviderError(e.message, SHOULD_FAIL_CREDENTIAL_CHAIN); + } + } else { + try { + token = await (0, shared_ini_file_loader_1.getSSOTokenFromFile)(ssoStartUrl); + } catch (e) { + throw new property_provider_1.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, SHOULD_FAIL_CREDENTIAL_CHAIN); + } } - }; - var de_DeleteStateMachineCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_DeleteStateMachineCommandError(output, context); + if (new Date(token.expiresAt).getTime() - Date.now() <= 0) { + throw new property_provider_1.CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, SHOULD_FAIL_CREDENTIAL_CHAIN); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = (0, smithy_client_1._json)(data); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_DeleteStateMachineCommand = de_DeleteStateMachineCommand; - var de_DeleteStateMachineCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.sfn#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + const { accessToken } = token; + const sso = ssoClient || new client_sso_1.SSOClient({ region: ssoRegion }); + let ssoResp; + try { + ssoResp = await sso.send(new client_sso_1.GetRoleCredentialsCommand({ + accountId: ssoAccountId, + roleName: ssoRoleName, + accessToken + })); + } catch (e) { + throw property_provider_1.CredentialsProviderError.from(e, SHOULD_FAIL_CREDENTIAL_CHAIN); } - }; - var de_DeleteStateMachineAliasCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_DeleteStateMachineAliasCommandError(output, context); + const { roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration } = {} } = ssoResp; + if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) { + throw new property_provider_1.CredentialsProviderError("SSO returns an invalid temporary credential.", SHOULD_FAIL_CREDENTIAL_CHAIN); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = (0, smithy_client_1._json)(data); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; + return { accessKeyId, secretAccessKey, sessionToken, expiration: new Date(expiration) }; }; - exports.de_DeleteStateMachineAliasCommand = de_DeleteStateMachineAliasCommand; - var de_DeleteStateMachineAliasCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ConflictException": - case "com.amazonaws.sfn#ConflictException": - throw await de_ConflictExceptionRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "ResourceNotFound": - case "com.amazonaws.sfn#ResourceNotFound": - throw await de_ResourceNotFoundRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.sfn#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + exports.resolveSSOCredentials = resolveSSOCredentials; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/validateSsoProfile.js +var require_validateSsoProfile = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/validateSsoProfile.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.validateSsoProfile = void 0; + var property_provider_1 = require_dist_cjs6(); + var validateSsoProfile = (profile) => { + const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile; + if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) { + throw new property_provider_1.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(profile).join(", ")} +Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`, false); } + return profile; }; - var de_DeleteStateMachineVersionCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_DeleteStateMachineVersionCommandError(output, context); + exports.validateSsoProfile = validateSsoProfile; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/fromSSO.js +var require_fromSSO = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/fromSSO.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.fromSSO = void 0; + var property_provider_1 = require_dist_cjs6(); + var shared_ini_file_loader_1 = require_dist_cjs23(); + var isSsoProfile_1 = require_isSsoProfile(); + var resolveSSOCredentials_1 = require_resolveSSOCredentials(); + var validateSsoProfile_1 = require_validateSsoProfile(); + var fromSSO = (init = {}) => async () => { + const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, ssoSession } = init; + const profileName = (0, shared_ini_file_loader_1.getProfileName)(init); + if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) { + const profiles = await (0, shared_ini_file_loader_1.parseKnownFiles)(init); + const profile = profiles[profileName]; + if (!profile) { + throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} was not found.`); + } + if (!(0, isSsoProfile_1.isSsoProfile)(profile)) { + throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`); + } + if (profile === null || profile === void 0 ? void 0 : profile.sso_session) { + const ssoSessions = await (0, shared_ini_file_loader_1.loadSsoSessionData)(init); + const session = ssoSessions[profile.sso_session]; + const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`; + if (ssoRegion && ssoRegion !== session.sso_region) { + throw new property_provider_1.CredentialsProviderError(`Conflicting SSO region` + conflictMsg, false); + } + if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) { + throw new property_provider_1.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, false); + } + profile.sso_region = session.sso_region; + profile.sso_start_url = session.sso_start_url; + } + const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = (0, validateSsoProfile_1.validateSsoProfile)(profile); + return (0, resolveSSOCredentials_1.resolveSSOCredentials)({ + ssoStartUrl: sso_start_url, + ssoSession: sso_session, + ssoAccountId: sso_account_id, + ssoRegion: sso_region, + ssoRoleName: sso_role_name, + ssoClient, + profile: profileName + }); + } else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) { + throw new property_provider_1.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"'); + } else { + return (0, resolveSSOCredentials_1.resolveSSOCredentials)({ + ssoStartUrl, + ssoSession, + ssoAccountId, + ssoRegion, + ssoRoleName, + ssoClient, + profile: profileName + }); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = (0, smithy_client_1._json)(data); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; }; - exports.de_DeleteStateMachineVersionCommand = de_DeleteStateMachineVersionCommand; - var de_DeleteStateMachineVersionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ConflictException": - case "com.amazonaws.sfn#ConflictException": - throw await de_ConflictExceptionRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.sfn#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); - } + exports.fromSSO = fromSSO; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js +var require_types7 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +var require_dist_cjs49 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_fromSSO(), exports); + tslib_1.__exportStar(require_isSsoProfile(), exports); + tslib_1.__exportStar(require_types7(), exports); + tslib_1.__exportStar(require_validateSsoProfile(), exports); + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveSsoCredentials.js +var require_resolveSsoCredentials = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveSsoCredentials.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveSsoCredentials = exports.isSsoProfile = void 0; + var credential_provider_sso_1 = require_dist_cjs49(); + var credential_provider_sso_2 = require_dist_cjs49(); + Object.defineProperty(exports, "isSsoProfile", { enumerable: true, get: function() { + return credential_provider_sso_2.isSsoProfile; + } }); + var resolveSsoCredentials = (data) => { + const { sso_start_url, sso_account_id, sso_session, sso_region, sso_role_name } = (0, credential_provider_sso_1.validateSsoProfile)(data); + return (0, credential_provider_sso_1.fromSSO)({ + ssoStartUrl: sso_start_url, + ssoAccountId: sso_account_id, + ssoSession: sso_session, + ssoRegion: sso_region, + ssoRoleName: sso_role_name + })(); }; - var de_DescribeActivityCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_DescribeActivityCommandError(output, context); + exports.resolveSsoCredentials = resolveSsoCredentials; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveStaticCredentials.js +var require_resolveStaticCredentials = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveStaticCredentials.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveStaticCredentials = exports.isStaticCredsProfile = void 0; + var isStaticCredsProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.aws_access_key_id === "string" && typeof arg.aws_secret_access_key === "string" && ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1; + exports.isStaticCredsProfile = isStaticCredsProfile; + var resolveStaticCredentials = (profile) => Promise.resolve({ + accessKeyId: profile.aws_access_key_id, + secretAccessKey: profile.aws_secret_access_key, + sessionToken: profile.aws_session_token + }); + exports.resolveStaticCredentials = resolveStaticCredentials; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +var require_fromWebToken = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.fromWebToken = void 0; + var property_provider_1 = require_dist_cjs6(); + var fromWebToken = (init) => () => { + const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds, roleAssumerWithWebIdentity } = init; + if (!roleAssumerWithWebIdentity) { + throw new property_provider_1.CredentialsProviderError(`Role Arn '${roleArn}' needs to be assumed with web identity, but no role assumption callback was provided.`, false); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_DescribeActivityOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; + return roleAssumerWithWebIdentity({ + RoleArn: roleArn, + RoleSessionName: roleSessionName !== null && roleSessionName !== void 0 ? roleSessionName : `aws-sdk-js-session-${Date.now()}`, + WebIdentityToken: webIdentityToken, + ProviderId: providerId, + PolicyArns: policyArns, + Policy: policy, + DurationSeconds: durationSeconds + }); }; - exports.de_DescribeActivityCommand = de_DescribeActivityCommand; - var de_DescribeActivityCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ActivityDoesNotExist": - case "com.amazonaws.sfn#ActivityDoesNotExist": - throw await de_ActivityDoesNotExistRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + exports.fromWebToken = fromWebToken; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +var require_fromTokenFile = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.fromTokenFile = void 0; + var property_provider_1 = require_dist_cjs6(); + var fs_1 = require("fs"); + var fromWebToken_1 = require_fromWebToken(); + var ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE"; + var ENV_ROLE_ARN = "AWS_ROLE_ARN"; + var ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME"; + var fromTokenFile = (init = {}) => async () => { + var _a, _b, _c; + const webIdentityTokenFile = (_a = init === null || init === void 0 ? void 0 : init.webIdentityTokenFile) !== null && _a !== void 0 ? _a : process.env[ENV_TOKEN_FILE]; + const roleArn = (_b = init === null || init === void 0 ? void 0 : init.roleArn) !== null && _b !== void 0 ? _b : process.env[ENV_ROLE_ARN]; + const roleSessionName = (_c = init === null || init === void 0 ? void 0 : init.roleSessionName) !== null && _c !== void 0 ? _c : process.env[ENV_ROLE_SESSION_NAME]; + if (!webIdentityTokenFile || !roleArn) { + throw new property_provider_1.CredentialsProviderError("Web identity configuration not specified"); } + return (0, fromWebToken_1.fromWebToken)({ + ...init, + webIdentityToken: (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }), + roleArn, + roleSessionName + })(); }; - var de_DescribeExecutionCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_DescribeExecutionCommandError(output, context); + exports.fromTokenFile = fromTokenFile; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +var require_dist_cjs50 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_fromTokenFile(), exports); + tslib_1.__exportStar(require_fromWebToken(), exports); + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveWebIdentityCredentials.js +var require_resolveWebIdentityCredentials = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveWebIdentityCredentials.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveWebIdentityCredentials = exports.isWebIdentityProfile = void 0; + var credential_provider_web_identity_1 = require_dist_cjs50(); + var isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1; + exports.isWebIdentityProfile = isWebIdentityProfile; + var resolveWebIdentityCredentials = async (profile, options) => (0, credential_provider_web_identity_1.fromTokenFile)({ + webIdentityTokenFile: profile.web_identity_token_file, + roleArn: profile.role_arn, + roleSessionName: profile.role_session_name, + roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity + })(); + exports.resolveWebIdentityCredentials = resolveWebIdentityCredentials; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProfileData.js +var require_resolveProfileData = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProfileData.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveProfileData = void 0; + var property_provider_1 = require_dist_cjs6(); + var resolveAssumeRoleCredentials_1 = require_resolveAssumeRoleCredentials(); + var resolveProcessCredentials_1 = require_resolveProcessCredentials2(); + var resolveSsoCredentials_1 = require_resolveSsoCredentials(); + var resolveStaticCredentials_1 = require_resolveStaticCredentials(); + var resolveWebIdentityCredentials_1 = require_resolveWebIdentityCredentials(); + var resolveProfileData = async (profileName, profiles, options, visitedProfiles = {}) => { + const data = profiles[profileName]; + if (Object.keys(visitedProfiles).length > 0 && (0, resolveStaticCredentials_1.isStaticCredsProfile)(data)) { + return (0, resolveStaticCredentials_1.resolveStaticCredentials)(data); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_DescribeExecutionOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_DescribeExecutionCommand = de_DescribeExecutionCommand; - var de_DescribeExecutionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ExecutionDoesNotExist": - case "com.amazonaws.sfn#ExecutionDoesNotExist": - throw await de_ExecutionDoesNotExistRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + if ((0, resolveAssumeRoleCredentials_1.isAssumeRoleProfile)(data)) { + return (0, resolveAssumeRoleCredentials_1.resolveAssumeRoleCredentials)(profileName, profiles, options, visitedProfiles); } - }; - var de_DescribeMapRunCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_DescribeMapRunCommandError(output, context); - } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_DescribeMapRunOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_DescribeMapRunCommand = de_DescribeMapRunCommand; - var de_DescribeMapRunCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "ResourceNotFound": - case "com.amazonaws.sfn#ResourceNotFound": - throw await de_ResourceNotFoundRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); - } - }; - var de_DescribeStateMachineCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_DescribeStateMachineCommandError(output, context); - } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_DescribeStateMachineOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_DescribeStateMachineCommand = de_DescribeStateMachineCommand; - var de_DescribeStateMachineCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "StateMachineDoesNotExist": - case "com.amazonaws.sfn#StateMachineDoesNotExist": - throw await de_StateMachineDoesNotExistRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); - } - }; - var de_DescribeStateMachineAliasCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_DescribeStateMachineAliasCommandError(output, context); + if ((0, resolveStaticCredentials_1.isStaticCredsProfile)(data)) { + return (0, resolveStaticCredentials_1.resolveStaticCredentials)(data); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_DescribeStateMachineAliasOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_DescribeStateMachineAliasCommand = de_DescribeStateMachineAliasCommand; - var de_DescribeStateMachineAliasCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "ResourceNotFound": - case "com.amazonaws.sfn#ResourceNotFound": - throw await de_ResourceNotFoundRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.sfn#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + if ((0, resolveWebIdentityCredentials_1.isWebIdentityProfile)(data)) { + return (0, resolveWebIdentityCredentials_1.resolveWebIdentityCredentials)(data, options); } - }; - var de_DescribeStateMachineForExecutionCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_DescribeStateMachineForExecutionCommandError(output, context); + if ((0, resolveProcessCredentials_1.isProcessProfile)(data)) { + return (0, resolveProcessCredentials_1.resolveProcessCredentials)(options, profileName); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_DescribeStateMachineForExecutionOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_DescribeStateMachineForExecutionCommand = de_DescribeStateMachineForExecutionCommand; - var de_DescribeStateMachineForExecutionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ExecutionDoesNotExist": - case "com.amazonaws.sfn#ExecutionDoesNotExist": - throw await de_ExecutionDoesNotExistRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + if ((0, resolveSsoCredentials_1.isSsoProfile)(data)) { + return (0, resolveSsoCredentials_1.resolveSsoCredentials)(data); } + throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} could not be found or parsed in shared credentials file.`); }; - var de_GetActivityTaskCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_GetActivityTaskCommandError(output, context); - } - const data = await parseBody(output.body, context); - let contents = {}; - contents = (0, smithy_client_1._json)(data); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; + exports.resolveProfileData = resolveProfileData; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/fromIni.js +var require_fromIni = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/fromIni.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.fromIni = void 0; + var shared_ini_file_loader_1 = require_dist_cjs23(); + var resolveProfileData_1 = require_resolveProfileData(); + var fromIni = (init = {}) => async () => { + const profiles = await (0, shared_ini_file_loader_1.parseKnownFiles)(init); + return (0, resolveProfileData_1.resolveProfileData)((0, shared_ini_file_loader_1.getProfileName)(init), profiles, init); }; - exports.de_GetActivityTaskCommand = de_GetActivityTaskCommand; - var de_GetActivityTaskCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ActivityDoesNotExist": - case "com.amazonaws.sfn#ActivityDoesNotExist": - throw await de_ActivityDoesNotExistRes(parsedOutput, context); - case "ActivityWorkerLimitExceeded": - case "com.amazonaws.sfn#ActivityWorkerLimitExceeded": - throw await de_ActivityWorkerLimitExceededRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + exports.fromIni = fromIni; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +var require_dist_cjs51 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_fromIni(), exports); + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/remoteProvider.js +var require_remoteProvider = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/remoteProvider.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.remoteProvider = exports.ENV_IMDS_DISABLED = void 0; + var credential_provider_imds_1 = require_dist_cjs40(); + var property_provider_1 = require_dist_cjs6(); + exports.ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; + var 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); } - }; - var de_GetExecutionHistoryCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_GetExecutionHistoryCommandError(output, context); + if (process.env[exports.ENV_IMDS_DISABLED]) { + return async () => { + throw new property_provider_1.CredentialsProviderError("EC2 Instance Metadata Service access disabled"); + }; } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_GetExecutionHistoryOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; + return (0, credential_provider_imds_1.fromInstanceMetadata)(init); }; - exports.de_GetExecutionHistoryCommand = de_GetExecutionHistoryCommand; - var de_GetExecutionHistoryCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ExecutionDoesNotExist": - case "com.amazonaws.sfn#ExecutionDoesNotExist": - throw await de_ExecutionDoesNotExistRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "InvalidToken": - case "com.amazonaws.sfn#InvalidToken": - throw await de_InvalidTokenRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); - } + exports.remoteProvider = remoteProvider; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/defaultProvider.js +var require_defaultProvider = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/defaultProvider.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.defaultProvider = void 0; + var credential_provider_env_1 = require_dist_cjs39(); + var credential_provider_ini_1 = require_dist_cjs51(); + var credential_provider_process_1 = require_dist_cjs41(); + var credential_provider_sso_1 = require_dist_cjs49(); + var credential_provider_web_identity_1 = require_dist_cjs50(); + var property_provider_1 = require_dist_cjs6(); + var shared_ini_file_loader_1 = require_dist_cjs23(); + var remoteProvider_1 = require_remoteProvider(); + var defaultProvider = (init = {}) => (0, property_provider_1.memoize)((0, property_provider_1.chain)(...init.profile || process.env[shared_ini_file_loader_1.ENV_PROFILE] ? [] : [(0, credential_provider_env_1.fromEnv)()], (0, credential_provider_sso_1.fromSSO)(init), (0, credential_provider_ini_1.fromIni)(init), (0, credential_provider_process_1.fromProcess)(init), (0, credential_provider_web_identity_1.fromTokenFile)(init), (0, remoteProvider_1.remoteProvider)(init), async () => { + throw new property_provider_1.CredentialsProviderError("Could not load credentials from any providers", false); + }), (credentials) => credentials.expiration !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5, (credentials) => credentials.expiration !== void 0); + exports.defaultProvider = defaultProvider; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +var require_dist_cjs52 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_defaultProvider(), exports); + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +var require_ruleset2 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.ruleSet = void 0; + var F = "required"; + var G = "type"; + var H = "fn"; + var I = "argv"; + var J = "ref"; + var a = false; + var b = true; + var c = "booleanEquals"; + var d = "tree"; + var e = "stringEquals"; + var f = "sigv4"; + var g = "sts"; + var h = "us-east-1"; + var i = "endpoint"; + var j = "https://sts.{Region}.{PartitionResult#dnsSuffix}"; + var k = "error"; + var l = "getAttr"; + var m = { [F]: false, [G]: "String" }; + var n = { [F]: true, "default": false, [G]: "Boolean" }; + var o = { [J]: "Endpoint" }; + var p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }; + var q = { [J]: "Region" }; + var r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }; + var s = { [J]: "UseFIPS" }; + var t = { [J]: "UseDualStack" }; + var u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": f, "signingName": g, "signingRegion": h }] }, "headers": {} }; + var v = {}; + var w = { "conditions": [{ [H]: e, [I]: [q, "aws-global"] }], [i]: u, [G]: i }; + var x = { [H]: c, [I]: [s, true] }; + var y = { [H]: c, [I]: [t, true] }; + var z = { [H]: c, [I]: [true, { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }] }; + var A = { [J]: "PartitionResult" }; + var B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }; + var C = [{ [H]: "isSet", [I]: [o] }]; + var D = [x]; + var E = [y]; + var _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: i }, w, { conditions: [{ [H]: e, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, h] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-east-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-2"] }], endpoint: u, [G]: i }, { endpoint: { url: j, properties: { authSchemes: [{ name: f, signingName: g, signingRegion: "{Region}" }] }, headers: v }, [G]: i }] }, { conditions: C, [G]: d, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: i }] }, { conditions: [p], [G]: d, rules: [{ conditions: [r], [G]: d, rules: [{ conditions: [x, y], [G]: d, rules: [{ conditions: [z, B], [G]: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }] }, { conditions: D, [G]: d, rules: [{ conditions: [z], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: ["aws-us-gov", { [H]: l, [I]: [A, "name"] }] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: i }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }] }, { conditions: E, [G]: d, rules: [{ conditions: [B], [G]: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }] }, w, { endpoint: { url: j, properties: v, headers: v }, [G]: i }] }] }, { error: "Invalid Configuration: Missing Region", [G]: k }] }; + exports.ruleSet = _data; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +var require_endpointResolver2 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.defaultEndpointResolver = void 0; + var util_endpoints_1 = require_dist_cjs18(); + var ruleset_1 = require_ruleset2(); + var defaultEndpointResolver = (endpointParams, context = {}) => { + return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams, + logger: context.logger + }); }; - var de_ListActivitiesCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_ListActivitiesCommandError(output, context); - } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_ListActivitiesOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents + exports.defaultEndpointResolver = defaultEndpointResolver; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +var require_runtimeConfig_shared2 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getRuntimeConfig = void 0; + var smithy_client_1 = require_dist_cjs37(); + var url_parser_1 = require_dist_cjs26(); + var util_base64_1 = require_dist_cjs33(); + var util_utf8_1 = require_dist_cjs13(); + var endpointResolver_1 = require_endpointResolver2(); + var getRuntimeConfig = (config) => ({ + apiVersion: "2011-06-15", + base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, + base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, + extensions: config?.extensions ?? [], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + serviceId: config?.serviceId ?? "STS", + urlParser: config?.urlParser ?? url_parser_1.parseUrl, + utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8 + }); + exports.getRuntimeConfig = getRuntimeConfig; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +var require_runtimeConfig2 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getRuntimeConfig = void 0; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + var package_json_1 = tslib_1.__importDefault(require_package2()); + var defaultStsRoleAssumers_1 = require_defaultStsRoleAssumers(); + var credential_provider_node_1 = require_dist_cjs52(); + var util_user_agent_node_1 = require_dist_cjs42(); + var config_resolver_1 = require_dist_cjs21(); + var hash_node_1 = require_dist_cjs43(); + var middleware_retry_1 = require_dist_cjs31(); + var node_config_provider_1 = require_dist_cjs24(); + var node_http_handler_1 = require_dist_cjs35(); + var util_body_length_node_1 = require_dist_cjs44(); + var util_retry_1 = require_dist_cjs30(); + var runtimeConfig_shared_1 = require_runtimeConfig_shared2(); + var smithy_client_1 = require_dist_cjs37(); + var util_defaults_mode_node_1 = require_dist_cjs45(); + var smithy_client_2 = require_dist_cjs37(); + var getRuntimeConfig = (config) => { + (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version); + const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, defaultStsRoleAssumers_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider), + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), + requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider), + retryMode: config?.retryMode ?? (0, node_config_provider_1.loadConfig)({ + ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE + }), + sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS) }; - return response; }; - exports.de_ListActivitiesCommand = de_ListActivitiesCommand; - var de_ListActivitiesCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) + exports.getRuntimeConfig = getRuntimeConfig; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js +var require_runtimeExtensions2 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveRuntimeExtensions = void 0; + var region_config_resolver_1 = require_dist_cjs46(); + var protocol_http_1 = require_dist_cjs2(); + var smithy_client_1 = require_dist_cjs37(); + var asPartial = (t) => t; + var resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = { + ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)), + ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)), + ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)) }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidToken": - case "com.amazonaws.sfn#InvalidToken": - throw await de_InvalidTokenRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); - } - }; - var de_ListExecutionsCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_ListExecutionsCommandError(output, context); - } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_ListExecutionsOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return { + ...runtimeConfig, + ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), + ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), + ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration) }; - return response; }; - exports.de_ListExecutionsCommand = de_ListExecutionsCommand; - var de_ListExecutionsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "InvalidToken": - case "com.amazonaws.sfn#InvalidToken": - throw await de_InvalidTokenRes(parsedOutput, context); - case "ResourceNotFound": - case "com.amazonaws.sfn#ResourceNotFound": - throw await de_ResourceNotFoundRes(parsedOutput, context); - case "StateMachineDoesNotExist": - case "com.amazonaws.sfn#StateMachineDoesNotExist": - throw await de_StateMachineDoesNotExistRes(parsedOutput, context); - case "StateMachineTypeNotSupported": - case "com.amazonaws.sfn#StateMachineTypeNotSupported": - throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.sfn#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + exports.resolveRuntimeExtensions = resolveRuntimeExtensions; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +var require_STSClient = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.STSClient = exports.__Client = void 0; + var middleware_host_header_1 = require_dist_cjs3(); + var middleware_logger_1 = require_dist_cjs4(); + var middleware_recursion_detection_1 = require_dist_cjs5(); + var middleware_sdk_sts_1 = require_dist_cjs38(); + var middleware_user_agent_1 = require_dist_cjs19(); + var config_resolver_1 = require_dist_cjs21(); + var middleware_content_length_1 = require_dist_cjs22(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_retry_1 = require_dist_cjs31(); + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "__Client", { enumerable: true, get: function() { + return smithy_client_1.Client; + } }); + var EndpointParameters_1 = require_EndpointParameters2(); + var runtimeConfig_1 = require_runtimeConfig2(); + var runtimeExtensions_1 = require_runtimeExtensions2(); + var STSClient = class _STSClient extends smithy_client_1.Client { + constructor(...[configuration]) { + const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {}); + const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0); + const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1); + const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2); + const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3); + const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4); + const _config_6 = (0, middleware_sdk_sts_1.resolveStsAuthConfig)(_config_5, { stsClientCtor: _STSClient }); + const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6); + const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []); + super(_config_8); + this.config = _config_8; + 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_recursion_detection_1.getRecursionDetectionPlugin)(this.config)); + this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config)); } - }; - var de_ListMapRunsCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_ListMapRunsCommandError(output, context); + destroy() { + super.destroy(); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_ListMapRunsOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; }; - exports.de_ListMapRunsCommand = de_ListMapRunsCommand; - var de_ListMapRunsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ExecutionDoesNotExist": - case "com.amazonaws.sfn#ExecutionDoesNotExist": - throw await de_ExecutionDoesNotExistRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "InvalidToken": - case "com.amazonaws.sfn#InvalidToken": - throw await de_InvalidTokenRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + exports.STSClient = STSClient; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +var require_AssumeRoleWithSAMLCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.AssumeRoleWithSAMLCommand = exports.$Command = void 0; + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { + return smithy_client_1.Command; + } }); + var types_1 = require_dist_cjs(); + var models_0_1 = require_models_0(); + var Aws_query_1 = require_Aws_query(); + var AssumeRoleWithSAMLCommand = class _AssumeRoleWithSAMLCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + }; } - }; - var de_ListStateMachineAliasesCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_ListStateMachineAliasesCommandError(output, context); + constructor(input) { + super(); + this.input = input; } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_ListStateMachineAliasesOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_ListStateMachineAliasesCommand = de_ListStateMachineAliasesCommand; - var de_ListStateMachineAliasesCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "InvalidToken": - case "com.amazonaws.sfn#InvalidToken": - throw await de_InvalidTokenRes(parsedOutput, context); - case "ResourceNotFound": - case "com.amazonaws.sfn#ResourceNotFound": - throw await de_ResourceNotFoundRes(parsedOutput, context); - case "StateMachineDeleting": - case "com.amazonaws.sfn#StateMachineDeleting": - throw await de_StateMachineDeletingRes(parsedOutput, context); - case "StateMachineDoesNotExist": - case "com.amazonaws.sfn#StateMachineDoesNotExist": - throw await de_StateMachineDoesNotExistRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _AssumeRoleWithSAMLCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "STSClient"; + const commandName = "AssumeRoleWithSAMLCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: models_0_1.AssumeRoleWithSAMLRequestFilterSensitiveLog, + outputFilterSensitiveLog: models_0_1.AssumeRoleWithSAMLResponseFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AWSSecurityTokenServiceV20110615", + operation: "AssumeRoleWithSAML" + } + }; + const { requestHandler } = configuration; + return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); } - }; - var de_ListStateMachinesCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_ListStateMachinesCommandError(output, context); + serialize(input, context) { + return (0, Aws_query_1.se_AssumeRoleWithSAMLCommand)(input, context); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_ListStateMachinesOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_ListStateMachinesCommand = de_ListStateMachinesCommand; - var de_ListStateMachinesCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidToken": - case "com.amazonaws.sfn#InvalidToken": - throw await de_InvalidTokenRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + deserialize(output, context) { + return (0, Aws_query_1.de_AssumeRoleWithSAMLCommand)(output, context); } }; - var de_ListStateMachineVersionsCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_ListStateMachineVersionsCommandError(output, context); + exports.AssumeRoleWithSAMLCommand = AssumeRoleWithSAMLCommand; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +var require_DecodeAuthorizationMessageCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.DecodeAuthorizationMessageCommand = exports.$Command = void 0; + var middleware_signing_1 = require_dist_cjs16(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { + return smithy_client_1.Command; + } }); + var types_1 = require_dist_cjs(); + var Aws_query_1 = require_Aws_query(); + var DecodeAuthorizationMessageCommand = class _DecodeAuthorizationMessageCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + }; } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_ListStateMachineVersionsOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_ListStateMachineVersionsCommand = de_ListStateMachineVersionsCommand; - var de_ListStateMachineVersionsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "InvalidToken": - case "com.amazonaws.sfn#InvalidToken": - throw await de_InvalidTokenRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.sfn#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + constructor(input) { + super(); + this.input = input; } - }; - var de_ListTagsForResourceCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_ListTagsForResourceCommandError(output, context); + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _DecodeAuthorizationMessageCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "STSClient"; + const commandName = "DecodeAuthorizationMessageCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AWSSecurityTokenServiceV20110615", + operation: "DecodeAuthorizationMessage" + } + }; + const { requestHandler } = configuration; + return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = (0, smithy_client_1._json)(data); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand; - var de_ListTagsForResourceCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "ResourceNotFound": - case "com.amazonaws.sfn#ResourceNotFound": - throw await de_ResourceNotFoundRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + serialize(input, context) { + return (0, Aws_query_1.se_DecodeAuthorizationMessageCommand)(input, context); } - }; - var de_PublishStateMachineVersionCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_PublishStateMachineVersionCommandError(output, context); + deserialize(output, context) { + return (0, Aws_query_1.de_DecodeAuthorizationMessageCommand)(output, context); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_PublishStateMachineVersionOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; }; - exports.de_PublishStateMachineVersionCommand = de_PublishStateMachineVersionCommand; - var de_PublishStateMachineVersionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ConflictException": - case "com.amazonaws.sfn#ConflictException": - throw await de_ConflictExceptionRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "ServiceQuotaExceededException": - case "com.amazonaws.sfn#ServiceQuotaExceededException": - throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); - case "StateMachineDeleting": - case "com.amazonaws.sfn#StateMachineDeleting": - throw await de_StateMachineDeletingRes(parsedOutput, context); - case "StateMachineDoesNotExist": - case "com.amazonaws.sfn#StateMachineDoesNotExist": - throw await de_StateMachineDoesNotExistRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.sfn#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + exports.DecodeAuthorizationMessageCommand = DecodeAuthorizationMessageCommand; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +var require_GetAccessKeyInfoCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.GetAccessKeyInfoCommand = exports.$Command = void 0; + var middleware_signing_1 = require_dist_cjs16(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { + return smithy_client_1.Command; + } }); + var types_1 = require_dist_cjs(); + var Aws_query_1 = require_Aws_query(); + var GetAccessKeyInfoCommand = class _GetAccessKeyInfoCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + }; } - }; - var de_SendTaskFailureCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_SendTaskFailureCommandError(output, context); + constructor(input) { + super(); + this.input = input; } - const data = await parseBody(output.body, context); - let contents = {}; - contents = (0, smithy_client_1._json)(data); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_SendTaskFailureCommand = de_SendTaskFailureCommand; - var de_SendTaskFailureCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidToken": - case "com.amazonaws.sfn#InvalidToken": - throw await de_InvalidTokenRes(parsedOutput, context); - case "TaskDoesNotExist": - case "com.amazonaws.sfn#TaskDoesNotExist": - throw await de_TaskDoesNotExistRes(parsedOutput, context); - case "TaskTimedOut": - case "com.amazonaws.sfn#TaskTimedOut": - throw await de_TaskTimedOutRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _GetAccessKeyInfoCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "STSClient"; + const commandName = "GetAccessKeyInfoCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AWSSecurityTokenServiceV20110615", + operation: "GetAccessKeyInfo" + } + }; + const { requestHandler } = configuration; + return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); } - }; - var de_SendTaskHeartbeatCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_SendTaskHeartbeatCommandError(output, context); + serialize(input, context) { + return (0, Aws_query_1.se_GetAccessKeyInfoCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_query_1.de_GetAccessKeyInfoCommand)(output, context); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = (0, smithy_client_1._json)(data); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; }; - exports.de_SendTaskHeartbeatCommand = de_SendTaskHeartbeatCommand; - var de_SendTaskHeartbeatCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidToken": - case "com.amazonaws.sfn#InvalidToken": - throw await de_InvalidTokenRes(parsedOutput, context); - case "TaskDoesNotExist": - case "com.amazonaws.sfn#TaskDoesNotExist": - throw await de_TaskDoesNotExistRes(parsedOutput, context); - case "TaskTimedOut": - case "com.amazonaws.sfn#TaskTimedOut": - throw await de_TaskTimedOutRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + exports.GetAccessKeyInfoCommand = GetAccessKeyInfoCommand; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +var require_GetCallerIdentityCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.GetCallerIdentityCommand = exports.$Command = void 0; + var middleware_signing_1 = require_dist_cjs16(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { + return smithy_client_1.Command; + } }); + var types_1 = require_dist_cjs(); + var Aws_query_1 = require_Aws_query(); + var GetCallerIdentityCommand = class _GetCallerIdentityCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + }; } - }; - var de_SendTaskSuccessCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_SendTaskSuccessCommandError(output, context); + constructor(input) { + super(); + this.input = input; } - const data = await parseBody(output.body, context); - let contents = {}; - contents = (0, smithy_client_1._json)(data); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_SendTaskSuccessCommand = de_SendTaskSuccessCommand; - var de_SendTaskSuccessCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidOutput": - case "com.amazonaws.sfn#InvalidOutput": - throw await de_InvalidOutputRes(parsedOutput, context); - case "InvalidToken": - case "com.amazonaws.sfn#InvalidToken": - throw await de_InvalidTokenRes(parsedOutput, context); - case "TaskDoesNotExist": - case "com.amazonaws.sfn#TaskDoesNotExist": - throw await de_TaskDoesNotExistRes(parsedOutput, context); - case "TaskTimedOut": - case "com.amazonaws.sfn#TaskTimedOut": - throw await de_TaskTimedOutRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _GetCallerIdentityCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "STSClient"; + const commandName = "GetCallerIdentityCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AWSSecurityTokenServiceV20110615", + operation: "GetCallerIdentity" + } + }; + const { requestHandler } = configuration; + return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); } - }; - var de_StartExecutionCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_StartExecutionCommandError(output, context); + serialize(input, context) { + return (0, Aws_query_1.se_GetCallerIdentityCommand)(input, context); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_StartExecutionOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_StartExecutionCommand = de_StartExecutionCommand; - var de_StartExecutionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ExecutionAlreadyExists": - case "com.amazonaws.sfn#ExecutionAlreadyExists": - throw await de_ExecutionAlreadyExistsRes(parsedOutput, context); - case "ExecutionLimitExceeded": - case "com.amazonaws.sfn#ExecutionLimitExceeded": - throw await de_ExecutionLimitExceededRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "InvalidExecutionInput": - case "com.amazonaws.sfn#InvalidExecutionInput": - throw await de_InvalidExecutionInputRes(parsedOutput, context); - case "InvalidName": - case "com.amazonaws.sfn#InvalidName": - throw await de_InvalidNameRes(parsedOutput, context); - case "StateMachineDeleting": - case "com.amazonaws.sfn#StateMachineDeleting": - throw await de_StateMachineDeletingRes(parsedOutput, context); - case "StateMachineDoesNotExist": - case "com.amazonaws.sfn#StateMachineDoesNotExist": - throw await de_StateMachineDoesNotExistRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.sfn#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + deserialize(output, context) { + return (0, Aws_query_1.de_GetCallerIdentityCommand)(output, context); } }; - var de_StartSyncExecutionCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_StartSyncExecutionCommandError(output, context); + exports.GetCallerIdentityCommand = GetCallerIdentityCommand; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +var require_GetFederationTokenCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.GetFederationTokenCommand = exports.$Command = void 0; + var middleware_signing_1 = require_dist_cjs16(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { + return smithy_client_1.Command; + } }); + var types_1 = require_dist_cjs(); + var models_0_1 = require_models_0(); + var Aws_query_1 = require_Aws_query(); + var GetFederationTokenCommand = class _GetFederationTokenCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + }; } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_StartSyncExecutionOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_StartSyncExecutionCommand = de_StartSyncExecutionCommand; - var de_StartSyncExecutionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "InvalidExecutionInput": - case "com.amazonaws.sfn#InvalidExecutionInput": - throw await de_InvalidExecutionInputRes(parsedOutput, context); - case "InvalidName": - case "com.amazonaws.sfn#InvalidName": - throw await de_InvalidNameRes(parsedOutput, context); - case "StateMachineDeleting": - case "com.amazonaws.sfn#StateMachineDeleting": - throw await de_StateMachineDeletingRes(parsedOutput, context); - case "StateMachineDoesNotExist": - case "com.amazonaws.sfn#StateMachineDoesNotExist": - throw await de_StateMachineDoesNotExistRes(parsedOutput, context); - case "StateMachineTypeNotSupported": - case "com.amazonaws.sfn#StateMachineTypeNotSupported": - throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + constructor(input) { + super(); + this.input = input; } - }; - var de_StopExecutionCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_StopExecutionCommandError(output, context); + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _GetFederationTokenCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "STSClient"; + const commandName = "GetFederationTokenCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_0_1.GetFederationTokenResponseFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AWSSecurityTokenServiceV20110615", + operation: "GetFederationToken" + } + }; + const { requestHandler } = configuration; + return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_StopExecutionOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_StopExecutionCommand = de_StopExecutionCommand; - var de_StopExecutionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ExecutionDoesNotExist": - case "com.amazonaws.sfn#ExecutionDoesNotExist": - throw await de_ExecutionDoesNotExistRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.sfn#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + serialize(input, context) { + return (0, Aws_query_1.se_GetFederationTokenCommand)(input, context); } - }; - var de_TagResourceCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_TagResourceCommandError(output, context); + deserialize(output, context) { + return (0, Aws_query_1.de_GetFederationTokenCommand)(output, context); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = (0, smithy_client_1._json)(data); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; }; - exports.de_TagResourceCommand = de_TagResourceCommand; - var de_TagResourceCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "ResourceNotFound": - case "com.amazonaws.sfn#ResourceNotFound": - throw await de_ResourceNotFoundRes(parsedOutput, context); - case "TooManyTags": - case "com.amazonaws.sfn#TooManyTags": - throw await de_TooManyTagsRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + exports.GetFederationTokenCommand = GetFederationTokenCommand; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +var require_GetSessionTokenCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.GetSessionTokenCommand = exports.$Command = void 0; + var middleware_signing_1 = require_dist_cjs16(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { + return smithy_client_1.Command; + } }); + var types_1 = require_dist_cjs(); + var models_0_1 = require_models_0(); + var Aws_query_1 = require_Aws_query(); + var GetSessionTokenCommand = class _GetSessionTokenCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + }; } - }; - var de_UntagResourceCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_UntagResourceCommandError(output, context); + constructor(input) { + super(); + this.input = input; } - const data = await parseBody(output.body, context); - let contents = {}; - contents = (0, smithy_client_1._json)(data); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_UntagResourceCommand = de_UntagResourceCommand; - var de_UntagResourceCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "ResourceNotFound": - case "com.amazonaws.sfn#ResourceNotFound": - throw await de_ResourceNotFoundRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _GetSessionTokenCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration)); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "STSClient"; + const commandName = "GetSessionTokenCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_0_1.GetSessionTokenResponseFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AWSSecurityTokenServiceV20110615", + operation: "GetSessionToken" + } + }; + const { requestHandler } = configuration; + return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); } - }; - var de_UpdateMapRunCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_UpdateMapRunCommandError(output, context); + serialize(input, context) { + return (0, Aws_query_1.se_GetSessionTokenCommand)(input, context); } - const data = await parseBody(output.body, context); - let contents = {}; - contents = (0, smithy_client_1._json)(data); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_UpdateMapRunCommand = de_UpdateMapRunCommand; - var de_UpdateMapRunCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "ResourceNotFound": - case "com.amazonaws.sfn#ResourceNotFound": - throw await de_ResourceNotFoundRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.sfn#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); + deserialize(output, context) { + return (0, Aws_query_1.de_GetSessionTokenCommand)(output, context); } }; - var de_UpdateStateMachineCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_UpdateStateMachineCommandError(output, context); - } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_UpdateStateMachineOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; + exports.GetSessionTokenCommand = GetSessionTokenCommand; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/STS.js +var require_STS = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/STS.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.STS = void 0; + var smithy_client_1 = require_dist_cjs37(); + var AssumeRoleCommand_1 = require_AssumeRoleCommand(); + var AssumeRoleWithSAMLCommand_1 = require_AssumeRoleWithSAMLCommand(); + var AssumeRoleWithWebIdentityCommand_1 = require_AssumeRoleWithWebIdentityCommand(); + var DecodeAuthorizationMessageCommand_1 = require_DecodeAuthorizationMessageCommand(); + var GetAccessKeyInfoCommand_1 = require_GetAccessKeyInfoCommand(); + var GetCallerIdentityCommand_1 = require_GetCallerIdentityCommand(); + var GetFederationTokenCommand_1 = require_GetFederationTokenCommand(); + var GetSessionTokenCommand_1 = require_GetSessionTokenCommand(); + var STSClient_1 = require_STSClient(); + var commands = { + AssumeRoleCommand: AssumeRoleCommand_1.AssumeRoleCommand, + AssumeRoleWithSAMLCommand: AssumeRoleWithSAMLCommand_1.AssumeRoleWithSAMLCommand, + AssumeRoleWithWebIdentityCommand: AssumeRoleWithWebIdentityCommand_1.AssumeRoleWithWebIdentityCommand, + DecodeAuthorizationMessageCommand: DecodeAuthorizationMessageCommand_1.DecodeAuthorizationMessageCommand, + GetAccessKeyInfoCommand: GetAccessKeyInfoCommand_1.GetAccessKeyInfoCommand, + GetCallerIdentityCommand: GetCallerIdentityCommand_1.GetCallerIdentityCommand, + GetFederationTokenCommand: GetFederationTokenCommand_1.GetFederationTokenCommand, + GetSessionTokenCommand: GetSessionTokenCommand_1.GetSessionTokenCommand }; - exports.de_UpdateStateMachineCommand = de_UpdateStateMachineCommand; - var de_UpdateStateMachineCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ConflictException": - case "com.amazonaws.sfn#ConflictException": - throw await de_ConflictExceptionRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "InvalidDefinition": - case "com.amazonaws.sfn#InvalidDefinition": - throw await de_InvalidDefinitionRes(parsedOutput, context); - case "InvalidLoggingConfiguration": - case "com.amazonaws.sfn#InvalidLoggingConfiguration": - throw await de_InvalidLoggingConfigurationRes(parsedOutput, context); - case "InvalidTracingConfiguration": - case "com.amazonaws.sfn#InvalidTracingConfiguration": - throw await de_InvalidTracingConfigurationRes(parsedOutput, context); - case "MissingRequiredParameter": - case "com.amazonaws.sfn#MissingRequiredParameter": - throw await de_MissingRequiredParameterRes(parsedOutput, context); - case "ServiceQuotaExceededException": - case "com.amazonaws.sfn#ServiceQuotaExceededException": - throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); - case "StateMachineDeleting": - case "com.amazonaws.sfn#StateMachineDeleting": - throw await de_StateMachineDeletingRes(parsedOutput, context); - case "StateMachineDoesNotExist": - case "com.amazonaws.sfn#StateMachineDoesNotExist": - throw await de_StateMachineDoesNotExistRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.sfn#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); - } - }; - var de_UpdateStateMachineAliasCommand = async (output, context) => { - if (output.statusCode >= 300) { - return de_UpdateStateMachineAliasCommandError(output, context); - } - const data = await parseBody(output.body, context); - let contents = {}; - contents = de_UpdateStateMachineAliasOutput(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; - }; - exports.de_UpdateStateMachineAliasCommand = de_UpdateStateMachineAliasCommand; - var de_UpdateStateMachineAliasCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ConflictException": - case "com.amazonaws.sfn#ConflictException": - throw await de_ConflictExceptionRes(parsedOutput, context); - case "InvalidArn": - case "com.amazonaws.sfn#InvalidArn": - throw await de_InvalidArnRes(parsedOutput, context); - case "ResourceNotFound": - case "com.amazonaws.sfn#ResourceNotFound": - throw await de_ResourceNotFoundRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.sfn#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); - } - }; - var de_ActivityDoesNotExistRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.ActivityDoesNotExist({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var de_ActivityLimitExceededRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.ActivityLimitExceeded({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var de_ActivityWorkerLimitExceededRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.ActivityWorkerLimitExceeded({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var de_ConflictExceptionRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.ConflictException({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var de_ExecutionAlreadyExistsRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.ExecutionAlreadyExists({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + var STS = class extends STSClient_1.STSClient { }; - var de_ExecutionDoesNotExistRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.ExecutionDoesNotExist({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.STS = STS; + (0, smithy_client_1.createAggregatedClient)(commands, STS); + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/index.js +var require_commands2 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/commands/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_AssumeRoleCommand(), exports); + tslib_1.__exportStar(require_AssumeRoleWithSAMLCommand(), exports); + tslib_1.__exportStar(require_AssumeRoleWithWebIdentityCommand(), exports); + tslib_1.__exportStar(require_DecodeAuthorizationMessageCommand(), exports); + tslib_1.__exportStar(require_GetAccessKeyInfoCommand(), exports); + tslib_1.__exportStar(require_GetCallerIdentityCommand(), exports); + tslib_1.__exportStar(require_GetFederationTokenCommand(), exports); + tslib_1.__exportStar(require_GetSessionTokenCommand(), exports); + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/models/index.js +var require_models2 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/models/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_models_0(), exports); + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/defaultRoleAssumers.js +var require_defaultRoleAssumers = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/defaultRoleAssumers.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.decorateDefaultCredentialProvider = exports.getDefaultRoleAssumerWithWebIdentity = exports.getDefaultRoleAssumer = void 0; + var defaultStsRoleAssumers_1 = require_defaultStsRoleAssumers(); + var STSClient_1 = require_STSClient(); + var getCustomizableStsClientCtor = (baseCtor, customizations) => { + if (!customizations) + return baseCtor; + else + return class CustomizableSTSClient extends baseCtor { + constructor(config) { + super(config); + for (const customization of customizations) { + this.middlewareStack.use(customization); + } + } + }; }; - var de_ExecutionLimitExceededRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.ExecutionLimitExceeded({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized + var getDefaultRoleAssumer = (stsOptions = {}, stsPlugins) => (0, defaultStsRoleAssumers_1.getDefaultRoleAssumer)(stsOptions, getCustomizableStsClientCtor(STSClient_1.STSClient, stsPlugins)); + exports.getDefaultRoleAssumer = getDefaultRoleAssumer; + var getDefaultRoleAssumerWithWebIdentity = (stsOptions = {}, stsPlugins) => (0, defaultStsRoleAssumers_1.getDefaultRoleAssumerWithWebIdentity)(stsOptions, getCustomizableStsClientCtor(STSClient_1.STSClient, stsPlugins)); + exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity; + var decorateDefaultCredentialProvider = (provider) => (input) => provider({ + roleAssumer: (0, exports.getDefaultRoleAssumer)(input), + roleAssumerWithWebIdentity: (0, exports.getDefaultRoleAssumerWithWebIdentity)(input), + ...input + }); + exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider; + } +}); + +// ../../../node_modules/@aws-sdk/client-sts/dist-cjs/index.js +var require_dist_cjs53 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sts/dist-cjs/index.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.STSServiceException = void 0; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + tslib_1.__exportStar(require_STSClient(), exports); + tslib_1.__exportStar(require_STS(), exports); + tslib_1.__exportStar(require_commands2(), exports); + tslib_1.__exportStar(require_models2(), exports); + tslib_1.__exportStar(require_defaultRoleAssumers(), exports); + var STSServiceException_1 = require_STSServiceException(); + Object.defineProperty(exports, "STSServiceException", { enumerable: true, get: function() { + return STSServiceException_1.STSServiceException; + } }); + } +}); + +// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/endpoint/ruleset.js +var require_ruleset3 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/endpoint/ruleset.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.ruleSet = void 0; + var r = "required"; + var s = "fn"; + var t = "argv"; + var u = "ref"; + var a = "isSet"; + var b = "tree"; + var c = "error"; + var d = "endpoint"; + var e = "PartitionResult"; + var f = { [r]: false, "type": "String" }; + var g = { [r]: true, "default": false, "type": "Boolean" }; + var h = { [u]: "Endpoint" }; + var i = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }; + var j = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }; + var k = {}; + var l = { [u]: "Region" }; + var m = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsFIPS"] }] }; + var n = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsDualStack"] }] }; + var o = [i]; + var p = [j]; + var q = [l]; + var _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [s]: a, [t]: [h] }], type: b, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [s]: a, [t]: q }], type: b, rules: [{ conditions: [{ [s]: "aws.partition", [t]: q, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ endpoint: { url: "https://states-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [s]: "stringEquals", [t]: [l, "us-gov-west-1"] }], endpoint: { url: "https://states.us-gov-west-1.amazonaws.com", properties: k, headers: k }, type: d }, { endpoint: { url: "https://states-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ endpoint: { url: "https://states.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://states.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }; + exports.ruleSet = _data; + } +}); + +// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/endpoint/endpointResolver.js +var require_endpointResolver3 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/endpoint/endpointResolver.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.defaultEndpointResolver = void 0; + var util_endpoints_1 = require_dist_cjs18(); + var ruleset_1 = require_ruleset3(); + var defaultEndpointResolver = (endpointParams, context = {}) => { + return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams, + logger: context.logger }); - return (0, smithy_client_1.decorateServiceException)(exception, body); }; - var de_InvalidArnRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.InvalidArn({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var de_InvalidDefinitionRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.InvalidDefinition({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var de_InvalidExecutionInputRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.InvalidExecutionInput({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.defaultEndpointResolver = defaultEndpointResolver; + } +}); + +// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/runtimeConfig.shared.js +var require_runtimeConfig_shared3 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/runtimeConfig.shared.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getRuntimeConfig = void 0; + var smithy_client_1 = require_dist_cjs37(); + var url_parser_1 = require_dist_cjs26(); + var util_base64_1 = require_dist_cjs33(); + var util_utf8_1 = require_dist_cjs13(); + var endpointResolver_1 = require_endpointResolver3(); + var getRuntimeConfig = (config) => ({ + apiVersion: "2016-11-23", + base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, + base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, + extensions: config?.extensions ?? [], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + serviceId: config?.serviceId ?? "SFN", + urlParser: config?.urlParser ?? url_parser_1.parseUrl, + utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8 + }); + exports.getRuntimeConfig = getRuntimeConfig; + } +}); + +// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/runtimeConfig.js +var require_runtimeConfig3 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/runtimeConfig.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getRuntimeConfig = void 0; + var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); + var package_json_1 = tslib_1.__importDefault(require_package()); + var client_sts_1 = require_dist_cjs53(); + var credential_provider_node_1 = require_dist_cjs52(); + var util_user_agent_node_1 = require_dist_cjs42(); + var config_resolver_1 = require_dist_cjs21(); + var hash_node_1 = require_dist_cjs43(); + var middleware_retry_1 = require_dist_cjs31(); + var node_config_provider_1 = require_dist_cjs24(); + var node_http_handler_1 = require_dist_cjs35(); + var util_body_length_node_1 = require_dist_cjs44(); + var util_retry_1 = require_dist_cjs30(); + var runtimeConfig_shared_1 = require_runtimeConfig_shared3(); + var smithy_client_1 = require_dist_cjs37(); + var util_defaults_mode_node_1 = require_dist_cjs45(); + var smithy_client_2 = require_dist_cjs37(); + var getRuntimeConfig = (config) => { + (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version); + const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider), + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), + requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider), + retryMode: config?.retryMode ?? (0, node_config_provider_1.loadConfig)({ + ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE + }), + sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS) + }; }; - var de_InvalidLoggingConfigurationRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.InvalidLoggingConfiguration({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.getRuntimeConfig = getRuntimeConfig; + } +}); + +// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/runtimeExtensions.js +var require_runtimeExtensions3 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/runtimeExtensions.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.resolveRuntimeExtensions = void 0; + var region_config_resolver_1 = require_dist_cjs46(); + var protocol_http_1 = require_dist_cjs2(); + var smithy_client_1 = require_dist_cjs37(); + var asPartial = (t) => t; + var resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = { + ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)), + ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)), + ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)) + }; + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return { + ...runtimeConfig, + ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), + ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), + ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration) + }; }; - var de_InvalidNameRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.InvalidName({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.resolveRuntimeExtensions = resolveRuntimeExtensions; + } +}); + +// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/SFNClient.js +var require_SFNClient = __commonJS({ + "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/SFNClient.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.SFNClient = exports.__Client = void 0; + var middleware_host_header_1 = require_dist_cjs3(); + var middleware_logger_1 = require_dist_cjs4(); + var middleware_recursion_detection_1 = require_dist_cjs5(); + var middleware_signing_1 = require_dist_cjs16(); + var middleware_user_agent_1 = require_dist_cjs19(); + var config_resolver_1 = require_dist_cjs21(); + var middleware_content_length_1 = require_dist_cjs22(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_retry_1 = require_dist_cjs31(); + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "__Client", { enumerable: true, get: function() { + return smithy_client_1.Client; + } }); + var EndpointParameters_1 = require_EndpointParameters(); + var runtimeConfig_1 = require_runtimeConfig3(); + var runtimeExtensions_1 = require_runtimeExtensions3(); + var SFNClient = class extends smithy_client_1.Client { + constructor(...[configuration]) { + const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {}); + const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0); + const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1); + const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2); + const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3); + const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4); + const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5); + const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6); + const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []); + super(_config_8); + this.config = _config_8; + 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_recursion_detection_1.getRecursionDetectionPlugin)(this.config)); + this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config)); + this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config)); + } + destroy() { + super.destroy(); + } }; - var de_InvalidOutputRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.InvalidOutput({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.SFNClient = SFNClient; + } +}); + +// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/models/SFNServiceException.js +var require_SFNServiceException = __commonJS({ + "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/models/SFNServiceException.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.SFNServiceException = exports.__ServiceException = void 0; + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function() { + return smithy_client_1.ServiceException; + } }); + var SFNServiceException = class _SFNServiceException extends smithy_client_1.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, _SFNServiceException.prototype); + } }; - var de_InvalidTokenRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.InvalidToken({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.SFNServiceException = SFNServiceException; + } +}); + +// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/models/models_0.js +var require_models_03 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/models/models_0.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.ExecutionStartedEventDetailsFilterSensitiveLog = exports.ExecutionFailedEventDetailsFilterSensitiveLog = exports.ExecutionAbortedEventDetailsFilterSensitiveLog = exports.GetActivityTaskOutputFilterSensitiveLog = exports.DescribeStateMachineForExecutionOutputFilterSensitiveLog = exports.DescribeStateMachineAliasOutputFilterSensitiveLog = exports.DescribeStateMachineOutputFilterSensitiveLog = exports.DescribeExecutionOutputFilterSensitiveLog = exports.CreateStateMachineAliasInputFilterSensitiveLog = exports.CreateStateMachineInputFilterSensitiveLog = exports.ActivityTimedOutEventDetailsFilterSensitiveLog = exports.ActivitySucceededEventDetailsFilterSensitiveLog = exports.ActivityScheduleFailedEventDetailsFilterSensitiveLog = exports.ActivityScheduledEventDetailsFilterSensitiveLog = exports.ActivityFailedEventDetailsFilterSensitiveLog = exports.MissingRequiredParameter = exports.SyncExecutionStatus = exports.InvalidExecutionInput = exports.ExecutionLimitExceeded = exports.ExecutionAlreadyExists = exports.InvalidOutput = exports.TaskTimedOut = exports.TaskDoesNotExist = exports.InvalidToken = exports.HistoryEventType = exports.StateMachineDoesNotExist = exports.StateMachineStatus = exports.MapRunStatus = exports.ExecutionDoesNotExist = exports.ExecutionStatus = exports.ServiceQuotaExceededException = exports.ResourceNotFound = exports.ValidationException = exports.ValidationExceptionReason = exports.StateMachineTypeNotSupported = exports.StateMachineLimitExceeded = exports.StateMachineDeleting = exports.StateMachineAlreadyExists = exports.InvalidTracingConfiguration = exports.InvalidLoggingConfiguration = exports.InvalidDefinition = exports.InvalidArn = exports.StateMachineType = exports.LogLevel = exports.ConflictException = exports.TooManyTags = exports.InvalidName = exports.ActivityWorkerLimitExceeded = exports.ActivityLimitExceeded = exports.ActivityDoesNotExist = void 0; + exports.UpdateStateMachineAliasInputFilterSensitiveLog = exports.UpdateStateMachineInputFilterSensitiveLog = exports.StopExecutionInputFilterSensitiveLog = exports.StartSyncExecutionOutputFilterSensitiveLog = exports.StartSyncExecutionInputFilterSensitiveLog = exports.StartExecutionInputFilterSensitiveLog = exports.SendTaskSuccessInputFilterSensitiveLog = exports.SendTaskFailureInputFilterSensitiveLog = exports.PublishStateMachineVersionInputFilterSensitiveLog = exports.GetExecutionHistoryOutputFilterSensitiveLog = exports.HistoryEventFilterSensitiveLog = exports.TaskTimedOutEventDetailsFilterSensitiveLog = exports.TaskSucceededEventDetailsFilterSensitiveLog = exports.TaskSubmittedEventDetailsFilterSensitiveLog = exports.TaskSubmitFailedEventDetailsFilterSensitiveLog = exports.TaskStartFailedEventDetailsFilterSensitiveLog = exports.TaskScheduledEventDetailsFilterSensitiveLog = exports.TaskFailedEventDetailsFilterSensitiveLog = exports.StateExitedEventDetailsFilterSensitiveLog = exports.StateEnteredEventDetailsFilterSensitiveLog = exports.MapRunFailedEventDetailsFilterSensitiveLog = exports.LambdaFunctionTimedOutEventDetailsFilterSensitiveLog = exports.LambdaFunctionSucceededEventDetailsFilterSensitiveLog = exports.LambdaFunctionStartFailedEventDetailsFilterSensitiveLog = exports.LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog = exports.LambdaFunctionScheduledEventDetailsFilterSensitiveLog = exports.LambdaFunctionFailedEventDetailsFilterSensitiveLog = exports.ExecutionTimedOutEventDetailsFilterSensitiveLog = exports.ExecutionSucceededEventDetailsFilterSensitiveLog = void 0; + var smithy_client_1 = require_dist_cjs37(); + var SFNServiceException_1 = require_SFNServiceException(); + var ActivityDoesNotExist = class _ActivityDoesNotExist extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "ActivityDoesNotExist", + $fault: "client", + ...opts + }); + this.name = "ActivityDoesNotExist"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ActivityDoesNotExist.prototype); + } }; - var de_InvalidTracingConfigurationRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.InvalidTracingConfiguration({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.ActivityDoesNotExist = ActivityDoesNotExist; + var ActivityLimitExceeded = class _ActivityLimitExceeded extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "ActivityLimitExceeded", + $fault: "client", + ...opts + }); + this.name = "ActivityLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ActivityLimitExceeded.prototype); + } }; - var de_MissingRequiredParameterRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.MissingRequiredParameter({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); - }; - var de_ResourceNotFoundRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.ResourceNotFound({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.ActivityLimitExceeded = ActivityLimitExceeded; + var ActivityWorkerLimitExceeded = class _ActivityWorkerLimitExceeded extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "ActivityWorkerLimitExceeded", + $fault: "client", + ...opts + }); + this.name = "ActivityWorkerLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ActivityWorkerLimitExceeded.prototype); + } }; - var de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.ServiceQuotaExceededException({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.ActivityWorkerLimitExceeded = ActivityWorkerLimitExceeded; + var InvalidName = class _InvalidName extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "InvalidName", + $fault: "client", + ...opts + }); + this.name = "InvalidName"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidName.prototype); + } }; - var de_StateMachineAlreadyExistsRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.StateMachineAlreadyExists({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.InvalidName = InvalidName; + var TooManyTags = class _TooManyTags extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "TooManyTags", + $fault: "client", + ...opts + }); + this.name = "TooManyTags"; + this.$fault = "client"; + Object.setPrototypeOf(this, _TooManyTags.prototype); + this.resourceName = opts.resourceName; + } }; - var de_StateMachineDeletingRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.StateMachineDeleting({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.TooManyTags = TooManyTags; + var ConflictException = class _ConflictException extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "ConflictException", + $fault: "client", + ...opts + }); + this.name = "ConflictException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ConflictException.prototype); + } }; - var de_StateMachineDoesNotExistRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.StateMachineDoesNotExist({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.ConflictException = ConflictException; + exports.LogLevel = { + ALL: "ALL", + ERROR: "ERROR", + FATAL: "FATAL", + OFF: "OFF" }; - var de_StateMachineLimitExceededRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.StateMachineLimitExceeded({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.StateMachineType = { + EXPRESS: "EXPRESS", + STANDARD: "STANDARD" }; - var de_StateMachineTypeNotSupportedRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.StateMachineTypeNotSupported({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + var InvalidArn = class _InvalidArn extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "InvalidArn", + $fault: "client", + ...opts + }); + this.name = "InvalidArn"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidArn.prototype); + } }; - var de_TaskDoesNotExistRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.TaskDoesNotExist({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.InvalidArn = InvalidArn; + var InvalidDefinition = class _InvalidDefinition extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "InvalidDefinition", + $fault: "client", + ...opts + }); + this.name = "InvalidDefinition"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidDefinition.prototype); + } }; - var de_TaskTimedOutRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.TaskTimedOut({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.InvalidDefinition = InvalidDefinition; + var InvalidLoggingConfiguration = class _InvalidLoggingConfiguration extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "InvalidLoggingConfiguration", + $fault: "client", + ...opts + }); + this.name = "InvalidLoggingConfiguration"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidLoggingConfiguration.prototype); + } }; - var de_TooManyTagsRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.TooManyTags({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.InvalidLoggingConfiguration = InvalidLoggingConfiguration; + var InvalidTracingConfiguration = class _InvalidTracingConfiguration extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "InvalidTracingConfiguration", + $fault: "client", + ...opts + }); + this.name = "InvalidTracingConfiguration"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidTracingConfiguration.prototype); + } }; - var de_ValidationExceptionRes = async (parsedOutput, context) => { - const body = parsedOutput.body; - const deserialized = (0, smithy_client_1._json)(body); - const exception = new models_0_1.ValidationException({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized - }); - return (0, smithy_client_1.decorateServiceException)(exception, body); + exports.InvalidTracingConfiguration = InvalidTracingConfiguration; + var StateMachineAlreadyExists = class _StateMachineAlreadyExists extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "StateMachineAlreadyExists", + $fault: "client", + ...opts + }); + this.name = "StateMachineAlreadyExists"; + this.$fault = "client"; + Object.setPrototypeOf(this, _StateMachineAlreadyExists.prototype); + } }; - var se_UpdateMapRunInput = (input, context) => { - return (0, smithy_client_1.take)(input, { - mapRunArn: [], - maxConcurrency: [], - toleratedFailureCount: [], - toleratedFailurePercentage: smithy_client_1.serializeFloat - }); + exports.StateMachineAlreadyExists = StateMachineAlreadyExists; + var StateMachineDeleting = class _StateMachineDeleting extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "StateMachineDeleting", + $fault: "client", + ...opts + }); + this.name = "StateMachineDeleting"; + this.$fault = "client"; + Object.setPrototypeOf(this, _StateMachineDeleting.prototype); + } }; - var de_ActivityList = (output, context) => { - const retVal = (output || []).filter((e) => e != null).map((entry) => { - return de_ActivityListItem(entry, context); - }); - return retVal; + exports.StateMachineDeleting = StateMachineDeleting; + var StateMachineLimitExceeded = class _StateMachineLimitExceeded extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "StateMachineLimitExceeded", + $fault: "client", + ...opts + }); + this.name = "StateMachineLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, _StateMachineLimitExceeded.prototype); + } }; - var de_ActivityListItem = (output, context) => { - return (0, smithy_client_1.take)(output, { - activityArn: smithy_client_1.expectString, - creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - name: smithy_client_1.expectString - }); + exports.StateMachineLimitExceeded = StateMachineLimitExceeded; + var StateMachineTypeNotSupported = class _StateMachineTypeNotSupported extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "StateMachineTypeNotSupported", + $fault: "client", + ...opts + }); + this.name = "StateMachineTypeNotSupported"; + this.$fault = "client"; + Object.setPrototypeOf(this, _StateMachineTypeNotSupported.prototype); + } }; - var de_CreateActivityOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - activityArn: smithy_client_1.expectString, - creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) - }); + exports.StateMachineTypeNotSupported = StateMachineTypeNotSupported; + exports.ValidationExceptionReason = { + API_DOES_NOT_SUPPORT_LABELED_ARNS: "API_DOES_NOT_SUPPORT_LABELED_ARNS", + CANNOT_UPDATE_COMPLETED_MAP_RUN: "CANNOT_UPDATE_COMPLETED_MAP_RUN", + INVALID_ROUTING_CONFIGURATION: "INVALID_ROUTING_CONFIGURATION", + MISSING_REQUIRED_PARAMETER: "MISSING_REQUIRED_PARAMETER" }; - var de_CreateStateMachineAliasOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - stateMachineAliasArn: smithy_client_1.expectString - }); + var ValidationException = class _ValidationException extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "ValidationException", + $fault: "client", + ...opts + }); + this.name = "ValidationException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ValidationException.prototype); + this.reason = opts.reason; + } }; - var de_CreateStateMachineOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - stateMachineArn: smithy_client_1.expectString, - stateMachineVersionArn: smithy_client_1.expectString - }); + exports.ValidationException = ValidationException; + var ResourceNotFound = class _ResourceNotFound extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "ResourceNotFound", + $fault: "client", + ...opts + }); + this.name = "ResourceNotFound"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ResourceNotFound.prototype); + this.resourceName = opts.resourceName; + } }; - var de_DescribeActivityOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - activityArn: smithy_client_1.expectString, - creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - name: smithy_client_1.expectString - }); + exports.ResourceNotFound = ResourceNotFound; + var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "ServiceQuotaExceededException", + $fault: "client", + ...opts + }); + this.name = "ServiceQuotaExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype); + } }; - var de_DescribeExecutionOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - cause: smithy_client_1.expectString, - error: smithy_client_1.expectString, - executionArn: smithy_client_1.expectString, - input: smithy_client_1.expectString, - inputDetails: smithy_client_1._json, - mapRunArn: smithy_client_1.expectString, - name: smithy_client_1.expectString, - output: smithy_client_1.expectString, - outputDetails: smithy_client_1._json, - startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - stateMachineAliasArn: smithy_client_1.expectString, - stateMachineArn: smithy_client_1.expectString, - stateMachineVersionArn: smithy_client_1.expectString, - status: smithy_client_1.expectString, - stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - traceHeader: smithy_client_1.expectString - }); + exports.ServiceQuotaExceededException = ServiceQuotaExceededException; + exports.ExecutionStatus = { + ABORTED: "ABORTED", + FAILED: "FAILED", + RUNNING: "RUNNING", + SUCCEEDED: "SUCCEEDED", + TIMED_OUT: "TIMED_OUT" }; - var de_DescribeMapRunOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - executionArn: smithy_client_1.expectString, - executionCounts: smithy_client_1._json, - itemCounts: smithy_client_1._json, - mapRunArn: smithy_client_1.expectString, - maxConcurrency: smithy_client_1.expectInt32, - startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - status: smithy_client_1.expectString, - stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - toleratedFailureCount: smithy_client_1.expectLong, - toleratedFailurePercentage: smithy_client_1.limitedParseFloat32 - }); + var ExecutionDoesNotExist = class _ExecutionDoesNotExist extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "ExecutionDoesNotExist", + $fault: "client", + ...opts + }); + this.name = "ExecutionDoesNotExist"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ExecutionDoesNotExist.prototype); + } }; - var de_DescribeStateMachineAliasOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - description: smithy_client_1.expectString, - name: smithy_client_1.expectString, - routingConfiguration: smithy_client_1._json, - stateMachineAliasArn: smithy_client_1.expectString, - updateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) - }); + exports.ExecutionDoesNotExist = ExecutionDoesNotExist; + exports.MapRunStatus = { + ABORTED: "ABORTED", + FAILED: "FAILED", + RUNNING: "RUNNING", + SUCCEEDED: "SUCCEEDED" }; - var de_DescribeStateMachineForExecutionOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - definition: smithy_client_1.expectString, - label: smithy_client_1.expectString, - loggingConfiguration: smithy_client_1._json, - mapRunArn: smithy_client_1.expectString, - name: smithy_client_1.expectString, - revisionId: smithy_client_1.expectString, - roleArn: smithy_client_1.expectString, - stateMachineArn: smithy_client_1.expectString, - tracingConfiguration: smithy_client_1._json, - updateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) - }); + exports.StateMachineStatus = { + ACTIVE: "ACTIVE", + DELETING: "DELETING" }; - var de_DescribeStateMachineOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - definition: smithy_client_1.expectString, - description: smithy_client_1.expectString, - label: smithy_client_1.expectString, - loggingConfiguration: smithy_client_1._json, - name: smithy_client_1.expectString, - revisionId: smithy_client_1.expectString, - roleArn: smithy_client_1.expectString, - stateMachineArn: smithy_client_1.expectString, - status: smithy_client_1.expectString, - tracingConfiguration: smithy_client_1._json, - type: smithy_client_1.expectString - }); + var StateMachineDoesNotExist = class _StateMachineDoesNotExist extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "StateMachineDoesNotExist", + $fault: "client", + ...opts + }); + this.name = "StateMachineDoesNotExist"; + this.$fault = "client"; + Object.setPrototypeOf(this, _StateMachineDoesNotExist.prototype); + } }; - var de_ExecutionList = (output, context) => { - const retVal = (output || []).filter((e) => e != null).map((entry) => { - return de_ExecutionListItem(entry, context); - }); - return retVal; + exports.StateMachineDoesNotExist = StateMachineDoesNotExist; + exports.HistoryEventType = { + ActivityFailed: "ActivityFailed", + ActivityScheduleFailed: "ActivityScheduleFailed", + ActivityScheduled: "ActivityScheduled", + ActivityStarted: "ActivityStarted", + ActivitySucceeded: "ActivitySucceeded", + ActivityTimedOut: "ActivityTimedOut", + ChoiceStateEntered: "ChoiceStateEntered", + ChoiceStateExited: "ChoiceStateExited", + ExecutionAborted: "ExecutionAborted", + ExecutionFailed: "ExecutionFailed", + ExecutionStarted: "ExecutionStarted", + ExecutionSucceeded: "ExecutionSucceeded", + ExecutionTimedOut: "ExecutionTimedOut", + FailStateEntered: "FailStateEntered", + LambdaFunctionFailed: "LambdaFunctionFailed", + LambdaFunctionScheduleFailed: "LambdaFunctionScheduleFailed", + LambdaFunctionScheduled: "LambdaFunctionScheduled", + LambdaFunctionStartFailed: "LambdaFunctionStartFailed", + LambdaFunctionStarted: "LambdaFunctionStarted", + LambdaFunctionSucceeded: "LambdaFunctionSucceeded", + LambdaFunctionTimedOut: "LambdaFunctionTimedOut", + MapIterationAborted: "MapIterationAborted", + MapIterationFailed: "MapIterationFailed", + MapIterationStarted: "MapIterationStarted", + MapIterationSucceeded: "MapIterationSucceeded", + MapRunAborted: "MapRunAborted", + MapRunFailed: "MapRunFailed", + MapRunStarted: "MapRunStarted", + MapRunSucceeded: "MapRunSucceeded", + MapStateAborted: "MapStateAborted", + MapStateEntered: "MapStateEntered", + MapStateExited: "MapStateExited", + MapStateFailed: "MapStateFailed", + MapStateStarted: "MapStateStarted", + MapStateSucceeded: "MapStateSucceeded", + ParallelStateAborted: "ParallelStateAborted", + ParallelStateEntered: "ParallelStateEntered", + ParallelStateExited: "ParallelStateExited", + ParallelStateFailed: "ParallelStateFailed", + ParallelStateStarted: "ParallelStateStarted", + ParallelStateSucceeded: "ParallelStateSucceeded", + PassStateEntered: "PassStateEntered", + PassStateExited: "PassStateExited", + SucceedStateEntered: "SucceedStateEntered", + SucceedStateExited: "SucceedStateExited", + TaskFailed: "TaskFailed", + TaskScheduled: "TaskScheduled", + TaskStartFailed: "TaskStartFailed", + TaskStarted: "TaskStarted", + TaskStateAborted: "TaskStateAborted", + TaskStateEntered: "TaskStateEntered", + TaskStateExited: "TaskStateExited", + TaskSubmitFailed: "TaskSubmitFailed", + TaskSubmitted: "TaskSubmitted", + TaskSucceeded: "TaskSucceeded", + TaskTimedOut: "TaskTimedOut", + WaitStateAborted: "WaitStateAborted", + WaitStateEntered: "WaitStateEntered", + WaitStateExited: "WaitStateExited" }; - var de_ExecutionListItem = (output, context) => { - return (0, smithy_client_1.take)(output, { - executionArn: smithy_client_1.expectString, - itemCount: smithy_client_1.expectInt32, - mapRunArn: smithy_client_1.expectString, - name: smithy_client_1.expectString, - startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - stateMachineAliasArn: smithy_client_1.expectString, - stateMachineArn: smithy_client_1.expectString, - stateMachineVersionArn: smithy_client_1.expectString, - status: smithy_client_1.expectString, - stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) - }); - }; - var de_GetExecutionHistoryOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - events: (_) => de_HistoryEventList(_, context), - nextToken: smithy_client_1.expectString - }); - }; - var de_HistoryEvent = (output, context) => { - return (0, smithy_client_1.take)(output, { - activityFailedEventDetails: smithy_client_1._json, - activityScheduleFailedEventDetails: smithy_client_1._json, - activityScheduledEventDetails: smithy_client_1._json, - activityStartedEventDetails: smithy_client_1._json, - activitySucceededEventDetails: smithy_client_1._json, - activityTimedOutEventDetails: smithy_client_1._json, - executionAbortedEventDetails: smithy_client_1._json, - executionFailedEventDetails: smithy_client_1._json, - executionStartedEventDetails: smithy_client_1._json, - executionSucceededEventDetails: smithy_client_1._json, - executionTimedOutEventDetails: smithy_client_1._json, - id: smithy_client_1.expectLong, - lambdaFunctionFailedEventDetails: smithy_client_1._json, - lambdaFunctionScheduleFailedEventDetails: smithy_client_1._json, - lambdaFunctionScheduledEventDetails: smithy_client_1._json, - lambdaFunctionStartFailedEventDetails: smithy_client_1._json, - lambdaFunctionSucceededEventDetails: smithy_client_1._json, - lambdaFunctionTimedOutEventDetails: smithy_client_1._json, - mapIterationAbortedEventDetails: smithy_client_1._json, - mapIterationFailedEventDetails: smithy_client_1._json, - mapIterationStartedEventDetails: smithy_client_1._json, - mapIterationSucceededEventDetails: smithy_client_1._json, - mapRunFailedEventDetails: smithy_client_1._json, - mapRunStartedEventDetails: smithy_client_1._json, - mapStateStartedEventDetails: smithy_client_1._json, - previousEventId: smithy_client_1.expectLong, - stateEnteredEventDetails: smithy_client_1._json, - stateExitedEventDetails: smithy_client_1._json, - taskFailedEventDetails: smithy_client_1._json, - taskScheduledEventDetails: smithy_client_1._json, - taskStartFailedEventDetails: smithy_client_1._json, - taskStartedEventDetails: smithy_client_1._json, - taskSubmitFailedEventDetails: smithy_client_1._json, - taskSubmittedEventDetails: smithy_client_1._json, - taskSucceededEventDetails: smithy_client_1._json, - taskTimedOutEventDetails: smithy_client_1._json, - timestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - type: smithy_client_1.expectString - }); - }; - var de_HistoryEventList = (output, context) => { - const retVal = (output || []).filter((e) => e != null).map((entry) => { - return de_HistoryEvent(entry, context); - }); - return retVal; - }; - var de_ListActivitiesOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - activities: (_) => de_ActivityList(_, context), - nextToken: smithy_client_1.expectString - }); - }; - var de_ListExecutionsOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - executions: (_) => de_ExecutionList(_, context), - nextToken: smithy_client_1.expectString - }); - }; - var de_ListMapRunsOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - mapRuns: (_) => de_MapRunList(_, context), - nextToken: smithy_client_1.expectString - }); - }; - var de_ListStateMachineAliasesOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - nextToken: smithy_client_1.expectString, - stateMachineAliases: (_) => de_StateMachineAliasList(_, context) - }); - }; - var de_ListStateMachinesOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - nextToken: smithy_client_1.expectString, - stateMachines: (_) => de_StateMachineList(_, context) - }); - }; - var de_ListStateMachineVersionsOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - nextToken: smithy_client_1.expectString, - stateMachineVersions: (_) => de_StateMachineVersionList(_, context) - }); + var InvalidToken = class _InvalidToken extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "InvalidToken", + $fault: "client", + ...opts + }); + this.name = "InvalidToken"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidToken.prototype); + } }; - var de_MapRunList = (output, context) => { - const retVal = (output || []).filter((e) => e != null).map((entry) => { - return de_MapRunListItem(entry, context); - }); - return retVal; + exports.InvalidToken = InvalidToken; + var TaskDoesNotExist = class _TaskDoesNotExist extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "TaskDoesNotExist", + $fault: "client", + ...opts + }); + this.name = "TaskDoesNotExist"; + this.$fault = "client"; + Object.setPrototypeOf(this, _TaskDoesNotExist.prototype); + } }; - var de_MapRunListItem = (output, context) => { - return (0, smithy_client_1.take)(output, { - executionArn: smithy_client_1.expectString, - mapRunArn: smithy_client_1.expectString, - startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - stateMachineArn: smithy_client_1.expectString, - stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) - }); + exports.TaskDoesNotExist = TaskDoesNotExist; + var TaskTimedOut = class _TaskTimedOut extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "TaskTimedOut", + $fault: "client", + ...opts + }); + this.name = "TaskTimedOut"; + this.$fault = "client"; + Object.setPrototypeOf(this, _TaskTimedOut.prototype); + } }; - var de_PublishStateMachineVersionOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - stateMachineVersionArn: smithy_client_1.expectString - }); + exports.TaskTimedOut = TaskTimedOut; + var InvalidOutput = class _InvalidOutput extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "InvalidOutput", + $fault: "client", + ...opts + }); + this.name = "InvalidOutput"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidOutput.prototype); + } }; - var de_StartExecutionOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - executionArn: smithy_client_1.expectString, - startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) - }); + exports.InvalidOutput = InvalidOutput; + var ExecutionAlreadyExists = class _ExecutionAlreadyExists extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "ExecutionAlreadyExists", + $fault: "client", + ...opts + }); + this.name = "ExecutionAlreadyExists"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ExecutionAlreadyExists.prototype); + } }; - var de_StartSyncExecutionOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - billingDetails: smithy_client_1._json, - cause: smithy_client_1.expectString, - error: smithy_client_1.expectString, - executionArn: smithy_client_1.expectString, - input: smithy_client_1.expectString, - inputDetails: smithy_client_1._json, - name: smithy_client_1.expectString, - output: smithy_client_1.expectString, - outputDetails: smithy_client_1._json, - startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - stateMachineArn: smithy_client_1.expectString, - status: smithy_client_1.expectString, - stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - traceHeader: smithy_client_1.expectString - }); + exports.ExecutionAlreadyExists = ExecutionAlreadyExists; + var ExecutionLimitExceeded = class _ExecutionLimitExceeded extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "ExecutionLimitExceeded", + $fault: "client", + ...opts + }); + this.name = "ExecutionLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ExecutionLimitExceeded.prototype); + } }; - var de_StateMachineAliasList = (output, context) => { - const retVal = (output || []).filter((e) => e != null).map((entry) => { - return de_StateMachineAliasListItem(entry, context); - }); - return retVal; + exports.ExecutionLimitExceeded = ExecutionLimitExceeded; + var InvalidExecutionInput = class _InvalidExecutionInput extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "InvalidExecutionInput", + $fault: "client", + ...opts + }); + this.name = "InvalidExecutionInput"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidExecutionInput.prototype); + } }; - var de_StateMachineAliasListItem = (output, context) => { - return (0, smithy_client_1.take)(output, { - creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - stateMachineAliasArn: smithy_client_1.expectString - }); + exports.InvalidExecutionInput = InvalidExecutionInput; + exports.SyncExecutionStatus = { + FAILED: "FAILED", + SUCCEEDED: "SUCCEEDED", + TIMED_OUT: "TIMED_OUT" }; - var de_StateMachineList = (output, context) => { - const retVal = (output || []).filter((e) => e != null).map((entry) => { - return de_StateMachineListItem(entry, context); - }); - return retVal; + var MissingRequiredParameter = class _MissingRequiredParameter extends SFNServiceException_1.SFNServiceException { + constructor(opts) { + super({ + name: "MissingRequiredParameter", + $fault: "client", + ...opts + }); + this.name = "MissingRequiredParameter"; + this.$fault = "client"; + Object.setPrototypeOf(this, _MissingRequiredParameter.prototype); + } }; - var de_StateMachineListItem = (output, context) => { - return (0, smithy_client_1.take)(output, { - creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - name: smithy_client_1.expectString, - stateMachineArn: smithy_client_1.expectString, - type: smithy_client_1.expectString - }); - }; - var de_StateMachineVersionList = (output, context) => { - const retVal = (output || []).filter((e) => e != null).map((entry) => { - return de_StateMachineVersionListItem(entry, context); - }); - return retVal; - }; - var de_StateMachineVersionListItem = (output, context) => { - return (0, smithy_client_1.take)(output, { - creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - stateMachineVersionArn: smithy_client_1.expectString - }); - }; - var de_StopExecutionOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) - }); - }; - var de_UpdateStateMachineAliasOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - updateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) - }); - }; - var de_UpdateStateMachineOutput = (output, context) => { - return (0, smithy_client_1.take)(output, { - revisionId: smithy_client_1.expectString, - stateMachineVersionArn: smithy_client_1.expectString, - updateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) - }); - }; - var deserializeMetadata = (output) => ({ - httpStatusCode: output.statusCode, - requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], - extendedRequestId: output.headers["x-amz-id-2"], - cfId: output.headers["x-amz-cf-id"] + exports.MissingRequiredParameter = MissingRequiredParameter; + var ActivityFailedEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } }); - var collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)); - var throwDefaultError = (0, smithy_client_1.withBaseException)(SFNServiceException_1.SFNServiceException); - var buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const contents = { - protocol, - hostname, - port, - method: "POST", - path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, - headers - }; - if (resolvedHostname !== void 0) { - contents.hostname = resolvedHostname; - } - if (body !== void 0) { - contents.body = body; - } - return new protocol_http_1.HttpRequest(contents); - }; - function sharedHeaders(operation) { - return { - "content-type": "application/x-amz-json-1.0", - "x-amz-target": `AWSStepFunctions.${operation}` - }; - } - var parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { - if (encoded.length) { - return JSON.parse(encoded); - } - return {}; + exports.ActivityFailedEventDetailsFilterSensitiveLog = ActivityFailedEventDetailsFilterSensitiveLog; + var ActivityScheduledEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.input && { input: smithy_client_1.SENSITIVE_STRING } }); - var parseErrorBody = async (errorBody, context) => { - const value = await parseBody(errorBody, context); - value.message = value.message ?? value.Message; - return value; - }; - var loadRestJsonErrorCode = (output, data) => { - const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); - const sanitizeErrorCode = (rawValue) => { - let cleanValue = rawValue; - if (typeof cleanValue === "number") { - cleanValue = cleanValue.toString(); - } - if (cleanValue.indexOf(",") >= 0) { - cleanValue = cleanValue.split(",")[0]; - } - if (cleanValue.indexOf(":") >= 0) { - cleanValue = cleanValue.split(":")[0]; - } - if (cleanValue.indexOf("#") >= 0) { - cleanValue = cleanValue.split("#")[1]; - } - return cleanValue; - }; - const headerKey = findKey(output.headers, "x-amzn-errortype"); - if (headerKey !== void 0) { - return sanitizeErrorCode(output.headers[headerKey]); - } - if (data.code !== void 0) { - return sanitizeErrorCode(data.code); - } - if (data["__type"] !== void 0) { - return sanitizeErrorCode(data["__type"]); - } - }; - } -}); - -// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/commands/CreateActivityCommand.js -var require_CreateActivityCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/commands/CreateActivityCommand.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.CreateActivityCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { - return smithy_client_1.Command; - } }); - var types_1 = require_dist_cjs(); - var Aws_json1_0_1 = require_Aws_json1_0(); - var CreateActivityCommand = class _CreateActivityCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _CreateActivityCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "SFNClient"; - const commandName = "CreateActivityCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSStepFunctions", - operation: "CreateActivity" - } - }; - const { requestHandler } = configuration; - return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_json1_0_1.se_CreateActivityCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_json1_0_1.de_CreateActivityCommand)(output, context); - } - }; - exports.CreateActivityCommand = CreateActivityCommand; - } -}); - -// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/commands/CreateStateMachineAliasCommand.js -var require_CreateStateMachineAliasCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/commands/CreateStateMachineAliasCommand.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.CreateStateMachineAliasCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { - return smithy_client_1.Command; - } }); - var types_1 = require_dist_cjs(); - var models_0_1 = require_models_03(); - var Aws_json1_0_1 = require_Aws_json1_0(); - var CreateStateMachineAliasCommand = class _CreateStateMachineAliasCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _CreateStateMachineAliasCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "SFNClient"; - const commandName = "CreateStateMachineAliasCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: models_0_1.CreateStateMachineAliasInputFilterSensitiveLog, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSStepFunctions", - operation: "CreateStateMachineAlias" - } - }; - const { requestHandler } = configuration; - return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_json1_0_1.se_CreateStateMachineAliasCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_json1_0_1.de_CreateStateMachineAliasCommand)(output, context); - } - }; - exports.CreateStateMachineAliasCommand = CreateStateMachineAliasCommand; - } -}); - -// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/commands/CreateStateMachineCommand.js -var require_CreateStateMachineCommand = __commonJS({ - "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/commands/CreateStateMachineCommand.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.CreateStateMachineCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); - Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { - return smithy_client_1.Command; - } }); - var types_1 = require_dist_cjs(); - var models_0_1 = require_models_03(); - var Aws_json1_0_1 = require_Aws_json1_0(); - var CreateStateMachineCommand = class _CreateStateMachineCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _CreateStateMachineCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); + exports.ActivityScheduledEventDetailsFilterSensitiveLog = ActivityScheduledEventDetailsFilterSensitiveLog; + var ActivityScheduleFailedEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.ActivityScheduleFailedEventDetailsFilterSensitiveLog = ActivityScheduleFailedEventDetailsFilterSensitiveLog; + var ActivitySucceededEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } + }); + exports.ActivitySucceededEventDetailsFilterSensitiveLog = ActivitySucceededEventDetailsFilterSensitiveLog; + var ActivityTimedOutEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.ActivityTimedOutEventDetailsFilterSensitiveLog = ActivityTimedOutEventDetailsFilterSensitiveLog; + var CreateStateMachineInputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.definition && { definition: smithy_client_1.SENSITIVE_STRING }, + ...obj.versionDescription && { versionDescription: smithy_client_1.SENSITIVE_STRING } + }); + exports.CreateStateMachineInputFilterSensitiveLog = CreateStateMachineInputFilterSensitiveLog; + var CreateStateMachineAliasInputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.description && { description: smithy_client_1.SENSITIVE_STRING } + }); + exports.CreateStateMachineAliasInputFilterSensitiveLog = CreateStateMachineAliasInputFilterSensitiveLog; + var DescribeExecutionOutputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.input && { input: smithy_client_1.SENSITIVE_STRING }, + ...obj.output && { output: smithy_client_1.SENSITIVE_STRING }, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.DescribeExecutionOutputFilterSensitiveLog = DescribeExecutionOutputFilterSensitiveLog; + var DescribeStateMachineOutputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.definition && { definition: smithy_client_1.SENSITIVE_STRING }, + ...obj.description && { description: smithy_client_1.SENSITIVE_STRING } + }); + exports.DescribeStateMachineOutputFilterSensitiveLog = DescribeStateMachineOutputFilterSensitiveLog; + var DescribeStateMachineAliasOutputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.description && { description: smithy_client_1.SENSITIVE_STRING } + }); + exports.DescribeStateMachineAliasOutputFilterSensitiveLog = DescribeStateMachineAliasOutputFilterSensitiveLog; + var DescribeStateMachineForExecutionOutputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.definition && { definition: smithy_client_1.SENSITIVE_STRING } + }); + exports.DescribeStateMachineForExecutionOutputFilterSensitiveLog = DescribeStateMachineForExecutionOutputFilterSensitiveLog; + var GetActivityTaskOutputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.input && { input: smithy_client_1.SENSITIVE_STRING } + }); + exports.GetActivityTaskOutputFilterSensitiveLog = GetActivityTaskOutputFilterSensitiveLog; + var ExecutionAbortedEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.ExecutionAbortedEventDetailsFilterSensitiveLog = ExecutionAbortedEventDetailsFilterSensitiveLog; + var ExecutionFailedEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.ExecutionFailedEventDetailsFilterSensitiveLog = ExecutionFailedEventDetailsFilterSensitiveLog; + var ExecutionStartedEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.input && { input: smithy_client_1.SENSITIVE_STRING } + }); + exports.ExecutionStartedEventDetailsFilterSensitiveLog = ExecutionStartedEventDetailsFilterSensitiveLog; + var ExecutionSucceededEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } + }); + exports.ExecutionSucceededEventDetailsFilterSensitiveLog = ExecutionSucceededEventDetailsFilterSensitiveLog; + var ExecutionTimedOutEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.ExecutionTimedOutEventDetailsFilterSensitiveLog = ExecutionTimedOutEventDetailsFilterSensitiveLog; + var LambdaFunctionFailedEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.LambdaFunctionFailedEventDetailsFilterSensitiveLog = LambdaFunctionFailedEventDetailsFilterSensitiveLog; + var LambdaFunctionScheduledEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.input && { input: smithy_client_1.SENSITIVE_STRING } + }); + exports.LambdaFunctionScheduledEventDetailsFilterSensitiveLog = LambdaFunctionScheduledEventDetailsFilterSensitiveLog; + var LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog = LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog; + var LambdaFunctionStartFailedEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.LambdaFunctionStartFailedEventDetailsFilterSensitiveLog = LambdaFunctionStartFailedEventDetailsFilterSensitiveLog; + var LambdaFunctionSucceededEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } + }); + exports.LambdaFunctionSucceededEventDetailsFilterSensitiveLog = LambdaFunctionSucceededEventDetailsFilterSensitiveLog; + var LambdaFunctionTimedOutEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.LambdaFunctionTimedOutEventDetailsFilterSensitiveLog = LambdaFunctionTimedOutEventDetailsFilterSensitiveLog; + var MapRunFailedEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.MapRunFailedEventDetailsFilterSensitiveLog = MapRunFailedEventDetailsFilterSensitiveLog; + var StateEnteredEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.input && { input: smithy_client_1.SENSITIVE_STRING } + }); + exports.StateEnteredEventDetailsFilterSensitiveLog = StateEnteredEventDetailsFilterSensitiveLog; + var StateExitedEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } + }); + exports.StateExitedEventDetailsFilterSensitiveLog = StateExitedEventDetailsFilterSensitiveLog; + var TaskFailedEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.TaskFailedEventDetailsFilterSensitiveLog = TaskFailedEventDetailsFilterSensitiveLog; + var TaskScheduledEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.parameters && { parameters: smithy_client_1.SENSITIVE_STRING } + }); + exports.TaskScheduledEventDetailsFilterSensitiveLog = TaskScheduledEventDetailsFilterSensitiveLog; + var TaskStartFailedEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.TaskStartFailedEventDetailsFilterSensitiveLog = TaskStartFailedEventDetailsFilterSensitiveLog; + var TaskSubmitFailedEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.TaskSubmitFailedEventDetailsFilterSensitiveLog = TaskSubmitFailedEventDetailsFilterSensitiveLog; + var TaskSubmittedEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } + }); + exports.TaskSubmittedEventDetailsFilterSensitiveLog = TaskSubmittedEventDetailsFilterSensitiveLog; + var TaskSucceededEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } + }); + exports.TaskSucceededEventDetailsFilterSensitiveLog = TaskSucceededEventDetailsFilterSensitiveLog; + var TaskTimedOutEventDetailsFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.TaskTimedOutEventDetailsFilterSensitiveLog = TaskTimedOutEventDetailsFilterSensitiveLog; + var HistoryEventFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.activityFailedEventDetails && { + activityFailedEventDetails: (0, exports.ActivityFailedEventDetailsFilterSensitiveLog)(obj.activityFailedEventDetails) + }, + ...obj.activityScheduleFailedEventDetails && { + activityScheduleFailedEventDetails: (0, exports.ActivityScheduleFailedEventDetailsFilterSensitiveLog)(obj.activityScheduleFailedEventDetails) + }, + ...obj.activityScheduledEventDetails && { + activityScheduledEventDetails: (0, exports.ActivityScheduledEventDetailsFilterSensitiveLog)(obj.activityScheduledEventDetails) + }, + ...obj.activitySucceededEventDetails && { + activitySucceededEventDetails: (0, exports.ActivitySucceededEventDetailsFilterSensitiveLog)(obj.activitySucceededEventDetails) + }, + ...obj.activityTimedOutEventDetails && { + activityTimedOutEventDetails: (0, exports.ActivityTimedOutEventDetailsFilterSensitiveLog)(obj.activityTimedOutEventDetails) + }, + ...obj.taskFailedEventDetails && { + taskFailedEventDetails: (0, exports.TaskFailedEventDetailsFilterSensitiveLog)(obj.taskFailedEventDetails) + }, + ...obj.taskScheduledEventDetails && { + taskScheduledEventDetails: (0, exports.TaskScheduledEventDetailsFilterSensitiveLog)(obj.taskScheduledEventDetails) + }, + ...obj.taskStartFailedEventDetails && { + taskStartFailedEventDetails: (0, exports.TaskStartFailedEventDetailsFilterSensitiveLog)(obj.taskStartFailedEventDetails) + }, + ...obj.taskSubmitFailedEventDetails && { + taskSubmitFailedEventDetails: (0, exports.TaskSubmitFailedEventDetailsFilterSensitiveLog)(obj.taskSubmitFailedEventDetails) + }, + ...obj.taskSubmittedEventDetails && { + taskSubmittedEventDetails: (0, exports.TaskSubmittedEventDetailsFilterSensitiveLog)(obj.taskSubmittedEventDetails) + }, + ...obj.taskSucceededEventDetails && { + taskSucceededEventDetails: (0, exports.TaskSucceededEventDetailsFilterSensitiveLog)(obj.taskSucceededEventDetails) + }, + ...obj.taskTimedOutEventDetails && { + taskTimedOutEventDetails: (0, exports.TaskTimedOutEventDetailsFilterSensitiveLog)(obj.taskTimedOutEventDetails) + }, + ...obj.executionFailedEventDetails && { + executionFailedEventDetails: (0, exports.ExecutionFailedEventDetailsFilterSensitiveLog)(obj.executionFailedEventDetails) + }, + ...obj.executionStartedEventDetails && { + executionStartedEventDetails: (0, exports.ExecutionStartedEventDetailsFilterSensitiveLog)(obj.executionStartedEventDetails) + }, + ...obj.executionSucceededEventDetails && { + executionSucceededEventDetails: (0, exports.ExecutionSucceededEventDetailsFilterSensitiveLog)(obj.executionSucceededEventDetails) + }, + ...obj.executionAbortedEventDetails && { + executionAbortedEventDetails: (0, exports.ExecutionAbortedEventDetailsFilterSensitiveLog)(obj.executionAbortedEventDetails) + }, + ...obj.executionTimedOutEventDetails && { + executionTimedOutEventDetails: (0, exports.ExecutionTimedOutEventDetailsFilterSensitiveLog)(obj.executionTimedOutEventDetails) + }, + ...obj.lambdaFunctionFailedEventDetails && { + lambdaFunctionFailedEventDetails: (0, exports.LambdaFunctionFailedEventDetailsFilterSensitiveLog)(obj.lambdaFunctionFailedEventDetails) + }, + ...obj.lambdaFunctionScheduleFailedEventDetails && { + lambdaFunctionScheduleFailedEventDetails: (0, exports.LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog)(obj.lambdaFunctionScheduleFailedEventDetails) + }, + ...obj.lambdaFunctionScheduledEventDetails && { + lambdaFunctionScheduledEventDetails: (0, exports.LambdaFunctionScheduledEventDetailsFilterSensitiveLog)(obj.lambdaFunctionScheduledEventDetails) + }, + ...obj.lambdaFunctionStartFailedEventDetails && { + lambdaFunctionStartFailedEventDetails: (0, exports.LambdaFunctionStartFailedEventDetailsFilterSensitiveLog)(obj.lambdaFunctionStartFailedEventDetails) + }, + ...obj.lambdaFunctionSucceededEventDetails && { + lambdaFunctionSucceededEventDetails: (0, exports.LambdaFunctionSucceededEventDetailsFilterSensitiveLog)(obj.lambdaFunctionSucceededEventDetails) + }, + ...obj.lambdaFunctionTimedOutEventDetails && { + lambdaFunctionTimedOutEventDetails: (0, exports.LambdaFunctionTimedOutEventDetailsFilterSensitiveLog)(obj.lambdaFunctionTimedOutEventDetails) + }, + ...obj.stateEnteredEventDetails && { + stateEnteredEventDetails: (0, exports.StateEnteredEventDetailsFilterSensitiveLog)(obj.stateEnteredEventDetails) + }, + ...obj.stateExitedEventDetails && { + stateExitedEventDetails: (0, exports.StateExitedEventDetailsFilterSensitiveLog)(obj.stateExitedEventDetails) + }, + ...obj.mapRunFailedEventDetails && { + mapRunFailedEventDetails: (0, exports.MapRunFailedEventDetailsFilterSensitiveLog)(obj.mapRunFailedEventDetails) + } + }); + exports.HistoryEventFilterSensitiveLog = HistoryEventFilterSensitiveLog; + var GetExecutionHistoryOutputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.events && { events: obj.events.map((item) => (0, exports.HistoryEventFilterSensitiveLog)(item)) } + }); + exports.GetExecutionHistoryOutputFilterSensitiveLog = GetExecutionHistoryOutputFilterSensitiveLog; + var PublishStateMachineVersionInputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.description && { description: smithy_client_1.SENSITIVE_STRING } + }); + exports.PublishStateMachineVersionInputFilterSensitiveLog = PublishStateMachineVersionInputFilterSensitiveLog; + var SendTaskFailureInputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.SendTaskFailureInputFilterSensitiveLog = SendTaskFailureInputFilterSensitiveLog; + var SendTaskSuccessInputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } + }); + exports.SendTaskSuccessInputFilterSensitiveLog = SendTaskSuccessInputFilterSensitiveLog; + var StartExecutionInputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.input && { input: smithy_client_1.SENSITIVE_STRING } + }); + exports.StartExecutionInputFilterSensitiveLog = StartExecutionInputFilterSensitiveLog; + var StartSyncExecutionInputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.input && { input: smithy_client_1.SENSITIVE_STRING } + }); + exports.StartSyncExecutionInputFilterSensitiveLog = StartSyncExecutionInputFilterSensitiveLog; + var StartSyncExecutionOutputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING }, + ...obj.input && { input: smithy_client_1.SENSITIVE_STRING }, + ...obj.output && { output: smithy_client_1.SENSITIVE_STRING } + }); + exports.StartSyncExecutionOutputFilterSensitiveLog = StartSyncExecutionOutputFilterSensitiveLog; + var StopExecutionInputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.error && { error: smithy_client_1.SENSITIVE_STRING }, + ...obj.cause && { cause: smithy_client_1.SENSITIVE_STRING } + }); + exports.StopExecutionInputFilterSensitiveLog = StopExecutionInputFilterSensitiveLog; + var UpdateStateMachineInputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.definition && { definition: smithy_client_1.SENSITIVE_STRING }, + ...obj.versionDescription && { versionDescription: smithy_client_1.SENSITIVE_STRING } + }); + exports.UpdateStateMachineInputFilterSensitiveLog = UpdateStateMachineInputFilterSensitiveLog; + var UpdateStateMachineAliasInputFilterSensitiveLog = (obj) => ({ + ...obj, + ...obj.description && { description: smithy_client_1.SENSITIVE_STRING } + }); + exports.UpdateStateMachineAliasInputFilterSensitiveLog = UpdateStateMachineAliasInputFilterSensitiveLog; + } +}); + +// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/protocols/Aws_json1_0.js +var require_Aws_json1_0 = __commonJS({ + "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/protocols/Aws_json1_0.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.de_ListActivitiesCommand = exports.de_GetExecutionHistoryCommand = exports.de_GetActivityTaskCommand = exports.de_DescribeStateMachineForExecutionCommand = exports.de_DescribeStateMachineAliasCommand = exports.de_DescribeStateMachineCommand = exports.de_DescribeMapRunCommand = exports.de_DescribeExecutionCommand = exports.de_DescribeActivityCommand = exports.de_DeleteStateMachineVersionCommand = exports.de_DeleteStateMachineAliasCommand = exports.de_DeleteStateMachineCommand = exports.de_DeleteActivityCommand = exports.de_CreateStateMachineAliasCommand = exports.de_CreateStateMachineCommand = exports.de_CreateActivityCommand = exports.se_UpdateStateMachineAliasCommand = exports.se_UpdateStateMachineCommand = exports.se_UpdateMapRunCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopExecutionCommand = exports.se_StartSyncExecutionCommand = exports.se_StartExecutionCommand = exports.se_SendTaskSuccessCommand = exports.se_SendTaskHeartbeatCommand = exports.se_SendTaskFailureCommand = exports.se_PublishStateMachineVersionCommand = exports.se_ListTagsForResourceCommand = exports.se_ListStateMachineVersionsCommand = exports.se_ListStateMachinesCommand = exports.se_ListStateMachineAliasesCommand = exports.se_ListMapRunsCommand = exports.se_ListExecutionsCommand = exports.se_ListActivitiesCommand = exports.se_GetExecutionHistoryCommand = exports.se_GetActivityTaskCommand = exports.se_DescribeStateMachineForExecutionCommand = exports.se_DescribeStateMachineAliasCommand = exports.se_DescribeStateMachineCommand = exports.se_DescribeMapRunCommand = exports.se_DescribeExecutionCommand = exports.se_DescribeActivityCommand = exports.se_DeleteStateMachineVersionCommand = exports.se_DeleteStateMachineAliasCommand = exports.se_DeleteStateMachineCommand = exports.se_DeleteActivityCommand = exports.se_CreateStateMachineAliasCommand = exports.se_CreateStateMachineCommand = exports.se_CreateActivityCommand = void 0; + exports.de_UpdateStateMachineAliasCommand = exports.de_UpdateStateMachineCommand = exports.de_UpdateMapRunCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopExecutionCommand = exports.de_StartSyncExecutionCommand = exports.de_StartExecutionCommand = exports.de_SendTaskSuccessCommand = exports.de_SendTaskHeartbeatCommand = exports.de_SendTaskFailureCommand = exports.de_PublishStateMachineVersionCommand = exports.de_ListTagsForResourceCommand = exports.de_ListStateMachineVersionsCommand = exports.de_ListStateMachinesCommand = exports.de_ListStateMachineAliasesCommand = exports.de_ListMapRunsCommand = exports.de_ListExecutionsCommand = void 0; + var protocol_http_1 = require_dist_cjs2(); + var smithy_client_1 = require_dist_cjs37(); + var models_0_1 = require_models_03(); + var SFNServiceException_1 = require_SFNServiceException(); + var se_CreateActivityCommand = async (input, context) => { + const headers = sharedHeaders("CreateActivity"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_CreateActivityCommand = se_CreateActivityCommand; + var se_CreateStateMachineCommand = async (input, context) => { + const headers = sharedHeaders("CreateStateMachine"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_CreateStateMachineCommand = se_CreateStateMachineCommand; + var se_CreateStateMachineAliasCommand = async (input, context) => { + const headers = sharedHeaders("CreateStateMachineAlias"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_CreateStateMachineAliasCommand = se_CreateStateMachineAliasCommand; + var se_DeleteActivityCommand = async (input, context) => { + const headers = sharedHeaders("DeleteActivity"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_DeleteActivityCommand = se_DeleteActivityCommand; + var se_DeleteStateMachineCommand = async (input, context) => { + const headers = sharedHeaders("DeleteStateMachine"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_DeleteStateMachineCommand = se_DeleteStateMachineCommand; + var se_DeleteStateMachineAliasCommand = async (input, context) => { + const headers = sharedHeaders("DeleteStateMachineAlias"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_DeleteStateMachineAliasCommand = se_DeleteStateMachineAliasCommand; + var se_DeleteStateMachineVersionCommand = async (input, context) => { + const headers = sharedHeaders("DeleteStateMachineVersion"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_DeleteStateMachineVersionCommand = se_DeleteStateMachineVersionCommand; + var se_DescribeActivityCommand = async (input, context) => { + const headers = sharedHeaders("DescribeActivity"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_DescribeActivityCommand = se_DescribeActivityCommand; + var se_DescribeExecutionCommand = async (input, context) => { + const headers = sharedHeaders("DescribeExecution"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_DescribeExecutionCommand = se_DescribeExecutionCommand; + var se_DescribeMapRunCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMapRun"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_DescribeMapRunCommand = se_DescribeMapRunCommand; + var se_DescribeStateMachineCommand = async (input, context) => { + const headers = sharedHeaders("DescribeStateMachine"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_DescribeStateMachineCommand = se_DescribeStateMachineCommand; + var se_DescribeStateMachineAliasCommand = async (input, context) => { + const headers = sharedHeaders("DescribeStateMachineAlias"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_DescribeStateMachineAliasCommand = se_DescribeStateMachineAliasCommand; + var se_DescribeStateMachineForExecutionCommand = async (input, context) => { + const headers = sharedHeaders("DescribeStateMachineForExecution"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_DescribeStateMachineForExecutionCommand = se_DescribeStateMachineForExecutionCommand; + var se_GetActivityTaskCommand = async (input, context) => { + const headers = sharedHeaders("GetActivityTask"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_GetActivityTaskCommand = se_GetActivityTaskCommand; + var se_GetExecutionHistoryCommand = async (input, context) => { + const headers = sharedHeaders("GetExecutionHistory"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_GetExecutionHistoryCommand = se_GetExecutionHistoryCommand; + var se_ListActivitiesCommand = async (input, context) => { + const headers = sharedHeaders("ListActivities"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_ListActivitiesCommand = se_ListActivitiesCommand; + var se_ListExecutionsCommand = async (input, context) => { + const headers = sharedHeaders("ListExecutions"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_ListExecutionsCommand = se_ListExecutionsCommand; + var se_ListMapRunsCommand = async (input, context) => { + const headers = sharedHeaders("ListMapRuns"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_ListMapRunsCommand = se_ListMapRunsCommand; + var se_ListStateMachineAliasesCommand = async (input, context) => { + const headers = sharedHeaders("ListStateMachineAliases"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_ListStateMachineAliasesCommand = se_ListStateMachineAliasesCommand; + var se_ListStateMachinesCommand = async (input, context) => { + const headers = sharedHeaders("ListStateMachines"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_ListStateMachinesCommand = se_ListStateMachinesCommand; + var se_ListStateMachineVersionsCommand = async (input, context) => { + const headers = sharedHeaders("ListStateMachineVersions"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_ListStateMachineVersionsCommand = se_ListStateMachineVersionsCommand; + var se_ListTagsForResourceCommand = async (input, context) => { + const headers = sharedHeaders("ListTagsForResource"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand; + var se_PublishStateMachineVersionCommand = async (input, context) => { + const headers = sharedHeaders("PublishStateMachineVersion"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_PublishStateMachineVersionCommand = se_PublishStateMachineVersionCommand; + var se_SendTaskFailureCommand = async (input, context) => { + const headers = sharedHeaders("SendTaskFailure"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_SendTaskFailureCommand = se_SendTaskFailureCommand; + var se_SendTaskHeartbeatCommand = async (input, context) => { + const headers = sharedHeaders("SendTaskHeartbeat"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_SendTaskHeartbeatCommand = se_SendTaskHeartbeatCommand; + var se_SendTaskSuccessCommand = async (input, context) => { + const headers = sharedHeaders("SendTaskSuccess"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_SendTaskSuccessCommand = se_SendTaskSuccessCommand; + var se_StartExecutionCommand = async (input, context) => { + const headers = sharedHeaders("StartExecution"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_StartExecutionCommand = se_StartExecutionCommand; + var se_StartSyncExecutionCommand = async (input, context) => { + const headers = sharedHeaders("StartSyncExecution"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + let { hostname: resolvedHostname } = await context.endpoint(); + if (context.disableHostPrefix !== true) { + resolvedHostname = "sync-" + resolvedHostname; + if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) { + throw new Error("ValidationError: prefixed hostname must be hostname compatible."); + } + } + return buildHttpRpcRequest(context, headers, "/", resolvedHostname, body); + }; + exports.se_StartSyncExecutionCommand = se_StartSyncExecutionCommand; + var se_StopExecutionCommand = async (input, context) => { + const headers = sharedHeaders("StopExecution"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_StopExecutionCommand = se_StopExecutionCommand; + var se_TagResourceCommand = async (input, context) => { + const headers = sharedHeaders("TagResource"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_TagResourceCommand = se_TagResourceCommand; + var se_UntagResourceCommand = async (input, context) => { + const headers = sharedHeaders("UntagResource"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_UntagResourceCommand = se_UntagResourceCommand; + var se_UpdateMapRunCommand = async (input, context) => { + const headers = sharedHeaders("UpdateMapRun"); + let body; + body = JSON.stringify(se_UpdateMapRunInput(input, context)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_UpdateMapRunCommand = se_UpdateMapRunCommand; + var se_UpdateStateMachineCommand = async (input, context) => { + const headers = sharedHeaders("UpdateStateMachine"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_UpdateStateMachineCommand = se_UpdateStateMachineCommand; + var se_UpdateStateMachineAliasCommand = async (input, context) => { + const headers = sharedHeaders("UpdateStateMachineAlias"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", void 0, body); + }; + exports.se_UpdateStateMachineAliasCommand = se_UpdateStateMachineAliasCommand; + var de_CreateActivityCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateActivityCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_CreateActivityOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_CreateActivityCommand = de_CreateActivityCommand; + var de_CreateActivityCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ActivityLimitExceeded": + case "com.amazonaws.sfn#ActivityLimitExceeded": + throw await de_ActivityLimitExceededRes(parsedOutput, context); + case "InvalidName": + case "com.amazonaws.sfn#InvalidName": + throw await de_InvalidNameRes(parsedOutput, context); + case "TooManyTags": + case "com.amazonaws.sfn#TooManyTags": + throw await de_TooManyTagsRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_CreateStateMachineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateStateMachineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_CreateStateMachineOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_CreateStateMachineCommand = de_CreateStateMachineCommand; + var de_CreateStateMachineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.sfn#ConflictException": + throw await de_ConflictExceptionRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "InvalidDefinition": + case "com.amazonaws.sfn#InvalidDefinition": + throw await de_InvalidDefinitionRes(parsedOutput, context); + case "InvalidLoggingConfiguration": + case "com.amazonaws.sfn#InvalidLoggingConfiguration": + throw await de_InvalidLoggingConfigurationRes(parsedOutput, context); + case "InvalidName": + case "com.amazonaws.sfn#InvalidName": + throw await de_InvalidNameRes(parsedOutput, context); + case "InvalidTracingConfiguration": + case "com.amazonaws.sfn#InvalidTracingConfiguration": + throw await de_InvalidTracingConfigurationRes(parsedOutput, context); + case "StateMachineAlreadyExists": + case "com.amazonaws.sfn#StateMachineAlreadyExists": + throw await de_StateMachineAlreadyExistsRes(parsedOutput, context); + case "StateMachineDeleting": + case "com.amazonaws.sfn#StateMachineDeleting": + throw await de_StateMachineDeletingRes(parsedOutput, context); + case "StateMachineLimitExceeded": + case "com.amazonaws.sfn#StateMachineLimitExceeded": + throw await de_StateMachineLimitExceededRes(parsedOutput, context); + case "StateMachineTypeNotSupported": + case "com.amazonaws.sfn#StateMachineTypeNotSupported": + throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context); + case "TooManyTags": + case "com.amazonaws.sfn#TooManyTags": + throw await de_TooManyTagsRes(parsedOutput, context); + case "ValidationException": + case "com.amazonaws.sfn#ValidationException": + throw await de_ValidationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_CreateStateMachineAliasCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateStateMachineAliasCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_CreateStateMachineAliasOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_CreateStateMachineAliasCommand = de_CreateStateMachineAliasCommand; + var de_CreateStateMachineAliasCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.sfn#ConflictException": + throw await de_ConflictExceptionRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "InvalidName": + case "com.amazonaws.sfn#InvalidName": + throw await de_InvalidNameRes(parsedOutput, context); + case "ResourceNotFound": + case "com.amazonaws.sfn#ResourceNotFound": + throw await de_ResourceNotFoundRes(parsedOutput, context); + case "ServiceQuotaExceededException": + case "com.amazonaws.sfn#ServiceQuotaExceededException": + throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); + case "StateMachineDeleting": + case "com.amazonaws.sfn#StateMachineDeleting": + throw await de_StateMachineDeletingRes(parsedOutput, context); + case "ValidationException": + case "com.amazonaws.sfn#ValidationException": + throw await de_ValidationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_DeleteActivityCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteActivityCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_DeleteActivityCommand = de_DeleteActivityCommand; + var de_DeleteActivityCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_DeleteStateMachineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteStateMachineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_DeleteStateMachineCommand = de_DeleteStateMachineCommand; + var de_DeleteStateMachineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "ValidationException": + case "com.amazonaws.sfn#ValidationException": + throw await de_ValidationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_DeleteStateMachineAliasCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteStateMachineAliasCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_DeleteStateMachineAliasCommand = de_DeleteStateMachineAliasCommand; + var de_DeleteStateMachineAliasCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.sfn#ConflictException": + throw await de_ConflictExceptionRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "ResourceNotFound": + case "com.amazonaws.sfn#ResourceNotFound": + throw await de_ResourceNotFoundRes(parsedOutput, context); + case "ValidationException": + case "com.amazonaws.sfn#ValidationException": + throw await de_ValidationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_DeleteStateMachineVersionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteStateMachineVersionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_DeleteStateMachineVersionCommand = de_DeleteStateMachineVersionCommand; + var de_DeleteStateMachineVersionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.sfn#ConflictException": + throw await de_ConflictExceptionRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "ValidationException": + case "com.amazonaws.sfn#ValidationException": + throw await de_ValidationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_DescribeActivityCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeActivityCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeActivityOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_DescribeActivityCommand = de_DescribeActivityCommand; + var de_DescribeActivityCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ActivityDoesNotExist": + case "com.amazonaws.sfn#ActivityDoesNotExist": + throw await de_ActivityDoesNotExistRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_DescribeExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeExecutionOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_DescribeExecutionCommand = de_DescribeExecutionCommand; + var de_DescribeExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ExecutionDoesNotExist": + case "com.amazonaws.sfn#ExecutionDoesNotExist": + throw await de_ExecutionDoesNotExistRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_DescribeMapRunCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMapRunCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeMapRunOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_DescribeMapRunCommand = de_DescribeMapRunCommand; + var de_DescribeMapRunCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "ResourceNotFound": + case "com.amazonaws.sfn#ResourceNotFound": + throw await de_ResourceNotFoundRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_DescribeStateMachineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeStateMachineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeStateMachineOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_DescribeStateMachineCommand = de_DescribeStateMachineCommand; + var de_DescribeStateMachineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "StateMachineDoesNotExist": + case "com.amazonaws.sfn#StateMachineDoesNotExist": + throw await de_StateMachineDoesNotExistRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_DescribeStateMachineAliasCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeStateMachineAliasCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeStateMachineAliasOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_DescribeStateMachineAliasCommand = de_DescribeStateMachineAliasCommand; + var de_DescribeStateMachineAliasCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "ResourceNotFound": + case "com.amazonaws.sfn#ResourceNotFound": + throw await de_ResourceNotFoundRes(parsedOutput, context); + case "ValidationException": + case "com.amazonaws.sfn#ValidationException": + throw await de_ValidationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_DescribeStateMachineForExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeStateMachineForExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeStateMachineForExecutionOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_DescribeStateMachineForExecutionCommand = de_DescribeStateMachineForExecutionCommand; + var de_DescribeStateMachineForExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ExecutionDoesNotExist": + case "com.amazonaws.sfn#ExecutionDoesNotExist": + throw await de_ExecutionDoesNotExistRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_GetActivityTaskCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetActivityTaskCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_GetActivityTaskCommand = de_GetActivityTaskCommand; + var de_GetActivityTaskCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ActivityDoesNotExist": + case "com.amazonaws.sfn#ActivityDoesNotExist": + throw await de_ActivityDoesNotExistRes(parsedOutput, context); + case "ActivityWorkerLimitExceeded": + case "com.amazonaws.sfn#ActivityWorkerLimitExceeded": + throw await de_ActivityWorkerLimitExceededRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_GetExecutionHistoryCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetExecutionHistoryCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetExecutionHistoryOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_GetExecutionHistoryCommand = de_GetExecutionHistoryCommand; + var de_GetExecutionHistoryCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ExecutionDoesNotExist": + case "com.amazonaws.sfn#ExecutionDoesNotExist": + throw await de_ExecutionDoesNotExistRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "InvalidToken": + case "com.amazonaws.sfn#InvalidToken": + throw await de_InvalidTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_ListActivitiesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListActivitiesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListActivitiesOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_ListActivitiesCommand = de_ListActivitiesCommand; + var de_ListActivitiesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidToken": + case "com.amazonaws.sfn#InvalidToken": + throw await de_InvalidTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_ListExecutionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListExecutionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListExecutionsOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_ListExecutionsCommand = de_ListExecutionsCommand; + var de_ListExecutionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "InvalidToken": + case "com.amazonaws.sfn#InvalidToken": + throw await de_InvalidTokenRes(parsedOutput, context); + case "ResourceNotFound": + case "com.amazonaws.sfn#ResourceNotFound": + throw await de_ResourceNotFoundRes(parsedOutput, context); + case "StateMachineDoesNotExist": + case "com.amazonaws.sfn#StateMachineDoesNotExist": + throw await de_StateMachineDoesNotExistRes(parsedOutput, context); + case "StateMachineTypeNotSupported": + case "com.amazonaws.sfn#StateMachineTypeNotSupported": + throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context); + case "ValidationException": + case "com.amazonaws.sfn#ValidationException": + throw await de_ValidationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_ListMapRunsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListMapRunsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListMapRunsOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_ListMapRunsCommand = de_ListMapRunsCommand; + var de_ListMapRunsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ExecutionDoesNotExist": + case "com.amazonaws.sfn#ExecutionDoesNotExist": + throw await de_ExecutionDoesNotExistRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "InvalidToken": + case "com.amazonaws.sfn#InvalidToken": + throw await de_InvalidTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_ListStateMachineAliasesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListStateMachineAliasesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListStateMachineAliasesOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_ListStateMachineAliasesCommand = de_ListStateMachineAliasesCommand; + var de_ListStateMachineAliasesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "InvalidToken": + case "com.amazonaws.sfn#InvalidToken": + throw await de_InvalidTokenRes(parsedOutput, context); + case "ResourceNotFound": + case "com.amazonaws.sfn#ResourceNotFound": + throw await de_ResourceNotFoundRes(parsedOutput, context); + case "StateMachineDeleting": + case "com.amazonaws.sfn#StateMachineDeleting": + throw await de_StateMachineDeletingRes(parsedOutput, context); + case "StateMachineDoesNotExist": + case "com.amazonaws.sfn#StateMachineDoesNotExist": + throw await de_StateMachineDoesNotExistRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_ListStateMachinesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListStateMachinesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListStateMachinesOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_ListStateMachinesCommand = de_ListStateMachinesCommand; + var de_ListStateMachinesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidToken": + case "com.amazonaws.sfn#InvalidToken": + throw await de_InvalidTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_ListStateMachineVersionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListStateMachineVersionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListStateMachineVersionsOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_ListStateMachineVersionsCommand = de_ListStateMachineVersionsCommand; + var de_ListStateMachineVersionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "InvalidToken": + case "com.amazonaws.sfn#InvalidToken": + throw await de_InvalidTokenRes(parsedOutput, context); + case "ValidationException": + case "com.amazonaws.sfn#ValidationException": + throw await de_ValidationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_ListTagsForResourceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListTagsForResourceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand; + var de_ListTagsForResourceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "ResourceNotFound": + case "com.amazonaws.sfn#ResourceNotFound": + throw await de_ResourceNotFoundRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_PublishStateMachineVersionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_PublishStateMachineVersionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_PublishStateMachineVersionOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_PublishStateMachineVersionCommand = de_PublishStateMachineVersionCommand; + var de_PublishStateMachineVersionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.sfn#ConflictException": + throw await de_ConflictExceptionRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "ServiceQuotaExceededException": + case "com.amazonaws.sfn#ServiceQuotaExceededException": + throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); + case "StateMachineDeleting": + case "com.amazonaws.sfn#StateMachineDeleting": + throw await de_StateMachineDeletingRes(parsedOutput, context); + case "StateMachineDoesNotExist": + case "com.amazonaws.sfn#StateMachineDoesNotExist": + throw await de_StateMachineDoesNotExistRes(parsedOutput, context); + case "ValidationException": + case "com.amazonaws.sfn#ValidationException": + throw await de_ValidationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_SendTaskFailureCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_SendTaskFailureCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_SendTaskFailureCommand = de_SendTaskFailureCommand; + var de_SendTaskFailureCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidToken": + case "com.amazonaws.sfn#InvalidToken": + throw await de_InvalidTokenRes(parsedOutput, context); + case "TaskDoesNotExist": + case "com.amazonaws.sfn#TaskDoesNotExist": + throw await de_TaskDoesNotExistRes(parsedOutput, context); + case "TaskTimedOut": + case "com.amazonaws.sfn#TaskTimedOut": + throw await de_TaskTimedOutRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_SendTaskHeartbeatCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_SendTaskHeartbeatCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_SendTaskHeartbeatCommand = de_SendTaskHeartbeatCommand; + var de_SendTaskHeartbeatCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidToken": + case "com.amazonaws.sfn#InvalidToken": + throw await de_InvalidTokenRes(parsedOutput, context); + case "TaskDoesNotExist": + case "com.amazonaws.sfn#TaskDoesNotExist": + throw await de_TaskDoesNotExistRes(parsedOutput, context); + case "TaskTimedOut": + case "com.amazonaws.sfn#TaskTimedOut": + throw await de_TaskTimedOutRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_SendTaskSuccessCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_SendTaskSuccessCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_SendTaskSuccessCommand = de_SendTaskSuccessCommand; + var de_SendTaskSuccessCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidOutput": + case "com.amazonaws.sfn#InvalidOutput": + throw await de_InvalidOutputRes(parsedOutput, context); + case "InvalidToken": + case "com.amazonaws.sfn#InvalidToken": + throw await de_InvalidTokenRes(parsedOutput, context); + case "TaskDoesNotExist": + case "com.amazonaws.sfn#TaskDoesNotExist": + throw await de_TaskDoesNotExistRes(parsedOutput, context); + case "TaskTimedOut": + case "com.amazonaws.sfn#TaskTimedOut": + throw await de_TaskTimedOutRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_StartExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_StartExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_StartExecutionOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_StartExecutionCommand = de_StartExecutionCommand; + var de_StartExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ExecutionAlreadyExists": + case "com.amazonaws.sfn#ExecutionAlreadyExists": + throw await de_ExecutionAlreadyExistsRes(parsedOutput, context); + case "ExecutionLimitExceeded": + case "com.amazonaws.sfn#ExecutionLimitExceeded": + throw await de_ExecutionLimitExceededRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "InvalidExecutionInput": + case "com.amazonaws.sfn#InvalidExecutionInput": + throw await de_InvalidExecutionInputRes(parsedOutput, context); + case "InvalidName": + case "com.amazonaws.sfn#InvalidName": + throw await de_InvalidNameRes(parsedOutput, context); + case "StateMachineDeleting": + case "com.amazonaws.sfn#StateMachineDeleting": + throw await de_StateMachineDeletingRes(parsedOutput, context); + case "StateMachineDoesNotExist": + case "com.amazonaws.sfn#StateMachineDoesNotExist": + throw await de_StateMachineDoesNotExistRes(parsedOutput, context); + case "ValidationException": + case "com.amazonaws.sfn#ValidationException": + throw await de_ValidationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_StartSyncExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_StartSyncExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_StartSyncExecutionOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_StartSyncExecutionCommand = de_StartSyncExecutionCommand; + var de_StartSyncExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "InvalidExecutionInput": + case "com.amazonaws.sfn#InvalidExecutionInput": + throw await de_InvalidExecutionInputRes(parsedOutput, context); + case "InvalidName": + case "com.amazonaws.sfn#InvalidName": + throw await de_InvalidNameRes(parsedOutput, context); + case "StateMachineDeleting": + case "com.amazonaws.sfn#StateMachineDeleting": + throw await de_StateMachineDeletingRes(parsedOutput, context); + case "StateMachineDoesNotExist": + case "com.amazonaws.sfn#StateMachineDoesNotExist": + throw await de_StateMachineDoesNotExistRes(parsedOutput, context); + case "StateMachineTypeNotSupported": + case "com.amazonaws.sfn#StateMachineTypeNotSupported": + throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_StopExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_StopExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_StopExecutionOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_StopExecutionCommand = de_StopExecutionCommand; + var de_StopExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ExecutionDoesNotExist": + case "com.amazonaws.sfn#ExecutionDoesNotExist": + throw await de_ExecutionDoesNotExistRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "ValidationException": + case "com.amazonaws.sfn#ValidationException": + throw await de_ValidationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_TagResourceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_TagResourceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_TagResourceCommand = de_TagResourceCommand; + var de_TagResourceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "ResourceNotFound": + case "com.amazonaws.sfn#ResourceNotFound": + throw await de_ResourceNotFoundRes(parsedOutput, context); + case "TooManyTags": + case "com.amazonaws.sfn#TooManyTags": + throw await de_TooManyTagsRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_UntagResourceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UntagResourceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_UntagResourceCommand = de_UntagResourceCommand; + var de_UntagResourceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "ResourceNotFound": + case "com.amazonaws.sfn#ResourceNotFound": + throw await de_ResourceNotFoundRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_UpdateMapRunCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateMapRunCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_UpdateMapRunCommand = de_UpdateMapRunCommand; + var de_UpdateMapRunCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "ResourceNotFound": + case "com.amazonaws.sfn#ResourceNotFound": + throw await de_ResourceNotFoundRes(parsedOutput, context); + case "ValidationException": + case "com.amazonaws.sfn#ValidationException": + throw await de_ValidationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_UpdateStateMachineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateStateMachineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_UpdateStateMachineOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_UpdateStateMachineCommand = de_UpdateStateMachineCommand; + var de_UpdateStateMachineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.sfn#ConflictException": + throw await de_ConflictExceptionRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "InvalidDefinition": + case "com.amazonaws.sfn#InvalidDefinition": + throw await de_InvalidDefinitionRes(parsedOutput, context); + case "InvalidLoggingConfiguration": + case "com.amazonaws.sfn#InvalidLoggingConfiguration": + throw await de_InvalidLoggingConfigurationRes(parsedOutput, context); + case "InvalidTracingConfiguration": + case "com.amazonaws.sfn#InvalidTracingConfiguration": + throw await de_InvalidTracingConfigurationRes(parsedOutput, context); + case "MissingRequiredParameter": + case "com.amazonaws.sfn#MissingRequiredParameter": + throw await de_MissingRequiredParameterRes(parsedOutput, context); + case "ServiceQuotaExceededException": + case "com.amazonaws.sfn#ServiceQuotaExceededException": + throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); + case "StateMachineDeleting": + case "com.amazonaws.sfn#StateMachineDeleting": + throw await de_StateMachineDeletingRes(parsedOutput, context); + case "StateMachineDoesNotExist": + case "com.amazonaws.sfn#StateMachineDoesNotExist": + throw await de_StateMachineDoesNotExistRes(parsedOutput, context); + case "ValidationException": + case "com.amazonaws.sfn#ValidationException": + throw await de_ValidationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_UpdateStateMachineAliasCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateStateMachineAliasCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_UpdateStateMachineAliasOutput(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; + }; + exports.de_UpdateStateMachineAliasCommand = de_UpdateStateMachineAliasCommand; + var de_UpdateStateMachineAliasCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context) + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.sfn#ConflictException": + throw await de_ConflictExceptionRes(parsedOutput, context); + case "InvalidArn": + case "com.amazonaws.sfn#InvalidArn": + throw await de_InvalidArnRes(parsedOutput, context); + case "ResourceNotFound": + case "com.amazonaws.sfn#ResourceNotFound": + throw await de_ResourceNotFoundRes(parsedOutput, context); + case "ValidationException": + case "com.amazonaws.sfn#ValidationException": + throw await de_ValidationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } + }; + var de_ActivityDoesNotExistRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ActivityDoesNotExist({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_ActivityLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ActivityLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_ActivityWorkerLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ActivityWorkerLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_ConflictExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ConflictException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_ExecutionAlreadyExistsRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ExecutionAlreadyExists({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_ExecutionDoesNotExistRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ExecutionDoesNotExist({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_ExecutionLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ExecutionLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_InvalidArnRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidArn({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_InvalidDefinitionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidDefinition({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_InvalidExecutionInputRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidExecutionInput({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_InvalidLoggingConfigurationRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidLoggingConfiguration({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_InvalidNameRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidName({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_InvalidOutputRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidOutput({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_InvalidTokenRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidToken({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_InvalidTracingConfigurationRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidTracingConfiguration({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_MissingRequiredParameterRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.MissingRequiredParameter({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_ResourceNotFoundRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ResourceNotFound({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ServiceQuotaExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_StateMachineAlreadyExistsRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.StateMachineAlreadyExists({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_StateMachineDeletingRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.StateMachineDeleting({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_StateMachineDoesNotExistRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.StateMachineDoesNotExist({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_StateMachineLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.StateMachineLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_StateMachineTypeNotSupportedRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.StateMachineTypeNotSupported({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_TaskDoesNotExistRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.TaskDoesNotExist({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_TaskTimedOutRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.TaskTimedOut({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_TooManyTagsRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.TooManyTags({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var de_ValidationExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ValidationException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); + }; + var se_UpdateMapRunInput = (input, context) => { + return (0, smithy_client_1.take)(input, { + mapRunArn: [], + maxConcurrency: [], + toleratedFailureCount: [], + toleratedFailurePercentage: smithy_client_1.serializeFloat + }); + }; + var de_ActivityList = (output, context) => { + const retVal = (output || []).filter((e) => e != null).map((entry) => { + return de_ActivityListItem(entry, context); + }); + return retVal; + }; + var de_ActivityListItem = (output, context) => { + return (0, smithy_client_1.take)(output, { + activityArn: smithy_client_1.expectString, + creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + name: smithy_client_1.expectString + }); + }; + var de_CreateActivityOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + activityArn: smithy_client_1.expectString, + creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) + }); + }; + var de_CreateStateMachineAliasOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + stateMachineAliasArn: smithy_client_1.expectString + }); + }; + var de_CreateStateMachineOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + stateMachineArn: smithy_client_1.expectString, + stateMachineVersionArn: smithy_client_1.expectString + }); + }; + var de_DescribeActivityOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + activityArn: smithy_client_1.expectString, + creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + name: smithy_client_1.expectString + }); + }; + var de_DescribeExecutionOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + cause: smithy_client_1.expectString, + error: smithy_client_1.expectString, + executionArn: smithy_client_1.expectString, + input: smithy_client_1.expectString, + inputDetails: smithy_client_1._json, + mapRunArn: smithy_client_1.expectString, + name: smithy_client_1.expectString, + output: smithy_client_1.expectString, + outputDetails: smithy_client_1._json, + startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + stateMachineAliasArn: smithy_client_1.expectString, + stateMachineArn: smithy_client_1.expectString, + stateMachineVersionArn: smithy_client_1.expectString, + status: smithy_client_1.expectString, + stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + traceHeader: smithy_client_1.expectString + }); + }; + var de_DescribeMapRunOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + executionArn: smithy_client_1.expectString, + executionCounts: smithy_client_1._json, + itemCounts: smithy_client_1._json, + mapRunArn: smithy_client_1.expectString, + maxConcurrency: smithy_client_1.expectInt32, + startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + status: smithy_client_1.expectString, + stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + toleratedFailureCount: smithy_client_1.expectLong, + toleratedFailurePercentage: smithy_client_1.limitedParseFloat32 + }); + }; + var de_DescribeStateMachineAliasOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + description: smithy_client_1.expectString, + name: smithy_client_1.expectString, + routingConfiguration: smithy_client_1._json, + stateMachineAliasArn: smithy_client_1.expectString, + updateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) + }); + }; + var de_DescribeStateMachineForExecutionOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + definition: smithy_client_1.expectString, + label: smithy_client_1.expectString, + loggingConfiguration: smithy_client_1._json, + mapRunArn: smithy_client_1.expectString, + name: smithy_client_1.expectString, + revisionId: smithy_client_1.expectString, + roleArn: smithy_client_1.expectString, + stateMachineArn: smithy_client_1.expectString, + tracingConfiguration: smithy_client_1._json, + updateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) + }); + }; + var de_DescribeStateMachineOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + definition: smithy_client_1.expectString, + description: smithy_client_1.expectString, + label: smithy_client_1.expectString, + loggingConfiguration: smithy_client_1._json, + name: smithy_client_1.expectString, + revisionId: smithy_client_1.expectString, + roleArn: smithy_client_1.expectString, + stateMachineArn: smithy_client_1.expectString, + status: smithy_client_1.expectString, + tracingConfiguration: smithy_client_1._json, + type: smithy_client_1.expectString + }); + }; + var de_ExecutionList = (output, context) => { + const retVal = (output || []).filter((e) => e != null).map((entry) => { + return de_ExecutionListItem(entry, context); + }); + return retVal; + }; + var de_ExecutionListItem = (output, context) => { + return (0, smithy_client_1.take)(output, { + executionArn: smithy_client_1.expectString, + itemCount: smithy_client_1.expectInt32, + mapRunArn: smithy_client_1.expectString, + name: smithy_client_1.expectString, + startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + stateMachineAliasArn: smithy_client_1.expectString, + stateMachineArn: smithy_client_1.expectString, + stateMachineVersionArn: smithy_client_1.expectString, + status: smithy_client_1.expectString, + stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) + }); + }; + var de_GetExecutionHistoryOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + events: (_) => de_HistoryEventList(_, context), + nextToken: smithy_client_1.expectString + }); + }; + var de_HistoryEvent = (output, context) => { + return (0, smithy_client_1.take)(output, { + activityFailedEventDetails: smithy_client_1._json, + activityScheduleFailedEventDetails: smithy_client_1._json, + activityScheduledEventDetails: smithy_client_1._json, + activityStartedEventDetails: smithy_client_1._json, + activitySucceededEventDetails: smithy_client_1._json, + activityTimedOutEventDetails: smithy_client_1._json, + executionAbortedEventDetails: smithy_client_1._json, + executionFailedEventDetails: smithy_client_1._json, + executionStartedEventDetails: smithy_client_1._json, + executionSucceededEventDetails: smithy_client_1._json, + executionTimedOutEventDetails: smithy_client_1._json, + id: smithy_client_1.expectLong, + lambdaFunctionFailedEventDetails: smithy_client_1._json, + lambdaFunctionScheduleFailedEventDetails: smithy_client_1._json, + lambdaFunctionScheduledEventDetails: smithy_client_1._json, + lambdaFunctionStartFailedEventDetails: smithy_client_1._json, + lambdaFunctionSucceededEventDetails: smithy_client_1._json, + lambdaFunctionTimedOutEventDetails: smithy_client_1._json, + mapIterationAbortedEventDetails: smithy_client_1._json, + mapIterationFailedEventDetails: smithy_client_1._json, + mapIterationStartedEventDetails: smithy_client_1._json, + mapIterationSucceededEventDetails: smithy_client_1._json, + mapRunFailedEventDetails: smithy_client_1._json, + mapRunStartedEventDetails: smithy_client_1._json, + mapStateStartedEventDetails: smithy_client_1._json, + previousEventId: smithy_client_1.expectLong, + stateEnteredEventDetails: smithy_client_1._json, + stateExitedEventDetails: smithy_client_1._json, + taskFailedEventDetails: smithy_client_1._json, + taskScheduledEventDetails: smithy_client_1._json, + taskStartFailedEventDetails: smithy_client_1._json, + taskStartedEventDetails: smithy_client_1._json, + taskSubmitFailedEventDetails: smithy_client_1._json, + taskSubmittedEventDetails: smithy_client_1._json, + taskSucceededEventDetails: smithy_client_1._json, + taskTimedOutEventDetails: smithy_client_1._json, + timestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + type: smithy_client_1.expectString + }); + }; + var de_HistoryEventList = (output, context) => { + const retVal = (output || []).filter((e) => e != null).map((entry) => { + return de_HistoryEvent(entry, context); + }); + return retVal; + }; + var de_ListActivitiesOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + activities: (_) => de_ActivityList(_, context), + nextToken: smithy_client_1.expectString + }); + }; + var de_ListExecutionsOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + executions: (_) => de_ExecutionList(_, context), + nextToken: smithy_client_1.expectString + }); + }; + var de_ListMapRunsOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + mapRuns: (_) => de_MapRunList(_, context), + nextToken: smithy_client_1.expectString + }); + }; + var de_ListStateMachineAliasesOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + nextToken: smithy_client_1.expectString, + stateMachineAliases: (_) => de_StateMachineAliasList(_, context) + }); + }; + var de_ListStateMachinesOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + nextToken: smithy_client_1.expectString, + stateMachines: (_) => de_StateMachineList(_, context) + }); + }; + var de_ListStateMachineVersionsOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + nextToken: smithy_client_1.expectString, + stateMachineVersions: (_) => de_StateMachineVersionList(_, context) + }); + }; + var de_MapRunList = (output, context) => { + const retVal = (output || []).filter((e) => e != null).map((entry) => { + return de_MapRunListItem(entry, context); + }); + return retVal; + }; + var de_MapRunListItem = (output, context) => { + return (0, smithy_client_1.take)(output, { + executionArn: smithy_client_1.expectString, + mapRunArn: smithy_client_1.expectString, + startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + stateMachineArn: smithy_client_1.expectString, + stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) + }); + }; + var de_PublishStateMachineVersionOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + stateMachineVersionArn: smithy_client_1.expectString + }); + }; + var de_StartExecutionOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + executionArn: smithy_client_1.expectString, + startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) + }); + }; + var de_StartSyncExecutionOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + billingDetails: smithy_client_1._json, + cause: smithy_client_1.expectString, + error: smithy_client_1.expectString, + executionArn: smithy_client_1.expectString, + input: smithy_client_1.expectString, + inputDetails: smithy_client_1._json, + name: smithy_client_1.expectString, + output: smithy_client_1.expectString, + outputDetails: smithy_client_1._json, + startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + stateMachineArn: smithy_client_1.expectString, + status: smithy_client_1.expectString, + stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + traceHeader: smithy_client_1.expectString + }); + }; + var de_StateMachineAliasList = (output, context) => { + const retVal = (output || []).filter((e) => e != null).map((entry) => { + return de_StateMachineAliasListItem(entry, context); + }); + return retVal; + }; + var de_StateMachineAliasListItem = (output, context) => { + return (0, smithy_client_1.take)(output, { + creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + stateMachineAliasArn: smithy_client_1.expectString + }); + }; + var de_StateMachineList = (output, context) => { + const retVal = (output || []).filter((e) => e != null).map((entry) => { + return de_StateMachineListItem(entry, context); + }); + return retVal; + }; + var de_StateMachineListItem = (output, context) => { + return (0, smithy_client_1.take)(output, { + creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + name: smithy_client_1.expectString, + stateMachineArn: smithy_client_1.expectString, + type: smithy_client_1.expectString + }); + }; + var de_StateMachineVersionList = (output, context) => { + const retVal = (output || []).filter((e) => e != null).map((entry) => { + return de_StateMachineVersionListItem(entry, context); + }); + return retVal; + }; + var de_StateMachineVersionListItem = (output, context) => { + return (0, smithy_client_1.take)(output, { + creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + stateMachineVersionArn: smithy_client_1.expectString + }); + }; + var de_StopExecutionOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) + }); + }; + var de_UpdateStateMachineAliasOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + updateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) + }); + }; + var de_UpdateStateMachineOutput = (output, context) => { + return (0, smithy_client_1.take)(output, { + revisionId: smithy_client_1.expectString, + stateMachineVersionArn: smithy_client_1.expectString, + updateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))) + }); + }; + var deserializeMetadata = (output) => ({ + httpStatusCode: output.statusCode, + requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], + extendedRequestId: output.headers["x-amz-id-2"], + cfId: output.headers["x-amz-cf-id"] + }); + var collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)); + var throwDefaultError = (0, smithy_client_1.withBaseException)(SFNServiceException_1.SFNServiceException); + var buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const contents = { + protocol, + hostname, + port, + method: "POST", + path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, + headers + }; + if (resolvedHostname !== void 0) { + contents.hostname = resolvedHostname; + } + if (body !== void 0) { + contents.body = body; + } + return new protocol_http_1.HttpRequest(contents); + }; + function sharedHeaders(operation) { + return { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": `AWSStepFunctions.${operation}` + }; + } + var parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + return JSON.parse(encoded); + } + return {}; + }); + var parseErrorBody = async (errorBody, context) => { + const value = await parseBody(errorBody, context); + value.message = value.message ?? value.Message; + return value; + }; + var loadRestJsonErrorCode = (output, data) => { + const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); + const sanitizeErrorCode = (rawValue) => { + let cleanValue = rawValue; + if (typeof cleanValue === "number") { + cleanValue = cleanValue.toString(); + } + if (cleanValue.indexOf(",") >= 0) { + cleanValue = cleanValue.split(",")[0]; + } + if (cleanValue.indexOf(":") >= 0) { + cleanValue = cleanValue.split(":")[0]; + } + if (cleanValue.indexOf("#") >= 0) { + cleanValue = cleanValue.split("#")[1]; + } + return cleanValue; + }; + const headerKey = findKey(output.headers, "x-amzn-errortype"); + if (headerKey !== void 0) { + return sanitizeErrorCode(output.headers[headerKey]); + } + if (data.code !== void 0) { + return sanitizeErrorCode(data.code); + } + if (data["__type"] !== void 0) { + return sanitizeErrorCode(data["__type"]); + } + }; + } +}); + +// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/commands/CreateActivityCommand.js +var require_CreateActivityCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/commands/CreateActivityCommand.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.CreateActivityCommand = exports.$Command = void 0; + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { + return smithy_client_1.Command; + } }); + var types_1 = require_dist_cjs(); + var Aws_json1_0_1 = require_Aws_json1_0(); + var CreateActivityCommand = class _CreateActivityCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _CreateActivityCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SFNClient"; + const commandName = "CreateActivityCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AWSStepFunctions", + operation: "CreateActivity" + } + }; + const { requestHandler } = configuration; + return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_0_1.se_CreateActivityCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_0_1.de_CreateActivityCommand)(output, context); + } + }; + exports.CreateActivityCommand = CreateActivityCommand; + } +}); + +// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/commands/CreateStateMachineAliasCommand.js +var require_CreateStateMachineAliasCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/commands/CreateStateMachineAliasCommand.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.CreateStateMachineAliasCommand = exports.$Command = void 0; + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { + return smithy_client_1.Command; + } }); + var types_1 = require_dist_cjs(); + var models_0_1 = require_models_03(); + var Aws_json1_0_1 = require_Aws_json1_0(); + var CreateStateMachineAliasCommand = class _CreateStateMachineAliasCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _CreateStateMachineAliasCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SFNClient"; + const commandName = "CreateStateMachineAliasCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: models_0_1.CreateStateMachineAliasInputFilterSensitiveLog, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AWSStepFunctions", + operation: "CreateStateMachineAlias" + } + }; + const { requestHandler } = configuration; + return stack.resolve((request2) => requestHandler.handle(request2.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_0_1.se_CreateStateMachineAliasCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_0_1.de_CreateStateMachineAliasCommand)(output, context); + } + }; + exports.CreateStateMachineAliasCommand = CreateStateMachineAliasCommand; + } +}); + +// ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/commands/CreateStateMachineCommand.js +var require_CreateStateMachineCommand = __commonJS({ + "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/commands/CreateStateMachineCommand.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.CreateStateMachineCommand = exports.$Command = void 0; + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); + Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { + return smithy_client_1.Command; + } }); + var types_1 = require_dist_cjs(); + var models_0_1 = require_models_03(); + var Aws_json1_0_1 = require_Aws_json1_0(); + var CreateStateMachineCommand = class _CreateStateMachineCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, _CreateStateMachineCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; const clientName = "SFNClient"; const commandName = "CreateStateMachineCommand"; @@ -22490,9 +22644,9 @@ var require_DeleteActivityCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeleteActivityCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -22549,9 +22703,9 @@ var require_DeleteStateMachineAliasCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeleteStateMachineAliasCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -22608,9 +22762,9 @@ var require_DeleteStateMachineCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeleteStateMachineCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -22667,9 +22821,9 @@ var require_DeleteStateMachineVersionCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeleteStateMachineVersionCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -22726,9 +22880,9 @@ var require_DescribeActivityCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DescribeActivityCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -22785,9 +22939,9 @@ var require_DescribeExecutionCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DescribeExecutionCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -22845,9 +22999,9 @@ var require_DescribeMapRunCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DescribeMapRunCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -22904,9 +23058,9 @@ var require_DescribeStateMachineAliasCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DescribeStateMachineAliasCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -22964,9 +23118,9 @@ var require_DescribeStateMachineCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DescribeStateMachineCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23024,9 +23178,9 @@ var require_DescribeStateMachineForExecutionCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DescribeStateMachineForExecutionCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23084,9 +23238,9 @@ var require_GetActivityTaskCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GetActivityTaskCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23144,9 +23298,9 @@ var require_GetExecutionHistoryCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GetExecutionHistoryCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23204,9 +23358,9 @@ var require_ListActivitiesCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ListActivitiesCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23263,9 +23417,9 @@ var require_ListExecutionsCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ListExecutionsCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23322,9 +23476,9 @@ var require_ListMapRunsCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ListMapRunsCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23381,9 +23535,9 @@ var require_ListStateMachineAliasesCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ListStateMachineAliasesCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23440,9 +23594,9 @@ var require_ListStateMachinesCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ListStateMachinesCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23499,9 +23653,9 @@ var require_ListStateMachineVersionsCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ListStateMachineVersionsCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23558,9 +23712,9 @@ var require_ListTagsForResourceCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ListTagsForResourceCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23617,9 +23771,9 @@ var require_PublishStateMachineVersionCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PublishStateMachineVersionCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23677,9 +23831,9 @@ var require_SendTaskFailureCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SendTaskFailureCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23737,9 +23891,9 @@ var require_SendTaskHeartbeatCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SendTaskHeartbeatCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23796,9 +23950,9 @@ var require_SendTaskSuccessCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SendTaskSuccessCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23856,9 +24010,9 @@ var require_StartExecutionCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StartExecutionCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23916,9 +24070,9 @@ var require_StartSyncExecutionCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StartSyncExecutionCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -23976,9 +24130,9 @@ var require_StopExecutionCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StopExecutionCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -24036,9 +24190,9 @@ var require_TagResourceCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TagResourceCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -24095,9 +24249,9 @@ var require_UntagResourceCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UntagResourceCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -24154,9 +24308,9 @@ var require_UpdateMapRunCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UpdateMapRunCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -24213,9 +24367,9 @@ var require_UpdateStateMachineAliasCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UpdateStateMachineAliasCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -24273,9 +24427,9 @@ var require_UpdateStateMachineCommand = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UpdateStateMachineCommand = exports.$Command = void 0; - var middleware_endpoint_1 = require_dist_cjs26(); - var middleware_serde_1 = require_dist_cjs25(); - var smithy_client_1 = require_dist_cjs35(); + var middleware_endpoint_1 = require_dist_cjs28(); + var middleware_serde_1 = require_dist_cjs27(); + var smithy_client_1 = require_dist_cjs37(); Object.defineProperty(exports, "$Command", { enumerable: true, get: function() { return smithy_client_1.Command; } }); @@ -24333,7 +24487,7 @@ var require_SFN = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SFN = void 0; - var smithy_client_1 = require_dist_cjs35(); + var smithy_client_1 = require_dist_cjs37(); var CreateActivityCommand_1 = require_CreateActivityCommand(); var CreateStateMachineAliasCommand_1 = require_CreateStateMachineAliasCommand(); var CreateStateMachineCommand_1 = require_CreateStateMachineCommand(); @@ -26545,8 +26699,8 @@ var require_bom_handling = __commonJS({ return this.encoder.end(); }; exports.StripBOM = StripBOMWrapper; - function StripBOMWrapper(decoder, options) { - this.decoder = decoder; + function StripBOMWrapper(decoder2, options) { + this.decoder = decoder2; this.pass = false; this.options = options || {}; } @@ -30017,9 +30171,9 @@ var require_lib3 = __commonJS({ } buf = Buffer2.from("" + (buf || ""), "binary"); } - var decoder = iconv.getDecoder(encoding, options); - var res = decoder.write(buf); - var trail = decoder.end(); + var decoder2 = iconv.getDecoder(encoding, options); + var res = decoder2.write(buf); + var trail = decoder2.end(); return trail ? res + trail : res; }; iconv.encodingExists = function encodingExists(enc) { @@ -30075,10 +30229,10 @@ var require_lib3 = __commonJS({ return encoder; }; iconv.getDecoder = function getDecoder(encoding, options) { - var codec = iconv.getCodec(encoding), decoder = new codec.decoder(options, codec); + var codec = iconv.getCodec(encoding), decoder2 = new codec.decoder(options, codec); if (codec.bomAware && !(options && options.stripBOM === false)) - decoder = new bomHandling.StripBOM(decoder, options); - return decoder; + decoder2 = new bomHandling.StripBOM(decoder2, options); + return decoder2; }; iconv.enableStreamingAPI = function enableStreamingAPI(stream_module2) { if (iconv.supportsStreams) @@ -31391,665 +31545,1526 @@ var require_lib4 = __commonJS({ stream.emit("error", err); stream.end(); } - } - fetch2.isRedirect = function(code) { - return code === 301 || code === 302 || code === 303 || code === 307 || code === 308; + } + fetch2.isRedirect = function(code) { + return code === 301 || code === 302 || code === 303 || code === 307 || code === 308; + }; + fetch2.Promise = global.Promise; + module2.exports = exports = fetch2; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.default = exports; + exports.Headers = Headers; + exports.Request = Request; + exports.Response = Response2; + exports.FetchError = FetchError; + exports.AbortError = AbortError; + } +}); + +// ../sdk-v2-to-v3-adapter/lib/parameter-types.ts +var zlib, typeCoercionStateMachine; +var init_parameter_types = __esm({ + "../sdk-v2-to-v3-adapter/lib/parameter-types.ts"() { + "use strict"; + zlib = __toESM(require("zlib")); + typeCoercionStateMachine = () => { + const encoded = "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"; + const decoded = JSON.parse(zlib.brotliDecompressSync(Buffer.from(encoded, "base64")).toString()); + typeCoercionStateMachine = () => decoded; + return decoded; + }; + } +}); + +// ../sdk-v2-to-v3-adapter/lib/coerce-api-parameters.ts +var coerce_api_parameters_exports = {}; +__export(coerce_api_parameters_exports, { + Coercer: () => Coercer, + coerceApiParameters: () => coerceApiParameters +}); +function coerceApiParameters(v3service, action, parameters = {}) { + const typeMachine = typeCoercionStateMachine(); + return new Coercer(typeMachine).coerceApiParameters(v3service, action, parameters); +} +function coerceValueToUint8Array(x) { + if (x instanceof Uint8Array) { + return x; + } + if (typeof x === "string" || typeof x === "number") { + return new TextEncoder().encode(x.toString()); + } + return x; +} +function coerceValueToNumber(x) { + if (typeof x === "number") { + return x; + } + if (typeof x === "string") { + const n = Number(x); + return isNaN(n) ? x : n; + } + return x; +} +var Coercer; +var init_coerce_api_parameters = __esm({ + "../sdk-v2-to-v3-adapter/lib/coerce-api-parameters.ts"() { + "use strict"; + init_parameter_types(); + Coercer = class { + constructor(typeMachine) { + this.typeMachine = typeMachine; + } + coerceApiParameters(v3service, action, parameters = {}) { + const actionState = this.progress(action.toLowerCase(), this.progress(v3service.toLowerCase(), 0)); + return this.recurse(parameters, actionState); + } + testCoerce(value) { + return this.recurse(value, 0); + } + recurse(value, state) { + switch (state) { + case void 0: + return value; + case "b": + return coerceValueToUint8Array(value); + case "n": + return coerceValueToNumber(value); + } + if (Array.isArray(value)) { + const elState = this.progress("*", state); + return elState !== void 0 ? value.map((e) => this.recurse(e, elState)) : value; + } + if (value && typeof value === "object") { + const mapState = this.progress("*", state); + for (const key of Object.keys(value)) { + const fieldState = this.progress(key, state) ?? mapState; + if (fieldState !== void 0) { + value[key] = this.recurse(value[key], fieldState); + } + } + return value; + } + return value; + } + /** + * From a given state, return the state we would end up in if we followed this field + */ + progress(field, s) { + if (s === void 0 || typeof s !== "number") { + return void 0; + } + return this.typeMachine[s][field]; + } + }; + } +}); + +// ../sdk-v2-to-v3-adapter/lib/find-client-constructor.ts +var find_client_constructor_exports = {}; +__export(find_client_constructor_exports, { + findV3ClientConstructor: () => findV3ClientConstructor +}); +function findV3ClientConstructor(pkg) { + const [_clientName, ServiceClient] = Object.entries(pkg).find( + ([name]) => { + return name.endsWith("Client") && name !== "__Client"; + } + ); + return ServiceClient; +} +var init_find_client_constructor = __esm({ + "../sdk-v2-to-v3-adapter/lib/find-client-constructor.ts"() { + "use strict"; + } +}); + +// ../sdk-v2-to-v3-adapter/lib/sdk-v2-to-v3.json +var require_sdk_v2_to_v3 = __commonJS({ + "../sdk-v2-to-v3-adapter/lib/sdk-v2-to-v3.json"(exports, module2) { + module2.exports = { + acmpca: "acm-pca", + apigateway: "api-gateway", + arczonalshift: "arc-zonal-shift", + alexaforbusiness: "alexa-for-business", + appmesh: "app-mesh", + applicationautoscaling: "application-auto-scaling", + applicationinsights: "application-insights", + augmentedairuntime: "sage-maker-a2iruntime", + autoscaling: "auto-scaling", + autoscalingplans: "auto-scaling-plans", + backupgateway: "backup-gateway", + cur: "cost-and-usage-report-service", + chimesdkidentity: "chime-sdk-identity", + chimesdkmediapipelines: "chime-sdk-media-pipelines", + chimesdkmeetings: "chime-sdk-meetings", + chimesdkmessaging: "chime-sdk-messaging", + chimesdkvoice: "chime-sdk-voice", + cloudhsmv2: "cloudhsm-v2", + cloudsearchdomain: "cloudsearch-domain", + cloudtraildata: "cloudtrail-data", + cloudwatchevents: "cloudwatch-events", + cloudwatchlogs: "cloudwatch-logs", + codegurureviewer: "codeguru-reviewer", + codegurusecurity: "codeguru-security", + codestarnotifications: "codestar-notifications", + codestarconnections: "codestar-connections", + cognitoidentity: "cognito-identity", + cognitoidentityserviceprovider: "cognito-identity-provider", + cognitosync: "cognito-sync", + computeoptimizer: "compute-optimizer", + configservice: "config-service", + connectcontactlens: "connect-contact-lens", + costexplorer: "cost-explorer", + customerprofiles: "customer-profiles", + dms: "database-migration-service", + datapipeline: "data-pipeline", + devopsguru: "devops-guru", + devicefarm: "device-farm", + directconnect: "direct-connect", + directoryservice: "directory-service", + discovery: "application-discovery-service", + docdbelastic: "docdb-elastic", + dynamodbstreams: "dynamodb-streams", + ec2instanceconnect: "ec2-instance-connect", + ecrpublic: "ecr-public", + elb: "elastic-load-balancing", + elbv2: "elastic-load-balancing-v2", + emrserverless: "emr-serverless", + emrcontainers: "emr-containers", + es: "elasticsearch-service", + elasticbeanstalk: "elastic-beanstalk", + elasticinference: "elastic-inference", + elastictranscoder: "elastic-transcoder", + finspacedata: "finspace-data", + forecastqueryservice: "forecastquery", + forecastservice: "forecast", + globalaccelerator: "global-accelerator", + iot1clickdevicesservice: "iot-1click-devices-service", + iot1clickprojects: "iot-1click-projects", + iotevents: "iot-events", + ioteventsdata: "iot-events-data", + iotjobsdataplane: "iot-jobs-data-plane", + iotroborunner: "iot-roborunner", + iotwireless: "iot-wireless", + iotdata: "iot-data-plane", + ivsrealtime: "ivs-realtime", + kendraranking: "kendra-ranking", + kinesisanalytics: "kinesis-analytics", + kinesisanalyticsv2: "kinesis-analytics-v2", + kinesisvideo: "kinesis-video", + kinesisvideoarchivedmedia: "kinesis-video-archived-media", + kinesisvideomedia: "kinesis-video-media", + kinesisvideosignalingchannels: "kinesis-video-signaling", + kinesisvideowebrtcstorage: "kinesis-video-webrtc-storage", + lexmodelbuildingservice: "lex-model-building-service", + lexmodelsv2: "lex-models-v2", + lexruntime: "lex-runtime-service", + lexruntimev2: "lex-runtime-v2", + licensemanager: "license-manager", + licensemanagerlinuxsubscriptions: "license-manager-linux-subscriptions", + licensemanagerusersubscriptions: "license-manager-user-subscriptions", + machinelearning: "machine-learning", + managedblockchainquery: "managedblockchain-query", + marketplacecatalog: "marketplace-catalog", + marketplacecommerceanalytics: "marketplace-commerce-analytics", + marketplaceentitlementservice: "marketplace-entitlement-service", + marketplacemetering: "marketplace-metering", + mediapackagevod: "mediapackage-vod", + mediastoredata: "mediastore-data", + medicalimaging: "medical-imaging", + memorydb: "memory-db", + migrationhub: "migration-hub", + migrationhubconfig: "migrationhub-config", + migrationhubrefactorspaces: "migration-hub-refactor-spaces", + networkfirewall: "network-firewall", + paymentcryptography: "payment-cryptography", + paymentcryptographydata: "payment-cryptography-data", + pcaconnectorad: "pca-connector-ad", + personalizeevents: "personalize-events", + personalizeruntime: "personalize-runtime", + pinpointemail: "pinpoint-email", + pinpointsmsvoice: "pinpoint-sms-voice", + pinpointsmsvoicev2: "pinpoint-sms-voice-v2", + qldbsession: "qldb-session", + rdsdataservice: "rds-data", + redshiftdata: "redshift-data", + redshiftserverless: "redshift-serverless", + resourceexplorer2: "resource-explorer-2", + resourcegroups: "resource-groups", + resourcegroupstaggingapi: "resource-groups-tagging-api", + route53: "route-53", + route53domains: "route-53-domains", + route53recoverycluster: "route53-recovery-cluster", + route53recoverycontrolconfig: "route53-recovery-control-config", + route53recoveryreadiness: "route53-recovery-readiness", + s3control: "s3-control", + ssmcontacts: "ssm-contacts", + ssmincidents: "ssm-incidents", + ssoadmin: "sso-admin", + ssooidc: "sso-oidc", + sagemakerfeaturestoreruntime: "sagemaker-featurestore-runtime", + sagemakergeospatial: "sagemaker-geospatial", + sagemakermetrics: "sagemaker-metrics", + sagemakerruntime: "sagemaker-runtime", + sagemakeredge: "sagemaker-edge", + secretsmanager: "secrets-manager", + servicecatalog: "service-catalog", + servicecatalogappregistry: "service-catalog-appregistry", + servicequotas: "service-quotas", + snowdevicemanagement: "snow-device-management", + ssmsap: "ssm-sap", + stepfunctions: "sfn", + storagegateway: "storage-gateway", + supportapp: "support-app", + timestreamquery: "timestream-query", + timestreamwrite: "timestream-write", + transcribeservice: "transcribe", + voiceid: "voice-id", + vpclattice: "vpc-lattice", + wafregional: "waf-regional", + workspacesweb: "workspaces-web" + }; + } +}); + +// ../sdk-v2-to-v3-adapter/lib/sdk-v3-metadata.json +var require_sdk_v3_metadata = __commonJS({ + "../sdk-v2-to-v3-adapter/lib/sdk-v3-metadata.json"(exports, module2) { + module2.exports = { + accessanalyzer: { + iamPrefix: "access-analyzer" + }, + account: { + iamPrefix: "account" + }, + "acm-pca": { + iamPrefix: "acm-pca" + }, + acm: { + iamPrefix: "acm" + }, + "alexa-for-business": { + iamPrefix: "a4b" + }, + amp: { + iamPrefix: "aps" + }, + amplify: { + iamPrefix: "amplify" + }, + amplifybackend: { + iamPrefix: "amplifybackend" + }, + amplifyuibuilder: { + iamPrefix: "amplifyuibuilder" + }, + "api-gateway": { + iamPrefix: "apigateway" + }, + apigatewaymanagementapi: { + iamPrefix: "execute-api" + }, + apigatewayv2: { + iamPrefix: "apigateway" + }, + "app-mesh": { + iamPrefix: "appmesh" + }, + appconfig: { + iamPrefix: "appconfig" + }, + appconfigdata: { + iamPrefix: "appconfig" + }, + appfabric: { + iamPrefix: "appfabric" + }, + appflow: { + iamPrefix: "appflow" + }, + appintegrations: { + iamPrefix: "app-integrations" + }, + "application-auto-scaling": { + iamPrefix: "application-autoscaling" + }, + "application-discovery-service": { + iamPrefix: "discovery" + }, + "application-insights": { + iamPrefix: "applicationinsights" + }, + applicationcostprofiler: { + iamPrefix: "application-cost-profiler" + }, + apprunner: { + iamPrefix: "apprunner" + }, + appstream: { + iamPrefix: "appstream" + }, + appsync: { + iamPrefix: "appsync" + }, + "arc-zonal-shift": { + iamPrefix: "arc-zonal-shift" + }, + athena: { + iamPrefix: "athena" + }, + auditmanager: { + iamPrefix: "auditmanager" + }, + "auto-scaling-plans": { + iamPrefix: "autoscaling-plans" + }, + "auto-scaling": { + iamPrefix: "autoscaling" + }, + "backup-gateway": { + iamPrefix: "backup-gateway" + }, + backup: { + iamPrefix: "backup" + }, + backupstorage: { + iamPrefix: "backup-storage" + }, + batch: { + iamPrefix: "batch" + }, + billingconductor: { + iamPrefix: "billingconductor" + }, + braket: { + iamPrefix: "braket" + }, + budgets: { + iamPrefix: "budgets" + }, + "chime-sdk-identity": { + iamPrefix: "chime" + }, + "chime-sdk-media-pipelines": { + iamPrefix: "chime" + }, + "chime-sdk-meetings": { + iamPrefix: "chime" + }, + "chime-sdk-messaging": { + iamPrefix: "chime" + }, + "chime-sdk-voice": { + iamPrefix: "chime" + }, + chime: { + iamPrefix: "chime" + }, + cleanrooms: { + iamPrefix: "cleanrooms" + }, + cloud9: { + iamPrefix: "cloud9" + }, + cloudcontrol: { + iamPrefix: "cloudcontrolapi" + }, + clouddirectory: { + iamPrefix: "clouddirectory" + }, + cloudformation: { + iamPrefix: "cloudformation" + }, + cloudfront: { + iamPrefix: "cloudfront" + }, + "cloudhsm-v2": { + iamPrefix: "cloudhsm" + }, + cloudhsm: { + iamPrefix: "cloudhsm" + }, + "cloudsearch-domain": { + iamPrefix: "cloudsearch" + }, + cloudsearch: { + iamPrefix: "cloudsearch" + }, + "cloudtrail-data": { + iamPrefix: "cloudtrail-data" + }, + cloudtrail: { + iamPrefix: "cloudtrail" + }, + "cloudwatch-events": { + iamPrefix: "events" + }, + "cloudwatch-logs": { + iamPrefix: "logs" + }, + cloudwatch: { + iamPrefix: "monitoring" + }, + codeartifact: { + iamPrefix: "codeartifact" + }, + codebuild: { + iamPrefix: "codebuild" + }, + codecatalyst: {}, + codecommit: { + iamPrefix: "codecommit" + }, + codedeploy: { + iamPrefix: "codedeploy" + }, + "codeguru-reviewer": { + iamPrefix: "codeguru-reviewer" + }, + "codeguru-security": { + iamPrefix: "codeguru-security" + }, + codeguruprofiler: { + iamPrefix: "codeguru-profiler" + }, + codepipeline: { + iamPrefix: "codepipeline" + }, + "codestar-connections": { + iamPrefix: "codestar-connections" + }, + "codestar-notifications": { + iamPrefix: "codestar-notifications" + }, + codestar: { + iamPrefix: "codestar" + }, + "cognito-identity-provider": { + iamPrefix: "cognito-idp" + }, + "cognito-identity": { + iamPrefix: "cognito-identity" + }, + "cognito-sync": { + iamPrefix: "cognito-sync" + }, + comprehend: { + iamPrefix: "comprehend" + }, + comprehendmedical: { + iamPrefix: "comprehendmedical" + }, + "compute-optimizer": { + iamPrefix: "compute-optimizer" + }, + "config-service": { + iamPrefix: "config" + }, + "connect-contact-lens": { + iamPrefix: "connect" + }, + connect: { + iamPrefix: "connect" + }, + connectcampaigns: { + iamPrefix: "connect-campaigns" + }, + connectcases: { + iamPrefix: "cases" + }, + connectparticipant: { + iamPrefix: "execute-api" + }, + controltower: { + iamPrefix: "controltower" + }, + "cost-and-usage-report-service": { + iamPrefix: "cur" + }, + "cost-explorer": { + iamPrefix: "ce" + }, + "customer-profiles": { + iamPrefix: "profile" + }, + "data-pipeline": { + iamPrefix: "datapipeline" + }, + "database-migration-service": { + iamPrefix: "dms" + }, + databrew: { + iamPrefix: "databrew" + }, + dataexchange: { + iamPrefix: "dataexchange" + }, + datasync: { + iamPrefix: "datasync" + }, + dax: { + iamPrefix: "dax" + }, + detective: { + iamPrefix: "detective" + }, + "device-farm": { + iamPrefix: "devicefarm" + }, + "devops-guru": { + iamPrefix: "devops-guru" + }, + "direct-connect": { + iamPrefix: "directconnect" + }, + "directory-service": { + iamPrefix: "ds" + }, + dlm: { + iamPrefix: "dlm" + }, + "docdb-elastic": { + iamPrefix: "docdb-elastic" + }, + docdb: { + iamPrefix: "rds" + }, + drs: { + iamPrefix: "drs" + }, + "dynamodb-streams": { + iamPrefix: "dynamodb" + }, + dynamodb: { + iamPrefix: "dynamodb" + }, + ebs: { + iamPrefix: "ebs" + }, + "ec2-instance-connect": { + iamPrefix: "ec2-instance-connect" + }, + ec2: { + iamPrefix: "ec2" + }, + "ecr-public": { + iamPrefix: "ecr-public" + }, + ecr: { + iamPrefix: "ecr" + }, + ecs: { + iamPrefix: "ecs", + commands: [ + "ExecuteCommand" + ] + }, + efs: { + iamPrefix: "elasticfilesystem" + }, + eks: { + iamPrefix: "eks" + }, + "elastic-beanstalk": { + iamPrefix: "elasticbeanstalk" + }, + "elastic-inference": { + iamPrefix: "elastic-inference" + }, + "elastic-load-balancing-v2": { + iamPrefix: "elasticloadbalancing" + }, + "elastic-load-balancing": { + iamPrefix: "elasticloadbalancing" + }, + "elastic-transcoder": { + iamPrefix: "elastictranscoder" + }, + elasticache: { + iamPrefix: "elasticache" + }, + "elasticsearch-service": { + iamPrefix: "es" + }, + "emr-containers": { + iamPrefix: "emr-containers" + }, + "emr-serverless": { + iamPrefix: "emr-serverless" + }, + emr: { + iamPrefix: "elasticmapreduce" + }, + entityresolution: { + iamPrefix: "entityresolution" + }, + eventbridge: { + iamPrefix: "events" + }, + evidently: { + iamPrefix: "evidently" + }, + "finspace-data": { + iamPrefix: "finspace-api" + }, + finspace: { + iamPrefix: "finspace" + }, + firehose: { + iamPrefix: "firehose" + }, + fis: { + iamPrefix: "fis" + }, + fms: { + iamPrefix: "fms" + }, + forecast: { + iamPrefix: "forecast" + }, + forecastquery: { + iamPrefix: "forecast" + }, + frauddetector: { + iamPrefix: "frauddetector" + }, + fsx: { + iamPrefix: "fsx" + }, + gamelift: { + iamPrefix: "gamelift" + }, + gamesparks: { + iamPrefix: "gamesparks" + }, + glacier: { + iamPrefix: "glacier" + }, + "global-accelerator": { + iamPrefix: "globalaccelerator" + }, + glue: { + iamPrefix: "glue" + }, + grafana: { + iamPrefix: "grafana" + }, + greengrass: { + iamPrefix: "greengrass" + }, + greengrassv2: { + iamPrefix: "greengrass" + }, + groundstation: { + iamPrefix: "groundstation" + }, + guardduty: { + iamPrefix: "guardduty" + }, + health: { + iamPrefix: "health" + }, + healthlake: { + iamPrefix: "healthlake" + }, + honeycode: { + iamPrefix: "honeycode" + }, + iam: { + iamPrefix: "iam" + }, + identitystore: { + iamPrefix: "identitystore" + }, + imagebuilder: { + iamPrefix: "imagebuilder" + }, + inspector: { + iamPrefix: "inspector" + }, + inspector2: { + iamPrefix: "inspector2" + }, + internetmonitor: { + iamPrefix: "internetmonitor" + }, + "iot-1click-devices-service": { + iamPrefix: "iot1click" + }, + "iot-1click-projects": { + iamPrefix: "iot1click" + }, + "iot-data-plane": { + iamPrefix: "iotdata" + }, + "iot-events-data": { + iamPrefix: "ioteventsdata" + }, + "iot-events": { + iamPrefix: "iotevents" + }, + "iot-jobs-data-plane": { + iamPrefix: "iot-jobs-data" + }, + "iot-roborunner": { + iamPrefix: "iotroborunner" + }, + "iot-wireless": { + iamPrefix: "iotwireless" + }, + iot: { + iamPrefix: "iot" + }, + iotanalytics: { + iamPrefix: "iotanalytics" + }, + iotdeviceadvisor: { + iamPrefix: "iotdeviceadvisor" + }, + iotfleethub: { + iamPrefix: "iotfleethub" + }, + iotfleetwise: { + iamPrefix: "iotfleetwise" + }, + iotsecuretunneling: { + iamPrefix: "IoTSecuredTunneling" + }, + iotsitewise: { + iamPrefix: "iotsitewise" + }, + iotthingsgraph: { + iamPrefix: "iotthingsgraph" + }, + iottwinmaker: { + iamPrefix: "iottwinmaker" + }, + "ivs-realtime": { + iamPrefix: "ivs" + }, + ivs: { + iamPrefix: "ivs" + }, + ivschat: { + iamPrefix: "ivschat" + }, + kafka: { + iamPrefix: "kafka" + }, + kafkaconnect: { + iamPrefix: "kafkaconnect" + }, + "kendra-ranking": { + iamPrefix: "kendra-ranking" + }, + kendra: { + iamPrefix: "kendra" + }, + keyspaces: { + iamPrefix: "cassandra" + }, + "kinesis-analytics-v2": { + iamPrefix: "kinesisanalytics" + }, + "kinesis-analytics": { + iamPrefix: "kinesisanalytics" + }, + "kinesis-video-archived-media": { + iamPrefix: "kinesisvideo" + }, + "kinesis-video-media": { + iamPrefix: "kinesisvideo" + }, + "kinesis-video-signaling": { + iamPrefix: "kinesisvideo" + }, + "kinesis-video-webrtc-storage": { + iamPrefix: "kinesisvideo" + }, + "kinesis-video": { + iamPrefix: "kinesisvideo" + }, + kinesis: { + iamPrefix: "kinesis" + }, + kms: { + iamPrefix: "kms" + }, + lakeformation: { + iamPrefix: "lakeformation" + }, + lambda: { + iamPrefix: "lambda" + }, + "lex-model-building-service": { + iamPrefix: "lex" + }, + "lex-models-v2": { + iamPrefix: "lex" + }, + "lex-runtime-service": { + iamPrefix: "lex" + }, + "lex-runtime-v2": { + iamPrefix: "lex" + }, + "license-manager-linux-subscriptions": { + iamPrefix: "license-manager-linux-subscriptions" + }, + "license-manager-user-subscriptions": { + iamPrefix: "license-manager-user-subscriptions" + }, + "license-manager": { + iamPrefix: "license-manager" + }, + lightsail: { + iamPrefix: "lightsail" + }, + location: { + iamPrefix: "geo" + }, + lookoutequipment: { + iamPrefix: "lookoutequipment" + }, + lookoutmetrics: { + iamPrefix: "lookoutmetrics" + }, + lookoutvision: { + iamPrefix: "lookoutvision" + }, + m2: { + iamPrefix: "m2" + }, + "machine-learning": { + iamPrefix: "machinelearning" + }, + macie: { + iamPrefix: "macie" + }, + macie2: { + iamPrefix: "macie2" + }, + "managedblockchain-query": { + iamPrefix: "managedblockchain-query" + }, + managedblockchain: { + iamPrefix: "managedblockchain" + }, + "marketplace-catalog": { + iamPrefix: "aws-marketplace" + }, + "marketplace-commerce-analytics": { + iamPrefix: "marketplacecommerceanalytics" + }, + "marketplace-entitlement-service": { + iamPrefix: "aws-marketplace" + }, + "marketplace-metering": { + iamPrefix: "aws-marketplace" + }, + mediaconnect: { + iamPrefix: "mediaconnect" + }, + mediaconvert: { + iamPrefix: "mediaconvert" + }, + medialive: { + iamPrefix: "medialive" + }, + "mediapackage-vod": { + iamPrefix: "mediapackage-vod" + }, + mediapackage: { + iamPrefix: "mediapackage" + }, + mediapackagev2: { + iamPrefix: "mediapackagev2" + }, + "mediastore-data": { + iamPrefix: "mediastore" + }, + mediastore: { + iamPrefix: "mediastore" + }, + mediatailor: { + iamPrefix: "mediatailor" + }, + "medical-imaging": { + iamPrefix: "medical-imaging" + }, + memorydb: { + iamPrefix: "memorydb" + }, + mgn: { + iamPrefix: "mgn" + }, + "migration-hub-refactor-spaces": { + iamPrefix: "refactor-spaces" + }, + "migration-hub": { + iamPrefix: "mgh" + }, + "migrationhub-config": { + iamPrefix: "mgh" + }, + migrationhuborchestrator: { + iamPrefix: "migrationhub-orchestrator" + }, + migrationhubstrategy: { + iamPrefix: "migrationhub-strategy" + }, + mobile: { + iamPrefix: "AWSMobileHubService" + }, + mq: { + iamPrefix: "mq" + }, + mturk: { + iamPrefix: "mturk-requester" + }, + mwaa: { + iamPrefix: "airflow" + }, + neptune: { + iamPrefix: "rds" + }, + neptunedata: { + iamPrefix: "neptune-db" + }, + "network-firewall": { + iamPrefix: "network-firewall" + }, + networkmanager: { + iamPrefix: "networkmanager" + }, + nimble: { + iamPrefix: "nimble" + }, + oam: { + iamPrefix: "oam" + }, + omics: { + iamPrefix: "omics" + }, + opensearch: { + iamPrefix: "es" + }, + opensearchserverless: { + iamPrefix: "aoss" + }, + opsworks: { + iamPrefix: "opsworks" + }, + opsworkscm: { + iamPrefix: "opsworks-cm" + }, + organizations: { + iamPrefix: "organizations" + }, + osis: { + iamPrefix: "osis" + }, + outposts: { + iamPrefix: "outposts" + }, + panorama: { + iamPrefix: "panorama" + }, + "payment-cryptography-data": { + iamPrefix: "payment-cryptography" + }, + "payment-cryptography": { + iamPrefix: "payment-cryptography" + }, + "pca-connector-ad": { + iamPrefix: "pca-connector-ad" + }, + "personalize-events": { + iamPrefix: "personalize" + }, + "personalize-runtime": { + iamPrefix: "personalize" + }, + personalize: { + iamPrefix: "personalize" + }, + pi: { + iamPrefix: "pi" + }, + "pinpoint-email": { + iamPrefix: "ses" + }, + "pinpoint-sms-voice-v2": { + iamPrefix: "sms-voice" + }, + "pinpoint-sms-voice": { + iamPrefix: "sms-voice" + }, + pinpoint: { + iamPrefix: "mobiletargeting" + }, + pipes: { + iamPrefix: "pipes" + }, + polly: { + iamPrefix: "polly" + }, + pricing: { + iamPrefix: "pricing" + }, + privatenetworks: { + iamPrefix: "private-networks" + }, + proton: { + iamPrefix: "proton" + }, + "qldb-session": { + iamPrefix: "qldb", + commands: [ + "SendCommand" + ] + }, + qldb: { + iamPrefix: "qldb" + }, + quicksight: { + iamPrefix: "quicksight" + }, + ram: { + iamPrefix: "ram" + }, + rbin: { + iamPrefix: "rbin" + }, + "rds-data": { + iamPrefix: "rds-data" + }, + rds: { + iamPrefix: "rds" + }, + "redshift-data": { + iamPrefix: "redshift-data" + }, + "redshift-serverless": { + iamPrefix: "redshift-serverless" + }, + redshift: { + iamPrefix: "redshift" + }, + rekognition: { + iamPrefix: "rekognition" + }, + rekognitionstreaming: { + iamPrefix: "rekognition" + }, + resiliencehub: { + iamPrefix: "resiliencehub" + }, + "resource-explorer-2": { + iamPrefix: "resource-explorer-2" + }, + "resource-groups-tagging-api": { + iamPrefix: "tagging" + }, + "resource-groups": { + iamPrefix: "resource-groups" + }, + robomaker: { + iamPrefix: "robomaker" + }, + rolesanywhere: { + iamPrefix: "rolesanywhere" + }, + "route-53-domains": { + iamPrefix: "route53domains" + }, + "route-53": { + iamPrefix: "route53" + }, + "route53-recovery-cluster": { + iamPrefix: "route53-recovery-cluster" + }, + "route53-recovery-control-config": { + iamPrefix: "route53-recovery-control-config" + }, + "route53-recovery-readiness": { + iamPrefix: "route53-recovery-readiness" + }, + route53resolver: { + iamPrefix: "route53resolver" + }, + rum: { + iamPrefix: "rum" + }, + "s3-control": { + iamPrefix: "s3" + }, + s3: { + iamPrefix: "s3" + }, + s3outposts: { + iamPrefix: "s3-outposts" + }, + "sagemaker-a2i-runtime": { + iamPrefix: "sagemaker" + }, + "sagemaker-edge": { + iamPrefix: "sagemaker" + }, + "sagemaker-featurestore-runtime": { + iamPrefix: "sagemaker" + }, + "sagemaker-geospatial": { + iamPrefix: "sagemaker-geospatial" + }, + "sagemaker-metrics": { + iamPrefix: "sagemaker" + }, + "sagemaker-runtime": { + iamPrefix: "sagemaker" + }, + sagemaker: { + iamPrefix: "sagemaker" + }, + savingsplans: { + iamPrefix: "savingsplans" + }, + scheduler: { + iamPrefix: "scheduler" + }, + schemas: { + iamPrefix: "schemas" + }, + "secrets-manager": { + iamPrefix: "secretsmanager" + }, + securityhub: { + iamPrefix: "securityhub" + }, + securitylake: { + iamPrefix: "securitylake" + }, + serverlessapplicationrepository: { + iamPrefix: "serverlessrepo" + }, + "service-catalog-appregistry": { + iamPrefix: "servicecatalog" + }, + "service-catalog": { + iamPrefix: "servicecatalog" + }, + "service-quotas": { + iamPrefix: "servicequotas" + }, + servicediscovery: { + iamPrefix: "servicediscovery" + }, + ses: { + iamPrefix: "ses" + }, + sesv2: { + iamPrefix: "ses" + }, + sfn: { + iamPrefix: "states" + }, + shield: { + iamPrefix: "shield" + }, + signer: { + iamPrefix: "signer" + }, + simspaceweaver: { + iamPrefix: "simspaceweaver" + }, + sms: { + iamPrefix: "sms" + }, + "snow-device-management": { + iamPrefix: "snow-device-management" + }, + snowball: { + iamPrefix: "snowball" + }, + sns: { + iamPrefix: "sns" + }, + sqs: { + iamPrefix: "sqs" + }, + "ssm-contacts": { + iamPrefix: "ssm-contacts" + }, + "ssm-incidents": { + iamPrefix: "ssm-incidents" + }, + "ssm-sap": { + iamPrefix: "ssm-sap" + }, + ssm: { + iamPrefix: "ssm", + commands: [ + "CancelCommand", + "SendCommand" + ] + }, + "sso-admin": { + iamPrefix: "sso" + }, + "sso-oidc": { + iamPrefix: "awsssooidc" + }, + sso: { + iamPrefix: "awsssoportal" + }, + "storage-gateway": { + iamPrefix: "storagegateway" + }, + sts: { + iamPrefix: "sts" + }, + "support-app": { + iamPrefix: "supportapp" + }, + support: { + iamPrefix: "support" + }, + swf: { + iamPrefix: "swf" + }, + synthetics: { + iamPrefix: "synthetics" + }, + textract: { + iamPrefix: "textract" + }, + "timestream-query": { + iamPrefix: "timestream" + }, + "timestream-write": { + iamPrefix: "timestream" + }, + tnb: { + iamPrefix: "tnb" + }, + "transcribe-streaming": { + iamPrefix: "transcribe" + }, + transcribe: { + iamPrefix: "transcribe" + }, + transfer: { + iamPrefix: "transfer" + }, + translate: { + iamPrefix: "translate" + }, + verifiedpermissions: { + iamPrefix: "verifiedpermissions" + }, + "voice-id": { + iamPrefix: "voiceid" + }, + "vpc-lattice": { + iamPrefix: "vpc-lattice" + }, + "waf-regional": { + iamPrefix: "waf-regional" + }, + waf: { + iamPrefix: "waf" + }, + wafv2: { + iamPrefix: "wafv2" + }, + wellarchitected: { + iamPrefix: "wellarchitected" + }, + wisdom: { + iamPrefix: "wisdom" + }, + workdocs: { + iamPrefix: "workdocs" + }, + worklink: { + iamPrefix: "worklink" + }, + workmail: { + iamPrefix: "workmail" + }, + workmailmessageflow: { + iamPrefix: "workmailmessageflow" + }, + "workspaces-web": { + iamPrefix: "workspaces-web" + }, + workspaces: { + iamPrefix: "workspaces" + }, + xray: { + iamPrefix: "xray" + } }; - fetch2.Promise = global.Promise; - module2.exports = exports = fetch2; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = exports; - exports.Headers = Headers; - exports.Request = Request; - exports.Response = Response2; - exports.FetchError = FetchError; - exports.AbortError = AbortError; } }); -// ../sdk-v2-to-v3-adapter/lib/parameter-types.ts -var zlib, typeCoercionStateMachine; -var init_parameter_types = __esm({ - "../sdk-v2-to-v3-adapter/lib/parameter-types.ts"() { +// ../sdk-v2-to-v3-adapter/lib/sdk-info.ts +var sdk_info_exports = {}; +__export(sdk_info_exports, { + normalizeActionName: () => normalizeActionName, + normalizeServiceName: () => normalizeServiceName +}); +function normalizeServiceName(service) { + service = service.toLowerCase(); + service = service.replace(/^@aws-sdk\/client-/, ""); + service = v2ToV3Mapping()?.[service] ?? service; + return service; +} +function normalizeActionName(v3Service, action) { + if (action.charAt(0).toLowerCase() === action.charAt(0)) { + return action.charAt(0).toUpperCase() + action.slice(1); + } + if (v3Metadata()[v3Service]?.commands?.includes(action)) { + return action; + } + return action.replace(/Command$/, ""); +} +function v2ToV3Mapping() { + return require_sdk_v2_to_v3(); +} +function v3Metadata() { + return require_sdk_v3_metadata(); +} +var init_sdk_info = __esm({ + "../sdk-v2-to-v3-adapter/lib/sdk-info.ts"() { "use strict"; - zlib = __toESM(require("zlib")); - typeCoercionStateMachine = () => { - const encoded = "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"; - const decoded = JSON.parse(zlib.brotliDecompressSync(Buffer.from(encoded, "base64")).toString()); - typeCoercionStateMachine = () => decoded; - return decoded; - }; } }); -// ../sdk-v2-to-v3-adapter/lib/coerce-api-parameters.ts -var coerce_api_parameters_exports = {}; -__export(coerce_api_parameters_exports, { - Coercer: () => Coercer, - coerceApiParameters: () => coerceApiParameters +// ../sdk-v2-to-v3-adapter/lib/api-call.ts +var api_call_exports = {}; +__export(api_call_exports, { + ApiCall: () => ApiCall, + coerceSdkv3Response: () => coerceSdkv3Response, + flatten: () => flatten }); -function coerceApiParameters(service, action, parameters = {}) { - const typeMachine = typeCoercionStateMachine(); - return new Coercer(typeMachine).coerceApiParameters(service, action, parameters); +function flatten(root) { + const ret = {}; + recurse(root); + return ret; + function recurse(x, path = []) { + if (x && typeof x === "object") { + for (const [key, value] of Object.entries(x)) { + recurse(value, [...path, key]); + } + return; + } + ret[path.join(".")] = x; + } } -function coerceValueToUint8Array(x) { - if (x instanceof Uint8Array) { - return x; +async function coerceSdkv3Response(value) { + if (value && typeof value === "object" && typeof value.transformToString === "function") { + return value.transformToString(); } - if (typeof x === "string" || typeof x === "number") { - return new TextEncoder().encode(x.toString()); + if (Buffer.isBuffer(value)) { + return value.toString("utf8"); } - return x; -} -function coerceValueToNumber(x) { - if (typeof x === "number") { - return x; + if (ArrayBuffer.isView(value)) { + return decoder.decode(value.buffer); } - if (typeof x === "string") { - const n = Number(x); - return isNaN(n) ? x : n; + if (Array.isArray(value)) { + const ret = []; + for (const x of value) { + ret.push(await coerceSdkv3Response(x)); + } + return ret; } - return x; + if (value && typeof value === "object") { + for (const key of Object.keys(value)) { + value[key] = await coerceSdkv3Response(value[key]); + } + return value; + } + return value; } -var Coercer; -var init_coerce_api_parameters = __esm({ - "../sdk-v2-to-v3-adapter/lib/coerce-api-parameters.ts"() { +var ApiCall, decoder; +var init_api_call = __esm({ + "../sdk-v2-to-v3-adapter/lib/api-call.ts"() { "use strict"; - init_parameter_types(); - Coercer = class { - constructor(typeMachine) { - this.typeMachine = typeMachine; - } - coerceApiParameters(service, action, parameters = {}) { - const actionState = this.progress(action.toLowerCase(), this.progress(service.toLowerCase(), 0)); - return this.recurse(parameters, actionState); + init_coerce_api_parameters(); + init_find_client_constructor(); + init_sdk_info(); + ApiCall = class { + // For testing purposes + constructor(service, action) { + this.service = normalizeServiceName(service); + this.action = normalizeActionName(this.service, action); + this.v3PackageName = `@aws-sdk/client-${this.service}`; + } + async invoke(options) { + this.initializePackage(options.sdkPackage); + this.initializeClient(options); + const Command = this.findCommandClass(); + const response = await this.client.send( + new Command(coerceApiParameters(this.service, this.action, options.parameters ?? {})) + ); + delete response.$metadata; + const coerced = await coerceSdkv3Response(response); + return options.flattenResponse ? flatten(coerced) : coerced; } - testCoerce(value) { - return this.recurse(value, 0); + initializePackage(packageOverride) { + if (this.v3Package) { + return; + } + if (packageOverride) { + this.v3Package = packageOverride; + return; + } + try { + this.v3Package = require(this.v3PackageName); + } catch (e) { + throw Error(`Service ${this.service} client package with name '${this.v3PackageName}' does not exist.`); + } } - recurse(value, state) { - switch (state) { - case void 0: - return value; - case "b": - return coerceValueToUint8Array(value); - case "n": - return coerceValueToNumber(value); + initializeClient(options) { + if (!this.v3Package) { + this.initializePackage(); } - if (Array.isArray(value)) { - const elState = this.progress("*", state); - return elState !== void 0 ? value.map((e) => this.recurse(e, elState)) : value; + const ServiceClient = this.findConstructor(this.v3Package); + this.client = new ServiceClient({ + apiVersion: options.apiVersion, + credentials: options.credentials, + region: options.region + }); + return this.client; + } + findCommandClass() { + if (!this.v3Package) { + this.initializePackage(); } - if (value && typeof value === "object") { - const mapState = this.progress("*", state); - for (const key of Object.keys(value)) { - const fieldState = this.progress(key, state) ?? mapState; - if (fieldState !== void 0) { - value[key] = this.recurse(value[key], fieldState); - } - } - return value; + const commandName = `${this.action}Command`; + const Command = Object.entries(this.v3Package ?? {}).find( + ([name]) => name.toLowerCase() === commandName.toLowerCase() + )?.[1]; + if (!Command) { + throw new Error(`Unable to find command named: ${commandName} for action: ${this.action} in service package ${this.v3PackageName}`); } - return value; + return Command; } - /** - * From a given state, return the state we would end up in if we followed this field - */ - progress(field, s) { - if (s === void 0 || typeof s !== "number") { - return void 0; + findConstructor(pkg) { + try { + const ret = findV3ClientConstructor(pkg); + if (!ret) { + throw new Error("findV3ClientConstructor returned undefined"); + } + return ret; + } catch (e) { + console.error(e); + throw Error(`No client constructor found within package: ${this.v3PackageName}`); } - return this.typeMachine[s][field]; } }; - } -}); - -// ../sdk-v2-to-v3-adapter/lib/find-client-constructor.ts -var find_client_constructor_exports = {}; -__export(find_client_constructor_exports, { - findV3ClientConstructor: () => findV3ClientConstructor -}); -function findV3ClientConstructor(pkg) { - const [_clientName, ServiceClient] = Object.entries(pkg).find( - ([name]) => { - return name.endsWith("Client") && name !== "__Client"; - } - ); - return ServiceClient; -} -var init_find_client_constructor = __esm({ - "../sdk-v2-to-v3-adapter/lib/find-client-constructor.ts"() { - "use strict"; - } -}); - -// ../sdk-v2-to-v3-adapter/lib/client-names.ts -var CLIENT_NAMES; -var init_client_names = __esm({ - "../sdk-v2-to-v3-adapter/lib/client-names.ts"() { - "use strict"; - CLIENT_NAMES = [ - "ACM", - "ACMPCA", - "APIGateway", - "ARCZonalShift", - "AccessAnalyzer", - "Account", - "AlexaForBusiness", - "Amp", - "Amplify", - "AmplifyBackend", - "AmplifyUIBuilder", - "ApiGatewayManagementApi", - "ApiGatewayV2", - "AppConfig", - "AppConfigData", - "AppIntegrations", - "AppMesh", - "AppRunner", - "AppStream", - "AppSync", - "Appflow", - "ApplicationAutoScaling", - "ApplicationCostProfiler", - "ApplicationInsights", - "Athena", - "AuditManager", - "AugmentedAIRuntime", - "AutoScaling", - "AutoScalingPlans", - "Backup", - "BackupGateway", - "BackupStorage", - "Batch", - "Billingconductor", - "Braket", - "Budgets", - "CUR", - "Chime", - "ChimeSDKIdentity", - "ChimeSDKMediaPipelines", - "ChimeSDKMeetings", - "ChimeSDKMessaging", - "ChimeSDKVoice", - "Cloud9", - "CloudControl", - "CloudDirectory", - "CloudFormation", - "CloudFront", - "CloudHSM", - "CloudHSMV2", - "CloudSearch", - "CloudSearchDomain", - "CloudTrail", - "CloudWatch", - "CloudWatchEvents", - "CloudWatchLogs", - "CodeArtifact", - "CodeBuild", - "CodeCatalyst", - "CodeCommit", - "CodeDeploy", - "CodeGuruProfiler", - "CodeGuruReviewer", - "CodePipeline", - "CodeStar", - "CodeStarNotifications", - "CodeStarconnections", - "CognitoIdentity", - "CognitoIdentityServiceProvider", - "CognitoSync", - "Comprehend", - "ComprehendMedical", - "ComputeOptimizer", - "ConfigService", - "Connect", - "ConnectCampaigns", - "ConnectCases", - "ConnectContactLens", - "ConnectParticipant", - "ControlTower", - "CostExplorer", - "CustomerProfiles", - "DAX", - "DLM", - "DMS", - "DataBrew", - "DataExchange", - "DataPipeline", - "DataSync", - "Detective", - "DevOpsGuru", - "DeviceFarm", - "DirectConnect", - "DirectoryService", - "Discovery", - "DocDB", - "DocDBElastic", - "Drs", - "DynamoDB", - "DynamoDBStreams", - "EBS", - "EC2", - "EC2InstanceConnect", - "ECR", - "ECRPUBLIC", - "ECS", - "EFS", - "EKS", - "ELB", - "ELBv2", - "EMR", - "EMRServerless", - "EMRcontainers", - "ES", - "ElastiCache", - "ElasticBeanstalk", - "ElasticInference", - "ElasticTranscoder", - "EventBridge", - "Evidently", - "FMS", - "FSx", - "Finspace", - "Finspacedata", - "Firehose", - "Fis", - "ForecastQueryService", - "ForecastService", - "FraudDetector", - "GameLift", - "GameSparks", - "Glacier", - "GlobalAccelerator", - "Glue", - "Grafana", - "Greengrass", - "GreengrassV2", - "GroundStation", - "GuardDuty", - "Health", - "HealthLake", - "Honeycode", - "IAM", - "IVS", - "IdentityStore", - "Imagebuilder", - "Inspector", - "Inspector2", - "IoT1ClickDevicesService", - "IoT1ClickProjects", - "IoTAnalytics", - "IoTEvents", - "IoTEventsData", - "IoTFleetHub", - "IoTFleetWise", - "IoTJobsDataPlane", - "IoTRoboRunner", - "IoTSecureTunneling", - "IoTSiteWise", - "IoTThingsGraph", - "IoTTwinMaker", - "IoTWireless", - "Iot", - "IotData", - "IotDeviceAdvisor", - "Ivschat", - "KMS", - "Kafka", - "KafkaConnect", - "Kendra", - "Keyspaces", - "Kinesis", - "KinesisAnalytics", - "KinesisAnalyticsV2", - "KinesisVideo", - "KinesisVideoArchivedMedia", - "KinesisVideoMedia", - "KinesisVideoSignalingChannels", - "KinesisVideoWebRTCStorage", - "LakeFormation", - "Lambda", - "LexModelBuildingService", - "LexModelsV2", - "LexRuntime", - "LexRuntimeV2", - "LicenseManager", - "LicenseManagerLinuxSubscriptions", - "LicenseManagerUserSubscriptions", - "Lightsail", - "Location", - "LookoutEquipment", - "LookoutMetrics", - "LookoutVision", - "M2", - "MQ", - "MTurk", - "MWAA", - "MachineLearning", - "Macie", - "Macie2", - "ManagedBlockchain", - "MarketplaceCatalog", - "MarketplaceCommerceAnalytics", - "MarketplaceEntitlementService", - "MarketplaceMetering", - "MediaConnect", - "MediaConvert", - "MediaLive", - "MediaPackage", - "MediaPackageVod", - "MediaStore", - "MediaStoreData", - "MediaTailor", - "MemoryDB", - "Mgn", - "MigrationHub", - "MigrationHubConfig", - "MigrationHubOrchestrator", - "MigrationHubRefactorSpaces", - "MigrationHubStrategy", - "Mobile", - "Neptune", - "NetworkFirewall", - "NetworkManager", - "Nimble", - "OAM", - "Omics", - "OpenSearch", - "OpenSearchServerless", - "OpsWorks", - "OpsWorksCM", - "Organizations", - "Outposts", - "PI", - "Panorama", - "Personalize", - "PersonalizeEvents", - "PersonalizeRuntime", - "Pinpoint", - "PinpointEmail", - "PinpointSMSVoice", - "PinpointSMSVoiceV2", - "Pipes", - "Polly", - "Pricing", - "PrivateNetworks", - "Proton", - "QLDB", - "QLDBSession", - "QuickSight", - "RAM", - "RDS", - "RDSDataService", - "RUM", - "Rbin", - "Redshift", - "RedshiftData", - "RedshiftServerless", - "Rekognition", - "Resiliencehub", - "ResourceExplorer2", - "ResourceGroups", - "ResourceGroupsTaggingAPI", - "RoboMaker", - "RolesAnywhere", - "Route53", - "Route53Domains", - "Route53RecoveryCluster", - "Route53RecoveryControlConfig", - "Route53RecoveryReadiness", - "Route53Resolver", - "S3", - "S3Control", - "S3Outposts", - "SES", - "SESV2", - "SMS", - "SNS", - "SQS", - "SSM", - "SSMContacts", - "SSMIncidents", - "SSO", - "SSOAdmin", - "SSOOIDC", - "STS", - "SWF", - "SageMaker", - "SageMakerFeatureStoreRuntime", - "SageMakerGeospatial", - "SageMakerMetrics", - "SageMakerRuntime", - "SagemakerEdge", - "SavingsPlans", - "Scheduler", - "Schemas", - "SecretsManager", - "SecurityHub", - "SecurityLake", - "ServerlessApplicationRepository", - "ServiceCatalog", - "ServiceCatalogAppRegistry", - "ServiceDiscovery", - "ServiceQuotas", - "Shield", - "Signer", - "SimSpaceWeaver", - "SnowDeviceManagement", - "Snowball", - "SsmSap", - "StepFunctions", - "StorageGateway", - "Support", - "SupportApp", - "Synthetics", - "Textract", - "TimestreamQuery", - "TimestreamWrite", - "TranscribeService", - "Transfer", - "Translate", - "VoiceID", - "WAF", - "WAFRegional", - "WAFV2", - "WellArchitected", - "Wisdom", - "WorkDocs", - "WorkLink", - "WorkMail", - "WorkMailMessageFlow", - "WorkSpaces", - "WorkSpacesWeb", - "XRay" - ]; - } -}); - -// ../sdk-v2-to-v3-adapter/lib/client-package-names-map.ts -var CLIENT_PACKAGE_NAMES_MAP; -var init_client_package_names_map = __esm({ - "../sdk-v2-to-v3-adapter/lib/client-package-names-map.ts"() { - "use strict"; - init_client_names(); - CLIENT_PACKAGE_NAMES_MAP = { - ...CLIENT_NAMES.reduce( - (acc, name) => ({ - ...acc, - [name]: `client-${name.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}`.replace("-chime-sdk", "-chime-sdk-").replace("client-amplify-", "client-amplify").replace("client-cloud-", "client-cloud").replace("client-code-", "client-code").replace("client-connect-", "client-connect").replace("client-data-", "client-data").replace("client-io-t", "client-iot-").replace("client-iot-fleet-", "client-iotfleet").replace("client-lookout-", "client-lookout").replace("client-media-", "client-media").replace("client-migration-hub-", "client-migrationhub").replace("client-pinpoint-sms", "client-pinpoint-sms-").replace("client-route53", "client-route53-").replace("client-sage-maker", "client-sagemaker").replace("client-security-", "client-security").replace("client-work-", "client-work") - }), - {} - ), - AccessAnalyzer: "client-accessanalyzer", - ACMPCA: "client-acm-pca", - APIGateway: "client-api-gateway", - ApiGatewayManagementApi: "client-apigatewaymanagementapi", - ApiGatewayV2: "client-apigatewayv2", - AppConfig: "client-appconfig", - AppConfigData: "client-appconfigdata", - AppIntegrations: "client-appintegrations", - AppRunner: "client-apprunner", - AppStream: "client-appstream", - AppSync: "client-appsync", - ApplicationCostProfiler: "client-applicationcostprofiler", - ARCZonalShift: "client-arc-zonal-shift", - AugmentedAIRuntime: "client-sage-maker-a2iruntime", - AuditManager: "client-auditmanager", - BackupStorage: "client-backupstorage", - CUR: "client-cost-and-usage-report-service", - CloudHSMV2: "client-cloudhsm-v2", - CodeGuruProfiler: "client-codeguruprofiler", - CodeStarconnections: "client-codestar-connections", - CognitoIdentityServiceProvider: "client-cognito-identity-provider", - ComprehendMedical: "client-comprehendmedical", - ConnectContactLens: "client-connect-contact-lens", - ControlTower: "client-controltower", - DMS: "client-database-migration-service", - DataPipeline: "client-data-pipeline", - Discovery: "client-application-discovery-service", - DevOpsGuru: "client-devops-guru", - DynamoDB: "client-dynamodb", - DynamoDBStreams: "client-dynamodb-streams", - DocDB: "client-docdb", - DocDBElastic: "client-docdb-elastic", - EC2InstanceConnect: "client-ec2-instance-connect", - ECRPUBLIC: "client-ecr-public", - ELB: "client-elastic-load-balancing", - ELBv2: "client-elastic-load-balancing-v2", - ElastiCache: "client-elasticache", - EMRcontainers: "client-emr-containers", - EMRServerless: "client-emr-serverless", - ES: "client-elasticsearch-service", - EventBridge: "client-eventbridge", - Finspacedata: "client-finspace-data", - ForecastQueryService: "client-forecastquery", - ForecastService: "client-forecast", - FraudDetector: "client-frauddetector", - GameLift: "client-gamelift", - GameSparks: "client-gamesparks", - GreengrassV2: "client-greengrassv2", - GroundStation: "client-groundstation", - GuardDuty: "client-guardduty", - HealthLake: "client-healthlake", - IdentityStore: "client-identitystore", - IoTAnalytics: "client-iotanalytics", - IotData: "client-iot-data-plane", - IotDeviceAdvisor: "client-iotdeviceadvisor", - IoTSecureTunneling: "client-iotsecuretunneling", - IoTSiteWise: "client-iotsitewise", - IoTThingsGraph: "client-iotthingsgraph", - IoTTwinMaker: "client-iottwinmaker", - IoTRoboRunner: "client-iot-roborunner", - KafkaConnect: "client-kafkaconnect", - KinesisVideoSignalingChannels: "client-kinesis-video-signaling", - KinesisVideoWebRTCStorage: "client-kinesis-video-webrtc-storage", - LakeFormation: "client-lakeformation", - LexRuntime: "client-lex-runtime-service", - ManagedBlockchain: "client-managedblockchain", - MigrationHubConfig: "client-migrationhub-config", - MigrationHubRefactorSpaces: "client-migration-hub-refactor-spaces", - NetworkManager: "client-networkmanager", - OpenSearch: "client-opensearch", - OpenSearchServerless: "client-opensearchserverless", - OpsWorks: "client-opsworks", - OpsWorksCM: "client-opsworkscm", - PrivateNetworks: "client-privatenetworks", - QLDBSession: "client-qldb-session", - QuickSight: "client-quicksight", - ResourceExplorer2: "client-resource-explorer-2", - RDSDataService: "client-rds-data", - RoboMaker: "client-robomaker", - RolesAnywhere: "client-rolesanywhere", - Route53: "client-route-53", - Route53Domains: "client-route-53-domains", - Route53Resolver: "client-route53resolver", - S3Control: "client-s3-control", - SageMakerFeatureStoreRuntime: "client-sagemaker-featurestore-runtime", - SavingsPlans: "client-savingsplans", - SecurityHub: "client-securityhub", - ServerlessApplicationRepository: "client-serverlessapplicationrepository", - ServiceCatalogAppRegistry: "client-service-catalog-appregistry", - ServiceDiscovery: "client-servicediscovery", - SimSpaceWeaver: "client-simspaceweaver", - SSMContacts: "client-ssm-contacts", - SSMIncidents: "client-ssm-incidents", - SSOAdmin: "client-sso-admin", - SSOOIDC: "client-sso-oidc", - StepFunctions: "client-sfn", - TranscribeService: "client-transcribe", - WAFRegional: "client-waf-regional", - WellArchitected: "client-wellarchitected", - WorkMailMessageFlow: "client-workmailmessageflow" - }; - } -}); - -// ../sdk-v2-to-v3-adapter/lib/get-v3-client-package-name.ts -var get_v3_client_package_name_exports = {}; -__export(get_v3_client_package_name_exports, { - getV3ClientPackageName: () => getV3ClientPackageName -}); -var getV3ClientPackageName; -var init_get_v3_client_package_name = __esm({ - "../sdk-v2-to-v3-adapter/lib/get-v3-client-package-name.ts"() { - "use strict"; - init_client_package_names_map(); - getV3ClientPackageName = (clientName) => { - if (clientName in CLIENT_PACKAGE_NAMES_MAP) { - return `@aws-sdk/${CLIENT_PACKAGE_NAMES_MAP[clientName]}`; - } - throw new Error(`Client '${clientName}' is either deprecated or newly added. Please consider using the v3 package format (@aws-sdk/client-xxx).`); - }; - } -}); - -// ../sdk-v2-to-v3-adapter/lib/sdk-v3-helpers.ts -var sdk_v3_helpers_exports = {}; -__export(sdk_v3_helpers_exports, { - getV3Client: () => getV3Client, - getV3Command: () => getV3Command, - loadV3ClientPackage: () => loadV3ClientPackage -}); -function loadV3ClientPackage(service) { - const packageName = service.startsWith("@aws-sdk/") ? service : getV3ClientPackageName(service); - try { - const pkg = require(packageName); - const { version: version2 } = require(packageName + "/package.json"); - return { - service: packageName.replace("@aws-sdk/client-", ""), - pkg, - packageName, - packageVersion: version2 - }; - } catch (e) { - throw Error(`Service ${service} client package with name '${packageName}' does not exist.`); - } -} -function getV3Client(sdkPkg, clientOptions = {}) { - try { - const ServiceClient = findV3ClientConstructor(sdkPkg.pkg); - return new ServiceClient(clientOptions); - } catch (e) { - throw Error(`No client constructor found within package: ${sdkPkg.packageName}`); - } -} -function getV3Command(sdkPkg, action) { - const commandName = action.endsWith("Command") ? action : `${action}Command`; - const command = Object.entries(sdkPkg.pkg).find( - ([name]) => name.toLowerCase() === commandName.toLowerCase() - )?.[1]; - if (!command) { - throw new Error(`Unable to find command named: ${commandName} for api: ${action} in service package`); - } - return command; -} -var init_sdk_v3_helpers = __esm({ - "../sdk-v2-to-v3-adapter/lib/sdk-v3-helpers.ts"() { - "use strict"; - init_find_client_constructor(); - init_get_v3_client_package_name(); + decoder = new TextDecoder(); } }); @@ -32078,7 +33093,7 @@ var require_lib5 = __commonJS({ __createBinding3(exports2, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); - exports.getV3ClientPackageName = exports.findV3ClientConstructor = exports.coerceApiParameters = void 0; + exports.normalizeActionName = exports.normalizeServiceName = exports.findV3ClientConstructor = exports.coerceApiParameters = void 0; var coerce_api_parameters_1 = (init_coerce_api_parameters(), __toCommonJS(coerce_api_parameters_exports)); Object.defineProperty(exports, "coerceApiParameters", { enumerable: true, get: function() { return coerce_api_parameters_1.coerceApiParameters; @@ -32087,11 +33102,14 @@ var require_lib5 = __commonJS({ Object.defineProperty(exports, "findV3ClientConstructor", { enumerable: true, get: function() { return find_client_constructor_1.findV3ClientConstructor; } }); - var get_v3_client_package_name_1 = (init_get_v3_client_package_name(), __toCommonJS(get_v3_client_package_name_exports)); - Object.defineProperty(exports, "getV3ClientPackageName", { enumerable: true, get: function() { - return get_v3_client_package_name_1.getV3ClientPackageName; + var sdk_info_1 = (init_sdk_info(), __toCommonJS(sdk_info_exports)); + Object.defineProperty(exports, "normalizeServiceName", { enumerable: true, get: function() { + return sdk_info_1.normalizeServiceName; } }); - __exportStar3((init_sdk_v3_helpers(), __toCommonJS(sdk_v3_helpers_exports)), exports); + Object.defineProperty(exports, "normalizeActionName", { enumerable: true, get: function() { + return sdk_info_1.normalizeActionName; + } }); + __exportStar3((init_api_call(), __toCommonJS(api_call_exports)), exports); } }); @@ -32115,6 +33133,7 @@ var CustomResourceHandler = class { constructor(event, context) { this.event = event; this.context = context; + this.timedOut = false; this.timeout = setTimeout(async () => { await this.respond({ status: "FAILED", @@ -32126,9 +33145,6 @@ var CustomResourceHandler = class { this.event = event; this.physicalResourceId = extractPhysicalResourceId(event); } - physicalResourceId; - timeout; - timedOut = false; /** * Handles executing the custom resource event. If `stateMachineArn` is present * in the props then trigger the waiter statemachine @@ -32262,7 +33278,6 @@ var AssertionHandler = class extends CustomResourceHandler { } }; var MatchCreator = class { - parsedObj; constructor(obj) { this.parsedObj = { matcher: obj @@ -32377,11 +33392,10 @@ var HttpHandler = class extends CustomResourceHandler { statusText: response.statusText, headers: response.headers.raw() }; + result.body = await response.text(); try { - const jsonResponse = await response.json(); - result.body = jsonResponse; + result.body = JSON.parse(result.body); } catch (e) { - result.body = {}; } return { apiCallResponse: result @@ -32393,12 +33407,20 @@ var HttpHandler = class extends CustomResourceHandler { var import_sdk_v2_to_v3_adapter = __toESM(require_lib5()); // lib/assertions/providers/lambda-handler/utils.ts -async function coerceValue(v) { - if (v && typeof v === "object" && typeof v.transformToString === "function") { - const text = await v.transformToString(); - return tryJsonParse(text); +function deepParseJson(x) { + if (typeof x === "string") { + return tryJsonParse(x); } - return tryJsonParse(v); + if (Array.isArray(x)) { + return x.map(deepParseJson); + } + if (x && typeof x === "object") { + for (const [key, value] of Object.entries(x)) { + x[key] = deepParseJson(value); + } + return x; + } + return x; } function tryJsonParse(v) { if (typeof v !== "string") { @@ -32410,17 +33432,6 @@ function tryJsonParse(v) { return v; } } -async function coerceResponse(response) { - if (response == null) { - return; - } - for (const key of Object.keys(response)) { - response[key] = await coerceValue(response[key]); - if (typeof response[key] === "object") { - await coerceResponse(response[key]); - } - } -} function decodeParameters(obj) { return Object.fromEntries(Object.entries(obj).map(([key, value]) => { try { @@ -32440,75 +33451,20 @@ function decodeValue(value) { } // lib/assertions/providers/lambda-handler/sdk.ts -function flatten(object) { - return Object.assign( - {}, - ...function _flatten(child, path = []) { - return [].concat(...Object.keys(child).map((key) => { - let childKey = Buffer.isBuffer(child[key]) ? child[key].toString("utf8") : child[key]; - if (typeof childKey === "string") { - childKey = isJsonString(childKey); - } - return typeof childKey === "object" && childKey !== null ? _flatten(childKey, path.concat([key])) : { [path.concat([key]).join(".")]: childKey }; - })); - }(object) - ); -} -function getServicePackage(service) { - const packageName = (0, import_sdk_v2_to_v3_adapter.getV3ClientPackageName)(service); - try { - const pkg = require(packageName); - return { - service, - pkg, - packageName - }; - } catch (e) { - throw Error(`Service ${service} client package with name '${packageName}' does not exist.`); - } -} -function getServiceClient(sdkPkg) { - try { - const ServiceClient = (0, import_sdk_v2_to_v3_adapter.findV3ClientConstructor)(sdkPkg.pkg); - return new ServiceClient({}); - } catch (e) { - console.error(e); - throw Error(`No client constructor found within package: ${sdkPkg.packageName}`); - } -} -function getSdkCommand(sdkPkg, api) { - const commandName = api.endsWith("Command") ? api : `${api}Command`; - const command = Object.entries(sdkPkg.pkg).find( - ([name]) => name.toLowerCase() === commandName.toLowerCase() - )?.[1]; - if (!command) { - throw new Error(`Unable to find command named: ${commandName} for api: ${api} in service package`); - } - return command; -} var AwsApiCallHandler = class extends CustomResourceHandler { async processEvent(request2) { - const sdkPkg = getServicePackage(request2.service); - const client = getServiceClient(sdkPkg); - const Command = getSdkCommand(sdkPkg, request2.api); - const parameters = (request2.parameters && decodeParameters(request2.parameters)) ?? {}; - const commandInput = (0, import_sdk_v2_to_v3_adapter.coerceApiParameters)(request2.service, request2.api, parameters); - console.log(`SDK request to ${sdkPkg.service}.${request2.api} with parameters ${JSON.stringify(commandInput)}`); - const response = await client.send(new Command(commandInput)); - await coerceResponse(response); + const apiCall = new import_sdk_v2_to_v3_adapter.ApiCall(request2.service, request2.api); + const parameters = request2.parameters ? decodeParameters(request2.parameters) : {}; + console.log(`SDK request to ${apiCall.service}.${apiCall.action} with parameters ${JSON.stringify(parameters)}`); + const response = await apiCall.invoke({ parameters }); console.log(`SDK response received ${JSON.stringify(response)}`); delete response.$metadata; - const respond = { - apiCallResponse: response - }; - const flatData = { - ...flatten(respond) - }; - let resp = respond; - if (request2.outputPaths) { - resp = filterKeys(flatData, request2.outputPaths); - } else if (request2.flattenResponse === "true") { - resp = flatData; + let resp; + if (request2.outputPaths || request2.flattenResponse === "true") { + const flattened = (0, import_sdk_v2_to_v3_adapter.flatten)(deepParseJson({ apiCallResponse: response })); + resp = request2.outputPaths ? filterKeys(flattened, request2.outputPaths) : flattened; + } else { + resp = { apiCallResponse: response }; } console.log(`Returning result ${JSON.stringify(resp)}`); return resp; @@ -32524,13 +33480,6 @@ function filterKeys(object, searchStrings) { return filteredObject; }, {}); } -function isJsonString(value) { - try { - return JSON.parse(value); - } catch { - return value; - } -} // lib/assertions/providers/lambda-handler/types.ts var ASSERT_RESOURCE_TYPE = "Custom::DeployAssert@AssertEquals"; diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/index.js deleted file mode 100644 index 5b002346b6c67..0000000000000 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/index.js +++ /dev/null @@ -1,77 +0,0 @@ -"use strict";var hG=Object.create;var od=Object.defineProperty;var CG=Object.getOwnPropertyDescriptor;var SG=Object.getOwnPropertyNames;var EG=Object.getPrototypeOf,bG=Object.prototype.hasOwnProperty;var ze=(e,n)=>()=>(e&&(n=e(e=0)),n);var m=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),wa=(e,n)=>{for(var t in n)od(e,t,{get:n[t],enumerable:!0})},ZP=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of SG(n))!bG.call(e,o)&&o!==t&&od(e,o,{get:()=>n[o],enumerable:!(r=CG(n,o))||r.enumerable});return e};var ka=(e,n,t)=>(t=e!=null?hG(EG(e)):{},ZP(n||!e||!e.__esModule?od(t,"default",{value:e,enumerable:!0}):t,e)),j=e=>ZP(od({},"__esModule",{value:!0}),e);var U={};wa(U,{__addDisposableResource:()=>Sv,__assign:()=>sd,__asyncDelegator:()=>mv,__asyncGenerator:()=>uv,__asyncValues:()=>pv,__await:()=>lo,__awaiter:()=>sv,__classPrivateFieldGet:()=>gv,__classPrivateFieldIn:()=>Cv,__classPrivateFieldSet:()=>hv,__createBinding:()=>ad,__decorate:()=>nv,__disposeResources:()=>Ev,__esDecorate:()=>PG,__exportStar:()=>av,__extends:()=>ev,__generator:()=>iv,__importDefault:()=>_v,__importStar:()=>yv,__makeTemplateObject:()=>fv,__metadata:()=>ov,__param:()=>rv,__propKey:()=>xG,__read:()=>Fy,__rest:()=>tv,__runInitializers:()=>vG,__setFunctionName:()=>wG,__spread:()=>cv,__spreadArray:()=>lv,__spreadArrays:()=>dv,__values:()=>id,default:()=>IG});function ev(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");Dy(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}function tv(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o=0;i--)(a=e[i])&&(s=(o<3?a(s):o>3?a(n,t,s):a(n,t))||s);return o>3&&s&&Object.defineProperty(n,t,s),s}function rv(e,n){return function(t,r){n(t,r,e)}}function PG(e,n,t,r,o,s){function a(V){if(V!==void 0&&typeof V!="function")throw new TypeError("Function expected");return V}for(var i=r.kind,u=i==="getter"?"get":i==="setter"?"set":"value",l=!n&&e?r.static?e:e.prototype:null,c=n||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),y,_=!1,C=t.length-1;C>=0;C--){var b={};for(var F in r)b[F]=F==="access"?{}:r[F];for(var F in r.access)b.access[F]=r.access[F];b.addInitializer=function(V){if(_)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(V||null))};var L=(0,t[C])(i==="accessor"?{get:c.get,set:c.set}:c[u],b);if(i==="accessor"){if(L===void 0)continue;if(L===null||typeof L!="object")throw new TypeError("Object expected");(y=a(L.get))&&(c.get=y),(y=a(L.set))&&(c.set=y),(y=a(L.init))&&o.unshift(y)}else(y=a(L))&&(i==="field"?o.unshift(y):c[u]=y)}l&&Object.defineProperty(l,r.name,c),_=!0}function vG(e,n,t){for(var r=arguments.length>2,o=0;o0&&s[s.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Fy(e,n){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var r=t.call(e),o,s=[],a;try{for(;(n===void 0||n-- >0)&&!(o=r.next()).done;)s.push(o.value)}catch(i){a={error:i}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(a)throw a.error}}return s}function cv(){for(var e=[],n=0;n1||i(_,C)})})}function i(_,C){try{u(r[_](C))}catch(b){y(s[0][3],b)}}function u(_){_.value instanceof lo?Promise.resolve(_.value.v).then(l,c):y(s[0][2],_)}function l(_){i("next",_)}function c(_){i("throw",_)}function y(_,C){_(C),s.shift(),s.length&&i(s[0][0],s[0][1])}}function mv(e){var n,t;return n={},r("next"),r("throw",function(o){throw o}),r("return"),n[Symbol.iterator]=function(){return this},n;function r(o,s){n[o]=e[o]?function(a){return(t=!t)?{value:lo(e[o](a)),done:!1}:s?s(a):a}:s}}function pv(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof id=="function"?id(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(s){t[s]=e[s]&&function(a){return new Promise(function(i,u){a=e[s](a),o(i,u,a.done,a.value)})}}function o(s,a,i,u){Promise.resolve(u).then(function(l){s({value:l,done:i})},a)}}function fv(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}function yv(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var t in e)t!=="default"&&Object.prototype.hasOwnProperty.call(e,t)&&ad(n,e,t);return kG(n,e),n}function _v(e){return e&&e.__esModule?e:{default:e}}function gv(e,n,t,r){if(t==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof n=="function"?e!==n||!r:!n.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?r:t==="a"?r.call(e):r?r.value:n.get(e)}function hv(e,n,t,r,o){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof n=="function"?e!==n||!o:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?o.call(e,t):o?o.value=t:n.set(e,t),t}function Cv(e,n){if(n===null||typeof n!="object"&&typeof n!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?n===e:e.has(n)}function Sv(e,n,t){if(n!=null){if(typeof n!="object"&&typeof n!="function")throw new TypeError("Object expected.");var r;if(t){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=n[Symbol.asyncDispose]}if(r===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=n[Symbol.dispose]}if(typeof r!="function")throw new TypeError("Object not disposable.");e.stack.push({value:n,dispose:r,async:t})}else t&&e.stack.push({async:!0});return n}function Ev(e){function n(r){e.error=e.hasError?new AG(r,e.error,"An error was suppressed during disposal."):r,e.hasError=!0}function t(){for(;e.stack.length;){var r=e.stack.pop();try{var o=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(o).then(t,function(s){return n(s),t()})}catch(s){n(s)}}if(e.hasError)throw e.error}return t()}var Dy,sd,ad,kG,AG,IG,z=ze(()=>{Dy=function(e,n){return Dy=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])},Dy(e,n)};sd=function(){return sd=Object.assign||function(n){for(var t,r=1,o=arguments.length;r{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.resolveHttpHandlerRuntimeConfig=uo.getHttpHandlerExtensionConfiguration=void 0;var RG=e=>{let n=e.httpHandler;return{setHttpHandler(t){n=t},httpHandler(){return n},updateHttpClientConfig(t,r){n.updateHttpClientConfig(t,r)},httpHandlerConfigs(){return n.httpHandlerConfigs()}}};uo.getHttpHandlerExtensionConfiguration=RG;var NG=e=>({httpHandler:e.httpHandler()});uo.resolveHttpHandlerRuntimeConfig=NG});var Pv=m(Ly=>{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0});var OG=(z(),j(U));OG.__exportStar(bv(),Ly)});var xv=m(vv=>{"use strict";Object.defineProperty(vv,"__esModule",{value:!0})});var wv=m(Aa=>{"use strict";Object.defineProperty(Aa,"__esModule",{value:!0});Aa.HttpAuthLocation=void 0;var TG;(function(e){e.HEADER="header",e.QUERY="query"})(TG=Aa.HttpAuthLocation||(Aa.HttpAuthLocation={}))});var Av=m(kv=>{"use strict";Object.defineProperty(kv,"__esModule",{value:!0})});var Rv=m(Iv=>{"use strict";Object.defineProperty(Iv,"__esModule",{value:!0})});var Ov=m(Nv=>{"use strict";Object.defineProperty(Nv,"__esModule",{value:!0})});var qv=m(Tv=>{"use strict";Object.defineProperty(Tv,"__esModule",{value:!0})});var Mv=m(Bv=>{"use strict";Object.defineProperty(Bv,"__esModule",{value:!0})});var Fv=m(Dv=>{"use strict";Object.defineProperty(Dv,"__esModule",{value:!0})});var jv=m(Lv=>{"use strict";Object.defineProperty(Lv,"__esModule",{value:!0})});var Uv=m(Ia=>{"use strict";Object.defineProperty(Ia,"__esModule",{value:!0});var jy=(z(),j(U));jy.__exportStar(Mv(),Ia);jy.__exportStar(Fv(),Ia);jy.__exportStar(jv(),Ia)});var Gv=m(zv=>{"use strict";Object.defineProperty(zv,"__esModule",{value:!0})});var $v=m(Hv=>{"use strict";Object.defineProperty(Hv,"__esModule",{value:!0})});var Kv=m(Ra=>{"use strict";Object.defineProperty(Ra,"__esModule",{value:!0});Ra.EndpointURLScheme=void 0;var qG;(function(e){e.HTTP="http",e.HTTPS="https"})(qG=Ra.EndpointURLScheme||(Ra.EndpointURLScheme={}))});var Xv=m(Vv=>{"use strict";Object.defineProperty(Vv,"__esModule",{value:!0})});var Yv=m(Wv=>{"use strict";Object.defineProperty(Wv,"__esModule",{value:!0})});var Jv=m(Qv=>{"use strict";Object.defineProperty(Qv,"__esModule",{value:!0})});var ex=m(Zv=>{"use strict";Object.defineProperty(Zv,"__esModule",{value:!0})});var nx=m(tx=>{"use strict";Object.defineProperty(tx,"__esModule",{value:!0})});var rx=m(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});var Na=(z(),j(U));Na.__exportStar(Xv(),Br);Na.__exportStar(Yv(),Br);Na.__exportStar(Jv(),Br);Na.__exportStar(ex(),Br);Na.__exportStar(nx(),Br)});var sx=m(ox=>{"use strict";Object.defineProperty(ox,"__esModule",{value:!0})});var zy=m(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.resolveChecksumRuntimeConfig=hn.getChecksumConfiguration=hn.AlgorithmId=void 0;var Uy;(function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"})(Uy=hn.AlgorithmId||(hn.AlgorithmId={}));var BG=e=>{let n=[];return e.sha256!==void 0&&n.push({algorithmId:()=>Uy.SHA256,checksumConstructor:()=>e.sha256}),e.md5!=null&&n.push({algorithmId:()=>Uy.MD5,checksumConstructor:()=>e.md5}),{_checksumAlgorithms:n,addChecksumAlgorithm(t){this._checksumAlgorithms.push(t)},checksumAlgorithms(){return this._checksumAlgorithms}}};hn.getChecksumConfiguration=BG;var MG=e=>{let n={};return e.checksumAlgorithms().forEach(t=>{n[t.algorithmId()]=t.checksumConstructor()}),n};hn.resolveChecksumRuntimeConfig=MG});var ax=m(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.resolveDefaultRuntimeConfig=mo.getDefaultClientConfiguration=void 0;var ix=zy(),DG=e=>({...(0,ix.getChecksumConfiguration)(e)});mo.getDefaultClientConfiguration=DG;var FG=e=>({...(0,ix.resolveChecksumRuntimeConfig)(e)});mo.resolveDefaultRuntimeConfig=FG});var dx=m(cx=>{"use strict";Object.defineProperty(cx,"__esModule",{value:!0})});var ux=m(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.AlgorithmId=void 0;var lx=(z(),j(U));lx.__exportStar(ax(),po);lx.__exportStar(dx(),po);var LG=zy();Object.defineProperty(po,"AlgorithmId",{enumerable:!0,get:function(){return LG.AlgorithmId}})});var mx=m(Oa=>{"use strict";Object.defineProperty(Oa,"__esModule",{value:!0});Oa.FieldPosition=void 0;var jG;(function(e){e[e.HEADER=0]="HEADER",e[e.TRAILER=1]="TRAILER"})(jG=Oa.FieldPosition||(Oa.FieldPosition={}))});var fx=m(px=>{"use strict";Object.defineProperty(px,"__esModule",{value:!0})});var _x=m(yx=>{"use strict";Object.defineProperty(yx,"__esModule",{value:!0})});var hx=m(cd=>{"use strict";Object.defineProperty(cd,"__esModule",{value:!0});var gx=(z(),j(U));gx.__exportStar(fx(),cd);gx.__exportStar(_x(),cd)});var Sx=m(Cx=>{"use strict";Object.defineProperty(Cx,"__esModule",{value:!0})});var Ex=m(dd=>{"use strict";Object.defineProperty(dd,"__esModule",{value:!0});dd.SMITHY_CONTEXT_KEY=void 0;dd.SMITHY_CONTEXT_KEY="__smithy_context"});var Px=m(bx=>{"use strict";Object.defineProperty(bx,"__esModule",{value:!0})});var xx=m(vx=>{"use strict";Object.defineProperty(vx,"__esModule",{value:!0})});var kx=m(wx=>{"use strict";Object.defineProperty(wx,"__esModule",{value:!0})});var Ix=m(Ax=>{"use strict";Object.defineProperty(Ax,"__esModule",{value:!0})});var Nx=m(Rx=>{"use strict";Object.defineProperty(Rx,"__esModule",{value:!0})});var Tx=m(Ox=>{"use strict";Object.defineProperty(Ox,"__esModule",{value:!0})});var Bx=m(qx=>{"use strict";Object.defineProperty(qx,"__esModule",{value:!0})});var Dx=m(Mx=>{"use strict";Object.defineProperty(Mx,"__esModule",{value:!0})});var Lx=m(Fx=>{"use strict";Object.defineProperty(Fx,"__esModule",{value:!0})});var Ux=m(jx=>{"use strict";Object.defineProperty(jx,"__esModule",{value:!0})});var Gx=m(zx=>{"use strict";Object.defineProperty(zx,"__esModule",{value:!0})});var Hx=m(Ta=>{"use strict";Object.defineProperty(Ta,"__esModule",{value:!0});Ta.RequestHandlerProtocol=void 0;var UG;(function(e){e.HTTP_0_9="http/0.9",e.HTTP_1_0="http/1.0",e.TDS_8_0="tds/8.0"})(UG=Ta.RequestHandlerProtocol||(Ta.RequestHandlerProtocol={}))});var Kx=m($x=>{"use strict";Object.defineProperty($x,"__esModule",{value:!0})});var Xx=m(Vx=>{"use strict";Object.defineProperty(Vx,"__esModule",{value:!0})});var Yx=m(Wx=>{"use strict";Object.defineProperty(Wx,"__esModule",{value:!0})});var Jx=m(Qx=>{"use strict";Object.defineProperty(Qx,"__esModule",{value:!0})});var ew=m(Zx=>{"use strict";Object.defineProperty(Zx,"__esModule",{value:!0})});var x=m(le=>{"use strict";Object.defineProperty(le,"__esModule",{value:!0});var pe=(z(),j(U));pe.__exportStar(xv(),le);pe.__exportStar(wv(),le);pe.__exportStar(Av(),le);pe.__exportStar(Rv(),le);pe.__exportStar(Ov(),le);pe.__exportStar(qv(),le);pe.__exportStar(Uv(),le);pe.__exportStar(Gv(),le);pe.__exportStar($v(),le);pe.__exportStar(Kv(),le);pe.__exportStar(rx(),le);pe.__exportStar(sx(),le);pe.__exportStar(ux(),le);pe.__exportStar(mx(),le);pe.__exportStar(hx(),le);pe.__exportStar(Sx(),le);pe.__exportStar(Ex(),le);pe.__exportStar(Px(),le);pe.__exportStar(xx(),le);pe.__exportStar(kx(),le);pe.__exportStar(Ix(),le);pe.__exportStar(Nx(),le);pe.__exportStar(Tx(),le);pe.__exportStar(Bx(),le);pe.__exportStar(Dx(),le);pe.__exportStar(Lx(),le);pe.__exportStar(Ux(),le);pe.__exportStar(Gx(),le);pe.__exportStar(Hx(),le);pe.__exportStar(Kx(),le);pe.__exportStar(Xx(),le);pe.__exportStar(Yx(),le);pe.__exportStar(Jx(),le);pe.__exportStar(ew(),le)});var tw=m(ld=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});ld.Field=void 0;var zG=x(),Gy=class{constructor({name:n,kind:t=zG.FieldPosition.HEADER,values:r=[]}){this.name=n,this.kind=t,this.values=r}add(n){this.values.push(n)}set(n){this.values=n}remove(n){this.values=this.values.filter(t=>t!==n)}toString(){return this.values.map(n=>n.includes(",")||n.includes(" ")?`"${n}"`:n).join(", ")}get(){return this.values}};ld.Field=Gy});var nw=m(ud=>{"use strict";Object.defineProperty(ud,"__esModule",{value:!0});ud.Fields=void 0;var Hy=class{constructor({fields:n=[],encoding:t="utf-8"}){this.entries={},n.forEach(this.setField.bind(this)),this.encoding=t}setField(n){this.entries[n.name.toLowerCase()]=n}getField(n){return this.entries[n.toLowerCase()]}removeField(n){delete this.entries[n.toLowerCase()]}getByType(n){return Object.values(this.entries).filter(t=>t.kind===n)}};ud.Fields=Hy});var ow=m(rw=>{"use strict";Object.defineProperty(rw,"__esModule",{value:!0})});var sw=m(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});md.HttpRequest=void 0;var $y=class e{constructor(n){this.method=n.method||"GET",this.hostname=n.hostname||"localhost",this.port=n.port,this.query=n.query||{},this.headers=n.headers||{},this.body=n.body,this.protocol=n.protocol?n.protocol.slice(-1)!==":"?`${n.protocol}:`:n.protocol:"https:",this.path=n.path?n.path.charAt(0)!=="/"?`/${n.path}`:n.path:"/",this.username=n.username,this.password=n.password,this.fragment=n.fragment}static isInstance(n){if(!n)return!1;let t=n;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&typeof t.query=="object"&&typeof t.headers=="object"}clone(){let n=new e({...this,headers:{...this.headers}});return n.query&&(n.query=GG(n.query)),n}};md.HttpRequest=$y;function GG(e){return Object.keys(e).reduce((n,t)=>{let r=e[t];return{...n,[t]:Array.isArray(r)?[...r]:r}},{})}});var iw=m(pd=>{"use strict";Object.defineProperty(pd,"__esModule",{value:!0});pd.HttpResponse=void 0;var Ky=class{constructor(n){this.statusCode=n.statusCode,this.reason=n.reason,this.headers=n.headers||{},this.body=n.body}static isInstance(n){if(!n)return!1;let t=n;return typeof t.statusCode=="number"&&typeof t.headers=="object"}};pd.HttpResponse=Ky});var aw=m(fd=>{"use strict";Object.defineProperty(fd,"__esModule",{value:!0});fd.isValidHostname=void 0;function HG(e){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(e)}fd.isValidHostname=HG});var dw=m(cw=>{"use strict";Object.defineProperty(cw,"__esModule",{value:!0})});var we=m(Dt=>{"use strict";Object.defineProperty(Dt,"__esModule",{value:!0});var Vn=(z(),j(U));Vn.__exportStar(Pv(),Dt);Vn.__exportStar(tw(),Dt);Vn.__exportStar(nw(),Dt);Vn.__exportStar(ow(),Dt);Vn.__exportStar(sw(),Dt);Vn.__exportStar(iw(),Dt);Vn.__exportStar(aw(),Dt);Vn.__exportStar(dw(),Dt)});var uw=m(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.getAddExpectContinuePlugin=Cn.addExpectContinueMiddlewareOptions=Cn.addExpectContinueMiddleware=void 0;var $G=we();function lw(e){return n=>async t=>{let{request:r}=t;return $G.HttpRequest.isInstance(r)&&r.body&&e.runtime==="node"&&(r.headers={...r.headers,Expect:"100-continue"}),n({...t,request:r})}}Cn.addExpectContinueMiddleware=lw;Cn.addExpectContinueMiddlewareOptions={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0};var KG=e=>({applyToStack:n=>{n.add(lw(e),Cn.addExpectContinueMiddlewareOptions)}});Cn.getAddExpectContinuePlugin=KG});var qa=m(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct.getHostHeaderPlugin=Ct.hostHeaderMiddlewareOptions=Ct.hostHeaderMiddleware=Ct.resolveHostHeaderConfig=void 0;var VG=we();function XG(e){return e}Ct.resolveHostHeaderConfig=XG;var WG=e=>n=>async t=>{if(!VG.HttpRequest.isInstance(t.request))return n(t);let{request:r}=t,{handlerProtocol:o=""}=e.requestHandler.metadata||{};if(o.indexOf("h2")>=0&&!r.headers[":authority"])delete r.headers.host,r.headers[":authority"]="";else if(!r.headers.host){let s=r.hostname;r.port!=null&&(s+=`:${r.port}`),r.headers.host=s}return n(t)};Ct.hostHeaderMiddleware=WG;Ct.hostHeaderMiddlewareOptions={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0};var YG=e=>({applyToStack:n=>{n.add((0,Ct.hostHeaderMiddleware)(e),Ct.hostHeaderMiddlewareOptions)}});Ct.getHostHeaderPlugin=YG});var mw=m(Ft=>{"use strict";Object.defineProperty(Ft,"__esModule",{value:!0});Ft.getLoggerPlugin=Ft.loggerMiddlewareOptions=Ft.loggerMiddleware=void 0;var QG=()=>(e,n)=>async t=>{var r,o;try{let s=await e(t),{clientName:a,commandName:i,logger:u,dynamoDbDocumentClientOptions:l={}}=n,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:y}=l,_=c??n.inputFilterSensitiveLog,C=y??n.outputFilterSensitiveLog,{$metadata:b,...F}=s.output;return(r=u==null?void 0:u.info)===null||r===void 0||r.call(u,{clientName:a,commandName:i,input:_(t.input),output:C(F),metadata:b}),s}catch(s){let{clientName:a,commandName:i,logger:u,dynamoDbDocumentClientOptions:l={}}=n,{overrideInputFilterSensitiveLog:c}=l,y=c??n.inputFilterSensitiveLog;throw(o=u==null?void 0:u.error)===null||o===void 0||o.call(u,{clientName:a,commandName:i,input:y(t.input),error:s,metadata:s.$metadata}),s}};Ft.loggerMiddleware=QG;Ft.loggerMiddlewareOptions={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0};var JG=e=>({applyToStack:n=>{n.add((0,Ft.loggerMiddleware)(),Ft.loggerMiddlewareOptions)}});Ft.getLoggerPlugin=JG});var Ba=m(Vy=>{"use strict";Object.defineProperty(Vy,"__esModule",{value:!0});var ZG=(z(),j(U));ZG.__exportStar(mw(),Vy)});var Ma=m(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.getRecursionDetectionPlugin=Lt.addRecursionDetectionMiddlewareOptions=Lt.recursionDetectionMiddleware=void 0;var e2=we(),pw="X-Amzn-Trace-Id",t2="AWS_LAMBDA_FUNCTION_NAME",n2="_X_AMZN_TRACE_ID",r2=e=>n=>async t=>{let{request:r}=t;if(!e2.HttpRequest.isInstance(r)||e.runtime!=="node"||r.headers.hasOwnProperty(pw))return n(t);let o=process.env[t2],s=process.env[n2],a=i=>typeof i=="string"&&i.length>0;return a(o)&&a(s)&&(r.headers[pw]=s),n({...t,request:r})};Lt.recursionDetectionMiddleware=r2;Lt.addRecursionDetectionMiddlewareOptions={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"};var o2=e=>({applyToStack:n=>{n.add((0,Lt.recursionDetectionMiddleware)(e),Lt.addRecursionDetectionMiddlewareOptions)}});Lt.getRecursionDetectionPlugin=o2});var fw=m(yd=>{"use strict";Object.defineProperty(yd,"__esModule",{value:!0});yd.NoOpLogger=void 0;var Xy=class{trace(){}debug(){}info(){}warn(){}error(){}};yd.NoOpLogger=Xy});var gw=m(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.constructStack=void 0;var s2=()=>{let e=[],n=[],t=!1,r=new Set,o=y=>y.sort((_,C)=>yw[C.step]-yw[_.step]||_w[C.priority||"normal"]-_w[_.priority||"normal"]),s=y=>{let _=!1,C=b=>b.name&&b.name===y?(_=!0,r.delete(y),!1):!0;return e=e.filter(C),n=n.filter(C),_},a=y=>{let _=!1,C=b=>b.middleware===y?(_=!0,b.name&&r.delete(b.name),!1):!0;return e=e.filter(C),n=n.filter(C),_},i=y=>{var _;return e.forEach(C=>{y.add(C.middleware,{...C})}),n.forEach(C=>{y.addRelativeTo(C.middleware,{...C})}),(_=y.identifyOnResolve)===null||_===void 0||_.call(y,c.identifyOnResolve()),y},u=y=>{let _=[];return y.before.forEach(C=>{C.before.length===0&&C.after.length===0?_.push(C):_.push(...u(C))}),_.push(y),y.after.reverse().forEach(C=>{C.before.length===0&&C.after.length===0?_.push(C):_.push(...u(C))}),_},l=(y=!1)=>{let _=[],C=[],b={};return e.forEach(L=>{let V={...L,before:[],after:[]};V.name&&(b[V.name]=V),_.push(V)}),n.forEach(L=>{let V={...L,before:[],after:[]};V.name&&(b[V.name]=V),C.push(V)}),C.forEach(L=>{if(L.toMiddleware){let V=b[L.toMiddleware];if(V===void 0){if(y)return;throw new Error(`${L.toMiddleware} is not found when adding ${L.name||"anonymous"} middleware ${L.relation} ${L.toMiddleware}`)}L.relation==="after"&&V.after.push(L),L.relation==="before"&&V.before.push(L)}}),o(_).map(u).reduce((L,V)=>(L.push(...V),L),[])},c={add:(y,_={})=>{let{name:C,override:b}=_,F={step:"initialize",priority:"normal",middleware:y,..._};if(C){if(r.has(C)){if(!b)throw new Error(`Duplicate middleware name '${C}'`);let L=e.findIndex(me=>me.name===C),V=e[L];if(V.step!==F.step||V.priority!==F.priority)throw new Error(`"${C}" middleware with ${V.priority} priority in ${V.step} step cannot be overridden by same-name middleware with ${F.priority} priority in ${F.step} step.`);e.splice(L,1)}r.add(C)}e.push(F)},addRelativeTo:(y,_)=>{let{name:C,override:b}=_,F={middleware:y,..._};if(C){if(r.has(C)){if(!b)throw new Error(`Duplicate middleware name '${C}'`);let L=n.findIndex(me=>me.name===C),V=n[L];if(V.toMiddleware!==F.toMiddleware||V.relation!==F.relation)throw new Error(`"${C}" middleware ${V.relation} "${V.toMiddleware}" middleware cannot be overridden by same-name middleware ${F.relation} "${F.toMiddleware}" middleware.`);n.splice(L,1)}r.add(C)}n.push(F)},clone:()=>i((0,fo.constructStack)()),use:y=>{y.applyToStack(c)},remove:y=>typeof y=="string"?s(y):a(y),removeByTag:y=>{let _=!1,C=b=>{let{tags:F,name:L}=b;return F&&F.includes(y)?(L&&r.delete(L),_=!0,!1):!0};return e=e.filter(C),n=n.filter(C),_},concat:y=>{var _,C;let b=i((0,fo.constructStack)());return b.use(y),b.identifyOnResolve(t||b.identifyOnResolve()||((C=(_=y.identifyOnResolve)===null||_===void 0?void 0:_.call(y))!==null&&C!==void 0?C:!1)),b},applyToStack:i,identify:()=>l(!0).map(y=>{var _;let C=(_=y.step)!==null&&_!==void 0?_:y.relation+" "+y.toMiddleware;return y.name+" - "+C}),identifyOnResolve(y){return typeof y=="boolean"&&(t=y),t},resolve:(y,_)=>{for(let C of l().map(b=>b.middleware).reverse())y=C(y,_);return t&&console.log(c.identify()),y}};return c};fo.constructStack=s2;var yw={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},_w={high:3,normal:2,low:1}});var Yy=m(Wy=>{"use strict";Object.defineProperty(Wy,"__esModule",{value:!0});var i2=(z(),j(U));i2.__exportStar(gw(),Wy)});var hw=m(_d=>{"use strict";Object.defineProperty(_d,"__esModule",{value:!0});_d.Client=void 0;var a2=Yy(),Qy=class{constructor(n){this.middlewareStack=(0,a2.constructStack)(),this.config=n}send(n,t,r){let o=typeof t!="function"?t:void 0,s=typeof t=="function"?t:r,a=n.resolveMiddleware(this.middlewareStack,this.config,o);if(s)a(n).then(i=>s(null,i.output),i=>s(i)).catch(()=>{});else return a(n).then(i=>i.output)}destroy(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()}};_d.Client=Qy});var hd=m(gd=>{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});gd.isArrayBuffer=void 0;var c2=e=>typeof ArrayBuffer=="function"&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)==="[object ArrayBuffer]";gd.isArrayBuffer=c2});var Mr=m(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.fromString=yo.fromArrayBuffer=void 0;var d2=hd(),Jy=require("buffer"),l2=(e,n=0,t=e.byteLength-n)=>{if(!(0,d2.isArrayBuffer)(e))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof e} (${e})`);return Jy.Buffer.from(e,n,t)};yo.fromArrayBuffer=l2;var u2=(e,n)=>{if(typeof e!="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof e} (${e})`);return n?Jy.Buffer.from(e,n):Jy.Buffer.from(e)};yo.fromString=u2});var Cw=m(Cd=>{"use strict";Object.defineProperty(Cd,"__esModule",{value:!0});Cd.fromBase64=void 0;var m2=Mr(),p2=/^[A-Za-z0-9+/]*={0,2}$/,f2=e=>{if(e.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!p2.exec(e))throw new TypeError("Invalid base64 string.");let n=(0,m2.fromString)(e,"base64");return new Uint8Array(n.buffer,n.byteOffset,n.byteLength)};Cd.fromBase64=f2});var Sw=m(Sd=>{"use strict";Object.defineProperty(Sd,"__esModule",{value:!0});Sd.toBase64=void 0;var y2=Mr(),_2=e=>(0,y2.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength).toString("base64");Sd.toBase64=_2});var _o=m(Ed=>{"use strict";Object.defineProperty(Ed,"__esModule",{value:!0});var Ew=(z(),j(U));Ew.__exportStar(Cw(),Ed);Ew.__exportStar(Sw(),Ed)});var Zy=m(bd=>{"use strict";Object.defineProperty(bd,"__esModule",{value:!0});bd.fromUtf8=void 0;var g2=Mr(),h2=e=>{let n=(0,g2.fromString)(e,"utf8");return new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT)};bd.fromUtf8=h2});var bw=m(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.toUint8Array=void 0;var C2=Zy(),S2=e=>typeof e=="string"?(0,C2.fromUtf8)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e);Pd.toUint8Array=S2});var Pw=m(vd=>{"use strict";Object.defineProperty(vd,"__esModule",{value:!0});vd.toUtf8=void 0;var E2=Mr(),b2=e=>(0,E2.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength).toString("utf8");vd.toUtf8=b2});var St=m(Da=>{"use strict";Object.defineProperty(Da,"__esModule",{value:!0});var e_=(z(),j(U));e_.__exportStar(Zy(),Da);e_.__exportStar(bw(),Da);e_.__exportStar(Pw(),Da)});var kw=m(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.transformFromString=go.transformToString=void 0;var xw=_o(),ww=St(),vw=t_();function P2(e,n="utf-8"){return n==="base64"?(0,xw.toBase64)(e):(0,ww.toUtf8)(e)}go.transformToString=P2;function v2(e,n){return n==="base64"?vw.Uint8ArrayBlobAdapter.mutate((0,xw.fromBase64)(e)):vw.Uint8ArrayBlobAdapter.mutate((0,ww.fromUtf8)(e))}go.transformFromString=v2});var t_=m(xd=>{"use strict";Object.defineProperty(xd,"__esModule",{value:!0});xd.Uint8ArrayBlobAdapter=void 0;var Aw=kw(),n_=class e extends Uint8Array{static fromString(n,t="utf-8"){switch(typeof n){case"string":return(0,Aw.transformFromString)(n,t);default:throw new Error(`Unsupported conversion from ${typeof n} to Uint8ArrayBlobAdapter.`)}}static mutate(n){return Object.setPrototypeOf(n,e.prototype),n}transformToString(n="utf-8"){return(0,Aw.transformToString)(this,n)}};xd.Uint8ArrayBlobAdapter=n_});var Iw=m(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});wd.getAwsChunkedEncodingStream=void 0;var x2=require("stream"),w2=(e,n)=>{let{base64Encoder:t,bodyLengthChecker:r,checksumAlgorithmFn:o,checksumLocationName:s,streamHasher:a}=n,i=t!==void 0&&o!==void 0&&s!==void 0&&a!==void 0,u=i?a(o,e):void 0,l=new x2.Readable({read:()=>{}});return e.on("data",c=>{let y=r(c)||0;l.push(`${y.toString(16)}\r -`),l.push(c),l.push(`\r -`)}),e.on("end",async()=>{if(l.push(`0\r -`),i){let c=t(await u);l.push(`${s}:${c}\r -`),l.push(`\r -`)}l.push(null)}),l};wd.getAwsChunkedEncodingStream=w2});var r_=m(kd=>{"use strict";Object.defineProperty(kd,"__esModule",{value:!0});kd.escapeUri=void 0;var k2=e=>encodeURIComponent(e).replace(/[!'()*]/g,A2);kd.escapeUri=k2;var A2=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`});var Rw=m(Ad=>{"use strict";Object.defineProperty(Ad,"__esModule",{value:!0});Ad.escapeUriPath=void 0;var I2=r_(),R2=e=>e.split("/").map(I2.escapeUri).join("/");Ad.escapeUriPath=R2});var o_=m(Id=>{"use strict";Object.defineProperty(Id,"__esModule",{value:!0});var Nw=(z(),j(U));Nw.__exportStar(r_(),Id);Nw.__exportStar(Rw(),Id)});var i_=m(Rd=>{"use strict";Object.defineProperty(Rd,"__esModule",{value:!0});Rd.buildQueryString=void 0;var s_=o_();function N2(e){let n=[];for(let t of Object.keys(e).sort()){let r=e[t];if(t=(0,s_.escapeUri)(t),Array.isArray(r))for(let o=0,s=r.length;o{"use strict";Object.defineProperty(Nd,"__esModule",{value:!0});Nd.NODEJS_TIMEOUT_ERROR_CODES=void 0;Nd.NODEJS_TIMEOUT_ERROR_CODES=["ECONNRESET","EPIPE","ETIMEDOUT"]});var a_=m(Od=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.getTransformedHeaders=void 0;var O2=e=>{let n={};for(let t of Object.keys(e)){let r=e[t];n[t]=Array.isArray(r)?r.join(","):r}return n};Od.getTransformedHeaders=O2});var Tw=m(Td=>{"use strict";Object.defineProperty(Td,"__esModule",{value:!0});Td.setConnectionTimeout=void 0;var T2=(e,n,t=0)=>{if(!t)return;let r=setTimeout(()=>{e.destroy(),n(Object.assign(new Error(`Socket timed out without establishing a connection within ${t} ms`),{name:"TimeoutError"}))},t);e.on("socket",o=>{o.connecting?o.on("connect",()=>{clearTimeout(r)}):clearTimeout(r)})};Td.setConnectionTimeout=T2});var qw=m(qd=>{"use strict";Object.defineProperty(qd,"__esModule",{value:!0});qd.setSocketKeepAlive=void 0;var q2=(e,{keepAlive:n,keepAliveMsecs:t})=>{n===!0&&e.on("socket",r=>{r.setKeepAlive(n,t||0)})};qd.setSocketKeepAlive=q2});var Bw=m(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.setSocketTimeout=void 0;var B2=(e,n,t=0)=>{e.setTimeout(t,()=>{e.destroy(),n(Object.assign(new Error(`Connection timed out after ${t} ms`),{name:"TimeoutError"}))})};Bd.setSocketTimeout=B2});var c_=m(Md=>{"use strict";Object.defineProperty(Md,"__esModule",{value:!0});Md.writeRequestBody=void 0;var M2=require("stream"),Mw=1e3;async function D2(e,n,t=Mw){var r;let o=(r=n.headers)!==null&&r!==void 0?r:{},s=o.Expect||o.expect,a=-1,i=!1;s==="100-continue"&&await Promise.race([new Promise(u=>{a=Number(setTimeout(u,Math.max(Mw,t)))}),new Promise(u=>{e.on("continue",()=>{clearTimeout(a),u()}),e.on("error",()=>{i=!0,clearTimeout(a),u()})})]),i||F2(e,n.body)}Md.writeRequestBody=D2;function F2(e,n){n instanceof M2.Readable?n.pipe(e):n?e.end(Buffer.from(n)):e.end()}});var Lw=m(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.NodeHttpHandler=ho.DEFAULT_REQUEST_TIMEOUT=void 0;var L2=we(),j2=i_(),Dw=require("http"),Fw=require("https"),U2=Ow(),z2=a_(),G2=Tw(),H2=qw(),$2=Bw(),K2=c_();ho.DEFAULT_REQUEST_TIMEOUT=0;var d_=class{constructor(n){this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise((t,r)=>{typeof n=="function"?n().then(o=>{t(this.resolveDefaultConfig(o))}).catch(r):t(this.resolveDefaultConfig(n))})}resolveDefaultConfig(n){let{requestTimeout:t,connectionTimeout:r,socketTimeout:o,httpAgent:s,httpsAgent:a}=n||{},i=!0,u=50;return{connectionTimeout:r,requestTimeout:t??o,httpAgent:s||new Dw.Agent({keepAlive:i,maxSockets:u}),httpsAgent:a||new Fw.Agent({keepAlive:i,maxSockets:u})}}destroy(){var n,t,r,o;(t=(n=this.config)===null||n===void 0?void 0:n.httpAgent)===null||t===void 0||t.destroy(),(o=(r=this.config)===null||r===void 0?void 0:r.httpsAgent)===null||o===void 0||o.destroy()}async handle(n,{abortSignal:t}={}){return this.config||(this.config=await this.configProvider),new Promise((r,o)=>{var s,a;let i,u=async me=>{await i,r(me)},l=async me=>{await i,o(me)};if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(t!=null&&t.aborted){let me=new Error("Request aborted");me.name="AbortError",l(me);return}let c=n.protocol==="https:",y=(0,j2.buildQueryString)(n.query||{}),_;if(n.username!=null||n.password!=null){let me=(s=n.username)!==null&&s!==void 0?s:"",Mt=(a=n.password)!==null&&a!==void 0?a:"";_=`${me}:${Mt}`}let C=n.path;y&&(C+=`?${y}`),n.fragment&&(C+=`#${n.fragment}`);let b={headers:n.headers,host:n.hostname,method:n.method,path:C,port:n.port,agent:c?this.config.httpsAgent:this.config.httpAgent,auth:_},L=(c?Fw.request:Dw.request)(b,me=>{let Mt=new L2.HttpResponse({statusCode:me.statusCode||-1,reason:me.statusMessage,headers:(0,z2.getTransformedHeaders)(me.headers),body:me});u({response:Mt})});L.on("error",me=>{U2.NODEJS_TIMEOUT_ERROR_CODES.includes(me.code)?l(Object.assign(me,{name:"TimeoutError"})):l(me)}),(0,G2.setConnectionTimeout)(L,l,this.config.connectionTimeout),(0,$2.setSocketTimeout)(L,l,this.config.requestTimeout),t&&(t.onabort=()=>{L.abort();let me=new Error("Request aborted");me.name="AbortError",l(me)});let V=b.agent;typeof V=="object"&&"keepAlive"in V&&(0,H2.setSocketKeepAlive)(L,{keepAlive:V.keepAlive,keepAliveMsecs:V.keepAliveMsecs}),i=(0,K2.writeRequestBody)(L,n,this.config.requestTimeout).catch(o)})}updateHttpClientConfig(n,t){this.config=void 0,this.configProvider=this.configProvider.then(r=>({...r,[n]:t}))}httpHandlerConfigs(){var n;return(n=this.config)!==null&&n!==void 0?n:{}}};ho.NodeHttpHandler=d_});var jw=m(Dd=>{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.NodeHttp2ConnectionPool=void 0;var l_=class{constructor(n){this.sessions=[],this.sessions=n??[]}poll(){if(this.sessions.length>0)return this.sessions.shift()}offerLast(n){this.sessions.push(n)}contains(n){return this.sessions.includes(n)}remove(n){this.sessions=this.sessions.filter(t=>t!==n)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(n){for(let t of this.sessions)t===n&&(t.destroyed||t.destroy())}};Dd.NodeHttp2ConnectionPool=l_});var Uw=m(Fd=>{"use strict";Object.defineProperty(Fd,"__esModule",{value:!0});Fd.NodeHttp2ConnectionManager=void 0;var V2=(z(),j(U)),X2=V2.__importDefault(require("http2")),W2=jw(),u_=class{constructor(n){if(this.sessionCache=new Map,this.config=n,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrency must be greater than zero.")}lease(n,t){let r=this.getUrlString(n),o=this.sessionCache.get(r);if(o){let u=o.poll();if(u&&!this.config.disableConcurrency)return u}let s=X2.default.connect(r);this.config.maxConcurrency&&s.settings({maxConcurrentStreams:this.config.maxConcurrency},u=>{if(u)throw new Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+n.destination.toString())}),s.unref();let a=()=>{s.destroy(),this.deleteSession(r,s)};s.on("goaway",a),s.on("error",a),s.on("frameError",a),s.on("close",()=>this.deleteSession(r,s)),t.requestTimeout&&s.setTimeout(t.requestTimeout,a);let i=this.sessionCache.get(r)||new W2.NodeHttp2ConnectionPool;return i.offerLast(s),this.sessionCache.set(r,i),s}deleteSession(n,t){let r=this.sessionCache.get(n);r&&r.contains(t)&&(r.remove(t),this.sessionCache.set(n,r))}release(n,t){var r;let o=this.getUrlString(n);(r=this.sessionCache.get(o))===null||r===void 0||r.offerLast(t)}destroy(){for(let[n,t]of this.sessionCache){for(let r of t)r.destroyed||r.destroy(),t.remove(r);this.sessionCache.delete(n)}}setMaxConcurrentStreams(n){if(this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=n}setDisableConcurrentStreams(n){this.config.disableConcurrency=n}getUrlString(n){return n.destination.toString()}};Fd.NodeHttp2ConnectionManager=u_});var Gw=m(Ld=>{"use strict";Object.defineProperty(Ld,"__esModule",{value:!0});Ld.NodeHttp2Handler=void 0;var Y2=we(),Q2=i_(),zw=require("http2"),J2=a_(),Z2=Uw(),eH=c_(),m_=class{constructor(n){this.metadata={handlerProtocol:"h2"},this.connectionManager=new Z2.NodeHttp2ConnectionManager({}),this.configProvider=new Promise((t,r)=>{typeof n=="function"?n().then(o=>{t(o||{})}).catch(r):t(n||{})})}destroy(){this.connectionManager.destroy()}async handle(n,{abortSignal:t}={}){this.config||(this.config=await this.configProvider,this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams||!1),this.config.maxConcurrentStreams&&this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams));let{requestTimeout:r,disableConcurrentStreams:o}=this.config;return new Promise((s,a)=>{var i,u,l;let c=!1,y,_=async qe=>{await y,s(qe)},C=async qe=>{await y,a(qe)};if(t!=null&&t.aborted){c=!0;let qe=new Error("Request aborted");qe.name="AbortError",C(qe);return}let{hostname:b,method:F,port:L,protocol:V,query:me}=n,Mt="";if(n.username!=null||n.password!=null){let qe=(i=n.username)!==null&&i!==void 0?i:"",xa=(u=n.password)!==null&&u!==void 0?u:"";Mt=`${qe}:${xa}@`}let QP=`${V}//${Mt}${b}${L?`:${L}`:""}`,_G={destination:new URL(QP)},qr=this.connectionManager.lease(_G,{requestTimeout:(l=this.config)===null||l===void 0?void 0:l.sessionTimeout,disableConcurrentStreams:o||!1}),co=qe=>{o&&this.destroySession(qr),c=!0,C(qe)},JP=(0,Q2.buildQueryString)(me||{}),My=n.path;JP&&(My+=`?${JP}`),n.fragment&&(My+=`#${n.fragment}`);let Ot=qr.request({...n.headers,[zw.constants.HTTP2_HEADER_PATH]:My,[zw.constants.HTTP2_HEADER_METHOD]:F});qr.ref(),Ot.on("response",qe=>{let xa=new Y2.HttpResponse({statusCode:qe[":status"]||-1,headers:(0,J2.getTransformedHeaders)(qe),body:Ot});c=!0,_({response:xa}),o&&(qr.close(),this.connectionManager.deleteSession(QP,qr))}),r&&Ot.setTimeout(r,()=>{Ot.close();let qe=new Error(`Stream timed out because of no activity for ${r} ms`);qe.name="TimeoutError",co(qe)}),t&&(t.onabort=()=>{Ot.close();let qe=new Error("Request aborted");qe.name="AbortError",co(qe)}),Ot.on("frameError",(qe,xa,gG)=>{co(new Error(`Frame type id ${qe} in stream id ${gG} has failed with code ${xa}.`))}),Ot.on("error",co),Ot.on("aborted",()=>{co(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${Ot.rstCode}.`))}),Ot.on("close",()=>{qr.unref(),o&&qr.destroy(),c||co(new Error("Unexpected error: http2 request did not get a response"))}),y=(0,eH.writeRequestBody)(Ot,n,r)})}updateHttpClientConfig(n,t){this.config=void 0,this.configProvider=this.configProvider.then(r=>({...r,[n]:t}))}httpHandlerConfigs(){var n;return(n=this.config)!==null&&n!==void 0?n:{}}destroySession(n){n.destroyed||n.destroy()}};Ld.NodeHttp2Handler=m_});var Hw=m(jd=>{"use strict";Object.defineProperty(jd,"__esModule",{value:!0});jd.Collector=void 0;var tH=require("stream"),p_=class extends tH.Writable{constructor(){super(...arguments),this.bufferedBytes=[]}_write(n,t,r){this.bufferedBytes.push(n),r()}};jd.Collector=p_});var $w=m(Ud=>{"use strict";Object.defineProperty(Ud,"__esModule",{value:!0});Ud.streamCollector=void 0;var nH=Hw(),rH=e=>new Promise((n,t)=>{let r=new nH.Collector;e.pipe(r),e.on("error",o=>{r.end(),t(o)}),r.on("error",t),r.on("finish",function(){let o=new Uint8Array(Buffer.concat(this.bufferedBytes));n(o)})});Ud.streamCollector=rH});var Co=m(Fa=>{"use strict";Object.defineProperty(Fa,"__esModule",{value:!0});var f_=(z(),j(U));f_.__exportStar(Lw(),Fa);f_.__exportStar(Gw(),Fa);f_.__exportStar($w(),Fa)});var Vw=m(zd=>{"use strict";Object.defineProperty(zd,"__esModule",{value:!0});zd.sdkStreamMixin=void 0;var oH=Co(),sH=Mr(),y_=require("stream"),iH=require("util"),Kw="The stream has already been transformed.",aH=e=>{var n,t;if(!(e instanceof y_.Readable)){let s=((t=(n=e==null?void 0:e.__proto__)===null||n===void 0?void 0:n.constructor)===null||t===void 0?void 0:t.name)||e;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${s}`)}let r=!1,o=async()=>{if(r)throw new Error(Kw);return r=!0,await(0,oH.streamCollector)(e)};return Object.assign(e,{transformToByteArray:o,transformToString:async s=>{let a=await o();return s===void 0||Buffer.isEncoding(s)?(0,sH.fromArrayBuffer)(a.buffer,a.byteOffset,a.byteLength).toString(s):new iH.TextDecoder(s).decode(a)},transformToWebStream:()=>{if(r)throw new Error(Kw);if(e.readableFlowing!==null)throw new Error("The stream has been consumed by other callbacks.");if(typeof y_.Readable.toWeb!="function")throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available.");return r=!0,y_.Readable.toWeb(e)}})};zd.sdkStreamMixin=aH});var g_=m(La=>{"use strict";Object.defineProperty(La,"__esModule",{value:!0});var __=(z(),j(U));__.__exportStar(t_(),La);__.__exportStar(Iw(),La);__.__exportStar(Vw(),La)});var Xw=m(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.collectBody=void 0;var h_=g_(),cH=async(e=new Uint8Array,n)=>{if(e instanceof Uint8Array)return h_.Uint8ArrayBlobAdapter.mutate(e);if(!e)return h_.Uint8ArrayBlobAdapter.mutate(new Uint8Array);let t=n.streamCollector(e);return h_.Uint8ArrayBlobAdapter.mutate(await t)};Gd.collectBody=cH});var Ww=m(Hd=>{"use strict";Object.defineProperty(Hd,"__esModule",{value:!0});Hd.Command=void 0;var dH=Yy(),C_=class{constructor(){this.middlewareStack=(0,dH.constructStack)()}};Hd.Command=C_});var Yw=m($d=>{"use strict";Object.defineProperty($d,"__esModule",{value:!0});$d.SENSITIVE_STRING=void 0;$d.SENSITIVE_STRING="***SensitiveInformation***"});var Qw=m(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});Kd.createAggregatedClient=void 0;var lH=(e,n)=>{for(let t of Object.keys(e)){let r=e[t],o=async function(a,i,u){let l=new r(a);if(typeof i=="function")this.send(l,i);else if(typeof u=="function"){if(typeof i!="object")throw new Error(`Expected http options but got ${typeof i}`);this.send(l,i||{},u)}else return this.send(l,i)},s=(t[0].toLowerCase()+t.slice(1)).replace(/Command$/,"");n.prototype[s]=o}};Kd.createAggregatedClient=lH});var E_=m($=>{"use strict";Object.defineProperty($,"__esModule",{value:!0});$.logger=$.strictParseByte=$.strictParseShort=$.strictParseInt32=$.strictParseInt=$.strictParseLong=$.limitedParseFloat32=$.limitedParseFloat=$.handleFloat=$.limitedParseDouble=$.strictParseFloat32=$.strictParseFloat=$.strictParseDouble=$.expectUnion=$.expectString=$.expectObject=$.expectNonNull=$.expectByte=$.expectShort=$.expectInt32=$.expectInt=$.expectLong=$.expectFloat32=$.expectNumber=$.expectBoolean=$.parseBoolean=void 0;var uH=e=>{switch(e){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${e}"`)}};$.parseBoolean=uH;var mH=e=>{if(e!=null){if(typeof e=="number"){if((e===0||e===1)&&$.logger.warn(Vd(`Expected boolean, got ${typeof e}: ${e}`)),e===0)return!1;if(e===1)return!0}if(typeof e=="string"){let n=e.toLowerCase();if((n==="false"||n==="true")&&$.logger.warn(Vd(`Expected boolean, got ${typeof e}: ${e}`)),n==="false")return!1;if(n==="true")return!0}if(typeof e=="boolean")return e;throw new TypeError(`Expected boolean, got ${typeof e}: ${e}`)}};$.expectBoolean=mH;var pH=e=>{if(e!=null){if(typeof e=="string"){let n=parseFloat(e);if(!Number.isNaN(n))return String(n)!==String(e)&&$.logger.warn(Vd(`Expected number but observed string: ${e}`)),n}if(typeof e=="number")return e;throw new TypeError(`Expected number, got ${typeof e}: ${e}`)}};$.expectNumber=pH;var fH=Math.ceil(2**127*(2-2**-23)),yH=e=>{let n=(0,$.expectNumber)(e);if(n!==void 0&&!Number.isNaN(n)&&n!==1/0&&n!==-1/0&&Math.abs(n)>fH)throw new TypeError(`Expected 32-bit float, got ${e}`);return n};$.expectFloat32=yH;var _H=e=>{if(e!=null){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)}};$.expectLong=_H;$.expectInt=$.expectLong;var gH=e=>S_(e,32);$.expectInt32=gH;var hH=e=>S_(e,16);$.expectShort=hH;var CH=e=>S_(e,8);$.expectByte=CH;var S_=(e,n)=>{let t=(0,$.expectLong)(e);if(t!==void 0&&SH(t,n)!==t)throw new TypeError(`Expected ${n}-bit integer, got ${e}`);return t},SH=(e,n)=>{switch(n){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},EH=(e,n)=>{if(e==null)throw n?new TypeError(`Expected a non-null value for ${n}`):new TypeError("Expected a non-null value");return e};$.expectNonNull=EH;var bH=e=>{if(e==null)return;if(typeof e=="object"&&!Array.isArray(e))return e;let n=Array.isArray(e)?"array":typeof e;throw new TypeError(`Expected object, got ${n}: ${e}`)};$.expectObject=bH;var PH=e=>{if(e!=null){if(typeof e=="string")return e;if(["boolean","number","bigint"].includes(typeof e))return $.logger.warn(Vd(`Expected string, got ${typeof e}: ${e}`)),String(e);throw new TypeError(`Expected string, got ${typeof e}: ${e}`)}};$.expectString=PH;var vH=e=>{if(e==null)return;let n=(0,$.expectObject)(e),t=Object.entries(n).filter(([,r])=>r!=null).map(([r])=>r);if(t.length===0)throw new TypeError("Unions must have exactly one non-null member. None were found.");if(t.length>1)throw new TypeError(`Unions must have exactly one non-null member. Keys ${t} were not null.`);return n};$.expectUnion=vH;var xH=e=>typeof e=="string"?(0,$.expectNumber)(So(e)):(0,$.expectNumber)(e);$.strictParseDouble=xH;$.strictParseFloat=$.strictParseDouble;var wH=e=>typeof e=="string"?(0,$.expectFloat32)(So(e)):(0,$.expectFloat32)(e);$.strictParseFloat32=wH;var kH=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,So=e=>{let n=e.match(kH);if(n===null||n[0].length!==e.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(e)},AH=e=>typeof e=="string"?Jw(e):(0,$.expectNumber)(e);$.limitedParseDouble=AH;$.handleFloat=$.limitedParseDouble;$.limitedParseFloat=$.limitedParseDouble;var IH=e=>typeof e=="string"?Jw(e):(0,$.expectFloat32)(e);$.limitedParseFloat32=IH;var Jw=e=>{switch(e){case"NaN":return NaN;case"Infinity":return 1/0;case"-Infinity":return-1/0;default:throw new Error(`Unable to parse float value: ${e}`)}},RH=e=>typeof e=="string"?(0,$.expectLong)(So(e)):(0,$.expectLong)(e);$.strictParseLong=RH;$.strictParseInt=$.strictParseLong;var NH=e=>typeof e=="string"?(0,$.expectInt32)(So(e)):(0,$.expectInt32)(e);$.strictParseInt32=NH;var OH=e=>typeof e=="string"?(0,$.expectShort)(So(e)):(0,$.expectShort)(e);$.strictParseShort=OH;var TH=e=>typeof e=="string"?(0,$.expectByte)(So(e)):(0,$.expectByte)(e);$.strictParseByte=TH;var Vd=e=>String(new TypeError(e).stack||e).split(` -`).slice(0,5).filter(n=>!n.includes("stackTraceWarning")).join(` -`);$.logger={warn:console.warn}});var Zw=m(Et=>{"use strict";Object.defineProperty(Et,"__esModule",{value:!0});Et.parseEpochTimestamp=Et.parseRfc7231DateTime=Et.parseRfc3339DateTimeWithOffset=Et.parseRfc3339DateTime=Et.dateToUtcString=void 0;var Xn=E_(),qH=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],P_=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function BH(e){let n=e.getUTCFullYear(),t=e.getUTCMonth(),r=e.getUTCDay(),o=e.getUTCDate(),s=e.getUTCHours(),a=e.getUTCMinutes(),i=e.getUTCSeconds(),u=o<10?`0${o}`:`${o}`,l=s<10?`0${s}`:`${s}`,c=a<10?`0${a}`:`${a}`,y=i<10?`0${i}`:`${i}`;return`${qH[r]}, ${u} ${P_[t]} ${n} ${l}:${c}:${y} GMT`}Et.dateToUtcString=BH;var MH=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),DH=e=>{if(e==null)return;if(typeof e!="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");let n=MH.exec(e);if(!n)throw new TypeError("Invalid RFC-3339 date-time value");let[t,r,o,s,a,i,u,l]=n,c=(0,Xn.strictParseShort)(Eo(r)),y=jt(o,"month",1,12),_=jt(s,"day",1,31);return ja(c,y,_,{hours:a,minutes:i,seconds:u,fractionalMilliseconds:l})};Et.parseRfc3339DateTime=DH;var FH=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),LH=e=>{if(e==null)return;if(typeof e!="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");let n=FH.exec(e);if(!n)throw new TypeError("Invalid RFC-3339 date-time value");let[t,r,o,s,a,i,u,l,c]=n,y=(0,Xn.strictParseShort)(Eo(r)),_=jt(o,"month",1,12),C=jt(s,"day",1,31),b=ja(y,_,C,{hours:a,minutes:i,seconds:u,fractionalMilliseconds:l});return c.toUpperCase()!="Z"&&b.setTime(b.getTime()-JH(c)),b};Et.parseRfc3339DateTimeWithOffset=LH;var jH=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),UH=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),zH=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),GH=e=>{if(e==null)return;if(typeof e!="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let n=jH.exec(e);if(n){let[t,r,o,s,a,i,u,l]=n;return ja((0,Xn.strictParseShort)(Eo(s)),b_(o),jt(r,"day",1,31),{hours:a,minutes:i,seconds:u,fractionalMilliseconds:l})}if(n=UH.exec(e),n){let[t,r,o,s,a,i,u,l]=n;return VH(ja($H(s),b_(o),jt(r,"day",1,31),{hours:a,minutes:i,seconds:u,fractionalMilliseconds:l}))}if(n=zH.exec(e),n){let[t,r,o,s,a,i,u,l]=n;return ja((0,Xn.strictParseShort)(Eo(l)),b_(r),jt(o.trimLeft(),"day",1,31),{hours:s,minutes:a,seconds:i,fractionalMilliseconds:u})}throw new TypeError("Invalid RFC-7231 date-time value")};Et.parseRfc7231DateTime=GH;var HH=e=>{if(e==null)return;let n;if(typeof e=="number")n=e;else if(typeof e=="string")n=(0,Xn.strictParseDouble)(e);else throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(n)||n===1/0||n===-1/0)throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(n*1e3))};Et.parseEpochTimestamp=HH;var ja=(e,n,t,r)=>{let o=n-1;return WH(e,o,t),new Date(Date.UTC(e,o,t,jt(r.hours,"hour",0,23),jt(r.minutes,"minute",0,59),jt(r.seconds,"seconds",0,60),QH(r.fractionalMilliseconds)))},$H=e=>{let n=new Date().getUTCFullYear(),t=Math.floor(n/100)*100+(0,Xn.strictParseShort)(Eo(e));return te.getTime()-new Date().getTime()>KH?new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())):e,b_=e=>{let n=P_.indexOf(e);if(n<0)throw new TypeError(`Invalid month: ${e}`);return n+1},XH=[31,28,31,30,31,30,31,31,30,31,30,31],WH=(e,n,t)=>{let r=XH[n];if(n===1&&YH(e)&&(r=29),t>r)throw new TypeError(`Invalid day for ${P_[n]} in ${e}: ${t}`)},YH=e=>e%4===0&&(e%100!==0||e%400===0),jt=(e,n,t,r)=>{let o=(0,Xn.strictParseByte)(Eo(e));if(or)throw new TypeError(`${n} must be between ${t} and ${r}, inclusive`);return o},QH=e=>e==null?0:(0,Xn.strictParseFloat32)("0."+e)*1e3,JH=e=>{let n=e[0],t=1;if(n=="+")t=1;else if(n=="-")t=-1;else throw new TypeError(`Offset direction, ${n}, must be "+" or "-"`);let r=Number(e.substring(1,3)),o=Number(e.substring(4,6));return t*(r*60+o)*60*1e3},Eo=e=>{let n=0;for(;n{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.decorateServiceException=bo.ServiceException=void 0;var v_=class e extends Error{constructor(n){super(n.message),Object.setPrototypeOf(this,e.prototype),this.name=n.name,this.$fault=n.$fault,this.$metadata=n.$metadata}};bo.ServiceException=v_;var ZH=(e,n={})=>{Object.entries(n).filter(([,r])=>r!==void 0).forEach(([r,o])=>{(e[r]==null||e[r]==="")&&(e[r]=o)});let t=e.message||e.Message||"UnknownError";return e.message=t,delete e.Message,e};bo.decorateServiceException=ZH});var ek=m(Dr=>{"use strict";Object.defineProperty(Dr,"__esModule",{value:!0});Dr.withBaseException=Dr.throwDefaultError=void 0;var e$=x_(),t$=({output:e,parsedBody:n,exceptionCtor:t,errorCode:r})=>{let o=r$(e),s=o.httpStatusCode?o.httpStatusCode+"":void 0,a=new t({name:(n==null?void 0:n.code)||(n==null?void 0:n.Code)||r||s||"UnknownError",$fault:"client",$metadata:o});throw(0,e$.decorateServiceException)(a,n)};Dr.throwDefaultError=t$;var n$=e=>({output:n,parsedBody:t,errorCode:r})=>{(0,Dr.throwDefaultError)({output:n,parsedBody:t,exceptionCtor:e,errorCode:r})};Dr.withBaseException=n$;var r$=e=>{var n,t;return{httpStatusCode:e.statusCode,requestId:(t=(n=e.headers["x-amzn-requestid"])!==null&&n!==void 0?n:e.headers["x-amzn-request-id"])!==null&&t!==void 0?t:e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}}});var tk=m(Xd=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.loadConfigsForDefaultMode=void 0;var o$=e=>{switch(e){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}};Xd.loadConfigsForDefaultMode=o$});var rk=m(Wd=>{"use strict";Object.defineProperty(Wd,"__esModule",{value:!0});Wd.emitWarningIfUnsupportedVersion=void 0;var nk=!1,s$=e=>{e&&!nk&&parseInt(e.substring(1,e.indexOf(".")))<14&&(nk=!0)};Wd.emitWarningIfUnsupportedVersion=s$});var ok=m(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.resolveChecksumRuntimeConfig=Wn.getChecksumConfiguration=Wn.AlgorithmId=void 0;var w_=x();Object.defineProperty(Wn,"AlgorithmId",{enumerable:!0,get:function(){return w_.AlgorithmId}});var i$=e=>{let n=[];for(let t in w_.AlgorithmId){let r=w_.AlgorithmId[t];e[r]!==void 0&&n.push({algorithmId:()=>r,checksumConstructor:()=>e[r]})}return{_checksumAlgorithms:n,addChecksumAlgorithm(t){this._checksumAlgorithms.push(t)},checksumAlgorithms(){return this._checksumAlgorithms}}};Wn.getChecksumConfiguration=i$;var a$=e=>{let n={};return e.checksumAlgorithms().forEach(t=>{n[t.algorithmId()]=t.checksumConstructor()}),n};Wn.resolveChecksumRuntimeConfig=a$});var sk=m(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.resolveRetryRuntimeConfig=Po.getRetryConfiguration=void 0;var c$=e=>{let n=e.retryStrategy;return{setRetryStrategy(t){n=t},retryStrategy(){return n}}};Po.getRetryConfiguration=c$;var d$=e=>{let n={};return n.retryStrategy=e.retryStrategy(),n};Po.resolveRetryRuntimeConfig=d$});var ck=m(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.resolveDefaultRuntimeConfig=Sn.getDefaultClientConfiguration=Sn.getDefaultExtensionConfiguration=void 0;var ik=ok(),ak=sk(),l$=e=>({...(0,ik.getChecksumConfiguration)(e),...(0,ak.getRetryConfiguration)(e)});Sn.getDefaultExtensionConfiguration=l$;Sn.getDefaultClientConfiguration=Sn.getDefaultExtensionConfiguration;var u$=e=>({...(0,ik.resolveChecksumRuntimeConfig)(e),...(0,ak.resolveRetryRuntimeConfig)(e)});Sn.resolveDefaultRuntimeConfig=u$});var dk=m(k_=>{"use strict";Object.defineProperty(k_,"__esModule",{value:!0});var m$=(z(),j(U));m$.__exportStar(ck(),k_)});var A_=m(Yd=>{"use strict";Object.defineProperty(Yd,"__esModule",{value:!0});Yd.extendedEncodeURIComponent=void 0;function p$(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(n){return"%"+n.charCodeAt(0).toString(16).toUpperCase()})}Yd.extendedEncodeURIComponent=p$});var lk=m(Qd=>{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});Qd.getArrayIfSingleItem=void 0;var f$=e=>Array.isArray(e)?e:[e];Qd.getArrayIfSingleItem=f$});var uk=m(Ua=>{"use strict";Object.defineProperty(Ua,"__esModule",{value:!0});Ua.getValueFromTextNode=void 0;var y$=e=>{let n="#text";for(let t in e)e.hasOwnProperty(t)&&e[t][n]!==void 0?e[t]=e[t][n]:typeof e[t]=="object"&&e[t]!==null&&(e[t]=(0,Ua.getValueFromTextNode)(e[t]));return e};Ua.getValueFromTextNode=y$});var mk=m(Ut=>{"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});Ut.LazyJsonString=Ut.StringWrapper=void 0;var _$=function(){let e=Object.getPrototypeOf(this).constructor,n=Function.bind.apply(String,[null,...arguments]),t=new n;return Object.setPrototypeOf(t,e.prototype),t};Ut.StringWrapper=_$;Ut.StringWrapper.prototype=Object.create(String.prototype,{constructor:{value:Ut.StringWrapper,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(Ut.StringWrapper,String);var I_=class e extends Ut.StringWrapper{deserializeJSON(){return JSON.parse(super.toString())}toJSON(){return super.toString()}static fromObject(n){return n instanceof e?n:n instanceof String||typeof n=="string"?new e(n):new e(JSON.stringify(n))}};Ut.LazyJsonString=I_});var yk=m(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.take=Yn.convertMap=Yn.map=void 0;function pk(e,n,t){let r,o,s;if(typeof n>"u"&&typeof t>"u")r={},s=e;else{if(r=e,typeof n=="function")return o=n,s=t,C$(r,o,s);s=n}for(let a of Object.keys(s)){if(!Array.isArray(s[a])){r[a]=s[a];continue}fk(r,null,s,a)}return r}Yn.map=pk;var g$=e=>{let n={};for(let[t,r]of Object.entries(e||{}))n[t]=[,r];return n};Yn.convertMap=g$;var h$=(e,n)=>{let t={};for(let r in n)fk(t,e,n,r);return t};Yn.take=h$;var C$=(e,n,t)=>pk(e,Object.entries(t).reduce((r,[o,s])=>(Array.isArray(s)?r[o]=s:typeof s=="function"?r[o]=[n,s()]:r[o]=[n,s],r),{})),fk=(e,n,t,r)=>{if(n!==null){let a=t[r];typeof a=="function"&&(a=[,a]);let[i=S$,u=E$,l=r]=a;(typeof i=="function"&&i(n[l])||typeof i!="function"&&i)&&(e[r]=u(n[l]));return}let[o,s]=t[r];if(typeof s=="function"){let a,i=o===void 0&&(a=s())!=null,u=typeof o=="function"&&!!o(void 0)||typeof o!="function"&&!!o;i?e[r]=a:u&&(e[r]=s())}else{let a=o===void 0&&s!=null,i=typeof o=="function"&&!!o(s)||typeof o!="function"&&!!o;(a||i)&&(e[r]=s)}},S$=e=>e!=null,E$=e=>e});var gk=m(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});Jd.resolvedPath=void 0;var _k=A_(),b$=(e,n,t,r,o,s)=>{if(n!=null&&n[t]!==void 0){let a=r();if(a.length<=0)throw new Error("Empty value provided for input HTTP label: "+t+".");e=e.replace(o,s?a.split("/").map(i=>(0,_k.extendedEncodeURIComponent)(i)).join("/"):(0,_k.extendedEncodeURIComponent)(a))}else throw new Error("No value provided for input HTTP label: "+t+".");return e};Jd.resolvedPath=b$});var hk=m(Zd=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});Zd.serializeFloat=void 0;var P$=e=>{if(e!==e)return"NaN";switch(e){case 1/0:return"Infinity";case-1/0:return"-Infinity";default:return e}};Zd.serializeFloat=P$});var Ck=m(za=>{"use strict";Object.defineProperty(za,"__esModule",{value:!0});za._json=void 0;var v$=e=>{if(e==null)return{};if(Array.isArray(e))return e.filter(n=>n!=null);if(typeof e=="object"){let n={};for(let t of Object.keys(e))e[t]!=null&&(n[t]=(0,za._json)(e[t]));return n}return e};za._json=v$});var Sk=m(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});el.splitEvery=void 0;function x$(e,n,t){if(t<=0||!Number.isInteger(t))throw new Error("Invalid number of delimiters ("+t+") for splitEvery.");let r=e.split(n);if(t===1)return r;let o=[],s="";for(let a=0;a{"use strict";Object.defineProperty(ke,"__esModule",{value:!0});var Ne=(z(),j(U));Ne.__exportStar(fw(),ke);Ne.__exportStar(hw(),ke);Ne.__exportStar(Xw(),ke);Ne.__exportStar(Ww(),ke);Ne.__exportStar(Yw(),ke);Ne.__exportStar(Qw(),ke);Ne.__exportStar(Zw(),ke);Ne.__exportStar(ek(),ke);Ne.__exportStar(tk(),ke);Ne.__exportStar(rk(),ke);Ne.__exportStar(dk(),ke);Ne.__exportStar(x_(),ke);Ne.__exportStar(A_(),ke);Ne.__exportStar(lk(),ke);Ne.__exportStar(uk(),ke);Ne.__exportStar(mk(),ke);Ne.__exportStar(yk(),ke);Ne.__exportStar(E_(),ke);Ne.__exportStar(gk(),ke);Ne.__exportStar(hk(),ke);Ne.__exportStar(Ck(),ke);Ne.__exportStar(Sk(),ke)});var bk=m(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.getCheckContentLengthHeaderPlugin=En.checkContentLengthHeaderMiddlewareOptions=En.checkContentLengthHeader=void 0;var w$=we(),k$=E(),A$="content-length";function Ek(){return(e,n)=>async t=>{var r;let{request:o}=t;if(w$.HttpRequest.isInstance(o)&&!o.headers[A$]){let s="Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.";typeof((r=n==null?void 0:n.logger)===null||r===void 0?void 0:r.warn)=="function"&&!(n.logger instanceof k$.NoOpLogger)?n.logger.warn(s):console.warn(s)}return e({...t})}}En.checkContentLengthHeader=Ek;En.checkContentLengthHeaderMiddlewareOptions={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0};var I$=e=>({applyToStack:n=>{n.add(Ek(),En.checkContentLengthHeaderMiddlewareOptions)}});En.getCheckContentLengthHeaderPlugin=I$});var Pk=m(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});tl.resolveS3Config=void 0;var R$=e=>{var n,t,r;return{...e,forcePathStyle:(n=e.forcePathStyle)!==null&&n!==void 0?n:!1,useAccelerateEndpoint:(t=e.useAccelerateEndpoint)!==null&&t!==void 0?t:!1,disableMultiregionAccessPoints:(r=e.disableMultiregionAccessPoints)!==null&&r!==void 0?r:!1}};tl.resolveS3Config=R$});var xk=m(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.getThrow200ExceptionsPlugin=zt.throw200ExceptionsMiddlewareOptions=zt.throw200ExceptionsMiddleware=void 0;var N$=we(),O$=e=>n=>async t=>{let r=await n(t),{response:o}=r;if(!N$.HttpResponse.isInstance(o))return r;let{statusCode:s,body:a}=o;if(s<200||s>=300)return r;let i=await vk(a,e),u=await T$(i,e);if(i.length===0){let l=new Error("S3 aborted request");throw l.name="InternalError",l}return u&&u.match("")&&(o.statusCode=400),o.body=i,r};zt.throw200ExceptionsMiddleware=O$;var vk=(e=new Uint8Array,n)=>e instanceof Uint8Array?Promise.resolve(e):n.streamCollector(e)||Promise.resolve(new Uint8Array),T$=(e,n)=>vk(e,n).then(t=>n.utf8Encoder(t));zt.throw200ExceptionsMiddlewareOptions={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0};var q$=e=>({applyToStack:n=>{n.addRelativeTo((0,zt.throw200ExceptionsMiddleware)(e),zt.throw200ExceptionsMiddlewareOptions)}});zt.getThrow200ExceptionsPlugin=q$});var R_=m(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.build=Qn.parse=Qn.validate=void 0;var B$=e=>typeof e=="string"&&e.indexOf("arn:")===0&&e.split(":").length>=6;Qn.validate=B$;var M$=e=>{let n=e.split(":");if(n.length<6||n[0]!=="arn")throw new Error("Malformed ARN");let[,t,r,o,s,...a]=n;return{partition:t,service:r,region:o,accountId:s,resource:a.join(":")}};Qn.parse=M$;var D$=e=>{let{partition:n="aws",service:t,region:r,accountId:o,resource:s}=e;if([t,r,o,s].some(a=>typeof a!="string"))throw new Error("Input ARN object is invalid");return`arn:${n}:${t}:${r}:${o}:${s}`};Qn.build=D$});var kk=m(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.getValidateBucketNamePlugin=bn.validateBucketNameMiddlewareOptions=bn.validateBucketNameMiddleware=void 0;var F$=R_();function wk(){return e=>async n=>{let{input:{Bucket:t}}=n;if(typeof t=="string"&&!(0,F$.validate)(t)&&t.indexOf("/")>=0){let r=new Error(`Bucket name shouldn't contain '/', received '${t}'`);throw r.name="InvalidBucketName",r}return e({...n})}}bn.validateBucketNameMiddleware=wk;bn.validateBucketNameMiddlewareOptions={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0};var L$=e=>({applyToStack:n=>{n.add(wk(),bn.validateBucketNameMiddlewareOptions)}});bn.getValidateBucketNamePlugin=L$});var xo=m(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});var nl=(z(),j(U));nl.__exportStar(bk(),vo);nl.__exportStar(Pk(),vo);nl.__exportStar(xk(),vo);nl.__exportStar(kk(),vo)});var Ga=m(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});rl.ProviderError=void 0;var N_=class e extends Error{constructor(n,t=!0){super(n),this.tryNextLink=t,this.name="ProviderError",Object.setPrototypeOf(this,e.prototype)}static from(n,t=!0){return Object.assign(new this(n.message,t),n)}};rl.ProviderError=N_});var Ak=m(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});ol.CredentialsProviderError=void 0;var j$=Ga(),O_=class e extends j$.ProviderError{constructor(n,t=!0){super(n,t),this.tryNextLink=t,this.name="CredentialsProviderError",Object.setPrototypeOf(this,e.prototype)}};ol.CredentialsProviderError=O_});var Ik=m(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});sl.TokenProviderError=void 0;var U$=Ga(),T_=class e extends U$.ProviderError{constructor(n,t=!0){super(n,t),this.tryNextLink=t,this.name="TokenProviderError",Object.setPrototypeOf(this,e.prototype)}};sl.TokenProviderError=T_});var Rk=m(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});il.chain=void 0;var z$=Ga(),G$=(...e)=>async()=>{if(e.length===0)throw new z$.ProviderError("No providers in chain");let n;for(let t of e)try{return await t()}catch(r){if(n=r,r!=null&&r.tryNextLink)continue;throw r}throw n};il.chain=G$});var Nk=m(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});al.fromStatic=void 0;var H$=e=>()=>Promise.resolve(e);al.fromStatic=H$});var Ok=m(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});cl.memoize=void 0;var $$=(e,n,t)=>{let r,o,s,a=!1,i=async()=>{o||(o=e());try{r=await o,s=!0,a=!1}finally{o=void 0}return r};return n===void 0?async u=>((!s||u!=null&&u.forceRefresh)&&(r=await i()),r):async u=>((!s||u!=null&&u.forceRefresh)&&(r=await i()),a?r:t&&!t(r)?(a=!0,r):(n(r)&&await i(),r))};cl.memoize=$$});var Se=m(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});var wo=(z(),j(U));wo.__exportStar(Ak(),Jn);wo.__exportStar(Ga(),Jn);wo.__exportStar(Ik(),Jn);wo.__exportStar(Rk(),Jn);wo.__exportStar(Nk(),Jn);wo.__exportStar(Ok(),Jn)});var D_={};wa(D_,{__assign:()=>B_,__asyncDelegator:()=>oK,__asyncGenerator:()=>rK,__asyncValues:()=>sK,__await:()=>Ha,__awaiter:()=>Q$,__classPrivateFieldGet:()=>dK,__classPrivateFieldSet:()=>lK,__createBinding:()=>Z$,__decorate:()=>X$,__exportStar:()=>eK,__extends:()=>K$,__generator:()=>J$,__importDefault:()=>cK,__importStar:()=>aK,__makeTemplateObject:()=>iK,__metadata:()=>Y$,__param:()=>W$,__read:()=>Tk,__rest:()=>V$,__spread:()=>tK,__spreadArrays:()=>nK,__values:()=>M_});function K$(e,n){q_(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}function V$(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o=0;i--)(a=e[i])&&(s=(o<3?a(s):o>3?a(n,t,s):a(n,t))||s);return o>3&&s&&Object.defineProperty(n,t,s),s}function W$(e,n){return function(t,r){n(t,r,e)}}function Y$(e,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,n)}function Q$(e,n,t,r){function o(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function i(c){try{l(r.next(c))}catch(y){a(y)}}function u(c){try{l(r.throw(c))}catch(y){a(y)}}function l(c){c.done?s(c.value):o(c.value).then(i,u)}l((r=r.apply(e,n||[])).next())})}function J$(e,n){var t={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,o,s,a;return a={next:i(0),throw:i(1),return:i(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(l){return function(c){return u([l,c])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,o&&(s=l[0]&2?o.return:l[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,l[1])).done)return s;switch(o=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,o=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(s=t.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Tk(e,n){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var r=t.call(e),o,s=[],a;try{for(;(n===void 0||n-- >0)&&!(o=r.next()).done;)s.push(o.value)}catch(i){a={error:i}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(a)throw a.error}}return s}function tK(){for(var e=[],n=0;n1||i(_,C)})})}function i(_,C){try{u(r[_](C))}catch(b){y(s[0][3],b)}}function u(_){_.value instanceof Ha?Promise.resolve(_.value.v).then(l,c):y(s[0][2],_)}function l(_){i("next",_)}function c(_){i("throw",_)}function y(_,C){_(C),s.shift(),s.length&&i(s[0][0],s[0][1])}}function oK(e){var n,t;return n={},r("next"),r("throw",function(o){throw o}),r("return"),n[Symbol.iterator]=function(){return this},n;function r(o,s){n[o]=e[o]?function(a){return(t=!t)?{value:Ha(e[o](a)),done:o==="return"}:s?s(a):a}:s}}function sK(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof M_=="function"?M_(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(s){t[s]=e[s]&&function(a){return new Promise(function(i,u){a=e[s](a),o(i,u,a.done,a.value)})}}function o(s,a,i,u){Promise.resolve(u).then(function(l){s({value:l,done:i})},a)}}function iK(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}function aK(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var t in e)Object.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}function cK(e){return e&&e.__esModule?e:{default:e}}function dK(e,n){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return n.get(e)}function lK(e,n,t){if(!n.has(e))throw new TypeError("attempted to set private field on non-instance");return n.set(e,t),t}var q_,B_,F_=ze(()=>{q_=function(e,n){return q_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o])},q_(e,n)};B_=function(){return B_=Object.assign||function(n){for(var t,r=1,o=arguments.length;r{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.toUtf8=ko.fromUtf8=void 0;var uK=e=>{let n=[];for(let t=0,r=e.length;t>6|192,o&63|128);else if(t+1>18|240,s>>12&63|128,s>>6&63|128,s&63|128)}else n.push(o>>12|224,o>>6&63|128,o&63|128)}return Uint8Array.from(n)};ko.fromUtf8=uK;var mK=e=>{let n="";for(let t=0,r=e.length;ti.toString(16)).join("%");n+=decodeURIComponent(a)}else n+=String.fromCharCode((o&15)<<12|(e[++t]&63)<<6|e[++t]&63)}return n};ko.toUtf8=mK});var Bk=m(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.toUtf8=Ao.fromUtf8=void 0;function pK(e){return new TextEncoder().encode(e)}Ao.fromUtf8=pK;function fK(e){return new TextDecoder("utf-8").decode(e)}Ao.toUtf8=fK});var Fk=m(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.toUtf8=Io.fromUtf8=void 0;var Mk=qk(),Dk=Bk(),yK=e=>typeof TextEncoder=="function"?(0,Dk.fromUtf8)(e):(0,Mk.fromUtf8)(e);Io.fromUtf8=yK;var _K=e=>typeof TextDecoder=="function"?(0,Dk.toUtf8)(e):(0,Mk.toUtf8)(e);Io.toUtf8=_K});var Lk=m(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});dl.convertToBuffer=void 0;var gK=Fk(),hK=typeof Buffer<"u"&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:gK.fromUtf8;function CK(e){return e instanceof Uint8Array?e:typeof e=="string"?hK(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}dl.convertToBuffer=CK});var jk=m(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});ll.isEmptyData=void 0;function SK(e){return typeof e=="string"?e.length===0:e.byteLength===0}ll.isEmptyData=SK});var Uk=m(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.numToUint8=void 0;function EK(e){return new Uint8Array([(e&4278190080)>>24,(e&16711680)>>16,(e&65280)>>8,e&255])}ul.numToUint8=EK});var zk=m(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.uint32ArrayFrom=void 0;function bK(e){if(!Uint32Array.from){for(var n=new Uint32Array(e.length),t=0;t{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.uint32ArrayFrom=Gt.numToUint8=Gt.isEmptyData=Gt.convertToBuffer=void 0;var PK=Lk();Object.defineProperty(Gt,"convertToBuffer",{enumerable:!0,get:function(){return PK.convertToBuffer}});var vK=jk();Object.defineProperty(Gt,"isEmptyData",{enumerable:!0,get:function(){return vK.isEmptyData}});var xK=Uk();Object.defineProperty(Gt,"numToUint8",{enumerable:!0,get:function(){return xK.numToUint8}});var wK=zk();Object.defineProperty(Gt,"uint32ArrayFrom",{enumerable:!0,get:function(){return wK.uint32ArrayFrom}})});var $k=m(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});pl.AwsCrc32=void 0;var Gk=(F_(),j(D_)),L_=$a(),Hk=Ka(),kK=function(){function e(){this.crc32=new Hk.Crc32}return e.prototype.update=function(n){(0,L_.isEmptyData)(n)||this.crc32.update((0,L_.convertToBuffer)(n))},e.prototype.digest=function(){return Gk.__awaiter(this,void 0,void 0,function(){return Gk.__generator(this,function(n){return[2,(0,L_.numToUint8)(this.crc32.digest())]})})},e.prototype.reset=function(){this.crc32=new Hk.Crc32},e}();pl.AwsCrc32=kK});var Ka=m(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.AwsCrc32=Zn.Crc32=Zn.crc32=void 0;var AK=(F_(),j(D_)),IK=$a();function RK(e){return new Kk().update(e).digest()}Zn.crc32=RK;var Kk=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(n){var t,r;try{for(var o=AK.__values(n),s=o.next();!s.done;s=o.next()){var a=s.value;this.checksum=this.checksum>>>8^OK[(this.checksum^a)&255]}}catch(i){t={error:i}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(this.checksum^4294967295)>>>0},e}();Zn.Crc32=Kk;var NK=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],OK=(0,IK.uint32ArrayFrom)(NK),TK=$k();Object.defineProperty(Zn,"AwsCrc32",{enumerable:!0,get:function(){return TK.AwsCrc32}})});var No=m(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.toHex=Ro.fromHex=void 0;var Vk={},j_={};for(let e=0;e<256;e++){let n=e.toString(16).toLowerCase();n.length===1&&(n=`0${n}`),Vk[e]=n,j_[n]=e}function qK(e){if(e.length%2!==0)throw new Error("Hex encoded strings must have an even number length");let n=new Uint8Array(e.length/2);for(let t=0;t{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});fl.Int64=void 0;var MK=No(),U_=class e{constructor(n){if(this.bytes=n,n.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(n){if(n>9223372036854776e3||n<-9223372036854776e3)throw new Error(`${n} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,o=Math.abs(Math.round(n));r>-1&&o>0;r--,o/=256)t[r]=o;return n<0&&Xk(t),new e(t)}valueOf(){let n=this.bytes.slice(0),t=n[0]&128;return t&&Xk(n),parseInt((0,MK.toHex)(n),16)*(t?-1:1)}toString(){return String(this.valueOf())}};fl.Int64=U_;function Xk(e){for(let n=0;n<8;n++)e[n]^=255;for(let n=7;n>-1&&(e[n]++,e[n]===0);n--);}});var $_=m(yl=>{"use strict";Object.defineProperty(yl,"__esModule",{value:!0});yl.HeaderMarshaller=void 0;var Oo=No(),G_=z_(),H_=class{constructor(n,t){this.toUtf8=n,this.fromUtf8=t}format(n){let t=[];for(let s of Object.keys(n)){let a=this.fromUtf8(s);t.push(Uint8Array.from([a.byteLength]),a,this.formatHeaderValue(n[s]))}let r=new Uint8Array(t.reduce((s,a)=>s+a.byteLength,0)),o=0;for(let s of t)r.set(s,o),o+=s.byteLength;return r}formatHeaderValue(n){switch(n.type){case"boolean":return Uint8Array.from([n.value?0:1]);case"byte":return Uint8Array.from([2,n.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,n.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,n.value,!1),new Uint8Array(r.buffer);case"long":let o=new Uint8Array(9);return o[0]=5,o.set(n.value.bytes,1),o;case"binary":let s=new DataView(new ArrayBuffer(3+n.value.byteLength));s.setUint8(0,6),s.setUint16(1,n.value.byteLength,!1);let a=new Uint8Array(s.buffer);return a.set(n.value,3),a;case"string":let i=this.fromUtf8(n.value),u=new DataView(new ArrayBuffer(3+i.byteLength));u.setUint8(0,7),u.setUint16(1,i.byteLength,!1);let l=new Uint8Array(u.buffer);return l.set(i,3),l;case"timestamp":let c=new Uint8Array(9);return c[0]=8,c.set(G_.Int64.fromNumber(n.value.valueOf()).bytes,1),c;case"uuid":if(!$K.test(n.value))throw new Error(`Invalid UUID received: ${n.value}`);let y=new Uint8Array(17);return y[0]=9,y.set((0,Oo.fromHex)(n.value.replace(/\-/g,"")),1),y}}parse(n){let t={},r=0;for(;r{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});_l.splitMessage=void 0;var KK=Ka(),Qk=4,er=Qk*2,Fr=4,VK=er+Fr*2;function XK({byteLength:e,byteOffset:n,buffer:t}){if(e{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.EventStreamCodec=void 0;var WK=Ka(),YK=$_(),QK=Jk(),K_=class{constructor(n,t){this.headerMarshaller=new YK.HeaderMarshaller(n,t),this.messageBuffer=[],this.isEndOfStream=!1}feed(n){this.messageBuffer.push(this.decode(n))}endOfStream(){this.isEndOfStream=!0}getMessage(){let n=this.messageBuffer.pop(),t=this.isEndOfStream;return{getMessage(){return n},isEndOfStream(){return t}}}getAvailableMessages(){let n=this.messageBuffer;this.messageBuffer=[];let t=this.isEndOfStream;return{getMessages(){return n},isEndOfStream(){return t}}}encode({headers:n,body:t}){let r=this.headerMarshaller.format(n),o=r.byteLength+t.byteLength+16,s=new Uint8Array(o),a=new DataView(s.buffer,s.byteOffset,s.byteLength),i=new WK.Crc32;return a.setUint32(0,o,!1),a.setUint32(4,r.byteLength,!1),a.setUint32(8,i.update(s.subarray(0,8)).digest(),!1),s.set(r,12),s.set(t,r.byteLength+12),a.setUint32(o-4,i.update(s.subarray(8,o-4)).digest(),!1),s}decode(n){let{headers:t,body:r}=(0,QK.splitMessage)(n);return{headers:this.headerMarshaller.parse(t),body:r}}formatHeaders(n){return this.headerMarshaller.format(n)}};gl.EventStreamCodec=K_});var tA=m(eA=>{"use strict";Object.defineProperty(eA,"__esModule",{value:!0})});var nA=m(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});hl.MessageDecoderStream=void 0;var V_=class{constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.inputStream)yield this.options.decoder.decode(n)}};hl.MessageDecoderStream=V_});var rA=m(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.MessageEncoderStream=void 0;var X_=class{constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.messageStream)yield this.options.encoder.encode(n);this.options.includeEndFrame&&(yield new Uint8Array(0))}};Cl.MessageEncoderStream=X_});var oA=m(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.SmithyMessageDecoderStream=void 0;var W_=class{constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.messageStream){let t=await this.options.deserializer(n);t!==void 0&&(yield t)}}};Sl.SmithyMessageDecoderStream=W_});var sA=m(El=>{"use strict";Object.defineProperty(El,"__esModule",{value:!0});El.SmithyMessageEncoderStream=void 0;var Y_=class{constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.inputStream)yield this.options.serializer(n)}};El.SmithyMessageEncoderStream=Y_});var Q_=m(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});var tr=(z(),j(U));tr.__exportStar(Zk(),Ht);tr.__exportStar($_(),Ht);tr.__exportStar(z_(),Ht);tr.__exportStar(tA(),Ht);tr.__exportStar(nA(),Ht);tr.__exportStar(rA(),Ht);tr.__exportStar(oA(),Ht);tr.__exportStar(sA(),Ht)});var aA=m(bl=>{"use strict";Object.defineProperty(bl,"__esModule",{value:!0});bl.getSmithyContext=void 0;var iA=x(),JK=e=>e[iA.SMITHY_CONTEXT_KEY]||(e[iA.SMITHY_CONTEXT_KEY]={});bl.getSmithyContext=JK});var cA=m(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});Pl.normalizeProvider=void 0;var ZK=e=>{if(typeof e=="function")return e;let n=Promise.resolve(e);return()=>n};Pl.normalizeProvider=ZK});var Lr=m(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});var dA=(z(),j(U));dA.__exportStar(aA(),vl);dA.__exportStar(cA(),vl)});var jr=m(K=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0});K.MAX_PRESIGNED_TTL=K.KEY_TYPE_IDENTIFIER=K.MAX_CACHE_SIZE=K.UNSIGNED_PAYLOAD=K.EVENT_ALGORITHM_IDENTIFIER=K.ALGORITHM_IDENTIFIER_V4A=K.ALGORITHM_IDENTIFIER=K.UNSIGNABLE_PATTERNS=K.SEC_HEADER_PATTERN=K.PROXY_HEADER_PATTERN=K.ALWAYS_UNSIGNABLE_HEADERS=K.HOST_HEADER=K.TOKEN_HEADER=K.SHA256_HEADER=K.SIGNATURE_HEADER=K.GENERATED_HEADERS=K.DATE_HEADER=K.AMZ_DATE_HEADER=K.AUTH_HEADER=K.REGION_SET_PARAM=K.TOKEN_QUERY_PARAM=K.SIGNATURE_QUERY_PARAM=K.EXPIRES_QUERY_PARAM=K.SIGNED_HEADERS_QUERY_PARAM=K.AMZ_DATE_QUERY_PARAM=K.CREDENTIAL_QUERY_PARAM=K.ALGORITHM_QUERY_PARAM=void 0;K.ALGORITHM_QUERY_PARAM="X-Amz-Algorithm";K.CREDENTIAL_QUERY_PARAM="X-Amz-Credential";K.AMZ_DATE_QUERY_PARAM="X-Amz-Date";K.SIGNED_HEADERS_QUERY_PARAM="X-Amz-SignedHeaders";K.EXPIRES_QUERY_PARAM="X-Amz-Expires";K.SIGNATURE_QUERY_PARAM="X-Amz-Signature";K.TOKEN_QUERY_PARAM="X-Amz-Security-Token";K.REGION_SET_PARAM="X-Amz-Region-Set";K.AUTH_HEADER="authorization";K.AMZ_DATE_HEADER=K.AMZ_DATE_QUERY_PARAM.toLowerCase();K.DATE_HEADER="date";K.GENERATED_HEADERS=[K.AUTH_HEADER,K.AMZ_DATE_HEADER,K.DATE_HEADER];K.SIGNATURE_HEADER=K.SIGNATURE_QUERY_PARAM.toLowerCase();K.SHA256_HEADER="x-amz-content-sha256";K.TOKEN_HEADER=K.TOKEN_QUERY_PARAM.toLowerCase();K.HOST_HEADER="host";K.ALWAYS_UNSIGNABLE_HEADERS={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0};K.PROXY_HEADER_PATTERN=/^proxy-/;K.SEC_HEADER_PATTERN=/^sec-/;K.UNSIGNABLE_PATTERNS=[/^proxy-/i,/^sec-/i];K.ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256";K.ALGORITHM_IDENTIFIER_V4A="AWS4-ECDSA-P256-SHA256";K.EVENT_ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256-PAYLOAD";K.UNSIGNED_PAYLOAD="UNSIGNED-PAYLOAD";K.MAX_CACHE_SIZE=50;K.KEY_TYPE_IDENTIFIER="aws4_request";K.MAX_PRESIGNED_TTL=60*60*24*7});var Z_=m(nr=>{"use strict";Object.defineProperty(nr,"__esModule",{value:!0});nr.clearCredentialCache=nr.getSigningKey=nr.createScope=void 0;var e6=No(),t6=St(),J_=jr(),To={},xl=[],n6=(e,n,t)=>`${e}/${n}/${t}/${J_.KEY_TYPE_IDENTIFIER}`;nr.createScope=n6;var r6=async(e,n,t,r,o)=>{let s=await lA(e,n.secretAccessKey,n.accessKeyId),a=`${t}:${r}:${o}:${(0,e6.toHex)(s)}:${n.sessionToken}`;if(a in To)return To[a];for(xl.push(a);xl.length>J_.MAX_CACHE_SIZE;)delete To[xl.shift()];let i=`AWS4${n.secretAccessKey}`;for(let u of[t,r,o,J_.KEY_TYPE_IDENTIFIER])i=await lA(e,i,u);return To[a]=i};nr.getSigningKey=r6;var o6=()=>{xl.length=0,Object.keys(To).forEach(e=>{delete To[e]})};nr.clearCredentialCache=o6;var lA=(e,n,t)=>{let r=new e(n);return r.update((0,t6.toUint8Array)(t)),r.digest()}});var tg=m(wl=>{"use strict";Object.defineProperty(wl,"__esModule",{value:!0});wl.getCanonicalHeaders=void 0;var eg=jr(),s6=({headers:e},n,t)=>{let r={};for(let o of Object.keys(e).sort()){if(e[o]==null)continue;let s=o.toLowerCase();(s in eg.ALWAYS_UNSIGNABLE_HEADERS||n!=null&&n.has(s)||eg.PROXY_HEADER_PATTERN.test(s)||eg.SEC_HEADER_PATTERN.test(s))&&(!t||t&&!t.has(s))||(r[s]=e[o].trim().replace(/\s+/g," "))}return r};wl.getCanonicalHeaders=s6});var ng=m(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});Al.getCanonicalQuery=void 0;var kl=o_(),i6=jr(),a6=({query:e={}})=>{let n=[],t={};for(let r of Object.keys(e).sort()){if(r.toLowerCase()===i6.SIGNATURE_HEADER)continue;n.push(r);let o=e[r];typeof o=="string"?t[r]=`${(0,kl.escapeUri)(r)}=${(0,kl.escapeUri)(o)}`:Array.isArray(o)&&(t[r]=o.slice(0).reduce((s,a)=>s.concat([`${(0,kl.escapeUri)(r)}=${(0,kl.escapeUri)(a)}`]),[]).sort().join("&"))}return n.map(r=>t[r]).filter(r=>r).join("&")};Al.getCanonicalQuery=a6});var rg=m(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});Il.getPayloadHash=void 0;var c6=hd(),d6=No(),l6=St(),uA=jr(),u6=async({headers:e,body:n},t)=>{for(let r of Object.keys(e))if(r.toLowerCase()===uA.SHA256_HEADER)return e[r];if(n==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if(typeof n=="string"||ArrayBuffer.isView(n)||(0,c6.isArrayBuffer)(n)){let r=new t;return r.update((0,l6.toUint8Array)(n)),(0,d6.toHex)(await r.digest())}return uA.UNSIGNED_PAYLOAD};Il.getPayloadHash=u6});var mA=m(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});rr.deleteHeader=rr.getHeaderValue=rr.hasHeader=void 0;var m6=(e,n)=>{e=e.toLowerCase();for(let t of Object.keys(n))if(e===t.toLowerCase())return!0;return!1};rr.hasHeader=m6;var p6=(e,n)=>{e=e.toLowerCase();for(let t of Object.keys(n))if(e===t.toLowerCase())return n[t]};rr.getHeaderValue=p6;var f6=(e,n)=>{e=e.toLowerCase();for(let t of Object.keys(n))e===t.toLowerCase()&&delete n[t]};rr.deleteHeader=f6});var og=m(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});Ur.cloneQuery=Ur.cloneRequest=void 0;var y6=({headers:e,query:n,...t})=>({...t,headers:{...e},query:n?(0,Ur.cloneQuery)(n):void 0});Ur.cloneRequest=y6;var _6=e=>Object.keys(e).reduce((n,t)=>{let r=e[t];return{...n,[t]:Array.isArray(r)?[...r]:r}},{});Ur.cloneQuery=_6});var sg=m(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});Rl.moveHeadersToQuery=void 0;var g6=og(),h6=(e,n={})=>{var t;let{headers:r,query:o={}}=typeof e.clone=="function"?e.clone():(0,g6.cloneRequest)(e);for(let s of Object.keys(r)){let a=s.toLowerCase();a.slice(0,6)==="x-amz-"&&!(!((t=n.unhoistableHeaders)===null||t===void 0)&&t.has(a))&&(o[s]=r[s],delete r[s])}return{...e,headers:r,query:o}};Rl.moveHeadersToQuery=h6});var ig=m(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});Nl.prepareRequest=void 0;var C6=og(),S6=jr(),E6=e=>{e=typeof e.clone=="function"?e.clone():(0,C6.cloneRequest)(e);for(let n of Object.keys(e.headers))S6.GENERATED_HEADERS.indexOf(n.toLowerCase())>-1&&delete e.headers[n];return e};Nl.prepareRequest=E6});var pA=m(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.toDate=zr.iso8601=void 0;var b6=e=>(0,zr.toDate)(e).toISOString().replace(/\.\d{3}Z$/,"Z");zr.iso8601=b6;var P6=e=>typeof e=="number"?new Date(e*1e3):typeof e=="string"?Number(e)?new Date(Number(e)*1e3):new Date(e):e;zr.toDate=P6});var hA=m(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.SignatureV4=void 0;var v6=Q_(),Ol=No(),fA=Lr(),Va=St(),Xe=jr(),Tl=Z_(),yA=tg(),x6=ng(),ag=rg(),w6=mA(),k6=sg(),_A=ig(),A6=pA(),cg=class{constructor({applyChecksum:n,credentials:t,region:r,service:o,sha256:s,uriEscapePath:a=!0}){this.headerMarshaller=new v6.HeaderMarshaller(Va.toUtf8,Va.fromUtf8),this.service=o,this.sha256=s,this.uriEscapePath=a,this.applyChecksum=typeof n=="boolean"?n:!0,this.regionProvider=(0,fA.normalizeProvider)(r),this.credentialProvider=(0,fA.normalizeProvider)(t)}async presign(n,t={}){let{signingDate:r=new Date,expiresIn:o=3600,unsignableHeaders:s,unhoistableHeaders:a,signableHeaders:i,signingRegion:u,signingService:l}=t,c=await this.credentialProvider();this.validateResolvedCredentials(c);let y=u??await this.regionProvider(),{longDate:_,shortDate:C}=ql(r);if(o>Xe.MAX_PRESIGNED_TTL)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let b=(0,Tl.createScope)(C,y,l??this.service),F=(0,k6.moveHeadersToQuery)((0,_A.prepareRequest)(n),{unhoistableHeaders:a});c.sessionToken&&(F.query[Xe.TOKEN_QUERY_PARAM]=c.sessionToken),F.query[Xe.ALGORITHM_QUERY_PARAM]=Xe.ALGORITHM_IDENTIFIER,F.query[Xe.CREDENTIAL_QUERY_PARAM]=`${c.accessKeyId}/${b}`,F.query[Xe.AMZ_DATE_QUERY_PARAM]=_,F.query[Xe.EXPIRES_QUERY_PARAM]=o.toString(10);let L=(0,yA.getCanonicalHeaders)(F,s,i);return F.query[Xe.SIGNED_HEADERS_QUERY_PARAM]=gA(L),F.query[Xe.SIGNATURE_QUERY_PARAM]=await this.getSignature(_,b,this.getSigningKey(c,y,C,l),this.createCanonicalRequest(F,L,await(0,ag.getPayloadHash)(n,this.sha256))),F}async sign(n,t){return typeof n=="string"?this.signString(n,t):n.headers&&n.payload?this.signEvent(n,t):n.message?this.signMessage(n,t):this.signRequest(n,t)}async signEvent({headers:n,payload:t},{signingDate:r=new Date,priorSignature:o,signingRegion:s,signingService:a}){let i=s??await this.regionProvider(),{shortDate:u,longDate:l}=ql(r),c=(0,Tl.createScope)(u,i,a??this.service),y=await(0,ag.getPayloadHash)({headers:{},body:t},this.sha256),_=new this.sha256;_.update(n);let C=(0,Ol.toHex)(await _.digest()),b=[Xe.EVENT_ALGORITHM_IDENTIFIER,l,c,o,C,y].join(` -`);return this.signString(b,{signingDate:r,signingRegion:i,signingService:a})}async signMessage(n,{signingDate:t=new Date,signingRegion:r,signingService:o}){return this.signEvent({headers:this.headerMarshaller.format(n.message.headers),payload:n.message.body},{signingDate:t,signingRegion:r,signingService:o,priorSignature:n.priorSignature}).then(a=>({message:n.message,signature:a}))}async signString(n,{signingDate:t=new Date,signingRegion:r,signingService:o}={}){let s=await this.credentialProvider();this.validateResolvedCredentials(s);let a=r??await this.regionProvider(),{shortDate:i}=ql(t),u=new this.sha256(await this.getSigningKey(s,a,i,o));return u.update((0,Va.toUint8Array)(n)),(0,Ol.toHex)(await u.digest())}async signRequest(n,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:o,signingRegion:s,signingService:a}={}){let i=await this.credentialProvider();this.validateResolvedCredentials(i);let u=s??await this.regionProvider(),l=(0,_A.prepareRequest)(n),{longDate:c,shortDate:y}=ql(t),_=(0,Tl.createScope)(y,u,a??this.service);l.headers[Xe.AMZ_DATE_HEADER]=c,i.sessionToken&&(l.headers[Xe.TOKEN_HEADER]=i.sessionToken);let C=await(0,ag.getPayloadHash)(l,this.sha256);!(0,w6.hasHeader)(Xe.SHA256_HEADER,l.headers)&&this.applyChecksum&&(l.headers[Xe.SHA256_HEADER]=C);let b=(0,yA.getCanonicalHeaders)(l,o,r),F=await this.getSignature(c,_,this.getSigningKey(i,u,y,a),this.createCanonicalRequest(l,b,C));return l.headers[Xe.AUTH_HEADER]=`${Xe.ALGORITHM_IDENTIFIER} Credential=${i.accessKeyId}/${_}, SignedHeaders=${gA(b)}, Signature=${F}`,l}createCanonicalRequest(n,t,r){let o=Object.keys(t).sort();return`${n.method} -${this.getCanonicalPath(n)} -${(0,x6.getCanonicalQuery)(n)} -${o.map(s=>`${s}:${t[s]}`).join(` -`)} - -${o.join(";")} -${r}`}async createStringToSign(n,t,r){let o=new this.sha256;o.update((0,Va.toUint8Array)(r));let s=await o.digest();return`${Xe.ALGORITHM_IDENTIFIER} -${n} -${t} -${(0,Ol.toHex)(s)}`}getCanonicalPath({path:n}){if(this.uriEscapePath){let t=[];for(let s of n.split("/"))(s==null?void 0:s.length)!==0&&s!=="."&&(s===".."?t.pop():t.push(s));let r=`${n!=null&&n.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&(n!=null&&n.endsWith("/"))?"/":""}`;return encodeURIComponent(r).replace(/%2F/g,"/")}return n}async getSignature(n,t,r,o){let s=await this.createStringToSign(n,t,o),a=new this.sha256(await r);return a.update((0,Va.toUint8Array)(s)),(0,Ol.toHex)(await a.digest())}getSigningKey(n,t,r,o){return(0,Tl.getSigningKey)(this.sha256,n,r,t,o||this.service)}validateResolvedCredentials(n){if(typeof n!="object"||typeof n.accessKeyId!="string"||typeof n.secretAccessKey!="string")throw new Error("Resolved credential object is not valid")}};Bl.SignatureV4=cg;var ql=e=>{let n=(0,A6.iso8601)(e).replace(/[\-:]/g,"");return{longDate:n,shortDate:n.slice(0,8)}},gA=e=>Object.keys(e).sort().join(";")});var dg=m(at=>{"use strict";Object.defineProperty(at,"__esModule",{value:!0});at.prepareRequest=at.moveHeadersToQuery=at.getPayloadHash=at.getCanonicalQuery=at.getCanonicalHeaders=void 0;var CA=(z(),j(U));CA.__exportStar(hA(),at);var I6=tg();Object.defineProperty(at,"getCanonicalHeaders",{enumerable:!0,get:function(){return I6.getCanonicalHeaders}});var R6=ng();Object.defineProperty(at,"getCanonicalQuery",{enumerable:!0,get:function(){return R6.getCanonicalQuery}});var N6=rg();Object.defineProperty(at,"getPayloadHash",{enumerable:!0,get:function(){return N6.getPayloadHash}});var O6=sg();Object.defineProperty(at,"moveHeadersToQuery",{enumerable:!0,get:function(){return O6.moveHeadersToQuery}});var T6=ig();Object.defineProperty(at,"prepareRequest",{enumerable:!0,get:function(){return T6.prepareRequest}});CA.__exportStar(Z_(),at)});var EA=m(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});Bo.resolveSigV4AuthConfig=Bo.resolveAwsAuthConfig=void 0;var q6=Se(),lg=dg(),qo=Lr(),B6=3e5,M6=e=>{let n=e.credentials?SA(e.credentials):e.credentialDefaultProvider(e),{signingEscapePath:t=!0,systemClockOffset:r=e.systemClockOffset||0,sha256:o}=e,s;return e.signer?s=(0,qo.normalizeProvider)(e.signer):e.regionInfoProvider?s=()=>(0,qo.normalizeProvider)(e.region)().then(async a=>[await e.regionInfoProvider(a,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},a]).then(([a,i])=>{let{signingRegion:u,signingService:l}=a;e.signingRegion=e.signingRegion||u||i,e.signingName=e.signingName||l||e.serviceId;let c={...e,credentials:n,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:t},y=e.signerConstructor||lg.SignatureV4;return new y(c)}):s=async a=>{a=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await(0,qo.normalizeProvider)(e.region)(),properties:{}},a);let i=a.signingRegion,u=a.signingName;e.signingRegion=e.signingRegion||i,e.signingName=e.signingName||u||e.serviceId;let l={...e,credentials:n,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:t},c=e.signerConstructor||lg.SignatureV4;return new c(l)},{...e,systemClockOffset:r,signingEscapePath:t,credentials:n,signer:s}};Bo.resolveAwsAuthConfig=M6;var D6=e=>{let n=e.credentials?SA(e.credentials):e.credentialDefaultProvider(e),{signingEscapePath:t=!0,systemClockOffset:r=e.systemClockOffset||0,sha256:o}=e,s;return e.signer?s=(0,qo.normalizeProvider)(e.signer):s=(0,qo.normalizeProvider)(new lg.SignatureV4({credentials:n,region:e.region,service:e.signingName,sha256:o,uriEscapePath:t})),{...e,systemClockOffset:r,signingEscapePath:t,credentials:n,signer:s}};Bo.resolveSigV4AuthConfig=D6;var SA=e=>typeof e=="function"?(0,q6.memoize)(e,n=>n.expiration!==void 0&&n.expiration.getTime()-Date.now()n.expiration!==void 0):(0,qo.normalizeProvider)(e)});var ug=m(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});Ml.getSkewCorrectedDate=void 0;var F6=e=>new Date(Date.now()+e);Ml.getSkewCorrectedDate=F6});var bA=m(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});Dl.isClockSkewed=void 0;var L6=ug(),j6=(e,n)=>Math.abs((0,L6.getSkewCorrectedDate)(n).getTime()-e)>=3e5;Dl.isClockSkewed=j6});var PA=m(Fl=>{"use strict";Object.defineProperty(Fl,"__esModule",{value:!0});Fl.getUpdatedSystemClockOffset=void 0;var U6=bA(),z6=(e,n)=>{let t=Date.parse(e);return(0,U6.isClockSkewed)(t,n)?t-Date.now():n};Fl.getUpdatedSystemClockOffset=z6});var kA=m(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});pt.getSigV4AuthPlugin=pt.getAwsAuthPlugin=pt.awsAuthMiddlewareOptions=pt.awsAuthMiddleware=void 0;var wA=we(),G6=ug(),vA=PA(),H6=e=>(n,t)=>async function(r){var o,s,a,i;if(!wA.HttpRequest.isInstance(r.request))return n(r);let u=(a=(s=(o=t.endpointV2)===null||o===void 0?void 0:o.properties)===null||s===void 0?void 0:s.authSchemes)===null||a===void 0?void 0:a[0],l=(u==null?void 0:u.name)==="sigv4a"?(i=u==null?void 0:u.signingRegionSet)===null||i===void 0?void 0:i.join(","):void 0,c=await e.signer(u),y=await n({...r,request:await c.sign(r.request,{signingDate:(0,G6.getSkewCorrectedDate)(e.systemClockOffset),signingRegion:l||t.signing_region,signingService:t.signing_service})}).catch(C=>{var b;let F=(b=C.ServerTime)!==null&&b!==void 0?b:xA(C.$response);throw F&&(e.systemClockOffset=(0,vA.getUpdatedSystemClockOffset)(F,e.systemClockOffset)),C}),_=xA(y.response);return _&&(e.systemClockOffset=(0,vA.getUpdatedSystemClockOffset)(_,e.systemClockOffset)),y};pt.awsAuthMiddleware=H6;var xA=e=>{var n,t,r;return wA.HttpResponse.isInstance(e)?(t=(n=e.headers)===null||n===void 0?void 0:n.date)!==null&&t!==void 0?t:(r=e.headers)===null||r===void 0?void 0:r.Date:void 0};pt.awsAuthMiddlewareOptions={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware",override:!0};var $6=e=>({applyToStack:n=>{n.addRelativeTo((0,pt.awsAuthMiddleware)(e),pt.awsAuthMiddlewareOptions)}});pt.getAwsAuthPlugin=$6;pt.getSigV4AuthPlugin=pt.getAwsAuthPlugin});var Pn=m(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});var AA=(z(),j(U));AA.__exportStar(EA(),Ll);AA.__exportStar(kA(),Ll)});var IA=m(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});jl.resolveUserAgentConfig=void 0;function K6(e){return{...e,customUserAgent:typeof e.customUserAgent=="string"?[[e.customUserAgent]]:e.customUserAgent}}jl.resolveUserAgentConfig=K6});var RA=m((nwe,V6)=>{V6.exports={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"aws-global":{description:"AWS Standard global region"},"ca-central-1":{description:"Canada (Central)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"AWS China global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"AWS GovCloud (US) global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"c2s.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"AWS ISO (US) global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"sc2s.sgov.gov",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"AWS ISOB (US) global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"cloud.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"csp.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{}}],version:"1.1"}});var mg=m(Tt=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});Tt.getUserAgentPrefix=Tt.useDefaultPartitionInfo=Tt.setPartitionInfo=Tt.partition=void 0;var X6=(z(),j(U)),NA=X6.__importDefault(RA()),OA=NA.default,TA="",W6=e=>{let{partitions:n}=OA;for(let r of n){let{regions:o,outputs:s}=r;for(let[a,i]of Object.entries(o))if(a===e)return{...s,...i}}for(let r of n){let{regionRegex:o,outputs:s}=r;if(new RegExp(o).test(e))return{...s}}let t=n.find(r=>r.id==="aws");if(!t)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...t.outputs}};Tt.partition=W6;var Y6=(e,n="")=>{OA=e,TA=n};Tt.setPartitionInfo=Y6;var Q6=()=>{(0,Tt.setPartitionInfo)(NA.default,"")};Tt.useDefaultPartitionInfo=Q6;var J6=()=>TA;Tt.getUserAgentPrefix=J6});var zl=m(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});Ul.isIpAddress=void 0;var Z6=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),eV=e=>Z6.test(e)||e.startsWith("[")&&e.endsWith("]");Ul.isIpAddress=eV});var qA=m(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});Gl.debugId=void 0;Gl.debugId="endpoints"});var BA=m(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});Hl.toDebugString=void 0;function pg(e){return typeof e!="object"||e==null?e:"ref"in e?`$${pg(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(pg).join(", ")})`:JSON.stringify(e,null,2)}Hl.toDebugString=pg});var Xa=m($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});var MA=(z(),j(U));MA.__exportStar(qA(),$l);MA.__exportStar(BA(),$l)});var DA=m(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.EndpointError=void 0;var fg=class extends Error{constructor(n){super(n),this.name="EndpointError"}};Kl.EndpointError=fg});var LA=m(FA=>{"use strict";Object.defineProperty(FA,"__esModule",{value:!0})});var UA=m(jA=>{"use strict";Object.defineProperty(jA,"__esModule",{value:!0})});var GA=m(zA=>{"use strict";Object.defineProperty(zA,"__esModule",{value:!0})});var $A=m(HA=>{"use strict";Object.defineProperty(HA,"__esModule",{value:!0})});var VA=m(KA=>{"use strict";Object.defineProperty(KA,"__esModule",{value:!0})});var bt=m(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});var Mo=(z(),j(U));Mo.__exportStar(DA(),or);Mo.__exportStar(LA(),or);Mo.__exportStar(UA(),or);Mo.__exportStar(GA(),or);Mo.__exportStar($A(),or);Mo.__exportStar(VA(),or)});var yg=m(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});Wa.isValidHostLabel=void 0;var tV=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),nV=(e,n=!1)=>{if(!n)return tV.test(e);let t=e.split(".");for(let r of t)if(!(0,Wa.isValidHostLabel)(r))return!1;return!0};Wa.isValidHostLabel=nV});var XA=m(Ya=>{"use strict";Object.defineProperty(Ya,"__esModule",{value:!0});Ya.isVirtualHostableS3Bucket=void 0;var rV=zl(),oV=yg(),sV=(e,n=!1)=>{if(n){for(let t of e.split("."))if(!(0,Ya.isVirtualHostableS3Bucket)(t))return!1;return!0}return!(!(0,oV.isValidHostLabel)(e)||e.length<3||e.length>63||e!==e.toLowerCase()||(0,rV.isIpAddress)(e))};Ya.isVirtualHostableS3Bucket=sV});var WA=m(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});Vl.parseArn=void 0;var iV=e=>{let n=e.split(":");if(n.length<6)return null;let[t,r,o,s,a,...i]=n;return t!=="arn"||r===""||o===""||i[0]===""?null:{partition:r,service:o,region:s,accountId:a,resourceId:i[0].includes("/")?i[0].split("/"):i}};Vl.parseArn=iV});var YA=m(Qa=>{"use strict";Object.defineProperty(Qa,"__esModule",{value:!0});var _g=(z(),j(U));_g.__exportStar(XA(),Qa);_g.__exportStar(WA(),Qa);_g.__exportStar(mg(),Qa)});var QA=m(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});Xl.booleanEquals=void 0;var aV=(e,n)=>e===n;Xl.booleanEquals=aV});var ZA=m(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.getAttrPathList=void 0;var JA=bt(),cV=e=>{let n=e.split("."),t=[];for(let r of n){let o=r.indexOf("[");if(o!==-1){if(r.indexOf("]")!==r.length-1)throw new JA.EndpointError(`Path: '${e}' does not end with ']'`);let s=r.slice(o+1,-1);if(Number.isNaN(parseInt(s)))throw new JA.EndpointError(`Invalid array index: '${s}' in path: '${e}'`);o!==0&&t.push(r.slice(0,o)),t.push(s)}else t.push(r)}return t};Wl.getAttrPathList=cV});var eI=m(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.getAttr=void 0;var dV=bt(),lV=ZA(),uV=(e,n)=>(0,lV.getAttrPathList)(n).reduce((t,r)=>{if(typeof t!="object")throw new dV.EndpointError(`Index '${r}' in '${n}' not found in '${JSON.stringify(e)}'`);return Array.isArray(t)?t[parseInt(r)]:t[r]},e);Yl.getAttr=uV});var tI=m(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});Ql.isSet=void 0;var mV=e=>e!=null;Ql.isSet=mV});var nI=m(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});Jl.not=void 0;var pV=e=>!e;Jl.not=pV});var oI=m(rI=>{"use strict";Object.defineProperty(rI,"__esModule",{value:!0})});var sI=m(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.HttpAuthLocation=void 0;var fV=x();Object.defineProperty(Zl,"HttpAuthLocation",{enumerable:!0,get:function(){return fV.HttpAuthLocation}})});var aI=m(iI=>{"use strict";Object.defineProperty(iI,"__esModule",{value:!0})});var dI=m(cI=>{"use strict";Object.defineProperty(cI,"__esModule",{value:!0})});var uI=m(lI=>{"use strict";Object.defineProperty(lI,"__esModule",{value:!0})});var pI=m(mI=>{"use strict";Object.defineProperty(mI,"__esModule",{value:!0})});var yI=m(fI=>{"use strict";Object.defineProperty(fI,"__esModule",{value:!0})});var gI=m(_I=>{"use strict";Object.defineProperty(_I,"__esModule",{value:!0})});var CI=m(hI=>{"use strict";Object.defineProperty(hI,"__esModule",{value:!0})});var SI=m(Ja=>{"use strict";Object.defineProperty(Ja,"__esModule",{value:!0});Ja.HostAddressType=void 0;var yV;(function(e){e.AAAA="AAAA",e.A="A"})(yV=Ja.HostAddressType||(Ja.HostAddressType={}))});var bI=m(EI=>{"use strict";Object.defineProperty(EI,"__esModule",{value:!0})});var PI=m(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});eu.EndpointURLScheme=void 0;var _V=x();Object.defineProperty(eu,"EndpointURLScheme",{enumerable:!0,get:function(){return _V.EndpointURLScheme}})});var xI=m(vI=>{"use strict";Object.defineProperty(vI,"__esModule",{value:!0})});var kI=m(wI=>{"use strict";Object.defineProperty(wI,"__esModule",{value:!0})});var II=m(AI=>{"use strict";Object.defineProperty(AI,"__esModule",{value:!0})});var NI=m(RI=>{"use strict";Object.defineProperty(RI,"__esModule",{value:!0})});var TI=m(OI=>{"use strict";Object.defineProperty(OI,"__esModule",{value:!0})});var BI=m(qI=>{"use strict";Object.defineProperty(qI,"__esModule",{value:!0})});var DI=m(MI=>{"use strict";Object.defineProperty(MI,"__esModule",{value:!0})});var LI=m(FI=>{"use strict";Object.defineProperty(FI,"__esModule",{value:!0})});var jI=m(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});var Za=(z(),j(U));Za.__exportStar(NI(),Gr);Za.__exportStar(TI(),Gr);Za.__exportStar(BI(),Gr);Za.__exportStar(DI(),Gr);Za.__exportStar(LI(),Gr)});var zI=m(UI=>{"use strict";Object.defineProperty(UI,"__esModule",{value:!0})});var HI=m(GI=>{"use strict";Object.defineProperty(GI,"__esModule",{value:!0})});var KI=m($I=>{"use strict";Object.defineProperty($I,"__esModule",{value:!0})});var XI=m(VI=>{"use strict";Object.defineProperty(VI,"__esModule",{value:!0})});var YI=m(WI=>{"use strict";Object.defineProperty(WI,"__esModule",{value:!0})});var JI=m(QI=>{"use strict";Object.defineProperty(QI,"__esModule",{value:!0})});var eR=m(ZI=>{"use strict";Object.defineProperty(ZI,"__esModule",{value:!0})});var nR=m(tR=>{"use strict";Object.defineProperty(tR,"__esModule",{value:!0})});var oR=m(rR=>{"use strict";Object.defineProperty(rR,"__esModule",{value:!0})});var iR=m(sR=>{"use strict";Object.defineProperty(sR,"__esModule",{value:!0})});var cR=m(aR=>{"use strict";Object.defineProperty(aR,"__esModule",{value:!0})});var lR=m(dR=>{"use strict";Object.defineProperty(dR,"__esModule",{value:!0})});var uR=m(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});tu.RequestHandlerProtocol=void 0;var gV=x();Object.defineProperty(tu,"RequestHandlerProtocol",{enumerable:!0,get:function(){return gV.RequestHandlerProtocol}})});var pR=m(mR=>{"use strict";Object.defineProperty(mR,"__esModule",{value:!0})});var yR=m(fR=>{"use strict";Object.defineProperty(fR,"__esModule",{value:!0})});var gR=m(_R=>{"use strict";Object.defineProperty(_R,"__esModule",{value:!0})});var hR=m(fe=>{"use strict";Object.defineProperty(fe,"__esModule",{value:!0});var _e=(z(),j(U));_e.__exportStar(oI(),fe);_e.__exportStar(sI(),fe);_e.__exportStar(aI(),fe);_e.__exportStar(dI(),fe);_e.__exportStar(uI(),fe);_e.__exportStar(pI(),fe);_e.__exportStar(yI(),fe);_e.__exportStar(gI(),fe);_e.__exportStar(CI(),fe);_e.__exportStar(SI(),fe);_e.__exportStar(bI(),fe);_e.__exportStar(PI(),fe);_e.__exportStar(xI(),fe);_e.__exportStar(kI(),fe);_e.__exportStar(II(),fe);_e.__exportStar(jI(),fe);_e.__exportStar(zI(),fe);_e.__exportStar(HI(),fe);_e.__exportStar(KI(),fe);_e.__exportStar(XI(),fe);_e.__exportStar(YI(),fe);_e.__exportStar(JI(),fe);_e.__exportStar(eR(),fe);_e.__exportStar(nR(),fe);_e.__exportStar(oR(),fe);_e.__exportStar(iR(),fe);_e.__exportStar(cR(),fe);_e.__exportStar(lR(),fe);_e.__exportStar(uR(),fe);_e.__exportStar(pR(),fe);_e.__exportStar(yR(),fe);_e.__exportStar(gR(),fe)});var CR=m(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.parseURL=void 0;var hg=hR(),hV=zl(),gg={[hg.EndpointURLScheme.HTTP]:80,[hg.EndpointURLScheme.HTTPS]:443},CV=e=>{let n=(()=>{try{if(e instanceof URL)return e;if(typeof e=="object"&&"hostname"in e){let{hostname:_,port:C,protocol:b="",path:F="",query:L={}}=e,V=new URL(`${b}//${_}${C?`:${C}`:""}${F}`);return V.search=Object.entries(L).map(([me,Mt])=>`${me}=${Mt}`).join("&"),V}return new URL(e)}catch{return null}})();if(!n)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;let t=n.href,{host:r,hostname:o,pathname:s,protocol:a,search:i}=n;if(i)return null;let u=a.slice(0,-1);if(!Object.values(hg.EndpointURLScheme).includes(u))return null;let l=(0,hV.isIpAddress)(o),c=t.includes(`${r}:${gg[u]}`)||typeof e=="string"&&e.includes(`${r}:${gg[u]}`),y=`${r}${c?`:${gg[u]}`:""}`;return{scheme:u,authority:y,path:s,normalizedPath:s.endsWith("/")?s:`${s}/`,isIp:l}};nu.parseURL=CV});var SR=m(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.stringEquals=void 0;var SV=(e,n)=>e===n;ru.stringEquals=SV});var ER=m(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.substring=void 0;var EV=(e,n,t,r)=>n>=t||e.length{"use strict";Object.defineProperty(su,"__esModule",{value:!0});su.uriEncode=void 0;var bV=e=>encodeURIComponent(e).replace(/[!*'()]/g,n=>`%${n.charCodeAt(0).toString(16).toUpperCase()}`);su.uriEncode=bV});var Cg=m(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});ft.aws=void 0;var $t=(z(),j(U));ft.aws=$t.__importStar(YA());$t.__exportStar(QA(),ft);$t.__exportStar(eI(),ft);$t.__exportStar(tI(),ft);$t.__exportStar(yg(),ft);$t.__exportStar(nI(),ft);$t.__exportStar(CR(),ft);$t.__exportStar(SR(),ft);$t.__exportStar(ER(),ft);$t.__exportStar(bR(),ft)});var Sg=m(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.evaluateTemplate=void 0;var PV=Cg(),vV=(e,n)=>{let t=[],r={...n.endpointParams,...n.referenceRecord},o=0;for(;o{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.getReferenceValue=void 0;var xV=({ref:e},n)=>({...n.endpointParams,...n.referenceRecord})[e];au.getReferenceValue=xV});var ec=m(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.evaluateExpression=void 0;var wV=bt(),kV=Eg(),AV=Sg(),IV=PR(),RV=(e,n,t)=>{if(typeof e=="string")return(0,AV.evaluateTemplate)(e,t);if(e.fn)return(0,kV.callFunction)(e,t);if(e.ref)return(0,IV.getReferenceValue)(e,t);throw new wV.EndpointError(`'${n}': ${String(e)} is not a string, function or reference.`)};cu.evaluateExpression=RV});var Eg=m(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.callFunction=void 0;var NV=(z(),j(U)),OV=NV.__importStar(Cg()),TV=ec(),qV=({fn:e,argv:n},t)=>{let r=n.map(o=>["boolean","number"].includes(typeof o)?o:(0,TV.evaluateExpression)(o,"arg",t));return e.split(".").reduce((o,s)=>o[s],OV)(...r)};du.callFunction=qV});var vR=m(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.evaluateCondition=void 0;var bg=Xa(),BV=bt(),MV=Eg(),DV=({assign:e,...n},t)=>{var r,o;if(e&&e in t.referenceRecord)throw new BV.EndpointError(`'${e}' is already defined in Reference Record.`);let s=(0,MV.callFunction)(n,t);return(o=(r=t.logger)===null||r===void 0?void 0:r.debug)===null||o===void 0||o.call(r,bg.debugId,`evaluateCondition: ${(0,bg.toDebugString)(n)} = ${(0,bg.toDebugString)(s)}`),{result:s===""?!0:!!s,...e!=null&&{toAssign:{name:e,value:s}}}};lu.evaluateCondition=DV});var mu=m(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.evaluateConditions=void 0;var xR=Xa(),FV=vR(),LV=(e=[],n)=>{var t,r;let o={};for(let s of e){let{result:a,toAssign:i}=(0,FV.evaluateCondition)(s,{...n,referenceRecord:{...n.referenceRecord,...o}});if(!a)return{result:a};i&&(o[i.name]=i.value,(r=(t=n.logger)===null||t===void 0?void 0:t.debug)===null||r===void 0||r.call(t,xR.debugId,`assign: ${i.name} := ${(0,xR.toDebugString)(i.value)}`))}return{result:!0,referenceRecord:o}};uu.evaluateConditions=LV});var wR=m(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});pu.getEndpointHeaders=void 0;var jV=bt(),UV=ec(),zV=(e,n)=>Object.entries(e).reduce((t,[r,o])=>({...t,[r]:o.map(s=>{let a=(0,UV.evaluateExpression)(s,"Header value entry",n);if(typeof a!="string")throw new jV.EndpointError(`Header '${r}' value '${a}' is not a string`);return a})}),{});pu.getEndpointHeaders=zV});var AR=m(tc=>{"use strict";Object.defineProperty(tc,"__esModule",{value:!0});tc.getEndpointProperty=void 0;var kR=bt(),GV=Sg(),HV=Pg(),$V=(e,n)=>{if(Array.isArray(e))return e.map(t=>(0,tc.getEndpointProperty)(t,n));switch(typeof e){case"string":return(0,GV.evaluateTemplate)(e,n);case"object":if(e===null)throw new kR.EndpointError(`Unexpected endpoint property: ${e}`);return(0,HV.getEndpointProperties)(e,n);case"boolean":return e;default:throw new kR.EndpointError(`Unexpected endpoint property type: ${typeof e}`)}};tc.getEndpointProperty=$V});var Pg=m(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});fu.getEndpointProperties=void 0;var KV=AR(),VV=(e,n)=>Object.entries(e).reduce((t,[r,o])=>({...t,[r]:(0,KV.getEndpointProperty)(o,n)}),{});fu.getEndpointProperties=VV});var IR=m(yu=>{"use strict";Object.defineProperty(yu,"__esModule",{value:!0});yu.getEndpointUrl=void 0;var XV=bt(),WV=ec(),YV=(e,n)=>{let t=(0,WV.evaluateExpression)(e,"Endpoint URL",n);if(typeof t=="string")try{return new URL(t)}catch(r){throw console.error(`Failed to construct URL with ${t}`,r),r}throw new XV.EndpointError(`Endpoint URL must be a string, got ${typeof t}`)};yu.getEndpointUrl=YV});var NR=m(_u=>{"use strict";Object.defineProperty(_u,"__esModule",{value:!0});_u.evaluateEndpointRule=void 0;var RR=Xa(),QV=mu(),JV=wR(),ZV=Pg(),eX=IR(),tX=(e,n)=>{var t,r;let{conditions:o,endpoint:s}=e,{result:a,referenceRecord:i}=(0,QV.evaluateConditions)(o,n);if(!a)return;let u={...n,referenceRecord:{...n.referenceRecord,...i}},{url:l,properties:c,headers:y}=s;return(r=(t=n.logger)===null||t===void 0?void 0:t.debug)===null||r===void 0||r.call(t,RR.debugId,`Resolving endpoint from template: ${(0,RR.toDebugString)(s)}`),{...y!=null&&{headers:(0,JV.getEndpointHeaders)(y,u)},...c!=null&&{properties:(0,ZV.getEndpointProperties)(c,u)},url:(0,eX.getEndpointUrl)(l,u)}};_u.evaluateEndpointRule=tX});var OR=m(gu=>{"use strict";Object.defineProperty(gu,"__esModule",{value:!0});gu.evaluateErrorRule=void 0;var nX=bt(),rX=mu(),oX=ec(),sX=(e,n)=>{let{conditions:t,error:r}=e,{result:o,referenceRecord:s}=(0,rX.evaluateConditions)(t,n);if(o)throw new nX.EndpointError((0,oX.evaluateExpression)(r,"Error",{...n,referenceRecord:{...n.referenceRecord,...s}}))};gu.evaluateErrorRule=sX});var TR=m(hu=>{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});hu.evaluateTreeRule=void 0;var iX=mu(),aX=vg(),cX=(e,n)=>{let{conditions:t,rules:r}=e,{result:o,referenceRecord:s}=(0,iX.evaluateConditions)(t,n);if(o)return(0,aX.evaluateRules)(r,{...n,referenceRecord:{...n.referenceRecord,...s}})};hu.evaluateTreeRule=cX});var vg=m(Cu=>{"use strict";Object.defineProperty(Cu,"__esModule",{value:!0});Cu.evaluateRules=void 0;var qR=bt(),dX=NR(),lX=OR(),uX=TR(),mX=(e,n)=>{for(let t of e)if(t.type==="endpoint"){let r=(0,dX.evaluateEndpointRule)(t,n);if(r)return r}else if(t.type==="error")(0,lX.evaluateErrorRule)(t,n);else if(t.type==="tree"){let r=(0,uX.evaluateTreeRule)(t,n);if(r)return r}else throw new qR.EndpointError(`Unknown endpoint rule: ${t}`);throw new qR.EndpointError("Rules evaluation failed")};Cu.evaluateRules=mX});var BR=m(xg=>{"use strict";Object.defineProperty(xg,"__esModule",{value:!0});var pX=(z(),j(U));pX.__exportStar(vg(),xg)});var MR=m(Eu=>{"use strict";Object.defineProperty(Eu,"__esModule",{value:!0});Eu.resolveEndpoint=void 0;var Su=Xa(),fX=bt(),yX=BR(),_X=(e,n)=>{var t,r,o,s,a,i;let{endpointParams:u,logger:l}=n,{parameters:c,rules:y}=e;(r=(t=n.logger)===null||t===void 0?void 0:t.debug)===null||r===void 0||r.call(t,`${Su.debugId} Initial EndpointParams: ${(0,Su.toDebugString)(u)}`);let _=Object.entries(c).filter(([,F])=>F.default!=null).map(([F,L])=>[F,L.default]);if(_.length>0)for(let[F,L]of _)u[F]=(o=u[F])!==null&&o!==void 0?o:L;let C=Object.entries(c).filter(([,F])=>F.required).map(([F])=>F);for(let F of C)if(u[F]==null)throw new fX.EndpointError(`Missing required parameter: '${F}'`);let b=(0,yX.evaluateRules)(y,{endpointParams:u,logger:l,referenceRecord:{}});if(!((s=n.endpointParams)===null||s===void 0)&&s.Endpoint)try{let F=new URL(n.endpointParams.Endpoint),{protocol:L,port:V}=F;b.url.protocol=L,b.url.port=V}catch{}return(i=(a=n.logger)===null||a===void 0?void 0:a.debug)===null||i===void 0||i.call(a,`${Su.debugId} Resolved endpoint: ${(0,Su.toDebugString)(b)}`),b};Eu.resolveEndpoint=_X});var Fo=m(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});var bu=(z(),j(U));bu.__exportStar(mg(),Do);bu.__exportStar(zl(),Do);bu.__exportStar(MR(),Do);bu.__exportStar(bt(),Do)});var DR=m(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});et.UA_ESCAPE_CHAR=et.UA_VALUE_ESCAPE_REGEX=et.UA_NAME_ESCAPE_REGEX=et.UA_NAME_SEPARATOR=et.SPACE=et.X_AMZ_USER_AGENT=et.USER_AGENT=void 0;et.USER_AGENT="user-agent";et.X_AMZ_USER_AGENT="x-amz-user-agent";et.SPACE=" ";et.UA_NAME_SEPARATOR="/";et.UA_NAME_ESCAPE_REGEX=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g;et.UA_VALUE_ESCAPE_REGEX=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;et.UA_ESCAPE_CHAR="-"});var FR=m(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt.getUserAgentPlugin=Kt.getUserAgentMiddlewareOptions=Kt.userAgentMiddleware=void 0;var gX=Fo(),hX=we(),ct=DR(),CX=e=>(n,t)=>async r=>{var o,s;let{request:a}=r;if(!hX.HttpRequest.isInstance(a))return n(r);let{headers:i}=a,u=((o=t==null?void 0:t.userAgent)===null||o===void 0?void 0:o.map(wg))||[],l=(await e.defaultUserAgentProvider()).map(wg),c=((s=e==null?void 0:e.customUserAgent)===null||s===void 0?void 0:s.map(wg))||[],y=(0,gX.getUserAgentPrefix)(),_=(y?[y]:[]).concat([...l,...u,...c]).join(ct.SPACE),C=[...l.filter(b=>b.startsWith("aws-sdk-")),...c].join(ct.SPACE);return e.runtime!=="browser"?(C&&(i[ct.X_AMZ_USER_AGENT]=i[ct.X_AMZ_USER_AGENT]?`${i[ct.USER_AGENT]} ${C}`:C),i[ct.USER_AGENT]=_):i[ct.X_AMZ_USER_AGENT]=_,n({...r,request:a})};Kt.userAgentMiddleware=CX;var wg=e=>{var n;let t=e[0].split(ct.UA_NAME_SEPARATOR).map(i=>i.replace(ct.UA_NAME_ESCAPE_REGEX,ct.UA_ESCAPE_CHAR)).join(ct.UA_NAME_SEPARATOR),r=(n=e[1])===null||n===void 0?void 0:n.replace(ct.UA_VALUE_ESCAPE_REGEX,ct.UA_ESCAPE_CHAR),o=t.indexOf(ct.UA_NAME_SEPARATOR),s=t.substring(0,o),a=t.substring(o+1);return s==="api"&&(a=a.toLowerCase()),[s,a,r].filter(i=>i&&i.length>0).reduce((i,u,l)=>{switch(l){case 0:return u;case 1:return`${i}/${u}`;default:return`${i}#${u}`}},"")};Kt.getUserAgentMiddlewareOptions={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0};var SX=e=>({applyToStack:n=>{n.add((0,Kt.userAgentMiddleware)(e),Kt.getUserAgentMiddlewareOptions)}});Kt.getUserAgentPlugin=SX});var nc=m(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});var LR=(z(),j(U));LR.__exportStar(IA(),Pu);LR.__exportStar(FR(),Pu)});var jR=m(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});Hr.booleanSelector=Hr.SelectorType=void 0;var EX;(function(e){e.ENV="env",e.CONFIG="shared config entry"})(EX=Hr.SelectorType||(Hr.SelectorType={}));var bX=(e,n,t)=>{if(n in e){if(e[n]==="true")return!0;if(e[n]==="false")return!1;throw new Error(`Cannot load ${t} "${n}". Expected "true" or "false", got ${e[n]}.`)}};Hr.booleanSelector=bX});var rc=m(kg=>{"use strict";Object.defineProperty(kg,"__esModule",{value:!0});var PX=(z(),j(U));PX.__exportStar(jR(),kg)});var UR=m(Pt=>{"use strict";Object.defineProperty(Pt,"__esModule",{value:!0});Pt.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=Pt.DEFAULT_USE_DUALSTACK_ENDPOINT=Pt.CONFIG_USE_DUALSTACK_ENDPOINT=Pt.ENV_USE_DUALSTACK_ENDPOINT=void 0;var vu=rc();Pt.ENV_USE_DUALSTACK_ENDPOINT="AWS_USE_DUALSTACK_ENDPOINT";Pt.CONFIG_USE_DUALSTACK_ENDPOINT="use_dualstack_endpoint";Pt.DEFAULT_USE_DUALSTACK_ENDPOINT=!1;Pt.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:e=>(0,vu.booleanSelector)(e,Pt.ENV_USE_DUALSTACK_ENDPOINT,vu.SelectorType.ENV),configFileSelector:e=>(0,vu.booleanSelector)(e,Pt.CONFIG_USE_DUALSTACK_ENDPOINT,vu.SelectorType.CONFIG),default:!1}});var zR=m(vt=>{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});vt.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=vt.DEFAULT_USE_FIPS_ENDPOINT=vt.CONFIG_USE_FIPS_ENDPOINT=vt.ENV_USE_FIPS_ENDPOINT=void 0;var xu=rc();vt.ENV_USE_FIPS_ENDPOINT="AWS_USE_FIPS_ENDPOINT";vt.CONFIG_USE_FIPS_ENDPOINT="use_fips_endpoint";vt.DEFAULT_USE_FIPS_ENDPOINT=!1;vt.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:e=>(0,xu.booleanSelector)(e,vt.ENV_USE_FIPS_ENDPOINT,xu.SelectorType.ENV),configFileSelector:e=>(0,xu.booleanSelector)(e,vt.CONFIG_USE_FIPS_ENDPOINT,xu.SelectorType.CONFIG),default:!1}});var HR=m(wu=>{"use strict";Object.defineProperty(wu,"__esModule",{value:!0});wu.resolveCustomEndpointsConfig=void 0;var GR=Lr(),vX=e=>{var n,t;let{endpoint:r,urlParser:o}=e;return{...e,tls:(n=e.tls)!==null&&n!==void 0?n:!0,endpoint:(0,GR.normalizeProvider)(typeof r=="string"?o(r):r),isCustomEndpoint:!0,useDualstackEndpoint:(0,GR.normalizeProvider)((t=e.useDualstackEndpoint)!==null&&t!==void 0?t:!1)}};wu.resolveCustomEndpointsConfig=vX});var $R=m(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});ku.getEndpointFromRegion=void 0;var xX=async e=>{var n;let{tls:t=!0}=e,r=await e.region();if(!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(r))throw new Error("Invalid region in client config");let s=await e.useDualstackEndpoint(),a=await e.useFipsEndpoint(),{hostname:i}=(n=await e.regionInfoProvider(r,{useDualstackEndpoint:s,useFipsEndpoint:a}))!==null&&n!==void 0?n:{};if(!i)throw new Error("Cannot resolve hostname from client config");return e.urlParser(`${t?"https:":"http:"}//${i}`)};ku.getEndpointFromRegion=xX});var VR=m(Au=>{"use strict";Object.defineProperty(Au,"__esModule",{value:!0});Au.resolveEndpointsConfig=void 0;var KR=Lr(),wX=$R(),kX=e=>{var n,t;let r=(0,KR.normalizeProvider)((n=e.useDualstackEndpoint)!==null&&n!==void 0?n:!1),{endpoint:o,useFipsEndpoint:s,urlParser:a}=e;return{...e,tls:(t=e.tls)!==null&&t!==void 0?t:!0,endpoint:o?(0,KR.normalizeProvider)(typeof o=="string"?a(o):o):()=>(0,wX.getEndpointFromRegion)({...e,useDualstackEndpoint:r,useFipsEndpoint:s}),isCustomEndpoint:!!o,useDualstackEndpoint:r}};Au.resolveEndpointsConfig=kX});var XR=m(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});var Iu=(z(),j(U));Iu.__exportStar(UR(),Lo);Iu.__exportStar(zR(),Lo);Iu.__exportStar(HR(),Lo);Iu.__exportStar(VR(),Lo)});var WR=m(xt=>{"use strict";Object.defineProperty(xt,"__esModule",{value:!0});xt.NODE_REGION_CONFIG_FILE_OPTIONS=xt.NODE_REGION_CONFIG_OPTIONS=xt.REGION_INI_NAME=xt.REGION_ENV_NAME=void 0;xt.REGION_ENV_NAME="AWS_REGION";xt.REGION_INI_NAME="region";xt.NODE_REGION_CONFIG_OPTIONS={environmentVariableSelector:e=>e[xt.REGION_ENV_NAME],configFileSelector:e=>e[xt.REGION_INI_NAME],default:()=>{throw new Error("Region is missing")}};xt.NODE_REGION_CONFIG_FILE_OPTIONS={preferredFile:"credentials"}});var Ag=m(Ru=>{"use strict";Object.defineProperty(Ru,"__esModule",{value:!0});Ru.isFipsRegion=void 0;var AX=e=>typeof e=="string"&&(e.startsWith("fips-")||e.endsWith("-fips"));Ru.isFipsRegion=AX});var YR=m(Nu=>{"use strict";Object.defineProperty(Nu,"__esModule",{value:!0});Nu.getRealRegion=void 0;var IX=Ag(),RX=e=>(0,IX.isFipsRegion)(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e;Nu.getRealRegion=RX});var JR=m(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.resolveRegionConfig=void 0;var QR=YR(),NX=Ag(),OX=e=>{let{region:n,useFipsEndpoint:t}=e;if(!n)throw new Error("Region is missing");return{...e,region:async()=>{if(typeof n=="string")return(0,QR.getRealRegion)(n);let r=await n();return(0,QR.getRealRegion)(r)},useFipsEndpoint:async()=>{let r=typeof n=="string"?n:await n();return(0,NX.isFipsRegion)(r)?!0:typeof t!="function"?Promise.resolve(!!t):t()}}};Ou.resolveRegionConfig=OX});var eN=m(Tu=>{"use strict";Object.defineProperty(Tu,"__esModule",{value:!0});var ZR=(z(),j(U));ZR.__exportStar(WR(),Tu);ZR.__exportStar(JR(),Tu)});var nN=m(tN=>{"use strict";Object.defineProperty(tN,"__esModule",{value:!0})});var oN=m(rN=>{"use strict";Object.defineProperty(rN,"__esModule",{value:!0})});var sN=m(qu=>{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});qu.getHostnameFromVariants=void 0;var TX=(e=[],{useFipsEndpoint:n,useDualstackEndpoint:t})=>{var r;return(r=e.find(({tags:o})=>n===o.includes("fips")&&t===o.includes("dualstack")))===null||r===void 0?void 0:r.hostname};qu.getHostnameFromVariants=TX});var iN=m(Bu=>{"use strict";Object.defineProperty(Bu,"__esModule",{value:!0});Bu.getResolvedHostname=void 0;var qX=(e,{regionHostname:n,partitionHostname:t})=>n||(t?t.replace("{region}",e):void 0);Bu.getResolvedHostname=qX});var aN=m(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.getResolvedPartition=void 0;var BX=(e,{partitionHash:n})=>{var t;return(t=Object.keys(n||{}).find(r=>n[r].regions.includes(e)))!==null&&t!==void 0?t:"aws"};Mu.getResolvedPartition=BX});var cN=m(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.getResolvedSigningRegion=void 0;var MX=(e,{signingRegion:n,regionRegex:t,useFipsEndpoint:r})=>{if(n)return n;if(r){let o=t.replace("\\\\","\\").replace(/^\^/g,"\\.").replace(/\$$/g,"\\."),s=e.match(o);if(s)return s[0].slice(1,-1)}};Du.getResolvedSigningRegion=MX});var lN=m(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Fu.getRegionInfo=void 0;var dN=sN(),DX=iN(),FX=aN(),LX=cN(),jX=(e,{useFipsEndpoint:n=!1,useDualstackEndpoint:t=!1,signingService:r,regionHash:o,partitionHash:s})=>{var a,i,u,l,c,y;let _=(0,FX.getResolvedPartition)(e,{partitionHash:s}),C=e in o?e:(i=(a=s[_])===null||a===void 0?void 0:a.endpoint)!==null&&i!==void 0?i:e,b={useFipsEndpoint:n,useDualstackEndpoint:t},F=(0,dN.getHostnameFromVariants)((u=o[C])===null||u===void 0?void 0:u.variants,b),L=(0,dN.getHostnameFromVariants)((l=s[_])===null||l===void 0?void 0:l.variants,b),V=(0,DX.getResolvedHostname)(C,{regionHostname:F,partitionHostname:L});if(V===void 0)throw new Error(`Endpoint resolution failed for: ${{resolvedRegion:C,useFipsEndpoint:n,useDualstackEndpoint:t}}`);let me=(0,LX.getResolvedSigningRegion)(V,{signingRegion:(c=o[C])===null||c===void 0?void 0:c.signingRegion,regionRegex:s[_].regionRegex,useFipsEndpoint:n});return{partition:_,signingService:r,hostname:V,...me&&{signingRegion:me},...((y=o[C])===null||y===void 0?void 0:y.signingService)&&{signingService:o[C].signingService}}};Fu.getRegionInfo=jX});var uN=m(oc=>{"use strict";Object.defineProperty(oc,"__esModule",{value:!0});var Ig=(z(),j(U));Ig.__exportStar(nN(),oc);Ig.__exportStar(oN(),oc);Ig.__exportStar(lN(),oc)});var Vt=m(sc=>{"use strict";Object.defineProperty(sc,"__esModule",{value:!0});var Rg=(z(),j(U));Rg.__exportStar(XR(),sc);Rg.__exportStar(eN(),sc);Rg.__exportStar(uN(),sc)});var mN=m(Lu=>{"use strict";Object.defineProperty(Lu,"__esModule",{value:!0});Lu.resolveEventStreamSerdeConfig=void 0;var UX=e=>({...e,eventStreamMarshaller:e.eventStreamSerdeProvider(e)});Lu.resolveEventStreamSerdeConfig=UX});var pN=m(Ng=>{"use strict";Object.defineProperty(Ng,"__esModule",{value:!0});var zX=(z(),j(U));zX.__exportStar(mN(),Ng)});var ic=m(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.getContentLengthPlugin=vn.contentLengthMiddlewareOptions=vn.contentLengthMiddleware=void 0;var GX=we(),fN="content-length";function yN(e){return n=>async t=>{let r=t.request;if(GX.HttpRequest.isInstance(r)){let{body:o,headers:s}=r;if(o&&Object.keys(s).map(a=>a.toLowerCase()).indexOf(fN)===-1)try{let a=e(o);r.headers={...r.headers,[fN]:String(a)}}catch{}}return n({...t,request:r})}}vn.contentLengthMiddleware=yN;vn.contentLengthMiddlewareOptions={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0};var HX=e=>({applyToStack:n=>{n.add(yN(e.bodyLengthChecker),vn.contentLengthMiddlewareOptions)}});vn.getContentLengthPlugin=HX});var _N=m(dt=>{"use strict";Object.defineProperty(dt,"__esModule",{value:!0});dt.isArnBucketName=dt.isDnsCompatibleBucketName=dt.S3_HOSTNAME_PATTERN=dt.DOT_PATTERN=dt.resolveParamsForS3=void 0;var $X=async e=>{let n=(e==null?void 0:e.Bucket)||"";if(typeof e.Bucket=="string"&&(e.Bucket=n.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),(0,dt.isArnBucketName)(n)){if(e.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else(!(0,dt.isDnsCompatibleBucketName)(n)||n.indexOf(".")!==-1&&!String(e.Endpoint).startsWith("http:")||n.toLowerCase()!==n||n.length<3)&&(e.ForcePathStyle=!0);return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e};dt.resolveParamsForS3=$X;var KX=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,VX=/(\d+\.){3}\d+/,XX=/\.\./;dt.DOT_PATTERN=/\./;dt.S3_HOSTNAME_PATTERN=/^(.+\.)?s3(-fips)?(\.dualstack)?[.-]([a-z0-9-]+)\./;var WX=e=>KX.test(e)&&!VX.test(e)&&!XX.test(e);dt.isDnsCompatibleBucketName=WX;var YX=e=>{let[n,t,r,o,s,a]=e.split(":"),i=n==="arn"&&e.split(":").length>=6,u=[n,t,r,s,a].filter(Boolean).length===5;if(i&&!u)throw new Error(`Invalid ARN: ${e} was an invalid ARN.`);return n==="arn"&&!!t&&!!r&&!!s&&!!a};dt.isArnBucketName=YX});var gN=m(Og=>{"use strict";Object.defineProperty(Og,"__esModule",{value:!0});var QX=(z(),j(U));QX.__exportStar(_N(),Og)});var hN=m(ju=>{"use strict";Object.defineProperty(ju,"__esModule",{value:!0});ju.createConfigValueProvider=void 0;var JX=(e,n,t)=>{let r=async()=>{var o;let s=(o=t[e])!==null&&o!==void 0?o:t[n];return typeof s=="function"?s():s};return e==="endpoint"||n==="endpoint"?async()=>{let o=await r();if(o&&typeof o=="object"){if("url"in o)return o.url.href;if("hostname"in o){let{protocol:s,hostname:a,port:i,path:u}=o;return`${s}//${a}${i?":"+i:""}${u}`}}return o}:r};ju.createConfigValueProvider=JX});var Tg=m($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.resolveParams=$r.getEndpointFromInstructions=void 0;var ZX=gN(),e8=hN(),t8=async(e,n,t,r)=>{let o=await(0,$r.resolveParams)(e,n,t);if(typeof t.endpointProvider!="function")throw new Error("config.endpointProvider is not set.");return t.endpointProvider(o,r)};$r.getEndpointFromInstructions=t8;var n8=async(e,n,t)=>{var r;let o={},s=((r=n==null?void 0:n.getEndpointParameterInstructions)===null||r===void 0?void 0:r.call(n))||{};for(let[a,i]of Object.entries(s))switch(i.type){case"staticContextParams":o[a]=i.value;break;case"contextParams":o[a]=e[i.name];break;case"clientContextParams":case"builtInParams":o[a]=await(0,e8.createConfigValueProvider)(i.name,a,t)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(i))}return Object.keys(s).length===0&&Object.assign(o,t),String(t.serviceId).toLowerCase()==="s3"&&await(0,ZX.resolveParamsForS3)(o),o};$r.resolveParams=n8});var CN=m(Uu=>{"use strict";Object.defineProperty(Uu,"__esModule",{value:!0});Uu.parseQueryString=void 0;function r8(e){let n={};if(e=e.replace(/^\?/,""),e)for(let t of e.split("&")){let[r,o=null]=t.split("=");r=decodeURIComponent(r),o&&(o=decodeURIComponent(o)),r in n?Array.isArray(n[r])?n[r].push(o):n[r]=[n[r],o]:n[r]=o}return n}Uu.parseQueryString=r8});var Kr=m(ac=>{"use strict";Object.defineProperty(ac,"__esModule",{value:!0});ac.parseUrl=void 0;var o8=CN(),s8=e=>{if(typeof e=="string")return(0,ac.parseUrl)(new URL(e));let{hostname:n,pathname:t,port:r,protocol:o,search:s}=e,a;return s&&(a=(0,o8.parseQueryString)(s)),{hostname:n,port:r?parseInt(r):void 0,protocol:o,path:t,query:a}};ac.parseUrl=s8});var qg=m(zu=>{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});zu.toEndpointV1=void 0;var SN=Kr(),i8=e=>typeof e=="object"?"url"in e?(0,SN.parseUrl)(e.url):e:(0,SN.parseUrl)(e);zu.toEndpointV1=i8});var bN=m(Gu=>{"use strict";Object.defineProperty(Gu,"__esModule",{value:!0});var EN=(z(),j(U));EN.__exportStar(Tg(),Gu);EN.__exportStar(qg(),Gu)});var Bg=m(Hu=>{"use strict";Object.defineProperty(Hu,"__esModule",{value:!0});Hu.endpointMiddleware=void 0;var a8=Tg(),c8=({config:e,instructions:n})=>(t,r)=>async o=>{var s,a;let i=await(0,a8.getEndpointFromInstructions)(o.input,{getEndpointParameterInstructions(){return n}},{...e},r);r.endpointV2=i,r.authSchemes=(s=i.properties)===null||s===void 0?void 0:s.authSchemes;let u=(a=r.authSchemes)===null||a===void 0?void 0:a[0];return u&&(r.signing_region=u.signingRegion,r.signing_service=u.signingName),t({...o})};Hu.endpointMiddleware=c8});var Mg=m($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});$u.deserializerMiddleware=void 0;var d8=(e,n)=>(t,r)=>async o=>{let{response:s}=await t(o);try{let a=await n(s,e);return{response:s,output:a}}catch(a){if(Object.defineProperty(a,"$response",{value:s}),!("$metadata"in a)){let i="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";a.message+=` - `+i}throw a}};$u.deserializerMiddleware=d8});var Dg=m(Ku=>{"use strict";Object.defineProperty(Ku,"__esModule",{value:!0});Ku.serializerMiddleware=void 0;var l8=(e,n)=>(t,r)=>async o=>{var s;let a=!((s=r.endpointV2)===null||s===void 0)&&s.url&&e.urlParser?async()=>e.urlParser(r.endpointV2.url):e.endpoint;if(!a)throw new Error("No valid endpoint provider available.");let i=await n(o.input,{...e,endpoint:a});return t({...o,request:i})};Ku.serializerMiddleware=l8});var PN=m(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.getSerdePlugin=Xt.serializerMiddlewareOption=Xt.deserializerMiddlewareOption=void 0;var u8=Mg(),m8=Dg();Xt.deserializerMiddlewareOption={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0};Xt.serializerMiddlewareOption={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function p8(e,n,t){return{applyToStack:r=>{r.add((0,u8.deserializerMiddleware)(e,t),Xt.deserializerMiddlewareOption),r.add((0,m8.serializerMiddleware)(e,n),Xt.serializerMiddlewareOption)}}}Xt.getSerdePlugin=p8});var w=m(cc=>{"use strict";Object.defineProperty(cc,"__esModule",{value:!0});var Fg=(z(),j(U));Fg.__exportStar(Mg(),cc);Fg.__exportStar(PN(),cc);Fg.__exportStar(Dg(),cc)});var vN=m(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.getEndpointPlugin=Vr.endpointMiddlewareOptions=void 0;var f8=w(),y8=Bg();Vr.endpointMiddlewareOptions={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:f8.serializerMiddlewareOption.name};var _8=(e,n)=>({applyToStack:t=>{t.addRelativeTo((0,y8.endpointMiddleware)({config:e,instructions:n}),Vr.endpointMiddlewareOptions)}});Vr.getEndpointPlugin=_8});var xN=m(Vu=>{"use strict";Object.defineProperty(Vu,"__esModule",{value:!0});Vu.resolveEndpointConfig=void 0;var Lg=Lr(),g8=qg(),h8=e=>{var n,t,r;let o=(n=e.tls)!==null&&n!==void 0?n:!0,{endpoint:s}=e,a=s!=null?async()=>(0,g8.toEndpointV1)(await(0,Lg.normalizeProvider)(s)()):void 0;return{...e,endpoint:a,tls:o,isCustomEndpoint:!!s,useDualstackEndpoint:(0,Lg.normalizeProvider)((t=e.useDualstackEndpoint)!==null&&t!==void 0?t:!1),useFipsEndpoint:(0,Lg.normalizeProvider)((r=e.useFipsEndpoint)!==null&&r!==void 0?r:!1)}};Vu.resolveEndpointConfig=h8});var kN=m(wN=>{"use strict";Object.defineProperty(wN,"__esModule",{value:!0})});var v=m(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});var dc=(z(),j(U));dc.__exportStar(bN(),Xr);dc.__exportStar(Bg(),Xr);dc.__exportStar(vN(),Xr);dc.__exportStar(xN(),Xr);dc.__exportStar(kN(),Xr)});var Xu=m(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.DEFAULT_RETRY_MODE=xn.DEFAULT_MAX_ATTEMPTS=xn.RETRY_MODES=void 0;var AN;(function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"})(AN=xn.RETRY_MODES||(xn.RETRY_MODES={}));xn.DEFAULT_MAX_ATTEMPTS=3;xn.DEFAULT_RETRY_MODE=AN.STANDARD});var IN=m(wt=>{"use strict";Object.defineProperty(wt,"__esModule",{value:!0});wt.NODEJS_TIMEOUT_ERROR_CODES=wt.TRANSIENT_ERROR_STATUS_CODES=wt.TRANSIENT_ERROR_CODES=wt.THROTTLING_ERROR_CODES=wt.CLOCK_SKEW_ERROR_CODES=void 0;wt.CLOCK_SKEW_ERROR_CODES=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"];wt.THROTTLING_ERROR_CODES=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"];wt.TRANSIENT_ERROR_CODES=["TimeoutError","RequestTimeout","RequestTimeoutException"];wt.TRANSIENT_ERROR_STATUS_CODES=[500,502,503,504];wt.NODEJS_TIMEOUT_ERROR_CODES=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"]});var uc=m(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.isServerError=yt.isTransientError=yt.isThrottlingError=yt.isClockSkewError=yt.isRetryableByTrait=void 0;var lc=IN(),C8=e=>e.$retryable!==void 0;yt.isRetryableByTrait=C8;var S8=e=>lc.CLOCK_SKEW_ERROR_CODES.includes(e.name);yt.isClockSkewError=S8;var E8=e=>{var n,t;return((n=e.$metadata)===null||n===void 0?void 0:n.httpStatusCode)===429||lc.THROTTLING_ERROR_CODES.includes(e.name)||((t=e.$retryable)===null||t===void 0?void 0:t.throttling)==!0};yt.isThrottlingError=E8;var b8=e=>{var n;return lc.TRANSIENT_ERROR_CODES.includes(e.name)||lc.NODEJS_TIMEOUT_ERROR_CODES.includes((e==null?void 0:e.code)||"")||lc.TRANSIENT_ERROR_STATUS_CODES.includes(((n=e.$metadata)===null||n===void 0?void 0:n.httpStatusCode)||0)};yt.isTransientError=b8;var P8=e=>{var n;if(((n=e.$metadata)===null||n===void 0?void 0:n.httpStatusCode)!==void 0){let t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!(0,yt.isTransientError)(e)}return!1};yt.isServerError=P8});var Ug=m(Wu=>{"use strict";Object.defineProperty(Wu,"__esModule",{value:!0});Wu.DefaultRateLimiter=void 0;var v8=uc(),jg=class{constructor(n){var t,r,o,s,a;this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=(t=n==null?void 0:n.beta)!==null&&t!==void 0?t:.7,this.minCapacity=(r=n==null?void 0:n.minCapacity)!==null&&r!==void 0?r:1,this.minFillRate=(o=n==null?void 0:n.minFillRate)!==null&&o!==void 0?o:.5,this.scaleConstant=(s=n==null?void 0:n.scaleConstant)!==null&&s!==void 0?s:.4,this.smooth=(a=n==null?void 0:n.smooth)!==null&&a!==void 0?a:.8;let i=this.getCurrentTimeInSeconds();this.lastThrottleTime=i,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(n){if(this.enabled){if(this.refillTokenBucket(),n>this.currentCapacity){let t=(n-this.currentCapacity)/this.fillRate*1e3;await new Promise(r=>setTimeout(r,t))}this.currentCapacity=this.currentCapacity-n}}refillTokenBucket(){let n=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=n;return}let t=(n-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+t),this.lastTimestamp=n}updateClientSendingRate(n){let t;if(this.updateMeasuredRate(),(0,v8.isThrottlingError)(n)){let o=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=o,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(o),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());let r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(n){return this.getPrecise(n*this.beta)}cubicSuccess(n){return this.getPrecise(this.scaleConstant*Math.pow(n-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(n){this.refillTokenBucket(),this.fillRate=Math.max(n,this.minFillRate),this.maxCapacity=Math.max(n,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){let n=this.getCurrentTimeInSeconds(),t=Math.floor(n*2)/2;if(this.requestCount++,t>this.lastTxRateBucket){let r=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(r*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=t}}getPrecise(n){return parseFloat(n.toFixed(8))}};Wu.DefaultRateLimiter=jg});var jo=m(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});De.REQUEST_HEADER=De.INVOCATION_ID_HEADER=De.NO_RETRY_INCREMENT=De.TIMEOUT_RETRY_COST=De.RETRY_COST=De.INITIAL_RETRY_TOKENS=De.THROTTLING_RETRY_DELAY_BASE=De.MAXIMUM_RETRY_DELAY=De.DEFAULT_RETRY_DELAY_BASE=void 0;De.DEFAULT_RETRY_DELAY_BASE=100;De.MAXIMUM_RETRY_DELAY=20*1e3;De.THROTTLING_RETRY_DELAY_BASE=500;De.INITIAL_RETRY_TOKENS=500;De.RETRY_COST=5;De.TIMEOUT_RETRY_COST=10;De.NO_RETRY_INCREMENT=1;De.INVOCATION_ID_HEADER="amz-sdk-invocation-id";De.REQUEST_HEADER="amz-sdk-request"});var NN=m(Yu=>{"use strict";Object.defineProperty(Yu,"__esModule",{value:!0});Yu.getDefaultRetryBackoffStrategy=void 0;var RN=jo(),x8=()=>{let e=RN.DEFAULT_RETRY_DELAY_BASE;return{computeNextBackoffDelay:r=>Math.floor(Math.min(RN.MAXIMUM_RETRY_DELAY,Math.random()*2**r*e)),setDelayBase:r=>{e=r}}};Yu.getDefaultRetryBackoffStrategy=x8});var ON=m(Qu=>{"use strict";Object.defineProperty(Qu,"__esModule",{value:!0});Qu.createDefaultRetryToken=void 0;var w8=jo(),k8=({retryDelay:e,retryCount:n,retryCost:t})=>({getRetryCount:()=>n,getRetryDelay:()=>Math.min(w8.MAXIMUM_RETRY_DELAY,e),getRetryCost:()=>t});Qu.createDefaultRetryToken=k8});var Zu=m(Ju=>{"use strict";Object.defineProperty(Ju,"__esModule",{value:!0});Ju.StandardRetryStrategy=void 0;var zg=Xu(),sr=jo(),A8=NN(),TN=ON(),Gg=class{constructor(n){this.maxAttempts=n,this.mode=zg.RETRY_MODES.STANDARD,this.capacity=sr.INITIAL_RETRY_TOKENS,this.retryBackoffStrategy=(0,A8.getDefaultRetryBackoffStrategy)(),this.maxAttemptsProvider=typeof n=="function"?n:async()=>n}async acquireInitialRetryToken(n){return(0,TN.createDefaultRetryToken)({retryDelay:sr.DEFAULT_RETRY_DELAY_BASE,retryCount:0})}async refreshRetryTokenForRetry(n,t){let r=await this.getMaxAttempts();if(this.shouldRetry(n,t,r)){let o=t.errorType;this.retryBackoffStrategy.setDelayBase(o==="THROTTLING"?sr.THROTTLING_RETRY_DELAY_BASE:sr.DEFAULT_RETRY_DELAY_BASE);let s=this.retryBackoffStrategy.computeNextBackoffDelay(n.getRetryCount()),a=t.retryAfterHint?Math.max(t.retryAfterHint.getTime()-Date.now()||0,s):s,i=this.getCapacityCost(o);return this.capacity-=i,(0,TN.createDefaultRetryToken)({retryDelay:a,retryCount:n.getRetryCount()+1,retryCost:i})}throw new Error("No retry token available")}recordSuccess(n){var t;this.capacity=Math.max(sr.INITIAL_RETRY_TOKENS,this.capacity+((t=n.getRetryCost())!==null&&t!==void 0?t:sr.NO_RETRY_INCREMENT))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch{return console.warn(`Max attempts provider could not resolve. Using default of ${zg.DEFAULT_MAX_ATTEMPTS}`),zg.DEFAULT_MAX_ATTEMPTS}}shouldRetry(n,t,r){return n.getRetryCount()+1=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(n){return n==="TRANSIENT"?sr.TIMEOUT_RETRY_COST:sr.RETRY_COST}isRetryableError(n){return n==="THROTTLING"||n==="TRANSIENT"}};Ju.StandardRetryStrategy=Gg});var qN=m(em=>{"use strict";Object.defineProperty(em,"__esModule",{value:!0});em.AdaptiveRetryStrategy=void 0;var I8=Xu(),R8=Ug(),N8=Zu(),Hg=class{constructor(n,t){this.maxAttemptsProvider=n,this.mode=I8.RETRY_MODES.ADAPTIVE;let{rateLimiter:r}=t??{};this.rateLimiter=r??new R8.DefaultRateLimiter,this.standardRetryStrategy=new N8.StandardRetryStrategy(n)}async acquireInitialRetryToken(n){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(n)}async refreshRetryTokenForRetry(n,t){return this.rateLimiter.updateClientSendingRate(t),this.standardRetryStrategy.refreshRetryTokenForRetry(n,t)}recordSuccess(n){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(n)}};em.AdaptiveRetryStrategy=Hg});var BN=m(tm=>{"use strict";Object.defineProperty(tm,"__esModule",{value:!0});tm.ConfiguredRetryStrategy=void 0;var O8=jo(),T8=Zu(),$g=class extends T8.StandardRetryStrategy{constructor(n,t=O8.DEFAULT_RETRY_DELAY_BASE){super(typeof n=="function"?n:async()=>n),typeof t=="number"?this.computeNextBackoffDelay=()=>t:this.computeNextBackoffDelay=t}async refreshRetryTokenForRetry(n,t){let r=await super.refreshRetryTokenForRetry(n,t);return r.getRetryDelay=()=>this.computeNextBackoffDelay(r.getRetryCount()),r}};tm.ConfiguredRetryStrategy=$g});var DN=m(MN=>{"use strict";Object.defineProperty(MN,"__esModule",{value:!0})});var kt=m(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});var Wr=(z(),j(U));Wr.__exportStar(qN(),wn);Wr.__exportStar(BN(),wn);Wr.__exportStar(Ug(),wn);Wr.__exportStar(Zu(),wn);Wr.__exportStar(Xu(),wn);Wr.__exportStar(jo(),wn);Wr.__exportStar(DN(),wn)});function mc(){return nm>rm.length-16&&(FN.default.randomFillSync(rm),nm=0),rm.slice(nm,nm+=16)}var FN,rm,nm,Kg=ze(()=>{FN=ka(require("crypto")),rm=new Uint8Array(256),nm=rm.length});var LN,jN=ze(()=>{LN=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i});function q8(e){return typeof e=="string"&&LN.test(e)}var ir,pc=ze(()=>{jN();ir=q8});function B8(e,n=0){let t=(We[e[n+0]]+We[e[n+1]]+We[e[n+2]]+We[e[n+3]]+"-"+We[e[n+4]]+We[e[n+5]]+"-"+We[e[n+6]]+We[e[n+7]]+"-"+We[e[n+8]]+We[e[n+9]]+"-"+We[e[n+10]]+We[e[n+11]]+We[e[n+12]]+We[e[n+13]]+We[e[n+14]]+We[e[n+15]]).toLowerCase();if(!ir(t))throw TypeError("Stringified UUID is invalid");return t}var We,ar,fc=ze(()=>{pc();We=[];for(let e=0;e<256;++e)We.push((e+256).toString(16).substr(1));ar=B8});function M8(e,n,t){let r=n&&t||0,o=n||new Array(16);e=e||{};let s=e.node||UN,a=e.clockseq!==void 0?e.clockseq:Vg;if(s==null||a==null){let _=e.random||(e.rng||mc)();s==null&&(s=UN=[_[0]|1,_[1],_[2],_[3],_[4],_[5]]),a==null&&(a=Vg=(_[6]<<8|_[7])&16383)}let i=e.msecs!==void 0?e.msecs:Date.now(),u=e.nsecs!==void 0?e.nsecs:Wg+1,l=i-Xg+(u-Wg)/1e4;if(l<0&&e.clockseq===void 0&&(a=a+1&16383),(l<0||i>Xg)&&e.nsecs===void 0&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Xg=i,Wg=u,Vg=a,i+=122192928e5;let c=((i&268435455)*1e4+u)%4294967296;o[r++]=c>>>24&255,o[r++]=c>>>16&255,o[r++]=c>>>8&255,o[r++]=c&255;let y=i/4294967296*1e4&268435455;o[r++]=y>>>8&255,o[r++]=y&255,o[r++]=y>>>24&15|16,o[r++]=y>>>16&255,o[r++]=a>>>8|128,o[r++]=a&255;for(let _=0;_<6;++_)o[r+_]=s[_];return n||ar(o)}var UN,Vg,Xg,Wg,zN,GN=ze(()=>{Kg();fc();Xg=0,Wg=0;zN=M8});function D8(e){if(!ir(e))throw TypeError("Invalid UUID");let n,t=new Uint8Array(16);return t[0]=(n=parseInt(e.slice(0,8),16))>>>24,t[1]=n>>>16&255,t[2]=n>>>8&255,t[3]=n&255,t[4]=(n=parseInt(e.slice(9,13),16))>>>8,t[5]=n&255,t[6]=(n=parseInt(e.slice(14,18),16))>>>8,t[7]=n&255,t[8]=(n=parseInt(e.slice(19,23),16))>>>8,t[9]=n&255,t[10]=(n=parseInt(e.slice(24,36),16))/1099511627776&255,t[11]=n/4294967296&255,t[12]=n>>>24&255,t[13]=n>>>16&255,t[14]=n>>>8&255,t[15]=n&255,t}var om,Yg=ze(()=>{pc();om=D8});function F8(e){e=unescape(encodeURIComponent(e));let n=[];for(let t=0;t{fc();Yg();L8="6ba7b810-9dad-11d1-80b4-00c04fd430c8",j8="6ba7b811-9dad-11d1-80b4-00c04fd430c8"});function U8(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),HN.default.createHash("md5").update(e).digest()}var HN,$N,KN=ze(()=>{HN=ka(require("crypto"));$N=U8});var z8,VN,XN=ze(()=>{Qg();KN();z8=sm("v3",48,$N),VN=z8});function G8(e,n,t){e=e||{};let r=e.random||(e.rng||mc)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,n){t=t||0;for(let o=0;o<16;++o)n[t+o]=r[o];return n}return ar(r)}var WN,YN=ze(()=>{Kg();fc();WN=G8});function H8(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),QN.default.createHash("sha1").update(e).digest()}var QN,JN,ZN=ze(()=>{QN=ka(require("crypto"));JN=H8});var $8,eO,tO=ze(()=>{Qg();ZN();$8=sm("v5",80,JN),eO=$8});var nO,rO=ze(()=>{nO="00000000-0000-0000-0000-000000000000"});function K8(e){if(!ir(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var oO,sO=ze(()=>{pc();oO=K8});var Jg={};wa(Jg,{NIL:()=>nO,parse:()=>om,stringify:()=>ar,v1:()=>zN,v3:()=>VN,v4:()=>WN,v5:()=>eO,validate:()=>ir,version:()=>oO});var Zg=ze(()=>{GN();XN();YN();tO();rO();sO();pc();fc();Yg()});var iO=m(im=>{"use strict";Object.defineProperty(im,"__esModule",{value:!0});im.getDefaultRetryQuota=void 0;var eh=kt(),V8=(e,n)=>{var t,r,o;let s=e,a=(t=n==null?void 0:n.noRetryIncrement)!==null&&t!==void 0?t:eh.NO_RETRY_INCREMENT,i=(r=n==null?void 0:n.retryCost)!==null&&r!==void 0?r:eh.RETRY_COST,u=(o=n==null?void 0:n.timeoutRetryCost)!==null&&o!==void 0?o:eh.TIMEOUT_RETRY_COST,l=e,c=b=>b.name==="TimeoutError"?u:i,y=b=>c(b)<=l;return Object.freeze({hasRetryTokens:y,retrieveRetryTokens:b=>{if(!y(b))throw new Error("No retry token available");let F=c(b);return l-=F,F},releaseRetryTokens:b=>{l+=b??a,l=Math.min(l,s)}})};im.getDefaultRetryQuota=V8});var th=m(am=>{"use strict";Object.defineProperty(am,"__esModule",{value:!0});am.defaultDelayDecider=void 0;var X8=kt(),W8=(e,n)=>Math.floor(Math.min(X8.MAXIMUM_RETRY_DELAY,Math.random()*2**n*e));am.defaultDelayDecider=W8});var nh=m(dm=>{"use strict";Object.defineProperty(dm,"__esModule",{value:!0});dm.defaultRetryDecider=void 0;var cm=uc(),Y8=e=>e?(0,cm.isRetryableByTrait)(e)||(0,cm.isClockSkewError)(e)||(0,cm.isThrottlingError)(e)||(0,cm.isTransientError)(e):!1;dm.defaultRetryDecider=Y8});var rh=m(lm=>{"use strict";Object.defineProperty(lm,"__esModule",{value:!0});lm.asSdkError=void 0;var Q8=e=>e instanceof Error?e:e instanceof Object?Object.assign(new Error,e):typeof e=="string"?new Error(e):new Error(`AWS SDK error wrapper for ${e}`);lm.asSdkError=Q8});var ih=m(um=>{"use strict";Object.defineProperty(um,"__esModule",{value:!0});um.StandardRetryStrategy=void 0;var oh=we(),J8=uc(),Yr=kt(),Z8=(Zg(),j(Jg)),eW=iO(),tW=th(),nW=nh(),rW=rh(),sh=class{constructor(n,t){var r,o,s;this.maxAttemptsProvider=n,this.mode=Yr.RETRY_MODES.STANDARD,this.retryDecider=(r=t==null?void 0:t.retryDecider)!==null&&r!==void 0?r:nW.defaultRetryDecider,this.delayDecider=(o=t==null?void 0:t.delayDecider)!==null&&o!==void 0?o:tW.defaultDelayDecider,this.retryQuota=(s=t==null?void 0:t.retryQuota)!==null&&s!==void 0?s:(0,eW.getDefaultRetryQuota)(Yr.INITIAL_RETRY_TOKENS)}shouldRetry(n,t,r){return tsetTimeout(b,C));continue}throw c.$metadata||(c.$metadata={}),c.$metadata.attempts=s,c.$metadata.totalRetryDelay=a,c}}};um.StandardRetryStrategy=sh;var oW=e=>{if(!oh.HttpResponse.isInstance(e))return;let n=Object.keys(e.headers).find(s=>s.toLowerCase()==="retry-after");if(!n)return;let t=e.headers[n],r=Number(t);return Number.isNaN(r)?new Date(t).getTime()-Date.now():r*1e3}});var cO=m(mm=>{"use strict";Object.defineProperty(mm,"__esModule",{value:!0});mm.AdaptiveRetryStrategy=void 0;var aO=kt(),sW=ih(),ah=class extends sW.StandardRetryStrategy{constructor(n,t){let{rateLimiter:r,...o}=t??{};super(n,o),this.rateLimiter=r??new aO.DefaultRateLimiter,this.mode=aO.RETRY_MODES.ADAPTIVE}async retry(n,t){return super.retry(n,t,{beforeRequest:async()=>this.rateLimiter.getSendToken(),afterRequest:r=>{this.rateLimiter.updateClientSendingRate(r)}})}};mm.AdaptiveRetryStrategy=ah});var lO=m(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});Oe.NODE_RETRY_MODE_CONFIG_OPTIONS=Oe.CONFIG_RETRY_MODE=Oe.ENV_RETRY_MODE=Oe.resolveRetryConfig=Oe.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=Oe.CONFIG_MAX_ATTEMPTS=Oe.ENV_MAX_ATTEMPTS=void 0;var dO=Lr(),Uo=kt();Oe.ENV_MAX_ATTEMPTS="AWS_MAX_ATTEMPTS";Oe.CONFIG_MAX_ATTEMPTS="max_attempts";Oe.NODE_MAX_ATTEMPT_CONFIG_OPTIONS={environmentVariableSelector:e=>{let n=e[Oe.ENV_MAX_ATTEMPTS];if(!n)return;let t=parseInt(n);if(Number.isNaN(t))throw new Error(`Environment variable ${Oe.ENV_MAX_ATTEMPTS} mast be a number, got "${n}"`);return t},configFileSelector:e=>{let n=e[Oe.CONFIG_MAX_ATTEMPTS];if(!n)return;let t=parseInt(n);if(Number.isNaN(t))throw new Error(`Shared config file entry ${Oe.CONFIG_MAX_ATTEMPTS} mast be a number, got "${n}"`);return t},default:Uo.DEFAULT_MAX_ATTEMPTS};var iW=e=>{var n;let{retryStrategy:t}=e,r=(0,dO.normalizeProvider)((n=e.maxAttempts)!==null&&n!==void 0?n:Uo.DEFAULT_MAX_ATTEMPTS);return{...e,maxAttempts:r,retryStrategy:async()=>t||(await(0,dO.normalizeProvider)(e.retryMode)()===Uo.RETRY_MODES.ADAPTIVE?new Uo.AdaptiveRetryStrategy(r):new Uo.StandardRetryStrategy(r))}};Oe.resolveRetryConfig=iW;Oe.ENV_RETRY_MODE="AWS_RETRY_MODE";Oe.CONFIG_RETRY_MODE="retry_mode";Oe.NODE_RETRY_MODE_CONFIG_OPTIONS={environmentVariableSelector:e=>e[Oe.ENV_RETRY_MODE],configFileSelector:e=>e[Oe.CONFIG_RETRY_MODE],default:Uo.DEFAULT_RETRY_MODE}});var mO=m(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.getOmitRetryHeadersPlugin=Wt.omitRetryHeadersMiddlewareOptions=Wt.omitRetryHeadersMiddleware=void 0;var aW=we(),uO=kt(),cW=()=>e=>async n=>{let{request:t}=n;return aW.HttpRequest.isInstance(t)&&(delete t.headers[uO.INVOCATION_ID_HEADER],delete t.headers[uO.REQUEST_HEADER]),e(n)};Wt.omitRetryHeadersMiddleware=cW;Wt.omitRetryHeadersMiddlewareOptions={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0};var dW=e=>({applyToStack:n=>{n.addRelativeTo((0,Wt.omitRetryHeadersMiddleware)(),Wt.omitRetryHeadersMiddlewareOptions)}});Wt.getOmitRetryHeadersPlugin=dW});var fO=m(_t=>{"use strict";Object.defineProperty(_t,"__esModule",{value:!0});_t.getRetryAfterHint=_t.getRetryPlugin=_t.retryMiddlewareOptions=_t.retryMiddleware=void 0;var dh=we(),ch=uc(),pO=kt(),lW=(Zg(),j(Jg)),uW=rh(),mW=e=>(n,t)=>async r=>{let o=await e.retryStrategy(),s=await e.maxAttempts();if(pW(o)){o=o;let a=await o.acquireInitialRetryToken(t.partition_id),i=new Error,u=0,l=0,{request:c}=r;for(dh.HttpRequest.isInstance(c)&&(c.headers[pO.INVOCATION_ID_HEADER]=(0,lW.v4)());;)try{dh.HttpRequest.isInstance(c)&&(c.headers[pO.REQUEST_HEADER]=`attempt=${u+1}; max=${s}`);let{response:y,output:_}=await n(r);return o.recordSuccess(a),_.$metadata.attempts=u+1,_.$metadata.totalRetryDelay=l,{response:y,output:_}}catch(y){let _=fW(y);i=(0,uW.asSdkError)(y);try{a=await o.refreshRetryTokenForRetry(a,_)}catch{throw i.$metadata||(i.$metadata={}),i.$metadata.attempts=u+1,i.$metadata.totalRetryDelay=l,i}u=a.getRetryCount();let C=a.getRetryDelay();l+=C,await new Promise(b=>setTimeout(b,C))}}else return o=o,o!=null&&o.mode&&(t.userAgent=[...t.userAgent||[],["cfg/retry-mode",o.mode]]),o.retry(n,r)};_t.retryMiddleware=mW;var pW=e=>typeof e.acquireInitialRetryToken<"u"&&typeof e.refreshRetryTokenForRetry<"u"&&typeof e.recordSuccess<"u",fW=e=>{let n={errorType:yW(e)},t=(0,_t.getRetryAfterHint)(e.$response);return t&&(n.retryAfterHint=t),n},yW=e=>(0,ch.isThrottlingError)(e)?"THROTTLING":(0,ch.isTransientError)(e)?"TRANSIENT":(0,ch.isServerError)(e)?"SERVER_ERROR":"CLIENT_ERROR";_t.retryMiddlewareOptions={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};var _W=e=>({applyToStack:n=>{n.add((0,_t.retryMiddleware)(e),_t.retryMiddlewareOptions)}});_t.getRetryPlugin=_W;var gW=e=>{if(!dh.HttpResponse.isInstance(e))return;let n=Object.keys(e.headers).find(s=>s.toLowerCase()==="retry-after");if(!n)return;let t=e.headers[n],r=Number(t);return Number.isNaN(r)?new Date(t):new Date(r*1e3)};_t.getRetryAfterHint=gW});var An=m(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});var Qr=(z(),j(U));Qr.__exportStar(cO(),kn);Qr.__exportStar(ih(),kn);Qr.__exportStar(lO(),kn);Qr.__exportStar(th(),kn);Qr.__exportStar(mO(),kn);Qr.__exportStar(nh(),kn);Qr.__exportStar(fO(),kn)});var yO=m(pm=>{"use strict";Object.defineProperty(pm,"__esModule",{value:!0});pm.resolveClientEndpointParameters=void 0;var hW=e=>({...e,useFipsEndpoint:e.useFipsEndpoint??!1,useDualstackEndpoint:e.useDualstackEndpoint??!1,forcePathStyle:e.forcePathStyle??!1,useAccelerateEndpoint:e.useAccelerateEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,disableMultiregionAccessPoints:e.disableMultiregionAccessPoints??!1,defaultSigningName:"s3"});pm.resolveClientEndpointParameters=hW});var _O=m((kIe,CW)=>{CW.exports={name:"@aws-sdk/client-s3",description:"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",version:"3.421.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo s3",test:"yarn test:unit","test:e2e":"ts-mocha test/**/*.ispec.ts && karma start karma.conf.js","test:unit":"ts-mocha test/**/*.spec.ts"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha1-browser":"3.0.0","@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/client-sts":"3.421.0","@aws-sdk/credential-provider-node":"3.421.0","@aws-sdk/middleware-bucket-endpoint":"3.418.0","@aws-sdk/middleware-expect-continue":"3.418.0","@aws-sdk/middleware-flexible-checksums":"3.418.0","@aws-sdk/middleware-host-header":"3.418.0","@aws-sdk/middleware-location-constraint":"3.418.0","@aws-sdk/middleware-logger":"3.418.0","@aws-sdk/middleware-recursion-detection":"3.418.0","@aws-sdk/middleware-sdk-s3":"3.418.0","@aws-sdk/middleware-signing":"3.418.0","@aws-sdk/middleware-ssec":"3.418.0","@aws-sdk/middleware-user-agent":"3.418.0","@aws-sdk/region-config-resolver":"3.418.0","@aws-sdk/signature-v4-multi-region":"3.418.0","@aws-sdk/types":"3.418.0","@aws-sdk/util-endpoints":"3.418.0","@aws-sdk/util-user-agent-browser":"3.418.0","@aws-sdk/util-user-agent-node":"3.418.0","@aws-sdk/xml-builder":"3.310.0","@smithy/config-resolver":"^2.0.10","@smithy/eventstream-serde-browser":"^2.0.9","@smithy/eventstream-serde-config-resolver":"^2.0.9","@smithy/eventstream-serde-node":"^2.0.9","@smithy/fetch-http-handler":"^2.1.5","@smithy/hash-blob-browser":"^2.0.9","@smithy/hash-node":"^2.0.9","@smithy/hash-stream-node":"^2.0.9","@smithy/invalid-dependency":"^2.0.9","@smithy/md5-js":"^2.0.9","@smithy/middleware-content-length":"^2.0.11","@smithy/middleware-endpoint":"^2.0.9","@smithy/middleware-retry":"^2.0.12","@smithy/middleware-serde":"^2.0.9","@smithy/middleware-stack":"^2.0.2","@smithy/node-config-provider":"^2.0.12","@smithy/node-http-handler":"^2.1.5","@smithy/protocol-http":"^3.0.5","@smithy/smithy-client":"^2.1.6","@smithy/types":"^2.3.3","@smithy/url-parser":"^2.0.9","@smithy/util-base64":"^2.0.0","@smithy/util-body-length-browser":"^2.0.0","@smithy/util-body-length-node":"^2.1.0","@smithy/util-defaults-mode-browser":"^2.0.10","@smithy/util-defaults-mode-node":"^2.0.12","@smithy/util-retry":"^2.0.2","@smithy/util-stream":"^2.0.12","@smithy/util-utf8":"^2.0.0","@smithy/util-waiter":"^2.0.9","fast-xml-parser":"4.2.5",tslib:"^2.5.0"},devDependencies:{"@smithy/service-client-documentation-generator":"^2.0.0","@tsconfig/node14":"1.0.3","@types/chai":"^4.2.11","@types/mocha":"^8.0.4","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-s3"}}});var gO=m(fm=>{"use strict";Object.defineProperty(fm,"__esModule",{value:!0});fm.resolveStsAuthConfig=void 0;var SW=Pn(),EW=(e,{stsClientCtor:n})=>(0,SW.resolveAwsAuthConfig)({...e,stsClientCtor:n});fm.resolveStsAuthConfig=EW});var hO=m(ym=>{"use strict";Object.defineProperty(ym,"__esModule",{value:!0});ym.resolveClientEndpointParameters=void 0;var bW=e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,defaultSigningName:"sts"});ym.resolveClientEndpointParameters=bW});var CO=m((RIe,PW)=>{PW.exports={name:"@aws-sdk/client-sts",description:"AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",version:"3.421.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sts",test:"yarn test:unit","test:unit":"jest"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/credential-provider-node":"3.421.0","@aws-sdk/middleware-host-header":"3.418.0","@aws-sdk/middleware-logger":"3.418.0","@aws-sdk/middleware-recursion-detection":"3.418.0","@aws-sdk/middleware-sdk-sts":"3.418.0","@aws-sdk/middleware-signing":"3.418.0","@aws-sdk/middleware-user-agent":"3.418.0","@aws-sdk/region-config-resolver":"3.418.0","@aws-sdk/types":"3.418.0","@aws-sdk/util-endpoints":"3.418.0","@aws-sdk/util-user-agent-browser":"3.418.0","@aws-sdk/util-user-agent-node":"3.418.0","@smithy/config-resolver":"^2.0.10","@smithy/fetch-http-handler":"^2.1.5","@smithy/hash-node":"^2.0.9","@smithy/invalid-dependency":"^2.0.9","@smithy/middleware-content-length":"^2.0.11","@smithy/middleware-endpoint":"^2.0.9","@smithy/middleware-retry":"^2.0.12","@smithy/middleware-serde":"^2.0.9","@smithy/middleware-stack":"^2.0.2","@smithy/node-config-provider":"^2.0.12","@smithy/node-http-handler":"^2.1.5","@smithy/protocol-http":"^3.0.5","@smithy/smithy-client":"^2.1.6","@smithy/types":"^2.3.3","@smithy/url-parser":"^2.0.9","@smithy/util-base64":"^2.0.0","@smithy/util-body-length-browser":"^2.0.0","@smithy/util-body-length-node":"^2.1.0","@smithy/util-defaults-mode-browser":"^2.0.10","@smithy/util-defaults-mode-node":"^2.0.12","@smithy/util-retry":"^2.0.2","@smithy/util-utf8":"^2.0.0","fast-xml-parser":"4.2.5",tslib:"^2.5.0"},devDependencies:{"@smithy/service-client-documentation-generator":"^2.0.0","@tsconfig/node14":"1.0.3","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},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"}}});var _m=m(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.STSServiceException=zo.__ServiceException=void 0;var SO=E();Object.defineProperty(zo,"__ServiceException",{enumerable:!0,get:function(){return SO.ServiceException}});var lh=class e extends SO.ServiceException{constructor(n){super(n),Object.setPrototypeOf(this,e.prototype)}};zo.STSServiceException=lh});var dr=m(ae=>{"use strict";Object.defineProperty(ae,"__esModule",{value:!0});ae.GetSessionTokenResponseFilterSensitiveLog=ae.GetFederationTokenResponseFilterSensitiveLog=ae.AssumeRoleWithWebIdentityResponseFilterSensitiveLog=ae.AssumeRoleWithWebIdentityRequestFilterSensitiveLog=ae.AssumeRoleWithSAMLResponseFilterSensitiveLog=ae.AssumeRoleWithSAMLRequestFilterSensitiveLog=ae.AssumeRoleResponseFilterSensitiveLog=ae.CredentialsFilterSensitiveLog=ae.InvalidAuthorizationMessageException=ae.IDPCommunicationErrorException=ae.InvalidIdentityTokenException=ae.IDPRejectedClaimException=ae.RegionDisabledException=ae.PackedPolicyTooLargeException=ae.MalformedPolicyDocumentException=ae.ExpiredTokenException=void 0;var Ch=E(),cr=_m(),uh=class e extends cr.STSServiceException{constructor(n){super({name:"ExpiredTokenException",$fault:"client",...n}),this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.ExpiredTokenException=uh;var mh=class e extends cr.STSServiceException{constructor(n){super({name:"MalformedPolicyDocumentException",$fault:"client",...n}),this.name="MalformedPolicyDocumentException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.MalformedPolicyDocumentException=mh;var ph=class e extends cr.STSServiceException{constructor(n){super({name:"PackedPolicyTooLargeException",$fault:"client",...n}),this.name="PackedPolicyTooLargeException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.PackedPolicyTooLargeException=ph;var fh=class e extends cr.STSServiceException{constructor(n){super({name:"RegionDisabledException",$fault:"client",...n}),this.name="RegionDisabledException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.RegionDisabledException=fh;var yh=class e extends cr.STSServiceException{constructor(n){super({name:"IDPRejectedClaimException",$fault:"client",...n}),this.name="IDPRejectedClaimException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.IDPRejectedClaimException=yh;var _h=class e extends cr.STSServiceException{constructor(n){super({name:"InvalidIdentityTokenException",$fault:"client",...n}),this.name="InvalidIdentityTokenException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.InvalidIdentityTokenException=_h;var gh=class e extends cr.STSServiceException{constructor(n){super({name:"IDPCommunicationErrorException",$fault:"client",...n}),this.name="IDPCommunicationErrorException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.IDPCommunicationErrorException=gh;var hh=class e extends cr.STSServiceException{constructor(n){super({name:"InvalidAuthorizationMessageException",$fault:"client",...n}),this.name="InvalidAuthorizationMessageException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.InvalidAuthorizationMessageException=hh;var vW=e=>({...e,...e.SecretAccessKey&&{SecretAccessKey:Ch.SENSITIVE_STRING}});ae.CredentialsFilterSensitiveLog=vW;var xW=e=>({...e,...e.Credentials&&{Credentials:(0,ae.CredentialsFilterSensitiveLog)(e.Credentials)}});ae.AssumeRoleResponseFilterSensitiveLog=xW;var wW=e=>({...e,...e.SAMLAssertion&&{SAMLAssertion:Ch.SENSITIVE_STRING}});ae.AssumeRoleWithSAMLRequestFilterSensitiveLog=wW;var kW=e=>({...e,...e.Credentials&&{Credentials:(0,ae.CredentialsFilterSensitiveLog)(e.Credentials)}});ae.AssumeRoleWithSAMLResponseFilterSensitiveLog=kW;var AW=e=>({...e,...e.WebIdentityToken&&{WebIdentityToken:Ch.SENSITIVE_STRING}});ae.AssumeRoleWithWebIdentityRequestFilterSensitiveLog=AW;var IW=e=>({...e,...e.Credentials&&{Credentials:(0,ae.CredentialsFilterSensitiveLog)(e.Credentials)}});ae.AssumeRoleWithWebIdentityResponseFilterSensitiveLog=IW;var RW=e=>({...e,...e.Credentials&&{Credentials:(0,ae.CredentialsFilterSensitiveLog)(e.Credentials)}});ae.GetFederationTokenResponseFilterSensitiveLog=RW;var NW=e=>({...e,...e.Credentials&&{Credentials:(0,ae.CredentialsFilterSensitiveLog)(e.Credentials)}});ae.GetSessionTokenResponseFilterSensitiveLog=NW});var gm=m(In=>{"use strict";var EO=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",OW=EO+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",bO="["+EO+"]["+OW+"]*",TW=new RegExp("^"+bO+"$"),qW=function(e,n){let t=[],r=n.exec(e);for(;r;){let o=[];o.startIndex=n.lastIndex-r[0].length;let s=r.length;for(let a=0;a"u")};In.isExist=function(e){return typeof e<"u"};In.isEmptyObject=function(e){return Object.keys(e).length===0};In.merge=function(e,n,t){if(n){let r=Object.keys(n),o=r.length;for(let s=0;s{"use strict";var Sh=gm(),MW={allowBooleanAttributes:!1,unpairedTags:[]};kO.validate=function(e,n){n=Object.assign({},MW,n);let t=[],r=!1,o=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let s=0;s"&&e[s]!==" "&&e[s]!==" "&&e[s]!==` -`&&e[s]!=="\r";s++)u+=e[s];if(u=u.trim(),u[u.length-1]==="/"&&(u=u.substring(0,u.length-1),s--),!HW(u)){let y;return u.trim().length===0?y="Invalid space after '<'.":y="Tag '"+u+"' is an invalid name.",Fe("InvalidTag",y,lt(e,s))}let l=LW(e,s);if(l===!1)return Fe("InvalidAttr","Attributes for '"+u+"' have open quote.",lt(e,s));let c=l.value;if(s=l.index,c[c.length-1]==="/"){let y=s-c.length;c=c.substring(0,c.length-1);let _=wO(c,n);if(_===!0)r=!0;else return Fe(_.err.code,_.err.msg,lt(e,y+_.err.line))}else if(i)if(l.tagClosed){if(c.trim().length>0)return Fe("InvalidTag","Closing tag '"+u+"' can't have attributes or invalid starting.",lt(e,a));{let y=t.pop();if(u!==y.tagName){let _=lt(e,y.tagStartPos);return Fe("InvalidTag","Expected closing tag '"+y.tagName+"' (opened in line "+_.line+", col "+_.col+") instead of closing tag '"+u+"'.",lt(e,a))}t.length==0&&(o=!0)}}else return Fe("InvalidTag","Closing tag '"+u+"' doesn't have proper closing.",lt(e,s));else{let y=wO(c,n);if(y!==!0)return Fe(y.err.code,y.err.msg,lt(e,s-c.length+y.err.line));if(o===!0)return Fe("InvalidXml","Multiple possible root nodes found.",lt(e,s));n.unpairedTags.indexOf(u)!==-1||t.push({tagName:u,tagStartPos:a}),r=!0}for(s++;s0)return Fe("InvalidXml","Invalid '"+JSON.stringify(t.map(s=>s.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return Fe("InvalidXml","Start tag expected.",1);return!0};function PO(e){return e===" "||e===" "||e===` -`||e==="\r"}function vO(e,n){let t=n;for(;n5&&r==="xml")return Fe("InvalidXml","XML declaration allowed only at the start of the document.",lt(e,n));if(e[n]=="?"&&e[n+1]==">"){n++;break}else continue}return n}function xO(e,n){if(e.length>n+5&&e[n+1]==="-"&&e[n+2]==="-"){for(n+=3;n"){n+=2;break}}else if(e.length>n+8&&e[n+1]==="D"&&e[n+2]==="O"&&e[n+3]==="C"&&e[n+4]==="T"&&e[n+5]==="Y"&&e[n+6]==="P"&&e[n+7]==="E"){let t=1;for(n+=8;n"&&(t--,t===0))break}else if(e.length>n+9&&e[n+1]==="["&&e[n+2]==="C"&&e[n+3]==="D"&&e[n+4]==="A"&&e[n+5]==="T"&&e[n+6]==="A"&&e[n+7]==="["){for(n+=8;n"){n+=2;break}}return n}var DW='"',FW="'";function LW(e,n){let t="",r="",o=!1;for(;n"&&r===""){o=!0;break}t+=e[n]}return r!==""?!1:{value:t,index:n,tagClosed:o}}var jW=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function wO(e,n){let t=Sh.getAllMatches(e,jW),r={};for(let o=0;o{var AO={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,n){return n},attributeValueProcessor:function(e,n){return n},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,n,t){return e}},$W=function(e){return Object.assign({},AO,e)};bh.buildOptions=$W;bh.defaultOptions=AO});var NO=m((MIe,RO)=>{"use strict";var Ph=class{constructor(n){this.tagname=n,this.child=[],this[":@"]={}}add(n,t){n==="__proto__"&&(n="#__proto__"),this.child.push({[n]:t})}addChild(n){n.tagname==="__proto__"&&(n.tagname="#__proto__"),n[":@"]&&Object.keys(n[":@"]).length>0?this.child.push({[n.tagname]:n.child,":@":n[":@"]}):this.child.push({[n.tagname]:n.child})}};RO.exports=Ph});var TO=m((DIe,OO)=>{var KW=gm();function VW(e,n){let t={};if(e[n+3]==="O"&&e[n+4]==="C"&&e[n+5]==="T"&&e[n+6]==="Y"&&e[n+7]==="P"&&e[n+8]==="E"){n=n+9;let r=1,o=!1,s=!1,a="";for(;n"){if(s?e[n-1]==="-"&&e[n-2]==="-"&&(s=!1,r--):r--,r===0)break}else e[n]==="["?o=!0:a+=e[n];if(r!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:t,i:n}}function XW(e,n){let t="";for(;n{var t4=/^[-+]?0x[a-fA-F0-9]+$/,n4=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var r4={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function o4(e,n={}){if(n=Object.assign({},r4,n),!e||typeof e!="string")return e;let t=e.trim();if(n.skipLike!==void 0&&n.skipLike.test(t))return e;if(n.hex&&t4.test(t))return Number.parseInt(t,16);{let r=n4.exec(t);if(r){let o=r[1],s=r[2],a=s4(r[3]),i=r[4]||r[6];if(!n.leadingZeros&&s.length>0&&o&&t[2]!==".")return e;if(!n.leadingZeros&&s.length>0&&!o&&t[1]!==".")return e;{let u=Number(t),l=""+u;return l.search(/[eE]/)!==-1||i?n.eNotation?u:e:t.indexOf(".")!==-1?l==="0"&&a===""||l===a||o&&l==="-"+a?u:e:s?a===l||o+a===l?u:e:t===l||t===o+l?u:e}}else return e}}function s4(e){return e&&e.indexOf(".")!==-1&&(e=e.replace(/0+$/,""),e==="."?e="0":e[0]==="."?e="0"+e:e[e.length-1]==="."&&(e=e.substr(0,e.length-1))),e}qO.exports=o4});var DO=m((jIe,MO)=>{"use strict";var kh=gm(),_c=NO(),i4=TO(),a4=BO(),LIe="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,kh.nameRegexp),vh=class{constructor(n){this.options=n,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"}},this.addExternalEntities=c4,this.parseXml=p4,this.parseTextData=d4,this.resolveNameSpace=l4,this.buildAttributesMap=m4,this.isItStopNode=g4,this.replaceEntitiesValue=y4,this.readStopNodeData=C4,this.saveTextToParentTag=_4,this.addChild=f4}};function c4(e){let n=Object.keys(e);for(let t=0;t0)){a||(e=this.replaceEntitiesValue(e));let i=this.options.tagValueProcessor(n,e,t,o,s);return i==null?e:typeof i!=typeof e||i!==e?i:this.options.trimValues?wh(e,this.options.parseTagValue,this.options.numberParseOptions):e.trim()===e?wh(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function l4(e){if(this.options.removeNSPrefix){let n=e.split(":"),t=e.charAt(0)==="/"?"/":"";if(n[0]==="xmlns")return"";n.length===2&&(e=t+n[1])}return e}var u4=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function m4(e,n,t){if(!this.options.ignoreAttributes&&typeof e=="string"){let r=kh.getAllMatches(e,u4),o=r.length,s={};for(let a=0;a",s,"Closing Tag is not closed."),u=e.substring(s+2,i).trim();if(this.options.removeNSPrefix){let y=u.indexOf(":");y!==-1&&(u=u.substr(y+1))}this.options.transformTagName&&(u=this.options.transformTagName(u)),t&&(r=this.saveTextToParentTag(r,t,o));let l=o.substring(o.lastIndexOf(".")+1);if(u&&this.options.unpairedTags.indexOf(u)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let c=0;l&&this.options.unpairedTags.indexOf(l)!==-1?(c=o.lastIndexOf(".",o.lastIndexOf(".")-1),this.tagsNodeStack.pop()):c=o.lastIndexOf("."),o=o.substring(0,c),t=this.tagsNodeStack.pop(),r="",s=i}else if(e[s+1]==="?"){let i=xh(e,s,!1,"?>");if(!i)throw new Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,t,o),!(this.options.ignoreDeclaration&&i.tagName==="?xml"||this.options.ignorePiTags)){let u=new _c(i.tagName);u.add(this.options.textNodeName,""),i.tagName!==i.tagExp&&i.attrExpPresent&&(u[":@"]=this.buildAttributesMap(i.tagExp,o,i.tagName)),this.addChild(t,u,o)}s=i.closeIndex+1}else if(e.substr(s+1,3)==="!--"){let i=Jr(e,"-->",s+4,"Comment is not closed.");if(this.options.commentPropName){let u=e.substring(s+4,i-2);r=this.saveTextToParentTag(r,t,o),t.add(this.options.commentPropName,[{[this.options.textNodeName]:u}])}s=i}else if(e.substr(s+1,2)==="!D"){let i=i4(e,s);this.docTypeEntities=i.entities,s=i.i}else if(e.substr(s+1,2)==="!["){let i=Jr(e,"]]>",s,"CDATA is not closed.")-2,u=e.substring(s+9,i);if(r=this.saveTextToParentTag(r,t,o),this.options.cdataPropName)t.add(this.options.cdataPropName,[{[this.options.textNodeName]:u}]);else{let l=this.parseTextData(u,t.tagname,o,!0,!1,!0);l==null&&(l=""),t.add(this.options.textNodeName,l)}s=i+2}else{let i=xh(e,s,this.options.removeNSPrefix),u=i.tagName,l=i.tagExp,c=i.attrExpPresent,y=i.closeIndex;this.options.transformTagName&&(u=this.options.transformTagName(u)),t&&r&&t.tagname!=="!xml"&&(r=this.saveTextToParentTag(r,t,o,!1));let _=t;if(_&&this.options.unpairedTags.indexOf(_.tagname)!==-1&&(t=this.tagsNodeStack.pop(),o=o.substring(0,o.lastIndexOf("."))),u!==n.tagname&&(o+=o?"."+u:u),this.isItStopNode(this.options.stopNodes,o,u)){let C="";if(l.length>0&&l.lastIndexOf("/")===l.length-1)s=i.closeIndex;else if(this.options.unpairedTags.indexOf(u)!==-1)s=i.closeIndex;else{let F=this.readStopNodeData(e,u,y+1);if(!F)throw new Error(`Unexpected end of ${u}`);s=F.i,C=F.tagContent}let b=new _c(u);u!==l&&c&&(b[":@"]=this.buildAttributesMap(l,o,u)),C&&(C=this.parseTextData(C,u,o,!0,c,!0,!0)),o=o.substr(0,o.lastIndexOf(".")),b.add(this.options.textNodeName,C),this.addChild(t,b,o)}else{if(l.length>0&&l.lastIndexOf("/")===l.length-1){u[u.length-1]==="/"?(u=u.substr(0,u.length-1),l=u):l=l.substr(0,l.length-1),this.options.transformTagName&&(u=this.options.transformTagName(u));let C=new _c(u);u!==l&&c&&(C[":@"]=this.buildAttributesMap(l,o,u)),this.addChild(t,C,o),o=o.substr(0,o.lastIndexOf("."))}else{let C=new _c(u);this.tagsNodeStack.push(t),u!==l&&c&&(C[":@"]=this.buildAttributesMap(l,o,u)),this.addChild(t,C,o),t=C}r="",s=y}}else r+=e[s];return n.child};function f4(e,n,t){let r=this.options.updateTag(n.tagname,t,n[":@"]);r===!1||(typeof r=="string"&&(n.tagname=r),e.addChild(n))}var y4=function(e){if(this.options.processEntities){for(let n in this.docTypeEntities){let t=this.docTypeEntities[n];e=e.replace(t.regx,t.val)}for(let n in this.lastEntities){let t=this.lastEntities[n];e=e.replace(t.regex,t.val)}if(this.options.htmlEntities)for(let n in this.htmlEntities){let t=this.htmlEntities[n];e=e.replace(t.regex,t.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function _4(e,n,t,r){return e&&(r===void 0&&(r=Object.keys(n.child).length===0),e=this.parseTextData(e,n.tagname,t,!1,n[":@"]?Object.keys(n[":@"]).length!==0:!1,r),e!==void 0&&e!==""&&n.add(this.options.textNodeName,e),e=""),e}function g4(e,n,t){let r="*."+t;for(let o in e){let s=e[o];if(r===s||n===s)return!0}return!1}function h4(e,n,t=">"){let r,o="";for(let s=n;s",t,`${n} is not closed`);if(e.substring(t+2,s).trim()===n&&(o--,o===0))return{tagContent:e.substring(r,t),i:s};t=s}else if(e[t+1]==="?")t=Jr(e,"?>",t+1,"StopNode is not closed.");else if(e.substr(t+1,3)==="!--")t=Jr(e,"-->",t+3,"StopNode is not closed.");else if(e.substr(t+1,2)==="![")t=Jr(e,"]]>",t,"StopNode is not closed.")-2;else{let s=xh(e,t,">");s&&((s&&s.tagName)===n&&s.tagExp[s.tagExp.length-1]!=="/"&&o++,t=s.closeIndex)}}function wh(e,n,t){if(n&&typeof e=="string"){let r=e.trim();return r==="true"?!0:r==="false"?!1:a4(e,t)}else return kh.isExist(e)?e:""}MO.exports=vh});var jO=m(LO=>{"use strict";function S4(e,n){return FO(e,n)}function FO(e,n,t){let r,o={};for(let s=0;s0&&(o[n.textNodeName]=r):r!==void 0&&(o[n.textNodeName]=r),o}function E4(e){let n=Object.keys(e);for(let t=0;t{var{buildOptions:v4}=IO(),x4=DO(),{prettify:w4}=jO(),k4=Eh(),Ah=class{constructor(n){this.externalEntities={},this.options=v4(n)}parse(n,t){if(typeof n!="string")if(n.toString)n=n.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(t){t===!0&&(t={});let s=k4.validate(n,t);if(s!==!0)throw Error(`${s.err.msg}:${s.err.line}:${s.err.col}`)}let r=new x4(this.options);r.addExternalEntities(this.externalEntities);let o=r.parseXml(n);return this.options.preserveOrder||o===void 0?o:w4(o,this.options)}addEntity(n,t){if(t.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(n.indexOf("&")!==-1||n.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if(t==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[n]=t}};UO.exports=Ah});var VO=m((GIe,KO)=>{var A4=` -`;function I4(e,n){let t="";return n.format&&n.indentBy.length>0&&(t=A4),HO(e,n,"",t)}function HO(e,n,t,r){let o="",s=!1;for(let a=0;a`,s=!1;continue}else if(u===n.commentPropName){o+=r+``,s=!0;continue}else if(u[0]==="?"){let b=GO(i[":@"],n),F=u==="?xml"?"":r,L=i[u][0][n.textNodeName];L=L.length!==0?" "+L:"",o+=F+`<${u}${L}${b}?>`,s=!0;continue}let c=r;c!==""&&(c+=n.indentBy);let y=GO(i[":@"],n),_=r+`<${u}${y}`,C=HO(i[u],n,l,c);n.unpairedTags.indexOf(u)!==-1?n.suppressUnpairedNode?o+=_+">":o+=_+"/>":(!C||C.length===0)&&n.suppressEmptyNode?o+=_+"/>":C&&C.endsWith(">")?o+=_+`>${C}${r}`:(o+=_+">",C&&r!==""&&(C.includes("/>")||C.includes("`),s=!0}return o}function R4(e){let n=Object.keys(e);for(let t=0;t0&&n.processEntities)for(let t=0;t{"use strict";var O4=VO(),T4={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,n){return n},attributeValueProcessor:function(e,n){return n},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function lr(e){this.options=Object.assign({},T4,e),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=M4),this.processTextOrObjNode=q4,this.options.format?(this.indentate=B4,this.tagEndChar=`> -`,this.newLine=` -`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}lr.prototype.build=function(e){return this.options.preserveOrder?O4(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0).val)};lr.prototype.j2x=function(e,n){let t="",r="";for(let o in e)if(!(typeof e[o]>"u"))if(e[o]===null)o[0]==="?"?r+=this.indentate(n)+"<"+o+"?"+this.tagEndChar:r+=this.indentate(n)+"<"+o+"/"+this.tagEndChar;else if(e[o]instanceof Date)r+=this.buildTextValNode(e[o],o,"",n);else if(typeof e[o]!="object"){let s=this.isAttribute(o);if(s)t+=this.buildAttrPairStr(s,""+e[o]);else if(o===this.options.textNodeName){let a=this.options.tagValueProcessor(o,""+e[o]);r+=this.replaceEntitiesValue(a)}else r+=this.buildTextValNode(e[o],o,"",n)}else if(Array.isArray(e[o])){let s=e[o].length,a="";for(let i=0;i"u"||(u===null?o[0]==="?"?r+=this.indentate(n)+"<"+o+"?"+this.tagEndChar:r+=this.indentate(n)+"<"+o+"/"+this.tagEndChar:typeof u=="object"?this.options.oneListGroup?a+=this.j2x(u,n+1).val:a+=this.processTextOrObjNode(u,o,n):a+=this.buildTextValNode(u,o,"",n))}this.options.oneListGroup&&(a=this.buildObjectNode(a,o,"",n)),r+=a}else if(this.options.attributesGroupName&&o===this.options.attributesGroupName){let s=Object.keys(e[o]),a=s.length;for(let i=0;i"+e+o:this.options.commentPropName!==!1&&n===this.options.commentPropName&&s.length===0?this.indentate(r)+``+this.newLine:this.indentate(r)+"<"+n+t+s+this.tagEndChar+e+this.indentate(r)+o}};lr.prototype.closeTag=function(e){let n="";return this.options.unpairedTags.indexOf(e)!==-1?this.options.suppressUnpairedNode||(n="/"):this.options.suppressEmptyNode?n="/":n=`>`+this.newLine;if(this.options.commentPropName!==!1&&n===this.options.commentPropName)return this.indentate(r)+``+this.newLine;if(n[0]==="?")return this.indentate(r)+"<"+n+t+"?"+this.tagEndChar;{let o=this.options.tagValueProcessor(n,e);return o=this.replaceEntitiesValue(o),o===""?this.indentate(r)+"<"+n+t+this.closeTag(n)+this.tagEndChar:this.indentate(r)+"<"+n+t+">"+o+"0&&this.options.processEntities)for(let n=0;n{"use strict";var D4=Eh(),F4=zO(),L4=WO();YO.exports={XMLParser:F4,XMLValidator:D4,XMLBuilder:L4}});var Nn=m(ye=>{"use strict";Object.defineProperty(ye,"__esModule",{value:!0});ye.de_GetSessionTokenCommand=ye.de_GetFederationTokenCommand=ye.de_GetCallerIdentityCommand=ye.de_GetAccessKeyInfoCommand=ye.de_DecodeAuthorizationMessageCommand=ye.de_AssumeRoleWithWebIdentityCommand=ye.de_AssumeRoleWithSAMLCommand=ye.de_AssumeRoleCommand=ye.se_GetSessionTokenCommand=ye.se_GetFederationTokenCommand=ye.se_GetCallerIdentityCommand=ye.se_GetAccessKeyInfoCommand=ye.se_DecodeAuthorizationMessageCommand=ye.se_AssumeRoleWithWebIdentityCommand=ye.se_AssumeRoleWithSAMLCommand=ye.se_AssumeRoleCommand=void 0;var j4=we(),Z=E(),U4=Ih(),ur=dr(),z4=_m(),G4=async(e,n)=>{let t=fr,r;return r=_r({...y5(e,n),Action:"AssumeRole",Version:"2011-06-15"}),pr(n,t,"/",void 0,r)};ye.se_AssumeRoleCommand=G4;var H4=async(e,n)=>{let t=fr,r;return r=_r({..._5(e,n),Action:"AssumeRoleWithSAML",Version:"2011-06-15"}),pr(n,t,"/",void 0,r)};ye.se_AssumeRoleWithSAMLCommand=H4;var $4=async(e,n)=>{let t=fr,r;return r=_r({...g5(e,n),Action:"AssumeRoleWithWebIdentity",Version:"2011-06-15"}),pr(n,t,"/",void 0,r)};ye.se_AssumeRoleWithWebIdentityCommand=$4;var K4=async(e,n)=>{let t=fr,r;return r=_r({...h5(e,n),Action:"DecodeAuthorizationMessage",Version:"2011-06-15"}),pr(n,t,"/",void 0,r)};ye.se_DecodeAuthorizationMessageCommand=K4;var V4=async(e,n)=>{let t=fr,r;return r=_r({...C5(e,n),Action:"GetAccessKeyInfo",Version:"2011-06-15"}),pr(n,t,"/",void 0,r)};ye.se_GetAccessKeyInfoCommand=V4;var X4=async(e,n)=>{let t=fr,r;return r=_r({...S5(e,n),Action:"GetCallerIdentity",Version:"2011-06-15"}),pr(n,t,"/",void 0,r)};ye.se_GetCallerIdentityCommand=X4;var W4=async(e,n)=>{let t=fr,r;return r=_r({...E5(e,n),Action:"GetFederationToken",Version:"2011-06-15"}),pr(n,t,"/",void 0,r)};ye.se_GetFederationTokenCommand=W4;var Y4=async(e,n)=>{let t=fr,r;return r=_r({...b5(e,n),Action:"GetSessionToken",Version:"2011-06-15"}),pr(n,t,"/",void 0,r)};ye.se_GetSessionTokenCommand=Y4;var Q4=async(e,n)=>{if(e.statusCode>=300)return J4(e,n);let t=await Rn(e.body,n),r={};return r=A5(t.AssumeRoleResult,n),{$metadata:tt(e),...r}};ye.de_AssumeRoleCommand=Q4;var J4=async(e,n)=>{let t={...e,body:await yr(e.body,n)},r=gr(e,t.body);switch(r){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await Rh(t,n);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await hm(t,n);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Cm(t,n);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await gc(t,n);default:let o=t.body;return mr({output:e,parsedBody:o.Error,errorCode:r})}},Z4=async(e,n)=>{if(e.statusCode>=300)return e5(e,n);let t=await Rn(e.body,n),r={};return r=I5(t.AssumeRoleWithSAMLResult,n),{$metadata:tt(e),...r}};ye.de_AssumeRoleWithSAMLCommand=Z4;var e5=async(e,n)=>{let t={...e,body:await yr(e.body,n)},r=gr(e,t.body);switch(r){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await Rh(t,n);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await QO(t,n);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await JO(t,n);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await hm(t,n);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Cm(t,n);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await gc(t,n);default:let o=t.body;return mr({output:e,parsedBody:o.Error,errorCode:r})}},t5=async(e,n)=>{if(e.statusCode>=300)return n5(e,n);let t=await Rn(e.body,n),r={};return r=R5(t.AssumeRoleWithWebIdentityResult,n),{$metadata:tt(e),...r}};ye.de_AssumeRoleWithWebIdentityCommand=t5;var n5=async(e,n)=>{let t={...e,body:await yr(e.body,n)},r=gr(e,t.body);switch(r){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await Rh(t,n);case"IDPCommunicationError":case"com.amazonaws.sts#IDPCommunicationErrorException":throw await p5(t,n);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await QO(t,n);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await JO(t,n);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await hm(t,n);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Cm(t,n);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await gc(t,n);default:let o=t.body;return mr({output:e,parsedBody:o.Error,errorCode:r})}},r5=async(e,n)=>{if(e.statusCode>=300)return o5(e,n);let t=await Rn(e.body,n),r={};return r=N5(t.DecodeAuthorizationMessageResult,n),{$metadata:tt(e),...r}};ye.de_DecodeAuthorizationMessageCommand=r5;var o5=async(e,n)=>{let t={...e,body:await yr(e.body,n)},r=gr(e,t.body);switch(r){case"InvalidAuthorizationMessageException":case"com.amazonaws.sts#InvalidAuthorizationMessageException":throw await f5(t,n);default:let o=t.body;return mr({output:e,parsedBody:o.Error,errorCode:r})}},s5=async(e,n)=>{if(e.statusCode>=300)return i5(e,n);let t=await Rn(e.body,n),r={};return r=q5(t.GetAccessKeyInfoResult,n),{$metadata:tt(e),...r}};ye.de_GetAccessKeyInfoCommand=s5;var i5=async(e,n)=>{let t={...e,body:await yr(e.body,n)},r=gr(e,t.body),o=t.body;return mr({output:e,parsedBody:o.Error,errorCode:r})},a5=async(e,n)=>{if(e.statusCode>=300)return c5(e,n);let t=await Rn(e.body,n),r={};return r=B5(t.GetCallerIdentityResult,n),{$metadata:tt(e),...r}};ye.de_GetCallerIdentityCommand=a5;var c5=async(e,n)=>{let t={...e,body:await yr(e.body,n)},r=gr(e,t.body),o=t.body;return mr({output:e,parsedBody:o.Error,errorCode:r})},d5=async(e,n)=>{if(e.statusCode>=300)return l5(e,n);let t=await Rn(e.body,n),r={};return r=M5(t.GetFederationTokenResult,n),{$metadata:tt(e),...r}};ye.de_GetFederationTokenCommand=d5;var l5=async(e,n)=>{let t={...e,body:await yr(e.body,n)},r=gr(e,t.body);switch(r){case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await hm(t,n);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Cm(t,n);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await gc(t,n);default:let o=t.body;return mr({output:e,parsedBody:o.Error,errorCode:r})}},u5=async(e,n)=>{if(e.statusCode>=300)return m5(e,n);let t=await Rn(e.body,n),r={};return r=D5(t.GetSessionTokenResult,n),{$metadata:tt(e),...r}};ye.de_GetSessionTokenCommand=u5;var m5=async(e,n)=>{let t={...e,body:await yr(e.body,n)},r=gr(e,t.body);switch(r){case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await gc(t,n);default:let o=t.body;return mr({output:e,parsedBody:o.Error,errorCode:r})}},Rh=async(e,n)=>{let t=e.body,r=O5(t.Error,n),o=new ur.ExpiredTokenException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},p5=async(e,n)=>{let t=e.body,r=F5(t.Error,n),o=new ur.IDPCommunicationErrorException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},QO=async(e,n)=>{let t=e.body,r=L5(t.Error,n),o=new ur.IDPRejectedClaimException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},f5=async(e,n)=>{let t=e.body,r=j5(t.Error,n),o=new ur.InvalidAuthorizationMessageException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},JO=async(e,n)=>{let t=e.body,r=U5(t.Error,n),o=new ur.InvalidIdentityTokenException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},hm=async(e,n)=>{let t=e.body,r=z5(t.Error,n),o=new ur.MalformedPolicyDocumentException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},Cm=async(e,n)=>{let t=e.body,r=G5(t.Error,n),o=new ur.PackedPolicyTooLargeException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},gc=async(e,n)=>{let t=e.body,r=H5(t.Error,n),o=new ur.RegionDisabledException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},y5=(e,n)=>{var r,o,s,a;let t={};if(e.RoleArn!=null&&(t.RoleArn=e.RoleArn),e.RoleSessionName!=null&&(t.RoleSessionName=e.RoleSessionName),e.PolicyArns!=null){let i=Sm(e.PolicyArns,n);((r=e.PolicyArns)==null?void 0:r.length)===0&&(t.PolicyArns=[]),Object.entries(i).forEach(([u,l])=>{let c=`PolicyArns.${u}`;t[c]=l})}if(e.Policy!=null&&(t.Policy=e.Policy),e.DurationSeconds!=null&&(t.DurationSeconds=e.DurationSeconds),e.Tags!=null){let i=ZO(e.Tags,n);((o=e.Tags)==null?void 0:o.length)===0&&(t.Tags=[]),Object.entries(i).forEach(([u,l])=>{let c=`Tags.${u}`;t[c]=l})}if(e.TransitiveTagKeys!=null){let i=k5(e.TransitiveTagKeys,n);((s=e.TransitiveTagKeys)==null?void 0:s.length)===0&&(t.TransitiveTagKeys=[]),Object.entries(i).forEach(([u,l])=>{let c=`TransitiveTagKeys.${u}`;t[c]=l})}if(e.ExternalId!=null&&(t.ExternalId=e.ExternalId),e.SerialNumber!=null&&(t.SerialNumber=e.SerialNumber),e.TokenCode!=null&&(t.TokenCode=e.TokenCode),e.SourceIdentity!=null&&(t.SourceIdentity=e.SourceIdentity),e.ProvidedContexts!=null){let i=x5(e.ProvidedContexts,n);((a=e.ProvidedContexts)==null?void 0:a.length)===0&&(t.ProvidedContexts=[]),Object.entries(i).forEach(([u,l])=>{let c=`ProvidedContexts.${u}`;t[c]=l})}return t},_5=(e,n)=>{var r;let t={};if(e.RoleArn!=null&&(t.RoleArn=e.RoleArn),e.PrincipalArn!=null&&(t.PrincipalArn=e.PrincipalArn),e.SAMLAssertion!=null&&(t.SAMLAssertion=e.SAMLAssertion),e.PolicyArns!=null){let o=Sm(e.PolicyArns,n);((r=e.PolicyArns)==null?void 0:r.length)===0&&(t.PolicyArns=[]),Object.entries(o).forEach(([s,a])=>{let i=`PolicyArns.${s}`;t[i]=a})}return e.Policy!=null&&(t.Policy=e.Policy),e.DurationSeconds!=null&&(t.DurationSeconds=e.DurationSeconds),t},g5=(e,n)=>{var r;let t={};if(e.RoleArn!=null&&(t.RoleArn=e.RoleArn),e.RoleSessionName!=null&&(t.RoleSessionName=e.RoleSessionName),e.WebIdentityToken!=null&&(t.WebIdentityToken=e.WebIdentityToken),e.ProviderId!=null&&(t.ProviderId=e.ProviderId),e.PolicyArns!=null){let o=Sm(e.PolicyArns,n);((r=e.PolicyArns)==null?void 0:r.length)===0&&(t.PolicyArns=[]),Object.entries(o).forEach(([s,a])=>{let i=`PolicyArns.${s}`;t[i]=a})}return e.Policy!=null&&(t.Policy=e.Policy),e.DurationSeconds!=null&&(t.DurationSeconds=e.DurationSeconds),t},h5=(e,n)=>{let t={};return e.EncodedMessage!=null&&(t.EncodedMessage=e.EncodedMessage),t},C5=(e,n)=>{let t={};return e.AccessKeyId!=null&&(t.AccessKeyId=e.AccessKeyId),t},S5=(e,n)=>({}),E5=(e,n)=>{var r,o;let t={};if(e.Name!=null&&(t.Name=e.Name),e.Policy!=null&&(t.Policy=e.Policy),e.PolicyArns!=null){let s=Sm(e.PolicyArns,n);((r=e.PolicyArns)==null?void 0:r.length)===0&&(t.PolicyArns=[]),Object.entries(s).forEach(([a,i])=>{let u=`PolicyArns.${a}`;t[u]=i})}if(e.DurationSeconds!=null&&(t.DurationSeconds=e.DurationSeconds),e.Tags!=null){let s=ZO(e.Tags,n);((o=e.Tags)==null?void 0:o.length)===0&&(t.Tags=[]),Object.entries(s).forEach(([a,i])=>{let u=`Tags.${a}`;t[u]=i})}return t},b5=(e,n)=>{let t={};return e.DurationSeconds!=null&&(t.DurationSeconds=e.DurationSeconds),e.SerialNumber!=null&&(t.SerialNumber=e.SerialNumber),e.TokenCode!=null&&(t.TokenCode=e.TokenCode),t},Sm=(e,n)=>{let t={},r=1;for(let o of e){if(o===null)continue;let s=P5(o,n);Object.entries(s).forEach(([a,i])=>{t[`member.${r}.${a}`]=i}),r++}return t},P5=(e,n)=>{let t={};return e.arn!=null&&(t.arn=e.arn),t},v5=(e,n)=>{let t={};return e.ProviderArn!=null&&(t.ProviderArn=e.ProviderArn),e.ContextAssertion!=null&&(t.ContextAssertion=e.ContextAssertion),t},x5=(e,n)=>{let t={},r=1;for(let o of e){if(o===null)continue;let s=v5(o,n);Object.entries(s).forEach(([a,i])=>{t[`member.${r}.${a}`]=i}),r++}return t},w5=(e,n)=>{let t={};return e.Key!=null&&(t.Key=e.Key),e.Value!=null&&(t.Value=e.Value),t},k5=(e,n)=>{let t={},r=1;for(let o of e)o!==null&&(t[`member.${r}`]=o,r++);return t},ZO=(e,n)=>{let t={},r=1;for(let o of e){if(o===null)continue;let s=w5(o,n);Object.entries(s).forEach(([a,i])=>{t[`member.${r}.${a}`]=i}),r++}return t},Nh=(e,n)=>{let t={};return e.AssumedRoleId!==void 0&&(t.AssumedRoleId=(0,Z.expectString)(e.AssumedRoleId)),e.Arn!==void 0&&(t.Arn=(0,Z.expectString)(e.Arn)),t},A5=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=hc(e.Credentials,n)),e.AssumedRoleUser!==void 0&&(t.AssumedRoleUser=Nh(e.AssumedRoleUser,n)),e.PackedPolicySize!==void 0&&(t.PackedPolicySize=(0,Z.strictParseInt32)(e.PackedPolicySize)),e.SourceIdentity!==void 0&&(t.SourceIdentity=(0,Z.expectString)(e.SourceIdentity)),t},I5=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=hc(e.Credentials,n)),e.AssumedRoleUser!==void 0&&(t.AssumedRoleUser=Nh(e.AssumedRoleUser,n)),e.PackedPolicySize!==void 0&&(t.PackedPolicySize=(0,Z.strictParseInt32)(e.PackedPolicySize)),e.Subject!==void 0&&(t.Subject=(0,Z.expectString)(e.Subject)),e.SubjectType!==void 0&&(t.SubjectType=(0,Z.expectString)(e.SubjectType)),e.Issuer!==void 0&&(t.Issuer=(0,Z.expectString)(e.Issuer)),e.Audience!==void 0&&(t.Audience=(0,Z.expectString)(e.Audience)),e.NameQualifier!==void 0&&(t.NameQualifier=(0,Z.expectString)(e.NameQualifier)),e.SourceIdentity!==void 0&&(t.SourceIdentity=(0,Z.expectString)(e.SourceIdentity)),t},R5=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=hc(e.Credentials,n)),e.SubjectFromWebIdentityToken!==void 0&&(t.SubjectFromWebIdentityToken=(0,Z.expectString)(e.SubjectFromWebIdentityToken)),e.AssumedRoleUser!==void 0&&(t.AssumedRoleUser=Nh(e.AssumedRoleUser,n)),e.PackedPolicySize!==void 0&&(t.PackedPolicySize=(0,Z.strictParseInt32)(e.PackedPolicySize)),e.Provider!==void 0&&(t.Provider=(0,Z.expectString)(e.Provider)),e.Audience!==void 0&&(t.Audience=(0,Z.expectString)(e.Audience)),e.SourceIdentity!==void 0&&(t.SourceIdentity=(0,Z.expectString)(e.SourceIdentity)),t},hc=(e,n)=>{let t={};return e.AccessKeyId!==void 0&&(t.AccessKeyId=(0,Z.expectString)(e.AccessKeyId)),e.SecretAccessKey!==void 0&&(t.SecretAccessKey=(0,Z.expectString)(e.SecretAccessKey)),e.SessionToken!==void 0&&(t.SessionToken=(0,Z.expectString)(e.SessionToken)),e.Expiration!==void 0&&(t.Expiration=(0,Z.expectNonNull)((0,Z.parseRfc3339DateTimeWithOffset)(e.Expiration))),t},N5=(e,n)=>{let t={};return e.DecodedMessage!==void 0&&(t.DecodedMessage=(0,Z.expectString)(e.DecodedMessage)),t},O5=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},T5=(e,n)=>{let t={};return e.FederatedUserId!==void 0&&(t.FederatedUserId=(0,Z.expectString)(e.FederatedUserId)),e.Arn!==void 0&&(t.Arn=(0,Z.expectString)(e.Arn)),t},q5=(e,n)=>{let t={};return e.Account!==void 0&&(t.Account=(0,Z.expectString)(e.Account)),t},B5=(e,n)=>{let t={};return e.UserId!==void 0&&(t.UserId=(0,Z.expectString)(e.UserId)),e.Account!==void 0&&(t.Account=(0,Z.expectString)(e.Account)),e.Arn!==void 0&&(t.Arn=(0,Z.expectString)(e.Arn)),t},M5=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=hc(e.Credentials,n)),e.FederatedUser!==void 0&&(t.FederatedUser=T5(e.FederatedUser,n)),e.PackedPolicySize!==void 0&&(t.PackedPolicySize=(0,Z.strictParseInt32)(e.PackedPolicySize)),t},D5=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=hc(e.Credentials,n)),t},F5=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},L5=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},j5=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},U5=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},z5=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},G5=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},H5=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},tt=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),$5=(e,n)=>(0,Z.collectBody)(e,n).then(t=>n.utf8Encoder(t)),mr=(0,Z.withBaseException)(z4.STSServiceException),pr=async(e,n,t,r,o)=>{let{hostname:s,protocol:a="https",port:i,path:u}=await e.endpoint(),l={protocol:a,hostname:s,port:i,method:"POST",path:u.endsWith("/")?u.slice(0,-1)+t:u+t,headers:n};return r!==void 0&&(l.hostname=r),o!==void 0&&(l.body=o),new j4.HttpRequest(l)},fr={"content-type":"application/x-www-form-urlencoded"},Rn=(e,n)=>$5(e,n).then(t=>{if(t.length){let r=new U4.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(u,l)=>l.trim()===""&&l.includes(` -`)?"":void 0});r.addEntity("#xD","\r"),r.addEntity("#10",` -`);let o=r.parse(t),s="#text",a=Object.keys(o)[0],i=o[a];return i[s]&&(i[a]=i[s],delete i[s]),(0,Z.getValueFromTextNode)(i)}return{}}),yr=async(e,n)=>{let t=await Rn(e,n);return t.Error&&(t.Error.message=t.Error.message??t.Error.Message),t},_r=e=>Object.entries(e).map(([n,t])=>(0,Z.extendedEncodeURIComponent)(n)+"="+(0,Z.extendedEncodeURIComponent)(t)).join("&"),gr=(e,n)=>{var t;if(((t=n.Error)==null?void 0:t.Code)!==void 0)return n.Error.Code;if(e.statusCode==404)return"NotFound"}});var Em=m(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.AssumeRoleCommand=Go.$Command=void 0;var K5=Pn(),V5=v(),X5=w(),tT=E();Object.defineProperty(Go,"$Command",{enumerable:!0,get:function(){return tT.Command}});var W5=x(),Y5=dr(),eT=Nn(),Oh=class e extends tT.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,X5.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,V5.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,K5.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"AssumeRoleCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:Y5.AssumeRoleResponseFilterSensitiveLog,[W5.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"AssumeRole"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,eT.se_AssumeRoleCommand)(n,t)}deserialize(n,t){return(0,eT.de_AssumeRoleCommand)(n,t)}};Go.AssumeRoleCommand=Oh});var bm=m(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.AssumeRoleWithWebIdentityCommand=Ho.$Command=void 0;var Q5=v(),J5=w(),oT=E();Object.defineProperty(Ho,"$Command",{enumerable:!0,get:function(){return oT.Command}});var Z5=x(),nT=dr(),rT=Nn(),Th=class e extends oT.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,J5.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Q5.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"AssumeRoleWithWebIdentityCommand",inputFilterSensitiveLog:nT.AssumeRoleWithWebIdentityRequestFilterSensitiveLog,outputFilterSensitiveLog:nT.AssumeRoleWithWebIdentityResponseFilterSensitiveLog,[Z5.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"AssumeRoleWithWebIdentity"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,rT.se_AssumeRoleWithWebIdentityCommand)(n,t)}deserialize(n,t){return(0,rT.de_AssumeRoleWithWebIdentityCommand)(n,t)}};Ho.AssumeRoleWithWebIdentityCommand=Th});var qh=m(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.decorateDefaultCredentialProvider=Yt.getDefaultRoleAssumerWithWebIdentity=Yt.getDefaultRoleAssumer=void 0;var eY=Em(),tY=bm(),sT="us-east-1",iT=e=>typeof e!="function"?e===void 0?sT:e:async()=>{try{return await e()}catch{return sT}},nY=(e,n)=>{let t,r;return async(o,s)=>{if(r=o,!t){let{logger:i,region:u,requestHandler:l}=e;t=new n({logger:i,credentialDefaultProvider:()=>async()=>r,region:iT(u||e.region),...l?{requestHandler:l}:{}})}let{Credentials:a}=await t.send(new eY.AssumeRoleCommand(s));if(!a||!a.AccessKeyId||!a.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRole call with role ${s.RoleArn}`);return{accessKeyId:a.AccessKeyId,secretAccessKey:a.SecretAccessKey,sessionToken:a.SessionToken,expiration:a.Expiration}}};Yt.getDefaultRoleAssumer=nY;var rY=(e,n)=>{let t;return async r=>{if(!t){let{logger:s,region:a,requestHandler:i}=e;t=new n({logger:s,region:iT(a||e.region),...i?{requestHandler:i}:{}})}let{Credentials:o}=await t.send(new tY.AssumeRoleWithWebIdentityCommand(r));if(!o||!o.AccessKeyId||!o.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${r.RoleArn}`);return{accessKeyId:o.AccessKeyId,secretAccessKey:o.SecretAccessKey,sessionToken:o.SessionToken,expiration:o.Expiration}}};Yt.getDefaultRoleAssumerWithWebIdentity=rY;var oY=e=>n=>e({roleAssumer:(0,Yt.getDefaultRoleAssumer)(n,n.stsClientCtor),roleAssumerWithWebIdentity:(0,Yt.getDefaultRoleAssumerWithWebIdentity)(n,n.stsClientCtor),...n});Yt.decorateDefaultCredentialProvider=oY});var aT=m(nt=>{"use strict";Object.defineProperty(nt,"__esModule",{value:!0});nt.fromEnv=nt.ENV_EXPIRATION=nt.ENV_SESSION=nt.ENV_SECRET=nt.ENV_KEY=void 0;var sY=Se();nt.ENV_KEY="AWS_ACCESS_KEY_ID";nt.ENV_SECRET="AWS_SECRET_ACCESS_KEY";nt.ENV_SESSION="AWS_SESSION_TOKEN";nt.ENV_EXPIRATION="AWS_CREDENTIAL_EXPIRATION";var iY=()=>async()=>{let e=process.env[nt.ENV_KEY],n=process.env[nt.ENV_SECRET],t=process.env[nt.ENV_SESSION],r=process.env[nt.ENV_EXPIRATION];if(e&&n)return{accessKeyId:e,secretAccessKey:n,...t&&{sessionToken:t},...r&&{expiration:new Date(r)}};throw new sY.CredentialsProviderError("Unable to find environment variable credentials.")};nt.fromEnv=iY});var Mh=m(Bh=>{"use strict";Object.defineProperty(Bh,"__esModule",{value:!0});var aY=(z(),j(U));aY.__exportStar(aT(),Bh)});var Cc=m(Pm=>{"use strict";Object.defineProperty(Pm,"__esModule",{value:!0});Pm.getHomeDir=void 0;var cY=require("os"),dY=require("path"),Dh={},lY=()=>process&&process.geteuid?`${process.geteuid()}`:"DEFAULT",uY=()=>{let{HOME:e,USERPROFILE:n,HOMEPATH:t,HOMEDRIVE:r=`C:${dY.sep}`}=process.env;if(e)return e;if(n)return n;if(t)return`${r}${t}`;let o=lY();return Dh[o]||(Dh[o]=(0,cY.homedir)()),Dh[o]};Pm.getHomeDir=uY});var cT=m(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.getProfileName=Qt.DEFAULT_PROFILE=Qt.ENV_PROFILE=void 0;Qt.ENV_PROFILE="AWS_PROFILE";Qt.DEFAULT_PROFILE="default";var mY=e=>e.profile||process.env[Qt.ENV_PROFILE]||Qt.DEFAULT_PROFILE;Qt.getProfileName=mY});var Fh=m(vm=>{"use strict";Object.defineProperty(vm,"__esModule",{value:!0});vm.getSSOTokenFilepath=void 0;var pY=require("crypto"),fY=require("path"),yY=Cc(),_Y=e=>{let t=(0,pY.createHash)("sha1").update(e).digest("hex");return(0,fY.join)((0,yY.getHomeDir)(),".aws","sso","cache",`${t}.json`)};vm.getSSOTokenFilepath=_Y});var dT=m(xm=>{"use strict";Object.defineProperty(xm,"__esModule",{value:!0});xm.getSSOTokenFromFile=void 0;var gY=require("fs"),hY=Fh(),{readFile:CY}=gY.promises,SY=async e=>{let n=(0,hY.getSSOTokenFilepath)(e),t=await CY(n,"utf8");return JSON.parse(t)};xm.getSSOTokenFromFile=SY});var Lh=m(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.getConfigFilepath=Zr.ENV_CONFIG_PATH=void 0;var EY=require("path"),bY=Cc();Zr.ENV_CONFIG_PATH="AWS_CONFIG_FILE";var PY=()=>process.env[Zr.ENV_CONFIG_PATH]||(0,EY.join)((0,bY.getHomeDir)(),".aws","config");Zr.getConfigFilepath=PY});var lT=m(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.getCredentialsFilepath=eo.ENV_CREDENTIALS_PATH=void 0;var vY=require("path"),xY=Cc();eo.ENV_CREDENTIALS_PATH="AWS_SHARED_CREDENTIALS_FILE";var wY=()=>process.env[eo.ENV_CREDENTIALS_PATH]||(0,vY.join)((0,xY.getHomeDir)(),".aws","credentials");eo.getCredentialsFilepath=wY});var mT=m(wm=>{"use strict";Object.defineProperty(wm,"__esModule",{value:!0});wm.getProfileData=void 0;var uT=/^profile\s(["'])?([^\1]+)\1$/,kY=e=>Object.entries(e).filter(([n])=>uT.test(n)).reduce((n,[t,r])=>({...n,[uT.exec(t)[2]]:r}),{...e.default&&{default:e.default}});wm.getProfileData=kY});var jh=m(km=>{"use strict";Object.defineProperty(km,"__esModule",{value:!0});km.parseIni=void 0;var AY=["__proto__","profile __proto__"],IY=e=>{let n={},t;for(let r of e.split(/\r?\n/))if(r=r.split(/(^|\s)[;#]/)[0].trim(),r[0]==="["&&r[r.length-1]==="]"){if(t=r.substring(1,r.length-1),AY.includes(t))throw new Error(`Found invalid profile name "${t}"`)}else if(t){let s=r.indexOf("="),a=0,i=r.length-1;if(s!==-1&&s!==a&&s!==i){let[l,c]=[r.substring(0,s).trim(),r.substring(s+1).trim()];n[t]=n[t]||{},n[t][l]=c}}return n};km.parseIni=IY});var zh=m(Am=>{"use strict";Object.defineProperty(Am,"__esModule",{value:!0});Am.slurpFile=void 0;var RY=require("fs"),{readFile:NY}=RY.promises,Uh={},OY=(e,n)=>((!Uh[e]||n!=null&&n.ignoreCache)&&(Uh[e]=NY(e,"utf8")),Uh[e]);Am.slurpFile=OY});var Gh=m(Im=>{"use strict";Object.defineProperty(Im,"__esModule",{value:!0});Im.loadSharedConfigFiles=void 0;var TY=Lh(),qY=lT(),BY=mT(),pT=jh(),fT=zh(),yT=()=>({}),MY=async(e={})=>{let{filepath:n=(0,qY.getCredentialsFilepath)(),configFilepath:t=(0,TY.getConfigFilepath)()}=e,r=await Promise.all([(0,fT.slurpFile)(t,{ignoreCache:e.ignoreCache}).then(pT.parseIni).then(BY.getProfileData).catch(yT),(0,fT.slurpFile)(n,{ignoreCache:e.ignoreCache}).then(pT.parseIni).catch(yT)]);return{configFile:r[0],credentialsFile:r[1]}};Im.loadSharedConfigFiles=MY});var gT=m(Rm=>{"use strict";Object.defineProperty(Rm,"__esModule",{value:!0});Rm.getSsoSessionData=void 0;var _T=/^sso-session\s(["'])?([^\1]+)\1$/,DY=e=>Object.entries(e).filter(([n])=>_T.test(n)).reduce((n,[t,r])=>({...n,[_T.exec(t)[2]]:r}),{});Rm.getSsoSessionData=DY});var hT=m(Nm=>{"use strict";Object.defineProperty(Nm,"__esModule",{value:!0});Nm.loadSsoSessionData=void 0;var FY=Lh(),LY=gT(),jY=jh(),UY=zh(),zY=()=>({}),GY=async(e={})=>{var n;return(0,UY.slurpFile)((n=e.configFilepath)!==null&&n!==void 0?n:(0,FY.getConfigFilepath)()).then(jY.parseIni).then(LY.getSsoSessionData).catch(zY)};Nm.loadSsoSessionData=GY});var CT=m(Om=>{"use strict";Object.defineProperty(Om,"__esModule",{value:!0});Om.mergeConfigFiles=void 0;var HY=(...e)=>{let n={};for(let t of e)for(let[r,o]of Object.entries(t))n[r]!==void 0?Object.assign(n[r],o):n[r]=o;return n};Om.mergeConfigFiles=HY});var ST=m(Tm=>{"use strict";Object.defineProperty(Tm,"__esModule",{value:!0});Tm.parseKnownFiles=void 0;var $Y=Gh(),KY=CT(),VY=async e=>{let n=await(0,$Y.loadSharedConfigFiles)(e);return(0,KY.mergeConfigFiles)(n.configFile,n.credentialsFile)};Tm.parseKnownFiles=VY});var bT=m(ET=>{"use strict";Object.defineProperty(ET,"__esModule",{value:!0})});var Zt=m(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});var hr=(z(),j(U));hr.__exportStar(Cc(),Jt);hr.__exportStar(cT(),Jt);hr.__exportStar(Fh(),Jt);hr.__exportStar(dT(),Jt);hr.__exportStar(Gh(),Jt);hr.__exportStar(hT(),Jt);hr.__exportStar(ST(),Jt);hr.__exportStar(bT(),Jt)});var Bm=m(qm=>{"use strict";Object.defineProperty(qm,"__esModule",{value:!0});qm.httpRequest=void 0;var Hh=Se(),XY=require("buffer"),WY=require("http");function YY(e){return new Promise((n,t)=>{var r;let o=(0,WY.request)({method:"GET",...e,hostname:(r=e.hostname)===null||r===void 0?void 0:r.replace(/^\[(.+)\]$/,"$1")});o.on("error",s=>{t(Object.assign(new Hh.ProviderError("Unable to connect to instance metadata service"),s)),o.destroy()}),o.on("timeout",()=>{t(new Hh.ProviderError("TimeoutError from instance metadata service")),o.destroy()}),o.on("response",s=>{let{statusCode:a=400}=s;(a<200||300<=a)&&(t(Object.assign(new Hh.ProviderError("Error response received from instance metadata service"),{statusCode:a})),o.destroy());let i=[];s.on("data",u=>{i.push(u)}),s.on("end",()=>{n(XY.Buffer.concat(i)),o.destroy()})}),o.end()})}qm.httpRequest=YY});var $h=m($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.fromImdsCredentials=$o.isImdsCredentials=void 0;var QY=e=>!!e&&typeof e=="object"&&typeof e.AccessKeyId=="string"&&typeof e.SecretAccessKey=="string"&&typeof e.Token=="string"&&typeof e.Expiration=="string";$o.isImdsCredentials=QY;var JY=e=>({accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,sessionToken:e.Token,expiration:new Date(e.Expiration)});$o.fromImdsCredentials=JY});var Mm=m(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.providerConfigFromInit=en.DEFAULT_MAX_RETRIES=en.DEFAULT_TIMEOUT=void 0;en.DEFAULT_TIMEOUT=1e3;en.DEFAULT_MAX_RETRIES=0;var ZY=({maxRetries:e=en.DEFAULT_MAX_RETRIES,timeout:n=en.DEFAULT_TIMEOUT})=>({maxRetries:e,timeout:n});en.providerConfigFromInit=ZY});var Kh=m(Dm=>{"use strict";Object.defineProperty(Dm,"__esModule",{value:!0});Dm.retry=void 0;var e9=(e,n)=>{let t=e();for(let r=0;r{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});Ge.fromContainerMetadata=Ge.ENV_CMDS_AUTH_TOKEN=Ge.ENV_CMDS_RELATIVE_URI=Ge.ENV_CMDS_FULL_URI=void 0;var Fm=Se(),t9=require("url"),n9=Bm(),PT=$h(),r9=Mm(),o9=Kh();Ge.ENV_CMDS_FULL_URI="AWS_CONTAINER_CREDENTIALS_FULL_URI";Ge.ENV_CMDS_RELATIVE_URI="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI";Ge.ENV_CMDS_AUTH_TOKEN="AWS_CONTAINER_AUTHORIZATION_TOKEN";var s9=(e={})=>{let{timeout:n,maxRetries:t}=(0,r9.providerConfigFromInit)(e);return()=>(0,o9.retry)(async()=>{let r=await l9(),o=JSON.parse(await i9(n,r));if(!(0,PT.isImdsCredentials)(o))throw new Fm.CredentialsProviderError("Invalid response received from instance metadata service.");return(0,PT.fromImdsCredentials)(o)},t)};Ge.fromContainerMetadata=s9;var i9=async(e,n)=>(process.env[Ge.ENV_CMDS_AUTH_TOKEN]&&(n.headers={...n.headers,Authorization:process.env[Ge.ENV_CMDS_AUTH_TOKEN]}),(await(0,n9.httpRequest)({...n,timeout:e})).toString()),a9="169.254.170.2",c9={localhost:!0,"127.0.0.1":!0},d9={"http:":!0,"https:":!0},l9=async()=>{if(process.env[Ge.ENV_CMDS_RELATIVE_URI])return{hostname:a9,path:process.env[Ge.ENV_CMDS_RELATIVE_URI]};if(process.env[Ge.ENV_CMDS_FULL_URI]){let e=(0,t9.parse)(process.env[Ge.ENV_CMDS_FULL_URI]);if(!e.hostname||!(e.hostname in c9))throw new Fm.CredentialsProviderError(`${e.hostname} is not a valid container metadata service hostname`,!1);if(!e.protocol||!(e.protocol in d9))throw new Fm.CredentialsProviderError(`${e.protocol} is not a valid container metadata service protocol`,!1);return{...e,port:e.port?parseInt(e.port,10):void 0}}throw new Fm.CredentialsProviderError(`The container metadata credential provider cannot be used unless the ${Ge.ENV_CMDS_RELATIVE_URI} or ${Ge.ENV_CMDS_FULL_URI} environment variable is set`,!1)}});var xT=m(Lm=>{"use strict";Object.defineProperty(Lm,"__esModule",{value:!0});Lm.fromEnv=void 0;var u9=Se(),m9=e=>async()=>{try{let n=e(process.env);if(n===void 0)throw new Error;return n}catch(n){throw new u9.CredentialsProviderError(n.message||`Cannot load config from environment variables with getter: ${e}`)}};Lm.fromEnv=m9});var kT=m(jm=>{"use strict";Object.defineProperty(jm,"__esModule",{value:!0});jm.fromSharedConfigFiles=void 0;var p9=Se(),wT=Zt(),f9=(e,{preferredFile:n="config",...t}={})=>async()=>{let r=(0,wT.getProfileName)(t),{configFile:o,credentialsFile:s}=await(0,wT.loadSharedConfigFiles)(t),a=s[r]||{},i=o[r]||{},u=n==="config"?{...a,...i}:{...i,...a};try{let l=e(u);if(l===void 0)throw new Error;return l}catch(l){throw new p9.CredentialsProviderError(l.message||`Cannot load config for profile ${r} in SDK configuration files with getter: ${e}`)}};jm.fromSharedConfigFiles=f9});var AT=m(Um=>{"use strict";Object.defineProperty(Um,"__esModule",{value:!0});Um.fromStatic=void 0;var y9=Se(),_9=e=>typeof e=="function",g9=e=>_9(e)?async()=>await e():(0,y9.fromStatic)(e);Um.fromStatic=g9});var RT=m(zm=>{"use strict";Object.defineProperty(zm,"__esModule",{value:!0});zm.loadConfig=void 0;var IT=Se(),h9=xT(),C9=kT(),S9=AT(),E9=({environmentVariableSelector:e,configFileSelector:n,default:t},r={})=>(0,IT.memoize)((0,IT.chain)((0,h9.fromEnv)(e),(0,C9.fromSharedConfigFiles)(n,r),(0,S9.fromStatic)(t)));zm.loadConfig=E9});var Cr=m(Vh=>{"use strict";Object.defineProperty(Vh,"__esModule",{value:!0});var b9=(z(),j(U));b9.__exportStar(RT(),Vh)});var NT=m(Sc=>{"use strict";Object.defineProperty(Sc,"__esModule",{value:!0});Sc.Endpoint=void 0;var P9;(function(e){e.IPv4="http://169.254.169.254",e.IPv6="http://[fd00:ec2::254]"})(P9=Sc.Endpoint||(Sc.Endpoint={}))});var OT=m(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.ENDPOINT_CONFIG_OPTIONS=tn.CONFIG_ENDPOINT_NAME=tn.ENV_ENDPOINT_NAME=void 0;tn.ENV_ENDPOINT_NAME="AWS_EC2_METADATA_SERVICE_ENDPOINT";tn.CONFIG_ENDPOINT_NAME="ec2_metadata_service_endpoint";tn.ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:e=>e[tn.ENV_ENDPOINT_NAME],configFileSelector:e=>e[tn.CONFIG_ENDPOINT_NAME],default:void 0}});var Xh=m(Ec=>{"use strict";Object.defineProperty(Ec,"__esModule",{value:!0});Ec.EndpointMode=void 0;var v9;(function(e){e.IPv4="IPv4",e.IPv6="IPv6"})(v9=Ec.EndpointMode||(Ec.EndpointMode={}))});var TT=m(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.ENDPOINT_MODE_CONFIG_OPTIONS=nn.CONFIG_ENDPOINT_MODE_NAME=nn.ENV_ENDPOINT_MODE_NAME=void 0;var x9=Xh();nn.ENV_ENDPOINT_MODE_NAME="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE";nn.CONFIG_ENDPOINT_MODE_NAME="ec2_metadata_service_endpoint_mode";nn.ENDPOINT_MODE_CONFIG_OPTIONS={environmentVariableSelector:e=>e[nn.ENV_ENDPOINT_MODE_NAME],configFileSelector:e=>e[nn.CONFIG_ENDPOINT_MODE_NAME],default:x9.EndpointMode.IPv4}});var Yh=m(Gm=>{"use strict";Object.defineProperty(Gm,"__esModule",{value:!0});Gm.getInstanceMetadataEndpoint=void 0;var BT=Cr(),w9=Kr(),qT=NT(),k9=OT(),Wh=Xh(),A9=TT(),I9=async()=>(0,w9.parseUrl)(await R9()||await N9());Gm.getInstanceMetadataEndpoint=I9;var R9=async()=>(0,BT.loadConfig)(k9.ENDPOINT_CONFIG_OPTIONS)(),N9=async()=>{let e=await(0,BT.loadConfig)(A9.ENDPOINT_MODE_CONFIG_OPTIONS)();switch(e){case Wh.EndpointMode.IPv4:return qT.Endpoint.IPv4;case Wh.EndpointMode.IPv6:return qT.Endpoint.IPv6;default:throw new Error(`Unsupported endpoint mode: ${e}. Select from ${Object.values(Wh.EndpointMode)}`)}}});var MT=m(Hm=>{"use strict";Object.defineProperty(Hm,"__esModule",{value:!0});Hm.getExtendedInstanceMetadataCredentials=void 0;var O9=5*60,T9=5*60,q9="https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html",B9=(e,n)=>{var t;let r=O9+Math.floor(Math.random()*T9),o=new Date(Date.now()+r*1e3);n.warn("Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(newExpiration)}.\nFor more information, please visit: "+q9);let s=(t=e.originalExpiration)!==null&&t!==void 0?t:e.expiration;return{...e,...s?{originalExpiration:s}:{},expiration:o}};Hm.getExtendedInstanceMetadataCredentials=B9});var FT=m($m=>{"use strict";Object.defineProperty($m,"__esModule",{value:!0});$m.staticStabilityProvider=void 0;var DT=MT(),M9=(e,n={})=>{let t=(n==null?void 0:n.logger)||console,r;return async()=>{let o;try{o=await e(),o.expiration&&o.expiration.getTime(){"use strict";Object.defineProperty(Km,"__esModule",{value:!0});Km.fromInstanceMetadata=void 0;var D9=Se(),Qh=Bm(),LT=$h(),F9=Mm(),jT=Kh(),L9=Yh(),j9=FT(),UT="/latest/meta-data/iam/security-credentials/",U9="/latest/api/token",z9=(e={})=>(0,j9.staticStabilityProvider)(G9(e),{logger:e.logger});Km.fromInstanceMetadata=z9;var G9=e=>{let n=!1,{timeout:t,maxRetries:r}=(0,F9.providerConfigFromInit)(e),o=async(s,a)=>{let i=(await(0,jT.retry)(async()=>{let u;try{u=await $9(a)}catch(l){throw l.statusCode===401&&(n=!1),l}return u},s)).trim();return(0,jT.retry)(async()=>{let u;try{u=await K9(i,a)}catch(l){throw l.statusCode===401&&(n=!1),l}return u},s)};return async()=>{let s=await(0,L9.getInstanceMetadataEndpoint)();if(n)return o(r,{...s,timeout:t});{let a;try{a=(await H9({...s,timeout:t})).toString()}catch(i){if((i==null?void 0:i.statusCode)===400)throw Object.assign(i,{message:"EC2 Metadata token request returned error"});return(i.message==="TimeoutError"||[403,404,405].includes(i.statusCode))&&(n=!0),o(r,{...s,timeout:t})}return o(r,{...s,headers:{"x-aws-ec2-metadata-token":a},timeout:t})}}},H9=async e=>(0,Qh.httpRequest)({...e,path:U9,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}}),$9=async e=>(await(0,Qh.httpRequest)({...e,path:UT})).toString(),K9=async(e,n)=>{let t=JSON.parse((await(0,Qh.httpRequest)({...n,path:UT+e})).toString());if(!(0,LT.isImdsCredentials)(t))throw new D9.CredentialsProviderError("Invalid response received from instance metadata service.");return(0,LT.fromImdsCredentials)(t)}});var HT=m(GT=>{"use strict";Object.defineProperty(GT,"__esModule",{value:!0})});var Xm=m(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.getInstanceMetadataEndpoint=rn.httpRequest=void 0;var Vm=(z(),j(U));Vm.__exportStar(vT(),rn);Vm.__exportStar(zT(),rn);Vm.__exportStar(Mm(),rn);Vm.__exportStar(HT(),rn);var V9=Bm();Object.defineProperty(rn,"httpRequest",{enumerable:!0,get:function(){return V9.httpRequest}});var X9=Yh();Object.defineProperty(rn,"getInstanceMetadataEndpoint",{enumerable:!0,get:function(){return X9.getInstanceMetadataEndpoint}})});var KT=m(Wm=>{"use strict";Object.defineProperty(Wm,"__esModule",{value:!0});Wm.resolveCredentialSource=void 0;var W9=Mh(),$T=Xm(),Y9=Se(),Q9=(e,n)=>{let t={EcsContainer:$T.fromContainerMetadata,Ec2InstanceMetadata:$T.fromInstanceMetadata,Environment:W9.fromEnv};if(e in t)return t[e]();throw new Y9.CredentialsProviderError(`Unsupported credential source in profile ${n}. Got ${e}, expected EcsContainer or Ec2InstanceMetadata or Environment.`)};Wm.resolveCredentialSource=Q9});var VT=m(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.resolveAssumeRoleCredentials=Ko.isAssumeRoleProfile=void 0;var Jh=Se(),J9=Zt(),Z9=KT(),e7=Zh(),t7=e=>!!e&&typeof e=="object"&&typeof e.role_arn=="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(n7(e)||r7(e));Ko.isAssumeRoleProfile=t7;var n7=e=>typeof e.source_profile=="string"&&typeof e.credential_source>"u",r7=e=>typeof e.credential_source=="string"&&typeof e.source_profile>"u",o7=async(e,n,t,r={})=>{let o=n[e];if(!t.roleAssumer)throw new Jh.CredentialsProviderError(`Profile ${e} requires a role to be assumed, but no role assumption callback was provided.`,!1);let{source_profile:s}=o;if(s&&s in r)throw new Jh.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${(0,J9.getProfileName)(t)}. Profiles visited: `+Object.keys(r).join(", "),!1);let a=s?(0,e7.resolveProfileData)(s,n,t,{...r,[s]:!0}):(0,Z9.resolveCredentialSource)(o.credential_source,e)(),i={RoleArn:o.role_arn,RoleSessionName:o.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:o.external_id,DurationSeconds:parseInt(o.duration_seconds||"3600",10)},{mfa_serial:u}=o;if(u){if(!t.mfaCodeProvider)throw new Jh.CredentialsProviderError(`Profile ${e} requires multi-factor authentication, but no MFA code callback was provided.`,!1);i.SerialNumber=u,i.TokenCode=await t.mfaCodeProvider(u)}let l=await a;return t.roleAssumer(l,i)};Ko.resolveAssumeRoleCredentials=o7});var XT=m(Ym=>{"use strict";Object.defineProperty(Ym,"__esModule",{value:!0});Ym.getValidatedProcessCredentials=void 0;var s7=(e,n)=>{if(n.Version!==1)throw Error(`Profile ${e} credential_process did not return Version 1.`);if(n.AccessKeyId===void 0||n.SecretAccessKey===void 0)throw Error(`Profile ${e} credential_process returned invalid credentials.`);if(n.Expiration){let t=new Date;if(new Date(n.Expiration){"use strict";Object.defineProperty(Qm,"__esModule",{value:!0});Qm.resolveProcessCredentials=void 0;var eC=Se(),i7=require("child_process"),a7=require("util"),c7=XT(),d7=async(e,n)=>{let t=n[e];if(n[e]){let r=t.credential_process;if(r!==void 0){let o=(0,a7.promisify)(i7.exec);try{let{stdout:s}=await o(r),a;try{a=JSON.parse(s.trim())}catch{throw Error(`Profile ${e} credential_process returned invalid JSON.`)}return(0,c7.getValidatedProcessCredentials)(e,a)}catch(s){throw new eC.CredentialsProviderError(s.message)}}else throw new eC.CredentialsProviderError(`Profile ${e} did not contain credential_process.`)}else throw new eC.CredentialsProviderError(`Profile ${e} could not be found in shared credentials file.`)};Qm.resolveProcessCredentials=d7});var QT=m(Jm=>{"use strict";Object.defineProperty(Jm,"__esModule",{value:!0});Jm.fromProcess=void 0;var YT=Zt(),l7=WT(),u7=(e={})=>async()=>{let n=await(0,YT.parseKnownFiles)(e);return(0,l7.resolveProcessCredentials)((0,YT.getProfileName)(e),n)};Jm.fromProcess=u7});var nC=m(tC=>{"use strict";Object.defineProperty(tC,"__esModule",{value:!0});var m7=(z(),j(U));m7.__exportStar(QT(),tC)});var JT=m(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.resolveProcessCredentials=Vo.isProcessProfile=void 0;var p7=nC(),f7=e=>!!e&&typeof e=="object"&&typeof e.credential_process=="string";Vo.isProcessProfile=f7;var y7=async(e,n)=>(0,p7.fromProcess)({...e,profile:n})();Vo.resolveProcessCredentials=y7});var rC=m(Zm=>{"use strict";Object.defineProperty(Zm,"__esModule",{value:!0});Zm.isSsoProfile=void 0;var _7=e=>e&&(typeof e.sso_start_url=="string"||typeof e.sso_account_id=="string"||typeof e.sso_session=="string"||typeof e.sso_region=="string"||typeof e.sso_role_name=="string");Zm.isSsoProfile=_7});var ZT=m(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});ep.resolveClientEndpointParameters=void 0;var g7=e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"});ep.resolveClientEndpointParameters=g7});var eq=m((GRe,h7)=>{h7.exports={name:"@aws-sdk/client-sso",description:"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",version:"3.421.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/middleware-host-header":"3.418.0","@aws-sdk/middleware-logger":"3.418.0","@aws-sdk/middleware-recursion-detection":"3.418.0","@aws-sdk/middleware-user-agent":"3.418.0","@aws-sdk/region-config-resolver":"3.418.0","@aws-sdk/types":"3.418.0","@aws-sdk/util-endpoints":"3.418.0","@aws-sdk/util-user-agent-browser":"3.418.0","@aws-sdk/util-user-agent-node":"3.418.0","@smithy/config-resolver":"^2.0.10","@smithy/fetch-http-handler":"^2.1.5","@smithy/hash-node":"^2.0.9","@smithy/invalid-dependency":"^2.0.9","@smithy/middleware-content-length":"^2.0.11","@smithy/middleware-endpoint":"^2.0.9","@smithy/middleware-retry":"^2.0.12","@smithy/middleware-serde":"^2.0.9","@smithy/middleware-stack":"^2.0.2","@smithy/node-config-provider":"^2.0.12","@smithy/node-http-handler":"^2.1.5","@smithy/protocol-http":"^3.0.5","@smithy/smithy-client":"^2.1.6","@smithy/types":"^2.3.3","@smithy/url-parser":"^2.0.9","@smithy/util-base64":"^2.0.0","@smithy/util-body-length-browser":"^2.0.0","@smithy/util-body-length-node":"^2.1.0","@smithy/util-defaults-mode-browser":"^2.0.10","@smithy/util-defaults-mode-node":"^2.0.12","@smithy/util-retry":"^2.0.2","@smithy/util-utf8":"^2.0.0",tslib:"^2.5.0"},devDependencies:{"@smithy/service-client-documentation-generator":"^2.0.0","@tsconfig/node14":"1.0.3","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},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"}}});var nq=m((tp,tq)=>{"use strict";Object.defineProperty(tp,"__esModule",{value:!0});tp.isCrtAvailable=void 0;var C7=()=>{try{return typeof require=="function"&&typeof tq<"u"&&require("aws-crt")?["md/crt-avail"]:null}catch{return null}};tp.isCrtAvailable=C7});var bc=m(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.defaultUserAgent=on.UA_APP_ID_INI_NAME=on.UA_APP_ID_ENV_NAME=void 0;var S7=Cr(),rq=require("os"),oC=require("process"),E7=nq();on.UA_APP_ID_ENV_NAME="AWS_SDK_UA_APP_ID";on.UA_APP_ID_INI_NAME="sdk-ua-app-id";var b7=({serviceId:e,clientVersion:n})=>{let t=[["aws-sdk-js",n],["ua","2.0"],[`os/${(0,rq.platform)()}`,(0,rq.release)()],["lang/js"],["md/nodejs",`${oC.versions.node}`]],r=(0,E7.isCrtAvailable)();r&&t.push(r),e&&t.push([`api/${e}`,n]),oC.env.AWS_EXECUTION_ENV&&t.push([`exec-env/${oC.env.AWS_EXECUTION_ENV}`]);let o=(0,S7.loadConfig)({environmentVariableSelector:a=>a[on.UA_APP_ID_ENV_NAME],configFileSelector:a=>a[on.UA_APP_ID_INI_NAME],default:void 0})(),s;return async()=>{if(!s){let a=await o;s=a?[...t,[`app/${a}`]]:[...t]}return s}};on.defaultUserAgent=b7});var Pc=m(np=>{"use strict";Object.defineProperty(np,"__esModule",{value:!0});np.Hash=void 0;var sC=Mr(),P7=St(),v7=require("buffer"),oq=require("crypto"),iC=class{constructor(n,t){this.algorithmIdentifier=n,this.secret=t,this.reset()}update(n,t){this.hash.update((0,P7.toUint8Array)(sq(n,t)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?(0,oq.createHmac)(this.algorithmIdentifier,sq(this.secret)):(0,oq.createHash)(this.algorithmIdentifier)}};np.Hash=iC;function sq(e,n){return v7.Buffer.isBuffer(e)?e:typeof e=="string"?(0,sC.fromString)(e,n):ArrayBuffer.isView(e)?(0,sC.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength):(0,sC.fromArrayBuffer)(e)}});var aq=m(rp=>{"use strict";Object.defineProperty(rp,"__esModule",{value:!0});rp.calculateBodyLength=void 0;var iq=require("fs"),x7=e=>{if(!e)return 0;if(typeof e=="string")return Buffer.from(e).length;if(typeof e.byteLength=="number")return e.byteLength;if(typeof e.size=="number")return e.size;if(typeof e.start=="number"&&typeof e.end=="number")return e.end+1-e.start;if(typeof e.path=="string"||Buffer.isBuffer(e.path))return(0,iq.lstatSync)(e.path).size;if(typeof e.fd=="number")return(0,iq.fstatSync)(e.fd).size;throw new Error(`Body Length computation failed for ${e}`)};rp.calculateBodyLength=x7});var vc=m(aC=>{"use strict";Object.defineProperty(aC,"__esModule",{value:!0});var w7=(z(),j(U));w7.__exportStar(aq(),aC)});var Sq=m(op=>{"use strict";Object.defineProperty(op,"__esModule",{value:!0});op.ruleSet=void 0;var gq="required",Tn="fn",qn="argv",Wo="ref",cq="isSet",On="tree",Xo="error",xc="endpoint",cC="PartitionResult",dq={[gq]:!1,type:"String"},lq={[gq]:!0,default:!1,type:"Boolean"},uq={[Wo]:"Endpoint"},hq={[Tn]:"booleanEquals",[qn]:[{[Wo]:"UseFIPS"},!0]},Cq={[Tn]:"booleanEquals",[qn]:[{[Wo]:"UseDualStack"},!0]},sn={},mq={[Tn]:"booleanEquals",[qn]:[!0,{[Tn]:"getAttr",[qn]:[{[Wo]:cC},"supportsFIPS"]}]},pq={[Tn]:"booleanEquals",[qn]:[!0,{[Tn]:"getAttr",[qn]:[{[Wo]:cC},"supportsDualStack"]}]},fq=[hq],yq=[Cq],_q=[{[Wo]:"Region"}],k7={version:"1.0",parameters:{Region:dq,UseDualStack:lq,UseFIPS:lq,Endpoint:dq},rules:[{conditions:[{[Tn]:cq,[qn]:[uq]}],type:On,rules:[{conditions:fq,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:Xo},{conditions:yq,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:Xo},{endpoint:{url:uq,properties:sn,headers:sn},type:xc}]},{conditions:[{[Tn]:cq,[qn]:_q}],type:On,rules:[{conditions:[{[Tn]:"aws.partition",[qn]:_q,assign:cC}],type:On,rules:[{conditions:[hq,Cq],type:On,rules:[{conditions:[mq,pq],type:On,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:sn,headers:sn},type:xc}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:Xo}]},{conditions:fq,type:On,rules:[{conditions:[mq],type:On,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:sn,headers:sn},type:xc}]},{error:"FIPS is enabled but this partition does not support FIPS",type:Xo}]},{conditions:yq,type:On,rules:[{conditions:[pq],type:On,rules:[{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:sn,headers:sn},type:xc}]},{error:"DualStack is enabled but this partition does not support DualStack",type:Xo}]},{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",properties:sn,headers:sn},type:xc}]}]},{error:"Invalid Configuration: Missing Region",type:Xo}]};op.ruleSet=k7});var Eq=m(sp=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});sp.defaultEndpointResolver=void 0;var A7=Fo(),I7=Sq(),R7=(e,n={})=>(0,A7.resolveEndpoint)(I7.ruleSet,{endpointParams:e,logger:n.logger});sp.defaultEndpointResolver=R7});var vq=m(ip=>{"use strict";Object.defineProperty(ip,"__esModule",{value:!0});ip.getRuntimeConfig=void 0;var N7=E(),O7=Kr(),bq=_o(),Pq=St(),T7=Eq(),q7=e=>({apiVersion:"2019-06-10",base64Decoder:(e==null?void 0:e.base64Decoder)??bq.fromBase64,base64Encoder:(e==null?void 0:e.base64Encoder)??bq.toBase64,disableHostPrefix:(e==null?void 0:e.disableHostPrefix)??!1,endpointProvider:(e==null?void 0:e.endpointProvider)??T7.defaultEndpointResolver,extensions:(e==null?void 0:e.extensions)??[],logger:(e==null?void 0:e.logger)??new N7.NoOpLogger,serviceId:(e==null?void 0:e.serviceId)??"SSO",urlParser:(e==null?void 0:e.urlParser)??O7.parseUrl,utf8Decoder:(e==null?void 0:e.utf8Decoder)??Pq.fromUtf8,utf8Encoder:(e==null?void 0:e.utf8Encoder)??Pq.toUtf8});ip.getRuntimeConfig=q7});var xq=m(ut=>{"use strict";Object.defineProperty(ut,"__esModule",{value:!0});ut.IMDS_REGION_PATH=ut.DEFAULTS_MODE_OPTIONS=ut.ENV_IMDS_DISABLED=ut.AWS_DEFAULT_REGION_ENV=ut.AWS_REGION_ENV=ut.AWS_EXECUTION_ENV=void 0;ut.AWS_EXECUTION_ENV="AWS_EXECUTION_ENV";ut.AWS_REGION_ENV="AWS_REGION";ut.AWS_DEFAULT_REGION_ENV="AWS_DEFAULT_REGION";ut.ENV_IMDS_DISABLED="AWS_EC2_METADATA_DISABLED";ut.DEFAULTS_MODE_OPTIONS=["in-region","cross-region","mobile","standard","legacy"];ut.IMDS_REGION_PATH="/latest/meta-data/placement/region"});var wq=m(ap=>{"use strict";Object.defineProperty(ap,"__esModule",{value:!0});ap.NODE_DEFAULTS_MODE_CONFIG_OPTIONS=void 0;var B7="AWS_DEFAULTS_MODE",M7="defaults_mode";ap.NODE_DEFAULTS_MODE_CONFIG_OPTIONS={environmentVariableSelector:e=>e[B7],configFileSelector:e=>e[M7],default:"legacy"}});var Iq=m(cp=>{"use strict";Object.defineProperty(cp,"__esModule",{value:!0});cp.resolveDefaultsModeConfig=void 0;var D7=Vt(),kq=Xm(),Aq=Cr(),F7=Se(),Sr=xq(),L7=wq(),j7=({region:e=(0,Aq.loadConfig)(D7.NODE_REGION_CONFIG_OPTIONS),defaultsMode:n=(0,Aq.loadConfig)(L7.NODE_DEFAULTS_MODE_CONFIG_OPTIONS)}={})=>(0,F7.memoize)(async()=>{let t=typeof n=="function"?await n():n;switch(t==null?void 0:t.toLowerCase()){case"auto":return U7(e);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(t==null?void 0:t.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${Sr.DEFAULTS_MODE_OPTIONS.join(", ")}, got ${t}`)}});cp.resolveDefaultsModeConfig=j7;var U7=async e=>{if(e){let n=typeof e=="function"?await e():e,t=await z7();return t?n===t?"in-region":"cross-region":"standard"}return"standard"},z7=async()=>{var e;if(process.env[Sr.AWS_EXECUTION_ENV]&&(process.env[Sr.AWS_REGION_ENV]||process.env[Sr.AWS_DEFAULT_REGION_ENV]))return(e=process.env[Sr.AWS_REGION_ENV])!==null&&e!==void 0?e:process.env[Sr.AWS_DEFAULT_REGION_ENV];if(!process.env[Sr.ENV_IMDS_DISABLED])try{let n=await(0,kq.getInstanceMetadataEndpoint)();return(await(0,kq.httpRequest)({...n,path:Sr.IMDS_REGION_PATH})).toString()}catch{}}});var wc=m(dC=>{"use strict";Object.defineProperty(dC,"__esModule",{value:!0});var G7=(z(),j(U));G7.__exportStar(Iq(),dC)});var Oq=m(lp=>{"use strict";Object.defineProperty(lp,"__esModule",{value:!0});lp.getRuntimeConfig=void 0;var H7=(z(),j(U)),$7=H7.__importDefault(eq()),K7=bc(),dp=Vt(),V7=Pc(),Rq=An(),kc=Cr(),Nq=Co(),X7=vc(),W7=kt(),Y7=vq(),Q7=E(),J7=wc(),Z7=E(),eQ=e=>{(0,Z7.emitWarningIfUnsupportedVersion)(process.version);let n=(0,J7.resolveDefaultsModeConfig)(e),t=()=>n().then(Q7.loadConfigsForDefaultMode),r=(0,Y7.getRuntimeConfig)(e);return{...r,...e,runtime:"node",defaultsMode:n,bodyLengthChecker:(e==null?void 0:e.bodyLengthChecker)??X7.calculateBodyLength,defaultUserAgentProvider:(e==null?void 0:e.defaultUserAgentProvider)??(0,K7.defaultUserAgent)({serviceId:r.serviceId,clientVersion:$7.default.version}),maxAttempts:(e==null?void 0:e.maxAttempts)??(0,kc.loadConfig)(Rq.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:(e==null?void 0:e.region)??(0,kc.loadConfig)(dp.NODE_REGION_CONFIG_OPTIONS,dp.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(e==null?void 0:e.requestHandler)??new Nq.NodeHttpHandler(t),retryMode:(e==null?void 0:e.retryMode)??(0,kc.loadConfig)({...Rq.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await t()).retryMode||W7.DEFAULT_RETRY_MODE}),sha256:(e==null?void 0:e.sha256)??V7.Hash.bind(null,"sha256"),streamCollector:(e==null?void 0:e.streamCollector)??Nq.streamCollector,useDualstackEndpoint:(e==null?void 0:e.useDualstackEndpoint)??(0,kc.loadConfig)(dp.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(e==null?void 0:e.useFipsEndpoint)??(0,kc.loadConfig)(dp.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};lp.getRuntimeConfig=eQ});var Tq=m(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.resolveAwsRegionExtensionConfiguration=Yo.getAwsRegionExtensionConfiguration=void 0;var tQ=e=>{let n=async()=>{if(e.region===void 0)throw new Error("Region is missing from runtimeConfig");let t=e.region;return typeof t=="string"?t:t()};return{setRegion(t){n=t},region(){return n}}};Yo.getAwsRegionExtensionConfiguration=tQ;var nQ=e=>({region:e.region()});Yo.resolveAwsRegionExtensionConfiguration=nQ});var qq=m(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});At.NODE_REGION_CONFIG_FILE_OPTIONS=At.NODE_REGION_CONFIG_OPTIONS=At.REGION_INI_NAME=At.REGION_ENV_NAME=void 0;At.REGION_ENV_NAME="AWS_REGION";At.REGION_INI_NAME="region";At.NODE_REGION_CONFIG_OPTIONS={environmentVariableSelector:e=>e[At.REGION_ENV_NAME],configFileSelector:e=>e[At.REGION_INI_NAME],default:()=>{throw new Error("Region is missing")}};At.NODE_REGION_CONFIG_FILE_OPTIONS={preferredFile:"credentials"}});var lC=m(up=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});up.isFipsRegion=void 0;var rQ=e=>typeof e=="string"&&(e.startsWith("fips-")||e.endsWith("-fips"));up.isFipsRegion=rQ});var Bq=m(mp=>{"use strict";Object.defineProperty(mp,"__esModule",{value:!0});mp.getRealRegion=void 0;var oQ=lC(),sQ=e=>(0,oQ.isFipsRegion)(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e;mp.getRealRegion=sQ});var Dq=m(pp=>{"use strict";Object.defineProperty(pp,"__esModule",{value:!0});pp.resolveRegionConfig=void 0;var Mq=Bq(),iQ=lC(),aQ=e=>{let{region:n,useFipsEndpoint:t}=e;if(!n)throw new Error("Region is missing");return{...e,region:async()=>{if(typeof n=="string")return(0,Mq.getRealRegion)(n);let r=await n();return(0,Mq.getRealRegion)(r)},useFipsEndpoint:async()=>{let r=typeof n=="string"?n:await n();return(0,iQ.isFipsRegion)(r)?!0:typeof t!="function"?Promise.resolve(!!t):t()}}};pp.resolveRegionConfig=aQ});var Lq=m(fp=>{"use strict";Object.defineProperty(fp,"__esModule",{value:!0});var Fq=(z(),j(U));Fq.__exportStar(qq(),fp);Fq.__exportStar(Dq(),fp)});var _p=m(yp=>{"use strict";Object.defineProperty(yp,"__esModule",{value:!0});var jq=(z(),j(U));jq.__exportStar(Tq(),yp);jq.__exportStar(Lq(),yp)});var Hq=m(gp=>{"use strict";Object.defineProperty(gp,"__esModule",{value:!0});gp.resolveRuntimeExtensions=void 0;var Uq=_p(),zq=we(),Gq=E(),uC=e=>e,cQ=(e,n)=>{let t={...uC((0,Uq.getAwsRegionExtensionConfiguration)(e)),...uC((0,Gq.getDefaultExtensionConfiguration)(e)),...uC((0,zq.getHttpHandlerExtensionConfiguration)(e))};return n.forEach(r=>r.configure(t)),{...e,...(0,Uq.resolveAwsRegionExtensionConfiguration)(t),...(0,Gq.resolveDefaultRuntimeConfig)(t),...(0,zq.resolveHttpHandlerRuntimeConfig)(t)}};gp.resolveRuntimeExtensions=cQ});var Ac=m(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.SSOClient=Qo.__Client=void 0;var $q=qa(),dQ=Ba(),lQ=Ma(),Kq=nc(),uQ=Vt(),mQ=ic(),pQ=v(),Vq=An(),Xq=E();Object.defineProperty(Qo,"__Client",{enumerable:!0,get:function(){return Xq.Client}});var fQ=ZT(),yQ=Oq(),_Q=Hq(),mC=class extends Xq.Client{constructor(...[n]){let t=(0,yQ.getRuntimeConfig)(n||{}),r=(0,fQ.resolveClientEndpointParameters)(t),o=(0,uQ.resolveRegionConfig)(r),s=(0,pQ.resolveEndpointConfig)(o),a=(0,Vq.resolveRetryConfig)(s),i=(0,$q.resolveHostHeaderConfig)(a),u=(0,Kq.resolveUserAgentConfig)(i),l=(0,_Q.resolveRuntimeExtensions)(u,(n==null?void 0:n.extensions)||[]);super(l),this.config=l,this.middlewareStack.use((0,Vq.getRetryPlugin)(this.config)),this.middlewareStack.use((0,mQ.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,$q.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,dQ.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,lQ.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,Kq.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}};Qo.SSOClient=mC});var hp=m(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.SSOServiceException=Jo.__ServiceException=void 0;var Wq=E();Object.defineProperty(Jo,"__ServiceException",{enumerable:!0,get:function(){return Wq.ServiceException}});var pC=class e extends Wq.ServiceException{constructor(n){super(n),Object.setPrototypeOf(this,e.prototype)}};Jo.SSOServiceException=pC});var to=m(Re=>{"use strict";Object.defineProperty(Re,"__esModule",{value:!0});Re.LogoutRequestFilterSensitiveLog=Re.ListAccountsRequestFilterSensitiveLog=Re.ListAccountRolesRequestFilterSensitiveLog=Re.GetRoleCredentialsResponseFilterSensitiveLog=Re.RoleCredentialsFilterSensitiveLog=Re.GetRoleCredentialsRequestFilterSensitiveLog=Re.UnauthorizedException=Re.TooManyRequestsException=Re.ResourceNotFoundException=Re.InvalidRequestException=void 0;var Zo=E(),Cp=hp(),fC=class e extends Cp.SSOServiceException{constructor(n){super({name:"InvalidRequestException",$fault:"client",...n}),this.name="InvalidRequestException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};Re.InvalidRequestException=fC;var yC=class e extends Cp.SSOServiceException{constructor(n){super({name:"ResourceNotFoundException",$fault:"client",...n}),this.name="ResourceNotFoundException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};Re.ResourceNotFoundException=yC;var _C=class e extends Cp.SSOServiceException{constructor(n){super({name:"TooManyRequestsException",$fault:"client",...n}),this.name="TooManyRequestsException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};Re.TooManyRequestsException=_C;var gC=class e extends Cp.SSOServiceException{constructor(n){super({name:"UnauthorizedException",$fault:"client",...n}),this.name="UnauthorizedException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};Re.UnauthorizedException=gC;var gQ=e=>({...e,...e.accessToken&&{accessToken:Zo.SENSITIVE_STRING}});Re.GetRoleCredentialsRequestFilterSensitiveLog=gQ;var hQ=e=>({...e,...e.secretAccessKey&&{secretAccessKey:Zo.SENSITIVE_STRING},...e.sessionToken&&{sessionToken:Zo.SENSITIVE_STRING}});Re.RoleCredentialsFilterSensitiveLog=hQ;var CQ=e=>({...e,...e.roleCredentials&&{roleCredentials:(0,Re.RoleCredentialsFilterSensitiveLog)(e.roleCredentials)}});Re.GetRoleCredentialsResponseFilterSensitiveLog=CQ;var SQ=e=>({...e,...e.accessToken&&{accessToken:Zo.SENSITIVE_STRING}});Re.ListAccountRolesRequestFilterSensitiveLog=SQ;var EQ=e=>({...e,...e.accessToken&&{accessToken:Zo.SENSITIVE_STRING}});Re.ListAccountsRequestFilterSensitiveLog=EQ;var bQ=e=>({...e,...e.accessToken&&{accessToken:Zo.SENSITIVE_STRING}});Re.LogoutRequestFilterSensitiveLog=bQ});var Ic=m(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.de_LogoutCommand=He.de_ListAccountsCommand=He.de_ListAccountRolesCommand=He.de_GetRoleCredentialsCommand=He.se_LogoutCommand=He.se_ListAccountsCommand=He.se_ListAccountRolesCommand=He.se_GetRoleCredentialsCommand=void 0;var Sp=we(),ee=E(),Ep=to(),PQ=hp(),vQ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,ee.map)({},wp,{"x-amz-sso_bearer_token":e.accessToken}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/federation/credentials`,u=(0,ee.map)({role_name:[,(0,ee.expectNonNull)(e.roleName,"roleName")],account_id:[,(0,ee.expectNonNull)(e.accountId,"accountId")]}),l;return new Sp.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};He.se_GetRoleCredentialsCommand=vQ;var xQ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,ee.map)({},wp,{"x-amz-sso_bearer_token":e.accessToken}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/assignment/roles`,u=(0,ee.map)({next_token:[,e.nextToken],max_result:[()=>e.maxResults!==void 0,()=>e.maxResults.toString()],account_id:[,(0,ee.expectNonNull)(e.accountId,"accountId")]}),l;return new Sp.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};He.se_ListAccountRolesCommand=xQ;var wQ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,ee.map)({},wp,{"x-amz-sso_bearer_token":e.accessToken}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/assignment/accounts`,u=(0,ee.map)({next_token:[,e.nextToken],max_result:[()=>e.maxResults!==void 0,()=>e.maxResults.toString()]}),l;return new Sp.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};He.se_ListAccountsCommand=wQ;var kQ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,ee.map)({},wp,{"x-amz-sso_bearer_token":e.accessToken}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/logout`,u;return new Sp.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,body:u})};He.se_LogoutCommand=kQ;var AQ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return IQ(e,n);let t=(0,ee.map)({$metadata:Er(e)}),r=(0,ee.expectNonNull)((0,ee.expectObject)(await kp(e.body,n)),"body"),o=(0,ee.take)(r,{roleCredentials:ee._json});return Object.assign(t,o),t};He.de_GetRoleCredentialsCommand=AQ;var IQ=async(e,n)=>{let t={...e,body:await Ap(e.body,n)},r=Ip(e,t.body);switch(r){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Pp(t,n);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await hC(t,n);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await vp(t,n);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await xp(t,n);default:let o=t.body;return bp({output:e,parsedBody:o,errorCode:r})}},RQ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return NQ(e,n);let t=(0,ee.map)({$metadata:Er(e)}),r=(0,ee.expectNonNull)((0,ee.expectObject)(await kp(e.body,n)),"body"),o=(0,ee.take)(r,{nextToken:ee.expectString,roleList:ee._json});return Object.assign(t,o),t};He.de_ListAccountRolesCommand=RQ;var NQ=async(e,n)=>{let t={...e,body:await Ap(e.body,n)},r=Ip(e,t.body);switch(r){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Pp(t,n);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await hC(t,n);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await vp(t,n);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await xp(t,n);default:let o=t.body;return bp({output:e,parsedBody:o,errorCode:r})}},OQ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return TQ(e,n);let t=(0,ee.map)({$metadata:Er(e)}),r=(0,ee.expectNonNull)((0,ee.expectObject)(await kp(e.body,n)),"body"),o=(0,ee.take)(r,{accountList:ee._json,nextToken:ee.expectString});return Object.assign(t,o),t};He.de_ListAccountsCommand=OQ;var TQ=async(e,n)=>{let t={...e,body:await Ap(e.body,n)},r=Ip(e,t.body);switch(r){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Pp(t,n);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await hC(t,n);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await vp(t,n);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await xp(t,n);default:let o=t.body;return bp({output:e,parsedBody:o,errorCode:r})}},qQ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return BQ(e,n);let t=(0,ee.map)({$metadata:Er(e)});return await(0,ee.collectBody)(e.body,n),t};He.de_LogoutCommand=qQ;var BQ=async(e,n)=>{let t={...e,body:await Ap(e.body,n)},r=Ip(e,t.body);switch(r){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Pp(t,n);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await vp(t,n);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await xp(t,n);default:let o=t.body;return bp({output:e,parsedBody:o,errorCode:r})}},bp=(0,ee.withBaseException)(PQ.SSOServiceException),Pp=async(e,n)=>{let t=(0,ee.map)({}),r=e.body,o=(0,ee.take)(r,{message:ee.expectString});Object.assign(t,o);let s=new Ep.InvalidRequestException({$metadata:Er(e),...t});return(0,ee.decorateServiceException)(s,e.body)},hC=async(e,n)=>{let t=(0,ee.map)({}),r=e.body,o=(0,ee.take)(r,{message:ee.expectString});Object.assign(t,o);let s=new Ep.ResourceNotFoundException({$metadata:Er(e),...t});return(0,ee.decorateServiceException)(s,e.body)},vp=async(e,n)=>{let t=(0,ee.map)({}),r=e.body,o=(0,ee.take)(r,{message:ee.expectString});Object.assign(t,o);let s=new Ep.TooManyRequestsException({$metadata:Er(e),...t});return(0,ee.decorateServiceException)(s,e.body)},xp=async(e,n)=>{let t=(0,ee.map)({}),r=e.body,o=(0,ee.take)(r,{message:ee.expectString});Object.assign(t,o);let s=new Ep.UnauthorizedException({$metadata:Er(e),...t});return(0,ee.decorateServiceException)(s,e.body)},Er=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),MQ=(e,n)=>(0,ee.collectBody)(e,n).then(t=>n.utf8Encoder(t)),wp=e=>e!=null&&e!==""&&(!Object.getOwnPropertyNames(e).includes("length")||e.length!=0)&&(!Object.getOwnPropertyNames(e).includes("size")||e.size!=0),kp=(e,n)=>MQ(e,n).then(t=>t.length?JSON.parse(t):{}),Ap=async(e,n)=>{let t=await kp(e,n);return t.message=t.message??t.Message,t},Ip=(e,n)=>{let t=(s,a)=>Object.keys(s).find(i=>i.toLowerCase()===a.toLowerCase()),r=s=>{let a=s;return typeof a=="number"&&(a=a.toString()),a.indexOf(",")>=0&&(a=a.split(",")[0]),a.indexOf(":")>=0&&(a=a.split(":")[0]),a.indexOf("#")>=0&&(a=a.split("#")[1]),a},o=t(e.headers,"x-amzn-errortype");if(o!==void 0)return r(e.headers[o]);if(n.code!==void 0)return r(n.code);if(n.__type!==void 0)return r(n.__type)}});var SC=m(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});es.GetRoleCredentialsCommand=es.$Command=void 0;var DQ=v(),FQ=w(),Jq=E();Object.defineProperty(es,"$Command",{enumerable:!0,get:function(){return Jq.Command}});var LQ=x(),Yq=to(),Qq=Ic(),CC=class e extends Jq.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,FQ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,DQ.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOClient",commandName:"GetRoleCredentialsCommand",inputFilterSensitiveLog:Yq.GetRoleCredentialsRequestFilterSensitiveLog,outputFilterSensitiveLog:Yq.GetRoleCredentialsResponseFilterSensitiveLog,[LQ.SMITHY_CONTEXT_KEY]:{service:"SWBPortalService",operation:"GetRoleCredentials"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Qq.se_GetRoleCredentialsCommand)(n,t)}deserialize(n,t){return(0,Qq.de_GetRoleCredentialsCommand)(n,t)}};es.GetRoleCredentialsCommand=CC});var Rp=m(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.ListAccountRolesCommand=ts.$Command=void 0;var jQ=v(),UQ=w(),e1=E();Object.defineProperty(ts,"$Command",{enumerable:!0,get:function(){return e1.Command}});var zQ=x(),GQ=to(),Zq=Ic(),EC=class e extends e1.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,UQ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,jQ.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOClient",commandName:"ListAccountRolesCommand",inputFilterSensitiveLog:GQ.ListAccountRolesRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[zQ.SMITHY_CONTEXT_KEY]:{service:"SWBPortalService",operation:"ListAccountRoles"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Zq.se_ListAccountRolesCommand)(n,t)}deserialize(n,t){return(0,Zq.de_ListAccountRolesCommand)(n,t)}};ts.ListAccountRolesCommand=EC});var Np=m(ns=>{"use strict";Object.defineProperty(ns,"__esModule",{value:!0});ns.ListAccountsCommand=ns.$Command=void 0;var HQ=v(),$Q=w(),n1=E();Object.defineProperty(ns,"$Command",{enumerable:!0,get:function(){return n1.Command}});var KQ=x(),VQ=to(),t1=Ic(),bC=class e extends n1.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,$Q.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,HQ.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOClient",commandName:"ListAccountsCommand",inputFilterSensitiveLog:VQ.ListAccountsRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[KQ.SMITHY_CONTEXT_KEY]:{service:"SWBPortalService",operation:"ListAccounts"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,t1.se_ListAccountsCommand)(n,t)}deserialize(n,t){return(0,t1.de_ListAccountsCommand)(n,t)}};ns.ListAccountsCommand=bC});var vC=m(rs=>{"use strict";Object.defineProperty(rs,"__esModule",{value:!0});rs.LogoutCommand=rs.$Command=void 0;var XQ=v(),WQ=w(),o1=E();Object.defineProperty(rs,"$Command",{enumerable:!0,get:function(){return o1.Command}});var YQ=x(),QQ=to(),r1=Ic(),PC=class e extends o1.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,WQ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,XQ.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOClient",commandName:"LogoutCommand",inputFilterSensitiveLog:QQ.LogoutRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[YQ.SMITHY_CONTEXT_KEY]:{service:"SWBPortalService",operation:"Logout"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,r1.se_LogoutCommand)(n,t)}deserialize(n,t){return(0,r1.de_LogoutCommand)(n,t)}};rs.LogoutCommand=PC});var s1=m(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.SSO=void 0;var JQ=E(),ZQ=SC(),eJ=Rp(),tJ=Np(),nJ=vC(),rJ=Ac(),oJ={GetRoleCredentialsCommand:ZQ.GetRoleCredentialsCommand,ListAccountRolesCommand:eJ.ListAccountRolesCommand,ListAccountsCommand:tJ.ListAccountsCommand,LogoutCommand:nJ.LogoutCommand},Op=class extends rJ.SSOClient{};Tp.SSO=Op;(0,JQ.createAggregatedClient)(oJ,Op)});var i1=m(os=>{"use strict";Object.defineProperty(os,"__esModule",{value:!0});var qp=(z(),j(U));qp.__exportStar(SC(),os);qp.__exportStar(Rp(),os);qp.__exportStar(Np(),os);qp.__exportStar(vC(),os)});var c1=m(a1=>{"use strict";Object.defineProperty(a1,"__esModule",{value:!0})});var d1=m(Bp=>{"use strict";Object.defineProperty(Bp,"__esModule",{value:!0});Bp.paginateListAccountRoles=void 0;var sJ=Rp(),iJ=Ac(),aJ=async(e,n,...t)=>await e.send(new sJ.ListAccountRolesCommand(n),...t);async function*cJ(e,n,...t){let r=e.startingToken||void 0,o=!0,s;for(;o;){if(n.nextToken=r,n.maxResults=e.pageSize,e.client instanceof iJ.SSOClient)s=await aJ(e.client,n,...t);else throw new Error("Invalid client, expected SSO | SSOClient");yield s;let a=r;r=s.nextToken,o=!!(r&&(!e.stopOnSameToken||r!==a))}return void 0}Bp.paginateListAccountRoles=cJ});var l1=m(Mp=>{"use strict";Object.defineProperty(Mp,"__esModule",{value:!0});Mp.paginateListAccounts=void 0;var dJ=Np(),lJ=Ac(),uJ=async(e,n,...t)=>await e.send(new dJ.ListAccountsCommand(n),...t);async function*mJ(e,n,...t){let r=e.startingToken||void 0,o=!0,s;for(;o;){if(n.nextToken=r,n.maxResults=e.pageSize,e.client instanceof lJ.SSOClient)s=await uJ(e.client,n,...t);else throw new Error("Invalid client, expected SSO | SSOClient");yield s;let a=r;r=s.nextToken,o=!!(r&&(!e.stopOnSameToken||r!==a))}return void 0}Mp.paginateListAccounts=mJ});var u1=m(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});var xC=(z(),j(U));xC.__exportStar(c1(),Rc);xC.__exportStar(d1(),Rc);xC.__exportStar(l1(),Rc)});var m1=m(wC=>{"use strict";Object.defineProperty(wC,"__esModule",{value:!0});var pJ=(z(),j(U));pJ.__exportStar(to(),wC)});var p1=m(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.SSOServiceException=void 0;var Nc=(z(),j(U));Nc.__exportStar(Ac(),Bn);Nc.__exportStar(s1(),Bn);Nc.__exportStar(i1(),Bn);Nc.__exportStar(u1(),Bn);Nc.__exportStar(m1(),Bn);var fJ=hp();Object.defineProperty(Bn,"SSOServiceException",{enumerable:!0,get:function(){return fJ.SSOServiceException}})});var Lp=m(Ee=>{"use strict";Object.defineProperty(Ee,"__esModule",{value:!0});Ee.UnsupportedGrantTypeException=Ee.UnauthorizedClientException=Ee.SlowDownException=Ee.SSOOIDCClient=Ee.InvalidScopeException=Ee.InvalidRequestException=Ee.InvalidClientException=Ee.InternalServerException=Ee.ExpiredTokenException=Ee.CreateTokenCommand=Ee.AuthorizationPendingException=Ee.AccessDeniedException=void 0;var f1=qa(),yJ=Ba(),_J=Ma(),y1=nc(),gJ=Vt(),hJ=ic(),CJ=v(),_1=An(),SJ=E(),EJ=e=>{var n,t;return{...e,useDualstackEndpoint:(n=e.useDualstackEndpoint)!==null&&n!==void 0?n:!1,useFipsEndpoint:(t=e.useFipsEndpoint)!==null&&t!==void 0?t:!1,defaultSigningName:"awsssooidc"}},bJ={version:"3.387.0"},PJ=bc(),Dp=Vt(),vJ=Pc(),g1=An(),Oc=Cr(),h1=Co(),xJ=vc(),wJ=kt(),kJ=E(),AJ=Kr(),C1=_o(),S1=St(),IJ=Fo(),A1="required",Mn="fn",Dn="argv",ss="ref",kC="PartitionResult",an="tree",Tc="error",qc="endpoint",E1={[A1]:!1,type:"String"},b1={[A1]:!0,default:!1,type:"Boolean"},I1={[ss]:"Endpoint"},R1={[Mn]:"booleanEquals",[Dn]:[{[ss]:"UseFIPS"},!0]},N1={[Mn]:"booleanEquals",[Dn]:[{[ss]:"UseDualStack"},!0]},cn={},P1={[Mn]:"booleanEquals",[Dn]:[!0,{[Mn]:"getAttr",[Dn]:[{[ss]:kC},"supportsFIPS"]}]},v1={[Mn]:"booleanEquals",[Dn]:[!0,{[Mn]:"getAttr",[Dn]:[{[ss]:kC},"supportsDualStack"]}]},x1=[I1],w1=[R1],k1=[N1],RJ={version:"1.0",parameters:{Region:E1,UseDualStack:b1,UseFIPS:b1,Endpoint:E1},rules:[{conditions:[{[Mn]:"aws.partition",[Dn]:[{[ss]:"Region"}],assign:kC}],type:an,rules:[{conditions:[{[Mn]:"isSet",[Dn]:x1},{[Mn]:"parseURL",[Dn]:x1,assign:"url"}],type:an,rules:[{conditions:w1,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:Tc},{type:an,rules:[{conditions:k1,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:Tc},{endpoint:{url:I1,properties:cn,headers:cn},type:qc}]}]},{conditions:[R1,N1],type:an,rules:[{conditions:[P1,v1],type:an,rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:cn,headers:cn},type:qc}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:Tc}]},{conditions:w1,type:an,rules:[{conditions:[P1],type:an,rules:[{type:an,rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:cn,headers:cn},type:qc}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:Tc}]},{conditions:k1,type:an,rules:[{conditions:[v1],type:an,rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:cn,headers:cn},type:qc}]},{error:"DualStack is enabled but this partition does not support DualStack",type:Tc}]},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:cn,headers:cn},type:qc}]}]},NJ=RJ,OJ=(e,n={})=>(0,IJ.resolveEndpoint)(NJ,{endpointParams:e,logger:n.logger}),TJ=e=>{var n,t,r,o,s,a,i,u,l;return{apiVersion:"2019-06-10",base64Decoder:(n=e==null?void 0:e.base64Decoder)!==null&&n!==void 0?n:C1.fromBase64,base64Encoder:(t=e==null?void 0:e.base64Encoder)!==null&&t!==void 0?t:C1.toBase64,disableHostPrefix:(r=e==null?void 0:e.disableHostPrefix)!==null&&r!==void 0?r:!1,endpointProvider:(o=e==null?void 0:e.endpointProvider)!==null&&o!==void 0?o:OJ,logger:(s=e==null?void 0:e.logger)!==null&&s!==void 0?s:new kJ.NoOpLogger,serviceId:(a=e==null?void 0:e.serviceId)!==null&&a!==void 0?a:"SSO OIDC",urlParser:(i=e==null?void 0:e.urlParser)!==null&&i!==void 0?i:AJ.parseUrl,utf8Decoder:(u=e==null?void 0:e.utf8Decoder)!==null&&u!==void 0?u:S1.fromUtf8,utf8Encoder:(l=e==null?void 0:e.utf8Encoder)!==null&&l!==void 0?l:S1.toUtf8}},qJ=E(),BJ=wc(),MJ=E(),DJ=e=>{var n,t,r,o,s,a,i,u,l,c;(0,MJ.emitWarningIfUnsupportedVersion)(process.version);let y=(0,BJ.resolveDefaultsModeConfig)(e),_=()=>y().then(qJ.loadConfigsForDefaultMode),C=TJ(e);return{...C,...e,runtime:"node",defaultsMode:y,bodyLengthChecker:(n=e==null?void 0:e.bodyLengthChecker)!==null&&n!==void 0?n:xJ.calculateBodyLength,defaultUserAgentProvider:(t=e==null?void 0:e.defaultUserAgentProvider)!==null&&t!==void 0?t:(0,PJ.defaultUserAgent)({serviceId:C.serviceId,clientVersion:bJ.version}),maxAttempts:(r=e==null?void 0:e.maxAttempts)!==null&&r!==void 0?r:(0,Oc.loadConfig)(g1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:(o=e==null?void 0:e.region)!==null&&o!==void 0?o:(0,Oc.loadConfig)(Dp.NODE_REGION_CONFIG_OPTIONS,Dp.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(s=e==null?void 0:e.requestHandler)!==null&&s!==void 0?s:new h1.NodeHttpHandler(_),retryMode:(a=e==null?void 0:e.retryMode)!==null&&a!==void 0?a:(0,Oc.loadConfig)({...g1.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await _()).retryMode||wJ.DEFAULT_RETRY_MODE}),sha256:(i=e==null?void 0:e.sha256)!==null&&i!==void 0?i:vJ.Hash.bind(null,"sha256"),streamCollector:(u=e==null?void 0:e.streamCollector)!==null&&u!==void 0?u:h1.streamCollector,useDualstackEndpoint:(l=e==null?void 0:e.useDualstackEndpoint)!==null&&l!==void 0?l:(0,Oc.loadConfig)(Dp.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(c=e==null?void 0:e.useFipsEndpoint)!==null&&c!==void 0?c:(0,Oc.loadConfig)(Dp.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}},O1=class extends SJ.Client{constructor(...[e]){let n=DJ(e||{}),t=EJ(n),r=(0,gJ.resolveRegionConfig)(t),o=(0,CJ.resolveEndpointConfig)(r),s=(0,_1.resolveRetryConfig)(o),a=(0,f1.resolveHostHeaderConfig)(s),i=(0,y1.resolveUserAgentConfig)(a);super(i),this.config=i,this.middlewareStack.use((0,_1.getRetryPlugin)(this.config)),this.middlewareStack.use((0,hJ.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,f1.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,yJ.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,_J.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,y1.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}};Ee.SSOOIDCClient=O1;var FJ=E(),LJ=v(),jJ=w(),UJ=E(),AC=we(),R=E(),zJ=E(),gt=class T1 extends zJ.ServiceException{constructor(n){super(n),Object.setPrototypeOf(this,T1.prototype)}},q1=class B1 extends gt{constructor(n){super({name:"AccessDeniedException",$fault:"client",...n}),this.name="AccessDeniedException",this.$fault="client",Object.setPrototypeOf(this,B1.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.AccessDeniedException=q1;var M1=class D1 extends gt{constructor(n){super({name:"AuthorizationPendingException",$fault:"client",...n}),this.name="AuthorizationPendingException",this.$fault="client",Object.setPrototypeOf(this,D1.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.AuthorizationPendingException=M1;var F1=class L1 extends gt{constructor(n){super({name:"ExpiredTokenException",$fault:"client",...n}),this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,L1.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.ExpiredTokenException=F1;var j1=class U1 extends gt{constructor(n){super({name:"InternalServerException",$fault:"server",...n}),this.name="InternalServerException",this.$fault="server",Object.setPrototypeOf(this,U1.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.InternalServerException=j1;var z1=class G1 extends gt{constructor(n){super({name:"InvalidClientException",$fault:"client",...n}),this.name="InvalidClientException",this.$fault="client",Object.setPrototypeOf(this,G1.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.InvalidClientException=z1;var GJ=class H1 extends gt{constructor(n){super({name:"InvalidGrantException",$fault:"client",...n}),this.name="InvalidGrantException",this.$fault="client",Object.setPrototypeOf(this,H1.prototype),this.error=n.error,this.error_description=n.error_description}},$1=class K1 extends gt{constructor(n){super({name:"InvalidRequestException",$fault:"client",...n}),this.name="InvalidRequestException",this.$fault="client",Object.setPrototypeOf(this,K1.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.InvalidRequestException=$1;var V1=class X1 extends gt{constructor(n){super({name:"InvalidScopeException",$fault:"client",...n}),this.name="InvalidScopeException",this.$fault="client",Object.setPrototypeOf(this,X1.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.InvalidScopeException=V1;var W1=class Y1 extends gt{constructor(n){super({name:"SlowDownException",$fault:"client",...n}),this.name="SlowDownException",this.$fault="client",Object.setPrototypeOf(this,Y1.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.SlowDownException=W1;var Q1=class J1 extends gt{constructor(n){super({name:"UnauthorizedClientException",$fault:"client",...n}),this.name="UnauthorizedClientException",this.$fault="client",Object.setPrototypeOf(this,J1.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.UnauthorizedClientException=Q1;var Z1=class eB extends gt{constructor(n){super({name:"UnsupportedGrantTypeException",$fault:"client",...n}),this.name="UnsupportedGrantTypeException",this.$fault="client",Object.setPrototypeOf(this,eB.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.UnsupportedGrantTypeException=Z1;var HJ=class tB extends gt{constructor(n){super({name:"InvalidClientMetadataException",$fault:"client",...n}),this.name="InvalidClientMetadataException",this.$fault="client",Object.setPrototypeOf(this,tB.prototype),this.error=n.error,this.error_description=n.error_description}},$J=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={"content-type":"application/json"},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/token`,u;return u=JSON.stringify((0,R.take)(e,{clientId:[],clientSecret:[],code:[],deviceCode:[],grantType:[],redirectUri:[],refreshToken:[],scope:l=>(0,R._json)(l)})),new AC.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,body:u})},KJ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={"content-type":"application/json"},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/client/register`,u;return u=JSON.stringify((0,R.take)(e,{clientName:[],clientType:[],scopes:l=>(0,R._json)(l)})),new AC.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,body:u})},VJ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={"content-type":"application/json"},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/device_authorization`,u;return u=JSON.stringify((0,R.take)(e,{clientId:[],clientSecret:[],startUrl:[]})),new AC.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,body:u})},XJ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return WJ(e,n);let t=(0,R.map)({$metadata:st(e)}),r=(0,R.expectNonNull)((0,R.expectObject)(await Fp(e.body,n)),"body"),o=(0,R.take)(r,{accessToken:R.expectString,expiresIn:R.expectInt32,idToken:R.expectString,refreshToken:R.expectString,tokenType:R.expectString});return Object.assign(t,o),t},WJ=async(e,n)=>{let t={...e,body:await OC(e.body,n)},r=TC(e,t.body);switch(r){case"AccessDeniedException":case"com.amazonaws.ssooidc#AccessDeniedException":throw await eZ(t,n);case"AuthorizationPendingException":case"com.amazonaws.ssooidc#AuthorizationPendingException":throw await tZ(t,n);case"ExpiredTokenException":case"com.amazonaws.ssooidc#ExpiredTokenException":throw await nZ(t,n);case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await RC(t,n);case"InvalidClientException":case"com.amazonaws.ssooidc#InvalidClientException":throw await nB(t,n);case"InvalidGrantException":case"com.amazonaws.ssooidc#InvalidGrantException":throw await oZ(t,n);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await NC(t,n);case"InvalidScopeException":case"com.amazonaws.ssooidc#InvalidScopeException":throw await rB(t,n);case"SlowDownException":case"com.amazonaws.ssooidc#SlowDownException":throw await oB(t,n);case"UnauthorizedClientException":case"com.amazonaws.ssooidc#UnauthorizedClientException":throw await sB(t,n);case"UnsupportedGrantTypeException":case"com.amazonaws.ssooidc#UnsupportedGrantTypeException":throw await sZ(t,n);default:let o=t.body;return IC({output:e,parsedBody:o,errorCode:r})}},YJ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return QJ(e,n);let t=(0,R.map)({$metadata:st(e)}),r=(0,R.expectNonNull)((0,R.expectObject)(await Fp(e.body,n)),"body"),o=(0,R.take)(r,{authorizationEndpoint:R.expectString,clientId:R.expectString,clientIdIssuedAt:R.expectLong,clientSecret:R.expectString,clientSecretExpiresAt:R.expectLong,tokenEndpoint:R.expectString});return Object.assign(t,o),t},QJ=async(e,n)=>{let t={...e,body:await OC(e.body,n)},r=TC(e,t.body);switch(r){case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await RC(t,n);case"InvalidClientMetadataException":case"com.amazonaws.ssooidc#InvalidClientMetadataException":throw await rZ(t,n);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await NC(t,n);case"InvalidScopeException":case"com.amazonaws.ssooidc#InvalidScopeException":throw await rB(t,n);default:let o=t.body;return IC({output:e,parsedBody:o,errorCode:r})}},JJ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return ZJ(e,n);let t=(0,R.map)({$metadata:st(e)}),r=(0,R.expectNonNull)((0,R.expectObject)(await Fp(e.body,n)),"body"),o=(0,R.take)(r,{deviceCode:R.expectString,expiresIn:R.expectInt32,interval:R.expectInt32,userCode:R.expectString,verificationUri:R.expectString,verificationUriComplete:R.expectString});return Object.assign(t,o),t},ZJ=async(e,n)=>{let t={...e,body:await OC(e.body,n)},r=TC(e,t.body);switch(r){case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await RC(t,n);case"InvalidClientException":case"com.amazonaws.ssooidc#InvalidClientException":throw await nB(t,n);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await NC(t,n);case"SlowDownException":case"com.amazonaws.ssooidc#SlowDownException":throw await oB(t,n);case"UnauthorizedClientException":case"com.amazonaws.ssooidc#UnauthorizedClientException":throw await sB(t,n);default:let o=t.body;return IC({output:e,parsedBody:o,errorCode:r})}},IC=(0,R.withBaseException)(gt),eZ=async(e,n)=>{let t=(0,R.map)({}),r=e.body,o=(0,R.take)(r,{error:R.expectString,error_description:R.expectString});Object.assign(t,o);let s=new q1({$metadata:st(e),...t});return(0,R.decorateServiceException)(s,e.body)},tZ=async(e,n)=>{let t=(0,R.map)({}),r=e.body,o=(0,R.take)(r,{error:R.expectString,error_description:R.expectString});Object.assign(t,o);let s=new M1({$metadata:st(e),...t});return(0,R.decorateServiceException)(s,e.body)},nZ=async(e,n)=>{let t=(0,R.map)({}),r=e.body,o=(0,R.take)(r,{error:R.expectString,error_description:R.expectString});Object.assign(t,o);let s=new F1({$metadata:st(e),...t});return(0,R.decorateServiceException)(s,e.body)},RC=async(e,n)=>{let t=(0,R.map)({}),r=e.body,o=(0,R.take)(r,{error:R.expectString,error_description:R.expectString});Object.assign(t,o);let s=new j1({$metadata:st(e),...t});return(0,R.decorateServiceException)(s,e.body)},nB=async(e,n)=>{let t=(0,R.map)({}),r=e.body,o=(0,R.take)(r,{error:R.expectString,error_description:R.expectString});Object.assign(t,o);let s=new z1({$metadata:st(e),...t});return(0,R.decorateServiceException)(s,e.body)},rZ=async(e,n)=>{let t=(0,R.map)({}),r=e.body,o=(0,R.take)(r,{error:R.expectString,error_description:R.expectString});Object.assign(t,o);let s=new HJ({$metadata:st(e),...t});return(0,R.decorateServiceException)(s,e.body)},oZ=async(e,n)=>{let t=(0,R.map)({}),r=e.body,o=(0,R.take)(r,{error:R.expectString,error_description:R.expectString});Object.assign(t,o);let s=new GJ({$metadata:st(e),...t});return(0,R.decorateServiceException)(s,e.body)},NC=async(e,n)=>{let t=(0,R.map)({}),r=e.body,o=(0,R.take)(r,{error:R.expectString,error_description:R.expectString});Object.assign(t,o);let s=new $1({$metadata:st(e),...t});return(0,R.decorateServiceException)(s,e.body)},rB=async(e,n)=>{let t=(0,R.map)({}),r=e.body,o=(0,R.take)(r,{error:R.expectString,error_description:R.expectString});Object.assign(t,o);let s=new V1({$metadata:st(e),...t});return(0,R.decorateServiceException)(s,e.body)},oB=async(e,n)=>{let t=(0,R.map)({}),r=e.body,o=(0,R.take)(r,{error:R.expectString,error_description:R.expectString});Object.assign(t,o);let s=new W1({$metadata:st(e),...t});return(0,R.decorateServiceException)(s,e.body)},sB=async(e,n)=>{let t=(0,R.map)({}),r=e.body,o=(0,R.take)(r,{error:R.expectString,error_description:R.expectString});Object.assign(t,o);let s=new Q1({$metadata:st(e),...t});return(0,R.decorateServiceException)(s,e.body)},sZ=async(e,n)=>{let t=(0,R.map)({}),r=e.body,o=(0,R.take)(r,{error:R.expectString,error_description:R.expectString});Object.assign(t,o);let s=new Z1({$metadata:st(e),...t});return(0,R.decorateServiceException)(s,e.body)},st=e=>{var n,t;return{httpStatusCode:e.statusCode,requestId:(t=(n=e.headers["x-amzn-requestid"])!==null&&n!==void 0?n:e.headers["x-amzn-request-id"])!==null&&t!==void 0?t:e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}},iZ=(e,n)=>(0,R.collectBody)(e,n).then(t=>n.utf8Encoder(t)),Fp=(e,n)=>iZ(e,n).then(t=>t.length?JSON.parse(t):{}),OC=async(e,n)=>{var t;let r=await Fp(e,n);return r.message=(t=r.message)!==null&&t!==void 0?t:r.Message,r},TC=(e,n)=>{let t=(s,a)=>Object.keys(s).find(i=>i.toLowerCase()===a.toLowerCase()),r=s=>{let a=s;return typeof a=="number"&&(a=a.toString()),a.indexOf(",")>=0&&(a=a.split(",")[0]),a.indexOf(":")>=0&&(a=a.split(":")[0]),a.indexOf("#")>=0&&(a=a.split("#")[1]),a},o=t(e.headers,"x-amzn-errortype");if(o!==void 0)return r(e.headers[o]);if(n.code!==void 0)return r(n.code);if(n.__type!==void 0)return r(n.__type)},iB=class aB extends UJ.Command{constructor(n){super(),this.input=n}static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}resolveMiddleware(n,t,r){this.middlewareStack.use((0,jJ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,LJ.getEndpointPlugin)(t,aB.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOOIDCClient",commandName:"CreateTokenCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return $J(n,t)}deserialize(n,t){return XJ(n,t)}};Ee.CreateTokenCommand=iB;var aZ=v(),cZ=w(),dZ=E(),lZ=class cB extends dZ.Command{constructor(n){super(),this.input=n}static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}resolveMiddleware(n,t,r){this.middlewareStack.use((0,cZ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,aZ.getEndpointPlugin)(t,cB.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOOIDCClient",commandName:"RegisterClientCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return KJ(n,t)}deserialize(n,t){return YJ(n,t)}},uZ=v(),mZ=w(),pZ=E(),fZ=class dB extends pZ.Command{constructor(n){super(),this.input=n}static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}resolveMiddleware(n,t,r){this.middlewareStack.use((0,mZ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,uZ.getEndpointPlugin)(t,dB.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOOIDCClient",commandName:"StartDeviceAuthorizationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return VJ(n,t)}deserialize(n,t){return JJ(n,t)}},yZ={CreateTokenCommand:iB,RegisterClientCommand:lZ,StartDeviceAuthorizationCommand:fZ},_Z=class extends O1{};(0,FJ.createAggregatedClient)(yZ,_Z)});var jp=m(is=>{"use strict";Object.defineProperty(is,"__esModule",{value:!0});is.REFRESH_MESSAGE=is.EXPIRE_WINDOW_MS=void 0;is.EXPIRE_WINDOW_MS=5*60*1e3;is.REFRESH_MESSAGE="To refresh this SSO session run 'aws sso login' with the corresponding profile."});var lB=m(Up=>{"use strict";Object.defineProperty(Up,"__esModule",{value:!0});Up.getSsoOidcClient=void 0;var gZ=Lp(),qC={},hZ=e=>{if(qC[e])return qC[e];let n=new gZ.SSOOIDCClient({region:e});return qC[e]=n,n};Up.getSsoOidcClient=hZ});var uB=m(zp=>{"use strict";Object.defineProperty(zp,"__esModule",{value:!0});zp.getNewSsoOidcToken=void 0;var CZ=Lp(),SZ=lB(),EZ=(e,n)=>(0,SZ.getSsoOidcClient)(n).send(new CZ.CreateTokenCommand({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}));zp.getNewSsoOidcToken=EZ});var mB=m(Gp=>{"use strict";Object.defineProperty(Gp,"__esModule",{value:!0});Gp.validateTokenExpiry=void 0;var bZ=Se(),PZ=jp(),vZ=e=>{if(e.expiration&&e.expiration.getTime(){"use strict";Object.defineProperty(Hp,"__esModule",{value:!0});Hp.validateTokenKey=void 0;var xZ=Se(),wZ=jp(),kZ=(e,n,t=!1)=>{if(typeof n>"u")throw new xZ.TokenProviderError(`Value not present for '${e}' in SSO Token${t?". Cannot refresh":""}. ${wZ.REFRESH_MESSAGE}`,!1)};Hp.validateTokenKey=kZ});var fB=m($p=>{"use strict";Object.defineProperty($p,"__esModule",{value:!0});$p.writeSSOTokenToFile=void 0;var AZ=Zt(),IZ=require("fs"),{writeFile:RZ}=IZ.promises,NZ=(e,n)=>{let t=(0,AZ.getSSOTokenFilepath)(e),r=JSON.stringify(n,null,2);return RZ(t,r)};$p.writeSSOTokenToFile=NZ});var BC=m(Vp=>{"use strict";Object.defineProperty(Vp,"__esModule",{value:!0});Vp.fromSso=void 0;var Bc=Se(),Kp=Zt(),yB=jp(),OZ=uB(),_B=mB(),no=pB(),TZ=fB(),gB=new Date(0),qZ=(e={})=>async()=>{let n=await(0,Kp.parseKnownFiles)(e),t=(0,Kp.getProfileName)(e),r=n[t];if(r){if(!r.sso_session)throw new Bc.TokenProviderError(`Profile '${t}' is missing required property 'sso_session'.`)}else throw new Bc.TokenProviderError(`Profile '${t}' could not be found in shared credentials file.`,!1);let o=r.sso_session,a=(await(0,Kp.loadSsoSessionData)(e))[o];if(!a)throw new Bc.TokenProviderError(`Sso session '${o}' could not be found in shared credentials file.`,!1);for(let C of["sso_start_url","sso_region"])if(!a[C])throw new Bc.TokenProviderError(`Sso session '${o}' is missing required property '${C}'.`,!1);let i=a.sso_start_url,u=a.sso_region,l;try{l=await(0,Kp.getSSOTokenFromFile)(o)}catch{throw new Bc.TokenProviderError(`The SSO session token associated with profile=${t} was not found or is invalid. ${yB.REFRESH_MESSAGE}`,!1)}(0,no.validateTokenKey)("accessToken",l.accessToken),(0,no.validateTokenKey)("expiresAt",l.expiresAt);let{accessToken:c,expiresAt:y}=l,_={token:c,expiration:new Date(y)};if(_.expiration.getTime()-Date.now()>yB.EXPIRE_WINDOW_MS)return _;if(Date.now()-gB.getTime()<30*1e3)return(0,_B.validateTokenExpiry)(_),_;(0,no.validateTokenKey)("clientId",l.clientId,!0),(0,no.validateTokenKey)("clientSecret",l.clientSecret,!0),(0,no.validateTokenKey)("refreshToken",l.refreshToken,!0);try{gB.setTime(Date.now());let C=await(0,OZ.getNewSsoOidcToken)(l,u);(0,no.validateTokenKey)("accessToken",C.accessToken),(0,no.validateTokenKey)("expiresIn",C.expiresIn);let b=new Date(Date.now()+C.expiresIn*1e3);try{await(0,TZ.writeSSOTokenToFile)(o,{...l,accessToken:C.accessToken,expiresAt:b.toISOString(),refreshToken:C.refreshToken})}catch{}return{token:C.accessToken,expiration:b}}catch{return(0,_B.validateTokenExpiry)(_),_}};Vp.fromSso=qZ});var hB=m(Xp=>{"use strict";Object.defineProperty(Xp,"__esModule",{value:!0});Xp.fromStatic=void 0;var BZ=Se(),MZ=({token:e})=>async()=>{if(!e||!e.token)throw new BZ.TokenProviderError("Please pass a valid token to fromStatic",!1);return e};Xp.fromStatic=MZ});var CB=m(Wp=>{"use strict";Object.defineProperty(Wp,"__esModule",{value:!0});Wp.nodeProvider=void 0;var MC=Se(),DZ=BC(),FZ=(e={})=>(0,MC.memoize)((0,MC.chain)((0,DZ.fromSso)(e),async()=>{throw new MC.TokenProviderError("Could not load token from any providers",!1)}),n=>n.expiration!==void 0&&n.expiration.getTime()-Date.now()<3e5,n=>n.expiration!==void 0);Wp.nodeProvider=FZ});var SB=m(as=>{"use strict";Object.defineProperty(as,"__esModule",{value:!0});var Yp=(z(),j(U));Yp.__exportStar(Lp(),as);Yp.__exportStar(BC(),as);Yp.__exportStar(hB(),as);Yp.__exportStar(CB(),as)});var bB=m(Qp=>{"use strict";Object.defineProperty(Qp,"__esModule",{value:!0});Qp.resolveSSOCredentials=void 0;var EB=p1(),LZ=SB(),Mc=Se(),jZ=Zt(),Dc=!1,UZ=async({ssoStartUrl:e,ssoSession:n,ssoAccountId:t,ssoRegion:r,ssoRoleName:o,ssoClient:s,profile:a})=>{let i,u="To refresh this SSO session run aws sso login with the corresponding profile.";if(n)try{let L=await(0,LZ.fromSso)({profile:a})();i={accessToken:L.token,expiresAt:new Date(L.expiration).toISOString()}}catch(L){throw new Mc.CredentialsProviderError(L.message,Dc)}else try{i=await(0,jZ.getSSOTokenFromFile)(e)}catch{throw new Mc.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${u}`,Dc)}if(new Date(i.expiresAt).getTime()-Date.now()<=0)throw new Mc.CredentialsProviderError(`The SSO session associated with this profile has expired. ${u}`,Dc);let{accessToken:l}=i,c=s||new EB.SSOClient({region:r}),y;try{y=await c.send(new EB.GetRoleCredentialsCommand({accountId:t,roleName:o,accessToken:l}))}catch(L){throw Mc.CredentialsProviderError.from(L,Dc)}let{roleCredentials:{accessKeyId:_,secretAccessKey:C,sessionToken:b,expiration:F}={}}=y;if(!_||!C||!b||!F)throw new Mc.CredentialsProviderError("SSO returns an invalid temporary credential.",Dc);return{accessKeyId:_,secretAccessKey:C,sessionToken:b,expiration:new Date(F)}};Qp.resolveSSOCredentials=UZ});var DC=m(Jp=>{"use strict";Object.defineProperty(Jp,"__esModule",{value:!0});Jp.validateSsoProfile=void 0;var zZ=Se(),GZ=e=>{let{sso_start_url:n,sso_account_id:t,sso_region:r,sso_role_name:o}=e;if(!n||!t||!r||!o)throw new zZ.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")} -Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,!1);return e};Jp.validateSsoProfile=GZ});var vB=m(Zp=>{"use strict";Object.defineProperty(Zp,"__esModule",{value:!0});Zp.fromSSO=void 0;var Fc=Se(),FC=Zt(),HZ=rC(),PB=bB(),$Z=DC(),KZ=(e={})=>async()=>{let{ssoStartUrl:n,ssoAccountId:t,ssoRegion:r,ssoRoleName:o,ssoClient:s,ssoSession:a}=e,i=(0,FC.getProfileName)(e);if(!n&&!t&&!r&&!o&&!a){let l=(await(0,FC.parseKnownFiles)(e))[i];if(!l)throw new Fc.CredentialsProviderError(`Profile ${i} was not found.`);if(!(0,HZ.isSsoProfile)(l))throw new Fc.CredentialsProviderError(`Profile ${i} is not configured with SSO credentials.`);if(l!=null&&l.sso_session){let L=(await(0,FC.loadSsoSessionData)(e))[l.sso_session],V=` configurations in profile ${i} and sso-session ${l.sso_session}`;if(r&&r!==L.sso_region)throw new Fc.CredentialsProviderError("Conflicting SSO region"+V,!1);if(n&&n!==L.sso_start_url)throw new Fc.CredentialsProviderError("Conflicting SSO start_url"+V,!1);l.sso_region=L.sso_region,l.sso_start_url=L.sso_start_url}let{sso_start_url:c,sso_account_id:y,sso_region:_,sso_role_name:C,sso_session:b}=(0,$Z.validateSsoProfile)(l);return(0,PB.resolveSSOCredentials)({ssoStartUrl:c,ssoSession:b,ssoAccountId:y,ssoRegion:_,ssoRoleName:C,ssoClient:s,profile:i})}else{if(!n||!t||!r||!o)throw new Fc.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"');return(0,PB.resolveSSOCredentials)({ssoStartUrl:n,ssoSession:a,ssoAccountId:t,ssoRegion:r,ssoRoleName:o,ssoClient:s,profile:i})}};Zp.fromSSO=KZ});var wB=m(xB=>{"use strict";Object.defineProperty(xB,"__esModule",{value:!0})});var tf=m(cs=>{"use strict";Object.defineProperty(cs,"__esModule",{value:!0});var ef=(z(),j(U));ef.__exportStar(vB(),cs);ef.__exportStar(rC(),cs);ef.__exportStar(wB(),cs);ef.__exportStar(DC(),cs)});var AB=m(ds=>{"use strict";Object.defineProperty(ds,"__esModule",{value:!0});ds.resolveSsoCredentials=ds.isSsoProfile=void 0;var kB=tf(),VZ=tf();Object.defineProperty(ds,"isSsoProfile",{enumerable:!0,get:function(){return VZ.isSsoProfile}});var XZ=e=>{let{sso_start_url:n,sso_account_id:t,sso_session:r,sso_region:o,sso_role_name:s}=(0,kB.validateSsoProfile)(e);return(0,kB.fromSSO)({ssoStartUrl:n,ssoAccountId:t,ssoSession:r,ssoRegion:o,ssoRoleName:s})()};ds.resolveSsoCredentials=XZ});var IB=m(ls=>{"use strict";Object.defineProperty(ls,"__esModule",{value:!0});ls.resolveStaticCredentials=ls.isStaticCredsProfile=void 0;var WZ=e=>!!e&&typeof e=="object"&&typeof e.aws_access_key_id=="string"&&typeof e.aws_secret_access_key=="string"&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1;ls.isStaticCredsProfile=WZ;var YZ=e=>Promise.resolve({accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token});ls.resolveStaticCredentials=YZ});var LC=m(nf=>{"use strict";Object.defineProperty(nf,"__esModule",{value:!0});nf.fromWebToken=void 0;var QZ=Se(),JZ=e=>()=>{let{roleArn:n,roleSessionName:t,webIdentityToken:r,providerId:o,policyArns:s,policy:a,durationSeconds:i,roleAssumerWithWebIdentity:u}=e;if(!u)throw new QZ.CredentialsProviderError(`Role Arn '${n}' needs to be assumed with web identity, but no role assumption callback was provided.`,!1);return u({RoleArn:n,RoleSessionName:t??`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:r,ProviderId:o,PolicyArns:s,Policy:a,DurationSeconds:i})};nf.fromWebToken=JZ});var RB=m(rf=>{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.fromTokenFile=void 0;var ZZ=Se(),eee=require("fs"),tee=LC(),nee="AWS_WEB_IDENTITY_TOKEN_FILE",ree="AWS_ROLE_ARN",oee="AWS_ROLE_SESSION_NAME",see=(e={})=>async()=>{var n,t,r;let o=(n=e==null?void 0:e.webIdentityTokenFile)!==null&&n!==void 0?n:process.env[nee],s=(t=e==null?void 0:e.roleArn)!==null&&t!==void 0?t:process.env[ree],a=(r=e==null?void 0:e.roleSessionName)!==null&&r!==void 0?r:process.env[oee];if(!o||!s)throw new ZZ.CredentialsProviderError("Web identity configuration not specified");return(0,tee.fromWebToken)({...e,webIdentityToken:(0,eee.readFileSync)(o,{encoding:"ascii"}),roleArn:s,roleSessionName:a})()};rf.fromTokenFile=see});var jC=m(of=>{"use strict";Object.defineProperty(of,"__esModule",{value:!0});var NB=(z(),j(U));NB.__exportStar(RB(),of);NB.__exportStar(LC(),of)});var OB=m(us=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});us.resolveWebIdentityCredentials=us.isWebIdentityProfile=void 0;var iee=jC(),aee=e=>!!e&&typeof e=="object"&&typeof e.web_identity_token_file=="string"&&typeof e.role_arn=="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1;us.isWebIdentityProfile=aee;var cee=async(e,n)=>(0,iee.fromTokenFile)({webIdentityTokenFile:e.web_identity_token_file,roleArn:e.role_arn,roleSessionName:e.role_session_name,roleAssumerWithWebIdentity:n.roleAssumerWithWebIdentity})();us.resolveWebIdentityCredentials=cee});var Zh=m(af=>{"use strict";Object.defineProperty(af,"__esModule",{value:!0});af.resolveProfileData=void 0;var dee=Se(),TB=VT(),qB=JT(),BB=AB(),sf=IB(),MB=OB(),lee=async(e,n,t,r={})=>{let o=n[e];if(Object.keys(r).length>0&&(0,sf.isStaticCredsProfile)(o))return(0,sf.resolveStaticCredentials)(o);if((0,TB.isAssumeRoleProfile)(o))return(0,TB.resolveAssumeRoleCredentials)(e,n,t,r);if((0,sf.isStaticCredsProfile)(o))return(0,sf.resolveStaticCredentials)(o);if((0,MB.isWebIdentityProfile)(o))return(0,MB.resolveWebIdentityCredentials)(o,t);if((0,qB.isProcessProfile)(o))return(0,qB.resolveProcessCredentials)(t,e);if((0,BB.isSsoProfile)(o))return(0,BB.resolveSsoCredentials)(o);throw new dee.CredentialsProviderError(`Profile ${e} could not be found or parsed in shared credentials file.`)};af.resolveProfileData=lee});var FB=m(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});cf.fromIni=void 0;var DB=Zt(),uee=Zh(),mee=(e={})=>async()=>{let n=await(0,DB.parseKnownFiles)(e);return(0,uee.resolveProfileData)((0,DB.getProfileName)(e),n,e)};cf.fromIni=mee});var LB=m(UC=>{"use strict";Object.defineProperty(UC,"__esModule",{value:!0});var pee=(z(),j(U));pee.__exportStar(FB(),UC)});var jB=m(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.remoteProvider=ro.ENV_IMDS_DISABLED=void 0;var df=Xm(),fee=Se();ro.ENV_IMDS_DISABLED="AWS_EC2_METADATA_DISABLED";var yee=e=>process.env[df.ENV_CMDS_RELATIVE_URI]||process.env[df.ENV_CMDS_FULL_URI]?(0,df.fromContainerMetadata)(e):process.env[ro.ENV_IMDS_DISABLED]?async()=>{throw new fee.CredentialsProviderError("EC2 Instance Metadata Service access disabled")}:(0,df.fromInstanceMetadata)(e);ro.remoteProvider=yee});var UB=m(lf=>{"use strict";Object.defineProperty(lf,"__esModule",{value:!0});lf.defaultProvider=void 0;var _ee=Mh(),gee=LB(),hee=nC(),Cee=tf(),See=jC(),zC=Se(),Eee=Zt(),bee=jB(),Pee=(e={})=>(0,zC.memoize)((0,zC.chain)(...e.profile||process.env[Eee.ENV_PROFILE]?[]:[(0,_ee.fromEnv)()],(0,Cee.fromSSO)(e),(0,gee.fromIni)(e),(0,hee.fromProcess)(e),(0,See.fromTokenFile)(e),(0,bee.remoteProvider)(e),async()=>{throw new zC.CredentialsProviderError("Could not load credentials from any providers",!1)}),n=>n.expiration!==void 0&&n.expiration.getTime()-Date.now()<3e5,n=>n.expiration!==void 0);lf.defaultProvider=Pee});var HC=m(GC=>{"use strict";Object.defineProperty(GC,"__esModule",{value:!0});var vee=(z(),j(U));vee.__exportStar(UB(),GC)});var dM=m(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});uf.ruleSet=void 0;var ZB="required",se="type",ge="fn",he="argv",br="ref",zB=!1,xee=!0,oo="booleanEquals",dn="tree",Ye="stringEquals",eM="sigv4",tM="sts",nM="us-east-1",Ae="endpoint",GB="https://sts.{Region}.{PartitionResult#dnsSuffix}",ms="error",KC="getAttr",HB={[ZB]:!1,[se]:"String"},$C={[ZB]:!0,default:!1,[se]:"Boolean"},rM={[br]:"Endpoint"},$B={[ge]:"isSet",[he]:[{[br]:"Region"}]},Qe={[br]:"Region"},KB={[ge]:"aws.partition",[he]:[Qe],assign:"PartitionResult"},oM={[br]:"UseFIPS"},sM={[br]:"UseDualStack"},rt={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:eM,signingName:tM,signingRegion:nM}]},headers:{}},ht={},VB={conditions:[{[ge]:Ye,[he]:[Qe,"aws-global"]}],[Ae]:rt,[se]:Ae},iM={[ge]:oo,[he]:[oM,!0]},aM={[ge]:oo,[he]:[sM,!0]},XB={[ge]:oo,[he]:[!0,{[ge]:KC,[he]:[{[br]:"PartitionResult"},"supportsFIPS"]}]},cM={[br]:"PartitionResult"},WB={[ge]:oo,[he]:[!0,{[ge]:KC,[he]:[cM,"supportsDualStack"]}]},YB=[{[ge]:"isSet",[he]:[rM]}],QB=[iM],JB=[aM],wee={version:"1.0",parameters:{Region:HB,UseDualStack:$C,UseFIPS:$C,Endpoint:HB,UseGlobalEndpoint:$C},rules:[{conditions:[{[ge]:oo,[he]:[{[br]:"UseGlobalEndpoint"},xee]},{[ge]:"not",[he]:YB},$B,KB,{[ge]:oo,[he]:[oM,zB]},{[ge]:oo,[he]:[sM,zB]}],[se]:dn,rules:[{conditions:[{[ge]:Ye,[he]:[Qe,"ap-northeast-1"]}],endpoint:rt,[se]:Ae},{conditions:[{[ge]:Ye,[he]:[Qe,"ap-south-1"]}],endpoint:rt,[se]:Ae},{conditions:[{[ge]:Ye,[he]:[Qe,"ap-southeast-1"]}],endpoint:rt,[se]:Ae},{conditions:[{[ge]:Ye,[he]:[Qe,"ap-southeast-2"]}],endpoint:rt,[se]:Ae},VB,{conditions:[{[ge]:Ye,[he]:[Qe,"ca-central-1"]}],endpoint:rt,[se]:Ae},{conditions:[{[ge]:Ye,[he]:[Qe,"eu-central-1"]}],endpoint:rt,[se]:Ae},{conditions:[{[ge]:Ye,[he]:[Qe,"eu-north-1"]}],endpoint:rt,[se]:Ae},{conditions:[{[ge]:Ye,[he]:[Qe,"eu-west-1"]}],endpoint:rt,[se]:Ae},{conditions:[{[ge]:Ye,[he]:[Qe,"eu-west-2"]}],endpoint:rt,[se]:Ae},{conditions:[{[ge]:Ye,[he]:[Qe,"eu-west-3"]}],endpoint:rt,[se]:Ae},{conditions:[{[ge]:Ye,[he]:[Qe,"sa-east-1"]}],endpoint:rt,[se]:Ae},{conditions:[{[ge]:Ye,[he]:[Qe,nM]}],endpoint:rt,[se]:Ae},{conditions:[{[ge]:Ye,[he]:[Qe,"us-east-2"]}],endpoint:rt,[se]:Ae},{conditions:[{[ge]:Ye,[he]:[Qe,"us-west-1"]}],endpoint:rt,[se]:Ae},{conditions:[{[ge]:Ye,[he]:[Qe,"us-west-2"]}],endpoint:rt,[se]:Ae},{endpoint:{url:GB,properties:{authSchemes:[{name:eM,signingName:tM,signingRegion:"{Region}"}]},headers:ht},[se]:Ae}]},{conditions:YB,[se]:dn,rules:[{conditions:QB,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[se]:ms},{conditions:JB,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[se]:ms},{endpoint:{url:rM,properties:ht,headers:ht},[se]:Ae}]},{conditions:[$B],[se]:dn,rules:[{conditions:[KB],[se]:dn,rules:[{conditions:[iM,aM],[se]:dn,rules:[{conditions:[XB,WB],[se]:dn,rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:ht,headers:ht},[se]:Ae}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[se]:ms}]},{conditions:QB,[se]:dn,rules:[{conditions:[XB],[se]:dn,rules:[{conditions:[{[ge]:Ye,[he]:["aws-us-gov",{[ge]:KC,[he]:[cM,"name"]}]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:ht,headers:ht},[se]:Ae},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:ht,headers:ht},[se]:Ae}]},{error:"FIPS is enabled but this partition does not support FIPS",[se]:ms}]},{conditions:JB,[se]:dn,rules:[{conditions:[WB],[se]:dn,rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:ht,headers:ht},[se]:Ae}]},{error:"DualStack is enabled but this partition does not support DualStack",[se]:ms}]},VB,{endpoint:{url:GB,properties:ht,headers:ht},[se]:Ae}]}]},{error:"Invalid Configuration: Missing Region",[se]:ms}]};uf.ruleSet=wee});var lM=m(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});mf.defaultEndpointResolver=void 0;var kee=Fo(),Aee=dM(),Iee=(e,n={})=>(0,kee.resolveEndpoint)(Aee.ruleSet,{endpointParams:e,logger:n.logger});mf.defaultEndpointResolver=Iee});var pM=m(pf=>{"use strict";Object.defineProperty(pf,"__esModule",{value:!0});pf.getRuntimeConfig=void 0;var Ree=E(),Nee=Kr(),uM=_o(),mM=St(),Oee=lM(),Tee=e=>({apiVersion:"2011-06-15",base64Decoder:(e==null?void 0:e.base64Decoder)??uM.fromBase64,base64Encoder:(e==null?void 0:e.base64Encoder)??uM.toBase64,disableHostPrefix:(e==null?void 0:e.disableHostPrefix)??!1,endpointProvider:(e==null?void 0:e.endpointProvider)??Oee.defaultEndpointResolver,extensions:(e==null?void 0:e.extensions)??[],logger:(e==null?void 0:e.logger)??new Ree.NoOpLogger,serviceId:(e==null?void 0:e.serviceId)??"STS",urlParser:(e==null?void 0:e.urlParser)??Nee.parseUrl,utf8Decoder:(e==null?void 0:e.utf8Decoder)??mM.fromUtf8,utf8Encoder:(e==null?void 0:e.utf8Encoder)??mM.toUtf8});pf.getRuntimeConfig=Tee});var _M=m(yf=>{"use strict";Object.defineProperty(yf,"__esModule",{value:!0});yf.getRuntimeConfig=void 0;var qee=(z(),j(U)),Bee=qee.__importDefault(CO()),Mee=qh(),Dee=HC(),Fee=bc(),ff=Vt(),Lee=Pc(),fM=An(),Lc=Cr(),yM=Co(),jee=vc(),Uee=kt(),zee=pM(),Gee=E(),Hee=wc(),$ee=E(),Kee=e=>{(0,$ee.emitWarningIfUnsupportedVersion)(process.version);let n=(0,Hee.resolveDefaultsModeConfig)(e),t=()=>n().then(Gee.loadConfigsForDefaultMode),r=(0,zee.getRuntimeConfig)(e);return{...r,...e,runtime:"node",defaultsMode:n,bodyLengthChecker:(e==null?void 0:e.bodyLengthChecker)??jee.calculateBodyLength,credentialDefaultProvider:(e==null?void 0:e.credentialDefaultProvider)??(0,Mee.decorateDefaultCredentialProvider)(Dee.defaultProvider),defaultUserAgentProvider:(e==null?void 0:e.defaultUserAgentProvider)??(0,Fee.defaultUserAgent)({serviceId:r.serviceId,clientVersion:Bee.default.version}),maxAttempts:(e==null?void 0:e.maxAttempts)??(0,Lc.loadConfig)(fM.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:(e==null?void 0:e.region)??(0,Lc.loadConfig)(ff.NODE_REGION_CONFIG_OPTIONS,ff.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(e==null?void 0:e.requestHandler)??new yM.NodeHttpHandler(t),retryMode:(e==null?void 0:e.retryMode)??(0,Lc.loadConfig)({...fM.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await t()).retryMode||Uee.DEFAULT_RETRY_MODE}),sha256:(e==null?void 0:e.sha256)??Lee.Hash.bind(null,"sha256"),streamCollector:(e==null?void 0:e.streamCollector)??yM.streamCollector,useDualstackEndpoint:(e==null?void 0:e.useDualstackEndpoint)??(0,Lc.loadConfig)(ff.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(e==null?void 0:e.useFipsEndpoint)??(0,Lc.loadConfig)(ff.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};yf.getRuntimeConfig=Kee});var SM=m(_f=>{"use strict";Object.defineProperty(_f,"__esModule",{value:!0});_f.resolveRuntimeExtensions=void 0;var gM=_p(),hM=we(),CM=E(),VC=e=>e,Vee=(e,n)=>{let t={...VC((0,gM.getAwsRegionExtensionConfiguration)(e)),...VC((0,CM.getDefaultExtensionConfiguration)(e)),...VC((0,hM.getHttpHandlerExtensionConfiguration)(e))};return n.forEach(r=>r.configure(t)),{...e,...(0,gM.resolveAwsRegionExtensionConfiguration)(t),...(0,CM.resolveDefaultRuntimeConfig)(t),...(0,hM.resolveHttpHandlerRuntimeConfig)(t)}};_f.resolveRuntimeExtensions=Vee});var gf=m(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});ps.STSClient=ps.__Client=void 0;var EM=qa(),Xee=Ba(),Wee=Ma(),Yee=gO(),bM=nc(),Qee=Vt(),Jee=ic(),Zee=v(),PM=An(),vM=E();Object.defineProperty(ps,"__Client",{enumerable:!0,get:function(){return vM.Client}});var ete=hO(),tte=_M(),nte=SM(),XC=class e extends vM.Client{constructor(...[n]){let t=(0,tte.getRuntimeConfig)(n||{}),r=(0,ete.resolveClientEndpointParameters)(t),o=(0,Qee.resolveRegionConfig)(r),s=(0,Zee.resolveEndpointConfig)(o),a=(0,PM.resolveRetryConfig)(s),i=(0,EM.resolveHostHeaderConfig)(a),u=(0,Yee.resolveStsAuthConfig)(i,{stsClientCtor:e}),l=(0,bM.resolveUserAgentConfig)(u),c=(0,nte.resolveRuntimeExtensions)(l,(n==null?void 0:n.extensions)||[]);super(c),this.config=c,this.middlewareStack.use((0,PM.getRetryPlugin)(this.config)),this.middlewareStack.use((0,Jee.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,EM.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,Xee.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,Wee.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,bM.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}};ps.STSClient=XC});var YC=m(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});fs.AssumeRoleWithSAMLCommand=fs.$Command=void 0;var rte=v(),ote=w(),kM=E();Object.defineProperty(fs,"$Command",{enumerable:!0,get:function(){return kM.Command}});var ste=x(),xM=dr(),wM=Nn(),WC=class e extends kM.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,ote.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,rte.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"AssumeRoleWithSAMLCommand",inputFilterSensitiveLog:xM.AssumeRoleWithSAMLRequestFilterSensitiveLog,outputFilterSensitiveLog:xM.AssumeRoleWithSAMLResponseFilterSensitiveLog,[ste.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"AssumeRoleWithSAML"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,wM.se_AssumeRoleWithSAMLCommand)(n,t)}deserialize(n,t){return(0,wM.de_AssumeRoleWithSAMLCommand)(n,t)}};fs.AssumeRoleWithSAMLCommand=WC});var JC=m(ys=>{"use strict";Object.defineProperty(ys,"__esModule",{value:!0});ys.DecodeAuthorizationMessageCommand=ys.$Command=void 0;var ite=Pn(),ate=v(),cte=w(),IM=E();Object.defineProperty(ys,"$Command",{enumerable:!0,get:function(){return IM.Command}});var dte=x(),AM=Nn(),QC=class e extends IM.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,cte.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ate.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,ite.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"DecodeAuthorizationMessageCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[dte.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"DecodeAuthorizationMessage"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,AM.se_DecodeAuthorizationMessageCommand)(n,t)}deserialize(n,t){return(0,AM.de_DecodeAuthorizationMessageCommand)(n,t)}};ys.DecodeAuthorizationMessageCommand=QC});var eS=m(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.GetAccessKeyInfoCommand=_s.$Command=void 0;var lte=Pn(),ute=v(),mte=w(),NM=E();Object.defineProperty(_s,"$Command",{enumerable:!0,get:function(){return NM.Command}});var pte=x(),RM=Nn(),ZC=class e extends NM.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,mte.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ute.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,lte.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"GetAccessKeyInfoCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[pte.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"GetAccessKeyInfo"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,RM.se_GetAccessKeyInfoCommand)(n,t)}deserialize(n,t){return(0,RM.de_GetAccessKeyInfoCommand)(n,t)}};_s.GetAccessKeyInfoCommand=ZC});var nS=m(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});gs.GetCallerIdentityCommand=gs.$Command=void 0;var fte=Pn(),yte=v(),_te=w(),TM=E();Object.defineProperty(gs,"$Command",{enumerable:!0,get:function(){return TM.Command}});var gte=x(),OM=Nn(),tS=class e extends TM.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,_te.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,yte.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,fte.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"GetCallerIdentityCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[gte.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"GetCallerIdentity"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,OM.se_GetCallerIdentityCommand)(n,t)}deserialize(n,t){return(0,OM.de_GetCallerIdentityCommand)(n,t)}};gs.GetCallerIdentityCommand=tS});var oS=m(hs=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});hs.GetFederationTokenCommand=hs.$Command=void 0;var hte=Pn(),Cte=v(),Ste=w(),BM=E();Object.defineProperty(hs,"$Command",{enumerable:!0,get:function(){return BM.Command}});var Ete=x(),bte=dr(),qM=Nn(),rS=class e extends BM.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Ste.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Cte.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,hte.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"GetFederationTokenCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:bte.GetFederationTokenResponseFilterSensitiveLog,[Ete.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"GetFederationToken"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,qM.se_GetFederationTokenCommand)(n,t)}deserialize(n,t){return(0,qM.de_GetFederationTokenCommand)(n,t)}};hs.GetFederationTokenCommand=rS});var iS=m(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.GetSessionTokenCommand=Cs.$Command=void 0;var Pte=Pn(),vte=v(),xte=w(),DM=E();Object.defineProperty(Cs,"$Command",{enumerable:!0,get:function(){return DM.Command}});var wte=x(),kte=dr(),MM=Nn(),sS=class e extends DM.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,xte.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,vte.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Pte.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"GetSessionTokenCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:kte.GetSessionTokenResponseFilterSensitiveLog,[wte.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"GetSessionToken"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,MM.se_GetSessionTokenCommand)(n,t)}deserialize(n,t){return(0,MM.de_GetSessionTokenCommand)(n,t)}};Cs.GetSessionTokenCommand=sS});var FM=m(Cf=>{"use strict";Object.defineProperty(Cf,"__esModule",{value:!0});Cf.STS=void 0;var Ate=E(),Ite=Em(),Rte=YC(),Nte=bm(),Ote=JC(),Tte=eS(),qte=nS(),Bte=oS(),Mte=iS(),Dte=gf(),Fte={AssumeRoleCommand:Ite.AssumeRoleCommand,AssumeRoleWithSAMLCommand:Rte.AssumeRoleWithSAMLCommand,AssumeRoleWithWebIdentityCommand:Nte.AssumeRoleWithWebIdentityCommand,DecodeAuthorizationMessageCommand:Ote.DecodeAuthorizationMessageCommand,GetAccessKeyInfoCommand:Tte.GetAccessKeyInfoCommand,GetCallerIdentityCommand:qte.GetCallerIdentityCommand,GetFederationTokenCommand:Bte.GetFederationTokenCommand,GetSessionTokenCommand:Mte.GetSessionTokenCommand},hf=class extends Dte.STSClient{};Cf.STS=hf;(0,Ate.createAggregatedClient)(Fte,hf)});var LM=m(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});var Pr=(z(),j(U));Pr.__exportStar(Em(),ln);Pr.__exportStar(YC(),ln);Pr.__exportStar(bm(),ln);Pr.__exportStar(JC(),ln);Pr.__exportStar(eS(),ln);Pr.__exportStar(nS(),ln);Pr.__exportStar(oS(),ln);Pr.__exportStar(iS(),ln)});var jM=m(aS=>{"use strict";Object.defineProperty(aS,"__esModule",{value:!0});var Lte=(z(),j(U));Lte.__exportStar(dr(),aS)});var HM=m(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.decorateDefaultCredentialProvider=un.getDefaultRoleAssumerWithWebIdentity=un.getDefaultRoleAssumer=void 0;var UM=qh(),zM=gf(),GM=(e,n)=>n?class extends e{constructor(r){super(r);for(let o of n)this.middlewareStack.use(o)}}:e,jte=(e={},n)=>(0,UM.getDefaultRoleAssumer)(e,GM(zM.STSClient,n));un.getDefaultRoleAssumer=jte;var Ute=(e={},n)=>(0,UM.getDefaultRoleAssumerWithWebIdentity)(e,GM(zM.STSClient,n));un.getDefaultRoleAssumerWithWebIdentity=Ute;var zte=e=>n=>e({roleAssumer:(0,un.getDefaultRoleAssumer)(n),roleAssumerWithWebIdentity:(0,un.getDefaultRoleAssumerWithWebIdentity)(n),...n});un.decorateDefaultCredentialProvider=zte});var $M=m(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.STSServiceException=void 0;var jc=(z(),j(U));jc.__exportStar(gf(),Fn);jc.__exportStar(FM(),Fn);jc.__exportStar(LM(),Fn);jc.__exportStar(jM(),Fn);jc.__exportStar(HM(),Fn);var Gte=_m();Object.defineProperty(Fn,"STSServiceException",{enumerable:!0,get:function(){return Gte.STSServiceException}})});var KM=m(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS=mn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME=mn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME=void 0;var Sf=rc();mn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME="AWS_S3_DISABLE_MULTIREGION_ACCESS_POINTS";mn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME="s3_disable_multiregion_access_points";mn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS={environmentVariableSelector:e=>(0,Sf.booleanSelector)(e,mn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME,Sf.SelectorType.ENV),configFileSelector:e=>(0,Sf.booleanSelector)(e,mn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME,Sf.SelectorType.CONFIG),default:!1}});var VM=m(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.NODE_USE_ARN_REGION_CONFIG_OPTIONS=pn.NODE_USE_ARN_REGION_INI_NAME=pn.NODE_USE_ARN_REGION_ENV_NAME=void 0;var Ef=rc();pn.NODE_USE_ARN_REGION_ENV_NAME="AWS_S3_USE_ARN_REGION";pn.NODE_USE_ARN_REGION_INI_NAME="s3_use_arn_region";pn.NODE_USE_ARN_REGION_CONFIG_OPTIONS={environmentVariableSelector:e=>(0,Ef.booleanSelector)(e,pn.NODE_USE_ARN_REGION_ENV_NAME,Ef.SelectorType.ENV),configFileSelector:e=>(0,Ef.booleanSelector)(e,pn.NODE_USE_ARN_REGION_INI_NAME,Ef.SelectorType.CONFIG),default:!1}});var lS=m(ne=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0});ne.validateMrapAlias=ne.validateNoFIPS=ne.validateNoDualstack=ne.getArnResources=ne.validateCustomEndpoint=ne.validateDNSHostLabel=ne.validateAccountId=ne.validateRegionalClient=ne.validateRegion=ne.validatePartition=ne.validateOutpostService=ne.validateS3Service=ne.validateService=ne.validateArnEndpointOptions=ne.getSuffixForArnEndpoint=ne.getSuffix=ne.isDnsCompatibleBucketName=ne.isBucketNameOptions=ne.S3_HOSTNAME_PATTERN=ne.DOT_PATTERN=void 0;var Hte=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,$te=/(\d+\.){3}\d+/,Kte=/\.\./;ne.DOT_PATTERN=/\./;ne.S3_HOSTNAME_PATTERN=/^(.+\.)?s3(-fips)?(\.dualstack)?[.-]([a-z0-9-]+)\./;var XM=/^s3(-external-1)?\.amazonaws\.com$/,dS="amazonaws.com",Vte=e=>typeof e.bucketName=="string";ne.isBucketNameOptions=Vte;var Xte=e=>Hte.test(e)&&!$te.test(e)&&!Kte.test(e);ne.isDnsCompatibleBucketName=Xte;var WM=e=>{let n=e.match(ne.S3_HOSTNAME_PATTERN);return[n[4],e.replace(new RegExp(`^${n[0]}`),"")]},Wte=e=>XM.test(e)?["us-east-1",dS]:WM(e);ne.getSuffix=Wte;var Yte=e=>XM.test(e)?[e.replace(`.${dS}`,""),dS]:WM(e);ne.getSuffixForArnEndpoint=Yte;var Qte=e=>{if(e.pathStyleEndpoint)throw new Error("Path-style S3 endpoint is not supported when bucket is an ARN");if(e.accelerateEndpoint)throw new Error("Accelerate endpoint is not supported when bucket is an ARN");if(!e.tlsCompatible)throw new Error("HTTPS is required when bucket is an ARN")};ne.validateArnEndpointOptions=Qte;var Jte=e=>{if(e!=="s3"&&e!=="s3-outposts"&&e!=="s3-object-lambda")throw new Error("Expect 's3' or 's3-outposts' or 's3-object-lambda' in ARN service component")};ne.validateService=Jte;var Zte=e=>{if(e!=="s3")throw new Error("Expect 's3' in Accesspoint ARN service component")};ne.validateS3Service=Zte;var ene=e=>{if(e!=="s3-outposts")throw new Error("Expect 's3-posts' in Outpost ARN service component")};ne.validateOutpostService=ene;var tne=(e,n)=>{if(e!==n.clientPartition)throw new Error(`Partition in ARN is incompatible, got "${e}" but expected "${n.clientPartition}"`)};ne.validatePartition=tne;var nne=(e,n)=>{if(e==="")throw new Error("ARN region is empty");if(n.useFipsEndpoint)if(n.allowFipsRegion){if(!cS(e,n.clientRegion))throw new Error(`Client FIPS region ${n.clientRegion} doesn't match region ${e} in ARN`)}else throw new Error("FIPS region is not supported");if(!n.useArnRegion&&!cS(e,n.clientRegion||"")&&!cS(e,n.clientSigningRegion||""))throw new Error(`Region in ARN is incompatible, got ${e} but expected ${n.clientRegion}`)};ne.validateRegion=nne;var rne=e=>{if(["s3-external-1","aws-global"].includes(e))throw new Error(`Client region ${e} is not regional`)};ne.validateRegionalClient=rne;var cS=(e,n)=>e===n,one=e=>{if(!/[0-9]{12}/.exec(e))throw new Error("Access point ARN accountID does not match regex '[0-9]{12}'")};ne.validateAccountId=one;var sne=(e,n={tlsCompatible:!0})=>{if(e.length>=64||!/^[a-z0-9][a-z0-9.-]*[a-z0-9]$/.test(e)||/(\d+\.){3}\d+/.test(e)||/[.-]{2}/.test(e)||n!=null&&n.tlsCompatible&&ne.DOT_PATTERN.test(e))throw new Error(`Invalid DNS label ${e}`)};ne.validateDNSHostLabel=sne;var ine=e=>{if(e.isCustomEndpoint){if(e.dualstackEndpoint)throw new Error("Dualstack endpoint is not supported with custom endpoint");if(e.accelerateEndpoint)throw new Error("Accelerate endpoint is not supported with custom endpoint")}};ne.validateCustomEndpoint=ine;var ane=e=>{let n=e.includes(":")?":":"/",[t,...r]=e.split(n);if(t==="accesspoint"){if(r.length!==1||r[0]==="")throw new Error(`Access Point ARN should have one resource accesspoint${n}{accesspointname}`);return{accesspointName:r[0]}}else if(t==="outpost"){if(!r[0]||r[1]!=="accesspoint"||!r[2]||r.length!==3)throw new Error(`Outpost ARN should have resource outpost${n}{outpostId}${n}accesspoint${n}{accesspointName}`);let[o,s,a]=r;return{outpostId:o,accesspointName:a}}else throw new Error(`ARN resource should begin with 'accesspoint${n}' or 'outpost${n}'`)};ne.getArnResources=ane;var cne=e=>{if(e)throw new Error("Dualstack endpoint is not supported with Outpost or Multi-region Access Point ARN.")};ne.validateNoDualstack=cne;var dne=e=>{if(e)throw new Error("FIPS region is not supported with Outpost.")};ne.validateNoFIPS=dne;var lne=e=>{try{e.split(".").forEach(n=>{(0,ne.validateDNSHostLabel)(n)})}catch{throw new Error(`"${e}" is not a DNS compatible name.`)}};ne.validateMrapAlias=lne});var uS=m(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});bf.bucketHostname=void 0;var Ce=lS(),une=e=>((0,Ce.validateCustomEndpoint)(e),(0,Ce.isBucketNameOptions)(e)?mne(e):pne(e));bf.bucketHostname=une;var mne=({accelerateEndpoint:e=!1,clientRegion:n,baseHostname:t,bucketName:r,dualstackEndpoint:o=!1,fipsEndpoint:s=!1,pathStyleEndpoint:a=!1,tlsCompatible:i=!0,isCustomEndpoint:u=!1})=>{let[l,c]=u?[n,t]:(0,Ce.getSuffix)(t);return a||!(0,Ce.isDnsCompatibleBucketName)(r)||i&&Ce.DOT_PATTERN.test(r)?{bucketEndpoint:!1,hostname:o?`s3.dualstack.${l}.${c}`:t}:(e?t=`s3-accelerate${o?".dualstack":""}.${c}`:o&&(t=`s3.dualstack.${l}.${c}`),{bucketEndpoint:!0,hostname:`${r}.${t}`})},pne=e=>{let{isCustomEndpoint:n,baseHostname:t,clientRegion:r}=e,o=n?t:(0,Ce.getSuffixForArnEndpoint)(t)[1],{pathStyleEndpoint:s,accelerateEndpoint:a=!1,fipsEndpoint:i=!1,tlsCompatible:u=!0,bucketName:l,clientPartition:c="aws"}=e;(0,Ce.validateArnEndpointOptions)({pathStyleEndpoint:s,accelerateEndpoint:a,tlsCompatible:u});let{service:y,partition:_,accountId:C,region:b,resource:F}=l;(0,Ce.validateService)(y),(0,Ce.validatePartition)(_,{clientPartition:c}),(0,Ce.validateAccountId)(C);let{accesspointName:L,outpostId:V}=(0,Ce.getArnResources)(F);return y==="s3-object-lambda"?fne({...e,tlsCompatible:u,bucketName:l,accesspointName:L,hostnameSuffix:o}):b===""?yne({...e,clientRegion:r,mrapAlias:L,hostnameSuffix:o}):V?_ne({...e,clientRegion:r,outpostId:V,accesspointName:L,hostnameSuffix:o}):gne({...e,clientRegion:r,accesspointName:L,hostnameSuffix:o})},fne=({dualstackEndpoint:e=!1,fipsEndpoint:n=!1,tlsCompatible:t=!0,useArnRegion:r,clientRegion:o,clientSigningRegion:s=o,accesspointName:a,bucketName:i,hostnameSuffix:u})=>{let{accountId:l,region:c,service:y}=i;(0,Ce.validateRegionalClient)(o),(0,Ce.validateRegion)(c,{useArnRegion:r,clientRegion:o,clientSigningRegion:s,allowFipsRegion:!0,useFipsEndpoint:n}),(0,Ce.validateNoDualstack)(e);let _=`${a}-${l}`;(0,Ce.validateDNSHostLabel)(_,{tlsCompatible:t});let C=r?c:o,b=r?c:s;return{bucketEndpoint:!0,hostname:`${_}.${y}${n?"-fips":""}.${C}.${u}`,signingRegion:b,signingService:y}},yne=({disableMultiregionAccessPoints:e,dualstackEndpoint:n=!1,isCustomEndpoint:t,mrapAlias:r,hostnameSuffix:o})=>{if(e===!0)throw new Error("SDK is attempting to use a MRAP ARN. Please enable to feature.");return(0,Ce.validateMrapAlias)(r),(0,Ce.validateNoDualstack)(n),{bucketEndpoint:!0,hostname:`${r}${t?"":".accesspoint.s3-global"}.${o}`,signingRegion:"*"}},_ne=({useArnRegion:e,clientRegion:n,clientSigningRegion:t=n,bucketName:r,outpostId:o,dualstackEndpoint:s=!1,fipsEndpoint:a=!1,tlsCompatible:i=!0,accesspointName:u,isCustomEndpoint:l,hostnameSuffix:c})=>{(0,Ce.validateRegionalClient)(n),(0,Ce.validateRegion)(r.region,{useArnRegion:e,clientRegion:n,clientSigningRegion:t,useFipsEndpoint:a});let y=`${u}-${r.accountId}`;(0,Ce.validateDNSHostLabel)(y,{tlsCompatible:i});let _=e?r.region:n,C=e?r.region:t;return(0,Ce.validateOutpostService)(r.service),(0,Ce.validateDNSHostLabel)(o,{tlsCompatible:i}),(0,Ce.validateNoDualstack)(s),(0,Ce.validateNoFIPS)(a),{bucketEndpoint:!0,hostname:`${`${y}.${o}`}${l?"":`.s3-outposts.${_}`}.${c}`,signingRegion:C,signingService:"s3-outposts"}},gne=({useArnRegion:e,clientRegion:n,clientSigningRegion:t=n,bucketName:r,dualstackEndpoint:o=!1,fipsEndpoint:s=!1,tlsCompatible:a=!0,accesspointName:i,isCustomEndpoint:u,hostnameSuffix:l})=>{(0,Ce.validateRegionalClient)(n),(0,Ce.validateRegion)(r.region,{useArnRegion:e,clientRegion:n,clientSigningRegion:t,allowFipsRegion:!0,useFipsEndpoint:s});let c=`${i}-${r.accountId}`;(0,Ce.validateDNSHostLabel)(c,{tlsCompatible:a});let y=e?r.region:n,_=e?r.region:t;return(0,Ce.validateS3Service)(r.service),{bucketEndpoint:!0,hostname:`${c}${u?"":`.s3-accesspoint${s?"-fips":""}${o?".dualstack":""}.${y}`}.${l}`,signingRegion:_}}});var JM=m(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.getBucketEndpointPlugin=fn.bucketEndpointMiddlewareOptions=fn.bucketEndpointMiddleware=void 0;var YM=R_(),hne=we(),QM=uS(),Cne=e=>(n,t)=>async r=>{let{Bucket:o}=r.input,s=e.bucketEndpoint,a=r.request;if(hne.HttpRequest.isInstance(a)){if(e.bucketEndpoint)a.hostname=o;else if((0,YM.validate)(o)){let i=(0,YM.parse)(o),u=await e.region(),l=await e.useDualstackEndpoint(),c=await e.useFipsEndpoint(),{partition:y,signingRegion:_=u}=await e.regionInfoProvider(u,{useDualstackEndpoint:l,useFipsEndpoint:c})||{},C=await e.useArnRegion(),{hostname:b,bucketEndpoint:F,signingRegion:L,signingService:V}=(0,QM.bucketHostname)({bucketName:i,baseHostname:a.hostname,accelerateEndpoint:e.useAccelerateEndpoint,dualstackEndpoint:l,fipsEndpoint:c,pathStyleEndpoint:e.forcePathStyle,tlsCompatible:a.protocol==="https:",useArnRegion:C,clientPartition:y,clientSigningRegion:_,clientRegion:u,isCustomEndpoint:e.isCustomEndpoint,disableMultiregionAccessPoints:await e.disableMultiregionAccessPoints()});L&&L!==_&&(t.signing_region=L),V&&V!=="s3"&&(t.signing_service=V),a.hostname=b,s=F}else{let i=await e.region(),u=await e.useDualstackEndpoint(),l=await e.useFipsEndpoint(),{hostname:c,bucketEndpoint:y}=(0,QM.bucketHostname)({bucketName:o,clientRegion:i,baseHostname:a.hostname,accelerateEndpoint:e.useAccelerateEndpoint,dualstackEndpoint:u,fipsEndpoint:l,pathStyleEndpoint:e.forcePathStyle,tlsCompatible:a.protocol==="https:",isCustomEndpoint:e.isCustomEndpoint});a.hostname=c,s=y}s&&(a.path=a.path.replace(/^(\/)?[^\/]+/,""),a.path===""&&(a.path="/"))}return n({...r,request:a})};fn.bucketEndpointMiddleware=Cne;fn.bucketEndpointMiddlewareOptions={tags:["BUCKET_ENDPOINT"],name:"bucketEndpointMiddleware",relation:"before",toMiddleware:"hostHeaderMiddleware",override:!0};var Sne=e=>({applyToStack:n=>{n.addRelativeTo((0,fn.bucketEndpointMiddleware)(e),fn.bucketEndpointMiddlewareOptions)}});fn.getBucketEndpointPlugin=Sne});var ZM=m(Pf=>{"use strict";Object.defineProperty(Pf,"__esModule",{value:!0});Pf.resolveBucketEndpointConfig=void 0;function Ene(e){let{bucketEndpoint:n=!1,forcePathStyle:t=!1,useAccelerateEndpoint:r=!1,useArnRegion:o=!1,disableMultiregionAccessPoints:s=!1}=e;return{...e,bucketEndpoint:n,forcePathStyle:t,useAccelerateEndpoint:r,useArnRegion:typeof o=="function"?o:()=>Promise.resolve(o),disableMultiregionAccessPoints:typeof s=="function"?s:()=>Promise.resolve(s)}}Pf.resolveBucketEndpointConfig=Ene});var eD=m(ve=>{"use strict";Object.defineProperty(ve,"__esModule",{value:!0});ve.validateNoFIPS=ve.validateNoDualstack=ve.validateDNSHostLabel=ve.validateRegion=ve.validateAccountId=ve.validatePartition=ve.validateOutpostService=ve.getSuffixForArnEndpoint=ve.getArnResources=void 0;var Uc=(z(),j(U));Uc.__exportStar(KM(),ve);Uc.__exportStar(VM(),ve);Uc.__exportStar(JM(),ve);Uc.__exportStar(uS(),ve);Uc.__exportStar(ZM(),ve);var Ln=lS();Object.defineProperty(ve,"getArnResources",{enumerable:!0,get:function(){return Ln.getArnResources}});Object.defineProperty(ve,"getSuffixForArnEndpoint",{enumerable:!0,get:function(){return Ln.getSuffixForArnEndpoint}});Object.defineProperty(ve,"validateOutpostService",{enumerable:!0,get:function(){return Ln.validateOutpostService}});Object.defineProperty(ve,"validatePartition",{enumerable:!0,get:function(){return Ln.validatePartition}});Object.defineProperty(ve,"validateAccountId",{enumerable:!0,get:function(){return Ln.validateAccountId}});Object.defineProperty(ve,"validateRegion",{enumerable:!0,get:function(){return Ln.validateRegion}});Object.defineProperty(ve,"validateDNSHostLabel",{enumerable:!0,get:function(){return Ln.validateDNSHostLabel}});Object.defineProperty(ve,"validateNoDualstack",{enumerable:!0,get:function(){return Ln.validateNoDualstack}});Object.defineProperty(ve,"validateNoFIPS",{enumerable:!0,get:function(){return Ln.validateNoFIPS}})});var tD=m(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});vf.getChunkedStream=void 0;function bne(e){let n=0,t=0,r=null,o=null,s=i=>{if(typeof i!="number")throw new Error("Attempted to allocate an event message where size was not a number: "+i);n=i,t=4,r=new Uint8Array(i),new DataView(r.buffer).setUint32(0,i,!1)},a=async function*(){let i=e[Symbol.asyncIterator]();for(;;){let{value:u,done:l}=await i.next();if(l){if(n)if(n===t)yield r;else throw new Error("Truncated event message received.");else return;return}let c=u.length,y=0;for(;y{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});Ss.getMessageUnmarshaller=Ss.getUnmarshalledStream=void 0;function Pne(e,n){let t=nD(n.deserializer,n.toUtf8);return{[Symbol.asyncIterator]:async function*(){for await(let r of e){let o=n.eventStreamCodec.decode(r),s=await t(o);s!==void 0&&(yield s)}}}}Ss.getUnmarshalledStream=Pne;function nD(e,n){return async function(t){let{value:r}=t.headers[":message-type"];if(r==="error"){let o=new Error(t.headers[":error-message"].value||"UnknownError");throw o.name=t.headers[":error-code"].value,o}else if(r==="exception"){let o=t.headers[":exception-type"].value,s={[o]:t},a=await e(s);if(a.$unknown){let i=new Error(n(t.body));throw i.name=o,i}throw a[o]}else if(r==="event"){let o={[t.headers[":event-type"].value]:t},s=await e(o);return s.$unknown?void 0:s}else throw Error(`Unrecognizable event type: ${t.headers[":event-type"].value}`)}}Ss.getMessageUnmarshaller=nD});var pS=m(xf=>{"use strict";Object.defineProperty(xf,"__esModule",{value:!0});xf.EventStreamMarshaller=void 0;var zc=Q_(),vne=tD(),xne=rD(),mS=class{constructor({utf8Encoder:n,utf8Decoder:t}){this.eventStreamCodec=new zc.EventStreamCodec(n,t),this.utfEncoder=n}deserialize(n,t){let r=(0,vne.getChunkedStream)(n);return new zc.SmithyMessageDecoderStream({messageStream:new zc.MessageDecoderStream({inputStream:r,decoder:this.eventStreamCodec}),deserializer:(0,xne.getMessageUnmarshaller)(t,this.utfEncoder)})}serialize(n,t){return new zc.MessageEncoderStream({messageStream:new zc.SmithyMessageEncoderStream({inputStream:n,serializer:t}),encoder:this.eventStreamCodec,includeEndFrame:!0})}};xf.EventStreamMarshaller=mS});var oD=m(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.eventStreamSerdeProvider=void 0;var wne=pS(),kne=e=>new wne.EventStreamMarshaller(e);wf.eventStreamSerdeProvider=kne});var iD=m(kf=>{"use strict";Object.defineProperty(kf,"__esModule",{value:!0});var sD=(z(),j(U));sD.__exportStar(pS(),kf);sD.__exportStar(oD(),kf)});var aD=m(Af=>{"use strict";Object.defineProperty(Af,"__esModule",{value:!0});Af.readabletoIterable=void 0;async function*Ane(e){let n=!1,t=!1,r=new Array;for(e.on("error",o=>{if(n||(n=!0),o)throw o}),e.on("data",o=>{r.push(o)}),e.on("end",()=>{n=!0});!t;){let o=await new Promise(s=>setTimeout(()=>s(r.shift()),0));o&&(yield o),t=n&&r.length===0}}Af.readabletoIterable=Ane});var yS=m(If=>{"use strict";Object.defineProperty(If,"__esModule",{value:!0});If.EventStreamMarshaller=void 0;var Ine=iD(),Rne=require("stream"),Nne=aD(),fS=class{constructor({utf8Encoder:n,utf8Decoder:t}){this.universalMarshaller=new Ine.EventStreamMarshaller({utf8Decoder:t,utf8Encoder:n})}deserialize(n,t){let r=typeof n[Symbol.asyncIterator]=="function"?n:(0,Nne.readabletoIterable)(n);return this.universalMarshaller.deserialize(r,t)}serialize(n,t){return Rne.Readable.from(this.universalMarshaller.serialize(n,t))}};If.EventStreamMarshaller=fS});var cD=m(Rf=>{"use strict";Object.defineProperty(Rf,"__esModule",{value:!0});Rf.eventStreamSerdeProvider=void 0;var One=yS(),Tne=e=>new One.EventStreamMarshaller(e);Rf.eventStreamSerdeProvider=Tne});var lD=m(Nf=>{"use strict";Object.defineProperty(Nf,"__esModule",{value:!0});var dD=(z(),j(U));dD.__exportStar(yS(),Nf);dD.__exportStar(cD(),Nf)});var gS=m(Of=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});Of.HashCalculator=void 0;var qne=St(),Bne=require("stream"),_S=class extends Bne.Writable{constructor(n,t){super(t),this.hash=n}_write(n,t,r){try{this.hash.update((0,qne.toUint8Array)(n))}catch(o){return r(o)}r()}};Of.HashCalculator=_S});var uD=m(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.fileStreamHasher=void 0;var Mne=require("fs"),Dne=gS(),Fne=(e,n)=>new Promise((t,r)=>{if(!Lne(n)){r(new Error("Unable to calculate hash for non-file streams."));return}let o=(0,Mne.createReadStream)(n.path,{start:n.start,end:n.end}),s=new e,a=new Dne.HashCalculator(s);o.pipe(a),o.on("error",i=>{a.end(),r(i)}),a.on("error",r),a.on("finish",function(){s.digest().then(t).catch(r)})});Tf.fileStreamHasher=Fne;var Lne=e=>typeof e.path=="string"});var mD=m(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});qf.readableStreamHasher=void 0;var jne=gS(),Une=(e,n)=>{if(n.readableFlowing!==null)throw new Error("Unable to calculate hash for flowing readable stream");let t=new e,r=new jne.HashCalculator(t);return n.pipe(r),new Promise((o,s)=>{n.on("error",a=>{r.end(),s(a)}),r.on("error",s),r.on("finish",()=>{t.digest().then(o).catch(s)})})};qf.readableStreamHasher=Une});var fD=m(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});var pD=(z(),j(U));pD.__exportStar(uD(),Bf);pD.__exportStar(mD(),Bf)});var Df=m(Mf=>{"use strict";Object.defineProperty(Mf,"__esModule",{value:!0});Mf.signatureV4CrtContainer=void 0;Mf.signatureV4CrtContainer={CrtSignerV4:null}});var yD=m(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});Ff.loadCrt=void 0;var zne=Df();function Gne(){if(!zne.signatureV4CrtContainer.CrtSignerV4)try{if(typeof require=="function"){let e=require,n="@aws-sdk/signature-v4-crt";e.call(null,n),process.emitWarning(`The package @aws-sdk/signature-v4-crt has been loaded dynamically. -To avoid this warning, please explicitly import the package in your application with: - -import "@aws-sdk/signature-v4-crt"; // ESM -require("@aws-sdk/signature-v4-crt"); // CJS - -In a future version of the AWS SDK for JavaScript (v3), this warning -will become an error and dynamic loading will not be available. - -See https://github.com/aws/aws-sdk-js-v3/issues/5229. -`)}}catch{}}Ff.loadCrt=Gne});var _D=m(Lf=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});Lf.SignatureV4MultiRegion=void 0;var Hne=dg(),$ne=yD(),Kne=Df(),hS=class{constructor(n){this.sigv4Signer=new Hne.SignatureV4(n),this.signerOptions=n}async sign(n,t={}){if(t.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().sign(n,t)}return this.sigv4Signer.sign(n,t)}async presign(n,t={}){if(t.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().presign(n,t)}return this.sigv4Signer.presign(n,t)}getSigv4aSigner(){if(!this.sigv4aSigner){let n=null;try{if((0,$ne.loadCrt)(),n=Kne.signatureV4CrtContainer.CrtSignerV4,typeof n!="function")throw new Error}catch(t){throw t.message=`${t.message} -Please check if you have installed "@aws-sdk/signature-v4-crt" package explicitly. -For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`,t}this.sigv4aSigner=new n({...this.signerOptions,signingAlgorithm:1})}return this.sigv4aSigner}};Lf.SignatureV4MultiRegion=hS});var hD=m(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});var gD=(z(),j(U));gD.__exportStar(_D(),jf);gD.__exportStar(Df(),jf)});var IF=m(Kf=>{"use strict";Object.defineProperty(Kf,"__esModule",{value:!0});Kf.ruleSet=void 0;var $S="required",g="type",S="conditions",k="fn",A="argv",oe="ref",Je="assign",W="url",Y="properties",Un="authSchemes",zn="disableDoubleEncoding",Gn="signingName",wr="signingRegion",Q="headers",CD=!1,yn=!0,_n="isSet",G="tree",ot="booleanEquals",X="error",Hf="aws.partition",Te="stringEquals",Me="getAttr",It="name",Gc="substring",mF="hardwareType",pF="regionPrefix",SD="bucketAliasSuffix",zS="outpostId",so="isValidHostLabel",Bt="not",fF="parseURL",KS="s3-outposts",H="endpoint",ED="aws.isVirtualHostableS3Bucket",bs="s3",yF="{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",_F="{url#scheme}://{Bucket}.{url#authority}{url#path}",gF="https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",bD="https://{Bucket}.s3.{partitionResult#dnsSuffix}",hF="aws.parseArn",CF="bucketArn",SF="arnType",$f="",VS="s3-object-lambda",EF="accesspoint",XS="accessPointName",PD="{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",vD="mrapPartition",xD="outpostType",wD="arnPrefix",bF="{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",kD="https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",GS="{url#scheme}://{url#authority}{url#path}",AD="https://s3.{partitionResult#dnsSuffix}",CS={[$S]:!1,[g]:"String"},Es={[$S]:!0,default:!1,[g]:"Boolean"},SS={[$S]:!1,[g]:"Boolean"},qt={[k]:ot,[A]:[{[oe]:"Accelerate"},!0]},Ie={[k]:ot,[A]:[{[oe]:"UseFIPS"},!0]},be={[k]:ot,[A]:[{[oe]:"UseDualStack"},!0]},Be={[k]:_n,[A]:[{[oe]:"Endpoint"}]},PF={[k]:Hf,[A]:[{[oe]:"Region"}],[Je]:"partitionResult"},ID={[k]:Te,[A]:[{[k]:Me,[A]:[{[oe]:"partitionResult"},It]},"aws-cn"]},vF={[k]:_n,[A]:[{[oe]:"Bucket"}]},jn={[oe]:"Bucket"},RD={[oe]:mF},ND={[S]:[{[k]:Bt,[A]:[Be]}],[X]:"Expected a endpoint to be specified but no endpoint was found",[g]:X},re={[k]:Bt,[A]:[Be]},it={[k]:fF,[A]:[{[oe]:"Endpoint"}],[Je]:"url"},Uf={[Un]:[{[zn]:!0,[It]:"sigv4",[Gn]:KS,[wr]:"{Region}"}]},ce={},ES={[k]:ot,[A]:[{[oe]:"ForcePathStyle"},!1]},Vne={[oe]:"ForcePathStyle"},Le={[k]:ot,[A]:[{[oe]:"Accelerate"},!1]},Ue={[k]:Te,[A]:[{[oe]:"Region"},"aws-global"]},$e={[Un]:[{[zn]:!0,[It]:"sigv4",[Gn]:bs,[wr]:"us-east-1"}]},ue={[k]:Bt,[A]:[Ue]},Ke={[k]:ot,[A]:[{[oe]:"UseGlobalEndpoint"},!0]},OD={[W]:"https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[Y]:{[Un]:[{[zn]:!0,[It]:"sigv4",[Gn]:bs,[wr]:"{Region}"}]},[Q]:{}},je={[Un]:[{[zn]:!0,[It]:"sigv4",[Gn]:bs,[wr]:"{Region}"}]},Ve={[k]:ot,[A]:[{[oe]:"UseGlobalEndpoint"},!1]},de={[k]:ot,[A]:[{[oe]:"UseDualStack"},!1]},TD={[W]:"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},ie={[k]:ot,[A]:[{[oe]:"UseFIPS"},!1]},qD={[W]:"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},BD={[W]:"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},bS={[k]:ot,[A]:[{[k]:Me,[A]:[{[oe]:"url"},"isIp"]},!0]},xF={[oe]:"url"},PS={[k]:ot,[A]:[{[k]:Me,[A]:[xF,"isIp"]},!1]},vS={[W]:yF,[Y]:je,[Q]:{}},HS={[W]:_F,[Y]:je,[Q]:{}},MD={[H]:HS,[g]:H},xS={[W]:gF,[Y]:je,[Q]:{}},DD={[W]:"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},zf={[X]:"Invalid region: region was not a valid DNS name.",[g]:X},mt={[oe]:CF},wF={[oe]:SF},wS={[k]:Me,[A]:[mt,"service"]},WS={[oe]:XS},FD={[S]:[be],[X]:"S3 Object Lambda does not support Dual-stack",[g]:X},LD={[S]:[qt],[X]:"S3 Object Lambda does not support S3 Accelerate",[g]:X},jD={[S]:[{[k]:_n,[A]:[{[oe]:"DisableAccessPoints"}]},{[k]:ot,[A]:[{[oe]:"DisableAccessPoints"},!0]}],[X]:"Access points are not supported for this operation",[g]:X},kS={[S]:[{[k]:_n,[A]:[{[oe]:"UseArnRegion"}]},{[k]:ot,[A]:[{[oe]:"UseArnRegion"},!1]},{[k]:Bt,[A]:[{[k]:Te,[A]:[{[k]:Me,[A]:[mt,"region"]},"{Region}"]}]}],[X]:"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`",[g]:X},kF={[k]:Me,[A]:[{[oe]:"bucketPartition"},It]},AF={[k]:Me,[A]:[mt,"accountId"]},AS={[Un]:[{[zn]:!0,[It]:"sigv4",[Gn]:VS,[wr]:"{bucketArn#region}"}]},UD={[X]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",[g]:X},IS={[X]:"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`",[g]:X},RS={[X]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",[g]:X},NS={[X]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",[g]:X},zD={[X]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",[g]:X},GD={[X]:"Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided",[g]:X},Hc={[Un]:[{[zn]:!0,[It]:"sigv4",[Gn]:bs,[wr]:"{bucketArn#region}"}]},HD={[Un]:[{[zn]:!0,[It]:"sigv4",[Gn]:KS,[wr]:"{bucketArn#region}"}]},$D={[k]:hF,[A]:[jn]},KD={[W]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:je,[Q]:{}},VD={[W]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:je,[Q]:{}},XD={[W]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:je,[Q]:{}},OS={[W]:bF,[Y]:je,[Q]:{}},WD={[W]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:je,[Q]:{}},YD={[oe]:"UseObjectLambdaEndpoint"},TS={[Un]:[{[zn]:!0,[It]:"sigv4",[Gn]:VS,[wr]:"{Region}"}]},QD={[W]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},JD={[W]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},ZD={[W]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},qS={[W]:GS,[Y]:je,[Q]:{}},eF={[W]:"https://s3.{Region}.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},BS=[{[oe]:"Region"}],Xne=[{[oe]:"Endpoint"}],tF=[jn],nF=[{[k]:so,[A]:[{[oe]:zS},!1]}],rF=[{[k]:Te,[A]:[{[oe]:pF},"beta"]}],$c=[Be,it],oF=[vF],vr=[PF],sF=[{[k]:so,[A]:[{[oe]:"Region"},!1]}],xr=[{[k]:Te,[A]:[{[oe]:"Region"},"us-east-1"]}],MS=[{[k]:Te,[A]:[wF,EF]}],iF=[{[k]:Me,[A]:[mt,"resourceId[1]"],[Je]:XS},{[k]:Bt,[A]:[{[k]:Te,[A]:[WS,$f]}]}],Wne=[mt,"resourceId[1]"],aF=[be],DS=[qt],FS=[{[k]:Bt,[A]:[{[k]:Te,[A]:[{[k]:Me,[A]:[mt,"region"]},$f]}]}],cF=[{[k]:Bt,[A]:[{[k]:_n,[A]:[{[k]:Me,[A]:[mt,"resourceId[2]"]}]}]}],Yne=[mt,"resourceId[2]"],LS=[{[k]:Hf,[A]:[{[k]:Me,[A]:[mt,"region"]}],[Je]:"bucketPartition"}],dF=[{[k]:Te,[A]:[kF,{[k]:Me,[A]:[{[oe]:"partitionResult"},It]}]}],jS=[{[k]:so,[A]:[{[k]:Me,[A]:[mt,"region"]},!0]}],US=[{[k]:so,[A]:[AF,!1]}],lF=[{[k]:so,[A]:[WS,!1]}],Gf=[Ie],uF=[{[k]:so,[A]:[{[oe]:"Region"},!0]}],Qne={version:"1.0",parameters:{Bucket:CS,Region:CS,UseFIPS:Es,UseDualStack:Es,Endpoint:CS,ForcePathStyle:Es,Accelerate:Es,UseGlobalEndpoint:Es,UseObjectLambdaEndpoint:SS,DisableAccessPoints:SS,DisableMultiRegionAccessPoints:Es,UseArnRegion:SS},rules:[{[S]:[{[k]:_n,[A]:BS}],[g]:G,rules:[{[S]:[qt,Ie],error:"Accelerate cannot be used with FIPS",[g]:X},{[S]:[be,Be],error:"Cannot set dual-stack in combination with a custom endpoint.",[g]:X},{[S]:[Be,Ie],error:"A custom endpoint cannot be combined with FIPS",[g]:X},{[S]:[Be,qt],error:"A custom endpoint cannot be combined with S3 Accelerate",[g]:X},{[S]:[Ie,PF,ID],error:"Partition does not support FIPS",[g]:X},{[S]:[vF,{[k]:Gc,[A]:[jn,49,50,yn],[Je]:mF},{[k]:Gc,[A]:[jn,8,12,yn],[Je]:pF},{[k]:Gc,[A]:[jn,0,7,yn],[Je]:SD},{[k]:Gc,[A]:[jn,32,49,yn],[Je]:zS},{[k]:Hf,[A]:BS,[Je]:"regionPartition"},{[k]:Te,[A]:[{[oe]:SD},"--op-s3"]}],[g]:G,rules:[{[S]:nF,[g]:G,rules:[{[S]:[{[k]:Te,[A]:[RD,"e"]}],[g]:G,rules:[{[S]:rF,[g]:G,rules:[ND,{[S]:$c,endpoint:{[W]:"https://{Bucket}.ec2.{url#authority}",[Y]:Uf,[Q]:ce},[g]:H}]},{endpoint:{[W]:"https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}",[Y]:Uf,[Q]:ce},[g]:H}]},{[S]:[{[k]:Te,[A]:[RD,"o"]}],[g]:G,rules:[{[S]:rF,[g]:G,rules:[ND,{[S]:$c,endpoint:{[W]:"https://{Bucket}.op-{outpostId}.{url#authority}",[Y]:Uf,[Q]:ce},[g]:H}]},{endpoint:{[W]:"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}",[Y]:Uf,[Q]:ce},[g]:H}]},{error:'Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"',[g]:X}]},{error:"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.",[g]:X}]},{[S]:oF,[g]:G,rules:[{[S]:[Be,{[k]:Bt,[A]:[{[k]:_n,[A]:[{[k]:fF,[A]:Xne}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",[g]:X},{[S]:[ES,{[k]:ED,[A]:[jn,CD]}],[g]:G,rules:[{[S]:vr,[g]:G,rules:[{[S]:sF,[g]:G,rules:[{[S]:[qt,ID],error:"S3 Accelerate cannot be used in this region",[g]:X},{[S]:[be,Ie,Le,re,Ue],endpoint:{[W]:"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",[Y]:$e,[Q]:ce},[g]:H},{[S]:[be,Ie,Le,re,ue,Ke],[g]:G,rules:[{endpoint:OD,[g]:H}]},{[S]:[be,Ie,Le,re,ue,Ve],endpoint:OD,[g]:H},{[S]:[de,Ie,Le,re,Ue],endpoint:{[W]:"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",[Y]:$e,[Q]:ce},[g]:H},{[S]:[de,Ie,Le,re,ue,Ke],[g]:G,rules:[{endpoint:TD,[g]:H}]},{[S]:[de,Ie,Le,re,ue,Ve],endpoint:TD,[g]:H},{[S]:[be,ie,qt,re,Ue],endpoint:{[W]:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",[Y]:$e,[Q]:ce},[g]:H},{[S]:[be,ie,qt,re,ue,Ke],[g]:G,rules:[{endpoint:qD,[g]:H}]},{[S]:[be,ie,qt,re,ue,Ve],endpoint:qD,[g]:H},{[S]:[be,ie,Le,re,Ue],endpoint:{[W]:"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",[Y]:$e,[Q]:ce},[g]:H},{[S]:[be,ie,Le,re,ue,Ke],[g]:G,rules:[{endpoint:BD,[g]:H}]},{[S]:[be,ie,Le,re,ue,Ve],endpoint:BD,[g]:H},{[S]:[de,ie,Le,Be,it,bS,Ue],endpoint:{[W]:yF,[Y]:$e,[Q]:ce},[g]:H},{[S]:[de,ie,Le,Be,it,PS,Ue],endpoint:{[W]:_F,[Y]:$e,[Q]:ce},[g]:H},{[S]:[de,ie,Le,Be,it,bS,ue,Ke],[g]:G,rules:[{[S]:xr,endpoint:vS,[g]:H},{endpoint:vS,[g]:H}]},{[S]:[de,ie,Le,Be,it,PS,ue,Ke],[g]:G,rules:[{[S]:xr,endpoint:HS,[g]:H},MD]},{[S]:[de,ie,Le,Be,it,bS,ue,Ve],endpoint:vS,[g]:H},{[S]:[de,ie,Le,Be,it,PS,ue,Ve],endpoint:HS,[g]:H},{[S]:[de,ie,qt,re,Ue],endpoint:{[W]:gF,[Y]:$e,[Q]:ce},[g]:H},{[S]:[de,ie,qt,re,ue,Ke],[g]:G,rules:[{[S]:xr,endpoint:xS,[g]:H},{endpoint:xS,[g]:H}]},{[S]:[de,ie,qt,re,ue,Ve],endpoint:xS,[g]:H},{[S]:[de,ie,Le,re,Ue],endpoint:{[W]:bD,[Y]:$e,[Q]:ce},[g]:H},{[S]:[de,ie,Le,re,ue,Ke],[g]:G,rules:[{[S]:xr,endpoint:{[W]:bD,[Y]:je,[Q]:ce},[g]:H},{endpoint:DD,[g]:H}]},{[S]:[de,ie,Le,re,ue,Ve],endpoint:DD,[g]:H}]},zf]}]},{[S]:[Be,it,{[k]:Te,[A]:[{[k]:Me,[A]:[xF,"scheme"]},"http"]},{[k]:ED,[A]:[jn,yn]},ES,ie,de,Le],[g]:G,rules:[{[S]:vr,[g]:G,rules:[{[S]:sF,[g]:G,rules:[MD]},zf]}]},{[S]:[ES,{[k]:hF,[A]:tF,[Je]:CF}],[g]:G,rules:[{[S]:[{[k]:Me,[A]:[mt,"resourceId[0]"],[Je]:SF},{[k]:Bt,[A]:[{[k]:Te,[A]:[wF,$f]}]}],[g]:G,rules:[{[S]:[{[k]:Te,[A]:[wS,VS]}],[g]:G,rules:[{[S]:MS,[g]:G,rules:[{[S]:iF,[g]:G,rules:[FD,LD,{[S]:FS,[g]:G,rules:[jD,{[S]:cF,[g]:G,rules:[kS,{[S]:LS,[g]:G,rules:[{[S]:vr,[g]:G,rules:[{[S]:dF,[g]:G,rules:[{[S]:jS,[g]:G,rules:[{[S]:[{[k]:Te,[A]:[AF,$f]}],error:"Invalid ARN: Missing account id",[g]:X},{[S]:US,[g]:G,rules:[{[S]:lF,[g]:G,rules:[{[S]:$c,endpoint:{[W]:PD,[Y]:AS,[Q]:ce},[g]:H},{[S]:Gf,endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:AS,[Q]:ce},[g]:H},{endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:AS,[Q]:ce},[g]:H}]},UD]},IS]},RS]},NS]}]}]},zD]},{error:"Invalid ARN: bucket ARN is missing a region",[g]:X}]},GD]},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",[g]:X}]},{[S]:MS,[g]:G,rules:[{[S]:iF,[g]:G,rules:[{[S]:FS,[g]:G,rules:[{[S]:MS,[g]:G,rules:[{[S]:FS,[g]:G,rules:[jD,{[S]:cF,[g]:G,rules:[kS,{[S]:LS,[g]:G,rules:[{[S]:vr,[g]:G,rules:[{[S]:[{[k]:Te,[A]:[kF,"{partitionResult#name}"]}],[g]:G,rules:[{[S]:jS,[g]:G,rules:[{[S]:[{[k]:Te,[A]:[wS,bs]}],[g]:G,rules:[{[S]:US,[g]:G,rules:[{[S]:lF,[g]:G,rules:[{[S]:DS,error:"Access Points do not support S3 Accelerate",[g]:X},{[S]:[Ie,be],endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:Hc,[Q]:ce},[g]:H},{[S]:[Ie,de],endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:Hc,[Q]:ce},[g]:H},{[S]:[ie,be],endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:Hc,[Q]:ce},[g]:H},{[S]:[ie,de,Be,it],endpoint:{[W]:PD,[Y]:Hc,[Q]:ce},[g]:H},{[S]:[ie,de],endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:Hc,[Q]:ce},[g]:H}]},UD]},IS]},{error:"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}",[g]:X}]},RS]},NS]}]}]},zD]}]}]},{[S]:[{[k]:so,[A]:[WS,yn]}],[g]:G,rules:[{[S]:aF,error:"S3 MRAP does not support dual-stack",[g]:X},{[S]:Gf,error:"S3 MRAP does not support FIPS",[g]:X},{[S]:DS,error:"S3 MRAP does not support S3 Accelerate",[g]:X},{[S]:[{[k]:ot,[A]:[{[oe]:"DisableMultiRegionAccessPoints"},yn]}],error:"Invalid configuration: Multi-Region Access Point ARNs are disabled.",[g]:X},{[S]:[{[k]:Hf,[A]:BS,[Je]:vD}],[g]:G,rules:[{[S]:[{[k]:Te,[A]:[{[k]:Me,[A]:[{[oe]:vD},It]},{[k]:Me,[A]:[mt,"partition"]}]}],[g]:G,rules:[{endpoint:{[W]:"https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}",[Y]:{[Un]:[{[zn]:yn,name:"sigv4a",[Gn]:bs,signingRegionSet:["*"]}]},[Q]:ce},[g]:H}]},{error:"Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`",[g]:X}]}]},{error:"Invalid Access Point Name",[g]:X}]},GD]},{[S]:[{[k]:Te,[A]:[wS,KS]}],[g]:G,rules:[{[S]:aF,error:"S3 Outposts does not support Dual-stack",[g]:X},{[S]:Gf,error:"S3 Outposts does not support FIPS",[g]:X},{[S]:DS,error:"S3 Outposts does not support S3 Accelerate",[g]:X},{[S]:[{[k]:_n,[A]:[{[k]:Me,[A]:[mt,"resourceId[4]"]}]}],error:"Invalid Arn: Outpost Access Point ARN contains sub resources",[g]:X},{[S]:[{[k]:Me,[A]:Wne,[Je]:zS}],[g]:G,rules:[{[S]:nF,[g]:G,rules:[kS,{[S]:LS,[g]:G,rules:[{[S]:vr,[g]:G,rules:[{[S]:dF,[g]:G,rules:[{[S]:jS,[g]:G,rules:[{[S]:US,[g]:G,rules:[{[S]:[{[k]:Me,[A]:Yne,[Je]:xD}],[g]:G,rules:[{[S]:[{[k]:Me,[A]:[mt,"resourceId[3]"],[Je]:XS}],[g]:G,rules:[{[S]:[{[k]:Te,[A]:[{[oe]:xD},EF]}],[g]:G,rules:[{[S]:$c,endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}",[Y]:HD,[Q]:ce},[g]:H},{endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:HD,[Q]:ce},[g]:H}]},{error:"Expected an outpost type `accesspoint`, found {outpostType}",[g]:X}]},{error:"Invalid ARN: expected an access point name",[g]:X}]},{error:"Invalid ARN: Expected a 4-component resource",[g]:X}]},IS]},RS]},NS]}]}]},{error:"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`",[g]:X}]},{error:"Invalid ARN: The Outpost Id was not set",[g]:X}]},{error:"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})",[g]:X}]},{error:"Invalid ARN: No ARN type specified",[g]:X}]},{[S]:[{[k]:Gc,[A]:[jn,0,4,CD],[Je]:wD},{[k]:Te,[A]:[{[oe]:wD},"arn:"]},{[k]:Bt,[A]:[{[k]:_n,[A]:[$D]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",[g]:X},{[S]:[{[k]:ot,[A]:[Vne,yn]},$D],error:"Path-style addressing cannot be used with ARN buckets",[g]:X},{[S]:[{[k]:"uriEncode",[A]:tF,[Je]:"uri_encoded_bucket"}],[g]:G,rules:[{[S]:vr,[g]:G,rules:[{[S]:[Le],[g]:G,rules:[{[S]:[be,re,Ie,Ue],endpoint:{[W]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:$e,[Q]:ce},[g]:H},{[S]:[be,re,Ie,ue,Ke],[g]:G,rules:[{endpoint:KD,[g]:H}]},{[S]:[be,re,Ie,ue,Ve],endpoint:KD,[g]:H},{[S]:[de,re,Ie,Ue],endpoint:{[W]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:$e,[Q]:ce},[g]:H},{[S]:[de,re,Ie,ue,Ke],[g]:G,rules:[{endpoint:VD,[g]:H}]},{[S]:[de,re,Ie,ue,Ve],endpoint:VD,[g]:H},{[S]:[be,re,ie,Ue],endpoint:{[W]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:$e,[Q]:ce},[g]:H},{[S]:[be,re,ie,ue,Ke],[g]:G,rules:[{endpoint:XD,[g]:H}]},{[S]:[be,re,ie,ue,Ve],endpoint:XD,[g]:H},{[S]:[de,Be,it,ie,Ue],endpoint:{[W]:bF,[Y]:$e,[Q]:ce},[g]:H},{[S]:[de,Be,it,ie,ue,Ke],[g]:G,rules:[{[S]:xr,endpoint:OS,[g]:H},{endpoint:OS,[g]:H}]},{[S]:[de,Be,it,ie,ue,Ve],endpoint:OS,[g]:H},{[S]:[de,re,ie,Ue],endpoint:{[W]:kD,[Y]:$e,[Q]:ce},[g]:H},{[S]:[de,re,ie,ue,Ke],[g]:G,rules:[{[S]:xr,endpoint:{[W]:kD,[Y]:je,[Q]:ce},[g]:H},{endpoint:WD,[g]:H}]},{[S]:[de,re,ie,ue,Ve],endpoint:WD,[g]:H}]},{error:"Path-style addressing cannot be used with S3 Accelerate",[g]:X}]}]}]},{[S]:[{[k]:_n,[A]:[YD]},{[k]:ot,[A]:[YD,yn]}],[g]:G,rules:[{[S]:vr,[g]:G,rules:[{[S]:uF,[g]:G,rules:[FD,LD,{[S]:$c,endpoint:{[W]:GS,[Y]:TS,[Q]:ce},[g]:H},{[S]:Gf,endpoint:{[W]:"https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",[Y]:TS,[Q]:ce},[g]:H},{endpoint:{[W]:"https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",[Y]:TS,[Q]:ce},[g]:H}]},zf]}]},{[S]:[{[k]:Bt,[A]:oF}],[g]:G,rules:[{[S]:vr,[g]:G,rules:[{[S]:uF,[g]:G,rules:[{[S]:[Ie,be,re,Ue],endpoint:{[W]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",[Y]:$e,[Q]:ce},[g]:H},{[S]:[Ie,be,re,ue,Ke],[g]:G,rules:[{endpoint:QD,[g]:H}]},{[S]:[Ie,be,re,ue,Ve],endpoint:QD,[g]:H},{[S]:[Ie,de,re,Ue],endpoint:{[W]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",[Y]:$e,[Q]:ce},[g]:H},{[S]:[Ie,de,re,ue,Ke],[g]:G,rules:[{endpoint:JD,[g]:H}]},{[S]:[Ie,de,re,ue,Ve],endpoint:JD,[g]:H},{[S]:[ie,be,re,Ue],endpoint:{[W]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",[Y]:$e,[Q]:ce},[g]:H},{[S]:[ie,be,re,ue,Ke],[g]:G,rules:[{endpoint:ZD,[g]:H}]},{[S]:[ie,be,re,ue,Ve],endpoint:ZD,[g]:H},{[S]:[ie,de,Be,it,Ue],endpoint:{[W]:GS,[Y]:$e,[Q]:ce},[g]:H},{[S]:[ie,de,Be,it,ue,Ke],[g]:G,rules:[{[S]:xr,endpoint:qS,[g]:H},{endpoint:qS,[g]:H}]},{[S]:[ie,de,Be,it,ue,Ve],endpoint:qS,[g]:H},{[S]:[ie,de,re,Ue],endpoint:{[W]:AD,[Y]:$e,[Q]:ce},[g]:H},{[S]:[ie,de,re,ue,Ke],[g]:G,rules:[{[S]:xr,endpoint:{[W]:AD,[Y]:je,[Q]:ce},[g]:H},{endpoint:eF,[g]:H}]},{[S]:[ie,de,re,ue,Ve],endpoint:eF,[g]:H}]},zf]}]}]},{error:"A region must be set when sending requests to S3.",[g]:X}]};Kf.ruleSet=Qne});var RF=m(Vf=>{"use strict";Object.defineProperty(Vf,"__esModule",{value:!0});Vf.defaultEndpointResolver=void 0;var Jne=Fo(),Zne=IF(),ere=(e,n={})=>(0,Jne.resolveEndpoint)(Zne.ruleSet,{endpointParams:e,logger:n.logger});Vf.defaultEndpointResolver=ere});var qF=m(Xf=>{"use strict";Object.defineProperty(Xf,"__esModule",{value:!0});Xf.getRuntimeConfig=void 0;var tre=hD(),nre=E(),rre=Kr(),NF=_o(),OF=g_(),TF=St(),ore=RF(),sre=e=>({apiVersion:"2006-03-01",base64Decoder:(e==null?void 0:e.base64Decoder)??NF.fromBase64,base64Encoder:(e==null?void 0:e.base64Encoder)??NF.toBase64,disableHostPrefix:(e==null?void 0:e.disableHostPrefix)??!1,endpointProvider:(e==null?void 0:e.endpointProvider)??ore.defaultEndpointResolver,extensions:(e==null?void 0:e.extensions)??[],getAwsChunkedEncodingStream:(e==null?void 0:e.getAwsChunkedEncodingStream)??OF.getAwsChunkedEncodingStream,logger:(e==null?void 0:e.logger)??new nre.NoOpLogger,sdkStreamMixin:(e==null?void 0:e.sdkStreamMixin)??OF.sdkStreamMixin,serviceId:(e==null?void 0:e.serviceId)??"S3",signerConstructor:(e==null?void 0:e.signerConstructor)??tre.SignatureV4MultiRegion,signingEscapePath:(e==null?void 0:e.signingEscapePath)??!1,urlParser:(e==null?void 0:e.urlParser)??rre.parseUrl,useArnRegion:(e==null?void 0:e.useArnRegion)??!1,utf8Decoder:(e==null?void 0:e.utf8Decoder)??TF.fromUtf8,utf8Encoder:(e==null?void 0:e.utf8Encoder)??TF.toUtf8});Xf.getRuntimeConfig=sre});var DF=m(Yf=>{"use strict";Object.defineProperty(Yf,"__esModule",{value:!0});Yf.getRuntimeConfig=void 0;var ire=(z(),j(U)),are=ire.__importDefault(_O()),cre=$M(),dre=HC(),lre=eD(),ure=bc(),Wf=Vt(),mre=lD(),YS=Pc(),pre=fD(),BF=An(),Ps=Cr(),MF=Co(),fre=vc(),yre=kt(),_re=qF(),gre=E(),hre=wc(),Cre=E(),Sre=e=>{(0,Cre.emitWarningIfUnsupportedVersion)(process.version);let n=(0,hre.resolveDefaultsModeConfig)(e),t=()=>n().then(gre.loadConfigsForDefaultMode),r=(0,_re.getRuntimeConfig)(e);return{...r,...e,runtime:"node",defaultsMode:n,bodyLengthChecker:(e==null?void 0:e.bodyLengthChecker)??fre.calculateBodyLength,credentialDefaultProvider:(e==null?void 0:e.credentialDefaultProvider)??(0,cre.decorateDefaultCredentialProvider)(dre.defaultProvider),defaultUserAgentProvider:(e==null?void 0:e.defaultUserAgentProvider)??(0,ure.defaultUserAgent)({serviceId:r.serviceId,clientVersion:are.default.version}),eventStreamSerdeProvider:(e==null?void 0:e.eventStreamSerdeProvider)??mre.eventStreamSerdeProvider,maxAttempts:(e==null?void 0:e.maxAttempts)??(0,Ps.loadConfig)(BF.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),md5:(e==null?void 0:e.md5)??YS.Hash.bind(null,"md5"),region:(e==null?void 0:e.region)??(0,Ps.loadConfig)(Wf.NODE_REGION_CONFIG_OPTIONS,Wf.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(e==null?void 0:e.requestHandler)??new MF.NodeHttpHandler(t),retryMode:(e==null?void 0:e.retryMode)??(0,Ps.loadConfig)({...BF.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await t()).retryMode||yre.DEFAULT_RETRY_MODE}),sha1:(e==null?void 0:e.sha1)??YS.Hash.bind(null,"sha1"),sha256:(e==null?void 0:e.sha256)??YS.Hash.bind(null,"sha256"),streamCollector:(e==null?void 0:e.streamCollector)??MF.streamCollector,streamHasher:(e==null?void 0:e.streamHasher)??pre.readableStreamHasher,useArnRegion:(e==null?void 0:e.useArnRegion)??(0,Ps.loadConfig)(lre.NODE_USE_ARN_REGION_CONFIG_OPTIONS),useDualstackEndpoint:(e==null?void 0:e.useDualstackEndpoint)??(0,Ps.loadConfig)(Wf.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(e==null?void 0:e.useFipsEndpoint)??(0,Ps.loadConfig)(Wf.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};Yf.getRuntimeConfig=Sre});var UF=m(Qf=>{"use strict";Object.defineProperty(Qf,"__esModule",{value:!0});Qf.resolveRuntimeExtensions=void 0;var FF=_p(),LF=we(),jF=E(),QS=e=>e,Ere=(e,n)=>{let t={...QS((0,FF.getAwsRegionExtensionConfiguration)(e)),...QS((0,jF.getDefaultExtensionConfiguration)(e)),...QS((0,LF.getHttpHandlerExtensionConfiguration)(e))};return n.forEach(r=>r.configure(t)),{...e,...(0,FF.resolveAwsRegionExtensionConfiguration)(t),...(0,jF.resolveDefaultRuntimeConfig)(t),...(0,LF.resolveHttpHandlerRuntimeConfig)(t)}};Qf.resolveRuntimeExtensions=Ere});var Kc=m(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});vs.S3Client=vs.__Client=void 0;var bre=uw(),zF=qa(),Pre=Ba(),vre=Ma(),GF=xo(),HF=Pn(),$F=nc(),xre=Vt(),wre=pN(),kre=ic(),Are=v(),KF=An(),VF=E();Object.defineProperty(vs,"__Client",{enumerable:!0,get:function(){return VF.Client}});var Ire=yO(),Rre=DF(),Nre=UF(),JS=class extends VF.Client{constructor(...[n]){let t=(0,Rre.getRuntimeConfig)(n||{}),r=(0,Ire.resolveClientEndpointParameters)(t),o=(0,xre.resolveRegionConfig)(r),s=(0,Are.resolveEndpointConfig)(o),a=(0,KF.resolveRetryConfig)(s),i=(0,zF.resolveHostHeaderConfig)(a),u=(0,HF.resolveAwsAuthConfig)(i),l=(0,GF.resolveS3Config)(u),c=(0,$F.resolveUserAgentConfig)(l),y=(0,wre.resolveEventStreamSerdeConfig)(c),_=(0,Nre.resolveRuntimeExtensions)(y,(n==null?void 0:n.extensions)||[]);super(_),this.config=_,this.middlewareStack.use((0,KF.getRetryPlugin)(this.config)),this.middlewareStack.use((0,kre.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,zF.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,Pre.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,vre.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,HF.getAwsAuthPlugin)(this.config)),this.middlewareStack.use((0,GF.getValidateBucketNamePlugin)(this.config)),this.middlewareStack.use((0,bre.getAddExpectContinuePlugin)(this.config)),this.middlewareStack.use((0,$F.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}};vs.S3Client=JS});var XF=m(Jf=>{"use strict";Object.defineProperty(Jf,"__esModule",{value:!0});Jf.escapeAttribute=void 0;function Ore(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}Jf.escapeAttribute=Ore});var WF=m(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});Zf.escapeElement=void 0;function Tre(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\r/g," ").replace(/\n/g," ").replace(/\u0085/g,"…").replace(/\u2028/,"
")}Zf.escapeElement=Tre});var e0=m(ey=>{"use strict";Object.defineProperty(ey,"__esModule",{value:!0});ey.XmlText=void 0;var qre=WF(),ZS=class{constructor(n){this.value=n}toString(){return(0,qre.escapeElement)(""+this.value)}};ey.XmlText=ZS});var YF=m(ty=>{"use strict";Object.defineProperty(ty,"__esModule",{value:!0});ty.XmlNode=void 0;var Bre=XF(),Mre=e0(),t0=class e{static of(n,t,r){let o=new e(n);return t!==void 0&&o.addChildNode(new Mre.XmlText(t)),r!==void 0&&o.withName(r),o}constructor(n,t=[]){this.name=n,this.children=t,this.attributes={}}withName(n){return this.name=n,this}addAttribute(n,t){return this.attributes[n]=t,this}addChildNode(n){return this.children.push(n),this}removeAttribute(n){return delete this.attributes[n],this}toString(){let n=!!this.children.length,t=`<${this.name}`,r=this.attributes;for(let o of Object.keys(r)){let s=r[o];typeof s<"u"&&s!==null&&(t+=` ${o}="${(0,Bre.escapeAttribute)(""+s)}"`)}return t+=n?`>${this.children.map(o=>o.toString()).join("")}`:"/>"}};ty.XmlNode=t0});var JF=m(ny=>{"use strict";Object.defineProperty(ny,"__esModule",{value:!0});var QF=(z(),j(U));QF.__exportStar(YF(),ny);QF.__exportStar(e0(),ny)});var Vc=m(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});xs.S3ServiceException=xs.__ServiceException=void 0;var ZF=E();Object.defineProperty(xs,"__ServiceException",{enumerable:!0,get:function(){return ZF.ServiceException}});var n0=class e extends ZF.ServiceException{constructor(n){super(n),Object.setPrototypeOf(this,e.prototype)}};xs.S3ServiceException=n0});var Ze=m(h=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0});h.ReplicationStatus=h.Protocol=h.BucketVersioningStatus=h.MFADeleteStatus=h.Payer=h.ReplicationRuleStatus=h.SseKmsEncryptedObjectsStatus=h.ReplicaModificationsStatus=h.ReplicationRuleFilter=h.ExistingObjectReplicationStatus=h.ReplicationTimeStatus=h.MetricsStatus=h.DeleteMarkerReplicationStatus=h.FilterRuleName=h.Event=h.MetricsFilter=h.BucketLogsPermission=h.ExpirationStatus=h.TransitionStorageClass=h.LifecycleRuleFilter=h.InventoryFrequency=h.InventoryOptionalField=h.InventoryIncludedObjectVersions=h.InventoryFormat=h.IntelligentTieringAccessTier=h.IntelligentTieringStatus=h.StorageClassAnalysisSchemaVersion=h.AnalyticsS3ExportFileFormat=h.AnalyticsFilter=h.ObjectOwnership=h.BucketLocationConstraint=h.BucketCannedACL=h.BucketAlreadyOwnedByYou=h.BucketAlreadyExists=h.ObjectNotInActiveTierError=h.TaggingDirective=h.StorageClass=h.ObjectLockMode=h.ObjectLockLegalHoldStatus=h.MetadataDirective=h.ChecksumAlgorithm=h.ObjectCannedACL=h.ServerSideEncryption=h.OwnerOverride=h.Permission=h.Type=h.BucketAccelerateStatus=h.NoSuchUpload=h.RequestPayer=h.RequestCharged=void 0;h.PutObjectRequestFilterSensitiveLog=h.PutObjectOutputFilterSensitiveLog=h.PutBucketInventoryConfigurationRequestFilterSensitiveLog=h.PutBucketEncryptionRequestFilterSensitiveLog=h.ListPartsRequestFilterSensitiveLog=h.ListBucketInventoryConfigurationsOutputFilterSensitiveLog=h.HeadObjectRequestFilterSensitiveLog=h.HeadObjectOutputFilterSensitiveLog=h.GetObjectTorrentOutputFilterSensitiveLog=h.GetObjectAttributesRequestFilterSensitiveLog=h.GetObjectRequestFilterSensitiveLog=h.GetObjectOutputFilterSensitiveLog=h.GetBucketInventoryConfigurationOutputFilterSensitiveLog=h.InventoryConfigurationFilterSensitiveLog=h.InventoryDestinationFilterSensitiveLog=h.InventoryS3BucketDestinationFilterSensitiveLog=h.InventoryEncryptionFilterSensitiveLog=h.SSEKMSFilterSensitiveLog=h.GetBucketEncryptionOutputFilterSensitiveLog=h.ServerSideEncryptionConfigurationFilterSensitiveLog=h.ServerSideEncryptionRuleFilterSensitiveLog=h.ServerSideEncryptionByDefaultFilterSensitiveLog=h.CreateMultipartUploadRequestFilterSensitiveLog=h.CreateMultipartUploadOutputFilterSensitiveLog=h.CopyObjectRequestFilterSensitiveLog=h.CopyObjectOutputFilterSensitiveLog=h.CompleteMultipartUploadRequestFilterSensitiveLog=h.CompleteMultipartUploadOutputFilterSensitiveLog=h.MFADelete=h.ObjectVersionStorageClass=h.NoSuchBucket=h.OptionalObjectAttributes=h.ObjectStorageClass=h.EncodingType=h.ArchiveStatus=h.NotFound=h.ObjectLockRetentionMode=h.ObjectLockEnabled=h.ObjectAttributes=h.NoSuchKey=h.InvalidObjectState=h.ChecksumMode=void 0;var Pe=E(),kr=Vc();h.RequestCharged={requester:"requester"};h.RequestPayer={requester:"requester"};var r0=class e extends kr.S3ServiceException{constructor(n){super({name:"NoSuchUpload",$fault:"client",...n}),this.name="NoSuchUpload",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.NoSuchUpload=r0;h.BucketAccelerateStatus={Enabled:"Enabled",Suspended:"Suspended"};h.Type={AmazonCustomerByEmail:"AmazonCustomerByEmail",CanonicalUser:"CanonicalUser",Group:"Group"};h.Permission={FULL_CONTROL:"FULL_CONTROL",READ:"READ",READ_ACP:"READ_ACP",WRITE:"WRITE",WRITE_ACP:"WRITE_ACP"};h.OwnerOverride={Destination:"Destination"};h.ServerSideEncryption={AES256:"AES256",aws_kms:"aws:kms",aws_kms_dsse:"aws:kms:dsse"};h.ObjectCannedACL={authenticated_read:"authenticated-read",aws_exec_read:"aws-exec-read",bucket_owner_full_control:"bucket-owner-full-control",bucket_owner_read:"bucket-owner-read",private:"private",public_read:"public-read",public_read_write:"public-read-write"};h.ChecksumAlgorithm={CRC32:"CRC32",CRC32C:"CRC32C",SHA1:"SHA1",SHA256:"SHA256"};h.MetadataDirective={COPY:"COPY",REPLACE:"REPLACE"};h.ObjectLockLegalHoldStatus={OFF:"OFF",ON:"ON"};h.ObjectLockMode={COMPLIANCE:"COMPLIANCE",GOVERNANCE:"GOVERNANCE"};h.StorageClass={DEEP_ARCHIVE:"DEEP_ARCHIVE",GLACIER:"GLACIER",GLACIER_IR:"GLACIER_IR",INTELLIGENT_TIERING:"INTELLIGENT_TIERING",ONEZONE_IA:"ONEZONE_IA",OUTPOSTS:"OUTPOSTS",REDUCED_REDUNDANCY:"REDUCED_REDUNDANCY",SNOW:"SNOW",STANDARD:"STANDARD",STANDARD_IA:"STANDARD_IA"};h.TaggingDirective={COPY:"COPY",REPLACE:"REPLACE"};var o0=class e extends kr.S3ServiceException{constructor(n){super({name:"ObjectNotInActiveTierError",$fault:"client",...n}),this.name="ObjectNotInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.ObjectNotInActiveTierError=o0;var s0=class e extends kr.S3ServiceException{constructor(n){super({name:"BucketAlreadyExists",$fault:"client",...n}),this.name="BucketAlreadyExists",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.BucketAlreadyExists=s0;var i0=class e extends kr.S3ServiceException{constructor(n){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...n}),this.name="BucketAlreadyOwnedByYou",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.BucketAlreadyOwnedByYou=i0;h.BucketCannedACL={authenticated_read:"authenticated-read",private:"private",public_read:"public-read",public_read_write:"public-read-write"};h.BucketLocationConstraint={EU:"EU",af_south_1:"af-south-1",ap_east_1:"ap-east-1",ap_northeast_1:"ap-northeast-1",ap_northeast_2:"ap-northeast-2",ap_northeast_3:"ap-northeast-3",ap_south_1:"ap-south-1",ap_south_2:"ap-south-2",ap_southeast_1:"ap-southeast-1",ap_southeast_2:"ap-southeast-2",ap_southeast_3:"ap-southeast-3",ca_central_1:"ca-central-1",cn_north_1:"cn-north-1",cn_northwest_1:"cn-northwest-1",eu_central_1:"eu-central-1",eu_north_1:"eu-north-1",eu_south_1:"eu-south-1",eu_south_2:"eu-south-2",eu_west_1:"eu-west-1",eu_west_2:"eu-west-2",eu_west_3:"eu-west-3",me_south_1:"me-south-1",sa_east_1:"sa-east-1",us_east_2:"us-east-2",us_gov_east_1:"us-gov-east-1",us_gov_west_1:"us-gov-west-1",us_west_1:"us-west-1",us_west_2:"us-west-2"};h.ObjectOwnership={BucketOwnerEnforced:"BucketOwnerEnforced",BucketOwnerPreferred:"BucketOwnerPreferred",ObjectWriter:"ObjectWriter"};var Dre;(function(e){e.visit=(n,t)=>n.Prefix!==void 0?t.Prefix(n.Prefix):n.Tag!==void 0?t.Tag(n.Tag):n.And!==void 0?t.And(n.And):t._(n.$unknown[0],n.$unknown[1])})(Dre=h.AnalyticsFilter||(h.AnalyticsFilter={}));h.AnalyticsS3ExportFileFormat={CSV:"CSV"};h.StorageClassAnalysisSchemaVersion={V_1:"V_1"};h.IntelligentTieringStatus={Disabled:"Disabled",Enabled:"Enabled"};h.IntelligentTieringAccessTier={ARCHIVE_ACCESS:"ARCHIVE_ACCESS",DEEP_ARCHIVE_ACCESS:"DEEP_ARCHIVE_ACCESS"};h.InventoryFormat={CSV:"CSV",ORC:"ORC",Parquet:"Parquet"};h.InventoryIncludedObjectVersions={All:"All",Current:"Current"};h.InventoryOptionalField={BucketKeyStatus:"BucketKeyStatus",ChecksumAlgorithm:"ChecksumAlgorithm",ETag:"ETag",EncryptionStatus:"EncryptionStatus",IntelligentTieringAccessTier:"IntelligentTieringAccessTier",IsMultipartUploaded:"IsMultipartUploaded",LastModifiedDate:"LastModifiedDate",ObjectAccessControlList:"ObjectAccessControlList",ObjectLockLegalHoldStatus:"ObjectLockLegalHoldStatus",ObjectLockMode:"ObjectLockMode",ObjectLockRetainUntilDate:"ObjectLockRetainUntilDate",ObjectOwner:"ObjectOwner",ReplicationStatus:"ReplicationStatus",Size:"Size",StorageClass:"StorageClass"};h.InventoryFrequency={Daily:"Daily",Weekly:"Weekly"};var Fre;(function(e){e.visit=(n,t)=>n.Prefix!==void 0?t.Prefix(n.Prefix):n.Tag!==void 0?t.Tag(n.Tag):n.ObjectSizeGreaterThan!==void 0?t.ObjectSizeGreaterThan(n.ObjectSizeGreaterThan):n.ObjectSizeLessThan!==void 0?t.ObjectSizeLessThan(n.ObjectSizeLessThan):n.And!==void 0?t.And(n.And):t._(n.$unknown[0],n.$unknown[1])})(Fre=h.LifecycleRuleFilter||(h.LifecycleRuleFilter={}));h.TransitionStorageClass={DEEP_ARCHIVE:"DEEP_ARCHIVE",GLACIER:"GLACIER",GLACIER_IR:"GLACIER_IR",INTELLIGENT_TIERING:"INTELLIGENT_TIERING",ONEZONE_IA:"ONEZONE_IA",STANDARD_IA:"STANDARD_IA"};h.ExpirationStatus={Disabled:"Disabled",Enabled:"Enabled"};h.BucketLogsPermission={FULL_CONTROL:"FULL_CONTROL",READ:"READ",WRITE:"WRITE"};var Lre;(function(e){e.visit=(n,t)=>n.Prefix!==void 0?t.Prefix(n.Prefix):n.Tag!==void 0?t.Tag(n.Tag):n.AccessPointArn!==void 0?t.AccessPointArn(n.AccessPointArn):n.And!==void 0?t.And(n.And):t._(n.$unknown[0],n.$unknown[1])})(Lre=h.MetricsFilter||(h.MetricsFilter={}));h.Event={s3_IntelligentTiering:"s3:IntelligentTiering",s3_LifecycleExpiration_:"s3:LifecycleExpiration:*",s3_LifecycleExpiration_Delete:"s3:LifecycleExpiration:Delete",s3_LifecycleExpiration_DeleteMarkerCreated:"s3:LifecycleExpiration:DeleteMarkerCreated",s3_LifecycleTransition:"s3:LifecycleTransition",s3_ObjectAcl_Put:"s3:ObjectAcl:Put",s3_ObjectCreated_:"s3:ObjectCreated:*",s3_ObjectCreated_CompleteMultipartUpload:"s3:ObjectCreated:CompleteMultipartUpload",s3_ObjectCreated_Copy:"s3:ObjectCreated:Copy",s3_ObjectCreated_Post:"s3:ObjectCreated:Post",s3_ObjectCreated_Put:"s3:ObjectCreated:Put",s3_ObjectRemoved_:"s3:ObjectRemoved:*",s3_ObjectRemoved_Delete:"s3:ObjectRemoved:Delete",s3_ObjectRemoved_DeleteMarkerCreated:"s3:ObjectRemoved:DeleteMarkerCreated",s3_ObjectRestore_:"s3:ObjectRestore:*",s3_ObjectRestore_Completed:"s3:ObjectRestore:Completed",s3_ObjectRestore_Delete:"s3:ObjectRestore:Delete",s3_ObjectRestore_Post:"s3:ObjectRestore:Post",s3_ObjectTagging_:"s3:ObjectTagging:*",s3_ObjectTagging_Delete:"s3:ObjectTagging:Delete",s3_ObjectTagging_Put:"s3:ObjectTagging:Put",s3_ReducedRedundancyLostObject:"s3:ReducedRedundancyLostObject",s3_Replication_:"s3:Replication:*",s3_Replication_OperationFailedReplication:"s3:Replication:OperationFailedReplication",s3_Replication_OperationMissedThreshold:"s3:Replication:OperationMissedThreshold",s3_Replication_OperationNotTracked:"s3:Replication:OperationNotTracked",s3_Replication_OperationReplicatedAfterThreshold:"s3:Replication:OperationReplicatedAfterThreshold"};h.FilterRuleName={prefix:"prefix",suffix:"suffix"};h.DeleteMarkerReplicationStatus={Disabled:"Disabled",Enabled:"Enabled"};h.MetricsStatus={Disabled:"Disabled",Enabled:"Enabled"};h.ReplicationTimeStatus={Disabled:"Disabled",Enabled:"Enabled"};h.ExistingObjectReplicationStatus={Disabled:"Disabled",Enabled:"Enabled"};var jre;(function(e){e.visit=(n,t)=>n.Prefix!==void 0?t.Prefix(n.Prefix):n.Tag!==void 0?t.Tag(n.Tag):n.And!==void 0?t.And(n.And):t._(n.$unknown[0],n.$unknown[1])})(jre=h.ReplicationRuleFilter||(h.ReplicationRuleFilter={}));h.ReplicaModificationsStatus={Disabled:"Disabled",Enabled:"Enabled"};h.SseKmsEncryptedObjectsStatus={Disabled:"Disabled",Enabled:"Enabled"};h.ReplicationRuleStatus={Disabled:"Disabled",Enabled:"Enabled"};h.Payer={BucketOwner:"BucketOwner",Requester:"Requester"};h.MFADeleteStatus={Disabled:"Disabled",Enabled:"Enabled"};h.BucketVersioningStatus={Enabled:"Enabled",Suspended:"Suspended"};h.Protocol={http:"http",https:"https"};h.ReplicationStatus={COMPLETE:"COMPLETE",COMPLETED:"COMPLETED",FAILED:"FAILED",PENDING:"PENDING",REPLICA:"REPLICA"};h.ChecksumMode={ENABLED:"ENABLED"};var a0=class e extends kr.S3ServiceException{constructor(n){super({name:"InvalidObjectState",$fault:"client",...n}),this.name="InvalidObjectState",this.$fault="client",Object.setPrototypeOf(this,e.prototype),this.StorageClass=n.StorageClass,this.AccessTier=n.AccessTier}};h.InvalidObjectState=a0;var c0=class e extends kr.S3ServiceException{constructor(n){super({name:"NoSuchKey",$fault:"client",...n}),this.name="NoSuchKey",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.NoSuchKey=c0;h.ObjectAttributes={CHECKSUM:"Checksum",ETAG:"ETag",OBJECT_PARTS:"ObjectParts",OBJECT_SIZE:"ObjectSize",STORAGE_CLASS:"StorageClass"};h.ObjectLockEnabled={Enabled:"Enabled"};h.ObjectLockRetentionMode={COMPLIANCE:"COMPLIANCE",GOVERNANCE:"GOVERNANCE"};var d0=class e extends kr.S3ServiceException{constructor(n){super({name:"NotFound",$fault:"client",...n}),this.name="NotFound",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.NotFound=d0;h.ArchiveStatus={ARCHIVE_ACCESS:"ARCHIVE_ACCESS",DEEP_ARCHIVE_ACCESS:"DEEP_ARCHIVE_ACCESS"};h.EncodingType={url:"url"};h.ObjectStorageClass={DEEP_ARCHIVE:"DEEP_ARCHIVE",GLACIER:"GLACIER",GLACIER_IR:"GLACIER_IR",INTELLIGENT_TIERING:"INTELLIGENT_TIERING",ONEZONE_IA:"ONEZONE_IA",OUTPOSTS:"OUTPOSTS",REDUCED_REDUNDANCY:"REDUCED_REDUNDANCY",SNOW:"SNOW",STANDARD:"STANDARD",STANDARD_IA:"STANDARD_IA"};h.OptionalObjectAttributes={RESTORE_STATUS:"RestoreStatus"};var l0=class e extends kr.S3ServiceException{constructor(n){super({name:"NoSuchBucket",$fault:"client",...n}),this.name="NoSuchBucket",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.NoSuchBucket=l0;h.ObjectVersionStorageClass={STANDARD:"STANDARD"};h.MFADelete={Disabled:"Disabled",Enabled:"Enabled"};var Ure=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING}});h.CompleteMultipartUploadOutputFilterSensitiveLog=Ure;var zre=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.CompleteMultipartUploadRequestFilterSensitiveLog=zre;var Gre=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.CopyObjectOutputFilterSensitiveLog=Gre;var Hre=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING},...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING},...e.CopySourceSSECustomerKey&&{CopySourceSSECustomerKey:Pe.SENSITIVE_STRING}});h.CopyObjectRequestFilterSensitiveLog=Hre;var $re=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.CreateMultipartUploadOutputFilterSensitiveLog=$re;var Kre=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING},...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.CreateMultipartUploadRequestFilterSensitiveLog=Kre;var Vre=e=>({...e,...e.KMSMasterKeyID&&{KMSMasterKeyID:Pe.SENSITIVE_STRING}});h.ServerSideEncryptionByDefaultFilterSensitiveLog=Vre;var Xre=e=>({...e,...e.ApplyServerSideEncryptionByDefault&&{ApplyServerSideEncryptionByDefault:(0,h.ServerSideEncryptionByDefaultFilterSensitiveLog)(e.ApplyServerSideEncryptionByDefault)}});h.ServerSideEncryptionRuleFilterSensitiveLog=Xre;var Wre=e=>({...e,...e.Rules&&{Rules:e.Rules.map(n=>(0,h.ServerSideEncryptionRuleFilterSensitiveLog)(n))}});h.ServerSideEncryptionConfigurationFilterSensitiveLog=Wre;var Yre=e=>({...e,...e.ServerSideEncryptionConfiguration&&{ServerSideEncryptionConfiguration:(0,h.ServerSideEncryptionConfigurationFilterSensitiveLog)(e.ServerSideEncryptionConfiguration)}});h.GetBucketEncryptionOutputFilterSensitiveLog=Yre;var Qre=e=>({...e,...e.KeyId&&{KeyId:Pe.SENSITIVE_STRING}});h.SSEKMSFilterSensitiveLog=Qre;var Jre=e=>({...e,...e.SSEKMS&&{SSEKMS:(0,h.SSEKMSFilterSensitiveLog)(e.SSEKMS)}});h.InventoryEncryptionFilterSensitiveLog=Jre;var Zre=e=>({...e,...e.Encryption&&{Encryption:(0,h.InventoryEncryptionFilterSensitiveLog)(e.Encryption)}});h.InventoryS3BucketDestinationFilterSensitiveLog=Zre;var eoe=e=>({...e,...e.S3BucketDestination&&{S3BucketDestination:(0,h.InventoryS3BucketDestinationFilterSensitiveLog)(e.S3BucketDestination)}});h.InventoryDestinationFilterSensitiveLog=eoe;var toe=e=>({...e,...e.Destination&&{Destination:(0,h.InventoryDestinationFilterSensitiveLog)(e.Destination)}});h.InventoryConfigurationFilterSensitiveLog=toe;var noe=e=>({...e,...e.InventoryConfiguration&&{InventoryConfiguration:(0,h.InventoryConfigurationFilterSensitiveLog)(e.InventoryConfiguration)}});h.GetBucketInventoryConfigurationOutputFilterSensitiveLog=noe;var roe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING}});h.GetObjectOutputFilterSensitiveLog=roe;var ooe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.GetObjectRequestFilterSensitiveLog=ooe;var soe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.GetObjectAttributesRequestFilterSensitiveLog=soe;var ioe=e=>({...e});h.GetObjectTorrentOutputFilterSensitiveLog=ioe;var aoe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING}});h.HeadObjectOutputFilterSensitiveLog=aoe;var coe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.HeadObjectRequestFilterSensitiveLog=coe;var doe=e=>({...e,...e.InventoryConfigurationList&&{InventoryConfigurationList:e.InventoryConfigurationList.map(n=>(0,h.InventoryConfigurationFilterSensitiveLog)(n))}});h.ListBucketInventoryConfigurationsOutputFilterSensitiveLog=doe;var loe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.ListPartsRequestFilterSensitiveLog=loe;var uoe=e=>({...e,...e.ServerSideEncryptionConfiguration&&{ServerSideEncryptionConfiguration:(0,h.ServerSideEncryptionConfigurationFilterSensitiveLog)(e.ServerSideEncryptionConfiguration)}});h.PutBucketEncryptionRequestFilterSensitiveLog=uoe;var moe=e=>({...e,...e.InventoryConfiguration&&{InventoryConfiguration:(0,h.InventoryConfigurationFilterSensitiveLog)(e.InventoryConfiguration)}});h.PutBucketInventoryConfigurationRequestFilterSensitiveLog=moe;var poe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.PutObjectOutputFilterSensitiveLog=poe;var foe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING},...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.PutObjectRequestFilterSensitiveLog=foe});var Ir=m(J=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});J.WriteGetObjectResponseRequestFilterSensitiveLog=J.UploadPartCopyRequestFilterSensitiveLog=J.UploadPartCopyOutputFilterSensitiveLog=J.UploadPartRequestFilterSensitiveLog=J.UploadPartOutputFilterSensitiveLog=J.SelectObjectContentRequestFilterSensitiveLog=J.SelectObjectContentOutputFilterSensitiveLog=J.SelectObjectContentEventStreamFilterSensitiveLog=J.RestoreObjectRequestFilterSensitiveLog=J.RestoreRequestFilterSensitiveLog=J.OutputLocationFilterSensitiveLog=J.S3LocationFilterSensitiveLog=J.EncryptionFilterSensitiveLog=J.SelectObjectContentEventStream=J.RestoreRequestType=J.QuoteFields=J.JSONType=J.FileHeaderInfo=J.CompressionType=J.ExpressionType=J.Tier=J.ObjectAlreadyInActiveTierError=void 0;var Ar=E(),yoe=Vc(),u0=class e extends yoe.S3ServiceException{constructor(n){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...n}),this.name="ObjectAlreadyInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};J.ObjectAlreadyInActiveTierError=u0;J.Tier={Bulk:"Bulk",Expedited:"Expedited",Standard:"Standard"};J.ExpressionType={SQL:"SQL"};J.CompressionType={BZIP2:"BZIP2",GZIP:"GZIP",NONE:"NONE"};J.FileHeaderInfo={IGNORE:"IGNORE",NONE:"NONE",USE:"USE"};J.JSONType={DOCUMENT:"DOCUMENT",LINES:"LINES"};J.QuoteFields={ALWAYS:"ALWAYS",ASNEEDED:"ASNEEDED"};J.RestoreRequestType={SELECT:"SELECT"};var _oe;(function(e){e.visit=(n,t)=>n.Records!==void 0?t.Records(n.Records):n.Stats!==void 0?t.Stats(n.Stats):n.Progress!==void 0?t.Progress(n.Progress):n.Cont!==void 0?t.Cont(n.Cont):n.End!==void 0?t.End(n.End):t._(n.$unknown[0],n.$unknown[1])})(_oe=J.SelectObjectContentEventStream||(J.SelectObjectContentEventStream={}));var goe=e=>({...e,...e.KMSKeyId&&{KMSKeyId:Ar.SENSITIVE_STRING}});J.EncryptionFilterSensitiveLog=goe;var hoe=e=>({...e,...e.Encryption&&{Encryption:(0,J.EncryptionFilterSensitiveLog)(e.Encryption)}});J.S3LocationFilterSensitiveLog=hoe;var Coe=e=>({...e,...e.S3&&{S3:(0,J.S3LocationFilterSensitiveLog)(e.S3)}});J.OutputLocationFilterSensitiveLog=Coe;var Soe=e=>({...e,...e.OutputLocation&&{OutputLocation:(0,J.OutputLocationFilterSensitiveLog)(e.OutputLocation)}});J.RestoreRequestFilterSensitiveLog=Soe;var Eoe=e=>({...e,...e.RestoreRequest&&{RestoreRequest:(0,J.RestoreRequestFilterSensitiveLog)(e.RestoreRequest)}});J.RestoreObjectRequestFilterSensitiveLog=Eoe;var boe=e=>{if(e.Records!==void 0)return{Records:e.Records};if(e.Stats!==void 0)return{Stats:e.Stats};if(e.Progress!==void 0)return{Progress:e.Progress};if(e.Cont!==void 0)return{Cont:e.Cont};if(e.End!==void 0)return{End:e.End};if(e.$unknown!==void 0)return{[e.$unknown[0]]:"UNKNOWN"}};J.SelectObjectContentEventStreamFilterSensitiveLog=boe;var Poe=e=>({...e,...e.Payload&&{Payload:"STREAMING_CONTENT"}});J.SelectObjectContentOutputFilterSensitiveLog=Poe;var voe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Ar.SENSITIVE_STRING}});J.SelectObjectContentRequestFilterSensitiveLog=voe;var xoe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Ar.SENSITIVE_STRING}});J.UploadPartOutputFilterSensitiveLog=xoe;var woe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Ar.SENSITIVE_STRING}});J.UploadPartRequestFilterSensitiveLog=woe;var koe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Ar.SENSITIVE_STRING}});J.UploadPartCopyOutputFilterSensitiveLog=koe;var Aoe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Ar.SENSITIVE_STRING},...e.CopySourceSSECustomerKey&&{CopySourceSSECustomerKey:Ar.SENSITIVE_STRING}});J.UploadPartCopyRequestFilterSensitiveLog=Aoe;var Ioe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Ar.SENSITIVE_STRING}});J.WriteGetObjectResponseRequestFilterSensitiveLog=Ioe});var T=m(p=>{"use strict";Object.defineProperty(p,"__esModule",{value:!0});p.se_GetObjectTorrentCommand=p.se_GetObjectTaggingCommand=p.se_GetObjectRetentionCommand=p.se_GetObjectLockConfigurationCommand=p.se_GetObjectLegalHoldCommand=p.se_GetObjectAttributesCommand=p.se_GetObjectAclCommand=p.se_GetObjectCommand=p.se_GetBucketWebsiteCommand=p.se_GetBucketVersioningCommand=p.se_GetBucketTaggingCommand=p.se_GetBucketRequestPaymentCommand=p.se_GetBucketReplicationCommand=p.se_GetBucketPolicyStatusCommand=p.se_GetBucketPolicyCommand=p.se_GetBucketOwnershipControlsCommand=p.se_GetBucketNotificationConfigurationCommand=p.se_GetBucketMetricsConfigurationCommand=p.se_GetBucketLoggingCommand=p.se_GetBucketLocationCommand=p.se_GetBucketLifecycleConfigurationCommand=p.se_GetBucketInventoryConfigurationCommand=p.se_GetBucketIntelligentTieringConfigurationCommand=p.se_GetBucketEncryptionCommand=p.se_GetBucketCorsCommand=p.se_GetBucketAnalyticsConfigurationCommand=p.se_GetBucketAclCommand=p.se_GetBucketAccelerateConfigurationCommand=p.se_DeletePublicAccessBlockCommand=p.se_DeleteObjectTaggingCommand=p.se_DeleteObjectsCommand=p.se_DeleteObjectCommand=p.se_DeleteBucketWebsiteCommand=p.se_DeleteBucketTaggingCommand=p.se_DeleteBucketReplicationCommand=p.se_DeleteBucketPolicyCommand=p.se_DeleteBucketOwnershipControlsCommand=p.se_DeleteBucketMetricsConfigurationCommand=p.se_DeleteBucketLifecycleCommand=p.se_DeleteBucketInventoryConfigurationCommand=p.se_DeleteBucketIntelligentTieringConfigurationCommand=p.se_DeleteBucketEncryptionCommand=p.se_DeleteBucketCorsCommand=p.se_DeleteBucketAnalyticsConfigurationCommand=p.se_DeleteBucketCommand=p.se_CreateMultipartUploadCommand=p.se_CreateBucketCommand=p.se_CopyObjectCommand=p.se_CompleteMultipartUploadCommand=p.se_AbortMultipartUploadCommand=void 0;p.de_DeleteBucketAnalyticsConfigurationCommand=p.de_DeleteBucketCommand=p.de_CreateMultipartUploadCommand=p.de_CreateBucketCommand=p.de_CopyObjectCommand=p.de_CompleteMultipartUploadCommand=p.de_AbortMultipartUploadCommand=p.se_WriteGetObjectResponseCommand=p.se_UploadPartCopyCommand=p.se_UploadPartCommand=p.se_SelectObjectContentCommand=p.se_RestoreObjectCommand=p.se_PutPublicAccessBlockCommand=p.se_PutObjectTaggingCommand=p.se_PutObjectRetentionCommand=p.se_PutObjectLockConfigurationCommand=p.se_PutObjectLegalHoldCommand=p.se_PutObjectAclCommand=p.se_PutObjectCommand=p.se_PutBucketWebsiteCommand=p.se_PutBucketVersioningCommand=p.se_PutBucketTaggingCommand=p.se_PutBucketRequestPaymentCommand=p.se_PutBucketReplicationCommand=p.se_PutBucketPolicyCommand=p.se_PutBucketOwnershipControlsCommand=p.se_PutBucketNotificationConfigurationCommand=p.se_PutBucketMetricsConfigurationCommand=p.se_PutBucketLoggingCommand=p.se_PutBucketLifecycleConfigurationCommand=p.se_PutBucketInventoryConfigurationCommand=p.se_PutBucketIntelligentTieringConfigurationCommand=p.se_PutBucketEncryptionCommand=p.se_PutBucketCorsCommand=p.se_PutBucketAnalyticsConfigurationCommand=p.se_PutBucketAclCommand=p.se_PutBucketAccelerateConfigurationCommand=p.se_ListPartsCommand=p.se_ListObjectVersionsCommand=p.se_ListObjectsV2Command=p.se_ListObjectsCommand=p.se_ListMultipartUploadsCommand=p.se_ListBucketsCommand=p.se_ListBucketMetricsConfigurationsCommand=p.se_ListBucketInventoryConfigurationsCommand=p.se_ListBucketIntelligentTieringConfigurationsCommand=p.se_ListBucketAnalyticsConfigurationsCommand=p.se_HeadObjectCommand=p.se_HeadBucketCommand=p.se_GetPublicAccessBlockCommand=void 0;p.de_ListBucketMetricsConfigurationsCommand=p.de_ListBucketInventoryConfigurationsCommand=p.de_ListBucketIntelligentTieringConfigurationsCommand=p.de_ListBucketAnalyticsConfigurationsCommand=p.de_HeadObjectCommand=p.de_HeadBucketCommand=p.de_GetPublicAccessBlockCommand=p.de_GetObjectTorrentCommand=p.de_GetObjectTaggingCommand=p.de_GetObjectRetentionCommand=p.de_GetObjectLockConfigurationCommand=p.de_GetObjectLegalHoldCommand=p.de_GetObjectAttributesCommand=p.de_GetObjectAclCommand=p.de_GetObjectCommand=p.de_GetBucketWebsiteCommand=p.de_GetBucketVersioningCommand=p.de_GetBucketTaggingCommand=p.de_GetBucketRequestPaymentCommand=p.de_GetBucketReplicationCommand=p.de_GetBucketPolicyStatusCommand=p.de_GetBucketPolicyCommand=p.de_GetBucketOwnershipControlsCommand=p.de_GetBucketNotificationConfigurationCommand=p.de_GetBucketMetricsConfigurationCommand=p.de_GetBucketLoggingCommand=p.de_GetBucketLocationCommand=p.de_GetBucketLifecycleConfigurationCommand=p.de_GetBucketInventoryConfigurationCommand=p.de_GetBucketIntelligentTieringConfigurationCommand=p.de_GetBucketEncryptionCommand=p.de_GetBucketCorsCommand=p.de_GetBucketAnalyticsConfigurationCommand=p.de_GetBucketAclCommand=p.de_GetBucketAccelerateConfigurationCommand=p.de_DeletePublicAccessBlockCommand=p.de_DeleteObjectTaggingCommand=p.de_DeleteObjectsCommand=p.de_DeleteObjectCommand=p.de_DeleteBucketWebsiteCommand=p.de_DeleteBucketTaggingCommand=p.de_DeleteBucketReplicationCommand=p.de_DeleteBucketPolicyCommand=p.de_DeleteBucketOwnershipControlsCommand=p.de_DeleteBucketMetricsConfigurationCommand=p.de_DeleteBucketLifecycleCommand=p.de_DeleteBucketInventoryConfigurationCommand=p.de_DeleteBucketIntelligentTieringConfigurationCommand=p.de_DeleteBucketEncryptionCommand=p.de_DeleteBucketCorsCommand=void 0;p.de_WriteGetObjectResponseCommand=p.de_UploadPartCopyCommand=p.de_UploadPartCommand=p.de_SelectObjectContentCommand=p.de_RestoreObjectCommand=p.de_PutPublicAccessBlockCommand=p.de_PutObjectTaggingCommand=p.de_PutObjectRetentionCommand=p.de_PutObjectLockConfigurationCommand=p.de_PutObjectLegalHoldCommand=p.de_PutObjectAclCommand=p.de_PutObjectCommand=p.de_PutBucketWebsiteCommand=p.de_PutBucketVersioningCommand=p.de_PutBucketTaggingCommand=p.de_PutBucketRequestPaymentCommand=p.de_PutBucketReplicationCommand=p.de_PutBucketPolicyCommand=p.de_PutBucketOwnershipControlsCommand=p.de_PutBucketNotificationConfigurationCommand=p.de_PutBucketMetricsConfigurationCommand=p.de_PutBucketLoggingCommand=p.de_PutBucketLifecycleConfigurationCommand=p.de_PutBucketInventoryConfigurationCommand=p.de_PutBucketIntelligentTieringConfigurationCommand=p.de_PutBucketEncryptionCommand=p.de_PutBucketCorsCommand=p.de_PutBucketAnalyticsConfigurationCommand=p.de_PutBucketAclCommand=p.de_PutBucketAccelerateConfigurationCommand=p.de_ListPartsCommand=p.de_ListObjectVersionsCommand=p.de_ListObjectsV2Command=p.de_ListObjectsCommand=p.de_ListMultipartUploadsCommand=p.de_ListBucketsCommand=void 0;var f=JF(),O=we(),d=E(),Roe=Ih(),Rt=Ze(),Noe=Ir(),Ooe=Vc(),Toe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"AbortMultipartUpload"],uploadId:[,(0,d.expectNonNull)(e.UploadId,"UploadId")]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_AbortMultipartUploadCommand=Toe;var qoe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-checksum-crc32":e.ChecksumCRC32,"x-amz-checksum-crc32c":e.ChecksumCRC32C,"x-amz-checksum-sha1":e.ChecksumSHA1,"x-amz-checksum-sha256":e.ChecksumSHA256,"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"CompleteMultipartUpload"],uploadId:[,(0,d.expectNonNull)(e.UploadId,"UploadId")]}),l;e.MultipartUpload!==void 0&&(l=oL(e.MultipartUpload,n));let c;return e.MultipartUpload!==void 0&&(c=oL(e.MultipartUpload,n),c=c.withName("CompleteMultipartUpload"),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,query:u,body:l})};p.se_CompleteMultipartUploadCommand=qoe;var Boe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-acl":e.ACL,"cache-control":e.CacheControl,"x-amz-checksum-algorithm":e.ChecksumAlgorithm,"content-disposition":e.ContentDisposition,"content-encoding":e.ContentEncoding,"content-language":e.ContentLanguage,"content-type":e.ContentType,"x-amz-copy-source":e.CopySource,"x-amz-copy-source-if-match":e.CopySourceIfMatch,"x-amz-copy-source-if-modified-since":[()=>P(e.CopySourceIfModifiedSince),()=>(0,d.dateToUtcString)(e.CopySourceIfModifiedSince).toString()],"x-amz-copy-source-if-none-match":e.CopySourceIfNoneMatch,"x-amz-copy-source-if-unmodified-since":[()=>P(e.CopySourceIfUnmodifiedSince),()=>(0,d.dateToUtcString)(e.CopySourceIfUnmodifiedSince).toString()],expires:[()=>P(e.Expires),()=>(0,d.dateToUtcString)(e.Expires).toString()],"x-amz-grant-full-control":e.GrantFullControl,"x-amz-grant-read":e.GrantRead,"x-amz-grant-read-acp":e.GrantReadACP,"x-amz-grant-write-acp":e.GrantWriteACP,"x-amz-metadata-directive":e.MetadataDirective,"x-amz-tagging-directive":e.TaggingDirective,"x-amz-server-side-encryption":e.ServerSideEncryption,"x-amz-storage-class":e.StorageClass,"x-amz-website-redirect-location":e.WebsiteRedirectLocation,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-server-side-encryption-aws-kms-key-id":e.SSEKMSKeyId,"x-amz-server-side-encryption-context":e.SSEKMSEncryptionContext,"x-amz-server-side-encryption-bucket-key-enabled":[()=>P(e.BucketKeyEnabled),()=>e.BucketKeyEnabled.toString()],"x-amz-copy-source-server-side-encryption-customer-algorithm":e.CopySourceSSECustomerAlgorithm,"x-amz-copy-source-server-side-encryption-customer-key":e.CopySourceSSECustomerKey,"x-amz-copy-source-server-side-encryption-customer-key-md5":e.CopySourceSSECustomerKeyMD5,"x-amz-request-payer":e.RequestPayer,"x-amz-tagging":e.Tagging,"x-amz-object-lock-mode":e.ObjectLockMode,"x-amz-object-lock-retain-until-date":[()=>P(e.ObjectLockRetainUntilDate),()=>(e.ObjectLockRetainUntilDate.toISOString().split(".")[0]+"Z").toString()],"x-amz-object-lock-legal-hold":e.ObjectLockLegalHoldStatus,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-source-expected-bucket-owner":e.ExpectedSourceBucketOwner,...e.Metadata!==void 0&&Object.keys(e.Metadata).reduce((c,y)=>(c[`x-amz-meta-${y.toLowerCase()}`]=e.Metadata[y],c),{})}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"CopyObject"]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_CopyObjectCommand=Boe;var Moe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-acl":e.ACL,"x-amz-grant-full-control":e.GrantFullControl,"x-amz-grant-read":e.GrantRead,"x-amz-grant-read-acp":e.GrantReadACP,"x-amz-grant-write":e.GrantWrite,"x-amz-grant-write-acp":e.GrantWriteACP,"x-amz-bucket-object-lock-enabled":[()=>P(e.ObjectLockEnabledForBucket),()=>e.ObjectLockEnabledForBucket.toString()],"x-amz-object-ownership":e.ObjectOwnership}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u;e.CreateBucketConfiguration!==void 0&&(u=iL(e.CreateBucketConfiguration,n));let l;return e.CreateBucketConfiguration!==void 0&&(l=iL(e.CreateBucketConfiguration,n),u='',l.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),u+=l.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,body:u})};p.se_CreateBucketCommand=Moe;var Doe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-acl":e.ACL,"cache-control":e.CacheControl,"content-disposition":e.ContentDisposition,"content-encoding":e.ContentEncoding,"content-language":e.ContentLanguage,"content-type":e.ContentType,expires:[()=>P(e.Expires),()=>(0,d.dateToUtcString)(e.Expires).toString()],"x-amz-grant-full-control":e.GrantFullControl,"x-amz-grant-read":e.GrantRead,"x-amz-grant-read-acp":e.GrantReadACP,"x-amz-grant-write-acp":e.GrantWriteACP,"x-amz-server-side-encryption":e.ServerSideEncryption,"x-amz-storage-class":e.StorageClass,"x-amz-website-redirect-location":e.WebsiteRedirectLocation,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-server-side-encryption-aws-kms-key-id":e.SSEKMSKeyId,"x-amz-server-side-encryption-context":e.SSEKMSEncryptionContext,"x-amz-server-side-encryption-bucket-key-enabled":[()=>P(e.BucketKeyEnabled),()=>e.BucketKeyEnabled.toString()],"x-amz-request-payer":e.RequestPayer,"x-amz-tagging":e.Tagging,"x-amz-object-lock-mode":e.ObjectLockMode,"x-amz-object-lock-retain-until-date":[()=>P(e.ObjectLockRetainUntilDate),()=>(e.ObjectLockRetainUntilDate.toISOString().split(".")[0]+"Z").toString()],"x-amz-object-lock-legal-hold":e.ObjectLockLegalHoldStatus,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-checksum-algorithm":e.ChecksumAlgorithm,...e.Metadata!==void 0&&Object.keys(e.Metadata).reduce((c,y)=>(c[`x-amz-meta-${y.toLowerCase()}`]=e.Metadata[y],c),{})}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({uploads:[,""],"x-id":[,"CreateMultipartUpload"]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,query:u,body:l})};p.se_CreateMultipartUploadCommand=Doe;var Foe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,body:u})};p.se_DeleteBucketCommand=Foe;var Loe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({analytics:[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketAnalyticsConfigurationCommand=Loe;var joe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({cors:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketCorsCommand=joe;var Uoe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({encryption:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketEncryptionCommand=Uoe;var zoe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({"intelligent-tiering":[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketIntelligentTieringConfigurationCommand=zoe;var Goe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({inventory:[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketInventoryConfigurationCommand=Goe;var Hoe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({lifecycle:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketLifecycleCommand=Hoe;var $oe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({metrics:[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketMetricsConfigurationCommand=$oe;var Koe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({ownershipControls:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketOwnershipControlsCommand=Koe;var Voe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({policy:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketPolicyCommand=Voe;var Xoe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({replication:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketReplicationCommand=Xoe;var Woe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({tagging:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketTaggingCommand=Woe;var Yoe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({website:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketWebsiteCommand=Yoe;var Qoe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-mfa":e.MFA,"x-amz-request-payer":e.RequestPayer,"x-amz-bypass-governance-retention":[()=>P(e.BypassGovernanceRetention),()=>e.BypassGovernanceRetention.toString()],"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"DeleteObject"],versionId:[,e.VersionId]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteObjectCommand=Qoe;var Joe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-mfa":e.MFA,"x-amz-request-payer":e.RequestPayer,"x-amz-bypass-governance-retention":[()=>P(e.BypassGovernanceRetention),()=>e.BypassGovernanceRetention.toString()],"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({delete:[,""],"x-id":[,"DeleteObjects"]}),l;e.Delete!==void 0&&(l=aL(e.Delete,n));let c;return e.Delete!==void 0&&(c=aL(e.Delete,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,query:u,body:l})};p.se_DeleteObjectsCommand=Joe;var Zoe=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({tagging:[,""],versionId:[,e.VersionId]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteObjectTaggingCommand=Zoe;var ese=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({publicAccessBlock:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeletePublicAccessBlockCommand=ese;var tse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-request-payer":e.RequestPayer}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({accelerate:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketAccelerateConfigurationCommand=tse;var nse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({acl:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketAclCommand=nse;var rse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({analytics:[,""],"x-id":[,"GetBucketAnalyticsConfiguration"],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketAnalyticsConfigurationCommand=rse;var ose=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({cors:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketCorsCommand=ose;var sse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({encryption:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketEncryptionCommand=sse;var ise=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({"intelligent-tiering":[,""],"x-id":[,"GetBucketIntelligentTieringConfiguration"],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketIntelligentTieringConfigurationCommand=ise;var ase=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({inventory:[,""],"x-id":[,"GetBucketInventoryConfiguration"],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketInventoryConfigurationCommand=ase;var cse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({lifecycle:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketLifecycleConfigurationCommand=cse;var dse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({location:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketLocationCommand=dse;var lse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({logging:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketLoggingCommand=lse;var use=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({metrics:[,""],"x-id":[,"GetBucketMetricsConfiguration"],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketMetricsConfigurationCommand=use;var mse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({notification:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketNotificationConfigurationCommand=mse;var pse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({ownershipControls:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketOwnershipControlsCommand=pse;var fse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({policy:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketPolicyCommand=fse;var yse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({policyStatus:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketPolicyStatusCommand=yse;var _se=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({replication:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketReplicationCommand=_se;var gse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({requestPayment:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketRequestPaymentCommand=gse;var hse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({tagging:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketTaggingCommand=hse;var Cse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({versioning:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketVersioningCommand=Cse;var Sse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({website:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketWebsiteCommand=Sse;var Ese=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"if-match":e.IfMatch,"if-modified-since":[()=>P(e.IfModifiedSince),()=>(0,d.dateToUtcString)(e.IfModifiedSince).toString()],"if-none-match":e.IfNoneMatch,"if-unmodified-since":[()=>P(e.IfUnmodifiedSince),()=>(0,d.dateToUtcString)(e.IfUnmodifiedSince).toString()],range:e.Range,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-checksum-mode":e.ChecksumMode}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"GetObject"],"response-cache-control":[,e.ResponseCacheControl],"response-content-disposition":[,e.ResponseContentDisposition],"response-content-encoding":[,e.ResponseContentEncoding],"response-content-language":[,e.ResponseContentLanguage],"response-content-type":[,e.ResponseContentType],"response-expires":[()=>e.ResponseExpires!==void 0,()=>(0,d.dateToUtcString)(e.ResponseExpires).toString()],versionId:[,e.VersionId],partNumber:[()=>e.PartNumber!==void 0,()=>e.PartNumber.toString()]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectCommand=Ese;var bse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({acl:[,""],versionId:[,e.VersionId]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectAclCommand=bse;var Pse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-max-parts":[()=>P(e.MaxParts),()=>e.MaxParts.toString()],"x-amz-part-number-marker":e.PartNumberMarker,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-object-attributes":[()=>P(e.ObjectAttributes),()=>(e.ObjectAttributes||[]).map(c=>c).join(", ")]}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({attributes:[,""],versionId:[,e.VersionId]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectAttributesCommand=Pse;var vse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"legal-hold":[,""],versionId:[,e.VersionId]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectLegalHoldCommand=vse;var xse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({"object-lock":[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectLockConfigurationCommand=xse;var wse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({retention:[,""],versionId:[,e.VersionId]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectRetentionCommand=wse;var kse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-request-payer":e.RequestPayer}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({tagging:[,""],versionId:[,e.VersionId]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectTaggingCommand=kse;var Ase=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({torrent:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectTorrentCommand=Ase;var Ise=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({publicAccessBlock:[,""]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetPublicAccessBlockCommand=Ise;var Rse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"HEAD",headers:a,path:i,body:u})};p.se_HeadBucketCommand=Rse;var Nse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"if-match":e.IfMatch,"if-modified-since":[()=>P(e.IfModifiedSince),()=>(0,d.dateToUtcString)(e.IfModifiedSince).toString()],"if-none-match":e.IfNoneMatch,"if-unmodified-since":[()=>P(e.IfUnmodifiedSince),()=>(0,d.dateToUtcString)(e.IfUnmodifiedSince).toString()],range:e.Range,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-checksum-mode":e.ChecksumMode}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({versionId:[,e.VersionId],partNumber:[()=>e.PartNumber!==void 0,()=>e.PartNumber.toString()]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"HEAD",headers:a,path:i,query:u,body:l})};p.se_HeadObjectCommand=Nse;var Ose=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({analytics:[,""],"x-id":[,"ListBucketAnalyticsConfigurations"],"continuation-token":[,e.ContinuationToken]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListBucketAnalyticsConfigurationsCommand=Ose;var Tse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({"intelligent-tiering":[,""],"x-id":[,"ListBucketIntelligentTieringConfigurations"],"continuation-token":[,e.ContinuationToken]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListBucketIntelligentTieringConfigurationsCommand=Tse;var qse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({inventory:[,""],"x-id":[,"ListBucketInventoryConfigurations"],"continuation-token":[,e.ContinuationToken]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListBucketInventoryConfigurationsCommand=qse;var Bse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({metrics:[,""],"x-id":[,"ListBucketMetricsConfigurations"],"continuation-token":[,e.ContinuationToken]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListBucketMetricsConfigurationsCommand=Bse;var Mse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={"content-type":"application/xml"},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`,u;return u="",new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,body:u})};p.se_ListBucketsCommand=Mse;var Dse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-request-payer":e.RequestPayer}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({uploads:[,""],delimiter:[,e.Delimiter],"encoding-type":[,e.EncodingType],"key-marker":[,e.KeyMarker],"max-uploads":[()=>e.MaxUploads!==void 0,()=>e.MaxUploads.toString()],prefix:[,e.Prefix],"upload-id-marker":[,e.UploadIdMarker]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListMultipartUploadsCommand=Dse;var Fse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-optional-object-attributes":[()=>P(e.OptionalObjectAttributes),()=>(e.OptionalObjectAttributes||[]).map(c=>c).join(", ")]}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({delimiter:[,e.Delimiter],"encoding-type":[,e.EncodingType],marker:[,e.Marker],"max-keys":[()=>e.MaxKeys!==void 0,()=>e.MaxKeys.toString()],prefix:[,e.Prefix]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListObjectsCommand=Fse;var Lse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-optional-object-attributes":[()=>P(e.OptionalObjectAttributes),()=>(e.OptionalObjectAttributes||[]).map(c=>c).join(", ")]}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({"list-type":[,"2"],delimiter:[,e.Delimiter],"encoding-type":[,e.EncodingType],"max-keys":[()=>e.MaxKeys!==void 0,()=>e.MaxKeys.toString()],prefix:[,e.Prefix],"continuation-token":[,e.ContinuationToken],"fetch-owner":[()=>e.FetchOwner!==void 0,()=>e.FetchOwner.toString()],"start-after":[,e.StartAfter]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListObjectsV2Command=Lse;var jse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-request-payer":e.RequestPayer,"x-amz-optional-object-attributes":[()=>P(e.OptionalObjectAttributes),()=>(e.OptionalObjectAttributes||[]).map(c=>c).join(", ")]}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({versions:[,""],delimiter:[,e.Delimiter],"encoding-type":[,e.EncodingType],"key-marker":[,e.KeyMarker],"max-keys":[()=>e.MaxKeys!==void 0,()=>e.MaxKeys.toString()],prefix:[,e.Prefix],"version-id-marker":[,e.VersionIdMarker]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListObjectVersionsCommand=jse;var Use=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"ListParts"],"max-parts":[()=>e.MaxParts!==void 0,()=>e.MaxParts.toString()],"part-number-marker":[,e.PartNumberMarker],uploadId:[,(0,d.expectNonNull)(e.UploadId,"UploadId")]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListPartsCommand=Use;var zse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({accelerate:[,""]}),l;e.AccelerateConfiguration!==void 0&&(l=eL(e.AccelerateConfiguration,n));let c;return e.AccelerateConfiguration!==void 0&&(c=eL(e.AccelerateConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketAccelerateConfigurationCommand=zse;var Gse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-acl":e.ACL,"content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-grant-full-control":e.GrantFullControl,"x-amz-grant-read":e.GrantRead,"x-amz-grant-read-acp":e.GrantReadACP,"x-amz-grant-write":e.GrantWrite,"x-amz-grant-write-acp":e.GrantWriteACP,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({acl:[,""]}),l;e.AccessControlPolicy!==void 0&&(l=ry(e.AccessControlPolicy,n));let c;return e.AccessControlPolicy!==void 0&&(c=ry(e.AccessControlPolicy,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketAclCommand=Gse;var Hse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({analytics:[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;e.AnalyticsConfiguration!==void 0&&(l=tL(e.AnalyticsConfiguration,n));let c;return e.AnalyticsConfiguration!==void 0&&(c=tL(e.AnalyticsConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketAnalyticsConfigurationCommand=Hse;var $se=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({cors:[,""]}),l;e.CORSConfiguration!==void 0&&(l=sL(e.CORSConfiguration,n));let c;return e.CORSConfiguration!==void 0&&(c=sL(e.CORSConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketCorsCommand=$se;var Kse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({encryption:[,""]}),l;e.ServerSideEncryptionConfiguration!==void 0&&(l=SL(e.ServerSideEncryptionConfiguration,n));let c;return e.ServerSideEncryptionConfiguration!==void 0&&(c=SL(e.ServerSideEncryptionConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketEncryptionCommand=Kse;var Vse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={"content-type":"application/xml"},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({"intelligent-tiering":[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;e.IntelligentTieringConfiguration!==void 0&&(l=cL(e.IntelligentTieringConfiguration,n));let c;return e.IntelligentTieringConfiguration!==void 0&&(c=cL(e.IntelligentTieringConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketIntelligentTieringConfigurationCommand=Vse;var Xse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({inventory:[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;e.InventoryConfiguration!==void 0&&(l=dL(e.InventoryConfiguration,n));let c;return e.InventoryConfiguration!==void 0&&(c=dL(e.InventoryConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketInventoryConfigurationCommand=Xse;var Wse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({lifecycle:[,""]}),l;e.LifecycleConfiguration!==void 0&&(l=nL(e.LifecycleConfiguration,n));let c;return e.LifecycleConfiguration!==void 0&&(c=nL(e.LifecycleConfiguration,n),c=c.withName("LifecycleConfiguration"),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketLifecycleConfigurationCommand=Wse;var Yse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({logging:[,""]}),l;e.BucketLoggingStatus!==void 0&&(l=rL(e.BucketLoggingStatus,n));let c;return e.BucketLoggingStatus!==void 0&&(c=rL(e.BucketLoggingStatus,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketLoggingCommand=Yse;var Qse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({metrics:[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;e.MetricsConfiguration!==void 0&&(l=lL(e.MetricsConfiguration,n));let c;return e.MetricsConfiguration!==void 0&&(c=lL(e.MetricsConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketMetricsConfigurationCommand=Qse;var Jse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-skip-destination-validation":[()=>P(e.SkipDestinationValidation),()=>e.SkipDestinationValidation.toString()]}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({notification:[,""]}),l;e.NotificationConfiguration!==void 0&&(l=uL(e.NotificationConfiguration,n));let c;return e.NotificationConfiguration!==void 0&&(c=uL(e.NotificationConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketNotificationConfigurationCommand=Jse;var Zse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({ownershipControls:[,""]}),l;e.OwnershipControls!==void 0&&(l=yL(e.OwnershipControls,n));let c;return e.OwnershipControls!==void 0&&(c=yL(e.OwnershipControls,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketOwnershipControlsCommand=Zse;var eie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"text/plain","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-confirm-remove-self-bucket-access":[()=>P(e.ConfirmRemoveSelfBucketAccess),()=>e.ConfirmRemoveSelfBucketAccess.toString()],"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({policy:[,""]}),l;e.Policy!==void 0&&(l=e.Policy);let c;return e.Policy!==void 0&&(c=e.Policy,l=c),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketPolicyCommand=eie;var tie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-bucket-object-lock-token":e.Token,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({replication:[,""]}),l;e.ReplicationConfiguration!==void 0&&(l=gL(e.ReplicationConfiguration,n));let c;return e.ReplicationConfiguration!==void 0&&(c=gL(e.ReplicationConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketReplicationCommand=tie;var nie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({requestPayment:[,""]}),l;e.RequestPaymentConfiguration!==void 0&&(l=hL(e.RequestPaymentConfiguration,n));let c;return e.RequestPaymentConfiguration!==void 0&&(c=hL(e.RequestPaymentConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketRequestPaymentCommand=nie;var rie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({tagging:[,""]}),l;e.Tagging!==void 0&&(l=Xc(e.Tagging,n));let c;return e.Tagging!==void 0&&(c=Xc(e.Tagging,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketTaggingCommand=rie;var oie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-mfa":e.MFA,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({versioning:[,""]}),l;e.VersioningConfiguration!==void 0&&(l=EL(e.VersioningConfiguration,n));let c;return e.VersioningConfiguration!==void 0&&(c=EL(e.VersioningConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketVersioningCommand=oie;var sie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({website:[,""]}),l;e.WebsiteConfiguration!==void 0&&(l=bL(e.WebsiteConfiguration,n));let c;return e.WebsiteConfiguration!==void 0&&(c=bL(e.WebsiteConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketWebsiteCommand=sie;var iie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":e.ContentType||"application/octet-stream","x-amz-acl":e.ACL,"cache-control":e.CacheControl,"content-disposition":e.ContentDisposition,"content-encoding":e.ContentEncoding,"content-language":e.ContentLanguage,"content-length":[()=>P(e.ContentLength),()=>e.ContentLength.toString()],"content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-checksum-crc32":e.ChecksumCRC32,"x-amz-checksum-crc32c":e.ChecksumCRC32C,"x-amz-checksum-sha1":e.ChecksumSHA1,"x-amz-checksum-sha256":e.ChecksumSHA256,expires:[()=>P(e.Expires),()=>(0,d.dateToUtcString)(e.Expires).toString()],"x-amz-grant-full-control":e.GrantFullControl,"x-amz-grant-read":e.GrantRead,"x-amz-grant-read-acp":e.GrantReadACP,"x-amz-grant-write-acp":e.GrantWriteACP,"x-amz-server-side-encryption":e.ServerSideEncryption,"x-amz-storage-class":e.StorageClass,"x-amz-website-redirect-location":e.WebsiteRedirectLocation,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-server-side-encryption-aws-kms-key-id":e.SSEKMSKeyId,"x-amz-server-side-encryption-context":e.SSEKMSEncryptionContext,"x-amz-server-side-encryption-bucket-key-enabled":[()=>P(e.BucketKeyEnabled),()=>e.BucketKeyEnabled.toString()],"x-amz-request-payer":e.RequestPayer,"x-amz-tagging":e.Tagging,"x-amz-object-lock-mode":e.ObjectLockMode,"x-amz-object-lock-retain-until-date":[()=>P(e.ObjectLockRetainUntilDate),()=>(e.ObjectLockRetainUntilDate.toISOString().split(".")[0]+"Z").toString()],"x-amz-object-lock-legal-hold":e.ObjectLockLegalHoldStatus,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,...e.Metadata!==void 0&&Object.keys(e.Metadata).reduce((y,_)=>(y[`x-amz-meta-${_.toLowerCase()}`]=e.Metadata[_],y),{})}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"PutObject"]}),l;e.Body!==void 0&&(l=e.Body);let c;return e.Body!==void 0&&(c=e.Body,l=c),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutObjectCommand=iie;var aie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-acl":e.ACL,"content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-grant-full-control":e.GrantFullControl,"x-amz-grant-read":e.GrantRead,"x-amz-grant-read-acp":e.GrantReadACP,"x-amz-grant-write":e.GrantWrite,"x-amz-grant-write-acp":e.GrantWriteACP,"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({acl:[,""],versionId:[,e.VersionId]}),l;e.AccessControlPolicy!==void 0&&(l=ry(e.AccessControlPolicy,n));let c;return e.AccessControlPolicy!==void 0&&(c=ry(e.AccessControlPolicy,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutObjectAclCommand=aie;var cie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-request-payer":e.RequestPayer,"content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"legal-hold":[,""],versionId:[,e.VersionId]}),l;e.LegalHold!==void 0&&(l=pL(e.LegalHold,n));let c;return e.LegalHold!==void 0&&(c=pL(e.LegalHold,n),c=c.withName("LegalHold"),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutObjectLegalHoldCommand=cie;var die=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-request-payer":e.RequestPayer,"x-amz-bucket-object-lock-token":e.Token,"content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({"object-lock":[,""]}),l;e.ObjectLockConfiguration!==void 0&&(l=mL(e.ObjectLockConfiguration,n));let c;return e.ObjectLockConfiguration!==void 0&&(c=mL(e.ObjectLockConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutObjectLockConfigurationCommand=die;var lie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-request-payer":e.RequestPayer,"x-amz-bypass-governance-retention":[()=>P(e.BypassGovernanceRetention),()=>e.BypassGovernanceRetention.toString()],"content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({retention:[,""],versionId:[,e.VersionId]}),l;e.Retention!==void 0&&(l=fL(e.Retention,n));let c;return e.Retention!==void 0&&(c=fL(e.Retention,n),c=c.withName("Retention"),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutObjectRetentionCommand=lie;var uie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-request-payer":e.RequestPayer}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({tagging:[,""],versionId:[,e.VersionId]}),l;e.Tagging!==void 0&&(l=Xc(e.Tagging,n));let c;return e.Tagging!==void 0&&(c=Xc(e.Tagging,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutObjectTaggingCommand=uie;var mie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({publicAccessBlock:[,""]}),l;e.PublicAccessBlockConfiguration!==void 0&&(l=_L(e.PublicAccessBlockConfiguration,n));let c;return e.PublicAccessBlockConfiguration!==void 0&&(c=_L(e.PublicAccessBlockConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutPublicAccessBlockCommand=mie;var pie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-request-payer":e.RequestPayer,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({restore:[,""],"x-id":[,"RestoreObject"],versionId:[,e.VersionId]}),l;e.RestoreRequest!==void 0&&(l=CL(e.RestoreRequest,n));let c;return e.RestoreRequest!==void 0&&(c=CL(e.RestoreRequest,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,query:u,body:l})};p.se_RestoreObjectCommand=pie;var fie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({select:[,""],"select-type":[,"2"],"x-id":[,"SelectObjectContent"]}),l;l='';let c=new f.XmlNode("SelectObjectContentRequest");if(c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),e.Expression!==void 0){let y=f.XmlNode.of("Expression",e.Expression).withName("Expression");c.addChildNode(y)}if(e.ExpressionType!==void 0){let y=f.XmlNode.of("ExpressionType",e.ExpressionType).withName("ExpressionType");c.addChildNode(y)}if(e.InputSerialization!==void 0){let y=kL(e.InputSerialization,n).withName("InputSerialization");c.addChildNode(y)}if(e.OutputSerialization!==void 0){let y=AL(e.OutputSerialization,n).withName("OutputSerialization");c.addChildNode(y)}if(e.RequestProgress!==void 0){let y=Cue(e.RequestProgress,n).withName("RequestProgress");c.addChildNode(y)}if(e.ScanRange!==void 0){let y=vue(e.ScanRange,n).withName("ScanRange");c.addChildNode(y)}return l+=c.toString(),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,query:u,body:l})};p.se_SelectObjectContentCommand=fie;var yie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/octet-stream","content-length":[()=>P(e.ContentLength),()=>e.ContentLength.toString()],"content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-checksum-crc32":e.ChecksumCRC32,"x-amz-checksum-crc32c":e.ChecksumCRC32C,"x-amz-checksum-sha1":e.ChecksumSHA1,"x-amz-checksum-sha256":e.ChecksumSHA256,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"UploadPart"],partNumber:[(0,d.expectNonNull)(e.PartNumber,"PartNumber")!=null,()=>e.PartNumber.toString()],uploadId:[,(0,d.expectNonNull)(e.UploadId,"UploadId")]}),l;e.Body!==void 0&&(l=e.Body);let c;return e.Body!==void 0&&(c=e.Body,l=c),new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_UploadPartCommand=yie;var _ie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-copy-source":e.CopySource,"x-amz-copy-source-if-match":e.CopySourceIfMatch,"x-amz-copy-source-if-modified-since":[()=>P(e.CopySourceIfModifiedSince),()=>(0,d.dateToUtcString)(e.CopySourceIfModifiedSince).toString()],"x-amz-copy-source-if-none-match":e.CopySourceIfNoneMatch,"x-amz-copy-source-if-unmodified-since":[()=>P(e.CopySourceIfUnmodifiedSince),()=>(0,d.dateToUtcString)(e.CopySourceIfUnmodifiedSince).toString()],"x-amz-copy-source-range":e.CopySourceRange,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-copy-source-server-side-encryption-customer-algorithm":e.CopySourceSSECustomerAlgorithm,"x-amz-copy-source-server-side-encryption-customer-key":e.CopySourceSSECustomerKey,"x-amz-copy-source-server-side-encryption-customer-key-md5":e.CopySourceSSECustomerKeyMD5,"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-source-expected-bucket-owner":e.ExpectedSourceBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"UploadPartCopy"],partNumber:[(0,d.expectNonNull)(e.PartNumber,"PartNumber")!=null,()=>e.PartNumber.toString()],uploadId:[,(0,d.expectNonNull)(e.UploadId,"UploadId")]}),l;return new O.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_UploadPartCopyCommand=_ie;var gie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-content-sha256":"UNSIGNED-PAYLOAD","content-type":"application/octet-stream","x-amz-request-route":e.RequestRoute,"x-amz-request-token":e.RequestToken,"x-amz-fwd-status":[()=>P(e.StatusCode),()=>e.StatusCode.toString()],"x-amz-fwd-error-code":e.ErrorCode,"x-amz-fwd-error-message":e.ErrorMessage,"x-amz-fwd-header-accept-ranges":e.AcceptRanges,"x-amz-fwd-header-cache-control":e.CacheControl,"x-amz-fwd-header-content-disposition":e.ContentDisposition,"x-amz-fwd-header-content-encoding":e.ContentEncoding,"x-amz-fwd-header-content-language":e.ContentLanguage,"content-length":[()=>P(e.ContentLength),()=>e.ContentLength.toString()],"x-amz-fwd-header-content-range":e.ContentRange,"x-amz-fwd-header-content-type":e.ContentType,"x-amz-fwd-header-x-amz-checksum-crc32":e.ChecksumCRC32,"x-amz-fwd-header-x-amz-checksum-crc32c":e.ChecksumCRC32C,"x-amz-fwd-header-x-amz-checksum-sha1":e.ChecksumSHA1,"x-amz-fwd-header-x-amz-checksum-sha256":e.ChecksumSHA256,"x-amz-fwd-header-x-amz-delete-marker":[()=>P(e.DeleteMarker),()=>e.DeleteMarker.toString()],"x-amz-fwd-header-etag":e.ETag,"x-amz-fwd-header-expires":[()=>P(e.Expires),()=>(0,d.dateToUtcString)(e.Expires).toString()],"x-amz-fwd-header-x-amz-expiration":e.Expiration,"x-amz-fwd-header-last-modified":[()=>P(e.LastModified),()=>(0,d.dateToUtcString)(e.LastModified).toString()],"x-amz-fwd-header-x-amz-missing-meta":[()=>P(e.MissingMeta),()=>e.MissingMeta.toString()],"x-amz-fwd-header-x-amz-object-lock-mode":e.ObjectLockMode,"x-amz-fwd-header-x-amz-object-lock-legal-hold":e.ObjectLockLegalHoldStatus,"x-amz-fwd-header-x-amz-object-lock-retain-until-date":[()=>P(e.ObjectLockRetainUntilDate),()=>(e.ObjectLockRetainUntilDate.toISOString().split(".")[0]+"Z").toString()],"x-amz-fwd-header-x-amz-mp-parts-count":[()=>P(e.PartsCount),()=>e.PartsCount.toString()],"x-amz-fwd-header-x-amz-replication-status":e.ReplicationStatus,"x-amz-fwd-header-x-amz-request-charged":e.RequestCharged,"x-amz-fwd-header-x-amz-restore":e.Restore,"x-amz-fwd-header-x-amz-server-side-encryption":e.ServerSideEncryption,"x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id":e.SSEKMSKeyId,"x-amz-fwd-header-x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-fwd-header-x-amz-storage-class":e.StorageClass,"x-amz-fwd-header-x-amz-tagging-count":[()=>P(e.TagCount),()=>e.TagCount.toString()],"x-amz-fwd-header-x-amz-version-id":e.VersionId,"x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled":[()=>P(e.BucketKeyEnabled),()=>e.BucketKeyEnabled.toString()],...e.Metadata!==void 0&&Object.keys(e.Metadata).reduce((_,C)=>(_[`x-amz-meta-${C.toLowerCase()}`]=e.Metadata[C],_),{})}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/WriteGetObjectResponse`,u=(0,d.map)({"x-id":[,"WriteGetObjectResponse"]}),l;e.Body!==void 0&&(l=e.Body);let c;e.Body!==void 0&&(c=e.Body,l=c);let{hostname:y}=await n.endpoint();if(n.disableHostPrefix!==!0){if(y="{RequestRoute}."+y,e.RequestRoute===void 0)throw new Error("Empty value provided for input host prefix: RequestRoute.");if(y=y.replace("{RequestRoute}",e.RequestRoute),!(0,O.isValidHostname)(y))throw new Error("ValidationError: prefixed hostname must be hostname compatible.")}return new O.HttpRequest({protocol:r,hostname:y,port:o,method:"POST",headers:a,path:i,query:u,body:l})};p.se_WriteGetObjectResponseCommand=gie;var hie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Cie(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_AbortMultipartUploadCommand=hie;var Cie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body);switch(r){case"NoSuchUpload":case"com.amazonaws.s3#NoSuchUpload":throw await $de(t,n);default:let o=t.body;return q({output:e,parsedBody:o,errorCode:r})}},Sie=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Eie(e,n);let t=(0,d.map)({$metadata:I(e),Expiration:[,e.headers["x-amz-expiration"]],ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],VersionId:[,e.headers["x-amz-version-id"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.Bucket!==void 0&&(t.Bucket=(0,d.expectString)(r.Bucket)),r.ChecksumCRC32!==void 0&&(t.ChecksumCRC32=(0,d.expectString)(r.ChecksumCRC32)),r.ChecksumCRC32C!==void 0&&(t.ChecksumCRC32C=(0,d.expectString)(r.ChecksumCRC32C)),r.ChecksumSHA1!==void 0&&(t.ChecksumSHA1=(0,d.expectString)(r.ChecksumSHA1)),r.ChecksumSHA256!==void 0&&(t.ChecksumSHA256=(0,d.expectString)(r.ChecksumSHA256)),r.ETag!==void 0&&(t.ETag=(0,d.expectString)(r.ETag)),r.Key!==void 0&&(t.Key=(0,d.expectString)(r.Key)),r.Location!==void 0&&(t.Location=(0,d.expectString)(r.Location)),t};p.de_CompleteMultipartUploadCommand=Sie;var Eie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},bie=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Pie(e,n);let t=(0,d.map)({$metadata:I(e),Expiration:[,e.headers["x-amz-expiration"]],CopySourceVersionId:[,e.headers["x-amz-copy-source-version-id"]],VersionId:[,e.headers["x-amz-version-id"]],ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],SSECustomerAlgorithm:[,e.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,e.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],SSEKMSEncryptionContext:[,e.headers["x-amz-server-side-encryption-context"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectObject)(await te(e.body,n));return t.CopyObjectResult=ime(r,n),t};p.de_CopyObjectCommand=bie;var Pie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body);switch(r){case"ObjectNotInActiveTierError":case"com.amazonaws.s3#ObjectNotInActiveTierError":throw await Vde(t,n);default:let o=t.body;return q({output:e,parsedBody:o,errorCode:r})}},vie=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return xie(e,n);let t=(0,d.map)({$metadata:I(e),Location:[,e.headers.location]});return await(0,d.collectBody)(e.body,n),t};p.de_CreateBucketCommand=vie;var xie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body);switch(r){case"BucketAlreadyExists":case"com.amazonaws.s3#BucketAlreadyExists":throw await zde(t,n);case"BucketAlreadyOwnedByYou":case"com.amazonaws.s3#BucketAlreadyOwnedByYou":throw await Gde(t,n);default:let o=t.body;return q({output:e,parsedBody:o,errorCode:r})}},wie=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return kie(e,n);let t=(0,d.map)({$metadata:I(e),AbortDate:[()=>e.headers["x-amz-abort-date"]!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc7231DateTime)(e.headers["x-amz-abort-date"]))],AbortRuleId:[,e.headers["x-amz-abort-rule-id"]],ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],SSECustomerAlgorithm:[,e.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,e.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],SSEKMSEncryptionContext:[,e.headers["x-amz-server-side-encryption-context"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],RequestCharged:[,e.headers["x-amz-request-charged"]],ChecksumAlgorithm:[,e.headers["x-amz-checksum-algorithm"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.Bucket!==void 0&&(t.Bucket=(0,d.expectString)(r.Bucket)),r.Key!==void 0&&(t.Key=(0,d.expectString)(r.Key)),r.UploadId!==void 0&&(t.UploadId=(0,d.expectString)(r.UploadId)),t};p.de_CreateMultipartUploadCommand=wie;var kie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Aie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Iie(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketCommand=Aie;var Iie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Rie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Nie(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketAnalyticsConfigurationCommand=Rie;var Nie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Oie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Tie(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketCorsCommand=Oie;var Tie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},qie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Bie(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketEncryptionCommand=qie;var Bie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Mie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Die(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketIntelligentTieringConfigurationCommand=Mie;var Die=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Fie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Lie(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketInventoryConfigurationCommand=Fie;var Lie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},jie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Uie(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketLifecycleCommand=jie;var Uie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},zie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Gie(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketMetricsConfigurationCommand=zie;var Gie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Hie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return $ie(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketOwnershipControlsCommand=Hie;var $ie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Kie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Vie(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketPolicyCommand=Kie;var Vie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Xie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Wie(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketReplicationCommand=Xie;var Wie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Yie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Qie(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketTaggingCommand=Yie;var Qie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Jie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Zie(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketWebsiteCommand=Jie;var Zie=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},eae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return tae(e,n);let t=(0,d.map)({$metadata:I(e),DeleteMarker:[()=>e.headers["x-amz-delete-marker"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-delete-marker"])],VersionId:[,e.headers["x-amz-version-id"]],RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteObjectCommand=eae;var tae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},nae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return rae(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.Deleted===""?t.Deleted=[]:r.Deleted!==void 0&&(t.Deleted=mme((0,d.getArrayIfSingleItem)(r.Deleted),n)),r.Error===""?t.Errors=[]:r.Error!==void 0&&(t.Errors=Eme((0,d.getArrayIfSingleItem)(r.Error),n)),t};p.de_DeleteObjectsCommand=nae;var rae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},oae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return sae(e,n);let t=(0,d.map)({$metadata:I(e),VersionId:[,e.headers["x-amz-version-id"]]});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteObjectTaggingCommand=oae;var sae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},iae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return aae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeletePublicAccessBlockCommand=iae;var aae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},cae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return dae(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.Status!==void 0&&(t.Status=(0,d.expectString)(r.Status)),t};p.de_GetBucketAccelerateConfigurationCommand=cae;var dae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},lae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return uae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.AccessControlList===""?t.Grants=[]:r.AccessControlList!==void 0&&r.AccessControlList.Grant!==void 0&&(t.Grants=TL((0,d.getArrayIfSingleItem)(r.AccessControlList.Grant),n)),r.Owner!==void 0&&(t.Owner=Rr(r.Owner,n)),t};p.de_GetBucketAclCommand=lae;var uae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},mae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return pae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await te(e.body,n));return t.AnalyticsConfiguration=RL(r,n),t};p.de_GetBucketAnalyticsConfigurationCommand=mae;var pae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},fae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return yae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.CORSRule===""?t.CORSRules=[]:r.CORSRule!==void 0&&(t.CORSRules=dme((0,d.getArrayIfSingleItem)(r.CORSRule),n)),t};p.de_GetBucketCorsCommand=fae;var yae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},_ae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return gae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await te(e.body,n));return t.ServerSideEncryptionConfiguration=Bpe(r,n),t};p.de_GetBucketEncryptionCommand=_ae;var gae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},hae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Cae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await te(e.body,n));return t.IntelligentTieringConfiguration=BL(r,n),t};p.de_GetBucketIntelligentTieringConfigurationCommand=hae;var Cae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Sae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Eae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await te(e.body,n));return t.InventoryConfiguration=ML(r,n),t};p.de_GetBucketInventoryConfigurationCommand=Sae;var Eae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},bae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Pae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.Rule===""?t.Rules=[]:r.Rule!==void 0&&(t.Rules=Kme((0,d.getArrayIfSingleItem)(r.Rule),n)),t};p.de_GetBucketLifecycleConfigurationCommand=bae;var Pae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},vae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return xae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.LocationConstraint!==void 0&&(t.LocationConstraint=(0,d.expectString)(r.LocationConstraint)),t};p.de_GetBucketLocationCommand=vae;var xae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},wae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return kae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.LoggingEnabled!==void 0&&(t.LoggingEnabled=Vme(r.LoggingEnabled,n)),t};p.de_GetBucketLoggingCommand=wae;var kae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Aae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Iae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await te(e.body,n));return t.MetricsConfiguration=DL(r,n),t};p.de_GetBucketMetricsConfigurationCommand=Aae;var Iae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Rae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Nae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.EventBridgeConfiguration!==void 0&&(t.EventBridgeConfiguration=bme(r.EventBridgeConfiguration,n)),r.CloudFunctionConfiguration===""?t.LambdaFunctionConfigurations=[]:r.CloudFunctionConfiguration!==void 0&&(t.LambdaFunctionConfigurations=Ume((0,d.getArrayIfSingleItem)(r.CloudFunctionConfiguration),n)),r.QueueConfiguration===""?t.QueueConfigurations=[]:r.QueueConfiguration!==void 0&&(t.QueueConfigurations=Epe((0,d.getArrayIfSingleItem)(r.QueueConfiguration),n)),r.TopicConfiguration===""?t.TopicConfigurations=[]:r.TopicConfiguration!==void 0&&(t.TopicConfigurations=Ype((0,d.getArrayIfSingleItem)(r.TopicConfiguration),n)),t};p.de_GetBucketNotificationConfigurationCommand=Rae;var Nae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Oae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Tae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await te(e.body,n));return t.OwnershipControls=upe(r,n),t};p.de_GetBucketOwnershipControlsCommand=Oae;var Tae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},qae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Bae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=await UL(e.body,n);return t.Policy=(0,d.expectString)(r),t};p.de_GetBucketPolicyCommand=qae;var Bae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Mae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Dae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await te(e.body,n));return t.PolicyStatus=gpe(r,n),t};p.de_GetBucketPolicyStatusCommand=Mae;var Dae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Fae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Lae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await te(e.body,n));return t.ReplicationConfiguration=xpe(r,n),t};p.de_GetBucketReplicationCommand=Fae;var Lae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},jae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Uae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.Payer!==void 0&&(t.Payer=(0,d.expectString)(r.Payer)),t};p.de_GetBucketRequestPaymentCommand=jae;var Uae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},zae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Gae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.TagSet===""?t.TagSet=[]:r.TagSet!==void 0&&r.TagSet.Tag!==void 0&&(t.TagSet=io((0,d.getArrayIfSingleItem)(r.TagSet.Tag),n)),t};p.de_GetBucketTaggingCommand=zae;var Gae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Hae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return $ae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.MfaDelete!==void 0&&(t.MFADelete=(0,d.expectString)(r.MfaDelete)),r.Status!==void 0&&(t.Status=(0,d.expectString)(r.Status)),t};p.de_GetBucketVersioningCommand=Hae;var $ae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Kae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Vae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.ErrorDocument!==void 0&&(t.ErrorDocument=Sme(r.ErrorDocument,n)),r.IndexDocument!==void 0&&(t.IndexDocument=Ime(r.IndexDocument,n)),r.RedirectAllRequestsTo!==void 0&&(t.RedirectAllRequestsTo=Ppe(r.RedirectAllRequestsTo,n)),r.RoutingRules===""?t.RoutingRules=[]:r.RoutingRules!==void 0&&r.RoutingRules.RoutingRule!==void 0&&(t.RoutingRules=Ope((0,d.getArrayIfSingleItem)(r.RoutingRules.RoutingRule),n)),t};p.de_GetBucketWebsiteCommand=Kae;var Vae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Xae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Wae(e,n);let t=(0,d.map)({$metadata:I(e),DeleteMarker:[()=>e.headers["x-amz-delete-marker"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-delete-marker"])],AcceptRanges:[,e.headers["accept-ranges"]],Expiration:[,e.headers["x-amz-expiration"]],Restore:[,e.headers["x-amz-restore"]],LastModified:[()=>e.headers["last-modified"]!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc7231DateTime)(e.headers["last-modified"]))],ContentLength:[()=>e.headers["content-length"]!==void 0,()=>(0,d.strictParseLong)(e.headers["content-length"])],ETag:[,e.headers.etag],ChecksumCRC32:[,e.headers["x-amz-checksum-crc32"]],ChecksumCRC32C:[,e.headers["x-amz-checksum-crc32c"]],ChecksumSHA1:[,e.headers["x-amz-checksum-sha1"]],ChecksumSHA256:[,e.headers["x-amz-checksum-sha256"]],MissingMeta:[()=>e.headers["x-amz-missing-meta"]!==void 0,()=>(0,d.strictParseInt32)(e.headers["x-amz-missing-meta"])],VersionId:[,e.headers["x-amz-version-id"]],CacheControl:[,e.headers["cache-control"]],ContentDisposition:[,e.headers["content-disposition"]],ContentEncoding:[,e.headers["content-encoding"]],ContentLanguage:[,e.headers["content-language"]],ContentRange:[,e.headers["content-range"]],ContentType:[,e.headers["content-type"]],Expires:[()=>e.headers.expires!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc7231DateTime)(e.headers.expires))],WebsiteRedirectLocation:[,e.headers["x-amz-website-redirect-location"]],ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],SSECustomerAlgorithm:[,e.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,e.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],StorageClass:[,e.headers["x-amz-storage-class"]],RequestCharged:[,e.headers["x-amz-request-charged"]],ReplicationStatus:[,e.headers["x-amz-replication-status"]],PartsCount:[()=>e.headers["x-amz-mp-parts-count"]!==void 0,()=>(0,d.strictParseInt32)(e.headers["x-amz-mp-parts-count"])],TagCount:[()=>e.headers["x-amz-tagging-count"]!==void 0,()=>(0,d.strictParseInt32)(e.headers["x-amz-tagging-count"])],ObjectLockMode:[,e.headers["x-amz-object-lock-mode"]],ObjectLockRetainUntilDate:[()=>e.headers["x-amz-object-lock-retain-until-date"]!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.headers["x-amz-object-lock-retain-until-date"]))],ObjectLockLegalHoldStatus:[,e.headers["x-amz-object-lock-legal-hold"]],Metadata:[,Object.keys(e.headers).filter(o=>o.startsWith("x-amz-meta-")).reduce((o,s)=>(o[s.substring(11)]=e.headers[s],o),{})]}),r=e.body;return n.sdkStreamMixin(r),t.Body=r,t};p.de_GetObjectCommand=Xae;var Wae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body);switch(r){case"InvalidObjectState":case"com.amazonaws.s3#InvalidObjectState":throw await Hde(t,n);case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await oy(t,n);default:let o=t.body;return q({output:e,parsedBody:o,errorCode:r})}},Yae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Qae(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.AccessControlList===""?t.Grants=[]:r.AccessControlList!==void 0&&r.AccessControlList.Grant!==void 0&&(t.Grants=TL((0,d.getArrayIfSingleItem)(r.AccessControlList.Grant),n)),r.Owner!==void 0&&(t.Owner=Rr(r.Owner,n)),t};p.de_GetObjectAclCommand=Yae;var Qae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body);switch(r){case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await oy(t,n);default:let o=t.body;return q({output:e,parsedBody:o,errorCode:r})}},Jae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Zae(e,n);let t=(0,d.map)({$metadata:I(e),DeleteMarker:[()=>e.headers["x-amz-delete-marker"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-delete-marker"])],LastModified:[()=>e.headers["last-modified"]!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc7231DateTime)(e.headers["last-modified"]))],VersionId:[,e.headers["x-amz-version-id"]],RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.Checksum!==void 0&&(t.Checksum=nme(r.Checksum,n)),r.ETag!==void 0&&(t.ETag=(0,d.expectString)(r.ETag)),r.ObjectParts!==void 0&&(t.ObjectParts=kme(r.ObjectParts,n)),r.ObjectSize!==void 0&&(t.ObjectSize=(0,d.strictParseLong)(r.ObjectSize)),r.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(r.StorageClass)),t};p.de_GetObjectAttributesCommand=Jae;var Zae=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body);switch(r){case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await oy(t,n);default:let o=t.body;return q({output:e,parsedBody:o,errorCode:r})}},ece=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return tce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await te(e.body,n));return t.LegalHold=spe(r,n),t};p.de_GetObjectLegalHoldCommand=ece;var tce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},nce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return rce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await te(e.body,n));return t.ObjectLockConfiguration=ope(r,n),t};p.de_GetObjectLockConfigurationCommand=nce;var rce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},oce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return sce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await te(e.body,n));return t.Retention=ipe(r,n),t};p.de_GetObjectRetentionCommand=oce;var sce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},ice=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return ace(e,n);let t=(0,d.map)({$metadata:I(e),VersionId:[,e.headers["x-amz-version-id"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.TagSet===""?t.TagSet=[]:r.TagSet!==void 0&&r.TagSet.Tag!==void 0&&(t.TagSet=io((0,d.getArrayIfSingleItem)(r.TagSet.Tag),n)),t};p.de_GetObjectTaggingCommand=ice;var ace=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},cce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return dce(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=e.body;return n.sdkStreamMixin(r),t.Body=r,t};p.de_GetObjectTorrentCommand=cce;var dce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},lce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return uce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await te(e.body,n));return t.PublicAccessBlockConfiguration=Cpe(r,n),t};p.de_GetPublicAccessBlockCommand=lce;var uce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},mce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return pce(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_HeadBucketCommand=mce;var pce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body);switch(r){case"NotFound":case"com.amazonaws.s3#NotFound":throw await vL(t,n);default:let o=t.body;return q({output:e,parsedBody:o,errorCode:r})}},fce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return yce(e,n);let t=(0,d.map)({$metadata:I(e),DeleteMarker:[()=>e.headers["x-amz-delete-marker"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-delete-marker"])],AcceptRanges:[,e.headers["accept-ranges"]],Expiration:[,e.headers["x-amz-expiration"]],Restore:[,e.headers["x-amz-restore"]],ArchiveStatus:[,e.headers["x-amz-archive-status"]],LastModified:[()=>e.headers["last-modified"]!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc7231DateTime)(e.headers["last-modified"]))],ContentLength:[()=>e.headers["content-length"]!==void 0,()=>(0,d.strictParseLong)(e.headers["content-length"])],ChecksumCRC32:[,e.headers["x-amz-checksum-crc32"]],ChecksumCRC32C:[,e.headers["x-amz-checksum-crc32c"]],ChecksumSHA1:[,e.headers["x-amz-checksum-sha1"]],ChecksumSHA256:[,e.headers["x-amz-checksum-sha256"]],ETag:[,e.headers.etag],MissingMeta:[()=>e.headers["x-amz-missing-meta"]!==void 0,()=>(0,d.strictParseInt32)(e.headers["x-amz-missing-meta"])],VersionId:[,e.headers["x-amz-version-id"]],CacheControl:[,e.headers["cache-control"]],ContentDisposition:[,e.headers["content-disposition"]],ContentEncoding:[,e.headers["content-encoding"]],ContentLanguage:[,e.headers["content-language"]],ContentType:[,e.headers["content-type"]],Expires:[()=>e.headers.expires!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc7231DateTime)(e.headers.expires))],WebsiteRedirectLocation:[,e.headers["x-amz-website-redirect-location"]],ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],SSECustomerAlgorithm:[,e.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,e.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],StorageClass:[,e.headers["x-amz-storage-class"]],RequestCharged:[,e.headers["x-amz-request-charged"]],ReplicationStatus:[,e.headers["x-amz-replication-status"]],PartsCount:[()=>e.headers["x-amz-mp-parts-count"]!==void 0,()=>(0,d.strictParseInt32)(e.headers["x-amz-mp-parts-count"])],ObjectLockMode:[,e.headers["x-amz-object-lock-mode"]],ObjectLockRetainUntilDate:[()=>e.headers["x-amz-object-lock-retain-until-date"]!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.headers["x-amz-object-lock-retain-until-date"]))],ObjectLockLegalHoldStatus:[,e.headers["x-amz-object-lock-legal-hold"]],Metadata:[,Object.keys(e.headers).filter(r=>r.startsWith("x-amz-meta-")).reduce((r,o)=>(r[o.substring(11)]=e.headers[o],r),{})]});return await(0,d.collectBody)(e.body,n),t};p.de_HeadObjectCommand=fce;var yce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body);switch(r){case"NotFound":case"com.amazonaws.s3#NotFound":throw await vL(t,n);default:let o=t.body;return q({output:e,parsedBody:o,errorCode:r})}},_ce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return gce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.AnalyticsConfiguration===""?t.AnalyticsConfigurationList=[]:r.AnalyticsConfiguration!==void 0&&(t.AnalyticsConfigurationList=Yue((0,d.getArrayIfSingleItem)(r.AnalyticsConfiguration),n)),r.ContinuationToken!==void 0&&(t.ContinuationToken=(0,d.expectString)(r.ContinuationToken)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.NextContinuationToken!==void 0&&(t.NextContinuationToken=(0,d.expectString)(r.NextContinuationToken)),t};p.de_ListBucketAnalyticsConfigurationsCommand=_ce;var gce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},hce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Cce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.ContinuationToken!==void 0&&(t.ContinuationToken=(0,d.expectString)(r.ContinuationToken)),r.IntelligentTieringConfiguration===""?t.IntelligentTieringConfigurationList=[]:r.IntelligentTieringConfiguration!==void 0&&(t.IntelligentTieringConfigurationList=Nme((0,d.getArrayIfSingleItem)(r.IntelligentTieringConfiguration),n)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.NextContinuationToken!==void 0&&(t.NextContinuationToken=(0,d.expectString)(r.NextContinuationToken)),t};p.de_ListBucketIntelligentTieringConfigurationsCommand=hce;var Cce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Sce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Ece(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.ContinuationToken!==void 0&&(t.ContinuationToken=(0,d.expectString)(r.ContinuationToken)),r.InventoryConfiguration===""?t.InventoryConfigurationList=[]:r.InventoryConfiguration!==void 0&&(t.InventoryConfigurationList=Tme((0,d.getArrayIfSingleItem)(r.InventoryConfiguration),n)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.NextContinuationToken!==void 0&&(t.NextContinuationToken=(0,d.expectString)(r.NextContinuationToken)),t};p.de_ListBucketInventoryConfigurationsCommand=Sce;var Ece=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},bce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Pce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.ContinuationToken!==void 0&&(t.ContinuationToken=(0,d.expectString)(r.ContinuationToken)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.MetricsConfiguration===""?t.MetricsConfigurationList=[]:r.MetricsConfiguration!==void 0&&(t.MetricsConfigurationList=Yme((0,d.getArrayIfSingleItem)(r.MetricsConfiguration),n)),r.NextContinuationToken!==void 0&&(t.NextContinuationToken=(0,d.expectString)(r.NextContinuationToken)),t};p.de_ListBucketMetricsConfigurationsCommand=bce;var Pce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},vce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return xce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.Buckets===""?t.Buckets=[]:r.Buckets!==void 0&&r.Buckets.Bucket!==void 0&&(t.Buckets=tme((0,d.getArrayIfSingleItem)(r.Buckets.Bucket),n)),r.Owner!==void 0&&(t.Owner=Rr(r.Owner,n)),t};p.de_ListBucketsCommand=vce;var xce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},wce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return kce(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.Bucket!==void 0&&(t.Bucket=(0,d.expectString)(r.Bucket)),r.CommonPrefixes===""?t.CommonPrefixes=[]:r.CommonPrefixes!==void 0&&(t.CommonPrefixes=sy((0,d.getArrayIfSingleItem)(r.CommonPrefixes),n)),r.Delimiter!==void 0&&(t.Delimiter=(0,d.expectString)(r.Delimiter)),r.EncodingType!==void 0&&(t.EncodingType=(0,d.expectString)(r.EncodingType)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.KeyMarker!==void 0&&(t.KeyMarker=(0,d.expectString)(r.KeyMarker)),r.MaxUploads!==void 0&&(t.MaxUploads=(0,d.strictParseInt32)(r.MaxUploads)),r.NextKeyMarker!==void 0&&(t.NextKeyMarker=(0,d.expectString)(r.NextKeyMarker)),r.NextUploadIdMarker!==void 0&&(t.NextUploadIdMarker=(0,d.expectString)(r.NextUploadIdMarker)),r.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(r.Prefix)),r.UploadIdMarker!==void 0&&(t.UploadIdMarker=(0,d.expectString)(r.UploadIdMarker)),r.Upload===""?t.Uploads=[]:r.Upload!==void 0&&(t.Uploads=Zme((0,d.getArrayIfSingleItem)(r.Upload),n)),t};p.de_ListMultipartUploadsCommand=wce;var kce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Ace=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Ice(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.CommonPrefixes===""?t.CommonPrefixes=[]:r.CommonPrefixes!==void 0&&(t.CommonPrefixes=sy((0,d.getArrayIfSingleItem)(r.CommonPrefixes),n)),r.Contents===""?t.Contents=[]:r.Contents!==void 0&&(t.Contents=FL((0,d.getArrayIfSingleItem)(r.Contents),n)),r.Delimiter!==void 0&&(t.Delimiter=(0,d.expectString)(r.Delimiter)),r.EncodingType!==void 0&&(t.EncodingType=(0,d.expectString)(r.EncodingType)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.Marker!==void 0&&(t.Marker=(0,d.expectString)(r.Marker)),r.MaxKeys!==void 0&&(t.MaxKeys=(0,d.strictParseInt32)(r.MaxKeys)),r.Name!==void 0&&(t.Name=(0,d.expectString)(r.Name)),r.NextMarker!==void 0&&(t.NextMarker=(0,d.expectString)(r.NextMarker)),r.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(r.Prefix)),t};p.de_ListObjectsCommand=Ace;var Ice=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body);switch(r){case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await PL(t,n);default:let o=t.body;return q({output:e,parsedBody:o,errorCode:r})}},Rce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Nce(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.CommonPrefixes===""?t.CommonPrefixes=[]:r.CommonPrefixes!==void 0&&(t.CommonPrefixes=sy((0,d.getArrayIfSingleItem)(r.CommonPrefixes),n)),r.Contents===""?t.Contents=[]:r.Contents!==void 0&&(t.Contents=FL((0,d.getArrayIfSingleItem)(r.Contents),n)),r.ContinuationToken!==void 0&&(t.ContinuationToken=(0,d.expectString)(r.ContinuationToken)),r.Delimiter!==void 0&&(t.Delimiter=(0,d.expectString)(r.Delimiter)),r.EncodingType!==void 0&&(t.EncodingType=(0,d.expectString)(r.EncodingType)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.KeyCount!==void 0&&(t.KeyCount=(0,d.strictParseInt32)(r.KeyCount)),r.MaxKeys!==void 0&&(t.MaxKeys=(0,d.strictParseInt32)(r.MaxKeys)),r.Name!==void 0&&(t.Name=(0,d.expectString)(r.Name)),r.NextContinuationToken!==void 0&&(t.NextContinuationToken=(0,d.expectString)(r.NextContinuationToken)),r.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(r.Prefix)),r.StartAfter!==void 0&&(t.StartAfter=(0,d.expectString)(r.StartAfter)),t};p.de_ListObjectsV2Command=Rce;var Nce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body);switch(r){case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await PL(t,n);default:let o=t.body;return q({output:e,parsedBody:o,errorCode:r})}},Oce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Tce(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.CommonPrefixes===""?t.CommonPrefixes=[]:r.CommonPrefixes!==void 0&&(t.CommonPrefixes=sy((0,d.getArrayIfSingleItem)(r.CommonPrefixes),n)),r.DeleteMarker===""?t.DeleteMarkers=[]:r.DeleteMarker!==void 0&&(t.DeleteMarkers=yme((0,d.getArrayIfSingleItem)(r.DeleteMarker),n)),r.Delimiter!==void 0&&(t.Delimiter=(0,d.expectString)(r.Delimiter)),r.EncodingType!==void 0&&(t.EncodingType=(0,d.expectString)(r.EncodingType)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.KeyMarker!==void 0&&(t.KeyMarker=(0,d.expectString)(r.KeyMarker)),r.MaxKeys!==void 0&&(t.MaxKeys=(0,d.strictParseInt32)(r.MaxKeys)),r.Name!==void 0&&(t.Name=(0,d.expectString)(r.Name)),r.NextKeyMarker!==void 0&&(t.NextKeyMarker=(0,d.expectString)(r.NextKeyMarker)),r.NextVersionIdMarker!==void 0&&(t.NextVersionIdMarker=(0,d.expectString)(r.NextVersionIdMarker)),r.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(r.Prefix)),r.VersionIdMarker!==void 0&&(t.VersionIdMarker=(0,d.expectString)(r.VersionIdMarker)),r.Version===""?t.Versions=[]:r.Version!==void 0&&(t.Versions=lpe((0,d.getArrayIfSingleItem)(r.Version),n)),t};p.de_ListObjectVersionsCommand=Oce;var Tce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},qce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Bce(e,n);let t=(0,d.map)({$metadata:I(e),AbortDate:[()=>e.headers["x-amz-abort-date"]!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc7231DateTime)(e.headers["x-amz-abort-date"]))],AbortRuleId:[,e.headers["x-amz-abort-rule-id"]],RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.Bucket!==void 0&&(t.Bucket=(0,d.expectString)(r.Bucket)),r.ChecksumAlgorithm!==void 0&&(t.ChecksumAlgorithm=(0,d.expectString)(r.ChecksumAlgorithm)),r.Initiator!==void 0&&(t.Initiator=qL(r.Initiator,n)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.Key!==void 0&&(t.Key=(0,d.expectString)(r.Key)),r.MaxParts!==void 0&&(t.MaxParts=(0,d.strictParseInt32)(r.MaxParts)),r.NextPartNumberMarker!==void 0&&(t.NextPartNumberMarker=(0,d.expectString)(r.NextPartNumberMarker)),r.Owner!==void 0&&(t.Owner=Rr(r.Owner,n)),r.PartNumberMarker!==void 0&&(t.PartNumberMarker=(0,d.expectString)(r.PartNumberMarker)),r.Part===""?t.Parts=[]:r.Part!==void 0&&(t.Parts=ype((0,d.getArrayIfSingleItem)(r.Part),n)),r.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(r.StorageClass)),r.UploadId!==void 0&&(t.UploadId=(0,d.expectString)(r.UploadId)),t};p.de_ListPartsCommand=qce;var Bce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Mce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Dce(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketAccelerateConfigurationCommand=Mce;var Dce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Fce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Lce(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketAclCommand=Fce;var Lce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},jce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Uce(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketAnalyticsConfigurationCommand=jce;var Uce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},zce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Gce(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketCorsCommand=zce;var Gce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Hce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return $ce(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketEncryptionCommand=Hce;var $ce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Kce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Vce(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketIntelligentTieringConfigurationCommand=Kce;var Vce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Xce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Wce(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketInventoryConfigurationCommand=Xce;var Wce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Yce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Qce(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketLifecycleConfigurationCommand=Yce;var Qce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Jce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Zce(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketLoggingCommand=Jce;var Zce=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},ede=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return tde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketMetricsConfigurationCommand=ede;var tde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},nde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return rde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketNotificationConfigurationCommand=nde;var rde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},ode=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return sde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketOwnershipControlsCommand=ode;var sde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},ide=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return ade(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketPolicyCommand=ide;var ade=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},cde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return dde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketReplicationCommand=cde;var dde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},lde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return ude(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketRequestPaymentCommand=lde;var ude=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},mde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return pde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketTaggingCommand=mde;var pde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},fde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return yde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketVersioningCommand=fde;var yde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},_de=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return gde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketWebsiteCommand=_de;var gde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},hde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Cde(e,n);let t=(0,d.map)({$metadata:I(e),Expiration:[,e.headers["x-amz-expiration"]],ETag:[,e.headers.etag],ChecksumCRC32:[,e.headers["x-amz-checksum-crc32"]],ChecksumCRC32C:[,e.headers["x-amz-checksum-crc32c"]],ChecksumSHA1:[,e.headers["x-amz-checksum-sha1"]],ChecksumSHA256:[,e.headers["x-amz-checksum-sha256"]],ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],VersionId:[,e.headers["x-amz-version-id"]],SSECustomerAlgorithm:[,e.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,e.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],SSEKMSEncryptionContext:[,e.headers["x-amz-server-side-encryption-context"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_PutObjectCommand=hde;var Cde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Sde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Ede(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_PutObjectAclCommand=Sde;var Ede=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body);switch(r){case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await oy(t,n);default:let o=t.body;return q({output:e,parsedBody:o,errorCode:r})}},bde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Pde(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_PutObjectLegalHoldCommand=bde;var Pde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},vde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return xde(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_PutObjectLockConfigurationCommand=vde;var xde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},wde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return kde(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_PutObjectRetentionCommand=wde;var kde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Ade=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Ide(e,n);let t=(0,d.map)({$metadata:I(e),VersionId:[,e.headers["x-amz-version-id"]]});return await(0,d.collectBody)(e.body,n),t};p.de_PutObjectTaggingCommand=Ade;var Ide=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Rde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Nde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutPublicAccessBlockCommand=Rde;var Nde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Ode=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Tde(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]],RestoreOutputPath:[,e.headers["x-amz-restore-output-path"]]});return await(0,d.collectBody)(e.body,n),t};p.de_RestoreObjectCommand=Ode;var Tde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body);switch(r){case"ObjectAlreadyInActiveTierError":case"com.amazonaws.s3#ObjectAlreadyInActiveTierError":throw await Kde(t,n);default:let o=t.body;return q({output:e,parsedBody:o,errorCode:r})}},qde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Bde(e,n);let t=(0,d.map)({$metadata:I(e)}),r=e.body;return t.Payload=Xde(r,n),t};p.de_SelectObjectContentCommand=qde;var Bde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Mde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Dde(e,n);let t=(0,d.map)({$metadata:I(e),ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],ETag:[,e.headers.etag],ChecksumCRC32:[,e.headers["x-amz-checksum-crc32"]],ChecksumCRC32C:[,e.headers["x-amz-checksum-crc32c"]],ChecksumSHA1:[,e.headers["x-amz-checksum-sha1"]],ChecksumSHA256:[,e.headers["x-amz-checksum-sha256"]],SSECustomerAlgorithm:[,e.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,e.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_UploadPartCommand=Mde;var Dde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},Fde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Lde(e,n);let t=(0,d.map)({$metadata:I(e),CopySourceVersionId:[,e.headers["x-amz-copy-source-version-id"]],ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],SSECustomerAlgorithm:[,e.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,e.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectObject)(await te(e.body,n));return t.CopyPartResult=ame(r,n),t};p.de_UploadPartCopyCommand=Fde;var Lde=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},jde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Ude(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_WriteGetObjectResponseCommand=jde;var Ude=async(e,n)=>{let t={...e,body:await B(e.body,n)},r=M(e,t.body),o=t.body;return q({output:e,parsedBody:o,errorCode:r})},q=(0,d.withBaseException)(Ooe.S3ServiceException),zde=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Rt.BucketAlreadyExists({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},Gde=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Rt.BucketAlreadyOwnedByYou({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},Hde=async(e,n)=>{let t=(0,d.map)({}),r=e.body;r.AccessTier!==void 0&&(t.AccessTier=(0,d.expectString)(r.AccessTier)),r.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(r.StorageClass));let o=new Rt.InvalidObjectState({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},PL=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Rt.NoSuchBucket({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},oy=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Rt.NoSuchKey({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},$de=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Rt.NoSuchUpload({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},vL=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Rt.NotFound({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},Kde=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Noe.ObjectAlreadyInActiveTierError({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},Vde=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Rt.ObjectNotInActiveTierError({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},Xde=(e,n)=>n.eventStreamMarshaller.deserialize(e,async t=>t.Records!=null?{Records:await Jde(t.Records,n)}:t.Stats!=null?{Stats:await Zde(t.Stats,n)}:t.Progress!=null?{Progress:await Qde(t.Progress,n)}:t.Cont!=null?{Cont:await Wde(t.Cont,n)}:t.End!=null?{End:await Yde(t.End,n)}:{$unknown:e}),Wde=async(e,n)=>{let t={},r=await te(e.body,n);return Object.assign(t,sme(r,n)),t},Yde=async(e,n)=>{let t={},r=await te(e.body,n);return Object.assign(t,hme(r,n)),t},Qde=async(e,n)=>{let t={},r=await te(e.body,n);return t.Details=hpe(r,n),t},Jde=async(e,n)=>{let t={};return t.Payload=e.body,t},Zde=async(e,n)=>{let t={},r=await te(e.body,n);return t.Details=zpe(r,n),t},ele=(e,n)=>{let t=new f.XmlNode("AbortIncompleteMultipartUpload");if(e.DaysAfterInitiation!=null){let r=f.XmlNode.of("DaysAfterInitiation",String(e.DaysAfterInitiation)).withName("DaysAfterInitiation");t.addChildNode(r)}return t},eL=(e,n)=>{let t=new f.XmlNode("AccelerateConfiguration");if(e.Status!=null){let r=f.XmlNode.of("BucketAccelerateStatus",e.Status).withName("Status");t.addChildNode(r)}return t},ry=(e,n)=>{let t=new f.XmlNode("AccessControlPolicy");if(e.Grants!=null){let r=wL(e.Grants,n),o=new f.XmlNode("AccessControlList");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}if(e.Owner!=null){let r=sue(e.Owner,n).withName("Owner");t.addChildNode(r)}return t},tle=(e,n)=>{let t=new f.XmlNode("AccessControlTranslation");if(e.Owner!=null){let r=f.XmlNode.of("OwnerOverride",e.Owner).withName("Owner");t.addChildNode(r)}return t},nle=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("AllowedHeader",t).withName("member")),rle=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("AllowedMethod",t).withName("member")),ole=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("AllowedOrigin",t).withName("member")),sle=(e,n)=>{let t=new f.XmlNode("AnalyticsAndOperator");if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}return e.Tags!=null&&ks(e.Tags,n).map(o=>{o=o.withName("Tag"),t.addChildNode(o)}),t},tL=(e,n)=>{let t=new f.XmlNode("AnalyticsConfiguration");if(e.Id!=null){let r=f.XmlNode.of("AnalyticsId",e.Id).withName("Id");t.addChildNode(r)}if(e.Filter!=null){let r=ale(e.Filter,n).withName("Filter");t.addChildNode(r)}if(e.StorageClassAnalysis!=null){let r=Tue(e.StorageClassAnalysis,n).withName("StorageClassAnalysis");t.addChildNode(r)}return t},ile=(e,n)=>{let t=new f.XmlNode("AnalyticsExportDestination");if(e.S3BucketDestination!=null){let r=cle(e.S3BucketDestination,n).withName("S3BucketDestination");t.addChildNode(r)}return t},ale=(e,n)=>{let t=new f.XmlNode("AnalyticsFilter");return Rt.AnalyticsFilter.visit(e,{Prefix:r=>{let o=f.XmlNode.of("Prefix",r).withName("Prefix");t.addChildNode(o)},Tag:r=>{let o=ws(r,n).withName("Tag");t.addChildNode(o)},And:r=>{let o=sle(r,n).withName("And");t.addChildNode(o)},_:(r,o)=>{if(!(o instanceof f.XmlNode||o instanceof f.XmlText))throw new Error("Unable to serialize unknown union members in XML.");t.addChildNode(new f.XmlNode(r).addChildNode(o))}}),t},cle=(e,n)=>{let t=new f.XmlNode("AnalyticsS3BucketDestination");if(e.Format!=null){let r=f.XmlNode.of("AnalyticsS3ExportFileFormat",e.Format).withName("Format");t.addChildNode(r)}if(e.BucketAccountId!=null){let r=f.XmlNode.of("AccountId",e.BucketAccountId).withName("BucketAccountId");t.addChildNode(r)}if(e.Bucket!=null){let r=f.XmlNode.of("BucketName",e.Bucket).withName("Bucket");t.addChildNode(r)}if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}return t},nL=(e,n)=>{let t=new f.XmlNode("BucketLifecycleConfiguration");return e.Rules!=null&&Kle(e.Rules,n).map(o=>{o=o.withName("Rule"),t.addChildNode(o)}),t},rL=(e,n)=>{let t=new f.XmlNode("BucketLoggingStatus");if(e.LoggingEnabled!=null){let r=Vle(e.LoggingEnabled,n).withName("LoggingEnabled");t.addChildNode(r)}return t},oL=(e,n)=>{let t=new f.XmlNode("CompletedMultipartUpload");return e.Parts!=null&&lle(e.Parts,n).map(o=>{o=o.withName("Part"),t.addChildNode(o)}),t},dle=(e,n)=>{let t=new f.XmlNode("CompletedPart");if(e.ETag!=null){let r=f.XmlNode.of("ETag",e.ETag).withName("ETag");t.addChildNode(r)}if(e.ChecksumCRC32!=null){let r=f.XmlNode.of("ChecksumCRC32",e.ChecksumCRC32).withName("ChecksumCRC32");t.addChildNode(r)}if(e.ChecksumCRC32C!=null){let r=f.XmlNode.of("ChecksumCRC32C",e.ChecksumCRC32C).withName("ChecksumCRC32C");t.addChildNode(r)}if(e.ChecksumSHA1!=null){let r=f.XmlNode.of("ChecksumSHA1",e.ChecksumSHA1).withName("ChecksumSHA1");t.addChildNode(r)}if(e.ChecksumSHA256!=null){let r=f.XmlNode.of("ChecksumSHA256",e.ChecksumSHA256).withName("ChecksumSHA256");t.addChildNode(r)}if(e.PartNumber!=null){let r=f.XmlNode.of("PartNumber",String(e.PartNumber)).withName("PartNumber");t.addChildNode(r)}return t},lle=(e,n)=>e.filter(t=>t!=null).map(t=>dle(t,n).withName("member")),ule=(e,n)=>{let t=new f.XmlNode("Condition");if(e.HttpErrorCodeReturnedEquals!=null){let r=f.XmlNode.of("HttpErrorCodeReturnedEquals",e.HttpErrorCodeReturnedEquals).withName("HttpErrorCodeReturnedEquals");t.addChildNode(r)}if(e.KeyPrefixEquals!=null){let r=f.XmlNode.of("KeyPrefixEquals",e.KeyPrefixEquals).withName("KeyPrefixEquals");t.addChildNode(r)}return t},sL=(e,n)=>{let t=new f.XmlNode("CORSConfiguration");return e.CORSRules!=null&&ple(e.CORSRules,n).map(o=>{o=o.withName("CORSRule"),t.addChildNode(o)}),t},mle=(e,n)=>{let t=new f.XmlNode("CORSRule");if(e.ID!=null){let r=f.XmlNode.of("ID",e.ID).withName("ID");t.addChildNode(r)}if(e.AllowedHeaders!=null&&nle(e.AllowedHeaders,n).map(o=>{o=o.withName("AllowedHeader"),t.addChildNode(o)}),e.AllowedMethods!=null&&rle(e.AllowedMethods,n).map(o=>{o=o.withName("AllowedMethod"),t.addChildNode(o)}),e.AllowedOrigins!=null&&ole(e.AllowedOrigins,n).map(o=>{o=o.withName("AllowedOrigin"),t.addChildNode(o)}),e.ExposeHeaders!=null&&vle(e.ExposeHeaders,n).map(o=>{o=o.withName("ExposeHeader"),t.addChildNode(o)}),e.MaxAgeSeconds!=null){let r=f.XmlNode.of("MaxAgeSeconds",String(e.MaxAgeSeconds)).withName("MaxAgeSeconds");t.addChildNode(r)}return t},ple=(e,n)=>e.filter(t=>t!=null).map(t=>mle(t,n).withName("member")),iL=(e,n)=>{let t=new f.XmlNode("CreateBucketConfiguration");if(e.LocationConstraint!=null){let r=f.XmlNode.of("BucketLocationConstraint",e.LocationConstraint).withName("LocationConstraint");t.addChildNode(r)}return t},fle=(e,n)=>{let t=new f.XmlNode("CSVInput");if(e.FileHeaderInfo!=null){let r=f.XmlNode.of("FileHeaderInfo",e.FileHeaderInfo).withName("FileHeaderInfo");t.addChildNode(r)}if(e.Comments!=null){let r=f.XmlNode.of("Comments",e.Comments).withName("Comments");t.addChildNode(r)}if(e.QuoteEscapeCharacter!=null){let r=f.XmlNode.of("QuoteEscapeCharacter",e.QuoteEscapeCharacter).withName("QuoteEscapeCharacter");t.addChildNode(r)}if(e.RecordDelimiter!=null){let r=f.XmlNode.of("RecordDelimiter",e.RecordDelimiter).withName("RecordDelimiter");t.addChildNode(r)}if(e.FieldDelimiter!=null){let r=f.XmlNode.of("FieldDelimiter",e.FieldDelimiter).withName("FieldDelimiter");t.addChildNode(r)}if(e.QuoteCharacter!=null){let r=f.XmlNode.of("QuoteCharacter",e.QuoteCharacter).withName("QuoteCharacter");t.addChildNode(r)}if(e.AllowQuotedRecordDelimiter!=null){let r=f.XmlNode.of("AllowQuotedRecordDelimiter",String(e.AllowQuotedRecordDelimiter)).withName("AllowQuotedRecordDelimiter");t.addChildNode(r)}return t},yle=(e,n)=>{let t=new f.XmlNode("CSVOutput");if(e.QuoteFields!=null){let r=f.XmlNode.of("QuoteFields",e.QuoteFields).withName("QuoteFields");t.addChildNode(r)}if(e.QuoteEscapeCharacter!=null){let r=f.XmlNode.of("QuoteEscapeCharacter",e.QuoteEscapeCharacter).withName("QuoteEscapeCharacter");t.addChildNode(r)}if(e.RecordDelimiter!=null){let r=f.XmlNode.of("RecordDelimiter",e.RecordDelimiter).withName("RecordDelimiter");t.addChildNode(r)}if(e.FieldDelimiter!=null){let r=f.XmlNode.of("FieldDelimiter",e.FieldDelimiter).withName("FieldDelimiter");t.addChildNode(r)}if(e.QuoteCharacter!=null){let r=f.XmlNode.of("QuoteCharacter",e.QuoteCharacter).withName("QuoteCharacter");t.addChildNode(r)}return t},_le=(e,n)=>{let t=new f.XmlNode("DefaultRetention");if(e.Mode!=null){let r=f.XmlNode.of("ObjectLockRetentionMode",e.Mode).withName("Mode");t.addChildNode(r)}if(e.Days!=null){let r=f.XmlNode.of("Days",String(e.Days)).withName("Days");t.addChildNode(r)}if(e.Years!=null){let r=f.XmlNode.of("Years",String(e.Years)).withName("Years");t.addChildNode(r)}return t},aL=(e,n)=>{let t=new f.XmlNode("Delete");if(e.Objects!=null&&nue(e.Objects,n).map(o=>{o=o.withName("Object"),t.addChildNode(o)}),e.Quiet!=null){let r=f.XmlNode.of("Quiet",String(e.Quiet)).withName("Quiet");t.addChildNode(r)}return t},gle=(e,n)=>{let t=new f.XmlNode("DeleteMarkerReplication");if(e.Status!=null){let r=f.XmlNode.of("DeleteMarkerReplicationStatus",e.Status).withName("Status");t.addChildNode(r)}return t},hle=(e,n)=>{let t=new f.XmlNode("Destination");if(e.Bucket!=null){let r=f.XmlNode.of("BucketName",e.Bucket).withName("Bucket");t.addChildNode(r)}if(e.Account!=null){let r=f.XmlNode.of("AccountId",e.Account).withName("Account");t.addChildNode(r)}if(e.StorageClass!=null){let r=f.XmlNode.of("StorageClass",e.StorageClass).withName("StorageClass");t.addChildNode(r)}if(e.AccessControlTranslation!=null){let r=tle(e.AccessControlTranslation,n).withName("AccessControlTranslation");t.addChildNode(r)}if(e.EncryptionConfiguration!=null){let r=Sle(e.EncryptionConfiguration,n).withName("EncryptionConfiguration");t.addChildNode(r)}if(e.ReplicationTime!=null){let r=hue(e.ReplicationTime,n).withName("ReplicationTime");t.addChildNode(r)}if(e.Metrics!=null){let r=Wle(e.Metrics,n).withName("Metrics");t.addChildNode(r)}return t},Cle=(e,n)=>{let t=new f.XmlNode("Encryption");if(e.EncryptionType!=null){let r=f.XmlNode.of("ServerSideEncryption",e.EncryptionType).withName("EncryptionType");t.addChildNode(r)}if(e.KMSKeyId!=null){let r=f.XmlNode.of("SSEKMSKeyId",e.KMSKeyId).withName("KMSKeyId");t.addChildNode(r)}if(e.KMSContext!=null){let r=f.XmlNode.of("KMSContext",e.KMSContext).withName("KMSContext");t.addChildNode(r)}return t},Sle=(e,n)=>{let t=new f.XmlNode("EncryptionConfiguration");if(e.ReplicaKmsKeyID!=null){let r=f.XmlNode.of("ReplicaKmsKeyID",e.ReplicaKmsKeyID).withName("ReplicaKmsKeyID");t.addChildNode(r)}return t},Ele=(e,n)=>{let t=new f.XmlNode("ErrorDocument");if(e.Key!=null){let r=f.XmlNode.of("ObjectKey",e.Key).withName("Key");t.addChildNode(r)}return t},ble=(e,n)=>new f.XmlNode("EventBridgeConfiguration"),m0=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("Event",t).withName("member")),Ple=(e,n)=>{let t=new f.XmlNode("ExistingObjectReplication");if(e.Status!=null){let r=f.XmlNode.of("ExistingObjectReplicationStatus",e.Status).withName("Status");t.addChildNode(r)}return t},vle=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("ExposeHeader",t).withName("member")),xle=(e,n)=>{let t=new f.XmlNode("FilterRule");if(e.Name!=null){let r=f.XmlNode.of("FilterRuleName",e.Name).withName("Name");t.addChildNode(r)}if(e.Value!=null){let r=f.XmlNode.of("FilterRuleValue",e.Value).withName("Value");t.addChildNode(r)}return t},wle=(e,n)=>e.filter(t=>t!=null).map(t=>xle(t,n).withName("member")),kle=(e,n)=>{let t=new f.XmlNode("GlacierJobParameters");if(e.Tier!=null){let r=f.XmlNode.of("Tier",e.Tier).withName("Tier");t.addChildNode(r)}return t},Ale=(e,n)=>{let t=new f.XmlNode("Grant");if(e.Grantee!=null){let r=xL(e.Grantee,n).withName("Grantee");r.addAttribute("xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),t.addChildNode(r)}if(e.Permission!=null){let r=f.XmlNode.of("Permission",e.Permission).withName("Permission");t.addChildNode(r)}return t},xL=(e,n)=>{let t=new f.XmlNode("Grantee");if(e.DisplayName!=null){let r=f.XmlNode.of("DisplayName",e.DisplayName).withName("DisplayName");t.addChildNode(r)}if(e.EmailAddress!=null){let r=f.XmlNode.of("EmailAddress",e.EmailAddress).withName("EmailAddress");t.addChildNode(r)}if(e.ID!=null){let r=f.XmlNode.of("ID",e.ID).withName("ID");t.addChildNode(r)}if(e.URI!=null){let r=f.XmlNode.of("URI",e.URI).withName("URI");t.addChildNode(r)}return e.Type!=null&&t.addAttribute("xsi:type",e.Type),t},wL=(e,n)=>e.filter(t=>t!=null).map(t=>Ale(t,n).withName("Grant")),Ile=(e,n)=>{let t=new f.XmlNode("IndexDocument");if(e.Suffix!=null){let r=f.XmlNode.of("Suffix",e.Suffix).withName("Suffix");t.addChildNode(r)}return t},kL=(e,n)=>{let t=new f.XmlNode("InputSerialization");if(e.CSV!=null){let r=fle(e.CSV,n).withName("CSV");t.addChildNode(r)}if(e.CompressionType!=null){let r=f.XmlNode.of("CompressionType",e.CompressionType).withName("CompressionType");t.addChildNode(r)}if(e.JSON!=null){let r=Fle(e.JSON,n).withName("JSON");t.addChildNode(r)}if(e.Parquet!=null){let r=cue(e.Parquet,n).withName("Parquet");t.addChildNode(r)}return t},Rle=(e,n)=>{let t=new f.XmlNode("IntelligentTieringAndOperator");if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}return e.Tags!=null&&ks(e.Tags,n).map(o=>{o=o.withName("Tag"),t.addChildNode(o)}),t},cL=(e,n)=>{let t=new f.XmlNode("IntelligentTieringConfiguration");if(e.Id!=null){let r=f.XmlNode.of("IntelligentTieringId",e.Id).withName("Id");t.addChildNode(r)}if(e.Filter!=null){let r=Nle(e.Filter,n).withName("Filter");t.addChildNode(r)}if(e.Status!=null){let r=f.XmlNode.of("IntelligentTieringStatus",e.Status).withName("Status");t.addChildNode(r)}return e.Tierings!=null&&Fue(e.Tierings,n).map(o=>{o=o.withName("Tiering"),t.addChildNode(o)}),t},Nle=(e,n)=>{let t=new f.XmlNode("IntelligentTieringFilter");if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}if(e.Tag!=null){let r=ws(e.Tag,n).withName("Tag");t.addChildNode(r)}if(e.And!=null){let r=Rle(e.And,n).withName("And");t.addChildNode(r)}return t},dL=(e,n)=>{let t=new f.XmlNode("InventoryConfiguration");if(e.Destination!=null){let r=Ole(e.Destination,n).withName("Destination");t.addChildNode(r)}if(e.IsEnabled!=null){let r=f.XmlNode.of("IsEnabled",String(e.IsEnabled)).withName("IsEnabled");t.addChildNode(r)}if(e.Filter!=null){let r=qle(e.Filter,n).withName("Filter");t.addChildNode(r)}if(e.Id!=null){let r=f.XmlNode.of("InventoryId",e.Id).withName("Id");t.addChildNode(r)}if(e.IncludedObjectVersions!=null){let r=f.XmlNode.of("InventoryIncludedObjectVersions",e.IncludedObjectVersions).withName("IncludedObjectVersions");t.addChildNode(r)}if(e.OptionalFields!=null){let r=Ble(e.OptionalFields,n),o=new f.XmlNode("OptionalFields");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}if(e.Schedule!=null){let r=Dle(e.Schedule,n).withName("Schedule");t.addChildNode(r)}return t},Ole=(e,n)=>{let t=new f.XmlNode("InventoryDestination");if(e.S3BucketDestination!=null){let r=Mle(e.S3BucketDestination,n).withName("S3BucketDestination");t.addChildNode(r)}return t},Tle=(e,n)=>{let t=new f.XmlNode("InventoryEncryption");if(e.SSES3!=null){let r=Oue(e.SSES3,n).withName("SSE-S3");t.addChildNode(r)}if(e.SSEKMS!=null){let r=Rue(e.SSEKMS,n).withName("SSE-KMS");t.addChildNode(r)}return t},qle=(e,n)=>{let t=new f.XmlNode("InventoryFilter");if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}return t},Ble=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("InventoryOptionalField",t).withName("Field")),Mle=(e,n)=>{let t=new f.XmlNode("InventoryS3BucketDestination");if(e.AccountId!=null){let r=f.XmlNode.of("AccountId",e.AccountId).withName("AccountId");t.addChildNode(r)}if(e.Bucket!=null){let r=f.XmlNode.of("BucketName",e.Bucket).withName("Bucket");t.addChildNode(r)}if(e.Format!=null){let r=f.XmlNode.of("InventoryFormat",e.Format).withName("Format");t.addChildNode(r)}if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}if(e.Encryption!=null){let r=Tle(e.Encryption,n).withName("Encryption");t.addChildNode(r)}return t},Dle=(e,n)=>{let t=new f.XmlNode("InventorySchedule");if(e.Frequency!=null){let r=f.XmlNode.of("InventoryFrequency",e.Frequency).withName("Frequency");t.addChildNode(r)}return t},Fle=(e,n)=>{let t=new f.XmlNode("JSONInput");if(e.Type!=null){let r=f.XmlNode.of("JSONType",e.Type).withName("Type");t.addChildNode(r)}return t},Lle=(e,n)=>{let t=new f.XmlNode("JSONOutput");if(e.RecordDelimiter!=null){let r=f.XmlNode.of("RecordDelimiter",e.RecordDelimiter).withName("RecordDelimiter");t.addChildNode(r)}return t},jle=(e,n)=>{let t=new f.XmlNode("LambdaFunctionConfiguration");if(e.Id!=null){let r=f.XmlNode.of("NotificationId",e.Id).withName("Id");t.addChildNode(r)}if(e.LambdaFunctionArn!=null){let r=f.XmlNode.of("LambdaFunctionArn",e.LambdaFunctionArn).withName("CloudFunction");t.addChildNode(r)}if(e.Events!=null&&m0(e.Events,n).map(o=>{o=o.withName("Event"),t.addChildNode(o)}),e.Filter!=null){let r=p0(e.Filter,n).withName("Filter");t.addChildNode(r)}return t},Ule=(e,n)=>e.filter(t=>t!=null).map(t=>jle(t,n).withName("member")),zle=(e,n)=>{let t=new f.XmlNode("LifecycleExpiration");if(e.Date!=null){let r=f.XmlNode.of("Date",(e.Date.toISOString().split(".")[0]+"Z").toString()).withName("Date");t.addChildNode(r)}if(e.Days!=null){let r=f.XmlNode.of("Days",String(e.Days)).withName("Days");t.addChildNode(r)}if(e.ExpiredObjectDeleteMarker!=null){let r=f.XmlNode.of("ExpiredObjectDeleteMarker",String(e.ExpiredObjectDeleteMarker)).withName("ExpiredObjectDeleteMarker");t.addChildNode(r)}return t},Gle=(e,n)=>{let t=new f.XmlNode("LifecycleRule");if(e.Expiration!=null){let r=zle(e.Expiration,n).withName("Expiration");t.addChildNode(r)}if(e.ID!=null){let r=f.XmlNode.of("ID",e.ID).withName("ID");t.addChildNode(r)}if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}if(e.Filter!=null){let r=$le(e.Filter,n).withName("Filter");t.addChildNode(r)}if(e.Status!=null){let r=f.XmlNode.of("ExpirationStatus",e.Status).withName("Status");t.addChildNode(r)}if(e.Transitions!=null&&zue(e.Transitions,n).map(o=>{o=o.withName("Transition"),t.addChildNode(o)}),e.NoncurrentVersionTransitions!=null&&eue(e.NoncurrentVersionTransitions,n).map(o=>{o=o.withName("NoncurrentVersionTransition"),t.addChildNode(o)}),e.NoncurrentVersionExpiration!=null){let r=Jle(e.NoncurrentVersionExpiration,n).withName("NoncurrentVersionExpiration");t.addChildNode(r)}if(e.AbortIncompleteMultipartUpload!=null){let r=ele(e.AbortIncompleteMultipartUpload,n).withName("AbortIncompleteMultipartUpload");t.addChildNode(r)}return t},Hle=(e,n)=>{let t=new f.XmlNode("LifecycleRuleAndOperator");if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}if(e.Tags!=null&&ks(e.Tags,n).map(o=>{o=o.withName("Tag"),t.addChildNode(o)}),e.ObjectSizeGreaterThan!=null){let r=f.XmlNode.of("ObjectSizeGreaterThanBytes",String(e.ObjectSizeGreaterThan)).withName("ObjectSizeGreaterThan");t.addChildNode(r)}if(e.ObjectSizeLessThan!=null){let r=f.XmlNode.of("ObjectSizeLessThanBytes",String(e.ObjectSizeLessThan)).withName("ObjectSizeLessThan");t.addChildNode(r)}return t},$le=(e,n)=>{let t=new f.XmlNode("LifecycleRuleFilter");return Rt.LifecycleRuleFilter.visit(e,{Prefix:r=>{let o=f.XmlNode.of("Prefix",r).withName("Prefix");t.addChildNode(o)},Tag:r=>{let o=ws(r,n).withName("Tag");t.addChildNode(o)},ObjectSizeGreaterThan:r=>{let o=f.XmlNode.of("ObjectSizeGreaterThanBytes",String(r)).withName("ObjectSizeGreaterThan");t.addChildNode(o)},ObjectSizeLessThan:r=>{let o=f.XmlNode.of("ObjectSizeLessThanBytes",String(r)).withName("ObjectSizeLessThan");t.addChildNode(o)},And:r=>{let o=Hle(r,n).withName("And");t.addChildNode(o)},_:(r,o)=>{if(!(o instanceof f.XmlNode||o instanceof f.XmlText))throw new Error("Unable to serialize unknown union members in XML.");t.addChildNode(new f.XmlNode(r).addChildNode(o))}}),t},Kle=(e,n)=>e.filter(t=>t!=null).map(t=>Gle(t,n).withName("member")),Vle=(e,n)=>{let t=new f.XmlNode("LoggingEnabled");if(e.TargetBucket!=null){let r=f.XmlNode.of("TargetBucket",e.TargetBucket).withName("TargetBucket");t.addChildNode(r)}if(e.TargetGrants!=null){let r=Mue(e.TargetGrants,n),o=new f.XmlNode("TargetGrants");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}if(e.TargetPrefix!=null){let r=f.XmlNode.of("TargetPrefix",e.TargetPrefix).withName("TargetPrefix");t.addChildNode(r)}return t},Xle=(e,n)=>{let t=new f.XmlNode("MetadataEntry");if(e.Name!=null){let r=f.XmlNode.of("MetadataKey",e.Name).withName("Name");t.addChildNode(r)}if(e.Value!=null){let r=f.XmlNode.of("MetadataValue",e.Value).withName("Value");t.addChildNode(r)}return t},Wle=(e,n)=>{let t=new f.XmlNode("Metrics");if(e.Status!=null){let r=f.XmlNode.of("MetricsStatus",e.Status).withName("Status");t.addChildNode(r)}if(e.EventThreshold!=null){let r=IL(e.EventThreshold,n).withName("EventThreshold");t.addChildNode(r)}return t},Yle=(e,n)=>{let t=new f.XmlNode("MetricsAndOperator");if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}if(e.Tags!=null&&ks(e.Tags,n).map(o=>{o=o.withName("Tag"),t.addChildNode(o)}),e.AccessPointArn!=null){let r=f.XmlNode.of("AccessPointArn",e.AccessPointArn).withName("AccessPointArn");t.addChildNode(r)}return t},lL=(e,n)=>{let t=new f.XmlNode("MetricsConfiguration");if(e.Id!=null){let r=f.XmlNode.of("MetricsId",e.Id).withName("Id");t.addChildNode(r)}if(e.Filter!=null){let r=Qle(e.Filter,n).withName("Filter");t.addChildNode(r)}return t},Qle=(e,n)=>{let t=new f.XmlNode("MetricsFilter");return Rt.MetricsFilter.visit(e,{Prefix:r=>{let o=f.XmlNode.of("Prefix",r).withName("Prefix");t.addChildNode(o)},Tag:r=>{let o=ws(r,n).withName("Tag");t.addChildNode(o)},AccessPointArn:r=>{let o=f.XmlNode.of("AccessPointArn",r).withName("AccessPointArn");t.addChildNode(o)},And:r=>{let o=Yle(r,n).withName("And");t.addChildNode(o)},_:(r,o)=>{if(!(o instanceof f.XmlNode||o instanceof f.XmlText))throw new Error("Unable to serialize unknown union members in XML.");t.addChildNode(new f.XmlNode(r).addChildNode(o))}}),t},Jle=(e,n)=>{let t=new f.XmlNode("NoncurrentVersionExpiration");if(e.NoncurrentDays!=null){let r=f.XmlNode.of("Days",String(e.NoncurrentDays)).withName("NoncurrentDays");t.addChildNode(r)}if(e.NewerNoncurrentVersions!=null){let r=f.XmlNode.of("VersionCount",String(e.NewerNoncurrentVersions)).withName("NewerNoncurrentVersions");t.addChildNode(r)}return t},Zle=(e,n)=>{let t=new f.XmlNode("NoncurrentVersionTransition");if(e.NoncurrentDays!=null){let r=f.XmlNode.of("Days",String(e.NoncurrentDays)).withName("NoncurrentDays");t.addChildNode(r)}if(e.StorageClass!=null){let r=f.XmlNode.of("TransitionStorageClass",e.StorageClass).withName("StorageClass");t.addChildNode(r)}if(e.NewerNoncurrentVersions!=null){let r=f.XmlNode.of("VersionCount",String(e.NewerNoncurrentVersions)).withName("NewerNoncurrentVersions");t.addChildNode(r)}return t},eue=(e,n)=>e.filter(t=>t!=null).map(t=>Zle(t,n).withName("member")),uL=(e,n)=>{let t=new f.XmlNode("NotificationConfiguration");if(e.TopicConfigurations!=null&&jue(e.TopicConfigurations,n).map(o=>{o=o.withName("TopicConfiguration"),t.addChildNode(o)}),e.QueueConfigurations!=null&&lue(e.QueueConfigurations,n).map(o=>{o=o.withName("QueueConfiguration"),t.addChildNode(o)}),e.LambdaFunctionConfigurations!=null&&Ule(e.LambdaFunctionConfigurations,n).map(o=>{o=o.withName("CloudFunctionConfiguration"),t.addChildNode(o)}),e.EventBridgeConfiguration!=null){let r=ble(e.EventBridgeConfiguration,n).withName("EventBridgeConfiguration");t.addChildNode(r)}return t},p0=(e,n)=>{let t=new f.XmlNode("NotificationConfigurationFilter");if(e.Key!=null){let r=bue(e.Key,n).withName("S3Key");t.addChildNode(r)}return t},tue=(e,n)=>{let t=new f.XmlNode("ObjectIdentifier");if(e.Key!=null){let r=f.XmlNode.of("ObjectKey",e.Key).withName("Key");t.addChildNode(r)}if(e.VersionId!=null){let r=f.XmlNode.of("ObjectVersionId",e.VersionId).withName("VersionId");t.addChildNode(r)}return t},nue=(e,n)=>e.filter(t=>t!=null).map(t=>tue(t,n).withName("member")),mL=(e,n)=>{let t=new f.XmlNode("ObjectLockConfiguration");if(e.ObjectLockEnabled!=null){let r=f.XmlNode.of("ObjectLockEnabled",e.ObjectLockEnabled).withName("ObjectLockEnabled");t.addChildNode(r)}if(e.Rule!=null){let r=rue(e.Rule,n).withName("Rule");t.addChildNode(r)}return t},pL=(e,n)=>{let t=new f.XmlNode("ObjectLockLegalHold");if(e.Status!=null){let r=f.XmlNode.of("ObjectLockLegalHoldStatus",e.Status).withName("Status");t.addChildNode(r)}return t},fL=(e,n)=>{let t=new f.XmlNode("ObjectLockRetention");if(e.Mode!=null){let r=f.XmlNode.of("ObjectLockRetentionMode",e.Mode).withName("Mode");t.addChildNode(r)}if(e.RetainUntilDate!=null){let r=f.XmlNode.of("Date",(e.RetainUntilDate.toISOString().split(".")[0]+"Z").toString()).withName("RetainUntilDate");t.addChildNode(r)}return t},rue=(e,n)=>{let t=new f.XmlNode("ObjectLockRule");if(e.DefaultRetention!=null){let r=_le(e.DefaultRetention,n).withName("DefaultRetention");t.addChildNode(r)}return t},oue=(e,n)=>{let t=new f.XmlNode("OutputLocation");if(e.S3!=null){let r=Pue(e.S3,n).withName("S3");t.addChildNode(r)}return t},AL=(e,n)=>{let t=new f.XmlNode("OutputSerialization");if(e.CSV!=null){let r=yle(e.CSV,n).withName("CSV");t.addChildNode(r)}if(e.JSON!=null){let r=Lle(e.JSON,n).withName("JSON");t.addChildNode(r)}return t},sue=(e,n)=>{let t=new f.XmlNode("Owner");if(e.DisplayName!=null){let r=f.XmlNode.of("DisplayName",e.DisplayName).withName("DisplayName");t.addChildNode(r)}if(e.ID!=null){let r=f.XmlNode.of("ID",e.ID).withName("ID");t.addChildNode(r)}return t},yL=(e,n)=>{let t=new f.XmlNode("OwnershipControls");return e.Rules!=null&&aue(e.Rules,n).map(o=>{o=o.withName("Rule"),t.addChildNode(o)}),t},iue=(e,n)=>{let t=new f.XmlNode("OwnershipControlsRule");if(e.ObjectOwnership!=null){let r=f.XmlNode.of("ObjectOwnership",e.ObjectOwnership).withName("ObjectOwnership");t.addChildNode(r)}return t},aue=(e,n)=>e.filter(t=>t!=null).map(t=>iue(t,n).withName("member")),cue=(e,n)=>new f.XmlNode("ParquetInput"),_L=(e,n)=>{let t=new f.XmlNode("PublicAccessBlockConfiguration");if(e.BlockPublicAcls!=null){let r=f.XmlNode.of("Setting",String(e.BlockPublicAcls)).withName("BlockPublicAcls");t.addChildNode(r)}if(e.IgnorePublicAcls!=null){let r=f.XmlNode.of("Setting",String(e.IgnorePublicAcls)).withName("IgnorePublicAcls");t.addChildNode(r)}if(e.BlockPublicPolicy!=null){let r=f.XmlNode.of("Setting",String(e.BlockPublicPolicy)).withName("BlockPublicPolicy");t.addChildNode(r)}if(e.RestrictPublicBuckets!=null){let r=f.XmlNode.of("Setting",String(e.RestrictPublicBuckets)).withName("RestrictPublicBuckets");t.addChildNode(r)}return t},due=(e,n)=>{let t=new f.XmlNode("QueueConfiguration");if(e.Id!=null){let r=f.XmlNode.of("NotificationId",e.Id).withName("Id");t.addChildNode(r)}if(e.QueueArn!=null){let r=f.XmlNode.of("QueueArn",e.QueueArn).withName("Queue");t.addChildNode(r)}if(e.Events!=null&&m0(e.Events,n).map(o=>{o=o.withName("Event"),t.addChildNode(o)}),e.Filter!=null){let r=p0(e.Filter,n).withName("Filter");t.addChildNode(r)}return t},lue=(e,n)=>e.filter(t=>t!=null).map(t=>due(t,n).withName("member")),uue=(e,n)=>{let t=new f.XmlNode("Redirect");if(e.HostName!=null){let r=f.XmlNode.of("HostName",e.HostName).withName("HostName");t.addChildNode(r)}if(e.HttpRedirectCode!=null){let r=f.XmlNode.of("HttpRedirectCode",e.HttpRedirectCode).withName("HttpRedirectCode");t.addChildNode(r)}if(e.Protocol!=null){let r=f.XmlNode.of("Protocol",e.Protocol).withName("Protocol");t.addChildNode(r)}if(e.ReplaceKeyPrefixWith!=null){let r=f.XmlNode.of("ReplaceKeyPrefixWith",e.ReplaceKeyPrefixWith).withName("ReplaceKeyPrefixWith");t.addChildNode(r)}if(e.ReplaceKeyWith!=null){let r=f.XmlNode.of("ReplaceKeyWith",e.ReplaceKeyWith).withName("ReplaceKeyWith");t.addChildNode(r)}return t},mue=(e,n)=>{let t=new f.XmlNode("RedirectAllRequestsTo");if(e.HostName!=null){let r=f.XmlNode.of("HostName",e.HostName).withName("HostName");t.addChildNode(r)}if(e.Protocol!=null){let r=f.XmlNode.of("Protocol",e.Protocol).withName("Protocol");t.addChildNode(r)}return t},pue=(e,n)=>{let t=new f.XmlNode("ReplicaModifications");if(e.Status!=null){let r=f.XmlNode.of("ReplicaModificationsStatus",e.Status).withName("Status");t.addChildNode(r)}return t},gL=(e,n)=>{let t=new f.XmlNode("ReplicationConfiguration");if(e.Role!=null){let r=f.XmlNode.of("Role",e.Role).withName("Role");t.addChildNode(r)}return e.Rules!=null&&gue(e.Rules,n).map(o=>{o=o.withName("Rule"),t.addChildNode(o)}),t},fue=(e,n)=>{let t=new f.XmlNode("ReplicationRule");if(e.ID!=null){let r=f.XmlNode.of("ID",e.ID).withName("ID");t.addChildNode(r)}if(e.Priority!=null){let r=f.XmlNode.of("Priority",String(e.Priority)).withName("Priority");t.addChildNode(r)}if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}if(e.Filter!=null){let r=_ue(e.Filter,n).withName("Filter");t.addChildNode(r)}if(e.Status!=null){let r=f.XmlNode.of("ReplicationRuleStatus",e.Status).withName("Status");t.addChildNode(r)}if(e.SourceSelectionCriteria!=null){let r=Iue(e.SourceSelectionCriteria,n).withName("SourceSelectionCriteria");t.addChildNode(r)}if(e.ExistingObjectReplication!=null){let r=Ple(e.ExistingObjectReplication,n).withName("ExistingObjectReplication");t.addChildNode(r)}if(e.Destination!=null){let r=hle(e.Destination,n).withName("Destination");t.addChildNode(r)}if(e.DeleteMarkerReplication!=null){let r=gle(e.DeleteMarkerReplication,n).withName("DeleteMarkerReplication");t.addChildNode(r)}return t},yue=(e,n)=>{let t=new f.XmlNode("ReplicationRuleAndOperator");if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}return e.Tags!=null&&ks(e.Tags,n).map(o=>{o=o.withName("Tag"),t.addChildNode(o)}),t},_ue=(e,n)=>{let t=new f.XmlNode("ReplicationRuleFilter");return Rt.ReplicationRuleFilter.visit(e,{Prefix:r=>{let o=f.XmlNode.of("Prefix",r).withName("Prefix");t.addChildNode(o)},Tag:r=>{let o=ws(r,n).withName("Tag");t.addChildNode(o)},And:r=>{let o=yue(r,n).withName("And");t.addChildNode(o)},_:(r,o)=>{if(!(o instanceof f.XmlNode||o instanceof f.XmlText))throw new Error("Unable to serialize unknown union members in XML.");t.addChildNode(new f.XmlNode(r).addChildNode(o))}}),t},gue=(e,n)=>e.filter(t=>t!=null).map(t=>fue(t,n).withName("member")),hue=(e,n)=>{let t=new f.XmlNode("ReplicationTime");if(e.Status!=null){let r=f.XmlNode.of("ReplicationTimeStatus",e.Status).withName("Status");t.addChildNode(r)}if(e.Time!=null){let r=IL(e.Time,n).withName("Time");t.addChildNode(r)}return t},IL=(e,n)=>{let t=new f.XmlNode("ReplicationTimeValue");if(e.Minutes!=null){let r=f.XmlNode.of("Minutes",String(e.Minutes)).withName("Minutes");t.addChildNode(r)}return t},hL=(e,n)=>{let t=new f.XmlNode("RequestPaymentConfiguration");if(e.Payer!=null){let r=f.XmlNode.of("Payer",e.Payer).withName("Payer");t.addChildNode(r)}return t},Cue=(e,n)=>{let t=new f.XmlNode("RequestProgress");if(e.Enabled!=null){let r=f.XmlNode.of("EnableRequestProgress",String(e.Enabled)).withName("Enabled");t.addChildNode(r)}return t},CL=(e,n)=>{let t=new f.XmlNode("RestoreRequest");if(e.Days!=null){let r=f.XmlNode.of("Days",String(e.Days)).withName("Days");t.addChildNode(r)}if(e.GlacierJobParameters!=null){let r=kle(e.GlacierJobParameters,n).withName("GlacierJobParameters");t.addChildNode(r)}if(e.Type!=null){let r=f.XmlNode.of("RestoreRequestType",e.Type).withName("Type");t.addChildNode(r)}if(e.Tier!=null){let r=f.XmlNode.of("Tier",e.Tier).withName("Tier");t.addChildNode(r)}if(e.Description!=null){let r=f.XmlNode.of("Description",e.Description).withName("Description");t.addChildNode(r)}if(e.SelectParameters!=null){let r=xue(e.SelectParameters,n).withName("SelectParameters");t.addChildNode(r)}if(e.OutputLocation!=null){let r=oue(e.OutputLocation,n).withName("OutputLocation");t.addChildNode(r)}return t},Sue=(e,n)=>{let t=new f.XmlNode("RoutingRule");if(e.Condition!=null){let r=ule(e.Condition,n).withName("Condition");t.addChildNode(r)}if(e.Redirect!=null){let r=uue(e.Redirect,n).withName("Redirect");t.addChildNode(r)}return t},Eue=(e,n)=>e.filter(t=>t!=null).map(t=>Sue(t,n).withName("RoutingRule")),bue=(e,n)=>{let t=new f.XmlNode("S3KeyFilter");return e.FilterRules!=null&&wle(e.FilterRules,n).map(o=>{o=o.withName("FilterRule"),t.addChildNode(o)}),t},Pue=(e,n)=>{let t=new f.XmlNode("S3Location");if(e.BucketName!=null){let r=f.XmlNode.of("BucketName",e.BucketName).withName("BucketName");t.addChildNode(r)}if(e.Prefix!=null){let r=f.XmlNode.of("LocationPrefix",e.Prefix).withName("Prefix");t.addChildNode(r)}if(e.Encryption!=null){let r=Cle(e.Encryption,n).withName("Encryption");t.addChildNode(r)}if(e.CannedACL!=null){let r=f.XmlNode.of("ObjectCannedACL",e.CannedACL).withName("CannedACL");t.addChildNode(r)}if(e.AccessControlList!=null){let r=wL(e.AccessControlList,n),o=new f.XmlNode("AccessControlList");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}if(e.Tagging!=null){let r=Xc(e.Tagging,n).withName("Tagging");t.addChildNode(r)}if(e.UserMetadata!=null){let r=Gue(e.UserMetadata,n),o=new f.XmlNode("UserMetadata");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}if(e.StorageClass!=null){let r=f.XmlNode.of("StorageClass",e.StorageClass).withName("StorageClass");t.addChildNode(r)}return t},vue=(e,n)=>{let t=new f.XmlNode("ScanRange");if(e.Start!=null){let r=f.XmlNode.of("Start",String(e.Start)).withName("Start");t.addChildNode(r)}if(e.End!=null){let r=f.XmlNode.of("End",String(e.End)).withName("End");t.addChildNode(r)}return t},xue=(e,n)=>{let t=new f.XmlNode("SelectParameters");if(e.InputSerialization!=null){let r=kL(e.InputSerialization,n).withName("InputSerialization");t.addChildNode(r)}if(e.ExpressionType!=null){let r=f.XmlNode.of("ExpressionType",e.ExpressionType).withName("ExpressionType");t.addChildNode(r)}if(e.Expression!=null){let r=f.XmlNode.of("Expression",e.Expression).withName("Expression");t.addChildNode(r)}if(e.OutputSerialization!=null){let r=AL(e.OutputSerialization,n).withName("OutputSerialization");t.addChildNode(r)}return t},wue=(e,n)=>{let t=new f.XmlNode("ServerSideEncryptionByDefault");if(e.SSEAlgorithm!=null){let r=f.XmlNode.of("ServerSideEncryption",e.SSEAlgorithm).withName("SSEAlgorithm");t.addChildNode(r)}if(e.KMSMasterKeyID!=null){let r=f.XmlNode.of("SSEKMSKeyId",e.KMSMasterKeyID).withName("KMSMasterKeyID");t.addChildNode(r)}return t},SL=(e,n)=>{let t=new f.XmlNode("ServerSideEncryptionConfiguration");return e.Rules!=null&&Aue(e.Rules,n).map(o=>{o=o.withName("Rule"),t.addChildNode(o)}),t},kue=(e,n)=>{let t=new f.XmlNode("ServerSideEncryptionRule");if(e.ApplyServerSideEncryptionByDefault!=null){let r=wue(e.ApplyServerSideEncryptionByDefault,n).withName("ApplyServerSideEncryptionByDefault");t.addChildNode(r)}if(e.BucketKeyEnabled!=null){let r=f.XmlNode.of("BucketKeyEnabled",String(e.BucketKeyEnabled)).withName("BucketKeyEnabled");t.addChildNode(r)}return t},Aue=(e,n)=>e.filter(t=>t!=null).map(t=>kue(t,n).withName("member")),Iue=(e,n)=>{let t=new f.XmlNode("SourceSelectionCriteria");if(e.SseKmsEncryptedObjects!=null){let r=Nue(e.SseKmsEncryptedObjects,n).withName("SseKmsEncryptedObjects");t.addChildNode(r)}if(e.ReplicaModifications!=null){let r=pue(e.ReplicaModifications,n).withName("ReplicaModifications");t.addChildNode(r)}return t},Rue=(e,n)=>{let t=new f.XmlNode("SSE-KMS");if(e.KeyId!=null){let r=f.XmlNode.of("SSEKMSKeyId",e.KeyId).withName("KeyId");t.addChildNode(r)}return t},Nue=(e,n)=>{let t=new f.XmlNode("SseKmsEncryptedObjects");if(e.Status!=null){let r=f.XmlNode.of("SseKmsEncryptedObjectsStatus",e.Status).withName("Status");t.addChildNode(r)}return t},Oue=(e,n)=>new f.XmlNode("SSE-S3"),Tue=(e,n)=>{let t=new f.XmlNode("StorageClassAnalysis");if(e.DataExport!=null){let r=que(e.DataExport,n).withName("DataExport");t.addChildNode(r)}return t},que=(e,n)=>{let t=new f.XmlNode("StorageClassAnalysisDataExport");if(e.OutputSchemaVersion!=null){let r=f.XmlNode.of("StorageClassAnalysisSchemaVersion",e.OutputSchemaVersion).withName("OutputSchemaVersion");t.addChildNode(r)}if(e.Destination!=null){let r=ile(e.Destination,n).withName("Destination");t.addChildNode(r)}return t},ws=(e,n)=>{let t=new f.XmlNode("Tag");if(e.Key!=null){let r=f.XmlNode.of("ObjectKey",e.Key).withName("Key");t.addChildNode(r)}if(e.Value!=null){let r=f.XmlNode.of("Value",e.Value).withName("Value");t.addChildNode(r)}return t},Xc=(e,n)=>{let t=new f.XmlNode("Tagging");if(e.TagSet!=null){let r=ks(e.TagSet,n),o=new f.XmlNode("TagSet");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}return t},ks=(e,n)=>e.filter(t=>t!=null).map(t=>ws(t,n).withName("Tag")),Bue=(e,n)=>{let t=new f.XmlNode("TargetGrant");if(e.Grantee!=null){let r=xL(e.Grantee,n).withName("Grantee");r.addAttribute("xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),t.addChildNode(r)}if(e.Permission!=null){let r=f.XmlNode.of("BucketLogsPermission",e.Permission).withName("Permission");t.addChildNode(r)}return t},Mue=(e,n)=>e.filter(t=>t!=null).map(t=>Bue(t,n).withName("Grant")),Due=(e,n)=>{let t=new f.XmlNode("Tiering");if(e.Days!=null){let r=f.XmlNode.of("IntelligentTieringDays",String(e.Days)).withName("Days");t.addChildNode(r)}if(e.AccessTier!=null){let r=f.XmlNode.of("IntelligentTieringAccessTier",e.AccessTier).withName("AccessTier");t.addChildNode(r)}return t},Fue=(e,n)=>e.filter(t=>t!=null).map(t=>Due(t,n).withName("member")),Lue=(e,n)=>{let t=new f.XmlNode("TopicConfiguration");if(e.Id!=null){let r=f.XmlNode.of("NotificationId",e.Id).withName("Id");t.addChildNode(r)}if(e.TopicArn!=null){let r=f.XmlNode.of("TopicArn",e.TopicArn).withName("Topic");t.addChildNode(r)}if(e.Events!=null&&m0(e.Events,n).map(o=>{o=o.withName("Event"),t.addChildNode(o)}),e.Filter!=null){let r=p0(e.Filter,n).withName("Filter");t.addChildNode(r)}return t},jue=(e,n)=>e.filter(t=>t!=null).map(t=>Lue(t,n).withName("member")),Uue=(e,n)=>{let t=new f.XmlNode("Transition");if(e.Date!=null){let r=f.XmlNode.of("Date",(e.Date.toISOString().split(".")[0]+"Z").toString()).withName("Date");t.addChildNode(r)}if(e.Days!=null){let r=f.XmlNode.of("Days",String(e.Days)).withName("Days");t.addChildNode(r)}if(e.StorageClass!=null){let r=f.XmlNode.of("TransitionStorageClass",e.StorageClass).withName("StorageClass");t.addChildNode(r)}return t},zue=(e,n)=>e.filter(t=>t!=null).map(t=>Uue(t,n).withName("member")),Gue=(e,n)=>e.filter(t=>t!=null).map(t=>Xle(t,n).withName("MetadataEntry")),EL=(e,n)=>{let t=new f.XmlNode("VersioningConfiguration");if(e.MFADelete!=null){let r=f.XmlNode.of("MFADelete",e.MFADelete).withName("MfaDelete");t.addChildNode(r)}if(e.Status!=null){let r=f.XmlNode.of("BucketVersioningStatus",e.Status).withName("Status");t.addChildNode(r)}return t},bL=(e,n)=>{let t=new f.XmlNode("WebsiteConfiguration");if(e.ErrorDocument!=null){let r=Ele(e.ErrorDocument,n).withName("ErrorDocument");t.addChildNode(r)}if(e.IndexDocument!=null){let r=Ile(e.IndexDocument,n).withName("IndexDocument");t.addChildNode(r)}if(e.RedirectAllRequestsTo!=null){let r=mue(e.RedirectAllRequestsTo,n).withName("RedirectAllRequestsTo");t.addChildNode(r)}if(e.RoutingRules!=null){let r=Eue(e.RoutingRules,n),o=new f.XmlNode("RoutingRules");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}return t},Hue=(e,n)=>{let t={};return e.DaysAfterInitiation!==void 0&&(t.DaysAfterInitiation=(0,d.strictParseInt32)(e.DaysAfterInitiation)),t},$ue=(e,n)=>{let t={};return e.Owner!==void 0&&(t.Owner=(0,d.expectString)(e.Owner)),t},Kue=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),Vue=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),Xue=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),Wue=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Tag===""?t.Tags=[]:e.Tag!==void 0&&(t.Tags=io((0,d.getArrayIfSingleItem)(e.Tag),n)),t},RL=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.Filter===""||e.Filter!==void 0&&(t.Filter=Jue((0,d.expectUnion)(e.Filter),n)),e.StorageClassAnalysis!==void 0&&(t.StorageClassAnalysis=Gpe(e.StorageClassAnalysis,n)),t},Yue=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>RL(t,n)),Que=(e,n)=>{let t={};return e.S3BucketDestination!==void 0&&(t.S3BucketDestination=Zue(e.S3BucketDestination,n)),t},Jue=(e,n)=>e.Prefix!==void 0?{Prefix:(0,d.expectString)(e.Prefix)}:e.Tag!==void 0?{Tag:As(e.Tag,n)}:e.And!==void 0?{And:Wue(e.And,n)}:{$unknown:Object.entries(e)[0]},Zue=(e,n)=>{let t={};return e.Format!==void 0&&(t.Format=(0,d.expectString)(e.Format)),e.BucketAccountId!==void 0&&(t.BucketAccountId=(0,d.expectString)(e.BucketAccountId)),e.Bucket!==void 0&&(t.Bucket=(0,d.expectString)(e.Bucket)),e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),t},eme=(e,n)=>{let t={};return e.Name!==void 0&&(t.Name=(0,d.expectString)(e.Name)),e.CreationDate!==void 0&&(t.CreationDate=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.CreationDate))),t},tme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>eme(t,n)),nme=(e,n)=>{let t={};return e.ChecksumCRC32!==void 0&&(t.ChecksumCRC32=(0,d.expectString)(e.ChecksumCRC32)),e.ChecksumCRC32C!==void 0&&(t.ChecksumCRC32C=(0,d.expectString)(e.ChecksumCRC32C)),e.ChecksumSHA1!==void 0&&(t.ChecksumSHA1=(0,d.expectString)(e.ChecksumSHA1)),e.ChecksumSHA256!==void 0&&(t.ChecksumSHA256=(0,d.expectString)(e.ChecksumSHA256)),t},NL=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),rme=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),t},sy=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>rme(t,n)),ome=(e,n)=>{let t={};return e.HttpErrorCodeReturnedEquals!==void 0&&(t.HttpErrorCodeReturnedEquals=(0,d.expectString)(e.HttpErrorCodeReturnedEquals)),e.KeyPrefixEquals!==void 0&&(t.KeyPrefixEquals=(0,d.expectString)(e.KeyPrefixEquals)),t},sme=(e,n)=>({}),ime=(e,n)=>{let t={};return e.ETag!==void 0&&(t.ETag=(0,d.expectString)(e.ETag)),e.LastModified!==void 0&&(t.LastModified=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.LastModified))),e.ChecksumCRC32!==void 0&&(t.ChecksumCRC32=(0,d.expectString)(e.ChecksumCRC32)),e.ChecksumCRC32C!==void 0&&(t.ChecksumCRC32C=(0,d.expectString)(e.ChecksumCRC32C)),e.ChecksumSHA1!==void 0&&(t.ChecksumSHA1=(0,d.expectString)(e.ChecksumSHA1)),e.ChecksumSHA256!==void 0&&(t.ChecksumSHA256=(0,d.expectString)(e.ChecksumSHA256)),t},ame=(e,n)=>{let t={};return e.ETag!==void 0&&(t.ETag=(0,d.expectString)(e.ETag)),e.LastModified!==void 0&&(t.LastModified=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.LastModified))),e.ChecksumCRC32!==void 0&&(t.ChecksumCRC32=(0,d.expectString)(e.ChecksumCRC32)),e.ChecksumCRC32C!==void 0&&(t.ChecksumCRC32C=(0,d.expectString)(e.ChecksumCRC32C)),e.ChecksumSHA1!==void 0&&(t.ChecksumSHA1=(0,d.expectString)(e.ChecksumSHA1)),e.ChecksumSHA256!==void 0&&(t.ChecksumSHA256=(0,d.expectString)(e.ChecksumSHA256)),t},cme=(e,n)=>{let t={};return e.ID!==void 0&&(t.ID=(0,d.expectString)(e.ID)),e.AllowedHeader===""?t.AllowedHeaders=[]:e.AllowedHeader!==void 0&&(t.AllowedHeaders=Kue((0,d.getArrayIfSingleItem)(e.AllowedHeader),n)),e.AllowedMethod===""?t.AllowedMethods=[]:e.AllowedMethod!==void 0&&(t.AllowedMethods=Vue((0,d.getArrayIfSingleItem)(e.AllowedMethod),n)),e.AllowedOrigin===""?t.AllowedOrigins=[]:e.AllowedOrigin!==void 0&&(t.AllowedOrigins=Xue((0,d.getArrayIfSingleItem)(e.AllowedOrigin),n)),e.ExposeHeader===""?t.ExposeHeaders=[]:e.ExposeHeader!==void 0&&(t.ExposeHeaders=vme((0,d.getArrayIfSingleItem)(e.ExposeHeader),n)),e.MaxAgeSeconds!==void 0&&(t.MaxAgeSeconds=(0,d.strictParseInt32)(e.MaxAgeSeconds)),t},dme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>cme(t,n)),lme=(e,n)=>{let t={};return e.Mode!==void 0&&(t.Mode=(0,d.expectString)(e.Mode)),e.Days!==void 0&&(t.Days=(0,d.strictParseInt32)(e.Days)),e.Years!==void 0&&(t.Years=(0,d.strictParseInt32)(e.Years)),t},ume=(e,n)=>{let t={};return e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),e.VersionId!==void 0&&(t.VersionId=(0,d.expectString)(e.VersionId)),e.DeleteMarker!==void 0&&(t.DeleteMarker=(0,d.parseBoolean)(e.DeleteMarker)),e.DeleteMarkerVersionId!==void 0&&(t.DeleteMarkerVersionId=(0,d.expectString)(e.DeleteMarkerVersionId)),t},mme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>ume(t,n)),pme=(e,n)=>{let t={};return e.Owner!==void 0&&(t.Owner=Rr(e.Owner,n)),e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),e.VersionId!==void 0&&(t.VersionId=(0,d.expectString)(e.VersionId)),e.IsLatest!==void 0&&(t.IsLatest=(0,d.parseBoolean)(e.IsLatest)),e.LastModified!==void 0&&(t.LastModified=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.LastModified))),t},fme=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},yme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>pme(t,n)),_me=(e,n)=>{let t={};return e.Bucket!==void 0&&(t.Bucket=(0,d.expectString)(e.Bucket)),e.Account!==void 0&&(t.Account=(0,d.expectString)(e.Account)),e.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(e.StorageClass)),e.AccessControlTranslation!==void 0&&(t.AccessControlTranslation=$ue(e.AccessControlTranslation,n)),e.EncryptionConfiguration!==void 0&&(t.EncryptionConfiguration=gme(e.EncryptionConfiguration,n)),e.ReplicationTime!==void 0&&(t.ReplicationTime=Rpe(e.ReplicationTime,n)),e.Metrics!==void 0&&(t.Metrics=Xme(e.Metrics,n)),t},gme=(e,n)=>{let t={};return e.ReplicaKmsKeyID!==void 0&&(t.ReplicaKmsKeyID=(0,d.expectString)(e.ReplicaKmsKeyID)),t},hme=(e,n)=>({}),Cme=(e,n)=>{let t={};return e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),e.VersionId!==void 0&&(t.VersionId=(0,d.expectString)(e.VersionId)),e.Code!==void 0&&(t.Code=(0,d.expectString)(e.Code)),e.Message!==void 0&&(t.Message=(0,d.expectString)(e.Message)),t},Sme=(e,n)=>{let t={};return e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),t},Eme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Cme(t,n)),bme=(e,n)=>({}),f0=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),Pme=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},vme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),xme=(e,n)=>{let t={};return e.Name!==void 0&&(t.Name=(0,d.expectString)(e.Name)),e.Value!==void 0&&(t.Value=(0,d.expectString)(e.Value)),t},wme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>xme(t,n)),kme=(e,n)=>{let t={};return e.PartsCount!==void 0&&(t.TotalPartsCount=(0,d.strictParseInt32)(e.PartsCount)),e.PartNumberMarker!==void 0&&(t.PartNumberMarker=(0,d.expectString)(e.PartNumberMarker)),e.NextPartNumberMarker!==void 0&&(t.NextPartNumberMarker=(0,d.expectString)(e.NextPartNumberMarker)),e.MaxParts!==void 0&&(t.MaxParts=(0,d.strictParseInt32)(e.MaxParts)),e.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(e.IsTruncated)),e.Part===""?t.Parts=[]:e.Part!==void 0&&(t.Parts=_pe((0,d.getArrayIfSingleItem)(e.Part),n)),t},Ame=(e,n)=>{let t={};return e.Grantee!==void 0&&(t.Grantee=OL(e.Grantee,n)),e.Permission!==void 0&&(t.Permission=(0,d.expectString)(e.Permission)),t},OL=(e,n)=>{let t={};return e.DisplayName!==void 0&&(t.DisplayName=(0,d.expectString)(e.DisplayName)),e.EmailAddress!==void 0&&(t.EmailAddress=(0,d.expectString)(e.EmailAddress)),e.ID!==void 0&&(t.ID=(0,d.expectString)(e.ID)),e.URI!==void 0&&(t.URI=(0,d.expectString)(e.URI)),e["xsi:type"]!==void 0&&(t.Type=(0,d.expectString)(e["xsi:type"])),t},TL=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Ame(t,n)),Ime=(e,n)=>{let t={};return e.Suffix!==void 0&&(t.Suffix=(0,d.expectString)(e.Suffix)),t},qL=(e,n)=>{let t={};return e.ID!==void 0&&(t.ID=(0,d.expectString)(e.ID)),e.DisplayName!==void 0&&(t.DisplayName=(0,d.expectString)(e.DisplayName)),t},Rme=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Tag===""?t.Tags=[]:e.Tag!==void 0&&(t.Tags=io((0,d.getArrayIfSingleItem)(e.Tag),n)),t},BL=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.Filter!==void 0&&(t.Filter=Ome(e.Filter,n)),e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),e.Tiering===""?t.Tierings=[]:e.Tiering!==void 0&&(t.Tierings=Xpe((0,d.getArrayIfSingleItem)(e.Tiering),n)),t},Nme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>BL(t,n)),Ome=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Tag!==void 0&&(t.Tag=As(e.Tag,n)),e.And!==void 0&&(t.And=Rme(e.And,n)),t},ML=(e,n)=>{let t={};return e.Destination!==void 0&&(t.Destination=qme(e.Destination,n)),e.IsEnabled!==void 0&&(t.IsEnabled=(0,d.parseBoolean)(e.IsEnabled)),e.Filter!==void 0&&(t.Filter=Mme(e.Filter,n)),e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.IncludedObjectVersions!==void 0&&(t.IncludedObjectVersions=(0,d.expectString)(e.IncludedObjectVersions)),e.OptionalFields===""?t.OptionalFields=[]:e.OptionalFields!==void 0&&e.OptionalFields.Field!==void 0&&(t.OptionalFields=Dme((0,d.getArrayIfSingleItem)(e.OptionalFields.Field),n)),e.Schedule!==void 0&&(t.Schedule=Lme(e.Schedule,n)),t},Tme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>ML(t,n)),qme=(e,n)=>{let t={};return e.S3BucketDestination!==void 0&&(t.S3BucketDestination=Fme(e.S3BucketDestination,n)),t},Bme=(e,n)=>{let t={};return e["SSE-S3"]!==void 0&&(t.SSES3=Upe(e["SSE-S3"],n)),e["SSE-KMS"]!==void 0&&(t.SSEKMS=Lpe(e["SSE-KMS"],n)),t},Mme=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),t},Dme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),Fme=(e,n)=>{let t={};return e.AccountId!==void 0&&(t.AccountId=(0,d.expectString)(e.AccountId)),e.Bucket!==void 0&&(t.Bucket=(0,d.expectString)(e.Bucket)),e.Format!==void 0&&(t.Format=(0,d.expectString)(e.Format)),e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Encryption!==void 0&&(t.Encryption=Bme(e.Encryption,n)),t},Lme=(e,n)=>{let t={};return e.Frequency!==void 0&&(t.Frequency=(0,d.expectString)(e.Frequency)),t},jme=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.CloudFunction!==void 0&&(t.LambdaFunctionArn=(0,d.expectString)(e.CloudFunction)),e.Event===""?t.Events=[]:e.Event!==void 0&&(t.Events=f0((0,d.getArrayIfSingleItem)(e.Event),n)),e.Filter!==void 0&&(t.Filter=y0(e.Filter,n)),t},Ume=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>jme(t,n)),zme=(e,n)=>{let t={};return e.Date!==void 0&&(t.Date=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.Date))),e.Days!==void 0&&(t.Days=(0,d.strictParseInt32)(e.Days)),e.ExpiredObjectDeleteMarker!==void 0&&(t.ExpiredObjectDeleteMarker=(0,d.parseBoolean)(e.ExpiredObjectDeleteMarker)),t},Gme=(e,n)=>{let t={};return e.Expiration!==void 0&&(t.Expiration=zme(e.Expiration,n)),e.ID!==void 0&&(t.ID=(0,d.expectString)(e.ID)),e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Filter===""||e.Filter!==void 0&&(t.Filter=$me((0,d.expectUnion)(e.Filter),n)),e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),e.Transition===""?t.Transitions=[]:e.Transition!==void 0&&(t.Transitions=Jpe((0,d.getArrayIfSingleItem)(e.Transition),n)),e.NoncurrentVersionTransition===""?t.NoncurrentVersionTransitions=[]:e.NoncurrentVersionTransition!==void 0&&(t.NoncurrentVersionTransitions=npe((0,d.getArrayIfSingleItem)(e.NoncurrentVersionTransition),n)),e.NoncurrentVersionExpiration!==void 0&&(t.NoncurrentVersionExpiration=epe(e.NoncurrentVersionExpiration,n)),e.AbortIncompleteMultipartUpload!==void 0&&(t.AbortIncompleteMultipartUpload=Hue(e.AbortIncompleteMultipartUpload,n)),t},Hme=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Tag===""?t.Tags=[]:e.Tag!==void 0&&(t.Tags=io((0,d.getArrayIfSingleItem)(e.Tag),n)),e.ObjectSizeGreaterThan!==void 0&&(t.ObjectSizeGreaterThan=(0,d.strictParseLong)(e.ObjectSizeGreaterThan)),e.ObjectSizeLessThan!==void 0&&(t.ObjectSizeLessThan=(0,d.strictParseLong)(e.ObjectSizeLessThan)),t},$me=(e,n)=>e.Prefix!==void 0?{Prefix:(0,d.expectString)(e.Prefix)}:e.Tag!==void 0?{Tag:As(e.Tag,n)}:e.ObjectSizeGreaterThan!==void 0?{ObjectSizeGreaterThan:(0,d.strictParseLong)(e.ObjectSizeGreaterThan)}:e.ObjectSizeLessThan!==void 0?{ObjectSizeLessThan:(0,d.strictParseLong)(e.ObjectSizeLessThan)}:e.And!==void 0?{And:Hme(e.And,n)}:{$unknown:Object.entries(e)[0]},Kme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Gme(t,n)),Vme=(e,n)=>{let t={};return e.TargetBucket!==void 0&&(t.TargetBucket=(0,d.expectString)(e.TargetBucket)),e.TargetGrants===""?t.TargetGrants=[]:e.TargetGrants!==void 0&&e.TargetGrants.Grant!==void 0&&(t.TargetGrants=Kpe((0,d.getArrayIfSingleItem)(e.TargetGrants.Grant),n)),e.TargetPrefix!==void 0&&(t.TargetPrefix=(0,d.expectString)(e.TargetPrefix)),t},Xme=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),e.EventThreshold!==void 0&&(t.EventThreshold=LL(e.EventThreshold,n)),t},Wme=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Tag===""?t.Tags=[]:e.Tag!==void 0&&(t.Tags=io((0,d.getArrayIfSingleItem)(e.Tag),n)),e.AccessPointArn!==void 0&&(t.AccessPointArn=(0,d.expectString)(e.AccessPointArn)),t},DL=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.Filter===""||e.Filter!==void 0&&(t.Filter=Qme((0,d.expectUnion)(e.Filter),n)),t},Yme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>DL(t,n)),Qme=(e,n)=>e.Prefix!==void 0?{Prefix:(0,d.expectString)(e.Prefix)}:e.Tag!==void 0?{Tag:As(e.Tag,n)}:e.AccessPointArn!==void 0?{AccessPointArn:(0,d.expectString)(e.AccessPointArn)}:e.And!==void 0?{And:Wme(e.And,n)}:{$unknown:Object.entries(e)[0]},Jme=(e,n)=>{let t={};return e.UploadId!==void 0&&(t.UploadId=(0,d.expectString)(e.UploadId)),e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),e.Initiated!==void 0&&(t.Initiated=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.Initiated))),e.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(e.StorageClass)),e.Owner!==void 0&&(t.Owner=Rr(e.Owner,n)),e.Initiator!==void 0&&(t.Initiator=qL(e.Initiator,n)),e.ChecksumAlgorithm!==void 0&&(t.ChecksumAlgorithm=(0,d.expectString)(e.ChecksumAlgorithm)),t},Zme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Jme(t,n)),epe=(e,n)=>{let t={};return e.NoncurrentDays!==void 0&&(t.NoncurrentDays=(0,d.strictParseInt32)(e.NoncurrentDays)),e.NewerNoncurrentVersions!==void 0&&(t.NewerNoncurrentVersions=(0,d.strictParseInt32)(e.NewerNoncurrentVersions)),t},tpe=(e,n)=>{let t={};return e.NoncurrentDays!==void 0&&(t.NoncurrentDays=(0,d.strictParseInt32)(e.NoncurrentDays)),e.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(e.StorageClass)),e.NewerNoncurrentVersions!==void 0&&(t.NewerNoncurrentVersions=(0,d.strictParseInt32)(e.NewerNoncurrentVersions)),t},npe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>tpe(t,n)),y0=(e,n)=>{let t={};return e.S3Key!==void 0&&(t.Key=Tpe(e.S3Key,n)),t},rpe=(e,n)=>{let t={};return e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),e.LastModified!==void 0&&(t.LastModified=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.LastModified))),e.ETag!==void 0&&(t.ETag=(0,d.expectString)(e.ETag)),e.ChecksumAlgorithm===""?t.ChecksumAlgorithm=[]:e.ChecksumAlgorithm!==void 0&&(t.ChecksumAlgorithm=NL((0,d.getArrayIfSingleItem)(e.ChecksumAlgorithm),n)),e.Size!==void 0&&(t.Size=(0,d.strictParseLong)(e.Size)),e.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(e.StorageClass)),e.Owner!==void 0&&(t.Owner=Rr(e.Owner,n)),e.RestoreStatus!==void 0&&(t.RestoreStatus=jL(e.RestoreStatus,n)),t},FL=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>rpe(t,n)),ope=(e,n)=>{let t={};return e.ObjectLockEnabled!==void 0&&(t.ObjectLockEnabled=(0,d.expectString)(e.ObjectLockEnabled)),e.Rule!==void 0&&(t.Rule=ape(e.Rule,n)),t},spe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},ipe=(e,n)=>{let t={};return e.Mode!==void 0&&(t.Mode=(0,d.expectString)(e.Mode)),e.RetainUntilDate!==void 0&&(t.RetainUntilDate=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.RetainUntilDate))),t},ape=(e,n)=>{let t={};return e.DefaultRetention!==void 0&&(t.DefaultRetention=lme(e.DefaultRetention,n)),t},cpe=(e,n)=>{let t={};return e.PartNumber!==void 0&&(t.PartNumber=(0,d.strictParseInt32)(e.PartNumber)),e.Size!==void 0&&(t.Size=(0,d.strictParseLong)(e.Size)),e.ChecksumCRC32!==void 0&&(t.ChecksumCRC32=(0,d.expectString)(e.ChecksumCRC32)),e.ChecksumCRC32C!==void 0&&(t.ChecksumCRC32C=(0,d.expectString)(e.ChecksumCRC32C)),e.ChecksumSHA1!==void 0&&(t.ChecksumSHA1=(0,d.expectString)(e.ChecksumSHA1)),e.ChecksumSHA256!==void 0&&(t.ChecksumSHA256=(0,d.expectString)(e.ChecksumSHA256)),t},dpe=(e,n)=>{let t={};return e.ETag!==void 0&&(t.ETag=(0,d.expectString)(e.ETag)),e.ChecksumAlgorithm===""?t.ChecksumAlgorithm=[]:e.ChecksumAlgorithm!==void 0&&(t.ChecksumAlgorithm=NL((0,d.getArrayIfSingleItem)(e.ChecksumAlgorithm),n)),e.Size!==void 0&&(t.Size=(0,d.strictParseLong)(e.Size)),e.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(e.StorageClass)),e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),e.VersionId!==void 0&&(t.VersionId=(0,d.expectString)(e.VersionId)),e.IsLatest!==void 0&&(t.IsLatest=(0,d.parseBoolean)(e.IsLatest)),e.LastModified!==void 0&&(t.LastModified=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.LastModified))),e.Owner!==void 0&&(t.Owner=Rr(e.Owner,n)),e.RestoreStatus!==void 0&&(t.RestoreStatus=jL(e.RestoreStatus,n)),t},lpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>dpe(t,n)),Rr=(e,n)=>{let t={};return e.DisplayName!==void 0&&(t.DisplayName=(0,d.expectString)(e.DisplayName)),e.ID!==void 0&&(t.ID=(0,d.expectString)(e.ID)),t},upe=(e,n)=>{let t={};return e.Rule===""?t.Rules=[]:e.Rule!==void 0&&(t.Rules=ppe((0,d.getArrayIfSingleItem)(e.Rule),n)),t},mpe=(e,n)=>{let t={};return e.ObjectOwnership!==void 0&&(t.ObjectOwnership=(0,d.expectString)(e.ObjectOwnership)),t},ppe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>mpe(t,n)),fpe=(e,n)=>{let t={};return e.PartNumber!==void 0&&(t.PartNumber=(0,d.strictParseInt32)(e.PartNumber)),e.LastModified!==void 0&&(t.LastModified=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.LastModified))),e.ETag!==void 0&&(t.ETag=(0,d.expectString)(e.ETag)),e.Size!==void 0&&(t.Size=(0,d.strictParseLong)(e.Size)),e.ChecksumCRC32!==void 0&&(t.ChecksumCRC32=(0,d.expectString)(e.ChecksumCRC32)),e.ChecksumCRC32C!==void 0&&(t.ChecksumCRC32C=(0,d.expectString)(e.ChecksumCRC32C)),e.ChecksumSHA1!==void 0&&(t.ChecksumSHA1=(0,d.expectString)(e.ChecksumSHA1)),e.ChecksumSHA256!==void 0&&(t.ChecksumSHA256=(0,d.expectString)(e.ChecksumSHA256)),t},ype=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>fpe(t,n)),_pe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>cpe(t,n)),gpe=(e,n)=>{let t={};return e.IsPublic!==void 0&&(t.IsPublic=(0,d.parseBoolean)(e.IsPublic)),t},hpe=(e,n)=>{let t={};return e.BytesScanned!==void 0&&(t.BytesScanned=(0,d.strictParseLong)(e.BytesScanned)),e.BytesProcessed!==void 0&&(t.BytesProcessed=(0,d.strictParseLong)(e.BytesProcessed)),e.BytesReturned!==void 0&&(t.BytesReturned=(0,d.strictParseLong)(e.BytesReturned)),t},Cpe=(e,n)=>{let t={};return e.BlockPublicAcls!==void 0&&(t.BlockPublicAcls=(0,d.parseBoolean)(e.BlockPublicAcls)),e.IgnorePublicAcls!==void 0&&(t.IgnorePublicAcls=(0,d.parseBoolean)(e.IgnorePublicAcls)),e.BlockPublicPolicy!==void 0&&(t.BlockPublicPolicy=(0,d.parseBoolean)(e.BlockPublicPolicy)),e.RestrictPublicBuckets!==void 0&&(t.RestrictPublicBuckets=(0,d.parseBoolean)(e.RestrictPublicBuckets)),t},Spe=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.Queue!==void 0&&(t.QueueArn=(0,d.expectString)(e.Queue)),e.Event===""?t.Events=[]:e.Event!==void 0&&(t.Events=f0((0,d.getArrayIfSingleItem)(e.Event),n)),e.Filter!==void 0&&(t.Filter=y0(e.Filter,n)),t},Epe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Spe(t,n)),bpe=(e,n)=>{let t={};return e.HostName!==void 0&&(t.HostName=(0,d.expectString)(e.HostName)),e.HttpRedirectCode!==void 0&&(t.HttpRedirectCode=(0,d.expectString)(e.HttpRedirectCode)),e.Protocol!==void 0&&(t.Protocol=(0,d.expectString)(e.Protocol)),e.ReplaceKeyPrefixWith!==void 0&&(t.ReplaceKeyPrefixWith=(0,d.expectString)(e.ReplaceKeyPrefixWith)),e.ReplaceKeyWith!==void 0&&(t.ReplaceKeyWith=(0,d.expectString)(e.ReplaceKeyWith)),t},Ppe=(e,n)=>{let t={};return e.HostName!==void 0&&(t.HostName=(0,d.expectString)(e.HostName)),e.Protocol!==void 0&&(t.Protocol=(0,d.expectString)(e.Protocol)),t},vpe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},xpe=(e,n)=>{let t={};return e.Role!==void 0&&(t.Role=(0,d.expectString)(e.Role)),e.Rule===""?t.Rules=[]:e.Rule!==void 0&&(t.Rules=Ipe((0,d.getArrayIfSingleItem)(e.Rule),n)),t},wpe=(e,n)=>{let t={};return e.ID!==void 0&&(t.ID=(0,d.expectString)(e.ID)),e.Priority!==void 0&&(t.Priority=(0,d.strictParseInt32)(e.Priority)),e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Filter===""||e.Filter!==void 0&&(t.Filter=Ape((0,d.expectUnion)(e.Filter),n)),e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),e.SourceSelectionCriteria!==void 0&&(t.SourceSelectionCriteria=Fpe(e.SourceSelectionCriteria,n)),e.ExistingObjectReplication!==void 0&&(t.ExistingObjectReplication=Pme(e.ExistingObjectReplication,n)),e.Destination!==void 0&&(t.Destination=_me(e.Destination,n)),e.DeleteMarkerReplication!==void 0&&(t.DeleteMarkerReplication=fme(e.DeleteMarkerReplication,n)),t},kpe=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Tag===""?t.Tags=[]:e.Tag!==void 0&&(t.Tags=io((0,d.getArrayIfSingleItem)(e.Tag),n)),t},Ape=(e,n)=>e.Prefix!==void 0?{Prefix:(0,d.expectString)(e.Prefix)}:e.Tag!==void 0?{Tag:As(e.Tag,n)}:e.And!==void 0?{And:kpe(e.And,n)}:{$unknown:Object.entries(e)[0]},Ipe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>wpe(t,n)),Rpe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),e.Time!==void 0&&(t.Time=LL(e.Time,n)),t},LL=(e,n)=>{let t={};return e.Minutes!==void 0&&(t.Minutes=(0,d.strictParseInt32)(e.Minutes)),t},jL=(e,n)=>{let t={};return e.IsRestoreInProgress!==void 0&&(t.IsRestoreInProgress=(0,d.parseBoolean)(e.IsRestoreInProgress)),e.RestoreExpiryDate!==void 0&&(t.RestoreExpiryDate=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.RestoreExpiryDate))),t},Npe=(e,n)=>{let t={};return e.Condition!==void 0&&(t.Condition=ome(e.Condition,n)),e.Redirect!==void 0&&(t.Redirect=bpe(e.Redirect,n)),t},Ope=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Npe(t,n)),Tpe=(e,n)=>{let t={};return e.FilterRule===""?t.FilterRules=[]:e.FilterRule!==void 0&&(t.FilterRules=wme((0,d.getArrayIfSingleItem)(e.FilterRule),n)),t},qpe=(e,n)=>{let t={};return e.SSEAlgorithm!==void 0&&(t.SSEAlgorithm=(0,d.expectString)(e.SSEAlgorithm)),e.KMSMasterKeyID!==void 0&&(t.KMSMasterKeyID=(0,d.expectString)(e.KMSMasterKeyID)),t},Bpe=(e,n)=>{let t={};return e.Rule===""?t.Rules=[]:e.Rule!==void 0&&(t.Rules=Dpe((0,d.getArrayIfSingleItem)(e.Rule),n)),t},Mpe=(e,n)=>{let t={};return e.ApplyServerSideEncryptionByDefault!==void 0&&(t.ApplyServerSideEncryptionByDefault=qpe(e.ApplyServerSideEncryptionByDefault,n)),e.BucketKeyEnabled!==void 0&&(t.BucketKeyEnabled=(0,d.parseBoolean)(e.BucketKeyEnabled)),t},Dpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Mpe(t,n)),Fpe=(e,n)=>{let t={};return e.SseKmsEncryptedObjects!==void 0&&(t.SseKmsEncryptedObjects=jpe(e.SseKmsEncryptedObjects,n)),e.ReplicaModifications!==void 0&&(t.ReplicaModifications=vpe(e.ReplicaModifications,n)),t},Lpe=(e,n)=>{let t={};return e.KeyId!==void 0&&(t.KeyId=(0,d.expectString)(e.KeyId)),t},jpe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},Upe=(e,n)=>({}),zpe=(e,n)=>{let t={};return e.BytesScanned!==void 0&&(t.BytesScanned=(0,d.strictParseLong)(e.BytesScanned)),e.BytesProcessed!==void 0&&(t.BytesProcessed=(0,d.strictParseLong)(e.BytesProcessed)),e.BytesReturned!==void 0&&(t.BytesReturned=(0,d.strictParseLong)(e.BytesReturned)),t},Gpe=(e,n)=>{let t={};return e.DataExport!==void 0&&(t.DataExport=Hpe(e.DataExport,n)),t},Hpe=(e,n)=>{let t={};return e.OutputSchemaVersion!==void 0&&(t.OutputSchemaVersion=(0,d.expectString)(e.OutputSchemaVersion)),e.Destination!==void 0&&(t.Destination=Que(e.Destination,n)),t},As=(e,n)=>{let t={};return e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),e.Value!==void 0&&(t.Value=(0,d.expectString)(e.Value)),t},io=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>As(t,n)),$pe=(e,n)=>{let t={};return e.Grantee!==void 0&&(t.Grantee=OL(e.Grantee,n)),e.Permission!==void 0&&(t.Permission=(0,d.expectString)(e.Permission)),t},Kpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>$pe(t,n)),Vpe=(e,n)=>{let t={};return e.Days!==void 0&&(t.Days=(0,d.strictParseInt32)(e.Days)),e.AccessTier!==void 0&&(t.AccessTier=(0,d.expectString)(e.AccessTier)),t},Xpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Vpe(t,n)),Wpe=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.Topic!==void 0&&(t.TopicArn=(0,d.expectString)(e.Topic)),e.Event===""?t.Events=[]:e.Event!==void 0&&(t.Events=f0((0,d.getArrayIfSingleItem)(e.Event),n)),e.Filter!==void 0&&(t.Filter=y0(e.Filter,n)),t},Ype=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Wpe(t,n)),Qpe=(e,n)=>{let t={};return e.Date!==void 0&&(t.Date=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.Date))),e.Days!==void 0&&(t.Days=(0,d.strictParseInt32)(e.Days)),e.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(e.StorageClass)),t},Jpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Qpe(t,n)),I=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),UL=(e,n)=>(0,d.collectBody)(e,n).then(t=>n.utf8Encoder(t)),P=e=>e!=null&&e!==""&&(!Object.getOwnPropertyNames(e).includes("length")||e.length!=0)&&(!Object.getOwnPropertyNames(e).includes("size")||e.size!=0),te=(e,n)=>UL(e,n).then(t=>{if(t.length){let r=new Roe.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(u,l)=>l.trim()===""&&l.includes(` -`)?"":void 0});r.addEntity("#xD","\r"),r.addEntity("#10",` -`);let o=r.parse(t),s="#text",a=Object.keys(o)[0],i=o[a];return i[s]&&(i[a]=i[s],delete i[s]),(0,d.getValueFromTextNode)(i)}return{}}),B=async(e,n)=>{let t=await te(e,n);return t.Error&&(t.Error.message=t.Error.message??t.Error.Message),t},M=(e,n)=>{if((n==null?void 0:n.Code)!==void 0)return n.Code;if(e.statusCode==404)return"NotFound"}});var g0=m(Is=>{"use strict";Object.defineProperty(Is,"__esModule",{value:!0});Is.AbortMultipartUploadCommand=Is.$Command=void 0;var Zpe=v(),efe=w(),GL=E();Object.defineProperty(Is,"$Command",{enumerable:!0,get:function(){return GL.Command}});var tfe=x(),zL=T(),_0=class e extends GL.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,efe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Zpe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"AbortMultipartUploadCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[tfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"AbortMultipartUpload"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,zL.se_AbortMultipartUploadCommand)(n,t)}deserialize(n,t){return(0,zL.de_AbortMultipartUploadCommand)(n,t)}};Is.AbortMultipartUploadCommand=_0});var Nt=m(Hn=>{"use strict";Object.defineProperty(Hn,"__esModule",{value:!0});Hn.getSsecPlugin=Hn.ssecMiddlewareOptions=Hn.ssecMiddleware=void 0;function HL(e){return n=>async t=>{let r={...t.input},o=[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}];for(let s of o){let a=r[s.target];if(a){let i=ArrayBuffer.isView(a)?new Uint8Array(a.buffer,a.byteOffset,a.byteLength):typeof a=="string"?e.utf8Decoder(a):new Uint8Array(a),u=e.base64Encoder(i),l=new e.md5;l.update(i),r={...r,[s.target]:u,[s.hash]:e.base64Encoder(await l.digest())}}}return n({...t,input:r})}}Hn.ssecMiddleware=HL;Hn.ssecMiddlewareOptions={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0};var nfe=e=>({applyToStack:n=>{n.add(HL(e),Hn.ssecMiddlewareOptions)}});Hn.getSsecPlugin=nfe});var C0=m(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.CompleteMultipartUploadCommand=Rs.$Command=void 0;var rfe=xo(),ofe=Nt(),sfe=v(),ife=w(),VL=E();Object.defineProperty(Rs,"$Command",{enumerable:!0,get:function(){return VL.Command}});var afe=x(),$L=Ze(),KL=T(),h0=class e extends VL.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,ife.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,sfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,rfe.getThrow200ExceptionsPlugin)(t)),this.middlewareStack.use((0,ofe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"CompleteMultipartUploadCommand",inputFilterSensitiveLog:$L.CompleteMultipartUploadRequestFilterSensitiveLog,outputFilterSensitiveLog:$L.CompleteMultipartUploadOutputFilterSensitiveLog,[afe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"CompleteMultipartUpload"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,KL.se_CompleteMultipartUploadCommand)(n,t)}deserialize(n,t){return(0,KL.de_CompleteMultipartUploadCommand)(n,t)}};Rs.CompleteMultipartUploadCommand=h0});var E0=m(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});Ns.CopyObjectCommand=Ns.$Command=void 0;var cfe=xo(),dfe=Nt(),lfe=v(),ufe=w(),YL=E();Object.defineProperty(Ns,"$Command",{enumerable:!0,get:function(){return YL.Command}});var mfe=x(),XL=Ze(),WL=T(),S0=class e extends YL.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,ufe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,lfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,cfe.getThrow200ExceptionsPlugin)(t)),this.middlewareStack.use((0,dfe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"CopyObjectCommand",inputFilterSensitiveLog:XL.CopyObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:XL.CopyObjectOutputFilterSensitiveLog,[mfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"CopyObject"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,WL.se_CopyObjectCommand)(n,t)}deserialize(n,t){return(0,WL.de_CopyObjectCommand)(n,t)}};Ns.CopyObjectCommand=S0});var JL=m($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.getLocationConstraintPlugin=$n.locationConstraintMiddlewareOptions=$n.locationConstraintMiddleware=void 0;function QL(e){return n=>async t=>{let{CreateBucketConfiguration:r}=t.input,o=await e.region();return(!r||!r.LocationConstraint)&&(t={...t,input:{...t.input,CreateBucketConfiguration:o==="us-east-1"?void 0:{LocationConstraint:o}}}),n(t)}}$n.locationConstraintMiddleware=QL;$n.locationConstraintMiddlewareOptions={step:"initialize",tags:["LOCATION_CONSTRAINT","CREATE_BUCKET_CONFIGURATION"],name:"locationConstraintMiddleware",override:!0};var pfe=e=>({applyToStack:n=>{n.add(QL(e),$n.locationConstraintMiddlewareOptions)}});$n.getLocationConstraintPlugin=pfe});var P0=m(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.CreateBucketCommand=Os.$Command=void 0;var ffe=JL(),yfe=v(),_fe=w(),ej=E();Object.defineProperty(Os,"$Command",{enumerable:!0,get:function(){return ej.Command}});var gfe=x(),ZL=T(),b0=class e extends ej.Command{static getEndpointParameterInstructions(){return{DisableAccessPoints:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,_fe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,yfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,ffe.getLocationConstraintPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"CreateBucketCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[gfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"CreateBucket"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,ZL.se_CreateBucketCommand)(n,t)}deserialize(n,t){return(0,ZL.de_CreateBucketCommand)(n,t)}};Os.CreateBucketCommand=b0});var x0=m(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});Ts.CreateMultipartUploadCommand=Ts.$Command=void 0;var hfe=Nt(),Cfe=v(),Sfe=w(),rj=E();Object.defineProperty(Ts,"$Command",{enumerable:!0,get:function(){return rj.Command}});var Efe=x(),tj=Ze(),nj=T(),v0=class e extends rj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Sfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Cfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,hfe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"CreateMultipartUploadCommand",inputFilterSensitiveLog:tj.CreateMultipartUploadRequestFilterSensitiveLog,outputFilterSensitiveLog:tj.CreateMultipartUploadOutputFilterSensitiveLog,[Efe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"CreateMultipartUpload"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,nj.se_CreateMultipartUploadCommand)(n,t)}deserialize(n,t){return(0,nj.de_CreateMultipartUploadCommand)(n,t)}};Ts.CreateMultipartUploadCommand=v0});var k0=m(qs=>{"use strict";Object.defineProperty(qs,"__esModule",{value:!0});qs.DeleteBucketAnalyticsConfigurationCommand=qs.$Command=void 0;var bfe=v(),Pfe=w(),sj=E();Object.defineProperty(qs,"$Command",{enumerable:!0,get:function(){return sj.Command}});var vfe=x(),oj=T(),w0=class e extends sj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Pfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,bfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketAnalyticsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[vfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketAnalyticsConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,oj.se_DeleteBucketAnalyticsConfigurationCommand)(n,t)}deserialize(n,t){return(0,oj.de_DeleteBucketAnalyticsConfigurationCommand)(n,t)}};qs.DeleteBucketAnalyticsConfigurationCommand=w0});var I0=m(Bs=>{"use strict";Object.defineProperty(Bs,"__esModule",{value:!0});Bs.DeleteBucketCommand=Bs.$Command=void 0;var xfe=v(),wfe=w(),aj=E();Object.defineProperty(Bs,"$Command",{enumerable:!0,get:function(){return aj.Command}});var kfe=x(),ij=T(),A0=class e extends aj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,wfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,xfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[kfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucket"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,ij.se_DeleteBucketCommand)(n,t)}deserialize(n,t){return(0,ij.de_DeleteBucketCommand)(n,t)}};Bs.DeleteBucketCommand=A0});var N0=m(Ms=>{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});Ms.DeleteBucketCorsCommand=Ms.$Command=void 0;var Afe=v(),Ife=w(),dj=E();Object.defineProperty(Ms,"$Command",{enumerable:!0,get:function(){return dj.Command}});var Rfe=x(),cj=T(),R0=class e extends dj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Ife.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Afe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketCorsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Rfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketCors"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,cj.se_DeleteBucketCorsCommand)(n,t)}deserialize(n,t){return(0,cj.de_DeleteBucketCorsCommand)(n,t)}};Ms.DeleteBucketCorsCommand=R0});var T0=m(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.DeleteBucketEncryptionCommand=Ds.$Command=void 0;var Nfe=v(),Ofe=w(),uj=E();Object.defineProperty(Ds,"$Command",{enumerable:!0,get:function(){return uj.Command}});var Tfe=x(),lj=T(),O0=class e extends uj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Ofe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Nfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketEncryptionCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Tfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketEncryption"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,lj.se_DeleteBucketEncryptionCommand)(n,t)}deserialize(n,t){return(0,lj.de_DeleteBucketEncryptionCommand)(n,t)}};Ds.DeleteBucketEncryptionCommand=O0});var B0=m(Fs=>{"use strict";Object.defineProperty(Fs,"__esModule",{value:!0});Fs.DeleteBucketIntelligentTieringConfigurationCommand=Fs.$Command=void 0;var qfe=v(),Bfe=w(),pj=E();Object.defineProperty(Fs,"$Command",{enumerable:!0,get:function(){return pj.Command}});var Mfe=x(),mj=T(),q0=class e extends pj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Bfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,qfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketIntelligentTieringConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Mfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketIntelligentTieringConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,mj.se_DeleteBucketIntelligentTieringConfigurationCommand)(n,t)}deserialize(n,t){return(0,mj.de_DeleteBucketIntelligentTieringConfigurationCommand)(n,t)}};Fs.DeleteBucketIntelligentTieringConfigurationCommand=q0});var D0=m(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.DeleteBucketInventoryConfigurationCommand=Ls.$Command=void 0;var Dfe=v(),Ffe=w(),yj=E();Object.defineProperty(Ls,"$Command",{enumerable:!0,get:function(){return yj.Command}});var Lfe=x(),fj=T(),M0=class e extends yj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Ffe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Dfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketInventoryConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Lfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketInventoryConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,fj.se_DeleteBucketInventoryConfigurationCommand)(n,t)}deserialize(n,t){return(0,fj.de_DeleteBucketInventoryConfigurationCommand)(n,t)}};Ls.DeleteBucketInventoryConfigurationCommand=M0});var L0=m(js=>{"use strict";Object.defineProperty(js,"__esModule",{value:!0});js.DeleteBucketLifecycleCommand=js.$Command=void 0;var jfe=v(),Ufe=w(),gj=E();Object.defineProperty(js,"$Command",{enumerable:!0,get:function(){return gj.Command}});var zfe=x(),_j=T(),F0=class e extends gj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Ufe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,jfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketLifecycleCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[zfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketLifecycle"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,_j.se_DeleteBucketLifecycleCommand)(n,t)}deserialize(n,t){return(0,_j.de_DeleteBucketLifecycleCommand)(n,t)}};js.DeleteBucketLifecycleCommand=F0});var U0=m(Us=>{"use strict";Object.defineProperty(Us,"__esModule",{value:!0});Us.DeleteBucketMetricsConfigurationCommand=Us.$Command=void 0;var Gfe=v(),Hfe=w(),Cj=E();Object.defineProperty(Us,"$Command",{enumerable:!0,get:function(){return Cj.Command}});var $fe=x(),hj=T(),j0=class e extends Cj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Hfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Gfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketMetricsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[$fe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketMetricsConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,hj.se_DeleteBucketMetricsConfigurationCommand)(n,t)}deserialize(n,t){return(0,hj.de_DeleteBucketMetricsConfigurationCommand)(n,t)}};Us.DeleteBucketMetricsConfigurationCommand=j0});var G0=m(zs=>{"use strict";Object.defineProperty(zs,"__esModule",{value:!0});zs.DeleteBucketOwnershipControlsCommand=zs.$Command=void 0;var Kfe=v(),Vfe=w(),Ej=E();Object.defineProperty(zs,"$Command",{enumerable:!0,get:function(){return Ej.Command}});var Xfe=x(),Sj=T(),z0=class e extends Ej.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Vfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Kfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketOwnershipControlsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Xfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketOwnershipControls"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Sj.se_DeleteBucketOwnershipControlsCommand)(n,t)}deserialize(n,t){return(0,Sj.de_DeleteBucketOwnershipControlsCommand)(n,t)}};zs.DeleteBucketOwnershipControlsCommand=z0});var $0=m(Gs=>{"use strict";Object.defineProperty(Gs,"__esModule",{value:!0});Gs.DeleteBucketPolicyCommand=Gs.$Command=void 0;var Wfe=v(),Yfe=w(),Pj=E();Object.defineProperty(Gs,"$Command",{enumerable:!0,get:function(){return Pj.Command}});var Qfe=x(),bj=T(),H0=class e extends Pj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Yfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Wfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketPolicyCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Qfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketPolicy"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,bj.se_DeleteBucketPolicyCommand)(n,t)}deserialize(n,t){return(0,bj.de_DeleteBucketPolicyCommand)(n,t)}};Gs.DeleteBucketPolicyCommand=H0});var V0=m(Hs=>{"use strict";Object.defineProperty(Hs,"__esModule",{value:!0});Hs.DeleteBucketReplicationCommand=Hs.$Command=void 0;var Jfe=v(),Zfe=w(),xj=E();Object.defineProperty(Hs,"$Command",{enumerable:!0,get:function(){return xj.Command}});var eye=x(),vj=T(),K0=class e extends xj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Zfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Jfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketReplicationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[eye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketReplication"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,vj.se_DeleteBucketReplicationCommand)(n,t)}deserialize(n,t){return(0,vj.de_DeleteBucketReplicationCommand)(n,t)}};Hs.DeleteBucketReplicationCommand=K0});var W0=m($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.DeleteBucketTaggingCommand=$s.$Command=void 0;var tye=v(),nye=w(),kj=E();Object.defineProperty($s,"$Command",{enumerable:!0,get:function(){return kj.Command}});var rye=x(),wj=T(),X0=class e extends kj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,nye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,tye.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[rye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketTagging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,wj.se_DeleteBucketTaggingCommand)(n,t)}deserialize(n,t){return(0,wj.de_DeleteBucketTaggingCommand)(n,t)}};$s.DeleteBucketTaggingCommand=X0});var Q0=m(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.DeleteBucketWebsiteCommand=Ks.$Command=void 0;var oye=v(),sye=w(),Ij=E();Object.defineProperty(Ks,"$Command",{enumerable:!0,get:function(){return Ij.Command}});var iye=x(),Aj=T(),Y0=class e extends Ij.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,sye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,oye.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketWebsiteCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[iye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketWebsite"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Aj.se_DeleteBucketWebsiteCommand)(n,t)}deserialize(n,t){return(0,Aj.de_DeleteBucketWebsiteCommand)(n,t)}};Ks.DeleteBucketWebsiteCommand=Y0});var Z0=m(Vs=>{"use strict";Object.defineProperty(Vs,"__esModule",{value:!0});Vs.DeleteObjectCommand=Vs.$Command=void 0;var aye=v(),cye=w(),Nj=E();Object.defineProperty(Vs,"$Command",{enumerable:!0,get:function(){return Nj.Command}});var dye=x(),Rj=T(),J0=class e extends Nj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,cye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,aye.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteObjectCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[dye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteObject"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Rj.se_DeleteObjectCommand)(n,t)}deserialize(n,t){return(0,Rj.de_DeleteObjectCommand)(n,t)}};Vs.DeleteObjectCommand=J0});var Xs=m(Nr=>{"use strict";Object.defineProperty(Nr,"__esModule",{value:!0});Nr.ChecksumLocation=Nr.ChecksumAlgorithm=void 0;var lye;(function(e){e.MD5="MD5",e.CRC32="CRC32",e.CRC32C="CRC32C",e.SHA1="SHA1",e.SHA256="SHA256"})(lye=Nr.ChecksumAlgorithm||(Nr.ChecksumAlgorithm={}));var uye;(function(e){e.HEADER="header",e.TRAILER="trailer"})(uye=Nr.ChecksumLocation||(Nr.ChecksumLocation={}))});var eE=m(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.PRIORITY_ORDER_ALGORITHMS=Ws.CLIENT_SUPPORTED_ALGORITHMS=void 0;var Or=Xs();Ws.CLIENT_SUPPORTED_ALGORITHMS=[Or.ChecksumAlgorithm.CRC32,Or.ChecksumAlgorithm.CRC32C,Or.ChecksumAlgorithm.SHA1,Or.ChecksumAlgorithm.SHA256];Ws.PRIORITY_ORDER_ALGORITHMS=[Or.ChecksumAlgorithm.CRC32,Or.ChecksumAlgorithm.CRC32C,Or.ChecksumAlgorithm.SHA1,Or.ChecksumAlgorithm.SHA256]});var Tj=m(iy=>{"use strict";Object.defineProperty(iy,"__esModule",{value:!0});iy.getChecksumAlgorithmForRequest=void 0;var mye=Xs(),Oj=eE(),pye=(e,{requestChecksumRequired:n,requestAlgorithmMember:t})=>{if(!t||!e[t])return n?mye.ChecksumAlgorithm.MD5:void 0;let r=e[t];if(!Oj.CLIENT_SUPPORTED_ALGORITHMS.includes(r))throw new Error(`The checksum algorithm "${r}" is not supported by the client. Select one of ${Oj.CLIENT_SUPPORTED_ALGORITHMS}.`);return r};iy.getChecksumAlgorithmForRequest=pye});var tE=m(ay=>{"use strict";Object.defineProperty(ay,"__esModule",{value:!0});ay.getChecksumLocationName=void 0;var fye=Xs(),yye=e=>e===fye.ChecksumAlgorithm.MD5?"content-md5":`x-amz-checksum-${e.toLowerCase()}`;ay.getChecksumLocationName=yye});var qj=m(cy=>{"use strict";Object.defineProperty(cy,"__esModule",{value:!0});cy.hasHeader=void 0;var _ye=(e,n)=>{let t=e.toLowerCase();for(let r of Object.keys(n))if(t===r.toLowerCase())return!0;return!1};cy.hasHeader=_ye});var ly=m(dy=>{"use strict";Object.defineProperty(dy,"__esModule",{value:!0});dy.isStreaming=void 0;var gye=hd(),hye=e=>e!==void 0&&typeof e!="string"&&!ArrayBuffer.isView(e)&&!(0,gye.isArrayBuffer)(e);dy.isStreaming=hye});var sE={};wa(sE,{__assign:()=>rE,__asyncDelegator:()=>Nye,__asyncGenerator:()=>Rye,__asyncValues:()=>Oye,__await:()=>Wc,__awaiter:()=>vye,__classPrivateFieldGet:()=>Mye,__classPrivateFieldSet:()=>Dye,__createBinding:()=>wye,__decorate:()=>Eye,__exportStar:()=>kye,__extends:()=>Cye,__generator:()=>xye,__importDefault:()=>Bye,__importStar:()=>qye,__makeTemplateObject:()=>Tye,__metadata:()=>Pye,__param:()=>bye,__read:()=>Bj,__rest:()=>Sye,__spread:()=>Aye,__spreadArrays:()=>Iye,__values:()=>oE});function Cye(e,n){nE(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}function Sye(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o=0;i--)(a=e[i])&&(s=(o<3?a(s):o>3?a(n,t,s):a(n,t))||s);return o>3&&s&&Object.defineProperty(n,t,s),s}function bye(e,n){return function(t,r){n(t,r,e)}}function Pye(e,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,n)}function vye(e,n,t,r){function o(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function i(c){try{l(r.next(c))}catch(y){a(y)}}function u(c){try{l(r.throw(c))}catch(y){a(y)}}function l(c){c.done?s(c.value):o(c.value).then(i,u)}l((r=r.apply(e,n||[])).next())})}function xye(e,n){var t={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,o,s,a;return a={next:i(0),throw:i(1),return:i(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(l){return function(c){return u([l,c])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,o&&(s=l[0]&2?o.return:l[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,l[1])).done)return s;switch(o=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,o=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(s=t.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Bj(e,n){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var r=t.call(e),o,s=[],a;try{for(;(n===void 0||n-- >0)&&!(o=r.next()).done;)s.push(o.value)}catch(i){a={error:i}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(a)throw a.error}}return s}function Aye(){for(var e=[],n=0;n1||i(_,C)})})}function i(_,C){try{u(r[_](C))}catch(b){y(s[0][3],b)}}function u(_){_.value instanceof Wc?Promise.resolve(_.value.v).then(l,c):y(s[0][2],_)}function l(_){i("next",_)}function c(_){i("throw",_)}function y(_,C){_(C),s.shift(),s.length&&i(s[0][0],s[0][1])}}function Nye(e){var n,t;return n={},r("next"),r("throw",function(o){throw o}),r("return"),n[Symbol.iterator]=function(){return this},n;function r(o,s){n[o]=e[o]?function(a){return(t=!t)?{value:Wc(e[o](a)),done:o==="return"}:s?s(a):a}:s}}function Oye(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof oE=="function"?oE(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(s){t[s]=e[s]&&function(a){return new Promise(function(i,u){a=e[s](a),o(i,u,a.done,a.value)})}}function o(s,a,i,u){Promise.resolve(u).then(function(l){s({value:l,done:i})},a)}}function Tye(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}function qye(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var t in e)Object.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}function Bye(e){return e&&e.__esModule?e:{default:e}}function Mye(e,n){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return n.get(e)}function Dye(e,n,t){if(!n.has(e))throw new TypeError("attempted to set private field on non-instance");return n.set(e,t),t}var nE,rE,iE=ze(()=>{nE=function(e,n){return nE=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o])},nE(e,n)};rE=function(){return rE=Object.assign||function(n){for(var t,r=1,o=arguments.length;r{"use strict";Object.defineProperty(uy,"__esModule",{value:!0});uy.AwsCrc32c=void 0;var Mj=(iE(),j(sE)),aE=$a(),Dj=cE(),Fye=function(){function e(){this.crc32c=new Dj.Crc32c}return e.prototype.update=function(n){(0,aE.isEmptyData)(n)||this.crc32c.update((0,aE.convertToBuffer)(n))},e.prototype.digest=function(){return Mj.__awaiter(this,void 0,void 0,function(){return Mj.__generator(this,function(n){return[2,(0,aE.numToUint8)(this.crc32c.digest())]})})},e.prototype.reset=function(){this.crc32c=new Dj.Crc32c},e}();uy.AwsCrc32c=Fye});var cE=m(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.AwsCrc32c=Tr.Crc32c=Tr.crc32c=void 0;var Lye=(iE(),j(sE)),jye=$a();function Uye(e){return new Lj().update(e).digest()}Tr.crc32c=Uye;var Lj=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(n){var t,r;try{for(var o=Lye.__values(n),s=o.next();!s.done;s=o.next()){var a=s.value;this.checksum=this.checksum>>>8^Gye[(this.checksum^a)&255]}}catch(i){t={error:i}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(this.checksum^4294967295)>>>0},e}();Tr.Crc32c=Lj;var zye=[0,4067132163,3778769143,324072436,3348797215,904991772,648144872,3570033899,2329499855,2024987596,1809983544,2575936315,1296289744,3207089363,2893594407,1578318884,274646895,3795141740,4049975192,51262619,3619967088,632279923,922689671,3298075524,2592579488,1760304291,2075979607,2312596564,1562183871,2943781820,3156637768,1313733451,549293790,3537243613,3246849577,871202090,3878099393,357341890,102525238,4101499445,2858735121,1477399826,1264559846,3107202533,1845379342,2677391885,2361733625,2125378298,820201905,3263744690,3520608582,598981189,4151959214,85089709,373468761,3827903834,3124367742,1213305469,1526817161,2842354314,2107672161,2412447074,2627466902,1861252501,1098587580,3004210879,2688576843,1378610760,2262928035,1955203488,1742404180,2511436119,3416409459,969524848,714683780,3639785095,205050476,4266873199,3976438427,526918040,1361435347,2739821008,2954799652,1114974503,2529119692,1691668175,2005155131,2247081528,3690758684,697762079,986182379,3366744552,476452099,3993867776,4250756596,255256311,1640403810,2477592673,2164122517,1922457750,2791048317,1412925310,1197962378,3037525897,3944729517,427051182,170179418,4165941337,746937522,3740196785,3451792453,1070968646,1905808397,2213795598,2426610938,1657317369,3053634322,1147748369,1463399397,2773627110,4215344322,153784257,444234805,3893493558,1021025245,3467647198,3722505002,797665321,2197175160,1889384571,1674398607,2443626636,1164749927,3070701412,2757221520,1446797203,137323447,4198817972,3910406976,461344835,3484808360,1037989803,781091935,3705997148,2460548119,1623424788,1939049696,2180517859,1429367560,2807687179,3020495871,1180866812,410100952,3927582683,4182430767,186734380,3756733383,763408580,1053836080,3434856499,2722870694,1344288421,1131464017,2971354706,1708204729,2545590714,2229949006,1988219213,680717673,3673779818,3383336350,1002577565,4010310262,493091189,238226049,4233660802,2987750089,1082061258,1395524158,2705686845,1972364758,2279892693,2494862625,1725896226,952904198,3399985413,3656866545,731699698,4283874585,222117402,510512622,3959836397,3280807620,837199303,582374963,3504198960,68661723,4135334616,3844915500,390545967,1230274059,3141532936,2825850620,1510247935,2395924756,2091215383,1878366691,2644384480,3553878443,565732008,854102364,3229815391,340358836,3861050807,4117890627,119113024,1493875044,2875275879,3090270611,1247431312,2660249211,1828433272,2141937292,2378227087,3811616794,291187481,34330861,4032846830,615137029,3603020806,3314634738,939183345,1776939221,2609017814,2295496738,2058945313,2926798794,1545135305,1330124605,3173225534,4084100981,17165430,307568514,3762199681,888469610,3332340585,3587147933,665062302,2042050490,2346497209,2559330125,1793573966,3190661285,1279665062,1595330642,2910671697],Gye=(0,jye.uint32ArrayFrom)(zye),Hye=Fj();Object.defineProperty(Tr,"AwsCrc32c",{enumerable:!0,get:function(){return Hye.AwsCrc32c}})});var dE=m(my=>{"use strict";Object.defineProperty(my,"__esModule",{value:!0});my.selectChecksumAlgorithmFunction=void 0;var $ye=Ka(),Kye=cE(),Yc=Xs(),Vye=(e,n)=>({[Yc.ChecksumAlgorithm.MD5]:n.md5,[Yc.ChecksumAlgorithm.CRC32]:$ye.AwsCrc32,[Yc.ChecksumAlgorithm.CRC32C]:Kye.AwsCrc32c,[Yc.ChecksumAlgorithm.SHA1]:n.sha1,[Yc.ChecksumAlgorithm.SHA256]:n.sha256})[e];my.selectChecksumAlgorithmFunction=Vye});var lE=m(py=>{"use strict";Object.defineProperty(py,"__esModule",{value:!0});py.stringHasher=void 0;var Xye=St(),Wye=(e,n)=>{let t=new e;return t.update((0,Xye.toUint8Array)(n||"")),t.digest()};py.stringHasher=Wye});var uE=m(fy=>{"use strict";Object.defineProperty(fy,"__esModule",{value:!0});fy.flexibleChecksumsMiddleware=void 0;var Yye=we(),Qye=Tj(),Jye=tE(),Zye=qj(),e_e=ly(),t_e=dE(),n_e=lE(),r_e=(e,n)=>t=>async r=>{if(!Yye.HttpRequest.isInstance(r.request))return t(r);let{request:o}=r,{body:s,headers:a}=o,{base64Encoder:i,streamHasher:u}=e,{input:l,requestChecksumRequired:c,requestAlgorithmMember:y}=n,_=(0,Qye.getChecksumAlgorithmForRequest)(l,{requestChecksumRequired:c,requestAlgorithmMember:y}),C=s,b=a;if(_){let L=(0,Jye.getChecksumLocationName)(_),V=(0,t_e.selectChecksumAlgorithmFunction)(_,e);if((0,e_e.isStreaming)(s)){let{getAwsChunkedEncodingStream:me,bodyLengthChecker:Mt}=e;C=me(s,{base64Encoder:i,bodyLengthChecker:Mt,checksumLocationName:L,checksumAlgorithmFn:V,streamHasher:u}),b={...a,"content-encoding":a["content-encoding"]?`${a["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":a["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":L},delete b["content-length"]}else if(!(0,Zye.hasHeader)(L,a)){let me=await(0,n_e.stringHasher)(V,s);b={...a,[L]:i(me)}}}return await t({...r,request:{...o,headers:b,body:C}})};fy.flexibleChecksumsMiddleware=r_e});var jj=m(yy=>{"use strict";Object.defineProperty(yy,"__esModule",{value:!0});yy.createReadStreamOnBuffer=void 0;var o_e=require("stream");function s_e(e){let n=new o_e.Transform;return n.push(e),n.push(null),n}yy.createReadStreamOnBuffer=s_e});var Uj=m(_y=>{"use strict";Object.defineProperty(_y,"__esModule",{value:!0});_y.getChecksum=void 0;var i_e=ly(),a_e=lE(),c_e=async(e,{streamHasher:n,checksumAlgorithmFn:t,base64Encoder:r})=>{let o=(0,i_e.isStreaming)(e)?n(t,e):(0,a_e.stringHasher)(t,e);return r(await o)};_y.getChecksum=c_e});var Gj=m(gy=>{"use strict";Object.defineProperty(gy,"__esModule",{value:!0});gy.getChecksumAlgorithmListForResponse=void 0;var zj=eE(),d_e=(e=[])=>{let n=[];for(let t of zj.PRIORITY_ORDER_ALGORITHMS)!e.includes(t)||!zj.CLIENT_SUPPORTED_ALGORITHMS.includes(t)||n.push(t);return n};gy.getChecksumAlgorithmListForResponse=d_e});var Hj=m(hy=>{"use strict";Object.defineProperty(hy,"__esModule",{value:!0});hy.validateChecksumFromResponse=void 0;var l_e=Uj(),u_e=Gj(),m_e=tE(),p_e=dE(),f_e=async(e,{config:n,responseAlgorithms:t})=>{let r=(0,u_e.getChecksumAlgorithmListForResponse)(t),{body:o,headers:s}=e;for(let a of r){let i=(0,m_e.getChecksumLocationName)(a),u=s[i];if(u){let l=(0,p_e.selectChecksumAlgorithmFunction)(a,n),{streamHasher:c,base64Encoder:y}=n,_=await(0,l_e.getChecksum)(o,{streamHasher:c,checksumAlgorithmFn:l,base64Encoder:y});if(_===u)break;throw new Error(`Checksum mismatch: expected "${_}" but received "${u}" in response header "${i}".`)}}};hy.validateChecksumFromResponse=f_e});var Kj=m(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.flexibleChecksumsResponseMiddleware=Ys.flexibleChecksumsResponseMiddlewareOptions=void 0;var y_e=we(),__e=ly(),$j=jj(),g_e=Hj();Ys.flexibleChecksumsResponseMiddlewareOptions={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0};var h_e=(e,n)=>t=>async r=>{if(!y_e.HttpRequest.isInstance(r.request))return t(r);let o=r.input,s=await t(r),a=s.response,i,{requestValidationModeMember:u,responseAlgorithms:l}=n;if(u&&o[u]==="ENABLED"){let c=(0,__e.isStreaming)(a.body);c&&(i=await e.streamCollector(a.body),a.body=(0,$j.createReadStreamOnBuffer)(i)),await(0,g_e.validateChecksumFromResponse)(s.response,{config:e,responseAlgorithms:l}),c&&i&&(a.body=(0,$j.createReadStreamOnBuffer)(i))}return s};Ys.flexibleChecksumsResponseMiddleware=h_e});var Xj=m(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.getFlexibleChecksumsPlugin=ao.flexibleChecksumsMiddlewareOptions=void 0;var C_e=uE(),Vj=Kj();ao.flexibleChecksumsMiddlewareOptions={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0};var S_e=(e,n)=>({applyToStack:t=>{t.add((0,C_e.flexibleChecksumsMiddleware)(e,n),ao.flexibleChecksumsMiddlewareOptions),t.addRelativeTo((0,Vj.flexibleChecksumsResponseMiddleware)(e,n),Vj.flexibleChecksumsResponseMiddlewareOptions)}});ao.getFlexibleChecksumsPlugin=S_e});var xe=m(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});var mE=(z(),j(U));mE.__exportStar(Xs(),Qc);mE.__exportStar(uE(),Qc);mE.__exportStar(Xj(),Qc)});var fE=m(Qs=>{"use strict";Object.defineProperty(Qs,"__esModule",{value:!0});Qs.DeleteObjectsCommand=Qs.$Command=void 0;var E_e=xe(),b_e=v(),P_e=w(),Yj=E();Object.defineProperty(Qs,"$Command",{enumerable:!0,get:function(){return Yj.Command}});var v_e=x(),Wj=T(),pE=class e extends Yj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,P_e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,b_e.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,E_e.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteObjectsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[v_e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteObjects"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Wj.se_DeleteObjectsCommand)(n,t)}deserialize(n,t){return(0,Wj.de_DeleteObjectsCommand)(n,t)}};Qs.DeleteObjectsCommand=pE});var _E=m(Js=>{"use strict";Object.defineProperty(Js,"__esModule",{value:!0});Js.DeleteObjectTaggingCommand=Js.$Command=void 0;var x_e=v(),w_e=w(),Jj=E();Object.defineProperty(Js,"$Command",{enumerable:!0,get:function(){return Jj.Command}});var k_e=x(),Qj=T(),yE=class e extends Jj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,w_e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,x_e.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteObjectTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[k_e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteObjectTagging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Qj.se_DeleteObjectTaggingCommand)(n,t)}deserialize(n,t){return(0,Qj.de_DeleteObjectTaggingCommand)(n,t)}};Js.DeleteObjectTaggingCommand=yE});var hE=m(Zs=>{"use strict";Object.defineProperty(Zs,"__esModule",{value:!0});Zs.DeletePublicAccessBlockCommand=Zs.$Command=void 0;var A_e=v(),I_e=w(),eU=E();Object.defineProperty(Zs,"$Command",{enumerable:!0,get:function(){return eU.Command}});var R_e=x(),Zj=T(),gE=class e extends eU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,I_e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,A_e.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeletePublicAccessBlockCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[R_e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeletePublicAccessBlock"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Zj.se_DeletePublicAccessBlockCommand)(n,t)}deserialize(n,t){return(0,Zj.de_DeletePublicAccessBlockCommand)(n,t)}};Zs.DeletePublicAccessBlockCommand=gE});var SE=m(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.GetBucketAccelerateConfigurationCommand=ei.$Command=void 0;var N_e=v(),O_e=w(),nU=E();Object.defineProperty(ei,"$Command",{enumerable:!0,get:function(){return nU.Command}});var T_e=x(),tU=T(),CE=class e extends nU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,O_e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,N_e.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketAccelerateConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[T_e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketAccelerateConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,tU.se_GetBucketAccelerateConfigurationCommand)(n,t)}deserialize(n,t){return(0,tU.de_GetBucketAccelerateConfigurationCommand)(n,t)}};ei.GetBucketAccelerateConfigurationCommand=CE});var bE=m(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.GetBucketAclCommand=ti.$Command=void 0;var q_e=v(),B_e=w(),oU=E();Object.defineProperty(ti,"$Command",{enumerable:!0,get:function(){return oU.Command}});var M_e=x(),rU=T(),EE=class e extends oU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,B_e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,q_e.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketAclCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[M_e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketAcl"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,rU.se_GetBucketAclCommand)(n,t)}deserialize(n,t){return(0,rU.de_GetBucketAclCommand)(n,t)}};ti.GetBucketAclCommand=EE});var vE=m(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.GetBucketAnalyticsConfigurationCommand=ni.$Command=void 0;var D_e=v(),F_e=w(),iU=E();Object.defineProperty(ni,"$Command",{enumerable:!0,get:function(){return iU.Command}});var L_e=x(),sU=T(),PE=class e extends iU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,F_e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,D_e.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketAnalyticsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[L_e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketAnalyticsConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,sU.se_GetBucketAnalyticsConfigurationCommand)(n,t)}deserialize(n,t){return(0,sU.de_GetBucketAnalyticsConfigurationCommand)(n,t)}};ni.GetBucketAnalyticsConfigurationCommand=PE});var wE=m(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.GetBucketCorsCommand=ri.$Command=void 0;var j_e=v(),U_e=w(),cU=E();Object.defineProperty(ri,"$Command",{enumerable:!0,get:function(){return cU.Command}});var z_e=x(),aU=T(),xE=class e extends cU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,U_e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,j_e.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketCorsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[z_e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketCors"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,aU.se_GetBucketCorsCommand)(n,t)}deserialize(n,t){return(0,aU.de_GetBucketCorsCommand)(n,t)}};ri.GetBucketCorsCommand=xE});var AE=m(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.GetBucketEncryptionCommand=oi.$Command=void 0;var G_e=v(),H_e=w(),lU=E();Object.defineProperty(oi,"$Command",{enumerable:!0,get:function(){return lU.Command}});var $_e=x(),K_e=Ze(),dU=T(),kE=class e extends lU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,H_e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,G_e.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketEncryptionCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:K_e.GetBucketEncryptionOutputFilterSensitiveLog,[$_e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketEncryption"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,dU.se_GetBucketEncryptionCommand)(n,t)}deserialize(n,t){return(0,dU.de_GetBucketEncryptionCommand)(n,t)}};oi.GetBucketEncryptionCommand=kE});var RE=m(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.GetBucketIntelligentTieringConfigurationCommand=si.$Command=void 0;var V_e=v(),X_e=w(),mU=E();Object.defineProperty(si,"$Command",{enumerable:!0,get:function(){return mU.Command}});var W_e=x(),uU=T(),IE=class e extends mU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,X_e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,V_e.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketIntelligentTieringConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[W_e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketIntelligentTieringConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,uU.se_GetBucketIntelligentTieringConfigurationCommand)(n,t)}deserialize(n,t){return(0,uU.de_GetBucketIntelligentTieringConfigurationCommand)(n,t)}};si.GetBucketIntelligentTieringConfigurationCommand=IE});var OE=m(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.GetBucketInventoryConfigurationCommand=ii.$Command=void 0;var Y_e=v(),Q_e=w(),fU=E();Object.defineProperty(ii,"$Command",{enumerable:!0,get:function(){return fU.Command}});var J_e=x(),Z_e=Ze(),pU=T(),NE=class e extends fU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Q_e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Y_e.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketInventoryConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:Z_e.GetBucketInventoryConfigurationOutputFilterSensitiveLog,[J_e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketInventoryConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,pU.se_GetBucketInventoryConfigurationCommand)(n,t)}deserialize(n,t){return(0,pU.de_GetBucketInventoryConfigurationCommand)(n,t)}};ii.GetBucketInventoryConfigurationCommand=NE});var qE=m(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.GetBucketLifecycleConfigurationCommand=ai.$Command=void 0;var ege=v(),tge=w(),_U=E();Object.defineProperty(ai,"$Command",{enumerable:!0,get:function(){return _U.Command}});var nge=x(),yU=T(),TE=class e extends _U.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,tge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ege.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketLifecycleConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[nge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketLifecycleConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,yU.se_GetBucketLifecycleConfigurationCommand)(n,t)}deserialize(n,t){return(0,yU.de_GetBucketLifecycleConfigurationCommand)(n,t)}};ai.GetBucketLifecycleConfigurationCommand=TE});var ME=m(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.GetBucketLocationCommand=ci.$Command=void 0;var rge=v(),oge=w(),hU=E();Object.defineProperty(ci,"$Command",{enumerable:!0,get:function(){return hU.Command}});var sge=x(),gU=T(),BE=class e extends hU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,oge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,rge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketLocationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[sge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketLocation"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,gU.se_GetBucketLocationCommand)(n,t)}deserialize(n,t){return(0,gU.de_GetBucketLocationCommand)(n,t)}};ci.GetBucketLocationCommand=BE});var FE=m(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.GetBucketLoggingCommand=di.$Command=void 0;var ige=v(),age=w(),SU=E();Object.defineProperty(di,"$Command",{enumerable:!0,get:function(){return SU.Command}});var cge=x(),CU=T(),DE=class e extends SU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,age.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ige.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketLoggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[cge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketLogging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,CU.se_GetBucketLoggingCommand)(n,t)}deserialize(n,t){return(0,CU.de_GetBucketLoggingCommand)(n,t)}};di.GetBucketLoggingCommand=DE});var jE=m(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.GetBucketMetricsConfigurationCommand=li.$Command=void 0;var dge=v(),lge=w(),bU=E();Object.defineProperty(li,"$Command",{enumerable:!0,get:function(){return bU.Command}});var uge=x(),EU=T(),LE=class e extends bU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,lge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,dge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketMetricsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[uge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketMetricsConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,EU.se_GetBucketMetricsConfigurationCommand)(n,t)}deserialize(n,t){return(0,EU.de_GetBucketMetricsConfigurationCommand)(n,t)}};li.GetBucketMetricsConfigurationCommand=LE});var zE=m(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.GetBucketNotificationConfigurationCommand=ui.$Command=void 0;var mge=v(),pge=w(),vU=E();Object.defineProperty(ui,"$Command",{enumerable:!0,get:function(){return vU.Command}});var fge=x(),PU=T(),UE=class e extends vU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,pge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,mge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketNotificationConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[fge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketNotificationConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,PU.se_GetBucketNotificationConfigurationCommand)(n,t)}deserialize(n,t){return(0,PU.de_GetBucketNotificationConfigurationCommand)(n,t)}};ui.GetBucketNotificationConfigurationCommand=UE});var HE=m(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.GetBucketOwnershipControlsCommand=mi.$Command=void 0;var yge=v(),_ge=w(),wU=E();Object.defineProperty(mi,"$Command",{enumerable:!0,get:function(){return wU.Command}});var gge=x(),xU=T(),GE=class e extends wU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,_ge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,yge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketOwnershipControlsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[gge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketOwnershipControls"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,xU.se_GetBucketOwnershipControlsCommand)(n,t)}deserialize(n,t){return(0,xU.de_GetBucketOwnershipControlsCommand)(n,t)}};mi.GetBucketOwnershipControlsCommand=GE});var KE=m(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.GetBucketPolicyCommand=pi.$Command=void 0;var hge=v(),Cge=w(),AU=E();Object.defineProperty(pi,"$Command",{enumerable:!0,get:function(){return AU.Command}});var Sge=x(),kU=T(),$E=class e extends AU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Cge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,hge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketPolicyCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Sge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketPolicy"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,kU.se_GetBucketPolicyCommand)(n,t)}deserialize(n,t){return(0,kU.de_GetBucketPolicyCommand)(n,t)}};pi.GetBucketPolicyCommand=$E});var XE=m(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.GetBucketPolicyStatusCommand=fi.$Command=void 0;var Ege=v(),bge=w(),RU=E();Object.defineProperty(fi,"$Command",{enumerable:!0,get:function(){return RU.Command}});var Pge=x(),IU=T(),VE=class e extends RU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,bge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Ege.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketPolicyStatusCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Pge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketPolicyStatus"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,IU.se_GetBucketPolicyStatusCommand)(n,t)}deserialize(n,t){return(0,IU.de_GetBucketPolicyStatusCommand)(n,t)}};fi.GetBucketPolicyStatusCommand=VE});var YE=m(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.GetBucketReplicationCommand=yi.$Command=void 0;var vge=v(),xge=w(),OU=E();Object.defineProperty(yi,"$Command",{enumerable:!0,get:function(){return OU.Command}});var wge=x(),NU=T(),WE=class e extends OU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,xge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,vge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketReplicationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[wge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketReplication"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,NU.se_GetBucketReplicationCommand)(n,t)}deserialize(n,t){return(0,NU.de_GetBucketReplicationCommand)(n,t)}};yi.GetBucketReplicationCommand=WE});var JE=m(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.GetBucketRequestPaymentCommand=_i.$Command=void 0;var kge=v(),Age=w(),qU=E();Object.defineProperty(_i,"$Command",{enumerable:!0,get:function(){return qU.Command}});var Ige=x(),TU=T(),QE=class e extends qU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Age.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,kge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketRequestPaymentCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Ige.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketRequestPayment"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,TU.se_GetBucketRequestPaymentCommand)(n,t)}deserialize(n,t){return(0,TU.de_GetBucketRequestPaymentCommand)(n,t)}};_i.GetBucketRequestPaymentCommand=QE});var eb=m(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.GetBucketTaggingCommand=gi.$Command=void 0;var Rge=v(),Nge=w(),MU=E();Object.defineProperty(gi,"$Command",{enumerable:!0,get:function(){return MU.Command}});var Oge=x(),BU=T(),ZE=class e extends MU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Nge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Rge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Oge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketTagging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,BU.se_GetBucketTaggingCommand)(n,t)}deserialize(n,t){return(0,BU.de_GetBucketTaggingCommand)(n,t)}};gi.GetBucketTaggingCommand=ZE});var nb=m(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.GetBucketVersioningCommand=hi.$Command=void 0;var Tge=v(),qge=w(),FU=E();Object.defineProperty(hi,"$Command",{enumerable:!0,get:function(){return FU.Command}});var Bge=x(),DU=T(),tb=class e extends FU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,qge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Tge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketVersioningCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Bge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketVersioning"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,DU.se_GetBucketVersioningCommand)(n,t)}deserialize(n,t){return(0,DU.de_GetBucketVersioningCommand)(n,t)}};hi.GetBucketVersioningCommand=tb});var ob=m(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.GetBucketWebsiteCommand=Ci.$Command=void 0;var Mge=v(),Dge=w(),jU=E();Object.defineProperty(Ci,"$Command",{enumerable:!0,get:function(){return jU.Command}});var Fge=x(),LU=T(),rb=class e extends jU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Dge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Mge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketWebsiteCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Fge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketWebsite"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,LU.se_GetBucketWebsiteCommand)(n,t)}deserialize(n,t){return(0,LU.de_GetBucketWebsiteCommand)(n,t)}};Ci.GetBucketWebsiteCommand=rb});var ib=m(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.GetObjectAclCommand=Si.$Command=void 0;var Lge=v(),jge=w(),zU=E();Object.defineProperty(Si,"$Command",{enumerable:!0,get:function(){return zU.Command}});var Uge=x(),UU=T(),sb=class e extends zU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,jge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Lge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectAclCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Uge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObjectAcl"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,UU.se_GetObjectAclCommand)(n,t)}deserialize(n,t){return(0,UU.de_GetObjectAclCommand)(n,t)}};Si.GetObjectAclCommand=sb});var cb=m(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.GetObjectAttributesCommand=Ei.$Command=void 0;var zge=Nt(),Gge=v(),Hge=w(),HU=E();Object.defineProperty(Ei,"$Command",{enumerable:!0,get:function(){return HU.Command}});var $ge=x(),Kge=Ze(),GU=T(),ab=class e extends HU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Hge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Gge.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,zge.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectAttributesCommand",inputFilterSensitiveLog:Kge.GetObjectAttributesRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[$ge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObjectAttributes"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,GU.se_GetObjectAttributesCommand)(n,t)}deserialize(n,t){return(0,GU.de_GetObjectAttributesCommand)(n,t)}};Ei.GetObjectAttributesCommand=ab});var lb=m(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.GetObjectCommand=bi.$Command=void 0;var Vge=xe(),Xge=Nt(),Wge=v(),Yge=w(),VU=E();Object.defineProperty(bi,"$Command",{enumerable:!0,get:function(){return VU.Command}});var Qge=x(),$U=Ze(),KU=T(),db=class e extends VU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Yge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Wge.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Xge.getSsecPlugin)(t)),this.middlewareStack.use((0,Vge.getFlexibleChecksumsPlugin)(t,{input:this.input,requestChecksumRequired:!1,requestValidationModeMember:"ChecksumMode",responseAlgorithms:["CRC32","CRC32C","SHA256","SHA1"]}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectCommand",inputFilterSensitiveLog:$U.GetObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:$U.GetObjectOutputFilterSensitiveLog,[Qge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObject"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,KU.se_GetObjectCommand)(n,t)}deserialize(n,t){return(0,KU.de_GetObjectCommand)(n,t)}};bi.GetObjectCommand=db});var mb=m(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.GetObjectLegalHoldCommand=Pi.$Command=void 0;var Jge=v(),Zge=w(),WU=E();Object.defineProperty(Pi,"$Command",{enumerable:!0,get:function(){return WU.Command}});var ehe=x(),XU=T(),ub=class e extends WU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Zge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Jge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectLegalHoldCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[ehe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObjectLegalHold"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,XU.se_GetObjectLegalHoldCommand)(n,t)}deserialize(n,t){return(0,XU.de_GetObjectLegalHoldCommand)(n,t)}};Pi.GetObjectLegalHoldCommand=ub});var fb=m(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.GetObjectLockConfigurationCommand=vi.$Command=void 0;var the=v(),nhe=w(),QU=E();Object.defineProperty(vi,"$Command",{enumerable:!0,get:function(){return QU.Command}});var rhe=x(),YU=T(),pb=class e extends QU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,nhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,the.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectLockConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[rhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObjectLockConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,YU.se_GetObjectLockConfigurationCommand)(n,t)}deserialize(n,t){return(0,YU.de_GetObjectLockConfigurationCommand)(n,t)}};vi.GetObjectLockConfigurationCommand=pb});var _b=m(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.GetObjectRetentionCommand=xi.$Command=void 0;var ohe=v(),she=w(),ZU=E();Object.defineProperty(xi,"$Command",{enumerable:!0,get:function(){return ZU.Command}});var ihe=x(),JU=T(),yb=class e extends ZU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,she.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ohe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectRetentionCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[ihe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObjectRetention"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,JU.se_GetObjectRetentionCommand)(n,t)}deserialize(n,t){return(0,JU.de_GetObjectRetentionCommand)(n,t)}};xi.GetObjectRetentionCommand=yb});var hb=m(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.GetObjectTaggingCommand=wi.$Command=void 0;var ahe=v(),che=w(),tz=E();Object.defineProperty(wi,"$Command",{enumerable:!0,get:function(){return tz.Command}});var dhe=x(),ez=T(),gb=class e extends tz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,che.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ahe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[dhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObjectTagging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,ez.se_GetObjectTaggingCommand)(n,t)}deserialize(n,t){return(0,ez.de_GetObjectTaggingCommand)(n,t)}};wi.GetObjectTaggingCommand=gb});var Sb=m(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.GetObjectTorrentCommand=ki.$Command=void 0;var lhe=v(),uhe=w(),rz=E();Object.defineProperty(ki,"$Command",{enumerable:!0,get:function(){return rz.Command}});var mhe=x(),phe=Ze(),nz=T(),Cb=class e extends rz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,uhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,lhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectTorrentCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:phe.GetObjectTorrentOutputFilterSensitiveLog,[mhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObjectTorrent"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,nz.se_GetObjectTorrentCommand)(n,t)}deserialize(n,t){return(0,nz.de_GetObjectTorrentCommand)(n,t)}};ki.GetObjectTorrentCommand=Cb});var bb=m(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.GetPublicAccessBlockCommand=Ai.$Command=void 0;var fhe=v(),yhe=w(),sz=E();Object.defineProperty(Ai,"$Command",{enumerable:!0,get:function(){return sz.Command}});var _he=x(),oz=T(),Eb=class e extends sz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,yhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,fhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetPublicAccessBlockCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[_he.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetPublicAccessBlock"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,oz.se_GetPublicAccessBlockCommand)(n,t)}deserialize(n,t){return(0,oz.de_GetPublicAccessBlockCommand)(n,t)}};Ai.GetPublicAccessBlockCommand=Eb});var Jc=m(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.HeadBucketCommand=Ii.$Command=void 0;var ghe=v(),hhe=w(),az=E();Object.defineProperty(Ii,"$Command",{enumerable:!0,get:function(){return az.Command}});var Che=x(),iz=T(),Pb=class e extends az.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,hhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ghe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"HeadBucketCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Che.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"HeadBucket"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,iz.se_HeadBucketCommand)(n,t)}deserialize(n,t){return(0,iz.de_HeadBucketCommand)(n,t)}};Ii.HeadBucketCommand=Pb});var Zc=m(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.HeadObjectCommand=Ri.$Command=void 0;var She=Nt(),Ehe=v(),bhe=w(),lz=E();Object.defineProperty(Ri,"$Command",{enumerable:!0,get:function(){return lz.Command}});var Phe=x(),cz=Ze(),dz=T(),vb=class e extends lz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,bhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Ehe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,She.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"HeadObjectCommand",inputFilterSensitiveLog:cz.HeadObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:cz.HeadObjectOutputFilterSensitiveLog,[Phe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"HeadObject"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,dz.se_HeadObjectCommand)(n,t)}deserialize(n,t){return(0,dz.de_HeadObjectCommand)(n,t)}};Ri.HeadObjectCommand=vb});var wb=m(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.ListBucketAnalyticsConfigurationsCommand=Ni.$Command=void 0;var vhe=v(),xhe=w(),mz=E();Object.defineProperty(Ni,"$Command",{enumerable:!0,get:function(){return mz.Command}});var whe=x(),uz=T(),xb=class e extends mz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,xhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,vhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListBucketAnalyticsConfigurationsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[whe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListBucketAnalyticsConfigurations"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,uz.se_ListBucketAnalyticsConfigurationsCommand)(n,t)}deserialize(n,t){return(0,uz.de_ListBucketAnalyticsConfigurationsCommand)(n,t)}};Ni.ListBucketAnalyticsConfigurationsCommand=xb});var Ab=m(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.ListBucketIntelligentTieringConfigurationsCommand=Oi.$Command=void 0;var khe=v(),Ahe=w(),fz=E();Object.defineProperty(Oi,"$Command",{enumerable:!0,get:function(){return fz.Command}});var Ihe=x(),pz=T(),kb=class e extends fz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Ahe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,khe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListBucketIntelligentTieringConfigurationsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Ihe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListBucketIntelligentTieringConfigurations"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,pz.se_ListBucketIntelligentTieringConfigurationsCommand)(n,t)}deserialize(n,t){return(0,pz.de_ListBucketIntelligentTieringConfigurationsCommand)(n,t)}};Oi.ListBucketIntelligentTieringConfigurationsCommand=kb});var Rb=m(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.ListBucketInventoryConfigurationsCommand=Ti.$Command=void 0;var Rhe=v(),Nhe=w(),_z=E();Object.defineProperty(Ti,"$Command",{enumerable:!0,get:function(){return _z.Command}});var Ohe=x(),The=Ze(),yz=T(),Ib=class e extends _z.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Nhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Rhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListBucketInventoryConfigurationsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:The.ListBucketInventoryConfigurationsOutputFilterSensitiveLog,[Ohe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListBucketInventoryConfigurations"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,yz.se_ListBucketInventoryConfigurationsCommand)(n,t)}deserialize(n,t){return(0,yz.de_ListBucketInventoryConfigurationsCommand)(n,t)}};Ti.ListBucketInventoryConfigurationsCommand=Ib});var Ob=m(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.ListBucketMetricsConfigurationsCommand=qi.$Command=void 0;var qhe=v(),Bhe=w(),hz=E();Object.defineProperty(qi,"$Command",{enumerable:!0,get:function(){return hz.Command}});var Mhe=x(),gz=T(),Nb=class e extends hz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Bhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,qhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListBucketMetricsConfigurationsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Mhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListBucketMetricsConfigurations"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,gz.se_ListBucketMetricsConfigurationsCommand)(n,t)}deserialize(n,t){return(0,gz.de_ListBucketMetricsConfigurationsCommand)(n,t)}};qi.ListBucketMetricsConfigurationsCommand=Nb});var qb=m(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.ListBucketsCommand=Bi.$Command=void 0;var Dhe=v(),Fhe=w(),Sz=E();Object.defineProperty(Bi,"$Command",{enumerable:!0,get:function(){return Sz.Command}});var Lhe=x(),Cz=T(),Tb=class e extends Sz.Command{static getEndpointParameterInstructions(){return{ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Fhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Dhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListBucketsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Lhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListBuckets"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Cz.se_ListBucketsCommand)(n,t)}deserialize(n,t){return(0,Cz.de_ListBucketsCommand)(n,t)}};Bi.ListBucketsCommand=Tb});var Mb=m(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.ListMultipartUploadsCommand=Mi.$Command=void 0;var jhe=v(),Uhe=w(),bz=E();Object.defineProperty(Mi,"$Command",{enumerable:!0,get:function(){return bz.Command}});var zhe=x(),Ez=T(),Bb=class e extends bz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Uhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,jhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListMultipartUploadsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[zhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListMultipartUploads"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Ez.se_ListMultipartUploadsCommand)(n,t)}deserialize(n,t){return(0,Ez.de_ListMultipartUploadsCommand)(n,t)}};Mi.ListMultipartUploadsCommand=Bb});var Fb=m(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.ListObjectsCommand=Di.$Command=void 0;var Ghe=v(),Hhe=w(),vz=E();Object.defineProperty(Di,"$Command",{enumerable:!0,get:function(){return vz.Command}});var $he=x(),Pz=T(),Db=class e extends vz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Hhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Ghe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListObjectsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[$he.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListObjects"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Pz.se_ListObjectsCommand)(n,t)}deserialize(n,t){return(0,Pz.de_ListObjectsCommand)(n,t)}};Di.ListObjectsCommand=Db});var Cy=m(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Fi.ListObjectsV2Command=Fi.$Command=void 0;var Khe=v(),Vhe=w(),wz=E();Object.defineProperty(Fi,"$Command",{enumerable:!0,get:function(){return wz.Command}});var Xhe=x(),xz=T(),Lb=class e extends wz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Vhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Khe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListObjectsV2Command",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Xhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListObjectsV2"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,xz.se_ListObjectsV2Command)(n,t)}deserialize(n,t){return(0,xz.de_ListObjectsV2Command)(n,t)}};Fi.ListObjectsV2Command=Lb});var Ub=m(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.ListObjectVersionsCommand=Li.$Command=void 0;var Whe=v(),Yhe=w(),Az=E();Object.defineProperty(Li,"$Command",{enumerable:!0,get:function(){return Az.Command}});var Qhe=x(),kz=T(),jb=class e extends Az.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Yhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Whe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListObjectVersionsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Qhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListObjectVersions"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,kz.se_ListObjectVersionsCommand)(n,t)}deserialize(n,t){return(0,kz.de_ListObjectVersionsCommand)(n,t)}};Li.ListObjectVersionsCommand=jb});var Sy=m(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});ji.ListPartsCommand=ji.$Command=void 0;var Jhe=Nt(),Zhe=v(),eCe=w(),Rz=E();Object.defineProperty(ji,"$Command",{enumerable:!0,get:function(){return Rz.Command}});var tCe=x(),nCe=Ze(),Iz=T(),zb=class e extends Rz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,eCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Zhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Jhe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListPartsCommand",inputFilterSensitiveLog:nCe.ListPartsRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[tCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListParts"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Iz.se_ListPartsCommand)(n,t)}deserialize(n,t){return(0,Iz.de_ListPartsCommand)(n,t)}};ji.ListPartsCommand=zb});var Hb=m(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.PutBucketAccelerateConfigurationCommand=Ui.$Command=void 0;var rCe=xe(),oCe=v(),sCe=w(),Oz=E();Object.defineProperty(Ui,"$Command",{enumerable:!0,get:function(){return Oz.Command}});var iCe=x(),Nz=T(),Gb=class e extends Oz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,sCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,oCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,rCe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketAccelerateConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[iCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketAccelerateConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Nz.se_PutBucketAccelerateConfigurationCommand)(n,t)}deserialize(n,t){return(0,Nz.de_PutBucketAccelerateConfigurationCommand)(n,t)}};Ui.PutBucketAccelerateConfigurationCommand=Gb});var Kb=m(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});zi.PutBucketAclCommand=zi.$Command=void 0;var aCe=xe(),cCe=v(),dCe=w(),qz=E();Object.defineProperty(zi,"$Command",{enumerable:!0,get:function(){return qz.Command}});var lCe=x(),Tz=T(),$b=class e extends qz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,dCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,cCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,aCe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketAclCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[lCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketAcl"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Tz.se_PutBucketAclCommand)(n,t)}deserialize(n,t){return(0,Tz.de_PutBucketAclCommand)(n,t)}};zi.PutBucketAclCommand=$b});var Xb=m(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});Gi.PutBucketAnalyticsConfigurationCommand=Gi.$Command=void 0;var uCe=v(),mCe=w(),Mz=E();Object.defineProperty(Gi,"$Command",{enumerable:!0,get:function(){return Mz.Command}});var pCe=x(),Bz=T(),Vb=class e extends Mz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,mCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,uCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketAnalyticsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[pCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketAnalyticsConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Bz.se_PutBucketAnalyticsConfigurationCommand)(n,t)}deserialize(n,t){return(0,Bz.de_PutBucketAnalyticsConfigurationCommand)(n,t)}};Gi.PutBucketAnalyticsConfigurationCommand=Vb});var Yb=m(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.PutBucketCorsCommand=Hi.$Command=void 0;var fCe=xe(),yCe=v(),_Ce=w(),Fz=E();Object.defineProperty(Hi,"$Command",{enumerable:!0,get:function(){return Fz.Command}});var gCe=x(),Dz=T(),Wb=class e extends Fz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,_Ce.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,yCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,fCe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketCorsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[gCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketCors"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Dz.se_PutBucketCorsCommand)(n,t)}deserialize(n,t){return(0,Dz.de_PutBucketCorsCommand)(n,t)}};Hi.PutBucketCorsCommand=Wb});var Jb=m($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});$i.PutBucketEncryptionCommand=$i.$Command=void 0;var hCe=xe(),CCe=v(),SCe=w(),jz=E();Object.defineProperty($i,"$Command",{enumerable:!0,get:function(){return jz.Command}});var ECe=x(),bCe=Ze(),Lz=T(),Qb=class e extends jz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,SCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,CCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,hCe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketEncryptionCommand",inputFilterSensitiveLog:bCe.PutBucketEncryptionRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[ECe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketEncryption"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Lz.se_PutBucketEncryptionCommand)(n,t)}deserialize(n,t){return(0,Lz.de_PutBucketEncryptionCommand)(n,t)}};$i.PutBucketEncryptionCommand=Qb});var eP=m(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.PutBucketIntelligentTieringConfigurationCommand=Ki.$Command=void 0;var PCe=v(),vCe=w(),zz=E();Object.defineProperty(Ki,"$Command",{enumerable:!0,get:function(){return zz.Command}});var xCe=x(),Uz=T(),Zb=class e extends zz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,vCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,PCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketIntelligentTieringConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[xCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketIntelligentTieringConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Uz.se_PutBucketIntelligentTieringConfigurationCommand)(n,t)}deserialize(n,t){return(0,Uz.de_PutBucketIntelligentTieringConfigurationCommand)(n,t)}};Ki.PutBucketIntelligentTieringConfigurationCommand=Zb});var nP=m(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});Vi.PutBucketInventoryConfigurationCommand=Vi.$Command=void 0;var wCe=v(),kCe=w(),Hz=E();Object.defineProperty(Vi,"$Command",{enumerable:!0,get:function(){return Hz.Command}});var ACe=x(),ICe=Ze(),Gz=T(),tP=class e extends Hz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,kCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,wCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketInventoryConfigurationCommand",inputFilterSensitiveLog:ICe.PutBucketInventoryConfigurationRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[ACe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketInventoryConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Gz.se_PutBucketInventoryConfigurationCommand)(n,t)}deserialize(n,t){return(0,Gz.de_PutBucketInventoryConfigurationCommand)(n,t)}};Vi.PutBucketInventoryConfigurationCommand=tP});var oP=m(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});Xi.PutBucketLifecycleConfigurationCommand=Xi.$Command=void 0;var RCe=xe(),NCe=v(),OCe=w(),Kz=E();Object.defineProperty(Xi,"$Command",{enumerable:!0,get:function(){return Kz.Command}});var TCe=x(),$z=T(),rP=class e extends Kz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,OCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,NCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,RCe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketLifecycleConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[TCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketLifecycleConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,$z.se_PutBucketLifecycleConfigurationCommand)(n,t)}deserialize(n,t){return(0,$z.de_PutBucketLifecycleConfigurationCommand)(n,t)}};Xi.PutBucketLifecycleConfigurationCommand=rP});var iP=m(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});Wi.PutBucketLoggingCommand=Wi.$Command=void 0;var qCe=xe(),BCe=v(),MCe=w(),Xz=E();Object.defineProperty(Wi,"$Command",{enumerable:!0,get:function(){return Xz.Command}});var DCe=x(),Vz=T(),sP=class e extends Xz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,MCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,BCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,qCe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketLoggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[DCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketLogging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Vz.se_PutBucketLoggingCommand)(n,t)}deserialize(n,t){return(0,Vz.de_PutBucketLoggingCommand)(n,t)}};Wi.PutBucketLoggingCommand=sP});var cP=m(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});Yi.PutBucketMetricsConfigurationCommand=Yi.$Command=void 0;var FCe=v(),LCe=w(),Yz=E();Object.defineProperty(Yi,"$Command",{enumerable:!0,get:function(){return Yz.Command}});var jCe=x(),Wz=T(),aP=class e extends Yz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,LCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,FCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketMetricsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[jCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketMetricsConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Wz.se_PutBucketMetricsConfigurationCommand)(n,t)}deserialize(n,t){return(0,Wz.de_PutBucketMetricsConfigurationCommand)(n,t)}};Yi.PutBucketMetricsConfigurationCommand=aP});var lP=m(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.PutBucketNotificationConfigurationCommand=Qi.$Command=void 0;var UCe=v(),zCe=w(),Jz=E();Object.defineProperty(Qi,"$Command",{enumerable:!0,get:function(){return Jz.Command}});var GCe=x(),Qz=T(),dP=class e extends Jz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,zCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,UCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketNotificationConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[GCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketNotificationConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Qz.se_PutBucketNotificationConfigurationCommand)(n,t)}deserialize(n,t){return(0,Qz.de_PutBucketNotificationConfigurationCommand)(n,t)}};Qi.PutBucketNotificationConfigurationCommand=dP});var mP=m(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});Ji.PutBucketOwnershipControlsCommand=Ji.$Command=void 0;var HCe=xe(),$Ce=v(),KCe=w(),e3=E();Object.defineProperty(Ji,"$Command",{enumerable:!0,get:function(){return e3.Command}});var VCe=x(),Zz=T(),uP=class e extends e3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,KCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,$Ce.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,HCe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketOwnershipControlsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[VCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketOwnershipControls"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Zz.se_PutBucketOwnershipControlsCommand)(n,t)}deserialize(n,t){return(0,Zz.de_PutBucketOwnershipControlsCommand)(n,t)}};Ji.PutBucketOwnershipControlsCommand=uP});var fP=m(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});Zi.PutBucketPolicyCommand=Zi.$Command=void 0;var XCe=xe(),WCe=v(),YCe=w(),n3=E();Object.defineProperty(Zi,"$Command",{enumerable:!0,get:function(){return n3.Command}});var QCe=x(),t3=T(),pP=class e extends n3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,YCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,WCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,XCe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketPolicyCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[QCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketPolicy"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,t3.se_PutBucketPolicyCommand)(n,t)}deserialize(n,t){return(0,t3.de_PutBucketPolicyCommand)(n,t)}};Zi.PutBucketPolicyCommand=pP});var _P=m(ea=>{"use strict";Object.defineProperty(ea,"__esModule",{value:!0});ea.PutBucketReplicationCommand=ea.$Command=void 0;var JCe=xe(),ZCe=v(),eSe=w(),o3=E();Object.defineProperty(ea,"$Command",{enumerable:!0,get:function(){return o3.Command}});var tSe=x(),r3=T(),yP=class e extends o3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,eSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ZCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,JCe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketReplicationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[tSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketReplication"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,r3.se_PutBucketReplicationCommand)(n,t)}deserialize(n,t){return(0,r3.de_PutBucketReplicationCommand)(n,t)}};ea.PutBucketReplicationCommand=yP});var hP=m(ta=>{"use strict";Object.defineProperty(ta,"__esModule",{value:!0});ta.PutBucketRequestPaymentCommand=ta.$Command=void 0;var nSe=xe(),rSe=v(),oSe=w(),i3=E();Object.defineProperty(ta,"$Command",{enumerable:!0,get:function(){return i3.Command}});var sSe=x(),s3=T(),gP=class e extends i3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,oSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,rSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,nSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketRequestPaymentCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[sSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketRequestPayment"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,s3.se_PutBucketRequestPaymentCommand)(n,t)}deserialize(n,t){return(0,s3.de_PutBucketRequestPaymentCommand)(n,t)}};ta.PutBucketRequestPaymentCommand=gP});var SP=m(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.PutBucketTaggingCommand=na.$Command=void 0;var iSe=xe(),aSe=v(),cSe=w(),c3=E();Object.defineProperty(na,"$Command",{enumerable:!0,get:function(){return c3.Command}});var dSe=x(),a3=T(),CP=class e extends c3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,cSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,aSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,iSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[dSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketTagging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,a3.se_PutBucketTaggingCommand)(n,t)}deserialize(n,t){return(0,a3.de_PutBucketTaggingCommand)(n,t)}};na.PutBucketTaggingCommand=CP});var bP=m(ra=>{"use strict";Object.defineProperty(ra,"__esModule",{value:!0});ra.PutBucketVersioningCommand=ra.$Command=void 0;var lSe=xe(),uSe=v(),mSe=w(),l3=E();Object.defineProperty(ra,"$Command",{enumerable:!0,get:function(){return l3.Command}});var pSe=x(),d3=T(),EP=class e extends l3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,mSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,uSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,lSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketVersioningCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[pSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketVersioning"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,d3.se_PutBucketVersioningCommand)(n,t)}deserialize(n,t){return(0,d3.de_PutBucketVersioningCommand)(n,t)}};ra.PutBucketVersioningCommand=EP});var vP=m(oa=>{"use strict";Object.defineProperty(oa,"__esModule",{value:!0});oa.PutBucketWebsiteCommand=oa.$Command=void 0;var fSe=xe(),ySe=v(),_Se=w(),m3=E();Object.defineProperty(oa,"$Command",{enumerable:!0,get:function(){return m3.Command}});var gSe=x(),u3=T(),PP=class e extends m3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,_Se.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ySe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,fSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketWebsiteCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[gSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketWebsite"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,u3.se_PutBucketWebsiteCommand)(n,t)}deserialize(n,t){return(0,u3.de_PutBucketWebsiteCommand)(n,t)}};oa.PutBucketWebsiteCommand=PP});var wP=m(sa=>{"use strict";Object.defineProperty(sa,"__esModule",{value:!0});sa.PutObjectAclCommand=sa.$Command=void 0;var hSe=xe(),CSe=v(),SSe=w(),f3=E();Object.defineProperty(sa,"$Command",{enumerable:!0,get:function(){return f3.Command}});var ESe=x(),p3=T(),xP=class e extends f3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,SSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,CSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,hSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutObjectAclCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[ESe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutObjectAcl"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,p3.se_PutObjectAclCommand)(n,t)}deserialize(n,t){return(0,p3.de_PutObjectAclCommand)(n,t)}};sa.PutObjectAclCommand=xP});var AP=m(ia=>{"use strict";Object.defineProperty(ia,"__esModule",{value:!0});ia.PutObjectCommand=ia.$Command=void 0;var bSe=xe(),PSe=xo(),vSe=Nt(),xSe=v(),wSe=w(),g3=E();Object.defineProperty(ia,"$Command",{enumerable:!0,get:function(){return g3.Command}});var kSe=x(),y3=Ze(),_3=T(),kP=class e extends g3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,wSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,xSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,PSe.getCheckContentLengthHeaderPlugin)(t)),this.middlewareStack.use((0,vSe.getSsecPlugin)(t)),this.middlewareStack.use((0,bSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutObjectCommand",inputFilterSensitiveLog:y3.PutObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:y3.PutObjectOutputFilterSensitiveLog,[kSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutObject"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,_3.se_PutObjectCommand)(n,t)}deserialize(n,t){return(0,_3.de_PutObjectCommand)(n,t)}};ia.PutObjectCommand=kP});var RP=m(aa=>{"use strict";Object.defineProperty(aa,"__esModule",{value:!0});aa.PutObjectLegalHoldCommand=aa.$Command=void 0;var ASe=xe(),ISe=v(),RSe=w(),C3=E();Object.defineProperty(aa,"$Command",{enumerable:!0,get:function(){return C3.Command}});var NSe=x(),h3=T(),IP=class e extends C3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,RSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ISe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,ASe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutObjectLegalHoldCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[NSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutObjectLegalHold"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,h3.se_PutObjectLegalHoldCommand)(n,t)}deserialize(n,t){return(0,h3.de_PutObjectLegalHoldCommand)(n,t)}};aa.PutObjectLegalHoldCommand=IP});var OP=m(ca=>{"use strict";Object.defineProperty(ca,"__esModule",{value:!0});ca.PutObjectLockConfigurationCommand=ca.$Command=void 0;var OSe=xe(),TSe=v(),qSe=w(),E3=E();Object.defineProperty(ca,"$Command",{enumerable:!0,get:function(){return E3.Command}});var BSe=x(),S3=T(),NP=class e extends E3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,qSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,TSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,OSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutObjectLockConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[BSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutObjectLockConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,S3.se_PutObjectLockConfigurationCommand)(n,t)}deserialize(n,t){return(0,S3.de_PutObjectLockConfigurationCommand)(n,t)}};ca.PutObjectLockConfigurationCommand=NP});var qP=m(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});da.PutObjectRetentionCommand=da.$Command=void 0;var MSe=xe(),DSe=v(),FSe=w(),P3=E();Object.defineProperty(da,"$Command",{enumerable:!0,get:function(){return P3.Command}});var LSe=x(),b3=T(),TP=class e extends P3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,FSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,DSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,MSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutObjectRetentionCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[LSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutObjectRetention"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,b3.se_PutObjectRetentionCommand)(n,t)}deserialize(n,t){return(0,b3.de_PutObjectRetentionCommand)(n,t)}};da.PutObjectRetentionCommand=TP});var MP=m(la=>{"use strict";Object.defineProperty(la,"__esModule",{value:!0});la.PutObjectTaggingCommand=la.$Command=void 0;var jSe=xe(),USe=v(),zSe=w(),x3=E();Object.defineProperty(la,"$Command",{enumerable:!0,get:function(){return x3.Command}});var GSe=x(),v3=T(),BP=class e extends x3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,zSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,USe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,jSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutObjectTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[GSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutObjectTagging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,v3.se_PutObjectTaggingCommand)(n,t)}deserialize(n,t){return(0,v3.de_PutObjectTaggingCommand)(n,t)}};la.PutObjectTaggingCommand=BP});var FP=m(ua=>{"use strict";Object.defineProperty(ua,"__esModule",{value:!0});ua.PutPublicAccessBlockCommand=ua.$Command=void 0;var HSe=xe(),$Se=v(),KSe=w(),k3=E();Object.defineProperty(ua,"$Command",{enumerable:!0,get:function(){return k3.Command}});var VSe=x(),w3=T(),DP=class e extends k3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,KSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,$Se.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,HSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutPublicAccessBlockCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[VSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutPublicAccessBlock"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,w3.se_PutPublicAccessBlockCommand)(n,t)}deserialize(n,t){return(0,w3.de_PutPublicAccessBlockCommand)(n,t)}};ua.PutPublicAccessBlockCommand=DP});var jP=m(ma=>{"use strict";Object.defineProperty(ma,"__esModule",{value:!0});ma.RestoreObjectCommand=ma.$Command=void 0;var XSe=xe(),WSe=v(),YSe=w(),I3=E();Object.defineProperty(ma,"$Command",{enumerable:!0,get:function(){return I3.Command}});var QSe=x(),JSe=Ir(),A3=T(),LP=class e extends I3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,YSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,WSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,XSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"RestoreObjectCommand",inputFilterSensitiveLog:JSe.RestoreObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[QSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"RestoreObject"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,A3.se_RestoreObjectCommand)(n,t)}deserialize(n,t){return(0,A3.de_RestoreObjectCommand)(n,t)}};ma.RestoreObjectCommand=LP});var zP=m(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.SelectObjectContentCommand=pa.$Command=void 0;var ZSe=Nt(),e0e=v(),t0e=w(),O3=E();Object.defineProperty(pa,"$Command",{enumerable:!0,get:function(){return O3.Command}});var n0e=x(),R3=Ir(),N3=T(),UP=class e extends O3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,t0e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,e0e.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,ZSe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"SelectObjectContentCommand",inputFilterSensitiveLog:R3.SelectObjectContentRequestFilterSensitiveLog,outputFilterSensitiveLog:R3.SelectObjectContentOutputFilterSensitiveLog,[n0e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"SelectObjectContent"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,N3.se_SelectObjectContentCommand)(n,t)}deserialize(n,t){return(0,N3.de_SelectObjectContentCommand)(n,t)}};pa.SelectObjectContentCommand=UP});var HP=m(fa=>{"use strict";Object.defineProperty(fa,"__esModule",{value:!0});fa.UploadPartCommand=fa.$Command=void 0;var r0e=xe(),o0e=Nt(),s0e=v(),i0e=w(),B3=E();Object.defineProperty(fa,"$Command",{enumerable:!0,get:function(){return B3.Command}});var a0e=x(),T3=Ir(),q3=T(),GP=class e extends B3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,i0e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,s0e.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,o0e.getSsecPlugin)(t)),this.middlewareStack.use((0,r0e.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"UploadPartCommand",inputFilterSensitiveLog:T3.UploadPartRequestFilterSensitiveLog,outputFilterSensitiveLog:T3.UploadPartOutputFilterSensitiveLog,[a0e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"UploadPart"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,q3.se_UploadPartCommand)(n,t)}deserialize(n,t){return(0,q3.de_UploadPartCommand)(n,t)}};fa.UploadPartCommand=GP});var KP=m(ya=>{"use strict";Object.defineProperty(ya,"__esModule",{value:!0});ya.UploadPartCopyCommand=ya.$Command=void 0;var c0e=xo(),d0e=Nt(),l0e=v(),u0e=w(),F3=E();Object.defineProperty(ya,"$Command",{enumerable:!0,get:function(){return F3.Command}});var m0e=x(),M3=Ir(),D3=T(),$P=class e extends F3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,u0e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,l0e.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,c0e.getThrow200ExceptionsPlugin)(t)),this.middlewareStack.use((0,d0e.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"UploadPartCopyCommand",inputFilterSensitiveLog:M3.UploadPartCopyRequestFilterSensitiveLog,outputFilterSensitiveLog:M3.UploadPartCopyOutputFilterSensitiveLog,[m0e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"UploadPartCopy"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,D3.se_UploadPartCopyCommand)(n,t)}deserialize(n,t){return(0,D3.de_UploadPartCopyCommand)(n,t)}};ya.UploadPartCopyCommand=$P});var XP=m(_a=>{"use strict";Object.defineProperty(_a,"__esModule",{value:!0});_a.WriteGetObjectResponseCommand=_a.$Command=void 0;var p0e=v(),f0e=w(),j3=E();Object.defineProperty(_a,"$Command",{enumerable:!0,get:function(){return j3.Command}});var y0e=x(),_0e=Ir(),L3=T(),VP=class e extends j3.Command{static getEndpointParameterInstructions(){return{UseObjectLambdaEndpoint:{type:"staticContextParams",value:!0},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,f0e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,p0e.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"WriteGetObjectResponseCommand",inputFilterSensitiveLog:_0e.WriteGetObjectResponseRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[y0e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"WriteGetObjectResponse"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,L3.se_WriteGetObjectResponseCommand)(n,t)}deserialize(n,t){return(0,L3.de_WriteGetObjectResponseCommand)(n,t)}};_a.WriteGetObjectResponseCommand=VP});var U3=m(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0});by.S3=void 0;var g0e=E(),h0e=g0(),C0e=C0(),S0e=E0(),E0e=P0(),b0e=x0(),P0e=k0(),v0e=I0(),x0e=N0(),w0e=T0(),k0e=B0(),A0e=D0(),I0e=L0(),R0e=U0(),N0e=G0(),O0e=$0(),T0e=V0(),q0e=W0(),B0e=Q0(),M0e=Z0(),D0e=fE(),F0e=_E(),L0e=hE(),j0e=SE(),U0e=bE(),z0e=vE(),G0e=wE(),H0e=AE(),$0e=RE(),K0e=OE(),V0e=qE(),X0e=ME(),W0e=FE(),Y0e=jE(),Q0e=zE(),J0e=HE(),Z0e=KE(),eEe=XE(),tEe=YE(),nEe=JE(),rEe=eb(),oEe=nb(),sEe=ob(),iEe=ib(),aEe=cb(),cEe=lb(),dEe=mb(),lEe=fb(),uEe=_b(),mEe=hb(),pEe=Sb(),fEe=bb(),yEe=Jc(),_Ee=Zc(),gEe=wb(),hEe=Ab(),CEe=Rb(),SEe=Ob(),EEe=qb(),bEe=Mb(),PEe=Fb(),vEe=Cy(),xEe=Ub(),wEe=Sy(),kEe=Hb(),AEe=Kb(),IEe=Xb(),REe=Yb(),NEe=Jb(),OEe=eP(),TEe=nP(),qEe=oP(),BEe=iP(),MEe=cP(),DEe=lP(),FEe=mP(),LEe=fP(),jEe=_P(),UEe=hP(),zEe=SP(),GEe=bP(),HEe=vP(),$Ee=wP(),KEe=AP(),VEe=RP(),XEe=OP(),WEe=qP(),YEe=MP(),QEe=FP(),JEe=jP(),ZEe=zP(),ebe=HP(),tbe=KP(),nbe=XP(),rbe=Kc(),obe={AbortMultipartUploadCommand:h0e.AbortMultipartUploadCommand,CompleteMultipartUploadCommand:C0e.CompleteMultipartUploadCommand,CopyObjectCommand:S0e.CopyObjectCommand,CreateBucketCommand:E0e.CreateBucketCommand,CreateMultipartUploadCommand:b0e.CreateMultipartUploadCommand,DeleteBucketCommand:v0e.DeleteBucketCommand,DeleteBucketAnalyticsConfigurationCommand:P0e.DeleteBucketAnalyticsConfigurationCommand,DeleteBucketCorsCommand:x0e.DeleteBucketCorsCommand,DeleteBucketEncryptionCommand:w0e.DeleteBucketEncryptionCommand,DeleteBucketIntelligentTieringConfigurationCommand:k0e.DeleteBucketIntelligentTieringConfigurationCommand,DeleteBucketInventoryConfigurationCommand:A0e.DeleteBucketInventoryConfigurationCommand,DeleteBucketLifecycleCommand:I0e.DeleteBucketLifecycleCommand,DeleteBucketMetricsConfigurationCommand:R0e.DeleteBucketMetricsConfigurationCommand,DeleteBucketOwnershipControlsCommand:N0e.DeleteBucketOwnershipControlsCommand,DeleteBucketPolicyCommand:O0e.DeleteBucketPolicyCommand,DeleteBucketReplicationCommand:T0e.DeleteBucketReplicationCommand,DeleteBucketTaggingCommand:q0e.DeleteBucketTaggingCommand,DeleteBucketWebsiteCommand:B0e.DeleteBucketWebsiteCommand,DeleteObjectCommand:M0e.DeleteObjectCommand,DeleteObjectsCommand:D0e.DeleteObjectsCommand,DeleteObjectTaggingCommand:F0e.DeleteObjectTaggingCommand,DeletePublicAccessBlockCommand:L0e.DeletePublicAccessBlockCommand,GetBucketAccelerateConfigurationCommand:j0e.GetBucketAccelerateConfigurationCommand,GetBucketAclCommand:U0e.GetBucketAclCommand,GetBucketAnalyticsConfigurationCommand:z0e.GetBucketAnalyticsConfigurationCommand,GetBucketCorsCommand:G0e.GetBucketCorsCommand,GetBucketEncryptionCommand:H0e.GetBucketEncryptionCommand,GetBucketIntelligentTieringConfigurationCommand:$0e.GetBucketIntelligentTieringConfigurationCommand,GetBucketInventoryConfigurationCommand:K0e.GetBucketInventoryConfigurationCommand,GetBucketLifecycleConfigurationCommand:V0e.GetBucketLifecycleConfigurationCommand,GetBucketLocationCommand:X0e.GetBucketLocationCommand,GetBucketLoggingCommand:W0e.GetBucketLoggingCommand,GetBucketMetricsConfigurationCommand:Y0e.GetBucketMetricsConfigurationCommand,GetBucketNotificationConfigurationCommand:Q0e.GetBucketNotificationConfigurationCommand,GetBucketOwnershipControlsCommand:J0e.GetBucketOwnershipControlsCommand,GetBucketPolicyCommand:Z0e.GetBucketPolicyCommand,GetBucketPolicyStatusCommand:eEe.GetBucketPolicyStatusCommand,GetBucketReplicationCommand:tEe.GetBucketReplicationCommand,GetBucketRequestPaymentCommand:nEe.GetBucketRequestPaymentCommand,GetBucketTaggingCommand:rEe.GetBucketTaggingCommand,GetBucketVersioningCommand:oEe.GetBucketVersioningCommand,GetBucketWebsiteCommand:sEe.GetBucketWebsiteCommand,GetObjectCommand:cEe.GetObjectCommand,GetObjectAclCommand:iEe.GetObjectAclCommand,GetObjectAttributesCommand:aEe.GetObjectAttributesCommand,GetObjectLegalHoldCommand:dEe.GetObjectLegalHoldCommand,GetObjectLockConfigurationCommand:lEe.GetObjectLockConfigurationCommand,GetObjectRetentionCommand:uEe.GetObjectRetentionCommand,GetObjectTaggingCommand:mEe.GetObjectTaggingCommand,GetObjectTorrentCommand:pEe.GetObjectTorrentCommand,GetPublicAccessBlockCommand:fEe.GetPublicAccessBlockCommand,HeadBucketCommand:yEe.HeadBucketCommand,HeadObjectCommand:_Ee.HeadObjectCommand,ListBucketAnalyticsConfigurationsCommand:gEe.ListBucketAnalyticsConfigurationsCommand,ListBucketIntelligentTieringConfigurationsCommand:hEe.ListBucketIntelligentTieringConfigurationsCommand,ListBucketInventoryConfigurationsCommand:CEe.ListBucketInventoryConfigurationsCommand,ListBucketMetricsConfigurationsCommand:SEe.ListBucketMetricsConfigurationsCommand,ListBucketsCommand:EEe.ListBucketsCommand,ListMultipartUploadsCommand:bEe.ListMultipartUploadsCommand,ListObjectsCommand:PEe.ListObjectsCommand,ListObjectsV2Command:vEe.ListObjectsV2Command,ListObjectVersionsCommand:xEe.ListObjectVersionsCommand,ListPartsCommand:wEe.ListPartsCommand,PutBucketAccelerateConfigurationCommand:kEe.PutBucketAccelerateConfigurationCommand,PutBucketAclCommand:AEe.PutBucketAclCommand,PutBucketAnalyticsConfigurationCommand:IEe.PutBucketAnalyticsConfigurationCommand,PutBucketCorsCommand:REe.PutBucketCorsCommand,PutBucketEncryptionCommand:NEe.PutBucketEncryptionCommand,PutBucketIntelligentTieringConfigurationCommand:OEe.PutBucketIntelligentTieringConfigurationCommand,PutBucketInventoryConfigurationCommand:TEe.PutBucketInventoryConfigurationCommand,PutBucketLifecycleConfigurationCommand:qEe.PutBucketLifecycleConfigurationCommand,PutBucketLoggingCommand:BEe.PutBucketLoggingCommand,PutBucketMetricsConfigurationCommand:MEe.PutBucketMetricsConfigurationCommand,PutBucketNotificationConfigurationCommand:DEe.PutBucketNotificationConfigurationCommand,PutBucketOwnershipControlsCommand:FEe.PutBucketOwnershipControlsCommand,PutBucketPolicyCommand:LEe.PutBucketPolicyCommand,PutBucketReplicationCommand:jEe.PutBucketReplicationCommand,PutBucketRequestPaymentCommand:UEe.PutBucketRequestPaymentCommand,PutBucketTaggingCommand:zEe.PutBucketTaggingCommand,PutBucketVersioningCommand:GEe.PutBucketVersioningCommand,PutBucketWebsiteCommand:HEe.PutBucketWebsiteCommand,PutObjectCommand:KEe.PutObjectCommand,PutObjectAclCommand:$Ee.PutObjectAclCommand,PutObjectLegalHoldCommand:VEe.PutObjectLegalHoldCommand,PutObjectLockConfigurationCommand:XEe.PutObjectLockConfigurationCommand,PutObjectRetentionCommand:WEe.PutObjectRetentionCommand,PutObjectTaggingCommand:YEe.PutObjectTaggingCommand,PutPublicAccessBlockCommand:QEe.PutPublicAccessBlockCommand,RestoreObjectCommand:JEe.RestoreObjectCommand,SelectObjectContentCommand:ZEe.SelectObjectContentCommand,UploadPartCommand:ebe.UploadPartCommand,UploadPartCopyCommand:tbe.UploadPartCopyCommand,WriteGetObjectResponseCommand:nbe.WriteGetObjectResponseCommand},Ey=class extends rbe.S3Client{};by.S3=Ey;(0,g0e.createAggregatedClient)(obe,Ey)});var z3=m(N=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0});var D=(z(),j(U));D.__exportStar(g0(),N);D.__exportStar(C0(),N);D.__exportStar(E0(),N);D.__exportStar(P0(),N);D.__exportStar(x0(),N);D.__exportStar(k0(),N);D.__exportStar(I0(),N);D.__exportStar(N0(),N);D.__exportStar(T0(),N);D.__exportStar(B0(),N);D.__exportStar(D0(),N);D.__exportStar(L0(),N);D.__exportStar(U0(),N);D.__exportStar(G0(),N);D.__exportStar($0(),N);D.__exportStar(V0(),N);D.__exportStar(W0(),N);D.__exportStar(Q0(),N);D.__exportStar(Z0(),N);D.__exportStar(_E(),N);D.__exportStar(fE(),N);D.__exportStar(hE(),N);D.__exportStar(SE(),N);D.__exportStar(bE(),N);D.__exportStar(vE(),N);D.__exportStar(wE(),N);D.__exportStar(AE(),N);D.__exportStar(RE(),N);D.__exportStar(OE(),N);D.__exportStar(qE(),N);D.__exportStar(ME(),N);D.__exportStar(FE(),N);D.__exportStar(jE(),N);D.__exportStar(zE(),N);D.__exportStar(HE(),N);D.__exportStar(KE(),N);D.__exportStar(XE(),N);D.__exportStar(YE(),N);D.__exportStar(JE(),N);D.__exportStar(eb(),N);D.__exportStar(nb(),N);D.__exportStar(ob(),N);D.__exportStar(ib(),N);D.__exportStar(cb(),N);D.__exportStar(lb(),N);D.__exportStar(mb(),N);D.__exportStar(fb(),N);D.__exportStar(_b(),N);D.__exportStar(hb(),N);D.__exportStar(Sb(),N);D.__exportStar(bb(),N);D.__exportStar(Jc(),N);D.__exportStar(Zc(),N);D.__exportStar(wb(),N);D.__exportStar(Ab(),N);D.__exportStar(Rb(),N);D.__exportStar(Ob(),N);D.__exportStar(qb(),N);D.__exportStar(Mb(),N);D.__exportStar(Ub(),N);D.__exportStar(Fb(),N);D.__exportStar(Cy(),N);D.__exportStar(Sy(),N);D.__exportStar(Hb(),N);D.__exportStar(Kb(),N);D.__exportStar(Xb(),N);D.__exportStar(Yb(),N);D.__exportStar(Jb(),N);D.__exportStar(eP(),N);D.__exportStar(nP(),N);D.__exportStar(oP(),N);D.__exportStar(iP(),N);D.__exportStar(cP(),N);D.__exportStar(lP(),N);D.__exportStar(mP(),N);D.__exportStar(fP(),N);D.__exportStar(_P(),N);D.__exportStar(hP(),N);D.__exportStar(SP(),N);D.__exportStar(bP(),N);D.__exportStar(vP(),N);D.__exportStar(wP(),N);D.__exportStar(AP(),N);D.__exportStar(RP(),N);D.__exportStar(OP(),N);D.__exportStar(qP(),N);D.__exportStar(MP(),N);D.__exportStar(FP(),N);D.__exportStar(jP(),N);D.__exportStar(zP(),N);D.__exportStar(HP(),N);D.__exportStar(KP(),N);D.__exportStar(XP(),N)});var H3=m(G3=>{"use strict";Object.defineProperty(G3,"__esModule",{value:!0})});var $3=m(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0});Py.paginateListObjectsV2=void 0;var sbe=Cy(),ibe=Kc(),abe=async(e,n,...t)=>await e.send(new sbe.ListObjectsV2Command(n),...t);async function*cbe(e,n,...t){let r=e.startingToken||void 0,o=!0,s;for(;o;){if(n.ContinuationToken=r,n.MaxKeys=e.pageSize,e.client instanceof ibe.S3Client)s=await abe(e.client,n,...t);else throw new Error("Invalid client, expected S3 | S3Client");yield s;let a=r;r=s.NextContinuationToken,o=!!(r&&(!e.stopOnSameToken||r!==a))}return void 0}Py.paginateListObjectsV2=cbe});var K3=m(vy=>{"use strict";Object.defineProperty(vy,"__esModule",{value:!0});vy.paginateListParts=void 0;var dbe=Sy(),lbe=Kc(),ube=async(e,n,...t)=>await e.send(new dbe.ListPartsCommand(n),...t);async function*mbe(e,n,...t){let r=e.startingToken||void 0,o=!0,s;for(;o;){if(n.PartNumberMarker=r,n.MaxParts=e.pageSize,e.client instanceof lbe.S3Client)s=await ube(e.client,n,...t);else throw new Error("Invalid client, expected S3 | S3Client");yield s;let a=r;r=s.NextPartNumberMarker,o=!!(r&&(!e.stopOnSameToken||r!==a))}return void 0}vy.paginateListParts=mbe});var V3=m(ed=>{"use strict";Object.defineProperty(ed,"__esModule",{value:!0});var WP=(z(),j(U));WP.__exportStar(H3(),ed);WP.__exportStar($3(),ed);WP.__exportStar(K3(),ed)});var YP=m(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0});xy.sleep=void 0;var pbe=e=>new Promise(n=>setTimeout(n,e*1e3));xy.sleep=pbe});var ky=m(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.checkExceptions=Kn.WaiterState=Kn.waiterServiceDefaults=void 0;Kn.waiterServiceDefaults={minDelay:2,maxDelay:120};var wy;(function(e){e.ABORTED="ABORTED",e.FAILURE="FAILURE",e.SUCCESS="SUCCESS",e.RETRY="RETRY",e.TIMEOUT="TIMEOUT"})(wy=Kn.WaiterState||(Kn.WaiterState={}));var fbe=e=>{if(e.state===wy.ABORTED){let n=new Error(`${JSON.stringify({...e,reason:"Request was aborted"})}`);throw n.name="AbortError",n}else if(e.state===wy.TIMEOUT){let n=new Error(`${JSON.stringify({...e,reason:"Waiter has timed out"})}`);throw n.name="TimeoutError",n}else if(e.state!==wy.SUCCESS)throw new Error(`${JSON.stringify({result:e})}`);return e};Kn.checkExceptions=fbe});var X3=m(Iy=>{"use strict";Object.defineProperty(Iy,"__esModule",{value:!0});Iy.runPolling=void 0;var ybe=YP(),Ay=ky(),_be=(e,n,t,r)=>{if(r>t)return n;let o=e*2**(r-1);return gbe(e,o)},gbe=(e,n)=>e+Math.random()*(n-e),hbe=async({minDelay:e,maxDelay:n,maxWaitTime:t,abortController:r,client:o,abortSignal:s},a,i)=>{var u;let{state:l,reason:c}=await i(o,a);if(l!==Ay.WaiterState.RETRY)return{state:l,reason:c};let y=1,_=Date.now()+t*1e3,C=Math.log(n/e)/Math.log(2)+1;for(;;){if(!((u=r==null?void 0:r.signal)===null||u===void 0)&&u.aborted||s!=null&&s.aborted)return{state:Ay.WaiterState.ABORTED};let b=_be(e,n,C,y);if(Date.now()+b*1e3>_)return{state:Ay.WaiterState.TIMEOUT};await(0,ybe.sleep)(b);let{state:F,reason:L}=await i(o,a);if(F!==Ay.WaiterState.RETRY)return{state:F,reason:L};y+=1}};Iy.runPolling=hbe});var W3=m(Ry=>{"use strict";Object.defineProperty(Ry,"__esModule",{value:!0});Ry.validateWaiterOptions=void 0;var Cbe=e=>{if(e.maxWaitTime<1)throw new Error("WaiterConfiguration.maxWaitTime must be greater than 0");if(e.minDelay<1)throw new Error("WaiterConfiguration.minDelay must be greater than 0");if(e.maxDelay<1)throw new Error("WaiterConfiguration.maxDelay must be greater than 0");if(e.maxWaitTime<=e.minDelay)throw new Error(`WaiterConfiguration.maxWaitTime [${e.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${e.minDelay}] for this waiter`);if(e.maxDelay{"use strict";Object.defineProperty(Ny,"__esModule",{value:!0});var Y3=(z(),j(U));Y3.__exportStar(YP(),Ny);Y3.__exportStar(W3(),Ny)});var eG=m(Oy=>{"use strict";Object.defineProperty(Oy,"__esModule",{value:!0});Oy.createWaiter=void 0;var Sbe=X3(),Ebe=Q3(),Z3=ky(),J3=async e=>new Promise(n=>{e.onabort=()=>n({state:Z3.WaiterState.ABORTED})}),bbe=async(e,n,t)=>{let r={...Z3.waiterServiceDefaults,...e};(0,Ebe.validateWaiterOptions)(r);let o=[(0,Sbe.runPolling)(r,n,t)];return e.abortController&&o.push(J3(e.abortController.signal)),e.abortSignal&&o.push(J3(e.abortSignal)),Promise.race(o)};Oy.createWaiter=bbe});var td=m(Ty=>{"use strict";Object.defineProperty(Ty,"__esModule",{value:!0});var tG=(z(),j(U));tG.__exportStar(eG(),Ty);tG.__exportStar(ky(),Ty)});var rG=m(ha=>{"use strict";Object.defineProperty(ha,"__esModule",{value:!0});ha.waitUntilBucketExists=ha.waitForBucketExists=void 0;var ga=td(),Pbe=Jc(),nG=async(e,n)=>{let t;try{return t=await e.send(new Pbe.HeadBucketCommand(n)),{state:ga.WaiterState.SUCCESS,reason:t}}catch(r){if(t=r,r.name&&r.name=="NotFound")return{state:ga.WaiterState.RETRY,reason:t}}return{state:ga.WaiterState.RETRY,reason:t}},vbe=async(e,n)=>{let t={minDelay:5,maxDelay:120};return(0,ga.createWaiter)({...t,...e},n,nG)};ha.waitForBucketExists=vbe;var xbe=async(e,n)=>{let t={minDelay:5,maxDelay:120},r=await(0,ga.createWaiter)({...t,...e},n,nG);return(0,ga.checkExceptions)(r)};ha.waitUntilBucketExists=xbe});var sG=m(Ca=>{"use strict";Object.defineProperty(Ca,"__esModule",{value:!0});Ca.waitUntilBucketNotExists=Ca.waitForBucketNotExists=void 0;var nd=td(),wbe=Jc(),oG=async(e,n)=>{let t;try{t=await e.send(new wbe.HeadBucketCommand(n))}catch(r){if(t=r,r.name&&r.name=="NotFound")return{state:nd.WaiterState.SUCCESS,reason:t}}return{state:nd.WaiterState.RETRY,reason:t}},kbe=async(e,n)=>{let t={minDelay:5,maxDelay:120};return(0,nd.createWaiter)({...t,...e},n,oG)};Ca.waitForBucketNotExists=kbe;var Abe=async(e,n)=>{let t={minDelay:5,maxDelay:120},r=await(0,nd.createWaiter)({...t,...e},n,oG);return(0,nd.checkExceptions)(r)};Ca.waitUntilBucketNotExists=Abe});var aG=m(Ea=>{"use strict";Object.defineProperty(Ea,"__esModule",{value:!0});Ea.waitUntilObjectExists=Ea.waitForObjectExists=void 0;var Sa=td(),Ibe=Zc(),iG=async(e,n)=>{let t;try{return t=await e.send(new Ibe.HeadObjectCommand(n)),{state:Sa.WaiterState.SUCCESS,reason:t}}catch(r){if(t=r,r.name&&r.name=="NotFound")return{state:Sa.WaiterState.RETRY,reason:t}}return{state:Sa.WaiterState.RETRY,reason:t}},Rbe=async(e,n)=>{let t={minDelay:5,maxDelay:120};return(0,Sa.createWaiter)({...t,...e},n,iG)};Ea.waitForObjectExists=Rbe;var Nbe=async(e,n)=>{let t={minDelay:5,maxDelay:120},r=await(0,Sa.createWaiter)({...t,...e},n,iG);return(0,Sa.checkExceptions)(r)};Ea.waitUntilObjectExists=Nbe});var dG=m(ba=>{"use strict";Object.defineProperty(ba,"__esModule",{value:!0});ba.waitUntilObjectNotExists=ba.waitForObjectNotExists=void 0;var rd=td(),Obe=Zc(),cG=async(e,n)=>{let t;try{t=await e.send(new Obe.HeadObjectCommand(n))}catch(r){if(t=r,r.name&&r.name=="NotFound")return{state:rd.WaiterState.SUCCESS,reason:t}}return{state:rd.WaiterState.RETRY,reason:t}},Tbe=async(e,n)=>{let t={minDelay:5,maxDelay:120};return(0,rd.createWaiter)({...t,...e},n,cG)};ba.waitForObjectNotExists=Tbe;var qbe=async(e,n)=>{let t={minDelay:5,maxDelay:120},r=await(0,rd.createWaiter)({...t,...e},n,cG);return(0,rd.checkExceptions)(r)};ba.waitUntilObjectNotExists=qbe});var lG=m(Pa=>{"use strict";Object.defineProperty(Pa,"__esModule",{value:!0});var qy=(z(),j(U));qy.__exportStar(rG(),Pa);qy.__exportStar(sG(),Pa);qy.__exportStar(aG(),Pa);qy.__exportStar(dG(),Pa)});var mG=m(By=>{"use strict";Object.defineProperty(By,"__esModule",{value:!0});var uG=(z(),j(U));uG.__exportStar(Ze(),By);uG.__exportStar(Ir(),By)});var pG=m(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.S3ServiceException=void 0;var va=(z(),j(U));va.__exportStar(Kc(),gn);va.__exportStar(U3(),gn);va.__exportStar(z3(),gn);va.__exportStar(V3(),gn);va.__exportStar(lG(),gn);va.__exportStar(mG(),gn);var Bbe=Vc();Object.defineProperty(gn,"S3ServiceException",{enumerable:!0,get:function(){return Bbe.S3ServiceException}})});var Fbe={};wa(Fbe,{handler:()=>Dbe});module.exports=j(Fbe);var fG=ka(pG()),yG=ka(require("delay")),Mbe=new fG.S3;async function Dbe(){console.log(Mbe),await(0,yG.default)(5)}0&&(module.exports={handler}); -/*! Bundled license information: - -tslib/tslib.es6.js: - (*! ***************************************************************************** - Copyright (c) Microsoft Corporation. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** *) - -tslib/tslib.es6.js: - (*! ***************************************************************************** - Copyright (c) Microsoft Corporation. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** *) -*/ diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/index.js new file mode 100644 index 0000000000000..9baaa7860cd2f --- /dev/null +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/index.js @@ -0,0 +1,77 @@ +"use strict";var IG=Object.create;var ud=Object.defineProperty;var RG=Object.getOwnPropertyDescriptor;var NG=Object.getOwnPropertyNames;var OG=Object.getPrototypeOf,TG=Object.prototype.hasOwnProperty;var Ge=(e,n)=>()=>(e&&(n=e(e=0)),n);var m=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),Oa=(e,n)=>{for(var t in n)ud(e,t,{get:n[t],enumerable:!0})},sv=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of NG(n))!TG.call(e,o)&&o!==t&&ud(e,o,{get:()=>n[o],enumerable:!(r=RG(n,o))||r.enumerable});return e};var Ta=(e,n,t)=>(t=e!=null?IG(OG(e)):{},sv(n||!e||!e.__esModule?ud(t,"default",{value:e,enumerable:!0}):t,e)),j=e=>sv(ud({},"__esModule",{value:!0}),e);var U={};Oa(U,{__addDisposableResource:()=>wv,__assign:()=>md,__asyncDelegator:()=>hv,__asyncGenerator:()=>gv,__asyncValues:()=>Cv,__await:()=>fo,__awaiter:()=>uv,__classPrivateFieldGet:()=>Pv,__classPrivateFieldIn:()=>xv,__classPrivateFieldSet:()=>vv,__createBinding:()=>fd,__decorate:()=>cv,__disposeResources:()=>kv,__esDecorate:()=>qG,__exportStar:()=>pv,__extends:()=>iv,__generator:()=>mv,__importDefault:()=>bv,__importStar:()=>Ev,__makeTemplateObject:()=>Sv,__metadata:()=>lv,__param:()=>dv,__propKey:()=>MG,__read:()=>Vy,__rest:()=>av,__runInitializers:()=>BG,__setFunctionName:()=>DG,__spread:()=>fv,__spreadArray:()=>_v,__spreadArrays:()=>yv,__values:()=>pd,default:()=>jG});function iv(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");Ky(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}function av(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o=0;i--)(a=e[i])&&(s=(o<3?a(s):o>3?a(n,t,s):a(n,t))||s);return o>3&&s&&Object.defineProperty(n,t,s),s}function dv(e,n){return function(t,r){n(t,r,e)}}function qG(e,n,t,r,o,s){function a(K){if(K!==void 0&&typeof K!="function")throw new TypeError("Function expected");return K}for(var i=r.kind,u=i==="getter"?"get":i==="setter"?"set":"value",l=!n&&e?r.static?e:e.prototype:null,c=n||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),y,_=!1,C=t.length-1;C>=0;C--){var b={};for(var B in r)b[B]=B==="access"?{}:r[B];for(var B in r.access)b.access[B]=r.access[B];b.addInitializer=function(K){if(_)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(K||null))};var R=(0,t[C])(i==="accessor"?{get:c.get,set:c.set}:c[u],b);if(i==="accessor"){if(R===void 0)continue;if(R===null||typeof R!="object")throw new TypeError("Object expected");(y=a(R.get))&&(c.get=y),(y=a(R.set))&&(c.set=y),(y=a(R.init))&&o.unshift(y)}else(y=a(R))&&(i==="field"?o.unshift(y):c[u]=y)}l&&Object.defineProperty(l,r.name,c),_=!0}function BG(e,n,t){for(var r=arguments.length>2,o=0;o0&&s[s.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Vy(e,n){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var r=t.call(e),o,s=[],a;try{for(;(n===void 0||n-- >0)&&!(o=r.next()).done;)s.push(o.value)}catch(i){a={error:i}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(a)throw a.error}}return s}function fv(){for(var e=[],n=0;n1||i(_,C)})})}function i(_,C){try{u(r[_](C))}catch(b){y(s[0][3],b)}}function u(_){_.value instanceof fo?Promise.resolve(_.value.v).then(l,c):y(s[0][2],_)}function l(_){i("next",_)}function c(_){i("throw",_)}function y(_,C){_(C),s.shift(),s.length&&i(s[0][0],s[0][1])}}function hv(e){var n,t;return n={},r("next"),r("throw",function(o){throw o}),r("return"),n[Symbol.iterator]=function(){return this},n;function r(o,s){n[o]=e[o]?function(a){return(t=!t)?{value:fo(e[o](a)),done:!1}:s?s(a):a}:s}}function Cv(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof pd=="function"?pd(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(s){t[s]=e[s]&&function(a){return new Promise(function(i,u){a=e[s](a),o(i,u,a.done,a.value)})}}function o(s,a,i,u){Promise.resolve(u).then(function(l){s({value:l,done:i})},a)}}function Sv(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}function Ev(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var t in e)t!=="default"&&Object.prototype.hasOwnProperty.call(e,t)&&fd(n,e,t);return FG(n,e),n}function bv(e){return e&&e.__esModule?e:{default:e}}function Pv(e,n,t,r){if(t==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof n=="function"?e!==n||!r:!n.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?r:t==="a"?r.call(e):r?r.value:n.get(e)}function vv(e,n,t,r,o){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof n=="function"?e!==n||!o:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?o.call(e,t):o?o.value=t:n.set(e,t),t}function xv(e,n){if(n===null||typeof n!="object"&&typeof n!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?n===e:e.has(n)}function wv(e,n,t){if(n!=null){if(typeof n!="object"&&typeof n!="function")throw new TypeError("Object expected.");var r;if(t){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=n[Symbol.asyncDispose]}if(r===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=n[Symbol.dispose]}if(typeof r!="function")throw new TypeError("Object not disposable.");e.stack.push({value:n,dispose:r,async:t})}else t&&e.stack.push({async:!0});return n}function kv(e){function n(r){e.error=e.hasError?new LG(r,e.error,"An error was suppressed during disposal."):r,e.hasError=!0}function t(){for(;e.stack.length;){var r=e.stack.pop();try{var o=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(o).then(t,function(s){return n(s),t()})}catch(s){n(s)}}if(e.hasError)throw e.error}return t()}var Ky,md,fd,FG,LG,jG,z=Ge(()=>{Ky=function(e,n){return Ky=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])},Ky(e,n)};md=function(){return md=Object.assign||function(n){for(var t,r=1,o=arguments.length;r{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.resolveHttpHandlerRuntimeConfig=yo.getHttpHandlerExtensionConfiguration=void 0;var UG=e=>{let n=e.httpHandler;return{setHttpHandler(t){n=t},httpHandler(){return n},updateHttpClientConfig(t,r){n.updateHttpClientConfig(t,r)},httpHandlerConfigs(){return n.httpHandlerConfigs()}}};yo.getHttpHandlerExtensionConfiguration=UG;var zG=e=>({httpHandler:e.httpHandler()});yo.resolveHttpHandlerRuntimeConfig=zG});var Iv=m(Xy=>{"use strict";Object.defineProperty(Xy,"__esModule",{value:!0});var GG=(z(),j(U));GG.__exportStar(Av(),Xy)});var Nv=m(Rv=>{"use strict";Object.defineProperty(Rv,"__esModule",{value:!0})});var Ov=m(qa=>{"use strict";Object.defineProperty(qa,"__esModule",{value:!0});qa.HttpAuthLocation=void 0;var HG;(function(e){e.HEADER="header",e.QUERY="query"})(HG=qa.HttpAuthLocation||(qa.HttpAuthLocation={}))});var qv=m(Tv=>{"use strict";Object.defineProperty(Tv,"__esModule",{value:!0})});var Mv=m(Bv=>{"use strict";Object.defineProperty(Bv,"__esModule",{value:!0})});var Fv=m(Dv=>{"use strict";Object.defineProperty(Dv,"__esModule",{value:!0})});var jv=m(Lv=>{"use strict";Object.defineProperty(Lv,"__esModule",{value:!0})});var zv=m(Uv=>{"use strict";Object.defineProperty(Uv,"__esModule",{value:!0})});var Hv=m(Gv=>{"use strict";Object.defineProperty(Gv,"__esModule",{value:!0})});var Kv=m($v=>{"use strict";Object.defineProperty($v,"__esModule",{value:!0})});var Vv=m(Ba=>{"use strict";Object.defineProperty(Ba,"__esModule",{value:!0});var Wy=(z(),j(U));Wy.__exportStar(zv(),Ba);Wy.__exportStar(Hv(),Ba);Wy.__exportStar(Kv(),Ba)});var Wv=m(Xv=>{"use strict";Object.defineProperty(Xv,"__esModule",{value:!0})});var Qv=m(Yv=>{"use strict";Object.defineProperty(Yv,"__esModule",{value:!0})});var Jv=m(Ma=>{"use strict";Object.defineProperty(Ma,"__esModule",{value:!0});Ma.EndpointURLScheme=void 0;var $G;(function(e){e.HTTP="http",e.HTTPS="https"})($G=Ma.EndpointURLScheme||(Ma.EndpointURLScheme={}))});var ex=m(Zv=>{"use strict";Object.defineProperty(Zv,"__esModule",{value:!0})});var nx=m(tx=>{"use strict";Object.defineProperty(tx,"__esModule",{value:!0})});var ox=m(rx=>{"use strict";Object.defineProperty(rx,"__esModule",{value:!0})});var ix=m(sx=>{"use strict";Object.defineProperty(sx,"__esModule",{value:!0})});var cx=m(ax=>{"use strict";Object.defineProperty(ax,"__esModule",{value:!0})});var dx=m(Lr=>{"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});var Da=(z(),j(U));Da.__exportStar(ex(),Lr);Da.__exportStar(nx(),Lr);Da.__exportStar(ox(),Lr);Da.__exportStar(ix(),Lr);Da.__exportStar(cx(),Lr)});var ux=m(lx=>{"use strict";Object.defineProperty(lx,"__esModule",{value:!0})});var Qy=m(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.resolveChecksumRuntimeConfig=En.getChecksumConfiguration=En.AlgorithmId=void 0;var Yy;(function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"})(Yy=En.AlgorithmId||(En.AlgorithmId={}));var KG=e=>{let n=[];return e.sha256!==void 0&&n.push({algorithmId:()=>Yy.SHA256,checksumConstructor:()=>e.sha256}),e.md5!=null&&n.push({algorithmId:()=>Yy.MD5,checksumConstructor:()=>e.md5}),{_checksumAlgorithms:n,addChecksumAlgorithm(t){this._checksumAlgorithms.push(t)},checksumAlgorithms(){return this._checksumAlgorithms}}};En.getChecksumConfiguration=KG;var VG=e=>{let n={};return e.checksumAlgorithms().forEach(t=>{n[t.algorithmId()]=t.checksumConstructor()}),n};En.resolveChecksumRuntimeConfig=VG});var px=m(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.resolveDefaultRuntimeConfig=_o.getDefaultClientConfiguration=void 0;var mx=Qy(),XG=e=>({...(0,mx.getChecksumConfiguration)(e)});_o.getDefaultClientConfiguration=XG;var WG=e=>({...(0,mx.resolveChecksumRuntimeConfig)(e)});_o.resolveDefaultRuntimeConfig=WG});var yx=m(fx=>{"use strict";Object.defineProperty(fx,"__esModule",{value:!0})});var gx=m(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.AlgorithmId=void 0;var _x=(z(),j(U));_x.__exportStar(px(),go);_x.__exportStar(yx(),go);var YG=Qy();Object.defineProperty(go,"AlgorithmId",{enumerable:!0,get:function(){return YG.AlgorithmId}})});var hx=m(Fa=>{"use strict";Object.defineProperty(Fa,"__esModule",{value:!0});Fa.FieldPosition=void 0;var QG;(function(e){e[e.HEADER=0]="HEADER",e[e.TRAILER=1]="TRAILER"})(QG=Fa.FieldPosition||(Fa.FieldPosition={}))});var Sx=m(Cx=>{"use strict";Object.defineProperty(Cx,"__esModule",{value:!0})});var bx=m(Ex=>{"use strict";Object.defineProperty(Ex,"__esModule",{value:!0})});var vx=m(yd=>{"use strict";Object.defineProperty(yd,"__esModule",{value:!0});var Px=(z(),j(U));Px.__exportStar(Sx(),yd);Px.__exportStar(bx(),yd)});var wx=m(xx=>{"use strict";Object.defineProperty(xx,"__esModule",{value:!0})});var kx=m(_d=>{"use strict";Object.defineProperty(_d,"__esModule",{value:!0});_d.SMITHY_CONTEXT_KEY=void 0;_d.SMITHY_CONTEXT_KEY="__smithy_context"});var Ix=m(Ax=>{"use strict";Object.defineProperty(Ax,"__esModule",{value:!0})});var Rx=m(La=>{"use strict";Object.defineProperty(La,"__esModule",{value:!0});La.IniSectionType=void 0;var JG;(function(e){e.PROFILE="profile",e.SSO_SESSION="sso-session",e.SERVICES="services"})(JG=La.IniSectionType||(La.IniSectionType={}))});var Ox=m(Nx=>{"use strict";Object.defineProperty(Nx,"__esModule",{value:!0})});var qx=m(Tx=>{"use strict";Object.defineProperty(Tx,"__esModule",{value:!0})});var Mx=m(Bx=>{"use strict";Object.defineProperty(Bx,"__esModule",{value:!0})});var Fx=m(Dx=>{"use strict";Object.defineProperty(Dx,"__esModule",{value:!0})});var jx=m(Lx=>{"use strict";Object.defineProperty(Lx,"__esModule",{value:!0})});var zx=m(Ux=>{"use strict";Object.defineProperty(Ux,"__esModule",{value:!0})});var Hx=m(Gx=>{"use strict";Object.defineProperty(Gx,"__esModule",{value:!0})});var Kx=m($x=>{"use strict";Object.defineProperty($x,"__esModule",{value:!0})});var Xx=m(Vx=>{"use strict";Object.defineProperty(Vx,"__esModule",{value:!0})});var Wx=m(ja=>{"use strict";Object.defineProperty(ja,"__esModule",{value:!0});ja.RequestHandlerProtocol=void 0;var ZG;(function(e){e.HTTP_0_9="http/0.9",e.HTTP_1_0="http/1.0",e.TDS_8_0="tds/8.0"})(ZG=ja.RequestHandlerProtocol||(ja.RequestHandlerProtocol={}))});var Qx=m(Yx=>{"use strict";Object.defineProperty(Yx,"__esModule",{value:!0})});var Zx=m(Jx=>{"use strict";Object.defineProperty(Jx,"__esModule",{value:!0})});var tw=m(ew=>{"use strict";Object.defineProperty(ew,"__esModule",{value:!0})});var rw=m(nw=>{"use strict";Object.defineProperty(nw,"__esModule",{value:!0})});var sw=m(ow=>{"use strict";Object.defineProperty(ow,"__esModule",{value:!0})});var v=m(ue=>{"use strict";Object.defineProperty(ue,"__esModule",{value:!0});var pe=(z(),j(U));pe.__exportStar(Nv(),ue);pe.__exportStar(Ov(),ue);pe.__exportStar(qv(),ue);pe.__exportStar(Mv(),ue);pe.__exportStar(Fv(),ue);pe.__exportStar(jv(),ue);pe.__exportStar(Vv(),ue);pe.__exportStar(Wv(),ue);pe.__exportStar(Qv(),ue);pe.__exportStar(Jv(),ue);pe.__exportStar(dx(),ue);pe.__exportStar(ux(),ue);pe.__exportStar(gx(),ue);pe.__exportStar(hx(),ue);pe.__exportStar(vx(),ue);pe.__exportStar(wx(),ue);pe.__exportStar(kx(),ue);pe.__exportStar(Ix(),ue);pe.__exportStar(Rx(),ue);pe.__exportStar(Ox(),ue);pe.__exportStar(qx(),ue);pe.__exportStar(Mx(),ue);pe.__exportStar(Fx(),ue);pe.__exportStar(jx(),ue);pe.__exportStar(zx(),ue);pe.__exportStar(Hx(),ue);pe.__exportStar(Kx(),ue);pe.__exportStar(Xx(),ue);pe.__exportStar(Wx(),ue);pe.__exportStar(Qx(),ue);pe.__exportStar(Zx(),ue);pe.__exportStar(tw(),ue);pe.__exportStar(rw(),ue);pe.__exportStar(sw(),ue)});var iw=m(gd=>{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});gd.Field=void 0;var e2=v(),Jy=class{constructor({name:n,kind:t=e2.FieldPosition.HEADER,values:r=[]}){this.name=n,this.kind=t,this.values=r}add(n){this.values.push(n)}set(n){this.values=n}remove(n){this.values=this.values.filter(t=>t!==n)}toString(){return this.values.map(n=>n.includes(",")||n.includes(" ")?`"${n}"`:n).join(", ")}get(){return this.values}};gd.Field=Jy});var aw=m(hd=>{"use strict";Object.defineProperty(hd,"__esModule",{value:!0});hd.Fields=void 0;var Zy=class{constructor({fields:n=[],encoding:t="utf-8"}){this.entries={},n.forEach(this.setField.bind(this)),this.encoding=t}setField(n){this.entries[n.name.toLowerCase()]=n}getField(n){return this.entries[n.toLowerCase()]}removeField(n){delete this.entries[n.toLowerCase()]}getByType(n){return Object.values(this.entries).filter(t=>t.kind===n)}};hd.Fields=Zy});var dw=m(cw=>{"use strict";Object.defineProperty(cw,"__esModule",{value:!0})});var lw=m(Cd=>{"use strict";Object.defineProperty(Cd,"__esModule",{value:!0});Cd.HttpRequest=void 0;var e_=class e{constructor(n){this.method=n.method||"GET",this.hostname=n.hostname||"localhost",this.port=n.port,this.query=n.query||{},this.headers=n.headers||{},this.body=n.body,this.protocol=n.protocol?n.protocol.slice(-1)!==":"?`${n.protocol}:`:n.protocol:"https:",this.path=n.path?n.path.charAt(0)!=="/"?`/${n.path}`:n.path:"/",this.username=n.username,this.password=n.password,this.fragment=n.fragment}static isInstance(n){if(!n)return!1;let t=n;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&typeof t.query=="object"&&typeof t.headers=="object"}clone(){let n=new e({...this,headers:{...this.headers}});return n.query&&(n.query=t2(n.query)),n}};Cd.HttpRequest=e_;function t2(e){return Object.keys(e).reduce((n,t)=>{let r=e[t];return{...n,[t]:Array.isArray(r)?[...r]:r}},{})}});var uw=m(Sd=>{"use strict";Object.defineProperty(Sd,"__esModule",{value:!0});Sd.HttpResponse=void 0;var t_=class{constructor(n){this.statusCode=n.statusCode,this.reason=n.reason,this.headers=n.headers||{},this.body=n.body}static isInstance(n){if(!n)return!1;let t=n;return typeof t.statusCode=="number"&&typeof t.headers=="object"}};Sd.HttpResponse=t_});var mw=m(Ed=>{"use strict";Object.defineProperty(Ed,"__esModule",{value:!0});Ed.isValidHostname=void 0;function n2(e){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(e)}Ed.isValidHostname=n2});var fw=m(pw=>{"use strict";Object.defineProperty(pw,"__esModule",{value:!0})});var we=m(Ut=>{"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});var Qn=(z(),j(U));Qn.__exportStar(Iv(),Ut);Qn.__exportStar(iw(),Ut);Qn.__exportStar(aw(),Ut);Qn.__exportStar(dw(),Ut);Qn.__exportStar(lw(),Ut);Qn.__exportStar(uw(),Ut);Qn.__exportStar(mw(),Ut);Qn.__exportStar(fw(),Ut)});var _w=m(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.getAddExpectContinuePlugin=bn.addExpectContinueMiddlewareOptions=bn.addExpectContinueMiddleware=void 0;var r2=we();function yw(e){return n=>async t=>{let{request:r}=t;return r2.HttpRequest.isInstance(r)&&r.body&&e.runtime==="node"&&(r.headers={...r.headers,Expect:"100-continue"}),n({...t,request:r})}}bn.addExpectContinueMiddleware=yw;bn.addExpectContinueMiddlewareOptions={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0};var o2=e=>({applyToStack:n=>{n.add(yw(e),bn.addExpectContinueMiddlewareOptions)}});bn.getAddExpectContinuePlugin=o2});var Ua=m(bt=>{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});bt.getHostHeaderPlugin=bt.hostHeaderMiddlewareOptions=bt.hostHeaderMiddleware=bt.resolveHostHeaderConfig=void 0;var s2=we();function i2(e){return e}bt.resolveHostHeaderConfig=i2;var a2=e=>n=>async t=>{if(!s2.HttpRequest.isInstance(t.request))return n(t);let{request:r}=t,{handlerProtocol:o=""}=e.requestHandler.metadata||{};if(o.indexOf("h2")>=0&&!r.headers[":authority"])delete r.headers.host,r.headers[":authority"]="";else if(!r.headers.host){let s=r.hostname;r.port!=null&&(s+=`:${r.port}`),r.headers.host=s}return n(t)};bt.hostHeaderMiddleware=a2;bt.hostHeaderMiddlewareOptions={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0};var c2=e=>({applyToStack:n=>{n.add((0,bt.hostHeaderMiddleware)(e),bt.hostHeaderMiddlewareOptions)}});bt.getHostHeaderPlugin=c2});var gw=m(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.getLoggerPlugin=zt.loggerMiddlewareOptions=zt.loggerMiddleware=void 0;var d2=()=>(e,n)=>async t=>{var r,o;try{let s=await e(t),{clientName:a,commandName:i,logger:u,dynamoDbDocumentClientOptions:l={}}=n,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:y}=l,_=c??n.inputFilterSensitiveLog,C=y??n.outputFilterSensitiveLog,{$metadata:b,...B}=s.output;return(r=u==null?void 0:u.info)===null||r===void 0||r.call(u,{clientName:a,commandName:i,input:_(t.input),output:C(B),metadata:b}),s}catch(s){let{clientName:a,commandName:i,logger:u,dynamoDbDocumentClientOptions:l={}}=n,{overrideInputFilterSensitiveLog:c}=l,y=c??n.inputFilterSensitiveLog;throw(o=u==null?void 0:u.error)===null||o===void 0||o.call(u,{clientName:a,commandName:i,input:y(t.input),error:s,metadata:s.$metadata}),s}};zt.loggerMiddleware=d2;zt.loggerMiddlewareOptions={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0};var l2=e=>({applyToStack:n=>{n.add((0,zt.loggerMiddleware)(),zt.loggerMiddlewareOptions)}});zt.getLoggerPlugin=l2});var za=m(n_=>{"use strict";Object.defineProperty(n_,"__esModule",{value:!0});var u2=(z(),j(U));u2.__exportStar(gw(),n_)});var Ga=m(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.getRecursionDetectionPlugin=Gt.addRecursionDetectionMiddlewareOptions=Gt.recursionDetectionMiddleware=void 0;var m2=we(),hw="X-Amzn-Trace-Id",p2="AWS_LAMBDA_FUNCTION_NAME",f2="_X_AMZN_TRACE_ID",y2=e=>n=>async t=>{let{request:r}=t;if(!m2.HttpRequest.isInstance(r)||e.runtime!=="node"||r.headers.hasOwnProperty(hw))return n(t);let o=process.env[p2],s=process.env[f2],a=i=>typeof i=="string"&&i.length>0;return a(o)&&a(s)&&(r.headers[hw]=s),n({...t,request:r})};Gt.recursionDetectionMiddleware=y2;Gt.addRecursionDetectionMiddlewareOptions={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"};var _2=e=>({applyToStack:n=>{n.add((0,Gt.recursionDetectionMiddleware)(e),Gt.addRecursionDetectionMiddlewareOptions)}});Gt.getRecursionDetectionPlugin=_2});var Cw=m(bd=>{"use strict";Object.defineProperty(bd,"__esModule",{value:!0});bd.NoOpLogger=void 0;var r_=class{trace(){}debug(){}info(){}warn(){}error(){}};bd.NoOpLogger=r_});var bw=m(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.constructStack=void 0;var jr=(e,n)=>{let t=[];if(e&&t.push(e),n)for(let r of n)t.push(r);return t},Jn=(e,n)=>`${e||"anonymous"}${n&&n.length>0?` (a.k.a. ${n.join(",")})`:""}`,g2=()=>{let e=[],n=[],t=!1,r=new Set,o=y=>y.sort((_,C)=>Sw[C.step]-Sw[_.step]||Ew[C.priority||"normal"]-Ew[_.priority||"normal"]),s=y=>{let _=!1,C=b=>{let B=jr(b.name,b.aliases);if(B.includes(y)){_=!0;for(let R of B)r.delete(R);return!1}return!0};return e=e.filter(C),n=n.filter(C),_},a=y=>{let _=!1,C=b=>{if(b.middleware===y){_=!0;for(let B of jr(b.name,b.aliases))r.delete(B);return!1}return!0};return e=e.filter(C),n=n.filter(C),_},i=y=>{var _;return e.forEach(C=>{y.add(C.middleware,{...C})}),n.forEach(C=>{y.addRelativeTo(C.middleware,{...C})}),(_=y.identifyOnResolve)===null||_===void 0||_.call(y,c.identifyOnResolve()),y},u=y=>{let _=[];return y.before.forEach(C=>{C.before.length===0&&C.after.length===0?_.push(C):_.push(...u(C))}),_.push(y),y.after.reverse().forEach(C=>{C.before.length===0&&C.after.length===0?_.push(C):_.push(...u(C))}),_},l=(y=!1)=>{let _=[],C=[],b={};return e.forEach(R=>{let K={...R,before:[],after:[]};for(let J of jr(K.name,K.aliases))b[J]=K;_.push(K)}),n.forEach(R=>{let K={...R,before:[],after:[]};for(let J of jr(K.name,K.aliases))b[J]=K;C.push(K)}),C.forEach(R=>{if(R.toMiddleware){let K=b[R.toMiddleware];if(K===void 0){if(y)return;throw new Error(`${R.toMiddleware} is not found when adding ${Jn(R.name,R.aliases)} middleware ${R.relation} ${R.toMiddleware}`)}R.relation==="after"&&K.after.push(R),R.relation==="before"&&K.before.push(R)}}),o(_).map(u).reduce((R,K)=>(R.push(...K),R),[])},c={add:(y,_={})=>{let{name:C,override:b,aliases:B}=_,R={step:"initialize",priority:"normal",middleware:y,..._},K=jr(C,B);if(K.length>0){if(K.some(J=>r.has(J))){if(!b)throw new Error(`Duplicate middleware name '${Jn(C,B)}'`);for(let J of K){let De=e.findIndex(Fr=>{var at;return Fr.name===J||((at=Fr.aliases)===null||at===void 0?void 0:at.some(jt=>jt===J))});if(De===-1)continue;let tt=e[De];if(tt.step!==R.step||R.priority!==tt.priority)throw new Error(`"${Jn(tt.name,tt.aliases)}" middleware with ${tt.priority} priority in ${tt.step} step cannot be overridden by "${Jn(C,B)}" middleware with ${R.priority} priority in ${R.step} step.`);e.splice(De,1)}}for(let J of K)r.add(J)}e.push(R)},addRelativeTo:(y,_)=>{let{name:C,override:b,aliases:B}=_,R={middleware:y,..._},K=jr(C,B);if(K.length>0){if(K.some(J=>r.has(J))){if(!b)throw new Error(`Duplicate middleware name '${Jn(C,B)}'`);for(let J of K){let De=n.findIndex(Fr=>{var at;return Fr.name===J||((at=Fr.aliases)===null||at===void 0?void 0:at.some(jt=>jt===J))});if(De===-1)continue;let tt=n[De];if(tt.toMiddleware!==R.toMiddleware||tt.relation!==R.relation)throw new Error(`"${Jn(tt.name,tt.aliases)}" middleware ${tt.relation} "${tt.toMiddleware}" middleware cannot be overridden by "${Jn(C,B)}" middleware ${R.relation} "${R.toMiddleware}" middleware.`);n.splice(De,1)}}for(let J of K)r.add(J)}n.push(R)},clone:()=>i((0,ho.constructStack)()),use:y=>{y.applyToStack(c)},remove:y=>typeof y=="string"?s(y):a(y),removeByTag:y=>{let _=!1,C=b=>{let{tags:B,name:R,aliases:K}=b;if(B&&B.includes(y)){let J=jr(R,K);for(let De of J)r.delete(De);return _=!0,!1}return!0};return e=e.filter(C),n=n.filter(C),_},concat:y=>{var _,C;let b=i((0,ho.constructStack)());return b.use(y),b.identifyOnResolve(t||b.identifyOnResolve()||((C=(_=y.identifyOnResolve)===null||_===void 0?void 0:_.call(y))!==null&&C!==void 0?C:!1)),b},applyToStack:i,identify:()=>l(!0).map(y=>{var _;let C=(_=y.step)!==null&&_!==void 0?_:y.relation+" "+y.toMiddleware;return Jn(y.name,y.aliases)+" - "+C}),identifyOnResolve(y){return typeof y=="boolean"&&(t=y),t},resolve:(y,_)=>{for(let C of l().map(b=>b.middleware).reverse())y=C(y,_);return t&&console.log(c.identify()),y}};return c};ho.constructStack=g2;var Sw={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Ew={high:3,normal:2,low:1}});var s_=m(o_=>{"use strict";Object.defineProperty(o_,"__esModule",{value:!0});var h2=(z(),j(U));h2.__exportStar(bw(),o_)});var Pw=m(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.Client=void 0;var C2=s_(),i_=class{constructor(n){this.middlewareStack=(0,C2.constructStack)(),this.config=n}send(n,t,r){let o=typeof t!="function"?t:void 0,s=typeof t=="function"?t:r,a=n.resolveMiddleware(this.middlewareStack,this.config,o);if(s)a(n).then(i=>s(null,i.output),i=>s(i)).catch(()=>{});else return a(n).then(i=>i.output)}destroy(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()}};Pd.Client=i_});var xd=m(vd=>{"use strict";Object.defineProperty(vd,"__esModule",{value:!0});vd.isArrayBuffer=void 0;var S2=e=>typeof ArrayBuffer=="function"&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)==="[object ArrayBuffer]";vd.isArrayBuffer=S2});var Ur=m(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.fromString=Co.fromArrayBuffer=void 0;var E2=xd(),a_=require("buffer"),b2=(e,n=0,t=e.byteLength-n)=>{if(!(0,E2.isArrayBuffer)(e))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof e} (${e})`);return a_.Buffer.from(e,n,t)};Co.fromArrayBuffer=b2;var P2=(e,n)=>{if(typeof e!="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof e} (${e})`);return n?a_.Buffer.from(e,n):a_.Buffer.from(e)};Co.fromString=P2});var vw=m(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});wd.fromBase64=void 0;var v2=Ur(),x2=/^[A-Za-z0-9+/]*={0,2}$/,w2=e=>{if(e.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!x2.exec(e))throw new TypeError("Invalid base64 string.");let n=(0,v2.fromString)(e,"base64");return new Uint8Array(n.buffer,n.byteOffset,n.byteLength)};wd.fromBase64=w2});var xw=m(kd=>{"use strict";Object.defineProperty(kd,"__esModule",{value:!0});kd.toBase64=void 0;var k2=Ur(),A2=e=>(0,k2.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength).toString("base64");kd.toBase64=A2});var So=m(Ad=>{"use strict";Object.defineProperty(Ad,"__esModule",{value:!0});var ww=(z(),j(U));ww.__exportStar(vw(),Ad);ww.__exportStar(xw(),Ad)});var c_=m(Id=>{"use strict";Object.defineProperty(Id,"__esModule",{value:!0});Id.fromUtf8=void 0;var I2=Ur(),R2=e=>{let n=(0,I2.fromString)(e,"utf8");return new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT)};Id.fromUtf8=R2});var kw=m(Rd=>{"use strict";Object.defineProperty(Rd,"__esModule",{value:!0});Rd.toUint8Array=void 0;var N2=c_(),O2=e=>typeof e=="string"?(0,N2.fromUtf8)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e);Rd.toUint8Array=O2});var Aw=m(Nd=>{"use strict";Object.defineProperty(Nd,"__esModule",{value:!0});Nd.toUtf8=void 0;var T2=Ur(),q2=e=>(0,T2.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength).toString("utf8");Nd.toUtf8=q2});var Pt=m(Ha=>{"use strict";Object.defineProperty(Ha,"__esModule",{value:!0});var d_=(z(),j(U));d_.__exportStar(c_(),Ha);d_.__exportStar(kw(),Ha);d_.__exportStar(Aw(),Ha)});var Ow=m(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.transformFromString=Eo.transformToString=void 0;var Rw=So(),Nw=Pt(),Iw=l_();function B2(e,n="utf-8"){return n==="base64"?(0,Rw.toBase64)(e):(0,Nw.toUtf8)(e)}Eo.transformToString=B2;function M2(e,n){return n==="base64"?Iw.Uint8ArrayBlobAdapter.mutate((0,Rw.fromBase64)(e)):Iw.Uint8ArrayBlobAdapter.mutate((0,Nw.fromUtf8)(e))}Eo.transformFromString=M2});var l_=m(Od=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.Uint8ArrayBlobAdapter=void 0;var Tw=Ow(),u_=class e extends Uint8Array{static fromString(n,t="utf-8"){switch(typeof n){case"string":return(0,Tw.transformFromString)(n,t);default:throw new Error(`Unsupported conversion from ${typeof n} to Uint8ArrayBlobAdapter.`)}}static mutate(n){return Object.setPrototypeOf(n,e.prototype),n}transformToString(n="utf-8"){return(0,Tw.transformToString)(this,n)}};Od.Uint8ArrayBlobAdapter=u_});var qw=m(Td=>{"use strict";Object.defineProperty(Td,"__esModule",{value:!0});Td.getAwsChunkedEncodingStream=void 0;var D2=require("stream"),F2=(e,n)=>{let{base64Encoder:t,bodyLengthChecker:r,checksumAlgorithmFn:o,checksumLocationName:s,streamHasher:a}=n,i=t!==void 0&&o!==void 0&&s!==void 0&&a!==void 0,u=i?a(o,e):void 0,l=new D2.Readable({read:()=>{}});return e.on("data",c=>{let y=r(c)||0;l.push(`${y.toString(16)}\r +`),l.push(c),l.push(`\r +`)}),e.on("end",async()=>{if(l.push(`0\r +`),i){let c=t(await u);l.push(`${s}:${c}\r +`),l.push(`\r +`)}l.push(null)}),l};Td.getAwsChunkedEncodingStream=F2});var m_=m(qd=>{"use strict";Object.defineProperty(qd,"__esModule",{value:!0});qd.escapeUri=void 0;var L2=e=>encodeURIComponent(e).replace(/[!'()*]/g,j2);qd.escapeUri=L2;var j2=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`});var Bw=m(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.escapeUriPath=void 0;var U2=m_(),z2=e=>e.split("/").map(U2.escapeUri).join("/");Bd.escapeUriPath=z2});var p_=m(Md=>{"use strict";Object.defineProperty(Md,"__esModule",{value:!0});var Mw=(z(),j(U));Mw.__exportStar(m_(),Md);Mw.__exportStar(Bw(),Md)});var y_=m(Dd=>{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.buildQueryString=void 0;var f_=p_();function G2(e){let n=[];for(let t of Object.keys(e).sort()){let r=e[t];if(t=(0,f_.escapeUri)(t),Array.isArray(r))for(let o=0,s=r.length;o{"use strict";Object.defineProperty(Fd,"__esModule",{value:!0});Fd.NODEJS_TIMEOUT_ERROR_CODES=void 0;Fd.NODEJS_TIMEOUT_ERROR_CODES=["ECONNRESET","EPIPE","ETIMEDOUT"]});var __=m(Ld=>{"use strict";Object.defineProperty(Ld,"__esModule",{value:!0});Ld.getTransformedHeaders=void 0;var H2=e=>{let n={};for(let t of Object.keys(e)){let r=e[t];n[t]=Array.isArray(r)?r.join(","):r}return n};Ld.getTransformedHeaders=H2});var Fw=m(jd=>{"use strict";Object.defineProperty(jd,"__esModule",{value:!0});jd.setConnectionTimeout=void 0;var $2=(e,n,t=0)=>{if(!t)return;let r=setTimeout(()=>{e.destroy(),n(Object.assign(new Error(`Socket timed out without establishing a connection within ${t} ms`),{name:"TimeoutError"}))},t);e.on("socket",o=>{o.connecting?o.on("connect",()=>{clearTimeout(r)}):clearTimeout(r)})};jd.setConnectionTimeout=$2});var Lw=m(Ud=>{"use strict";Object.defineProperty(Ud,"__esModule",{value:!0});Ud.setSocketKeepAlive=void 0;var K2=(e,{keepAlive:n,keepAliveMsecs:t})=>{n===!0&&e.on("socket",r=>{r.setKeepAlive(n,t||0)})};Ud.setSocketKeepAlive=K2});var jw=m(zd=>{"use strict";Object.defineProperty(zd,"__esModule",{value:!0});zd.setSocketTimeout=void 0;var V2=(e,n,t=0)=>{e.setTimeout(t,()=>{e.destroy(),n(Object.assign(new Error(`Connection timed out after ${t} ms`),{name:"TimeoutError"}))})};zd.setSocketTimeout=V2});var g_=m(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.writeRequestBody=void 0;var X2=require("stream"),Uw=1e3;async function W2(e,n,t=Uw){var r;let o=(r=n.headers)!==null&&r!==void 0?r:{},s=o.Expect||o.expect,a=-1,i=!1;s==="100-continue"&&await Promise.race([new Promise(u=>{a=Number(setTimeout(u,Math.max(Uw,t)))}),new Promise(u=>{e.on("continue",()=>{clearTimeout(a),u()}),e.on("error",()=>{i=!0,clearTimeout(a),u()})})]),i||Y2(e,n.body)}Gd.writeRequestBody=W2;function Y2(e,n){n instanceof X2.Readable?n.pipe(e):n?e.end(Buffer.from(n)):e.end()}});var Hw=m(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.NodeHttpHandler=bo.DEFAULT_REQUEST_TIMEOUT=void 0;var Q2=we(),J2=y_(),zw=require("http"),Gw=require("https"),Z2=Dw(),eH=__(),tH=Fw(),nH=Lw(),rH=jw(),oH=g_();bo.DEFAULT_REQUEST_TIMEOUT=0;var h_=class{constructor(n){this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise((t,r)=>{typeof n=="function"?n().then(o=>{t(this.resolveDefaultConfig(o))}).catch(r):t(this.resolveDefaultConfig(n))})}resolveDefaultConfig(n){let{requestTimeout:t,connectionTimeout:r,socketTimeout:o,httpAgent:s,httpsAgent:a}=n||{},i=!0,u=50;return{connectionTimeout:r,requestTimeout:t??o,httpAgent:s||new zw.Agent({keepAlive:i,maxSockets:u}),httpsAgent:a||new Gw.Agent({keepAlive:i,maxSockets:u})}}destroy(){var n,t,r,o;(t=(n=this.config)===null||n===void 0?void 0:n.httpAgent)===null||t===void 0||t.destroy(),(o=(r=this.config)===null||r===void 0?void 0:r.httpsAgent)===null||o===void 0||o.destroy()}async handle(n,{abortSignal:t}={}){return this.config||(this.config=await this.configProvider),new Promise((r,o)=>{var s,a;let i,u=async J=>{await i,r(J)},l=async J=>{await i,o(J)};if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(t!=null&&t.aborted){let J=new Error("Request aborted");J.name="AbortError",l(J);return}let c=n.protocol==="https:",y=(0,J2.buildQueryString)(n.query||{}),_;if(n.username!=null||n.password!=null){let J=(s=n.username)!==null&&s!==void 0?s:"",De=(a=n.password)!==null&&a!==void 0?a:"";_=`${J}:${De}`}let C=n.path;y&&(C+=`?${y}`),n.fragment&&(C+=`#${n.fragment}`);let b={headers:n.headers,host:n.hostname,method:n.method,path:C,port:n.port,agent:c?this.config.httpsAgent:this.config.httpAgent,auth:_},R=(c?Gw.request:zw.request)(b,J=>{let De=new Q2.HttpResponse({statusCode:J.statusCode||-1,reason:J.statusMessage,headers:(0,eH.getTransformedHeaders)(J.headers),body:J});u({response:De})});R.on("error",J=>{Z2.NODEJS_TIMEOUT_ERROR_CODES.includes(J.code)?l(Object.assign(J,{name:"TimeoutError"})):l(J)}),(0,tH.setConnectionTimeout)(R,l,this.config.connectionTimeout),(0,rH.setSocketTimeout)(R,l,this.config.requestTimeout),t&&(t.onabort=()=>{R.abort();let J=new Error("Request aborted");J.name="AbortError",l(J)});let K=b.agent;typeof K=="object"&&"keepAlive"in K&&(0,nH.setSocketKeepAlive)(R,{keepAlive:K.keepAlive,keepAliveMsecs:K.keepAliveMsecs}),i=(0,oH.writeRequestBody)(R,n,this.config.requestTimeout).catch(o)})}updateHttpClientConfig(n,t){this.config=void 0,this.configProvider=this.configProvider.then(r=>({...r,[n]:t}))}httpHandlerConfigs(){var n;return(n=this.config)!==null&&n!==void 0?n:{}}};bo.NodeHttpHandler=h_});var $w=m(Hd=>{"use strict";Object.defineProperty(Hd,"__esModule",{value:!0});Hd.NodeHttp2ConnectionPool=void 0;var C_=class{constructor(n){this.sessions=[],this.sessions=n??[]}poll(){if(this.sessions.length>0)return this.sessions.shift()}offerLast(n){this.sessions.push(n)}contains(n){return this.sessions.includes(n)}remove(n){this.sessions=this.sessions.filter(t=>t!==n)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(n){for(let t of this.sessions)t===n&&(t.destroyed||t.destroy())}};Hd.NodeHttp2ConnectionPool=C_});var Kw=m($d=>{"use strict";Object.defineProperty($d,"__esModule",{value:!0});$d.NodeHttp2ConnectionManager=void 0;var sH=(z(),j(U)),iH=sH.__importDefault(require("http2")),aH=$w(),S_=class{constructor(n){if(this.sessionCache=new Map,this.config=n,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrency must be greater than zero.")}lease(n,t){let r=this.getUrlString(n),o=this.sessionCache.get(r);if(o){let u=o.poll();if(u&&!this.config.disableConcurrency)return u}let s=iH.default.connect(r);this.config.maxConcurrency&&s.settings({maxConcurrentStreams:this.config.maxConcurrency},u=>{if(u)throw new Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+n.destination.toString())}),s.unref();let a=()=>{s.destroy(),this.deleteSession(r,s)};s.on("goaway",a),s.on("error",a),s.on("frameError",a),s.on("close",()=>this.deleteSession(r,s)),t.requestTimeout&&s.setTimeout(t.requestTimeout,a);let i=this.sessionCache.get(r)||new aH.NodeHttp2ConnectionPool;return i.offerLast(s),this.sessionCache.set(r,i),s}deleteSession(n,t){let r=this.sessionCache.get(n);r&&r.contains(t)&&(r.remove(t),this.sessionCache.set(n,r))}release(n,t){var r;let o=this.getUrlString(n);(r=this.sessionCache.get(o))===null||r===void 0||r.offerLast(t)}destroy(){for(let[n,t]of this.sessionCache){for(let r of t)r.destroyed||r.destroy(),t.remove(r);this.sessionCache.delete(n)}}setMaxConcurrentStreams(n){if(this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=n}setDisableConcurrentStreams(n){this.config.disableConcurrency=n}getUrlString(n){return n.destination.toString()}};$d.NodeHttp2ConnectionManager=S_});var Xw=m(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});Kd.NodeHttp2Handler=void 0;var cH=we(),dH=y_(),Vw=require("http2"),lH=__(),uH=Kw(),mH=g_(),E_=class{constructor(n){this.metadata={handlerProtocol:"h2"},this.connectionManager=new uH.NodeHttp2ConnectionManager({}),this.configProvider=new Promise((t,r)=>{typeof n=="function"?n().then(o=>{t(o||{})}).catch(r):t(n||{})})}destroy(){this.connectionManager.destroy()}async handle(n,{abortSignal:t}={}){this.config||(this.config=await this.configProvider,this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams||!1),this.config.maxConcurrentStreams&&this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams));let{requestTimeout:r,disableConcurrentStreams:o}=this.config;return new Promise((s,a)=>{var i,u,l;let c=!1,y,_=async qe=>{await y,s(qe)},C=async qe=>{await y,a(qe)};if(t!=null&&t.aborted){c=!0;let qe=new Error("Request aborted");qe.name="AbortError",C(qe);return}let{hostname:b,method:B,port:R,protocol:K,query:J}=n,De="";if(n.username!=null||n.password!=null){let qe=(i=n.username)!==null&&i!==void 0?i:"",Na=(u=n.password)!==null&&u!==void 0?u:"";De=`${qe}:${Na}@`}let tt=`${K}//${De}${b}${R?`:${R}`:""}`,Fr={destination:new URL(tt)},at=this.connectionManager.lease(Fr,{requestTimeout:(l=this.config)===null||l===void 0?void 0:l.sessionTimeout,disableConcurrentStreams:o||!1}),jt=qe=>{o&&this.destroySession(at),c=!0,C(qe)},ov=(0,dH.buildQueryString)(J||{}),$y=n.path;ov&&($y+=`?${ov}`),n.fragment&&($y+=`#${n.fragment}`);let Bt=at.request({...n.headers,[Vw.constants.HTTP2_HEADER_PATH]:$y,[Vw.constants.HTTP2_HEADER_METHOD]:B});at.ref(),Bt.on("response",qe=>{let Na=new cH.HttpResponse({statusCode:qe[":status"]||-1,headers:(0,lH.getTransformedHeaders)(qe),body:Bt});c=!0,_({response:Na}),o&&(at.close(),this.connectionManager.deleteSession(tt,at))}),r&&Bt.setTimeout(r,()=>{Bt.close();let qe=new Error(`Stream timed out because of no activity for ${r} ms`);qe.name="TimeoutError",jt(qe)}),t&&(t.onabort=()=>{Bt.close();let qe=new Error("Request aborted");qe.name="AbortError",jt(qe)}),Bt.on("frameError",(qe,Na,AG)=>{jt(new Error(`Frame type id ${qe} in stream id ${AG} has failed with code ${Na}.`))}),Bt.on("error",jt),Bt.on("aborted",()=>{jt(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${Bt.rstCode}.`))}),Bt.on("close",()=>{at.unref(),o&&at.destroy(),c||jt(new Error("Unexpected error: http2 request did not get a response"))}),y=(0,mH.writeRequestBody)(Bt,n,r)})}updateHttpClientConfig(n,t){this.config=void 0,this.configProvider=this.configProvider.then(r=>({...r,[n]:t}))}httpHandlerConfigs(){var n;return(n=this.config)!==null&&n!==void 0?n:{}}destroySession(n){n.destroyed||n.destroy()}};Kd.NodeHttp2Handler=E_});var Ww=m(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.Collector=void 0;var pH=require("stream"),b_=class extends pH.Writable{constructor(){super(...arguments),this.bufferedBytes=[]}_write(n,t,r){this.bufferedBytes.push(n),r()}};Vd.Collector=b_});var Yw=m(Xd=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.streamCollector=void 0;var fH=Ww(),yH=e=>new Promise((n,t)=>{let r=new fH.Collector;e.pipe(r),e.on("error",o=>{r.end(),t(o)}),r.on("error",t),r.on("finish",function(){let o=new Uint8Array(Buffer.concat(this.bufferedBytes));n(o)})});Xd.streamCollector=yH});var Po=m($a=>{"use strict";Object.defineProperty($a,"__esModule",{value:!0});var P_=(z(),j(U));P_.__exportStar(Hw(),$a);P_.__exportStar(Xw(),$a);P_.__exportStar(Yw(),$a)});var Jw=m(Wd=>{"use strict";Object.defineProperty(Wd,"__esModule",{value:!0});Wd.sdkStreamMixin=void 0;var _H=Po(),gH=Ur(),v_=require("stream"),hH=require("util"),Qw="The stream has already been transformed.",CH=e=>{var n,t;if(!(e instanceof v_.Readable)){let s=((t=(n=e==null?void 0:e.__proto__)===null||n===void 0?void 0:n.constructor)===null||t===void 0?void 0:t.name)||e;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${s}`)}let r=!1,o=async()=>{if(r)throw new Error(Qw);return r=!0,await(0,_H.streamCollector)(e)};return Object.assign(e,{transformToByteArray:o,transformToString:async s=>{let a=await o();return s===void 0||Buffer.isEncoding(s)?(0,gH.fromArrayBuffer)(a.buffer,a.byteOffset,a.byteLength).toString(s):new hH.TextDecoder(s).decode(a)},transformToWebStream:()=>{if(r)throw new Error(Qw);if(e.readableFlowing!==null)throw new Error("The stream has been consumed by other callbacks.");if(typeof v_.Readable.toWeb!="function")throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available.");return r=!0,v_.Readable.toWeb(e)}})};Wd.sdkStreamMixin=CH});var w_=m(Ka=>{"use strict";Object.defineProperty(Ka,"__esModule",{value:!0});var x_=(z(),j(U));x_.__exportStar(l_(),Ka);x_.__exportStar(qw(),Ka);x_.__exportStar(Jw(),Ka)});var Zw=m(Yd=>{"use strict";Object.defineProperty(Yd,"__esModule",{value:!0});Yd.collectBody=void 0;var k_=w_(),SH=async(e=new Uint8Array,n)=>{if(e instanceof Uint8Array)return k_.Uint8ArrayBlobAdapter.mutate(e);if(!e)return k_.Uint8ArrayBlobAdapter.mutate(new Uint8Array);let t=n.streamCollector(e);return k_.Uint8ArrayBlobAdapter.mutate(await t)};Yd.collectBody=SH});var ek=m(Qd=>{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});Qd.Command=void 0;var EH=s_(),A_=class{constructor(){this.middlewareStack=(0,EH.constructStack)()}};Qd.Command=A_});var tk=m(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});Jd.SENSITIVE_STRING=void 0;Jd.SENSITIVE_STRING="***SensitiveInformation***"});var nk=m(Zd=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});Zd.createAggregatedClient=void 0;var bH=(e,n)=>{for(let t of Object.keys(e)){let r=e[t],o=async function(a,i,u){let l=new r(a);if(typeof i=="function")this.send(l,i);else if(typeof u=="function"){if(typeof i!="object")throw new Error(`Expected http options but got ${typeof i}`);this.send(l,i||{},u)}else return this.send(l,i)},s=(t[0].toLowerCase()+t.slice(1)).replace(/Command$/,"");n.prototype[s]=o}};Zd.createAggregatedClient=bH});var R_=m($=>{"use strict";Object.defineProperty($,"__esModule",{value:!0});$.logger=$.strictParseByte=$.strictParseShort=$.strictParseInt32=$.strictParseInt=$.strictParseLong=$.limitedParseFloat32=$.limitedParseFloat=$.handleFloat=$.limitedParseDouble=$.strictParseFloat32=$.strictParseFloat=$.strictParseDouble=$.expectUnion=$.expectString=$.expectObject=$.expectNonNull=$.expectByte=$.expectShort=$.expectInt32=$.expectInt=$.expectLong=$.expectFloat32=$.expectNumber=$.expectBoolean=$.parseBoolean=void 0;var PH=e=>{switch(e){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${e}"`)}};$.parseBoolean=PH;var vH=e=>{if(e!=null){if(typeof e=="number"){if((e===0||e===1)&&$.logger.warn(el(`Expected boolean, got ${typeof e}: ${e}`)),e===0)return!1;if(e===1)return!0}if(typeof e=="string"){let n=e.toLowerCase();if((n==="false"||n==="true")&&$.logger.warn(el(`Expected boolean, got ${typeof e}: ${e}`)),n==="false")return!1;if(n==="true")return!0}if(typeof e=="boolean")return e;throw new TypeError(`Expected boolean, got ${typeof e}: ${e}`)}};$.expectBoolean=vH;var xH=e=>{if(e!=null){if(typeof e=="string"){let n=parseFloat(e);if(!Number.isNaN(n))return String(n)!==String(e)&&$.logger.warn(el(`Expected number but observed string: ${e}`)),n}if(typeof e=="number")return e;throw new TypeError(`Expected number, got ${typeof e}: ${e}`)}};$.expectNumber=xH;var wH=Math.ceil(2**127*(2-2**-23)),kH=e=>{let n=(0,$.expectNumber)(e);if(n!==void 0&&!Number.isNaN(n)&&n!==1/0&&n!==-1/0&&Math.abs(n)>wH)throw new TypeError(`Expected 32-bit float, got ${e}`);return n};$.expectFloat32=kH;var AH=e=>{if(e!=null){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)}};$.expectLong=AH;$.expectInt=$.expectLong;var IH=e=>I_(e,32);$.expectInt32=IH;var RH=e=>I_(e,16);$.expectShort=RH;var NH=e=>I_(e,8);$.expectByte=NH;var I_=(e,n)=>{let t=(0,$.expectLong)(e);if(t!==void 0&&OH(t,n)!==t)throw new TypeError(`Expected ${n}-bit integer, got ${e}`);return t},OH=(e,n)=>{switch(n){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},TH=(e,n)=>{if(e==null)throw n?new TypeError(`Expected a non-null value for ${n}`):new TypeError("Expected a non-null value");return e};$.expectNonNull=TH;var qH=e=>{if(e==null)return;if(typeof e=="object"&&!Array.isArray(e))return e;let n=Array.isArray(e)?"array":typeof e;throw new TypeError(`Expected object, got ${n}: ${e}`)};$.expectObject=qH;var BH=e=>{if(e!=null){if(typeof e=="string")return e;if(["boolean","number","bigint"].includes(typeof e))return $.logger.warn(el(`Expected string, got ${typeof e}: ${e}`)),String(e);throw new TypeError(`Expected string, got ${typeof e}: ${e}`)}};$.expectString=BH;var MH=e=>{if(e==null)return;let n=(0,$.expectObject)(e),t=Object.entries(n).filter(([,r])=>r!=null).map(([r])=>r);if(t.length===0)throw new TypeError("Unions must have exactly one non-null member. None were found.");if(t.length>1)throw new TypeError(`Unions must have exactly one non-null member. Keys ${t} were not null.`);return n};$.expectUnion=MH;var DH=e=>typeof e=="string"?(0,$.expectNumber)(vo(e)):(0,$.expectNumber)(e);$.strictParseDouble=DH;$.strictParseFloat=$.strictParseDouble;var FH=e=>typeof e=="string"?(0,$.expectFloat32)(vo(e)):(0,$.expectFloat32)(e);$.strictParseFloat32=FH;var LH=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,vo=e=>{let n=e.match(LH);if(n===null||n[0].length!==e.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(e)},jH=e=>typeof e=="string"?rk(e):(0,$.expectNumber)(e);$.limitedParseDouble=jH;$.handleFloat=$.limitedParseDouble;$.limitedParseFloat=$.limitedParseDouble;var UH=e=>typeof e=="string"?rk(e):(0,$.expectFloat32)(e);$.limitedParseFloat32=UH;var rk=e=>{switch(e){case"NaN":return NaN;case"Infinity":return 1/0;case"-Infinity":return-1/0;default:throw new Error(`Unable to parse float value: ${e}`)}},zH=e=>typeof e=="string"?(0,$.expectLong)(vo(e)):(0,$.expectLong)(e);$.strictParseLong=zH;$.strictParseInt=$.strictParseLong;var GH=e=>typeof e=="string"?(0,$.expectInt32)(vo(e)):(0,$.expectInt32)(e);$.strictParseInt32=GH;var HH=e=>typeof e=="string"?(0,$.expectShort)(vo(e)):(0,$.expectShort)(e);$.strictParseShort=HH;var $H=e=>typeof e=="string"?(0,$.expectByte)(vo(e)):(0,$.expectByte)(e);$.strictParseByte=$H;var el=e=>String(new TypeError(e).stack||e).split(` +`).slice(0,5).filter(n=>!n.includes("stackTraceWarning")).join(` +`);$.logger={warn:console.warn}});var ok=m(vt=>{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});vt.parseEpochTimestamp=vt.parseRfc7231DateTime=vt.parseRfc3339DateTimeWithOffset=vt.parseRfc3339DateTime=vt.dateToUtcString=void 0;var Zn=R_(),KH=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],O_=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function VH(e){let n=e.getUTCFullYear(),t=e.getUTCMonth(),r=e.getUTCDay(),o=e.getUTCDate(),s=e.getUTCHours(),a=e.getUTCMinutes(),i=e.getUTCSeconds(),u=o<10?`0${o}`:`${o}`,l=s<10?`0${s}`:`${s}`,c=a<10?`0${a}`:`${a}`,y=i<10?`0${i}`:`${i}`;return`${KH[r]}, ${u} ${O_[t]} ${n} ${l}:${c}:${y} GMT`}vt.dateToUtcString=VH;var XH=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),WH=e=>{if(e==null)return;if(typeof e!="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");let n=XH.exec(e);if(!n)throw new TypeError("Invalid RFC-3339 date-time value");let[t,r,o,s,a,i,u,l]=n,c=(0,Zn.strictParseShort)(xo(r)),y=Ht(o,"month",1,12),_=Ht(s,"day",1,31);return Va(c,y,_,{hours:a,minutes:i,seconds:u,fractionalMilliseconds:l})};vt.parseRfc3339DateTime=WH;var YH=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),QH=e=>{if(e==null)return;if(typeof e!="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");let n=YH.exec(e);if(!n)throw new TypeError("Invalid RFC-3339 date-time value");let[t,r,o,s,a,i,u,l,c]=n,y=(0,Zn.strictParseShort)(xo(r)),_=Ht(o,"month",1,12),C=Ht(s,"day",1,31),b=Va(y,_,C,{hours:a,minutes:i,seconds:u,fractionalMilliseconds:l});return c.toUpperCase()!="Z"&&b.setTime(b.getTime()-l$(c)),b};vt.parseRfc3339DateTimeWithOffset=QH;var JH=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),ZH=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),e$=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),t$=e=>{if(e==null)return;if(typeof e!="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let n=JH.exec(e);if(n){let[t,r,o,s,a,i,u,l]=n;return Va((0,Zn.strictParseShort)(xo(s)),N_(o),Ht(r,"day",1,31),{hours:a,minutes:i,seconds:u,fractionalMilliseconds:l})}if(n=ZH.exec(e),n){let[t,r,o,s,a,i,u,l]=n;return s$(Va(r$(s),N_(o),Ht(r,"day",1,31),{hours:a,minutes:i,seconds:u,fractionalMilliseconds:l}))}if(n=e$.exec(e),n){let[t,r,o,s,a,i,u,l]=n;return Va((0,Zn.strictParseShort)(xo(l)),N_(r),Ht(o.trimLeft(),"day",1,31),{hours:s,minutes:a,seconds:i,fractionalMilliseconds:u})}throw new TypeError("Invalid RFC-7231 date-time value")};vt.parseRfc7231DateTime=t$;var n$=e=>{if(e==null)return;let n;if(typeof e=="number")n=e;else if(typeof e=="string")n=(0,Zn.strictParseDouble)(e);else throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(n)||n===1/0||n===-1/0)throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(n*1e3))};vt.parseEpochTimestamp=n$;var Va=(e,n,t,r)=>{let o=n-1;return a$(e,o,t),new Date(Date.UTC(e,o,t,Ht(r.hours,"hour",0,23),Ht(r.minutes,"minute",0,59),Ht(r.seconds,"seconds",0,60),d$(r.fractionalMilliseconds)))},r$=e=>{let n=new Date().getUTCFullYear(),t=Math.floor(n/100)*100+(0,Zn.strictParseShort)(xo(e));return te.getTime()-new Date().getTime()>o$?new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())):e,N_=e=>{let n=O_.indexOf(e);if(n<0)throw new TypeError(`Invalid month: ${e}`);return n+1},i$=[31,28,31,30,31,30,31,31,30,31,30,31],a$=(e,n,t)=>{let r=i$[n];if(n===1&&c$(e)&&(r=29),t>r)throw new TypeError(`Invalid day for ${O_[n]} in ${e}: ${t}`)},c$=e=>e%4===0&&(e%100!==0||e%400===0),Ht=(e,n,t,r)=>{let o=(0,Zn.strictParseByte)(xo(e));if(or)throw new TypeError(`${n} must be between ${t} and ${r}, inclusive`);return o},d$=e=>e==null?0:(0,Zn.strictParseFloat32)("0."+e)*1e3,l$=e=>{let n=e[0],t=1;if(n=="+")t=1;else if(n=="-")t=-1;else throw new TypeError(`Offset direction, ${n}, must be "+" or "-"`);let r=Number(e.substring(1,3)),o=Number(e.substring(4,6));return t*(r*60+o)*60*1e3},xo=e=>{let n=0;for(;n{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.decorateServiceException=wo.ServiceException=void 0;var T_=class e extends Error{constructor(n){super(n.message),Object.setPrototypeOf(this,e.prototype),this.name=n.name,this.$fault=n.$fault,this.$metadata=n.$metadata}};wo.ServiceException=T_;var u$=(e,n={})=>{Object.entries(n).filter(([,r])=>r!==void 0).forEach(([r,o])=>{(e[r]==null||e[r]==="")&&(e[r]=o)});let t=e.message||e.Message||"UnknownError";return e.message=t,delete e.Message,e};wo.decorateServiceException=u$});var sk=m(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.withBaseException=zr.throwDefaultError=void 0;var m$=q_(),p$=({output:e,parsedBody:n,exceptionCtor:t,errorCode:r})=>{let o=y$(e),s=o.httpStatusCode?o.httpStatusCode+"":void 0,a=new t({name:(n==null?void 0:n.code)||(n==null?void 0:n.Code)||r||s||"UnknownError",$fault:"client",$metadata:o});throw(0,m$.decorateServiceException)(a,n)};zr.throwDefaultError=p$;var f$=e=>({output:n,parsedBody:t,errorCode:r})=>{(0,zr.throwDefaultError)({output:n,parsedBody:t,exceptionCtor:e,errorCode:r})};zr.withBaseException=f$;var y$=e=>{var n,t;return{httpStatusCode:e.statusCode,requestId:(t=(n=e.headers["x-amzn-requestid"])!==null&&n!==void 0?n:e.headers["x-amzn-request-id"])!==null&&t!==void 0?t:e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}}});var ik=m(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});tl.loadConfigsForDefaultMode=void 0;var _$=e=>{switch(e){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}};tl.loadConfigsForDefaultMode=_$});var ck=m(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});nl.emitWarningIfUnsupportedVersion=void 0;var ak=!1,g$=e=>{e&&!ak&&parseInt(e.substring(1,e.indexOf(".")))<14&&(ak=!0)};nl.emitWarningIfUnsupportedVersion=g$});var dk=m(er=>{"use strict";Object.defineProperty(er,"__esModule",{value:!0});er.resolveChecksumRuntimeConfig=er.getChecksumConfiguration=er.AlgorithmId=void 0;var B_=v();Object.defineProperty(er,"AlgorithmId",{enumerable:!0,get:function(){return B_.AlgorithmId}});var h$=e=>{let n=[];for(let t in B_.AlgorithmId){let r=B_.AlgorithmId[t];e[r]!==void 0&&n.push({algorithmId:()=>r,checksumConstructor:()=>e[r]})}return{_checksumAlgorithms:n,addChecksumAlgorithm(t){this._checksumAlgorithms.push(t)},checksumAlgorithms(){return this._checksumAlgorithms}}};er.getChecksumConfiguration=h$;var C$=e=>{let n={};return e.checksumAlgorithms().forEach(t=>{n[t.algorithmId()]=t.checksumConstructor()}),n};er.resolveChecksumRuntimeConfig=C$});var lk=m(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.resolveRetryRuntimeConfig=ko.getRetryConfiguration=void 0;var S$=e=>{let n=e.retryStrategy;return{setRetryStrategy(t){n=t},retryStrategy(){return n}}};ko.getRetryConfiguration=S$;var E$=e=>{let n={};return n.retryStrategy=e.retryStrategy(),n};ko.resolveRetryRuntimeConfig=E$});var pk=m(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.resolveDefaultRuntimeConfig=Pn.getDefaultClientConfiguration=Pn.getDefaultExtensionConfiguration=void 0;var uk=dk(),mk=lk(),b$=e=>({...(0,uk.getChecksumConfiguration)(e),...(0,mk.getRetryConfiguration)(e)});Pn.getDefaultExtensionConfiguration=b$;Pn.getDefaultClientConfiguration=Pn.getDefaultExtensionConfiguration;var P$=e=>({...(0,uk.resolveChecksumRuntimeConfig)(e),...(0,mk.resolveRetryRuntimeConfig)(e)});Pn.resolveDefaultRuntimeConfig=P$});var fk=m(M_=>{"use strict";Object.defineProperty(M_,"__esModule",{value:!0});var v$=(z(),j(U));v$.__exportStar(pk(),M_)});var D_=m(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});rl.extendedEncodeURIComponent=void 0;function x$(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(n){return"%"+n.charCodeAt(0).toString(16).toUpperCase()})}rl.extendedEncodeURIComponent=x$});var yk=m(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});ol.getArrayIfSingleItem=void 0;var w$=e=>Array.isArray(e)?e:[e];ol.getArrayIfSingleItem=w$});var _k=m(Xa=>{"use strict";Object.defineProperty(Xa,"__esModule",{value:!0});Xa.getValueFromTextNode=void 0;var k$=e=>{let n="#text";for(let t in e)e.hasOwnProperty(t)&&e[t][n]!==void 0?e[t]=e[t][n]:typeof e[t]=="object"&&e[t]!==null&&(e[t]=(0,Xa.getValueFromTextNode)(e[t]));return e};Xa.getValueFromTextNode=k$});var gk=m($t=>{"use strict";Object.defineProperty($t,"__esModule",{value:!0});$t.LazyJsonString=$t.StringWrapper=void 0;var A$=function(){let e=Object.getPrototypeOf(this).constructor,n=Function.bind.apply(String,[null,...arguments]),t=new n;return Object.setPrototypeOf(t,e.prototype),t};$t.StringWrapper=A$;$t.StringWrapper.prototype=Object.create(String.prototype,{constructor:{value:$t.StringWrapper,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf($t.StringWrapper,String);var F_=class e extends $t.StringWrapper{deserializeJSON(){return JSON.parse(super.toString())}toJSON(){return super.toString()}static fromObject(n){return n instanceof e?n:n instanceof String||typeof n=="string"?new e(n):new e(JSON.stringify(n))}};$t.LazyJsonString=F_});var Sk=m(tr=>{"use strict";Object.defineProperty(tr,"__esModule",{value:!0});tr.take=tr.convertMap=tr.map=void 0;function hk(e,n,t){let r,o,s;if(typeof n>"u"&&typeof t>"u")r={},s=e;else{if(r=e,typeof n=="function")return o=n,s=t,N$(r,o,s);s=n}for(let a of Object.keys(s)){if(!Array.isArray(s[a])){r[a]=s[a];continue}Ck(r,null,s,a)}return r}tr.map=hk;var I$=e=>{let n={};for(let[t,r]of Object.entries(e||{}))n[t]=[,r];return n};tr.convertMap=I$;var R$=(e,n)=>{let t={};for(let r in n)Ck(t,e,n,r);return t};tr.take=R$;var N$=(e,n,t)=>hk(e,Object.entries(t).reduce((r,[o,s])=>(Array.isArray(s)?r[o]=s:typeof s=="function"?r[o]=[n,s()]:r[o]=[n,s],r),{})),Ck=(e,n,t,r)=>{if(n!==null){let a=t[r];typeof a=="function"&&(a=[,a]);let[i=O$,u=T$,l=r]=a;(typeof i=="function"&&i(n[l])||typeof i!="function"&&i)&&(e[r]=u(n[l]));return}let[o,s]=t[r];if(typeof s=="function"){let a,i=o===void 0&&(a=s())!=null,u=typeof o=="function"&&!!o(void 0)||typeof o!="function"&&!!o;i?e[r]=a:u&&(e[r]=s())}else{let a=o===void 0&&s!=null,i=typeof o=="function"&&!!o(s)||typeof o!="function"&&!!o;(a||i)&&(e[r]=s)}},O$=e=>e!=null,T$=e=>e});var bk=m(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});sl.resolvedPath=void 0;var Ek=D_(),q$=(e,n,t,r,o,s)=>{if(n!=null&&n[t]!==void 0){let a=r();if(a.length<=0)throw new Error("Empty value provided for input HTTP label: "+t+".");e=e.replace(o,s?a.split("/").map(i=>(0,Ek.extendedEncodeURIComponent)(i)).join("/"):(0,Ek.extendedEncodeURIComponent)(a))}else throw new Error("No value provided for input HTTP label: "+t+".");return e};sl.resolvedPath=q$});var Pk=m(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});il.serializeFloat=void 0;var B$=e=>{if(e!==e)return"NaN";switch(e){case 1/0:return"Infinity";case-1/0:return"-Infinity";default:return e}};il.serializeFloat=B$});var vk=m(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});Wa._json=void 0;var M$=e=>{if(e==null)return{};if(Array.isArray(e))return e.filter(n=>n!=null);if(typeof e=="object"){let n={};for(let t of Object.keys(e))e[t]!=null&&(n[t]=(0,Wa._json)(e[t]));return n}return e};Wa._json=M$});var xk=m(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});al.splitEvery=void 0;function D$(e,n,t){if(t<=0||!Number.isInteger(t))throw new Error("Invalid number of delimiters ("+t+") for splitEvery.");let r=e.split(n);if(t===1)return r;let o=[],s="";for(let a=0;a{"use strict";Object.defineProperty(ke,"__esModule",{value:!0});var Ne=(z(),j(U));Ne.__exportStar(Cw(),ke);Ne.__exportStar(Pw(),ke);Ne.__exportStar(Zw(),ke);Ne.__exportStar(ek(),ke);Ne.__exportStar(tk(),ke);Ne.__exportStar(nk(),ke);Ne.__exportStar(ok(),ke);Ne.__exportStar(sk(),ke);Ne.__exportStar(ik(),ke);Ne.__exportStar(ck(),ke);Ne.__exportStar(fk(),ke);Ne.__exportStar(q_(),ke);Ne.__exportStar(D_(),ke);Ne.__exportStar(yk(),ke);Ne.__exportStar(_k(),ke);Ne.__exportStar(gk(),ke);Ne.__exportStar(Sk(),ke);Ne.__exportStar(R_(),ke);Ne.__exportStar(bk(),ke);Ne.__exportStar(Pk(),ke);Ne.__exportStar(vk(),ke);Ne.__exportStar(xk(),ke)});var kk=m(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.getCheckContentLengthHeaderPlugin=vn.checkContentLengthHeaderMiddlewareOptions=vn.checkContentLengthHeader=void 0;var F$=we(),L$=E(),j$="content-length";function wk(){return(e,n)=>async t=>{var r;let{request:o}=t;if(F$.HttpRequest.isInstance(o)&&!o.headers[j$]){let s="Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.";typeof((r=n==null?void 0:n.logger)===null||r===void 0?void 0:r.warn)=="function"&&!(n.logger instanceof L$.NoOpLogger)?n.logger.warn(s):console.warn(s)}return e({...t})}}vn.checkContentLengthHeader=wk;vn.checkContentLengthHeaderMiddlewareOptions={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0};var U$=e=>({applyToStack:n=>{n.add(wk(),vn.checkContentLengthHeaderMiddlewareOptions)}});vn.getCheckContentLengthHeaderPlugin=U$});var Ak=m(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});cl.resolveS3Config=void 0;var z$=e=>{var n,t,r;return{...e,forcePathStyle:(n=e.forcePathStyle)!==null&&n!==void 0?n:!1,useAccelerateEndpoint:(t=e.useAccelerateEndpoint)!==null&&t!==void 0?t:!1,disableMultiregionAccessPoints:(r=e.disableMultiregionAccessPoints)!==null&&r!==void 0?r:!1}};cl.resolveS3Config=z$});var Rk=m(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt.getThrow200ExceptionsPlugin=Kt.throw200ExceptionsMiddlewareOptions=Kt.throw200ExceptionsMiddleware=void 0;var G$=we(),H$=e=>n=>async t=>{let r=await n(t),{response:o}=r;if(!G$.HttpResponse.isInstance(o))return r;let{statusCode:s,body:a}=o;if(s<200||s>=300)return r;let i=await Ik(a,e),u=await $$(i,e);if(i.length===0){let l=new Error("S3 aborted request");throw l.name="InternalError",l}return u&&u.match("")&&(o.statusCode=400),o.body=i,r};Kt.throw200ExceptionsMiddleware=H$;var Ik=(e=new Uint8Array,n)=>e instanceof Uint8Array?Promise.resolve(e):n.streamCollector(e)||Promise.resolve(new Uint8Array),$$=(e,n)=>Ik(e,n).then(t=>n.utf8Encoder(t));Kt.throw200ExceptionsMiddlewareOptions={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0};var K$=e=>({applyToStack:n=>{n.addRelativeTo((0,Kt.throw200ExceptionsMiddleware)(e),Kt.throw200ExceptionsMiddlewareOptions)}});Kt.getThrow200ExceptionsPlugin=K$});var L_=m(nr=>{"use strict";Object.defineProperty(nr,"__esModule",{value:!0});nr.build=nr.parse=nr.validate=void 0;var V$=e=>typeof e=="string"&&e.indexOf("arn:")===0&&e.split(":").length>=6;nr.validate=V$;var X$=e=>{let n=e.split(":");if(n.length<6||n[0]!=="arn")throw new Error("Malformed ARN");let[,t,r,o,s,...a]=n;return{partition:t,service:r,region:o,accountId:s,resource:a.join(":")}};nr.parse=X$;var W$=e=>{let{partition:n="aws",service:t,region:r,accountId:o,resource:s}=e;if([t,r,o,s].some(a=>typeof a!="string"))throw new Error("Input ARN object is invalid");return`arn:${n}:${t}:${r}:${o}:${s}`};nr.build=W$});var Ok=m(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.getValidateBucketNamePlugin=xn.validateBucketNameMiddlewareOptions=xn.validateBucketNameMiddleware=void 0;var Y$=L_();function Nk(){return e=>async n=>{let{input:{Bucket:t}}=n;if(typeof t=="string"&&!(0,Y$.validate)(t)&&t.indexOf("/")>=0){let r=new Error(`Bucket name shouldn't contain '/', received '${t}'`);throw r.name="InvalidBucketName",r}return e({...n})}}xn.validateBucketNameMiddleware=Nk;xn.validateBucketNameMiddlewareOptions={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0};var Q$=e=>({applyToStack:n=>{n.add(Nk(),xn.validateBucketNameMiddlewareOptions)}});xn.getValidateBucketNamePlugin=Q$});var Io=m(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});var dl=(z(),j(U));dl.__exportStar(kk(),Ao);dl.__exportStar(Ak(),Ao);dl.__exportStar(Rk(),Ao);dl.__exportStar(Ok(),Ao)});var Ya=m(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});ll.ProviderError=void 0;var j_=class e extends Error{constructor(n,t=!0){super(n),this.tryNextLink=t,this.name="ProviderError",Object.setPrototypeOf(this,e.prototype)}static from(n,t=!0){return Object.assign(new this(n.message,t),n)}};ll.ProviderError=j_});var Tk=m(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.CredentialsProviderError=void 0;var J$=Ya(),U_=class e extends J$.ProviderError{constructor(n,t=!0){super(n,t),this.tryNextLink=t,this.name="CredentialsProviderError",Object.setPrototypeOf(this,e.prototype)}};ul.CredentialsProviderError=U_});var qk=m(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.TokenProviderError=void 0;var Z$=Ya(),z_=class e extends Z$.ProviderError{constructor(n,t=!0){super(n,t),this.tryNextLink=t,this.name="TokenProviderError",Object.setPrototypeOf(this,e.prototype)}};ml.TokenProviderError=z_});var Bk=m(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});pl.chain=void 0;var eK=Ya(),tK=(...e)=>async()=>{if(e.length===0)throw new eK.ProviderError("No providers in chain");let n;for(let t of e)try{return await t()}catch(r){if(n=r,r!=null&&r.tryNextLink)continue;throw r}throw n};pl.chain=tK});var Mk=m(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});fl.fromStatic=void 0;var nK=e=>()=>Promise.resolve(e);fl.fromStatic=nK});var Dk=m(yl=>{"use strict";Object.defineProperty(yl,"__esModule",{value:!0});yl.memoize=void 0;var rK=(e,n,t)=>{let r,o,s,a=!1,i=async()=>{o||(o=e());try{r=await o,s=!0,a=!1}finally{o=void 0}return r};return n===void 0?async u=>((!s||u!=null&&u.forceRefresh)&&(r=await i()),r):async u=>((!s||u!=null&&u.forceRefresh)&&(r=await i()),a?r:t&&!t(r)?(a=!0,r):(n(r)&&await i(),r))};yl.memoize=rK});var Se=m(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});var Ro=(z(),j(U));Ro.__exportStar(Tk(),rr);Ro.__exportStar(Ya(),rr);Ro.__exportStar(qk(),rr);Ro.__exportStar(Bk(),rr);Ro.__exportStar(Mk(),rr);Ro.__exportStar(Dk(),rr)});var K_={};Oa(K_,{__assign:()=>H_,__asyncDelegator:()=>_K,__asyncGenerator:()=>yK,__asyncValues:()=>gK,__await:()=>Qa,__awaiter:()=>dK,__classPrivateFieldGet:()=>EK,__classPrivateFieldSet:()=>bK,__createBinding:()=>uK,__decorate:()=>iK,__exportStar:()=>mK,__extends:()=>oK,__generator:()=>lK,__importDefault:()=>SK,__importStar:()=>CK,__makeTemplateObject:()=>hK,__metadata:()=>cK,__param:()=>aK,__read:()=>Fk,__rest:()=>sK,__spread:()=>pK,__spreadArrays:()=>fK,__values:()=>$_});function oK(e,n){G_(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}function sK(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o=0;i--)(a=e[i])&&(s=(o<3?a(s):o>3?a(n,t,s):a(n,t))||s);return o>3&&s&&Object.defineProperty(n,t,s),s}function aK(e,n){return function(t,r){n(t,r,e)}}function cK(e,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,n)}function dK(e,n,t,r){function o(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function i(c){try{l(r.next(c))}catch(y){a(y)}}function u(c){try{l(r.throw(c))}catch(y){a(y)}}function l(c){c.done?s(c.value):o(c.value).then(i,u)}l((r=r.apply(e,n||[])).next())})}function lK(e,n){var t={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,o,s,a;return a={next:i(0),throw:i(1),return:i(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(l){return function(c){return u([l,c])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,o&&(s=l[0]&2?o.return:l[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,l[1])).done)return s;switch(o=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,o=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(s=t.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Fk(e,n){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var r=t.call(e),o,s=[],a;try{for(;(n===void 0||n-- >0)&&!(o=r.next()).done;)s.push(o.value)}catch(i){a={error:i}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(a)throw a.error}}return s}function pK(){for(var e=[],n=0;n1||i(_,C)})})}function i(_,C){try{u(r[_](C))}catch(b){y(s[0][3],b)}}function u(_){_.value instanceof Qa?Promise.resolve(_.value.v).then(l,c):y(s[0][2],_)}function l(_){i("next",_)}function c(_){i("throw",_)}function y(_,C){_(C),s.shift(),s.length&&i(s[0][0],s[0][1])}}function _K(e){var n,t;return n={},r("next"),r("throw",function(o){throw o}),r("return"),n[Symbol.iterator]=function(){return this},n;function r(o,s){n[o]=e[o]?function(a){return(t=!t)?{value:Qa(e[o](a)),done:o==="return"}:s?s(a):a}:s}}function gK(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof $_=="function"?$_(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(s){t[s]=e[s]&&function(a){return new Promise(function(i,u){a=e[s](a),o(i,u,a.done,a.value)})}}function o(s,a,i,u){Promise.resolve(u).then(function(l){s({value:l,done:i})},a)}}function hK(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}function CK(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var t in e)Object.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}function SK(e){return e&&e.__esModule?e:{default:e}}function EK(e,n){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return n.get(e)}function bK(e,n,t){if(!n.has(e))throw new TypeError("attempted to set private field on non-instance");return n.set(e,t),t}var G_,H_,V_=Ge(()=>{G_=function(e,n){return G_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o])},G_(e,n)};H_=function(){return H_=Object.assign||function(n){for(var t,r=1,o=arguments.length;r{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.toUtf8=No.fromUtf8=void 0;var PK=e=>{let n=[];for(let t=0,r=e.length;t>6|192,o&63|128);else if(t+1>18|240,s>>12&63|128,s>>6&63|128,s&63|128)}else n.push(o>>12|224,o>>6&63|128,o&63|128)}return Uint8Array.from(n)};No.fromUtf8=PK;var vK=e=>{let n="";for(let t=0,r=e.length;ti.toString(16)).join("%");n+=decodeURIComponent(a)}else n+=String.fromCharCode((o&15)<<12|(e[++t]&63)<<6|e[++t]&63)}return n};No.toUtf8=vK});var jk=m(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.toUtf8=Oo.fromUtf8=void 0;function xK(e){return new TextEncoder().encode(e)}Oo.fromUtf8=xK;function wK(e){return new TextDecoder("utf-8").decode(e)}Oo.toUtf8=wK});var Gk=m(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.toUtf8=To.fromUtf8=void 0;var Uk=Lk(),zk=jk(),kK=e=>typeof TextEncoder=="function"?(0,zk.fromUtf8)(e):(0,Uk.fromUtf8)(e);To.fromUtf8=kK;var AK=e=>typeof TextDecoder=="function"?(0,zk.toUtf8)(e):(0,Uk.toUtf8)(e);To.toUtf8=AK});var Hk=m(_l=>{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});_l.convertToBuffer=void 0;var IK=Gk(),RK=typeof Buffer<"u"&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:IK.fromUtf8;function NK(e){return e instanceof Uint8Array?e:typeof e=="string"?RK(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}_l.convertToBuffer=NK});var $k=m(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.isEmptyData=void 0;function OK(e){return typeof e=="string"?e.length===0:e.byteLength===0}gl.isEmptyData=OK});var Kk=m(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});hl.numToUint8=void 0;function TK(e){return new Uint8Array([(e&4278190080)>>24,(e&16711680)>>16,(e&65280)>>8,e&255])}hl.numToUint8=TK});var Vk=m(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.uint32ArrayFrom=void 0;function qK(e){if(!Uint32Array.from){for(var n=new Uint32Array(e.length),t=0;t{"use strict";Object.defineProperty(Vt,"__esModule",{value:!0});Vt.uint32ArrayFrom=Vt.numToUint8=Vt.isEmptyData=Vt.convertToBuffer=void 0;var BK=Hk();Object.defineProperty(Vt,"convertToBuffer",{enumerable:!0,get:function(){return BK.convertToBuffer}});var MK=$k();Object.defineProperty(Vt,"isEmptyData",{enumerable:!0,get:function(){return MK.isEmptyData}});var DK=Kk();Object.defineProperty(Vt,"numToUint8",{enumerable:!0,get:function(){return DK.numToUint8}});var FK=Vk();Object.defineProperty(Vt,"uint32ArrayFrom",{enumerable:!0,get:function(){return FK.uint32ArrayFrom}})});var Yk=m(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.AwsCrc32=void 0;var Xk=(V_(),j(K_)),X_=Ja(),Wk=Za(),LK=function(){function e(){this.crc32=new Wk.Crc32}return e.prototype.update=function(n){(0,X_.isEmptyData)(n)||this.crc32.update((0,X_.convertToBuffer)(n))},e.prototype.digest=function(){return Xk.__awaiter(this,void 0,void 0,function(){return Xk.__generator(this,function(n){return[2,(0,X_.numToUint8)(this.crc32.digest())]})})},e.prototype.reset=function(){this.crc32=new Wk.Crc32},e}();Sl.AwsCrc32=LK});var Za=m(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});or.AwsCrc32=or.Crc32=or.crc32=void 0;var jK=(V_(),j(K_)),UK=Ja();function zK(e){return new Qk().update(e).digest()}or.crc32=zK;var Qk=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(n){var t,r;try{for(var o=jK.__values(n),s=o.next();!s.done;s=o.next()){var a=s.value;this.checksum=this.checksum>>>8^HK[(this.checksum^a)&255]}}catch(i){t={error:i}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(this.checksum^4294967295)>>>0},e}();or.Crc32=Qk;var GK=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],HK=(0,UK.uint32ArrayFrom)(GK),$K=Yk();Object.defineProperty(or,"AwsCrc32",{enumerable:!0,get:function(){return $K.AwsCrc32}})});var Bo=m(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.toHex=qo.fromHex=void 0;var Jk={},W_={};for(let e=0;e<256;e++){let n=e.toString(16).toLowerCase();n.length===1&&(n=`0${n}`),Jk[e]=n,W_[n]=e}function KK(e){if(e.length%2!==0)throw new Error("Hex encoded strings must have an even number length");let n=new Uint8Array(e.length/2);for(let t=0;t{"use strict";Object.defineProperty(El,"__esModule",{value:!0});El.Int64=void 0;var XK=Bo(),Y_=class e{constructor(n){if(this.bytes=n,n.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(n){if(n>9223372036854776e3||n<-9223372036854776e3)throw new Error(`${n} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,o=Math.abs(Math.round(n));r>-1&&o>0;r--,o/=256)t[r]=o;return n<0&&Zk(t),new e(t)}valueOf(){let n=this.bytes.slice(0),t=n[0]&128;return t&&Zk(n),parseInt((0,XK.toHex)(n),16)*(t?-1:1)}toString(){return String(this.valueOf())}};El.Int64=Y_;function Zk(e){for(let n=0;n<8;n++)e[n]^=255;for(let n=7;n>-1&&(e[n]++,e[n]===0);n--);}});var eg=m(bl=>{"use strict";Object.defineProperty(bl,"__esModule",{value:!0});bl.HeaderMarshaller=void 0;var Mo=Bo(),J_=Q_(),Z_=class{constructor(n,t){this.toUtf8=n,this.fromUtf8=t}format(n){let t=[];for(let s of Object.keys(n)){let a=this.fromUtf8(s);t.push(Uint8Array.from([a.byteLength]),a,this.formatHeaderValue(n[s]))}let r=new Uint8Array(t.reduce((s,a)=>s+a.byteLength,0)),o=0;for(let s of t)r.set(s,o),o+=s.byteLength;return r}formatHeaderValue(n){switch(n.type){case"boolean":return Uint8Array.from([n.value?0:1]);case"byte":return Uint8Array.from([2,n.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,n.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,n.value,!1),new Uint8Array(r.buffer);case"long":let o=new Uint8Array(9);return o[0]=5,o.set(n.value.bytes,1),o;case"binary":let s=new DataView(new ArrayBuffer(3+n.value.byteLength));s.setUint8(0,6),s.setUint16(1,n.value.byteLength,!1);let a=new Uint8Array(s.buffer);return a.set(n.value,3),a;case"string":let i=this.fromUtf8(n.value),u=new DataView(new ArrayBuffer(3+i.byteLength));u.setUint8(0,7),u.setUint16(1,i.byteLength,!1);let l=new Uint8Array(u.buffer);return l.set(i,3),l;case"timestamp":let c=new Uint8Array(9);return c[0]=8,c.set(J_.Int64.fromNumber(n.value.valueOf()).bytes,1),c;case"uuid":if(!r6.test(n.value))throw new Error(`Invalid UUID received: ${n.value}`);let y=new Uint8Array(17);return y[0]=9,y.set((0,Mo.fromHex)(n.value.replace(/\-/g,"")),1),y}}parse(n){let t={},r=0;for(;r{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});Pl.splitMessage=void 0;var o6=Za(),nA=4,sr=nA*2,Gr=4,s6=sr+Gr*2;function i6({byteLength:e,byteOffset:n,buffer:t}){if(e{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});vl.EventStreamCodec=void 0;var a6=Za(),c6=eg(),d6=rA(),tg=class{constructor(n,t){this.headerMarshaller=new c6.HeaderMarshaller(n,t),this.messageBuffer=[],this.isEndOfStream=!1}feed(n){this.messageBuffer.push(this.decode(n))}endOfStream(){this.isEndOfStream=!0}getMessage(){let n=this.messageBuffer.pop(),t=this.isEndOfStream;return{getMessage(){return n},isEndOfStream(){return t}}}getAvailableMessages(){let n=this.messageBuffer;this.messageBuffer=[];let t=this.isEndOfStream;return{getMessages(){return n},isEndOfStream(){return t}}}encode({headers:n,body:t}){let r=this.headerMarshaller.format(n),o=r.byteLength+t.byteLength+16,s=new Uint8Array(o),a=new DataView(s.buffer,s.byteOffset,s.byteLength),i=new a6.Crc32;return a.setUint32(0,o,!1),a.setUint32(4,r.byteLength,!1),a.setUint32(8,i.update(s.subarray(0,8)).digest(),!1),s.set(r,12),s.set(t,r.byteLength+12),a.setUint32(o-4,i.update(s.subarray(8,o-4)).digest(),!1),s}decode(n){let{headers:t,body:r}=(0,d6.splitMessage)(n);return{headers:this.headerMarshaller.parse(t),body:r}}formatHeaders(n){return this.headerMarshaller.format(n)}};vl.EventStreamCodec=tg});var iA=m(sA=>{"use strict";Object.defineProperty(sA,"__esModule",{value:!0})});var aA=m(xl=>{"use strict";Object.defineProperty(xl,"__esModule",{value:!0});xl.MessageDecoderStream=void 0;var ng=class{constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.inputStream)yield this.options.decoder.decode(n)}};xl.MessageDecoderStream=ng});var cA=m(wl=>{"use strict";Object.defineProperty(wl,"__esModule",{value:!0});wl.MessageEncoderStream=void 0;var rg=class{constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.messageStream)yield this.options.encoder.encode(n);this.options.includeEndFrame&&(yield new Uint8Array(0))}};wl.MessageEncoderStream=rg});var dA=m(kl=>{"use strict";Object.defineProperty(kl,"__esModule",{value:!0});kl.SmithyMessageDecoderStream=void 0;var og=class{constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.messageStream){let t=await this.options.deserializer(n);t!==void 0&&(yield t)}}};kl.SmithyMessageDecoderStream=og});var lA=m(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});Al.SmithyMessageEncoderStream=void 0;var sg=class{constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.inputStream)yield this.options.serializer(n)}};Al.SmithyMessageEncoderStream=sg});var ig=m(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});var ir=(z(),j(U));ir.__exportStar(oA(),Xt);ir.__exportStar(eg(),Xt);ir.__exportStar(Q_(),Xt);ir.__exportStar(iA(),Xt);ir.__exportStar(aA(),Xt);ir.__exportStar(cA(),Xt);ir.__exportStar(dA(),Xt);ir.__exportStar(lA(),Xt)});var mA=m(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});Il.getSmithyContext=void 0;var uA=v(),l6=e=>e[uA.SMITHY_CONTEXT_KEY]||(e[uA.SMITHY_CONTEXT_KEY]={});Il.getSmithyContext=l6});var pA=m(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});Rl.normalizeProvider=void 0;var u6=e=>{if(typeof e=="function")return e;let n=Promise.resolve(e);return()=>n};Rl.normalizeProvider=u6});var Hr=m(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});var fA=(z(),j(U));fA.__exportStar(mA(),Nl);fA.__exportStar(pA(),Nl)});var $r=m(V=>{"use strict";Object.defineProperty(V,"__esModule",{value:!0});V.MAX_PRESIGNED_TTL=V.KEY_TYPE_IDENTIFIER=V.MAX_CACHE_SIZE=V.UNSIGNED_PAYLOAD=V.EVENT_ALGORITHM_IDENTIFIER=V.ALGORITHM_IDENTIFIER_V4A=V.ALGORITHM_IDENTIFIER=V.UNSIGNABLE_PATTERNS=V.SEC_HEADER_PATTERN=V.PROXY_HEADER_PATTERN=V.ALWAYS_UNSIGNABLE_HEADERS=V.HOST_HEADER=V.TOKEN_HEADER=V.SHA256_HEADER=V.SIGNATURE_HEADER=V.GENERATED_HEADERS=V.DATE_HEADER=V.AMZ_DATE_HEADER=V.AUTH_HEADER=V.REGION_SET_PARAM=V.TOKEN_QUERY_PARAM=V.SIGNATURE_QUERY_PARAM=V.EXPIRES_QUERY_PARAM=V.SIGNED_HEADERS_QUERY_PARAM=V.AMZ_DATE_QUERY_PARAM=V.CREDENTIAL_QUERY_PARAM=V.ALGORITHM_QUERY_PARAM=void 0;V.ALGORITHM_QUERY_PARAM="X-Amz-Algorithm";V.CREDENTIAL_QUERY_PARAM="X-Amz-Credential";V.AMZ_DATE_QUERY_PARAM="X-Amz-Date";V.SIGNED_HEADERS_QUERY_PARAM="X-Amz-SignedHeaders";V.EXPIRES_QUERY_PARAM="X-Amz-Expires";V.SIGNATURE_QUERY_PARAM="X-Amz-Signature";V.TOKEN_QUERY_PARAM="X-Amz-Security-Token";V.REGION_SET_PARAM="X-Amz-Region-Set";V.AUTH_HEADER="authorization";V.AMZ_DATE_HEADER=V.AMZ_DATE_QUERY_PARAM.toLowerCase();V.DATE_HEADER="date";V.GENERATED_HEADERS=[V.AUTH_HEADER,V.AMZ_DATE_HEADER,V.DATE_HEADER];V.SIGNATURE_HEADER=V.SIGNATURE_QUERY_PARAM.toLowerCase();V.SHA256_HEADER="x-amz-content-sha256";V.TOKEN_HEADER=V.TOKEN_QUERY_PARAM.toLowerCase();V.HOST_HEADER="host";V.ALWAYS_UNSIGNABLE_HEADERS={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0};V.PROXY_HEADER_PATTERN=/^proxy-/;V.SEC_HEADER_PATTERN=/^sec-/;V.UNSIGNABLE_PATTERNS=[/^proxy-/i,/^sec-/i];V.ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256";V.ALGORITHM_IDENTIFIER_V4A="AWS4-ECDSA-P256-SHA256";V.EVENT_ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256-PAYLOAD";V.UNSIGNED_PAYLOAD="UNSIGNED-PAYLOAD";V.MAX_CACHE_SIZE=50;V.KEY_TYPE_IDENTIFIER="aws4_request";V.MAX_PRESIGNED_TTL=60*60*24*7});var cg=m(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.clearCredentialCache=ar.getSigningKey=ar.createScope=void 0;var m6=Bo(),p6=Pt(),ag=$r(),Do={},Ol=[],f6=(e,n,t)=>`${e}/${n}/${t}/${ag.KEY_TYPE_IDENTIFIER}`;ar.createScope=f6;var y6=async(e,n,t,r,o)=>{let s=await yA(e,n.secretAccessKey,n.accessKeyId),a=`${t}:${r}:${o}:${(0,m6.toHex)(s)}:${n.sessionToken}`;if(a in Do)return Do[a];for(Ol.push(a);Ol.length>ag.MAX_CACHE_SIZE;)delete Do[Ol.shift()];let i=`AWS4${n.secretAccessKey}`;for(let u of[t,r,o,ag.KEY_TYPE_IDENTIFIER])i=await yA(e,i,u);return Do[a]=i};ar.getSigningKey=y6;var _6=()=>{Ol.length=0,Object.keys(Do).forEach(e=>{delete Do[e]})};ar.clearCredentialCache=_6;var yA=(e,n,t)=>{let r=new e(n);return r.update((0,p6.toUint8Array)(t)),r.digest()}});var lg=m(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.getCanonicalHeaders=void 0;var dg=$r(),g6=({headers:e},n,t)=>{let r={};for(let o of Object.keys(e).sort()){if(e[o]==null)continue;let s=o.toLowerCase();(s in dg.ALWAYS_UNSIGNABLE_HEADERS||n!=null&&n.has(s)||dg.PROXY_HEADER_PATTERN.test(s)||dg.SEC_HEADER_PATTERN.test(s))&&(!t||t&&!t.has(s))||(r[s]=e[o].trim().replace(/\s+/g," "))}return r};Tl.getCanonicalHeaders=g6});var ug=m(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.getCanonicalQuery=void 0;var ql=p_(),h6=$r(),C6=({query:e={}})=>{let n=[],t={};for(let r of Object.keys(e).sort()){if(r.toLowerCase()===h6.SIGNATURE_HEADER)continue;n.push(r);let o=e[r];typeof o=="string"?t[r]=`${(0,ql.escapeUri)(r)}=${(0,ql.escapeUri)(o)}`:Array.isArray(o)&&(t[r]=o.slice(0).reduce((s,a)=>s.concat([`${(0,ql.escapeUri)(r)}=${(0,ql.escapeUri)(a)}`]),[]).sort().join("&"))}return n.map(r=>t[r]).filter(r=>r).join("&")};Bl.getCanonicalQuery=C6});var mg=m(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});Ml.getPayloadHash=void 0;var S6=xd(),E6=Bo(),b6=Pt(),_A=$r(),P6=async({headers:e,body:n},t)=>{for(let r of Object.keys(e))if(r.toLowerCase()===_A.SHA256_HEADER)return e[r];if(n==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if(typeof n=="string"||ArrayBuffer.isView(n)||(0,S6.isArrayBuffer)(n)){let r=new t;return r.update((0,b6.toUint8Array)(n)),(0,E6.toHex)(await r.digest())}return _A.UNSIGNED_PAYLOAD};Ml.getPayloadHash=P6});var gA=m(cr=>{"use strict";Object.defineProperty(cr,"__esModule",{value:!0});cr.deleteHeader=cr.getHeaderValue=cr.hasHeader=void 0;var v6=(e,n)=>{e=e.toLowerCase();for(let t of Object.keys(n))if(e===t.toLowerCase())return!0;return!1};cr.hasHeader=v6;var x6=(e,n)=>{e=e.toLowerCase();for(let t of Object.keys(n))if(e===t.toLowerCase())return n[t]};cr.getHeaderValue=x6;var w6=(e,n)=>{e=e.toLowerCase();for(let t of Object.keys(n))e===t.toLowerCase()&&delete n[t]};cr.deleteHeader=w6});var pg=m(Kr=>{"use strict";Object.defineProperty(Kr,"__esModule",{value:!0});Kr.cloneQuery=Kr.cloneRequest=void 0;var k6=({headers:e,query:n,...t})=>({...t,headers:{...e},query:n?(0,Kr.cloneQuery)(n):void 0});Kr.cloneRequest=k6;var A6=e=>Object.keys(e).reduce((n,t)=>{let r=e[t];return{...n,[t]:Array.isArray(r)?[...r]:r}},{});Kr.cloneQuery=A6});var fg=m(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});Dl.moveHeadersToQuery=void 0;var I6=pg(),R6=(e,n={})=>{var t;let{headers:r,query:o={}}=typeof e.clone=="function"?e.clone():(0,I6.cloneRequest)(e);for(let s of Object.keys(r)){let a=s.toLowerCase();a.slice(0,6)==="x-amz-"&&!(!((t=n.unhoistableHeaders)===null||t===void 0)&&t.has(a))&&(o[s]=r[s],delete r[s])}return{...e,headers:r,query:o}};Dl.moveHeadersToQuery=R6});var yg=m(Fl=>{"use strict";Object.defineProperty(Fl,"__esModule",{value:!0});Fl.prepareRequest=void 0;var N6=pg(),O6=$r(),T6=e=>{e=typeof e.clone=="function"?e.clone():(0,N6.cloneRequest)(e);for(let n of Object.keys(e.headers))O6.GENERATED_HEADERS.indexOf(n.toLowerCase())>-1&&delete e.headers[n];return e};Fl.prepareRequest=T6});var hA=m(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.toDate=Vr.iso8601=void 0;var q6=e=>(0,Vr.toDate)(e).toISOString().replace(/\.\d{3}Z$/,"Z");Vr.iso8601=q6;var B6=e=>typeof e=="number"?new Date(e*1e3):typeof e=="string"?Number(e)?new Date(Number(e)*1e3):new Date(e):e;Vr.toDate=B6});var PA=m(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});zl.SignatureV4=void 0;var M6=ig(),Ll=Bo(),CA=Hr(),ec=Pt(),We=$r(),jl=cg(),SA=lg(),D6=ug(),_g=mg(),F6=gA(),L6=fg(),EA=yg(),j6=hA(),gg=class{constructor({applyChecksum:n,credentials:t,region:r,service:o,sha256:s,uriEscapePath:a=!0}){this.headerMarshaller=new M6.HeaderMarshaller(ec.toUtf8,ec.fromUtf8),this.service=o,this.sha256=s,this.uriEscapePath=a,this.applyChecksum=typeof n=="boolean"?n:!0,this.regionProvider=(0,CA.normalizeProvider)(r),this.credentialProvider=(0,CA.normalizeProvider)(t)}async presign(n,t={}){let{signingDate:r=new Date,expiresIn:o=3600,unsignableHeaders:s,unhoistableHeaders:a,signableHeaders:i,signingRegion:u,signingService:l}=t,c=await this.credentialProvider();this.validateResolvedCredentials(c);let y=u??await this.regionProvider(),{longDate:_,shortDate:C}=Ul(r);if(o>We.MAX_PRESIGNED_TTL)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let b=(0,jl.createScope)(C,y,l??this.service),B=(0,L6.moveHeadersToQuery)((0,EA.prepareRequest)(n),{unhoistableHeaders:a});c.sessionToken&&(B.query[We.TOKEN_QUERY_PARAM]=c.sessionToken),B.query[We.ALGORITHM_QUERY_PARAM]=We.ALGORITHM_IDENTIFIER,B.query[We.CREDENTIAL_QUERY_PARAM]=`${c.accessKeyId}/${b}`,B.query[We.AMZ_DATE_QUERY_PARAM]=_,B.query[We.EXPIRES_QUERY_PARAM]=o.toString(10);let R=(0,SA.getCanonicalHeaders)(B,s,i);return B.query[We.SIGNED_HEADERS_QUERY_PARAM]=bA(R),B.query[We.SIGNATURE_QUERY_PARAM]=await this.getSignature(_,b,this.getSigningKey(c,y,C,l),this.createCanonicalRequest(B,R,await(0,_g.getPayloadHash)(n,this.sha256))),B}async sign(n,t){return typeof n=="string"?this.signString(n,t):n.headers&&n.payload?this.signEvent(n,t):n.message?this.signMessage(n,t):this.signRequest(n,t)}async signEvent({headers:n,payload:t},{signingDate:r=new Date,priorSignature:o,signingRegion:s,signingService:a}){let i=s??await this.regionProvider(),{shortDate:u,longDate:l}=Ul(r),c=(0,jl.createScope)(u,i,a??this.service),y=await(0,_g.getPayloadHash)({headers:{},body:t},this.sha256),_=new this.sha256;_.update(n);let C=(0,Ll.toHex)(await _.digest()),b=[We.EVENT_ALGORITHM_IDENTIFIER,l,c,o,C,y].join(` +`);return this.signString(b,{signingDate:r,signingRegion:i,signingService:a})}async signMessage(n,{signingDate:t=new Date,signingRegion:r,signingService:o}){return this.signEvent({headers:this.headerMarshaller.format(n.message.headers),payload:n.message.body},{signingDate:t,signingRegion:r,signingService:o,priorSignature:n.priorSignature}).then(a=>({message:n.message,signature:a}))}async signString(n,{signingDate:t=new Date,signingRegion:r,signingService:o}={}){let s=await this.credentialProvider();this.validateResolvedCredentials(s);let a=r??await this.regionProvider(),{shortDate:i}=Ul(t),u=new this.sha256(await this.getSigningKey(s,a,i,o));return u.update((0,ec.toUint8Array)(n)),(0,Ll.toHex)(await u.digest())}async signRequest(n,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:o,signingRegion:s,signingService:a}={}){let i=await this.credentialProvider();this.validateResolvedCredentials(i);let u=s??await this.regionProvider(),l=(0,EA.prepareRequest)(n),{longDate:c,shortDate:y}=Ul(t),_=(0,jl.createScope)(y,u,a??this.service);l.headers[We.AMZ_DATE_HEADER]=c,i.sessionToken&&(l.headers[We.TOKEN_HEADER]=i.sessionToken);let C=await(0,_g.getPayloadHash)(l,this.sha256);!(0,F6.hasHeader)(We.SHA256_HEADER,l.headers)&&this.applyChecksum&&(l.headers[We.SHA256_HEADER]=C);let b=(0,SA.getCanonicalHeaders)(l,o,r),B=await this.getSignature(c,_,this.getSigningKey(i,u,y,a),this.createCanonicalRequest(l,b,C));return l.headers[We.AUTH_HEADER]=`${We.ALGORITHM_IDENTIFIER} Credential=${i.accessKeyId}/${_}, SignedHeaders=${bA(b)}, Signature=${B}`,l}createCanonicalRequest(n,t,r){let o=Object.keys(t).sort();return`${n.method} +${this.getCanonicalPath(n)} +${(0,D6.getCanonicalQuery)(n)} +${o.map(s=>`${s}:${t[s]}`).join(` +`)} + +${o.join(";")} +${r}`}async createStringToSign(n,t,r){let o=new this.sha256;o.update((0,ec.toUint8Array)(r));let s=await o.digest();return`${We.ALGORITHM_IDENTIFIER} +${n} +${t} +${(0,Ll.toHex)(s)}`}getCanonicalPath({path:n}){if(this.uriEscapePath){let t=[];for(let s of n.split("/"))(s==null?void 0:s.length)!==0&&s!=="."&&(s===".."?t.pop():t.push(s));let r=`${n!=null&&n.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&(n!=null&&n.endsWith("/"))?"/":""}`;return encodeURIComponent(r).replace(/%2F/g,"/")}return n}async getSignature(n,t,r,o){let s=await this.createStringToSign(n,t,o),a=new this.sha256(await r);return a.update((0,ec.toUint8Array)(s)),(0,Ll.toHex)(await a.digest())}getSigningKey(n,t,r,o){return(0,jl.getSigningKey)(this.sha256,n,r,t,o||this.service)}validateResolvedCredentials(n){if(typeof n!="object"||typeof n.accessKeyId!="string"||typeof n.secretAccessKey!="string")throw new Error("Resolved credential object is not valid")}};zl.SignatureV4=gg;var Ul=e=>{let n=(0,j6.iso8601)(e).replace(/[\-:]/g,"");return{longDate:n,shortDate:n.slice(0,8)}},bA=e=>Object.keys(e).sort().join(";")});var hg=m(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});lt.prepareRequest=lt.moveHeadersToQuery=lt.getPayloadHash=lt.getCanonicalQuery=lt.getCanonicalHeaders=void 0;var vA=(z(),j(U));vA.__exportStar(PA(),lt);var U6=lg();Object.defineProperty(lt,"getCanonicalHeaders",{enumerable:!0,get:function(){return U6.getCanonicalHeaders}});var z6=ug();Object.defineProperty(lt,"getCanonicalQuery",{enumerable:!0,get:function(){return z6.getCanonicalQuery}});var G6=mg();Object.defineProperty(lt,"getPayloadHash",{enumerable:!0,get:function(){return G6.getPayloadHash}});var H6=fg();Object.defineProperty(lt,"moveHeadersToQuery",{enumerable:!0,get:function(){return H6.moveHeadersToQuery}});var $6=yg();Object.defineProperty(lt,"prepareRequest",{enumerable:!0,get:function(){return $6.prepareRequest}});vA.__exportStar(cg(),lt)});var wA=m(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.resolveSigV4AuthConfig=Lo.resolveAwsAuthConfig=void 0;var K6=Se(),Cg=hg(),Fo=Hr(),V6=3e5,X6=e=>{let n=e.credentials?xA(e.credentials):e.credentialDefaultProvider(e),{signingEscapePath:t=!0,systemClockOffset:r=e.systemClockOffset||0,sha256:o}=e,s;return e.signer?s=(0,Fo.normalizeProvider)(e.signer):e.regionInfoProvider?s=()=>(0,Fo.normalizeProvider)(e.region)().then(async a=>[await e.regionInfoProvider(a,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},a]).then(([a,i])=>{let{signingRegion:u,signingService:l}=a;e.signingRegion=e.signingRegion||u||i,e.signingName=e.signingName||l||e.serviceId;let c={...e,credentials:n,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:t},y=e.signerConstructor||Cg.SignatureV4;return new y(c)}):s=async a=>{a=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await(0,Fo.normalizeProvider)(e.region)(),properties:{}},a);let i=a.signingRegion,u=a.signingName;e.signingRegion=e.signingRegion||i,e.signingName=e.signingName||u||e.serviceId;let l={...e,credentials:n,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:t},c=e.signerConstructor||Cg.SignatureV4;return new c(l)},{...e,systemClockOffset:r,signingEscapePath:t,credentials:n,signer:s}};Lo.resolveAwsAuthConfig=X6;var W6=e=>{let n=e.credentials?xA(e.credentials):e.credentialDefaultProvider(e),{signingEscapePath:t=!0,systemClockOffset:r=e.systemClockOffset||0,sha256:o}=e,s;return e.signer?s=(0,Fo.normalizeProvider)(e.signer):s=(0,Fo.normalizeProvider)(new Cg.SignatureV4({credentials:n,region:e.region,service:e.signingName,sha256:o,uriEscapePath:t})),{...e,systemClockOffset:r,signingEscapePath:t,credentials:n,signer:s}};Lo.resolveSigV4AuthConfig=W6;var xA=e=>typeof e=="function"?(0,K6.memoize)(e,n=>n.expiration!==void 0&&n.expiration.getTime()-Date.now()n.expiration!==void 0):(0,Fo.normalizeProvider)(e)});var Sg=m(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});Gl.getSkewCorrectedDate=void 0;var Y6=e=>new Date(Date.now()+e);Gl.getSkewCorrectedDate=Y6});var kA=m(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});Hl.isClockSkewed=void 0;var Q6=Sg(),J6=(e,n)=>Math.abs((0,Q6.getSkewCorrectedDate)(n).getTime()-e)>=3e5;Hl.isClockSkewed=J6});var AA=m($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});$l.getUpdatedSystemClockOffset=void 0;var Z6=kA(),eV=(e,n)=>{let t=Date.parse(e);return(0,Z6.isClockSkewed)(t,n)?t-Date.now():n};$l.getUpdatedSystemClockOffset=eV});var OA=m(_t=>{"use strict";Object.defineProperty(_t,"__esModule",{value:!0});_t.getSigV4AuthPlugin=_t.getAwsAuthPlugin=_t.awsAuthMiddlewareOptions=_t.awsAuthMiddleware=void 0;var NA=we(),tV=Sg(),IA=AA(),nV=e=>(n,t)=>async function(r){var o,s,a,i;if(!NA.HttpRequest.isInstance(r.request))return n(r);let u=(a=(s=(o=t.endpointV2)===null||o===void 0?void 0:o.properties)===null||s===void 0?void 0:s.authSchemes)===null||a===void 0?void 0:a[0],l=(u==null?void 0:u.name)==="sigv4a"?(i=u==null?void 0:u.signingRegionSet)===null||i===void 0?void 0:i.join(","):void 0,c=await e.signer(u),y=await n({...r,request:await c.sign(r.request,{signingDate:(0,tV.getSkewCorrectedDate)(e.systemClockOffset),signingRegion:l||t.signing_region,signingService:t.signing_service})}).catch(C=>{var b;let B=(b=C.ServerTime)!==null&&b!==void 0?b:RA(C.$response);throw B&&(e.systemClockOffset=(0,IA.getUpdatedSystemClockOffset)(B,e.systemClockOffset)),C}),_=RA(y.response);return _&&(e.systemClockOffset=(0,IA.getUpdatedSystemClockOffset)(_,e.systemClockOffset)),y};_t.awsAuthMiddleware=nV;var RA=e=>{var n,t,r;return NA.HttpResponse.isInstance(e)?(t=(n=e.headers)===null||n===void 0?void 0:n.date)!==null&&t!==void 0?t:(r=e.headers)===null||r===void 0?void 0:r.Date:void 0};_t.awsAuthMiddlewareOptions={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware",override:!0};var rV=e=>({applyToStack:n=>{n.addRelativeTo((0,_t.awsAuthMiddleware)(e),_t.awsAuthMiddlewareOptions)}});_t.getAwsAuthPlugin=rV;_t.getSigV4AuthPlugin=_t.getAwsAuthPlugin});var wn=m(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});var TA=(z(),j(U));TA.__exportStar(wA(),Kl);TA.__exportStar(OA(),Kl)});var qA=m(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});Vl.resolveUserAgentConfig=void 0;function oV(e){return{...e,customUserAgent:typeof e.customUserAgent=="string"?[[e.customUserAgent]]:e.customUserAgent}}Vl.resolveUserAgentConfig=oV});var BA=m((Pwe,sV)=>{sV.exports={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"aws-global":{description:"AWS Standard global region"},"ca-central-1":{description:"Canada (Central)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"AWS China global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"AWS GovCloud (US) global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"c2s.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"AWS ISO (US) global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"sc2s.sgov.gov",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"AWS ISOB (US) global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"cloud.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"csp.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{}}],version:"1.1"}});var Eg=m(Mt=>{"use strict";Object.defineProperty(Mt,"__esModule",{value:!0});Mt.getUserAgentPrefix=Mt.useDefaultPartitionInfo=Mt.setPartitionInfo=Mt.partition=void 0;var iV=(z(),j(U)),MA=iV.__importDefault(BA()),DA=MA.default,FA="",aV=e=>{let{partitions:n}=DA;for(let r of n){let{regions:o,outputs:s}=r;for(let[a,i]of Object.entries(o))if(a===e)return{...s,...i}}for(let r of n){let{regionRegex:o,outputs:s}=r;if(new RegExp(o).test(e))return{...s}}let t=n.find(r=>r.id==="aws");if(!t)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...t.outputs}};Mt.partition=aV;var cV=(e,n="")=>{DA=e,FA=n};Mt.setPartitionInfo=cV;var dV=()=>{(0,Mt.setPartitionInfo)(MA.default,"")};Mt.useDefaultPartitionInfo=dV;var lV=()=>FA;Mt.getUserAgentPrefix=lV});var Wl=m(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});Xl.isIpAddress=void 0;var uV=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),mV=e=>uV.test(e)||e.startsWith("[")&&e.endsWith("]");Xl.isIpAddress=mV});var LA=m(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.debugId=void 0;Yl.debugId="endpoints"});var jA=m(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});Ql.toDebugString=void 0;function bg(e){return typeof e!="object"||e==null?e:"ref"in e?`$${bg(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(bg).join(", ")})`:JSON.stringify(e,null,2)}Ql.toDebugString=bg});var tc=m(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});var UA=(z(),j(U));UA.__exportStar(LA(),Jl);UA.__exportStar(jA(),Jl)});var zA=m(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.EndpointError=void 0;var Pg=class extends Error{constructor(n){super(n),this.name="EndpointError"}};Zl.EndpointError=Pg});var HA=m(GA=>{"use strict";Object.defineProperty(GA,"__esModule",{value:!0})});var KA=m($A=>{"use strict";Object.defineProperty($A,"__esModule",{value:!0})});var XA=m(VA=>{"use strict";Object.defineProperty(VA,"__esModule",{value:!0})});var YA=m(WA=>{"use strict";Object.defineProperty(WA,"__esModule",{value:!0})});var JA=m(QA=>{"use strict";Object.defineProperty(QA,"__esModule",{value:!0})});var xt=m(dr=>{"use strict";Object.defineProperty(dr,"__esModule",{value:!0});var jo=(z(),j(U));jo.__exportStar(zA(),dr);jo.__exportStar(HA(),dr);jo.__exportStar(KA(),dr);jo.__exportStar(XA(),dr);jo.__exportStar(YA(),dr);jo.__exportStar(JA(),dr)});var vg=m(nc=>{"use strict";Object.defineProperty(nc,"__esModule",{value:!0});nc.isValidHostLabel=void 0;var pV=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),fV=(e,n=!1)=>{if(!n)return pV.test(e);let t=e.split(".");for(let r of t)if(!(0,nc.isValidHostLabel)(r))return!1;return!0};nc.isValidHostLabel=fV});var ZA=m(rc=>{"use strict";Object.defineProperty(rc,"__esModule",{value:!0});rc.isVirtualHostableS3Bucket=void 0;var yV=Wl(),_V=vg(),gV=(e,n=!1)=>{if(n){for(let t of e.split("."))if(!(0,rc.isVirtualHostableS3Bucket)(t))return!1;return!0}return!(!(0,_V.isValidHostLabel)(e)||e.length<3||e.length>63||e!==e.toLowerCase()||(0,yV.isIpAddress)(e))};rc.isVirtualHostableS3Bucket=gV});var eI=m(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});eu.parseArn=void 0;var hV=e=>{let n=e.split(":");if(n.length<6)return null;let[t,r,o,s,a,...i]=n;return t!=="arn"||r===""||o===""||i[0]===""?null:{partition:r,service:o,region:s,accountId:a,resourceId:i[0].includes("/")?i[0].split("/"):i}};eu.parseArn=hV});var tI=m(oc=>{"use strict";Object.defineProperty(oc,"__esModule",{value:!0});var xg=(z(),j(U));xg.__exportStar(ZA(),oc);xg.__exportStar(eI(),oc);xg.__exportStar(Eg(),oc)});var nI=m(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});tu.booleanEquals=void 0;var CV=(e,n)=>e===n;tu.booleanEquals=CV});var oI=m(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.getAttrPathList=void 0;var rI=xt(),SV=e=>{let n=e.split("."),t=[];for(let r of n){let o=r.indexOf("[");if(o!==-1){if(r.indexOf("]")!==r.length-1)throw new rI.EndpointError(`Path: '${e}' does not end with ']'`);let s=r.slice(o+1,-1);if(Number.isNaN(parseInt(s)))throw new rI.EndpointError(`Invalid array index: '${s}' in path: '${e}'`);o!==0&&t.push(r.slice(0,o)),t.push(s)}else t.push(r)}return t};nu.getAttrPathList=SV});var sI=m(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.getAttr=void 0;var EV=xt(),bV=oI(),PV=(e,n)=>(0,bV.getAttrPathList)(n).reduce((t,r)=>{if(typeof t!="object")throw new EV.EndpointError(`Index '${r}' in '${n}' not found in '${JSON.stringify(e)}'`);return Array.isArray(t)?t[parseInt(r)]:t[r]},e);ru.getAttr=PV});var iI=m(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.isSet=void 0;var vV=e=>e!=null;ou.isSet=vV});var aI=m(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});su.not=void 0;var xV=e=>!e;su.not=xV});var dI=m(cI=>{"use strict";Object.defineProperty(cI,"__esModule",{value:!0})});var lI=m(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.HttpAuthLocation=void 0;var wV=v();Object.defineProperty(iu,"HttpAuthLocation",{enumerable:!0,get:function(){return wV.HttpAuthLocation}})});var mI=m(uI=>{"use strict";Object.defineProperty(uI,"__esModule",{value:!0})});var fI=m(pI=>{"use strict";Object.defineProperty(pI,"__esModule",{value:!0})});var _I=m(yI=>{"use strict";Object.defineProperty(yI,"__esModule",{value:!0})});var hI=m(gI=>{"use strict";Object.defineProperty(gI,"__esModule",{value:!0})});var SI=m(CI=>{"use strict";Object.defineProperty(CI,"__esModule",{value:!0})});var bI=m(EI=>{"use strict";Object.defineProperty(EI,"__esModule",{value:!0})});var vI=m(PI=>{"use strict";Object.defineProperty(PI,"__esModule",{value:!0})});var xI=m(sc=>{"use strict";Object.defineProperty(sc,"__esModule",{value:!0});sc.HostAddressType=void 0;var kV;(function(e){e.AAAA="AAAA",e.A="A"})(kV=sc.HostAddressType||(sc.HostAddressType={}))});var kI=m(wI=>{"use strict";Object.defineProperty(wI,"__esModule",{value:!0})});var AI=m(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.EndpointURLScheme=void 0;var AV=v();Object.defineProperty(au,"EndpointURLScheme",{enumerable:!0,get:function(){return AV.EndpointURLScheme}})});var RI=m(II=>{"use strict";Object.defineProperty(II,"__esModule",{value:!0})});var OI=m(NI=>{"use strict";Object.defineProperty(NI,"__esModule",{value:!0})});var qI=m(TI=>{"use strict";Object.defineProperty(TI,"__esModule",{value:!0})});var MI=m(BI=>{"use strict";Object.defineProperty(BI,"__esModule",{value:!0})});var FI=m(DI=>{"use strict";Object.defineProperty(DI,"__esModule",{value:!0})});var jI=m(LI=>{"use strict";Object.defineProperty(LI,"__esModule",{value:!0})});var zI=m(UI=>{"use strict";Object.defineProperty(UI,"__esModule",{value:!0})});var HI=m(GI=>{"use strict";Object.defineProperty(GI,"__esModule",{value:!0})});var $I=m(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});var ic=(z(),j(U));ic.__exportStar(MI(),Xr);ic.__exportStar(FI(),Xr);ic.__exportStar(jI(),Xr);ic.__exportStar(zI(),Xr);ic.__exportStar(HI(),Xr)});var VI=m(KI=>{"use strict";Object.defineProperty(KI,"__esModule",{value:!0})});var WI=m(XI=>{"use strict";Object.defineProperty(XI,"__esModule",{value:!0})});var QI=m(YI=>{"use strict";Object.defineProperty(YI,"__esModule",{value:!0})});var ZI=m(JI=>{"use strict";Object.defineProperty(JI,"__esModule",{value:!0})});var tR=m(eR=>{"use strict";Object.defineProperty(eR,"__esModule",{value:!0})});var rR=m(nR=>{"use strict";Object.defineProperty(nR,"__esModule",{value:!0})});var sR=m(oR=>{"use strict";Object.defineProperty(oR,"__esModule",{value:!0})});var aR=m(iR=>{"use strict";Object.defineProperty(iR,"__esModule",{value:!0})});var dR=m(cR=>{"use strict";Object.defineProperty(cR,"__esModule",{value:!0})});var uR=m(lR=>{"use strict";Object.defineProperty(lR,"__esModule",{value:!0})});var pR=m(mR=>{"use strict";Object.defineProperty(mR,"__esModule",{value:!0})});var yR=m(fR=>{"use strict";Object.defineProperty(fR,"__esModule",{value:!0})});var _R=m(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.RequestHandlerProtocol=void 0;var IV=v();Object.defineProperty(cu,"RequestHandlerProtocol",{enumerable:!0,get:function(){return IV.RequestHandlerProtocol}})});var hR=m(gR=>{"use strict";Object.defineProperty(gR,"__esModule",{value:!0})});var SR=m(CR=>{"use strict";Object.defineProperty(CR,"__esModule",{value:!0})});var bR=m(ER=>{"use strict";Object.defineProperty(ER,"__esModule",{value:!0})});var PR=m(fe=>{"use strict";Object.defineProperty(fe,"__esModule",{value:!0});var _e=(z(),j(U));_e.__exportStar(dI(),fe);_e.__exportStar(lI(),fe);_e.__exportStar(mI(),fe);_e.__exportStar(fI(),fe);_e.__exportStar(_I(),fe);_e.__exportStar(hI(),fe);_e.__exportStar(SI(),fe);_e.__exportStar(bI(),fe);_e.__exportStar(vI(),fe);_e.__exportStar(xI(),fe);_e.__exportStar(kI(),fe);_e.__exportStar(AI(),fe);_e.__exportStar(RI(),fe);_e.__exportStar(OI(),fe);_e.__exportStar(qI(),fe);_e.__exportStar($I(),fe);_e.__exportStar(VI(),fe);_e.__exportStar(WI(),fe);_e.__exportStar(QI(),fe);_e.__exportStar(ZI(),fe);_e.__exportStar(tR(),fe);_e.__exportStar(rR(),fe);_e.__exportStar(sR(),fe);_e.__exportStar(aR(),fe);_e.__exportStar(dR(),fe);_e.__exportStar(uR(),fe);_e.__exportStar(pR(),fe);_e.__exportStar(yR(),fe);_e.__exportStar(_R(),fe);_e.__exportStar(hR(),fe);_e.__exportStar(SR(),fe);_e.__exportStar(bR(),fe)});var vR=m(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.parseURL=void 0;var kg=PR(),RV=Wl(),wg={[kg.EndpointURLScheme.HTTP]:80,[kg.EndpointURLScheme.HTTPS]:443},NV=e=>{let n=(()=>{try{if(e instanceof URL)return e;if(typeof e=="object"&&"hostname"in e){let{hostname:_,port:C,protocol:b="",path:B="",query:R={}}=e,K=new URL(`${b}//${_}${C?`:${C}`:""}${B}`);return K.search=Object.entries(R).map(([J,De])=>`${J}=${De}`).join("&"),K}return new URL(e)}catch{return null}})();if(!n)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;let t=n.href,{host:r,hostname:o,pathname:s,protocol:a,search:i}=n;if(i)return null;let u=a.slice(0,-1);if(!Object.values(kg.EndpointURLScheme).includes(u))return null;let l=(0,RV.isIpAddress)(o),c=t.includes(`${r}:${wg[u]}`)||typeof e=="string"&&e.includes(`${r}:${wg[u]}`),y=`${r}${c?`:${wg[u]}`:""}`;return{scheme:u,authority:y,path:s,normalizedPath:s.endsWith("/")?s:`${s}/`,isIp:l}};du.parseURL=NV});var xR=m(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.stringEquals=void 0;var OV=(e,n)=>e===n;lu.stringEquals=OV});var wR=m(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.substring=void 0;var TV=(e,n,t,r)=>n>=t||e.length{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});mu.uriEncode=void 0;var qV=e=>encodeURIComponent(e).replace(/[!*'()]/g,n=>`%${n.charCodeAt(0).toString(16).toUpperCase()}`);mu.uriEncode=qV});var Ag=m(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.aws=void 0;var Wt=(z(),j(U));gt.aws=Wt.__importStar(tI());Wt.__exportStar(nI(),gt);Wt.__exportStar(sI(),gt);Wt.__exportStar(iI(),gt);Wt.__exportStar(vg(),gt);Wt.__exportStar(aI(),gt);Wt.__exportStar(vR(),gt);Wt.__exportStar(xR(),gt);Wt.__exportStar(wR(),gt);Wt.__exportStar(kR(),gt)});var Ig=m(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});pu.evaluateTemplate=void 0;var BV=Ag(),MV=(e,n)=>{let t=[],r={...n.endpointParams,...n.referenceRecord},o=0;for(;o{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});fu.getReferenceValue=void 0;var DV=({ref:e},n)=>({...n.endpointParams,...n.referenceRecord})[e];fu.getReferenceValue=DV});var ac=m(yu=>{"use strict";Object.defineProperty(yu,"__esModule",{value:!0});yu.evaluateExpression=void 0;var FV=xt(),LV=Rg(),jV=Ig(),UV=AR(),zV=(e,n,t)=>{if(typeof e=="string")return(0,jV.evaluateTemplate)(e,t);if(e.fn)return(0,LV.callFunction)(e,t);if(e.ref)return(0,UV.getReferenceValue)(e,t);throw new FV.EndpointError(`'${n}': ${String(e)} is not a string, function or reference.`)};yu.evaluateExpression=zV});var Rg=m(_u=>{"use strict";Object.defineProperty(_u,"__esModule",{value:!0});_u.callFunction=void 0;var GV=(z(),j(U)),HV=GV.__importStar(Ag()),$V=ac(),KV=({fn:e,argv:n},t)=>{let r=n.map(o=>["boolean","number"].includes(typeof o)?o:(0,$V.evaluateExpression)(o,"arg",t));return e.split(".").reduce((o,s)=>o[s],HV)(...r)};_u.callFunction=KV});var IR=m(gu=>{"use strict";Object.defineProperty(gu,"__esModule",{value:!0});gu.evaluateCondition=void 0;var Ng=tc(),VV=xt(),XV=Rg(),WV=({assign:e,...n},t)=>{var r,o;if(e&&e in t.referenceRecord)throw new VV.EndpointError(`'${e}' is already defined in Reference Record.`);let s=(0,XV.callFunction)(n,t);return(o=(r=t.logger)===null||r===void 0?void 0:r.debug)===null||o===void 0||o.call(r,Ng.debugId,`evaluateCondition: ${(0,Ng.toDebugString)(n)} = ${(0,Ng.toDebugString)(s)}`),{result:s===""?!0:!!s,...e!=null&&{toAssign:{name:e,value:s}}}};gu.evaluateCondition=WV});var Cu=m(hu=>{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});hu.evaluateConditions=void 0;var RR=tc(),YV=IR(),QV=(e=[],n)=>{var t,r;let o={};for(let s of e){let{result:a,toAssign:i}=(0,YV.evaluateCondition)(s,{...n,referenceRecord:{...n.referenceRecord,...o}});if(!a)return{result:a};i&&(o[i.name]=i.value,(r=(t=n.logger)===null||t===void 0?void 0:t.debug)===null||r===void 0||r.call(t,RR.debugId,`assign: ${i.name} := ${(0,RR.toDebugString)(i.value)}`))}return{result:!0,referenceRecord:o}};hu.evaluateConditions=QV});var NR=m(Su=>{"use strict";Object.defineProperty(Su,"__esModule",{value:!0});Su.getEndpointHeaders=void 0;var JV=xt(),ZV=ac(),eX=(e,n)=>Object.entries(e).reduce((t,[r,o])=>({...t,[r]:o.map(s=>{let a=(0,ZV.evaluateExpression)(s,"Header value entry",n);if(typeof a!="string")throw new JV.EndpointError(`Header '${r}' value '${a}' is not a string`);return a})}),{});Su.getEndpointHeaders=eX});var TR=m(cc=>{"use strict";Object.defineProperty(cc,"__esModule",{value:!0});cc.getEndpointProperty=void 0;var OR=xt(),tX=Ig(),nX=Og(),rX=(e,n)=>{if(Array.isArray(e))return e.map(t=>(0,cc.getEndpointProperty)(t,n));switch(typeof e){case"string":return(0,tX.evaluateTemplate)(e,n);case"object":if(e===null)throw new OR.EndpointError(`Unexpected endpoint property: ${e}`);return(0,nX.getEndpointProperties)(e,n);case"boolean":return e;default:throw new OR.EndpointError(`Unexpected endpoint property type: ${typeof e}`)}};cc.getEndpointProperty=rX});var Og=m(Eu=>{"use strict";Object.defineProperty(Eu,"__esModule",{value:!0});Eu.getEndpointProperties=void 0;var oX=TR(),sX=(e,n)=>Object.entries(e).reduce((t,[r,o])=>({...t,[r]:(0,oX.getEndpointProperty)(o,n)}),{});Eu.getEndpointProperties=sX});var qR=m(bu=>{"use strict";Object.defineProperty(bu,"__esModule",{value:!0});bu.getEndpointUrl=void 0;var iX=xt(),aX=ac(),cX=(e,n)=>{let t=(0,aX.evaluateExpression)(e,"Endpoint URL",n);if(typeof t=="string")try{return new URL(t)}catch(r){throw console.error(`Failed to construct URL with ${t}`,r),r}throw new iX.EndpointError(`Endpoint URL must be a string, got ${typeof t}`)};bu.getEndpointUrl=cX});var MR=m(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});Pu.evaluateEndpointRule=void 0;var BR=tc(),dX=Cu(),lX=NR(),uX=Og(),mX=qR(),pX=(e,n)=>{var t,r;let{conditions:o,endpoint:s}=e,{result:a,referenceRecord:i}=(0,dX.evaluateConditions)(o,n);if(!a)return;let u={...n,referenceRecord:{...n.referenceRecord,...i}},{url:l,properties:c,headers:y}=s;return(r=(t=n.logger)===null||t===void 0?void 0:t.debug)===null||r===void 0||r.call(t,BR.debugId,`Resolving endpoint from template: ${(0,BR.toDebugString)(s)}`),{...y!=null&&{headers:(0,lX.getEndpointHeaders)(y,u)},...c!=null&&{properties:(0,uX.getEndpointProperties)(c,u)},url:(0,mX.getEndpointUrl)(l,u)}};Pu.evaluateEndpointRule=pX});var DR=m(vu=>{"use strict";Object.defineProperty(vu,"__esModule",{value:!0});vu.evaluateErrorRule=void 0;var fX=xt(),yX=Cu(),_X=ac(),gX=(e,n)=>{let{conditions:t,error:r}=e,{result:o,referenceRecord:s}=(0,yX.evaluateConditions)(t,n);if(o)throw new fX.EndpointError((0,_X.evaluateExpression)(r,"Error",{...n,referenceRecord:{...n.referenceRecord,...s}}))};vu.evaluateErrorRule=gX});var FR=m(xu=>{"use strict";Object.defineProperty(xu,"__esModule",{value:!0});xu.evaluateTreeRule=void 0;var hX=Cu(),CX=Tg(),SX=(e,n)=>{let{conditions:t,rules:r}=e,{result:o,referenceRecord:s}=(0,hX.evaluateConditions)(t,n);if(o)return(0,CX.evaluateRules)(r,{...n,referenceRecord:{...n.referenceRecord,...s}})};xu.evaluateTreeRule=SX});var Tg=m(wu=>{"use strict";Object.defineProperty(wu,"__esModule",{value:!0});wu.evaluateRules=void 0;var LR=xt(),EX=MR(),bX=DR(),PX=FR(),vX=(e,n)=>{for(let t of e)if(t.type==="endpoint"){let r=(0,EX.evaluateEndpointRule)(t,n);if(r)return r}else if(t.type==="error")(0,bX.evaluateErrorRule)(t,n);else if(t.type==="tree"){let r=(0,PX.evaluateTreeRule)(t,n);if(r)return r}else throw new LR.EndpointError(`Unknown endpoint rule: ${t}`);throw new LR.EndpointError("Rules evaluation failed")};wu.evaluateRules=vX});var jR=m(qg=>{"use strict";Object.defineProperty(qg,"__esModule",{value:!0});var xX=(z(),j(U));xX.__exportStar(Tg(),qg)});var UR=m(Au=>{"use strict";Object.defineProperty(Au,"__esModule",{value:!0});Au.resolveEndpoint=void 0;var ku=tc(),wX=xt(),kX=jR(),AX=(e,n)=>{var t,r,o,s,a,i;let{endpointParams:u,logger:l}=n,{parameters:c,rules:y}=e;(r=(t=n.logger)===null||t===void 0?void 0:t.debug)===null||r===void 0||r.call(t,`${ku.debugId} Initial EndpointParams: ${(0,ku.toDebugString)(u)}`);let _=Object.entries(c).filter(([,B])=>B.default!=null).map(([B,R])=>[B,R.default]);if(_.length>0)for(let[B,R]of _)u[B]=(o=u[B])!==null&&o!==void 0?o:R;let C=Object.entries(c).filter(([,B])=>B.required).map(([B])=>B);for(let B of C)if(u[B]==null)throw new wX.EndpointError(`Missing required parameter: '${B}'`);let b=(0,kX.evaluateRules)(y,{endpointParams:u,logger:l,referenceRecord:{}});if(!((s=n.endpointParams)===null||s===void 0)&&s.Endpoint)try{let B=new URL(n.endpointParams.Endpoint),{protocol:R,port:K}=B;b.url.protocol=R,b.url.port=K}catch{}return(i=(a=n.logger)===null||a===void 0?void 0:a.debug)===null||i===void 0||i.call(a,`${ku.debugId} Resolved endpoint: ${(0,ku.toDebugString)(b)}`),b};Au.resolveEndpoint=AX});var zo=m(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});var Iu=(z(),j(U));Iu.__exportStar(Eg(),Uo);Iu.__exportStar(Wl(),Uo);Iu.__exportStar(UR(),Uo);Iu.__exportStar(xt(),Uo)});var zR=m(nt=>{"use strict";Object.defineProperty(nt,"__esModule",{value:!0});nt.UA_ESCAPE_CHAR=nt.UA_VALUE_ESCAPE_REGEX=nt.UA_NAME_ESCAPE_REGEX=nt.UA_NAME_SEPARATOR=nt.SPACE=nt.X_AMZ_USER_AGENT=nt.USER_AGENT=void 0;nt.USER_AGENT="user-agent";nt.X_AMZ_USER_AGENT="x-amz-user-agent";nt.SPACE=" ";nt.UA_NAME_SEPARATOR="/";nt.UA_NAME_ESCAPE_REGEX=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g;nt.UA_VALUE_ESCAPE_REGEX=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;nt.UA_ESCAPE_CHAR="-"});var GR=m(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.getUserAgentPlugin=Yt.getUserAgentMiddlewareOptions=Yt.userAgentMiddleware=void 0;var IX=zo(),RX=we(),ut=zR(),NX=e=>(n,t)=>async r=>{var o,s;let{request:a}=r;if(!RX.HttpRequest.isInstance(a))return n(r);let{headers:i}=a,u=((o=t==null?void 0:t.userAgent)===null||o===void 0?void 0:o.map(Bg))||[],l=(await e.defaultUserAgentProvider()).map(Bg),c=((s=e==null?void 0:e.customUserAgent)===null||s===void 0?void 0:s.map(Bg))||[],y=(0,IX.getUserAgentPrefix)(),_=(y?[y]:[]).concat([...l,...u,...c]).join(ut.SPACE),C=[...l.filter(b=>b.startsWith("aws-sdk-")),...c].join(ut.SPACE);return e.runtime!=="browser"?(C&&(i[ut.X_AMZ_USER_AGENT]=i[ut.X_AMZ_USER_AGENT]?`${i[ut.USER_AGENT]} ${C}`:C),i[ut.USER_AGENT]=_):i[ut.X_AMZ_USER_AGENT]=_,n({...r,request:a})};Yt.userAgentMiddleware=NX;var Bg=e=>{var n;let t=e[0].split(ut.UA_NAME_SEPARATOR).map(i=>i.replace(ut.UA_NAME_ESCAPE_REGEX,ut.UA_ESCAPE_CHAR)).join(ut.UA_NAME_SEPARATOR),r=(n=e[1])===null||n===void 0?void 0:n.replace(ut.UA_VALUE_ESCAPE_REGEX,ut.UA_ESCAPE_CHAR),o=t.indexOf(ut.UA_NAME_SEPARATOR),s=t.substring(0,o),a=t.substring(o+1);return s==="api"&&(a=a.toLowerCase()),[s,a,r].filter(i=>i&&i.length>0).reduce((i,u,l)=>{switch(l){case 0:return u;case 1:return`${i}/${u}`;default:return`${i}#${u}`}},"")};Yt.getUserAgentMiddlewareOptions={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0};var OX=e=>({applyToStack:n=>{n.add((0,Yt.userAgentMiddleware)(e),Yt.getUserAgentMiddlewareOptions)}});Yt.getUserAgentPlugin=OX});var dc=m(Ru=>{"use strict";Object.defineProperty(Ru,"__esModule",{value:!0});var HR=(z(),j(U));HR.__exportStar(qA(),Ru);HR.__exportStar(GR(),Ru)});var $R=m(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.booleanSelector=Wr.SelectorType=void 0;var TX;(function(e){e.ENV="env",e.CONFIG="shared config entry"})(TX=Wr.SelectorType||(Wr.SelectorType={}));var qX=(e,n,t)=>{if(n in e){if(e[n]==="true")return!0;if(e[n]==="false")return!1;throw new Error(`Cannot load ${t} "${n}". Expected "true" or "false", got ${e[n]}.`)}};Wr.booleanSelector=qX});var lc=m(Mg=>{"use strict";Object.defineProperty(Mg,"__esModule",{value:!0});var BX=(z(),j(U));BX.__exportStar($R(),Mg)});var KR=m(wt=>{"use strict";Object.defineProperty(wt,"__esModule",{value:!0});wt.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=wt.DEFAULT_USE_DUALSTACK_ENDPOINT=wt.CONFIG_USE_DUALSTACK_ENDPOINT=wt.ENV_USE_DUALSTACK_ENDPOINT=void 0;var Nu=lc();wt.ENV_USE_DUALSTACK_ENDPOINT="AWS_USE_DUALSTACK_ENDPOINT";wt.CONFIG_USE_DUALSTACK_ENDPOINT="use_dualstack_endpoint";wt.DEFAULT_USE_DUALSTACK_ENDPOINT=!1;wt.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:e=>(0,Nu.booleanSelector)(e,wt.ENV_USE_DUALSTACK_ENDPOINT,Nu.SelectorType.ENV),configFileSelector:e=>(0,Nu.booleanSelector)(e,wt.CONFIG_USE_DUALSTACK_ENDPOINT,Nu.SelectorType.CONFIG),default:!1}});var VR=m(kt=>{"use strict";Object.defineProperty(kt,"__esModule",{value:!0});kt.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=kt.DEFAULT_USE_FIPS_ENDPOINT=kt.CONFIG_USE_FIPS_ENDPOINT=kt.ENV_USE_FIPS_ENDPOINT=void 0;var Ou=lc();kt.ENV_USE_FIPS_ENDPOINT="AWS_USE_FIPS_ENDPOINT";kt.CONFIG_USE_FIPS_ENDPOINT="use_fips_endpoint";kt.DEFAULT_USE_FIPS_ENDPOINT=!1;kt.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:e=>(0,Ou.booleanSelector)(e,kt.ENV_USE_FIPS_ENDPOINT,Ou.SelectorType.ENV),configFileSelector:e=>(0,Ou.booleanSelector)(e,kt.CONFIG_USE_FIPS_ENDPOINT,Ou.SelectorType.CONFIG),default:!1}});var WR=m(Tu=>{"use strict";Object.defineProperty(Tu,"__esModule",{value:!0});Tu.resolveCustomEndpointsConfig=void 0;var XR=Hr(),MX=e=>{var n,t;let{endpoint:r,urlParser:o}=e;return{...e,tls:(n=e.tls)!==null&&n!==void 0?n:!0,endpoint:(0,XR.normalizeProvider)(typeof r=="string"?o(r):r),isCustomEndpoint:!0,useDualstackEndpoint:(0,XR.normalizeProvider)((t=e.useDualstackEndpoint)!==null&&t!==void 0?t:!1)}};Tu.resolveCustomEndpointsConfig=MX});var YR=m(qu=>{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});qu.getEndpointFromRegion=void 0;var DX=async e=>{var n;let{tls:t=!0}=e,r=await e.region();if(!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(r))throw new Error("Invalid region in client config");let s=await e.useDualstackEndpoint(),a=await e.useFipsEndpoint(),{hostname:i}=(n=await e.regionInfoProvider(r,{useDualstackEndpoint:s,useFipsEndpoint:a}))!==null&&n!==void 0?n:{};if(!i)throw new Error("Cannot resolve hostname from client config");return e.urlParser(`${t?"https:":"http:"}//${i}`)};qu.getEndpointFromRegion=DX});var JR=m(Bu=>{"use strict";Object.defineProperty(Bu,"__esModule",{value:!0});Bu.resolveEndpointsConfig=void 0;var QR=Hr(),FX=YR(),LX=e=>{var n,t;let r=(0,QR.normalizeProvider)((n=e.useDualstackEndpoint)!==null&&n!==void 0?n:!1),{endpoint:o,useFipsEndpoint:s,urlParser:a}=e;return{...e,tls:(t=e.tls)!==null&&t!==void 0?t:!0,endpoint:o?(0,QR.normalizeProvider)(typeof o=="string"?a(o):o):()=>(0,FX.getEndpointFromRegion)({...e,useDualstackEndpoint:r,useFipsEndpoint:s}),isCustomEndpoint:!!o,useDualstackEndpoint:r}};Bu.resolveEndpointsConfig=LX});var ZR=m(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var Mu=(z(),j(U));Mu.__exportStar(KR(),Go);Mu.__exportStar(VR(),Go);Mu.__exportStar(WR(),Go);Mu.__exportStar(JR(),Go)});var eN=m(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});At.NODE_REGION_CONFIG_FILE_OPTIONS=At.NODE_REGION_CONFIG_OPTIONS=At.REGION_INI_NAME=At.REGION_ENV_NAME=void 0;At.REGION_ENV_NAME="AWS_REGION";At.REGION_INI_NAME="region";At.NODE_REGION_CONFIG_OPTIONS={environmentVariableSelector:e=>e[At.REGION_ENV_NAME],configFileSelector:e=>e[At.REGION_INI_NAME],default:()=>{throw new Error("Region is missing")}};At.NODE_REGION_CONFIG_FILE_OPTIONS={preferredFile:"credentials"}});var Dg=m(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.isFipsRegion=void 0;var jX=e=>typeof e=="string"&&(e.startsWith("fips-")||e.endsWith("-fips"));Du.isFipsRegion=jX});var tN=m(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Fu.getRealRegion=void 0;var UX=Dg(),zX=e=>(0,UX.isFipsRegion)(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e;Fu.getRealRegion=zX});var rN=m(Lu=>{"use strict";Object.defineProperty(Lu,"__esModule",{value:!0});Lu.resolveRegionConfig=void 0;var nN=tN(),GX=Dg(),HX=e=>{let{region:n,useFipsEndpoint:t}=e;if(!n)throw new Error("Region is missing");return{...e,region:async()=>{if(typeof n=="string")return(0,nN.getRealRegion)(n);let r=await n();return(0,nN.getRealRegion)(r)},useFipsEndpoint:async()=>{let r=typeof n=="string"?n:await n();return(0,GX.isFipsRegion)(r)?!0:typeof t!="function"?Promise.resolve(!!t):t()}}};Lu.resolveRegionConfig=HX});var sN=m(ju=>{"use strict";Object.defineProperty(ju,"__esModule",{value:!0});var oN=(z(),j(U));oN.__exportStar(eN(),ju);oN.__exportStar(rN(),ju)});var aN=m(iN=>{"use strict";Object.defineProperty(iN,"__esModule",{value:!0})});var dN=m(cN=>{"use strict";Object.defineProperty(cN,"__esModule",{value:!0})});var lN=m(Uu=>{"use strict";Object.defineProperty(Uu,"__esModule",{value:!0});Uu.getHostnameFromVariants=void 0;var $X=(e=[],{useFipsEndpoint:n,useDualstackEndpoint:t})=>{var r;return(r=e.find(({tags:o})=>n===o.includes("fips")&&t===o.includes("dualstack")))===null||r===void 0?void 0:r.hostname};Uu.getHostnameFromVariants=$X});var uN=m(zu=>{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});zu.getResolvedHostname=void 0;var KX=(e,{regionHostname:n,partitionHostname:t})=>n||(t?t.replace("{region}",e):void 0);zu.getResolvedHostname=KX});var mN=m(Gu=>{"use strict";Object.defineProperty(Gu,"__esModule",{value:!0});Gu.getResolvedPartition=void 0;var VX=(e,{partitionHash:n})=>{var t;return(t=Object.keys(n||{}).find(r=>n[r].regions.includes(e)))!==null&&t!==void 0?t:"aws"};Gu.getResolvedPartition=VX});var pN=m(Hu=>{"use strict";Object.defineProperty(Hu,"__esModule",{value:!0});Hu.getResolvedSigningRegion=void 0;var XX=(e,{signingRegion:n,regionRegex:t,useFipsEndpoint:r})=>{if(n)return n;if(r){let o=t.replace("\\\\","\\").replace(/^\^/g,"\\.").replace(/\$$/g,"\\."),s=e.match(o);if(s)return s[0].slice(1,-1)}};Hu.getResolvedSigningRegion=XX});var yN=m($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});$u.getRegionInfo=void 0;var fN=lN(),WX=uN(),YX=mN(),QX=pN(),JX=(e,{useFipsEndpoint:n=!1,useDualstackEndpoint:t=!1,signingService:r,regionHash:o,partitionHash:s})=>{var a,i,u,l,c,y;let _=(0,YX.getResolvedPartition)(e,{partitionHash:s}),C=e in o?e:(i=(a=s[_])===null||a===void 0?void 0:a.endpoint)!==null&&i!==void 0?i:e,b={useFipsEndpoint:n,useDualstackEndpoint:t},B=(0,fN.getHostnameFromVariants)((u=o[C])===null||u===void 0?void 0:u.variants,b),R=(0,fN.getHostnameFromVariants)((l=s[_])===null||l===void 0?void 0:l.variants,b),K=(0,WX.getResolvedHostname)(C,{regionHostname:B,partitionHostname:R});if(K===void 0)throw new Error(`Endpoint resolution failed for: ${{resolvedRegion:C,useFipsEndpoint:n,useDualstackEndpoint:t}}`);let J=(0,QX.getResolvedSigningRegion)(K,{signingRegion:(c=o[C])===null||c===void 0?void 0:c.signingRegion,regionRegex:s[_].regionRegex,useFipsEndpoint:n});return{partition:_,signingService:r,hostname:K,...J&&{signingRegion:J},...((y=o[C])===null||y===void 0?void 0:y.signingService)&&{signingService:o[C].signingService}}};$u.getRegionInfo=JX});var _N=m(uc=>{"use strict";Object.defineProperty(uc,"__esModule",{value:!0});var Fg=(z(),j(U));Fg.__exportStar(aN(),uc);Fg.__exportStar(dN(),uc);Fg.__exportStar(yN(),uc)});var Qt=m(mc=>{"use strict";Object.defineProperty(mc,"__esModule",{value:!0});var Lg=(z(),j(U));Lg.__exportStar(ZR(),mc);Lg.__exportStar(sN(),mc);Lg.__exportStar(_N(),mc)});var gN=m(Ku=>{"use strict";Object.defineProperty(Ku,"__esModule",{value:!0});Ku.resolveEventStreamSerdeConfig=void 0;var ZX=e=>({...e,eventStreamMarshaller:e.eventStreamSerdeProvider(e)});Ku.resolveEventStreamSerdeConfig=ZX});var hN=m(jg=>{"use strict";Object.defineProperty(jg,"__esModule",{value:!0});var e8=(z(),j(U));e8.__exportStar(gN(),jg)});var pc=m(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.getContentLengthPlugin=kn.contentLengthMiddlewareOptions=kn.contentLengthMiddleware=void 0;var t8=we(),CN="content-length";function SN(e){return n=>async t=>{let r=t.request;if(t8.HttpRequest.isInstance(r)){let{body:o,headers:s}=r;if(o&&Object.keys(s).map(a=>a.toLowerCase()).indexOf(CN)===-1)try{let a=e(o);r.headers={...r.headers,[CN]:String(a)}}catch{}}return n({...t,request:r})}}kn.contentLengthMiddleware=SN;kn.contentLengthMiddlewareOptions={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0};var n8=e=>({applyToStack:n=>{n.add(SN(e.bodyLengthChecker),kn.contentLengthMiddlewareOptions)}});kn.getContentLengthPlugin=n8});var EN=m(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.isArnBucketName=mt.isDnsCompatibleBucketName=mt.S3_HOSTNAME_PATTERN=mt.DOT_PATTERN=mt.resolveParamsForS3=void 0;var r8=async e=>{let n=(e==null?void 0:e.Bucket)||"";if(typeof e.Bucket=="string"&&(e.Bucket=n.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),(0,mt.isArnBucketName)(n)){if(e.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else(!(0,mt.isDnsCompatibleBucketName)(n)||n.indexOf(".")!==-1&&!String(e.Endpoint).startsWith("http:")||n.toLowerCase()!==n||n.length<3)&&(e.ForcePathStyle=!0);return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e};mt.resolveParamsForS3=r8;var o8=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,s8=/(\d+\.){3}\d+/,i8=/\.\./;mt.DOT_PATTERN=/\./;mt.S3_HOSTNAME_PATTERN=/^(.+\.)?s3(-fips)?(\.dualstack)?[.-]([a-z0-9-]+)\./;var a8=e=>o8.test(e)&&!s8.test(e)&&!i8.test(e);mt.isDnsCompatibleBucketName=a8;var c8=e=>{let[n,t,r,o,s,a]=e.split(":"),i=n==="arn"&&e.split(":").length>=6,u=[n,t,r,s,a].filter(Boolean).length===5;if(i&&!u)throw new Error(`Invalid ARN: ${e} was an invalid ARN.`);return n==="arn"&&!!t&&!!r&&!!s&&!!a};mt.isArnBucketName=c8});var bN=m(Ug=>{"use strict";Object.defineProperty(Ug,"__esModule",{value:!0});var d8=(z(),j(U));d8.__exportStar(EN(),Ug)});var PN=m(Vu=>{"use strict";Object.defineProperty(Vu,"__esModule",{value:!0});Vu.createConfigValueProvider=void 0;var l8=(e,n,t)=>{let r=async()=>{var o;let s=(o=t[e])!==null&&o!==void 0?o:t[n];return typeof s=="function"?s():s};return e==="endpoint"||n==="endpoint"?async()=>{let o=await r();if(o&&typeof o=="object"){if("url"in o)return o.url.href;if("hostname"in o){let{protocol:s,hostname:a,port:i,path:u}=o;return`${s}//${a}${i?":"+i:""}${u}`}}return o}:r};Vu.createConfigValueProvider=l8});var vN=m(Xu=>{"use strict";Object.defineProperty(Xu,"__esModule",{value:!0});Xu.fromEnv=void 0;var u8=Se(),m8=e=>async()=>{try{let n=e(process.env);if(n===void 0)throw new Error;return n}catch(n){throw new u8.CredentialsProviderError(n.message||`Cannot load config from environment variables with getter: ${e}`)}};Xu.fromEnv=m8});var fc=m(Wu=>{"use strict";Object.defineProperty(Wu,"__esModule",{value:!0});Wu.getHomeDir=void 0;var p8=require("os"),f8=require("path"),zg={},y8=()=>process&&process.geteuid?`${process.geteuid()}`:"DEFAULT",_8=()=>{let{HOME:e,USERPROFILE:n,HOMEPATH:t,HOMEDRIVE:r=`C:${f8.sep}`}=process.env;if(e)return e;if(n)return n;if(t)return`${r}${t}`;let o=y8();return zg[o]||(zg[o]=(0,p8.homedir)()),zg[o]};Wu.getHomeDir=_8});var xN=m(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.getProfileName=Jt.DEFAULT_PROFILE=Jt.ENV_PROFILE=void 0;Jt.ENV_PROFILE="AWS_PROFILE";Jt.DEFAULT_PROFILE="default";var g8=e=>e.profile||process.env[Jt.ENV_PROFILE]||Jt.DEFAULT_PROFILE;Jt.getProfileName=g8});var Gg=m(Yu=>{"use strict";Object.defineProperty(Yu,"__esModule",{value:!0});Yu.getSSOTokenFilepath=void 0;var h8=require("crypto"),C8=require("path"),S8=fc(),E8=e=>{let t=(0,h8.createHash)("sha1").update(e).digest("hex");return(0,C8.join)((0,S8.getHomeDir)(),".aws","sso","cache",`${t}.json`)};Yu.getSSOTokenFilepath=E8});var wN=m(Qu=>{"use strict";Object.defineProperty(Qu,"__esModule",{value:!0});Qu.getSSOTokenFromFile=void 0;var b8=require("fs"),P8=Gg(),{readFile:v8}=b8.promises,x8=async e=>{let n=(0,P8.getSSOTokenFilepath)(e),t=await v8(n,"utf8");return JSON.parse(t)};Qu.getSSOTokenFromFile=x8});var IN=m(Ju=>{"use strict";Object.defineProperty(Ju,"__esModule",{value:!0});Ju.getConfigData=void 0;var kN=v(),AN=Ho(),w8=e=>Object.entries(e).filter(([n])=>{let t=n.split(AN.CONFIG_PREFIX_SEPARATOR);return!!(t.length===2&&Object.values(kN.IniSectionType).includes(t[0]))}).reduce((n,[t,r])=>{let o=t.startsWith(kN.IniSectionType.PROFILE)?t.split(AN.CONFIG_PREFIX_SEPARATOR)[1]:t;return n[o]=r,n},{...e.default&&{default:e.default}});Ju.getConfigData=w8});var Hg=m(Yr=>{"use strict";Object.defineProperty(Yr,"__esModule",{value:!0});Yr.getConfigFilepath=Yr.ENV_CONFIG_PATH=void 0;var k8=require("path"),A8=fc();Yr.ENV_CONFIG_PATH="AWS_CONFIG_FILE";var I8=()=>process.env[Yr.ENV_CONFIG_PATH]||(0,k8.join)((0,A8.getHomeDir)(),".aws","config");Yr.getConfigFilepath=I8});var RN=m(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Qr.getCredentialsFilepath=Qr.ENV_CREDENTIALS_PATH=void 0;var R8=require("path"),N8=fc();Qr.ENV_CREDENTIALS_PATH="AWS_SHARED_CREDENTIALS_FILE";var O8=()=>process.env[Qr.ENV_CREDENTIALS_PATH]||(0,R8.join)((0,N8.getHomeDir)(),".aws","credentials");Qr.getCredentialsFilepath=O8});var $g=m(Zu=>{"use strict";Object.defineProperty(Zu,"__esModule",{value:!0});Zu.parseIni=void 0;var T8=v(),NN=Ho(),q8=/^([\w-]+)\s(["'])?([\w-@\+]+)\2$/,B8=["__proto__","profile __proto__"],M8=e=>{let n={},t,r;for(let o of e.split(/\r?\n/)){let s=o.split(/(^|\s)[;#]/)[0].trim();if(s[0]==="["&&s[s.length-1]==="]"){t=void 0,r=void 0;let i=s.substring(1,s.length-1),u=q8.exec(i);if(u){let[,l,,c]=u;Object.values(T8.IniSectionType).includes(l)&&(t=[l,c].join(NN.CONFIG_PREFIX_SEPARATOR))}else t=i;if(B8.includes(i))throw new Error(`Found invalid profile name "${i}"`)}else if(t){let i=s.indexOf("=");if(![0,-1].includes(i)){let[u,l]=[s.substring(0,i).trim(),s.substring(i+1).trim()];if(l==="")r=u;else{r&&o.trimStart()===o&&(r=void 0),n[t]=n[t]||{};let c=r?[r,u].join(NN.CONFIG_PREFIX_SEPARATOR):u;n[t][c]=l}}}}return n};Zu.parseIni=M8});var Vg=m(em=>{"use strict";Object.defineProperty(em,"__esModule",{value:!0});em.slurpFile=void 0;var D8=require("fs"),{readFile:F8}=D8.promises,Kg={},L8=(e,n)=>((!Kg[e]||n!=null&&n.ignoreCache)&&(Kg[e]=F8(e,"utf8")),Kg[e]);em.slurpFile=L8});var Ho=m($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.loadSharedConfigFiles=$o.CONFIG_PREFIX_SEPARATOR=void 0;var j8=IN(),U8=Hg(),z8=RN(),ON=$g(),TN=Vg(),qN=()=>({});$o.CONFIG_PREFIX_SEPARATOR=".";var G8=async(e={})=>{let{filepath:n=(0,z8.getCredentialsFilepath)(),configFilepath:t=(0,U8.getConfigFilepath)()}=e,r=await Promise.all([(0,TN.slurpFile)(t,{ignoreCache:e.ignoreCache}).then(ON.parseIni).then(j8.getConfigData).catch(qN),(0,TN.slurpFile)(n,{ignoreCache:e.ignoreCache}).then(ON.parseIni).catch(qN)]);return{configFile:r[0],credentialsFile:r[1]}};$o.loadSharedConfigFiles=G8});var MN=m(tm=>{"use strict";Object.defineProperty(tm,"__esModule",{value:!0});tm.getSsoSessionData=void 0;var H8=v(),BN=Ho(),$8=e=>Object.entries(e).filter(([n])=>n.startsWith(H8.IniSectionType.SSO_SESSION+BN.CONFIG_PREFIX_SEPARATOR)).reduce((n,[t,r])=>({...n,[t.split(BN.CONFIG_PREFIX_SEPARATOR)[1]]:r}),{});tm.getSsoSessionData=$8});var DN=m(nm=>{"use strict";Object.defineProperty(nm,"__esModule",{value:!0});nm.loadSsoSessionData=void 0;var K8=Hg(),V8=MN(),X8=$g(),W8=Vg(),Y8=()=>({}),Q8=async(e={})=>{var n;return(0,W8.slurpFile)((n=e.configFilepath)!==null&&n!==void 0?n:(0,K8.getConfigFilepath)()).then(X8.parseIni).then(V8.getSsoSessionData).catch(Y8)};nm.loadSsoSessionData=Q8});var FN=m(rm=>{"use strict";Object.defineProperty(rm,"__esModule",{value:!0});rm.mergeConfigFiles=void 0;var J8=(...e)=>{let n={};for(let t of e)for(let[r,o]of Object.entries(t))n[r]!==void 0?Object.assign(n[r],o):n[r]=o;return n};rm.mergeConfigFiles=J8});var LN=m(om=>{"use strict";Object.defineProperty(om,"__esModule",{value:!0});om.parseKnownFiles=void 0;var Z8=Ho(),eW=FN(),tW=async e=>{let n=await(0,Z8.loadSharedConfigFiles)(e);return(0,eW.mergeConfigFiles)(n.configFile,n.credentialsFile)};om.parseKnownFiles=tW});var UN=m(jN=>{"use strict";Object.defineProperty(jN,"__esModule",{value:!0})});var Dt=m(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});var lr=(z(),j(U));lr.__exportStar(fc(),Zt);lr.__exportStar(xN(),Zt);lr.__exportStar(Gg(),Zt);lr.__exportStar(wN(),Zt);lr.__exportStar(Ho(),Zt);lr.__exportStar(DN(),Zt);lr.__exportStar(LN(),Zt);lr.__exportStar(UN(),Zt)});var GN=m(sm=>{"use strict";Object.defineProperty(sm,"__esModule",{value:!0});sm.fromSharedConfigFiles=void 0;var nW=Se(),zN=Dt(),rW=(e,{preferredFile:n="config",...t}={})=>async()=>{let r=(0,zN.getProfileName)(t),{configFile:o,credentialsFile:s}=await(0,zN.loadSharedConfigFiles)(t),a=s[r]||{},i=o[r]||{},u=n==="config"?{...a,...i}:{...i,...a};try{let c=e(u,n==="config"?o:s);if(c===void 0)throw new Error;return c}catch(l){throw new nW.CredentialsProviderError(l.message||`Cannot load config for profile ${r} in SDK configuration files with getter: ${e}`)}};sm.fromSharedConfigFiles=rW});var HN=m(im=>{"use strict";Object.defineProperty(im,"__esModule",{value:!0});im.fromStatic=void 0;var oW=Se(),sW=e=>typeof e=="function",iW=e=>sW(e)?async()=>await e():(0,oW.fromStatic)(e);im.fromStatic=iW});var KN=m(am=>{"use strict";Object.defineProperty(am,"__esModule",{value:!0});am.loadConfig=void 0;var $N=Se(),aW=vN(),cW=GN(),dW=HN(),lW=({environmentVariableSelector:e,configFileSelector:n,default:t},r={})=>(0,$N.memoize)((0,$N.chain)((0,aW.fromEnv)(e),(0,cW.fromSharedConfigFiles)(n,r),(0,dW.fromStatic)(t)));am.loadConfig=lW});var An=m(Xg=>{"use strict";Object.defineProperty(Xg,"__esModule",{value:!0});var uW=(z(),j(U));uW.__exportStar(KN(),Xg)});var YN=m(cm=>{"use strict";Object.defineProperty(cm,"__esModule",{value:!0});cm.getEndpointUrlConfig=void 0;var VN=Dt(),XN="AWS_ENDPOINT_URL",WN="endpoint_url",mW=e=>({environmentVariableSelector:n=>{let t=e.split(" ").map(s=>s.toUpperCase()),r=n[[XN,...t].join("_")];if(r)return r;let o=n[XN];if(o)return o},configFileSelector:(n,t)=>{if(t&&n.services){let o=t[["services",n.services].join(VN.CONFIG_PREFIX_SEPARATOR)];if(o){let s=e.split(" ").map(i=>i.toLowerCase()),a=o[[s.join("_"),WN].join(VN.CONFIG_PREFIX_SEPARATOR)];if(a)return a}}let r=n[WN];if(r)return r},default:void 0});cm.getEndpointUrlConfig=mW});var QN=m(dm=>{"use strict";Object.defineProperty(dm,"__esModule",{value:!0});dm.getEndpointFromConfig=void 0;var pW=An(),fW=YN(),yW=async e=>(0,pW.loadConfig)((0,fW.getEndpointUrlConfig)(e))();dm.getEndpointFromConfig=yW});var JN=m(lm=>{"use strict";Object.defineProperty(lm,"__esModule",{value:!0});lm.parseQueryString=void 0;function _W(e){let n={};if(e=e.replace(/^\?/,""),e)for(let t of e.split("&")){let[r,o=null]=t.split("=");r=decodeURIComponent(r),o&&(o=decodeURIComponent(o)),r in n?Array.isArray(n[r])?n[r].push(o):n[r]=[n[r],o]:n[r]=o}return n}lm.parseQueryString=_W});var Jr=m(yc=>{"use strict";Object.defineProperty(yc,"__esModule",{value:!0});yc.parseUrl=void 0;var gW=JN(),hW=e=>{if(typeof e=="string")return(0,yc.parseUrl)(new URL(e));let{hostname:n,pathname:t,port:r,protocol:o,search:s}=e,a;return s&&(a=(0,gW.parseQueryString)(s)),{hostname:n,port:r?parseInt(r):void 0,protocol:o,path:t,query:a}};yc.parseUrl=hW});var mm=m(um=>{"use strict";Object.defineProperty(um,"__esModule",{value:!0});um.toEndpointV1=void 0;var ZN=Jr(),CW=e=>typeof e=="object"?"url"in e?(0,ZN.parseUrl)(e.url):e:(0,ZN.parseUrl)(e);um.toEndpointV1=CW});var Wg=m(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.resolveParams=Zr.getEndpointFromInstructions=void 0;var SW=bN(),EW=PN(),bW=QN(),PW=mm(),vW=async(e,n,t,r)=>{if(!t.endpoint){let a=await(0,bW.getEndpointFromConfig)(t.serviceId||"");a&&(t.endpoint=()=>Promise.resolve((0,PW.toEndpointV1)(a)))}let o=await(0,Zr.resolveParams)(e,n,t);if(typeof t.endpointProvider!="function")throw new Error("config.endpointProvider is not set.");return t.endpointProvider(o,r)};Zr.getEndpointFromInstructions=vW;var xW=async(e,n,t)=>{var r;let o={},s=((r=n==null?void 0:n.getEndpointParameterInstructions)===null||r===void 0?void 0:r.call(n))||{};for(let[a,i]of Object.entries(s))switch(i.type){case"staticContextParams":o[a]=i.value;break;case"contextParams":o[a]=e[i.name];break;case"clientContextParams":case"builtInParams":o[a]=await(0,EW.createConfigValueProvider)(i.name,a,t)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(i))}return Object.keys(s).length===0&&Object.assign(o,t),String(t.serviceId).toLowerCase()==="s3"&&await(0,SW.resolveParamsForS3)(o),o};Zr.resolveParams=xW});var tO=m(pm=>{"use strict";Object.defineProperty(pm,"__esModule",{value:!0});var eO=(z(),j(U));eO.__exportStar(Wg(),pm);eO.__exportStar(mm(),pm)});var Yg=m(fm=>{"use strict";Object.defineProperty(fm,"__esModule",{value:!0});fm.endpointMiddleware=void 0;var wW=Wg(),kW=({config:e,instructions:n})=>(t,r)=>async o=>{var s,a;let i=await(0,wW.getEndpointFromInstructions)(o.input,{getEndpointParameterInstructions(){return n}},{...e},r);r.endpointV2=i,r.authSchemes=(s=i.properties)===null||s===void 0?void 0:s.authSchemes;let u=(a=r.authSchemes)===null||a===void 0?void 0:a[0];return u&&(r.signing_region=u.signingRegion,r.signing_service=u.signingName),t({...o})};fm.endpointMiddleware=kW});var Qg=m(ym=>{"use strict";Object.defineProperty(ym,"__esModule",{value:!0});ym.deserializerMiddleware=void 0;var AW=(e,n)=>(t,r)=>async o=>{let{response:s}=await t(o);try{let a=await n(s,e);return{response:s,output:a}}catch(a){if(Object.defineProperty(a,"$response",{value:s}),!("$metadata"in a)){let i="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";a.message+=` + `+i}throw a}};ym.deserializerMiddleware=AW});var Jg=m(_m=>{"use strict";Object.defineProperty(_m,"__esModule",{value:!0});_m.serializerMiddleware=void 0;var IW=(e,n)=>(t,r)=>async o=>{var s;let a=!((s=r.endpointV2)===null||s===void 0)&&s.url&&e.urlParser?async()=>e.urlParser(r.endpointV2.url):e.endpoint;if(!a)throw new Error("No valid endpoint provider available.");let i=await n(o.input,{...e,endpoint:a});return t({...o,request:i})};_m.serializerMiddleware=IW});var nO=m(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.getSerdePlugin=en.serializerMiddlewareOption=en.deserializerMiddlewareOption=void 0;var RW=Qg(),NW=Jg();en.deserializerMiddlewareOption={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0};en.serializerMiddlewareOption={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function OW(e,n,t){return{applyToStack:r=>{r.add((0,RW.deserializerMiddleware)(e,t),en.deserializerMiddlewareOption),r.add((0,NW.serializerMiddleware)(e,n),en.serializerMiddlewareOption)}}}en.getSerdePlugin=OW});var w=m(_c=>{"use strict";Object.defineProperty(_c,"__esModule",{value:!0});var Zg=(z(),j(U));Zg.__exportStar(Qg(),_c);Zg.__exportStar(nO(),_c);Zg.__exportStar(Jg(),_c)});var rO=m(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.getEndpointPlugin=eo.endpointMiddlewareOptions=void 0;var TW=w(),qW=Yg();eo.endpointMiddlewareOptions={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:TW.serializerMiddlewareOption.name};var BW=(e,n)=>({applyToStack:t=>{t.addRelativeTo((0,qW.endpointMiddleware)({config:e,instructions:n}),eo.endpointMiddlewareOptions)}});eo.getEndpointPlugin=BW});var oO=m(gm=>{"use strict";Object.defineProperty(gm,"__esModule",{value:!0});gm.resolveEndpointConfig=void 0;var eh=Hr(),MW=mm(),DW=e=>{var n,t,r;let o=(n=e.tls)!==null&&n!==void 0?n:!0,{endpoint:s}=e,a=s!=null?async()=>(0,MW.toEndpointV1)(await(0,eh.normalizeProvider)(s)()):void 0;return{...e,endpoint:a,tls:o,isCustomEndpoint:!!s,useDualstackEndpoint:(0,eh.normalizeProvider)((t=e.useDualstackEndpoint)!==null&&t!==void 0?t:!1),useFipsEndpoint:(0,eh.normalizeProvider)((r=e.useFipsEndpoint)!==null&&r!==void 0?r:!1)}};gm.resolveEndpointConfig=DW});var iO=m(sO=>{"use strict";Object.defineProperty(sO,"__esModule",{value:!0})});var x=m(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});var gc=(z(),j(U));gc.__exportStar(tO(),to);gc.__exportStar(Yg(),to);gc.__exportStar(rO(),to);gc.__exportStar(oO(),to);gc.__exportStar(iO(),to)});var hm=m(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.DEFAULT_RETRY_MODE=In.DEFAULT_MAX_ATTEMPTS=In.RETRY_MODES=void 0;var aO;(function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"})(aO=In.RETRY_MODES||(In.RETRY_MODES={}));In.DEFAULT_MAX_ATTEMPTS=3;In.DEFAULT_RETRY_MODE=aO.STANDARD});var cO=m(It=>{"use strict";Object.defineProperty(It,"__esModule",{value:!0});It.NODEJS_TIMEOUT_ERROR_CODES=It.TRANSIENT_ERROR_STATUS_CODES=It.TRANSIENT_ERROR_CODES=It.THROTTLING_ERROR_CODES=It.CLOCK_SKEW_ERROR_CODES=void 0;It.CLOCK_SKEW_ERROR_CODES=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"];It.THROTTLING_ERROR_CODES=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"];It.TRANSIENT_ERROR_CODES=["TimeoutError","RequestTimeout","RequestTimeoutException"];It.TRANSIENT_ERROR_STATUS_CODES=[500,502,503,504];It.NODEJS_TIMEOUT_ERROR_CODES=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"]});var Cc=m(ht=>{"use strict";Object.defineProperty(ht,"__esModule",{value:!0});ht.isServerError=ht.isTransientError=ht.isThrottlingError=ht.isClockSkewError=ht.isRetryableByTrait=void 0;var hc=cO(),FW=e=>e.$retryable!==void 0;ht.isRetryableByTrait=FW;var LW=e=>hc.CLOCK_SKEW_ERROR_CODES.includes(e.name);ht.isClockSkewError=LW;var jW=e=>{var n,t;return((n=e.$metadata)===null||n===void 0?void 0:n.httpStatusCode)===429||hc.THROTTLING_ERROR_CODES.includes(e.name)||((t=e.$retryable)===null||t===void 0?void 0:t.throttling)==!0};ht.isThrottlingError=jW;var UW=e=>{var n;return hc.TRANSIENT_ERROR_CODES.includes(e.name)||hc.NODEJS_TIMEOUT_ERROR_CODES.includes((e==null?void 0:e.code)||"")||hc.TRANSIENT_ERROR_STATUS_CODES.includes(((n=e.$metadata)===null||n===void 0?void 0:n.httpStatusCode)||0)};ht.isTransientError=UW;var zW=e=>{var n;if(((n=e.$metadata)===null||n===void 0?void 0:n.httpStatusCode)!==void 0){let t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!(0,ht.isTransientError)(e)}return!1};ht.isServerError=zW});var nh=m(Cm=>{"use strict";Object.defineProperty(Cm,"__esModule",{value:!0});Cm.DefaultRateLimiter=void 0;var GW=Cc(),th=class{constructor(n){var t,r,o,s,a;this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=(t=n==null?void 0:n.beta)!==null&&t!==void 0?t:.7,this.minCapacity=(r=n==null?void 0:n.minCapacity)!==null&&r!==void 0?r:1,this.minFillRate=(o=n==null?void 0:n.minFillRate)!==null&&o!==void 0?o:.5,this.scaleConstant=(s=n==null?void 0:n.scaleConstant)!==null&&s!==void 0?s:.4,this.smooth=(a=n==null?void 0:n.smooth)!==null&&a!==void 0?a:.8;let i=this.getCurrentTimeInSeconds();this.lastThrottleTime=i,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(n){if(this.enabled){if(this.refillTokenBucket(),n>this.currentCapacity){let t=(n-this.currentCapacity)/this.fillRate*1e3;await new Promise(r=>setTimeout(r,t))}this.currentCapacity=this.currentCapacity-n}}refillTokenBucket(){let n=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=n;return}let t=(n-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+t),this.lastTimestamp=n}updateClientSendingRate(n){let t;if(this.updateMeasuredRate(),(0,GW.isThrottlingError)(n)){let o=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=o,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(o),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());let r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(n){return this.getPrecise(n*this.beta)}cubicSuccess(n){return this.getPrecise(this.scaleConstant*Math.pow(n-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(n){this.refillTokenBucket(),this.fillRate=Math.max(n,this.minFillRate),this.maxCapacity=Math.max(n,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){let n=this.getCurrentTimeInSeconds(),t=Math.floor(n*2)/2;if(this.requestCount++,t>this.lastTxRateBucket){let r=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(r*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=t}}getPrecise(n){return parseFloat(n.toFixed(8))}};Cm.DefaultRateLimiter=th});var Ko=m(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.REQUEST_HEADER=Fe.INVOCATION_ID_HEADER=Fe.NO_RETRY_INCREMENT=Fe.TIMEOUT_RETRY_COST=Fe.RETRY_COST=Fe.INITIAL_RETRY_TOKENS=Fe.THROTTLING_RETRY_DELAY_BASE=Fe.MAXIMUM_RETRY_DELAY=Fe.DEFAULT_RETRY_DELAY_BASE=void 0;Fe.DEFAULT_RETRY_DELAY_BASE=100;Fe.MAXIMUM_RETRY_DELAY=20*1e3;Fe.THROTTLING_RETRY_DELAY_BASE=500;Fe.INITIAL_RETRY_TOKENS=500;Fe.RETRY_COST=5;Fe.TIMEOUT_RETRY_COST=10;Fe.NO_RETRY_INCREMENT=1;Fe.INVOCATION_ID_HEADER="amz-sdk-invocation-id";Fe.REQUEST_HEADER="amz-sdk-request"});var lO=m(Sm=>{"use strict";Object.defineProperty(Sm,"__esModule",{value:!0});Sm.getDefaultRetryBackoffStrategy=void 0;var dO=Ko(),HW=()=>{let e=dO.DEFAULT_RETRY_DELAY_BASE;return{computeNextBackoffDelay:r=>Math.floor(Math.min(dO.MAXIMUM_RETRY_DELAY,Math.random()*2**r*e)),setDelayBase:r=>{e=r}}};Sm.getDefaultRetryBackoffStrategy=HW});var uO=m(Em=>{"use strict";Object.defineProperty(Em,"__esModule",{value:!0});Em.createDefaultRetryToken=void 0;var $W=Ko(),KW=({retryDelay:e,retryCount:n,retryCost:t})=>({getRetryCount:()=>n,getRetryDelay:()=>Math.min($W.MAXIMUM_RETRY_DELAY,e),getRetryCost:()=>t});Em.createDefaultRetryToken=KW});var Pm=m(bm=>{"use strict";Object.defineProperty(bm,"__esModule",{value:!0});bm.StandardRetryStrategy=void 0;var rh=hm(),ur=Ko(),VW=lO(),mO=uO(),oh=class{constructor(n){this.maxAttempts=n,this.mode=rh.RETRY_MODES.STANDARD,this.capacity=ur.INITIAL_RETRY_TOKENS,this.retryBackoffStrategy=(0,VW.getDefaultRetryBackoffStrategy)(),this.maxAttemptsProvider=typeof n=="function"?n:async()=>n}async acquireInitialRetryToken(n){return(0,mO.createDefaultRetryToken)({retryDelay:ur.DEFAULT_RETRY_DELAY_BASE,retryCount:0})}async refreshRetryTokenForRetry(n,t){let r=await this.getMaxAttempts();if(this.shouldRetry(n,t,r)){let o=t.errorType;this.retryBackoffStrategy.setDelayBase(o==="THROTTLING"?ur.THROTTLING_RETRY_DELAY_BASE:ur.DEFAULT_RETRY_DELAY_BASE);let s=this.retryBackoffStrategy.computeNextBackoffDelay(n.getRetryCount()),a=t.retryAfterHint?Math.max(t.retryAfterHint.getTime()-Date.now()||0,s):s,i=this.getCapacityCost(o);return this.capacity-=i,(0,mO.createDefaultRetryToken)({retryDelay:a,retryCount:n.getRetryCount()+1,retryCost:i})}throw new Error("No retry token available")}recordSuccess(n){var t;this.capacity=Math.max(ur.INITIAL_RETRY_TOKENS,this.capacity+((t=n.getRetryCost())!==null&&t!==void 0?t:ur.NO_RETRY_INCREMENT))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch{return console.warn(`Max attempts provider could not resolve. Using default of ${rh.DEFAULT_MAX_ATTEMPTS}`),rh.DEFAULT_MAX_ATTEMPTS}}shouldRetry(n,t,r){return n.getRetryCount()+1=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(n){return n==="TRANSIENT"?ur.TIMEOUT_RETRY_COST:ur.RETRY_COST}isRetryableError(n){return n==="THROTTLING"||n==="TRANSIENT"}};bm.StandardRetryStrategy=oh});var pO=m(vm=>{"use strict";Object.defineProperty(vm,"__esModule",{value:!0});vm.AdaptiveRetryStrategy=void 0;var XW=hm(),WW=nh(),YW=Pm(),sh=class{constructor(n,t){this.maxAttemptsProvider=n,this.mode=XW.RETRY_MODES.ADAPTIVE;let{rateLimiter:r}=t??{};this.rateLimiter=r??new WW.DefaultRateLimiter,this.standardRetryStrategy=new YW.StandardRetryStrategy(n)}async acquireInitialRetryToken(n){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(n)}async refreshRetryTokenForRetry(n,t){return this.rateLimiter.updateClientSendingRate(t),this.standardRetryStrategy.refreshRetryTokenForRetry(n,t)}recordSuccess(n){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(n)}};vm.AdaptiveRetryStrategy=sh});var fO=m(xm=>{"use strict";Object.defineProperty(xm,"__esModule",{value:!0});xm.ConfiguredRetryStrategy=void 0;var QW=Ko(),JW=Pm(),ih=class extends JW.StandardRetryStrategy{constructor(n,t=QW.DEFAULT_RETRY_DELAY_BASE){super(typeof n=="function"?n:async()=>n),typeof t=="number"?this.computeNextBackoffDelay=()=>t:this.computeNextBackoffDelay=t}async refreshRetryTokenForRetry(n,t){let r=await super.refreshRetryTokenForRetry(n,t);return r.getRetryDelay=()=>this.computeNextBackoffDelay(r.getRetryCount()),r}};xm.ConfiguredRetryStrategy=ih});var _O=m(yO=>{"use strict";Object.defineProperty(yO,"__esModule",{value:!0})});var Rt=m(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});var no=(z(),j(U));no.__exportStar(pO(),Rn);no.__exportStar(fO(),Rn);no.__exportStar(nh(),Rn);no.__exportStar(Pm(),Rn);no.__exportStar(hm(),Rn);no.__exportStar(Ko(),Rn);no.__exportStar(_O(),Rn)});function Sc(){return wm>km.length-16&&(gO.default.randomFillSync(km),wm=0),km.slice(wm,wm+=16)}var gO,km,wm,ah=Ge(()=>{gO=Ta(require("crypto")),km=new Uint8Array(256),wm=km.length});var hO,CO=Ge(()=>{hO=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i});function ZW(e){return typeof e=="string"&&hO.test(e)}var mr,Ec=Ge(()=>{CO();mr=ZW});function e4(e,n=0){let t=(Ye[e[n+0]]+Ye[e[n+1]]+Ye[e[n+2]]+Ye[e[n+3]]+"-"+Ye[e[n+4]]+Ye[e[n+5]]+"-"+Ye[e[n+6]]+Ye[e[n+7]]+"-"+Ye[e[n+8]]+Ye[e[n+9]]+"-"+Ye[e[n+10]]+Ye[e[n+11]]+Ye[e[n+12]]+Ye[e[n+13]]+Ye[e[n+14]]+Ye[e[n+15]]).toLowerCase();if(!mr(t))throw TypeError("Stringified UUID is invalid");return t}var Ye,pr,bc=Ge(()=>{Ec();Ye=[];for(let e=0;e<256;++e)Ye.push((e+256).toString(16).substr(1));pr=e4});function t4(e,n,t){let r=n&&t||0,o=n||new Array(16);e=e||{};let s=e.node||SO,a=e.clockseq!==void 0?e.clockseq:ch;if(s==null||a==null){let _=e.random||(e.rng||Sc)();s==null&&(s=SO=[_[0]|1,_[1],_[2],_[3],_[4],_[5]]),a==null&&(a=ch=(_[6]<<8|_[7])&16383)}let i=e.msecs!==void 0?e.msecs:Date.now(),u=e.nsecs!==void 0?e.nsecs:lh+1,l=i-dh+(u-lh)/1e4;if(l<0&&e.clockseq===void 0&&(a=a+1&16383),(l<0||i>dh)&&e.nsecs===void 0&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");dh=i,lh=u,ch=a,i+=122192928e5;let c=((i&268435455)*1e4+u)%4294967296;o[r++]=c>>>24&255,o[r++]=c>>>16&255,o[r++]=c>>>8&255,o[r++]=c&255;let y=i/4294967296*1e4&268435455;o[r++]=y>>>8&255,o[r++]=y&255,o[r++]=y>>>24&15|16,o[r++]=y>>>16&255,o[r++]=a>>>8|128,o[r++]=a&255;for(let _=0;_<6;++_)o[r+_]=s[_];return n||pr(o)}var SO,ch,dh,lh,EO,bO=Ge(()=>{ah();bc();dh=0,lh=0;EO=t4});function n4(e){if(!mr(e))throw TypeError("Invalid UUID");let n,t=new Uint8Array(16);return t[0]=(n=parseInt(e.slice(0,8),16))>>>24,t[1]=n>>>16&255,t[2]=n>>>8&255,t[3]=n&255,t[4]=(n=parseInt(e.slice(9,13),16))>>>8,t[5]=n&255,t[6]=(n=parseInt(e.slice(14,18),16))>>>8,t[7]=n&255,t[8]=(n=parseInt(e.slice(19,23),16))>>>8,t[9]=n&255,t[10]=(n=parseInt(e.slice(24,36),16))/1099511627776&255,t[11]=n/4294967296&255,t[12]=n>>>24&255,t[13]=n>>>16&255,t[14]=n>>>8&255,t[15]=n&255,t}var Am,uh=Ge(()=>{Ec();Am=n4});function r4(e){e=unescape(encodeURIComponent(e));let n=[];for(let t=0;t{bc();uh();o4="6ba7b810-9dad-11d1-80b4-00c04fd430c8",s4="6ba7b811-9dad-11d1-80b4-00c04fd430c8"});function i4(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),PO.default.createHash("md5").update(e).digest()}var PO,vO,xO=Ge(()=>{PO=Ta(require("crypto"));vO=i4});var a4,wO,kO=Ge(()=>{mh();xO();a4=Im("v3",48,vO),wO=a4});function c4(e,n,t){e=e||{};let r=e.random||(e.rng||Sc)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,n){t=t||0;for(let o=0;o<16;++o)n[t+o]=r[o];return n}return pr(r)}var AO,IO=Ge(()=>{ah();bc();AO=c4});function d4(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),RO.default.createHash("sha1").update(e).digest()}var RO,NO,OO=Ge(()=>{RO=Ta(require("crypto"));NO=d4});var l4,TO,qO=Ge(()=>{mh();OO();l4=Im("v5",80,NO),TO=l4});var BO,MO=Ge(()=>{BO="00000000-0000-0000-0000-000000000000"});function u4(e){if(!mr(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var DO,FO=Ge(()=>{Ec();DO=u4});var ph={};Oa(ph,{NIL:()=>BO,parse:()=>Am,stringify:()=>pr,v1:()=>EO,v3:()=>wO,v4:()=>AO,v5:()=>TO,validate:()=>mr,version:()=>DO});var fh=Ge(()=>{bO();kO();IO();qO();MO();FO();Ec();bc();uh()});var LO=m(Rm=>{"use strict";Object.defineProperty(Rm,"__esModule",{value:!0});Rm.getDefaultRetryQuota=void 0;var yh=Rt(),m4=(e,n)=>{var t,r,o;let s=e,a=(t=n==null?void 0:n.noRetryIncrement)!==null&&t!==void 0?t:yh.NO_RETRY_INCREMENT,i=(r=n==null?void 0:n.retryCost)!==null&&r!==void 0?r:yh.RETRY_COST,u=(o=n==null?void 0:n.timeoutRetryCost)!==null&&o!==void 0?o:yh.TIMEOUT_RETRY_COST,l=e,c=b=>b.name==="TimeoutError"?u:i,y=b=>c(b)<=l;return Object.freeze({hasRetryTokens:y,retrieveRetryTokens:b=>{if(!y(b))throw new Error("No retry token available");let B=c(b);return l-=B,B},releaseRetryTokens:b=>{l+=b??a,l=Math.min(l,s)}})};Rm.getDefaultRetryQuota=m4});var _h=m(Nm=>{"use strict";Object.defineProperty(Nm,"__esModule",{value:!0});Nm.defaultDelayDecider=void 0;var p4=Rt(),f4=(e,n)=>Math.floor(Math.min(p4.MAXIMUM_RETRY_DELAY,Math.random()*2**n*e));Nm.defaultDelayDecider=f4});var gh=m(Tm=>{"use strict";Object.defineProperty(Tm,"__esModule",{value:!0});Tm.defaultRetryDecider=void 0;var Om=Cc(),y4=e=>e?(0,Om.isRetryableByTrait)(e)||(0,Om.isClockSkewError)(e)||(0,Om.isThrottlingError)(e)||(0,Om.isTransientError)(e):!1;Tm.defaultRetryDecider=y4});var hh=m(qm=>{"use strict";Object.defineProperty(qm,"__esModule",{value:!0});qm.asSdkError=void 0;var _4=e=>e instanceof Error?e:e instanceof Object?Object.assign(new Error,e):typeof e=="string"?new Error(e):new Error(`AWS SDK error wrapper for ${e}`);qm.asSdkError=_4});var Eh=m(Bm=>{"use strict";Object.defineProperty(Bm,"__esModule",{value:!0});Bm.StandardRetryStrategy=void 0;var Ch=we(),g4=Cc(),ro=Rt(),h4=(fh(),j(ph)),C4=LO(),S4=_h(),E4=gh(),b4=hh(),Sh=class{constructor(n,t){var r,o,s;this.maxAttemptsProvider=n,this.mode=ro.RETRY_MODES.STANDARD,this.retryDecider=(r=t==null?void 0:t.retryDecider)!==null&&r!==void 0?r:E4.defaultRetryDecider,this.delayDecider=(o=t==null?void 0:t.delayDecider)!==null&&o!==void 0?o:S4.defaultDelayDecider,this.retryQuota=(s=t==null?void 0:t.retryQuota)!==null&&s!==void 0?s:(0,C4.getDefaultRetryQuota)(ro.INITIAL_RETRY_TOKENS)}shouldRetry(n,t,r){return tsetTimeout(b,C));continue}throw c.$metadata||(c.$metadata={}),c.$metadata.attempts=s,c.$metadata.totalRetryDelay=a,c}}};Bm.StandardRetryStrategy=Sh;var P4=e=>{if(!Ch.HttpResponse.isInstance(e))return;let n=Object.keys(e.headers).find(s=>s.toLowerCase()==="retry-after");if(!n)return;let t=e.headers[n],r=Number(t);return Number.isNaN(r)?new Date(t).getTime()-Date.now():r*1e3}});var UO=m(Mm=>{"use strict";Object.defineProperty(Mm,"__esModule",{value:!0});Mm.AdaptiveRetryStrategy=void 0;var jO=Rt(),v4=Eh(),bh=class extends v4.StandardRetryStrategy{constructor(n,t){let{rateLimiter:r,...o}=t??{};super(n,o),this.rateLimiter=r??new jO.DefaultRateLimiter,this.mode=jO.RETRY_MODES.ADAPTIVE}async retry(n,t){return super.retry(n,t,{beforeRequest:async()=>this.rateLimiter.getSendToken(),afterRequest:r=>{this.rateLimiter.updateClientSendingRate(r)}})}};Mm.AdaptiveRetryStrategy=bh});var GO=m(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});Oe.NODE_RETRY_MODE_CONFIG_OPTIONS=Oe.CONFIG_RETRY_MODE=Oe.ENV_RETRY_MODE=Oe.resolveRetryConfig=Oe.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=Oe.CONFIG_MAX_ATTEMPTS=Oe.ENV_MAX_ATTEMPTS=void 0;var zO=Hr(),Vo=Rt();Oe.ENV_MAX_ATTEMPTS="AWS_MAX_ATTEMPTS";Oe.CONFIG_MAX_ATTEMPTS="max_attempts";Oe.NODE_MAX_ATTEMPT_CONFIG_OPTIONS={environmentVariableSelector:e=>{let n=e[Oe.ENV_MAX_ATTEMPTS];if(!n)return;let t=parseInt(n);if(Number.isNaN(t))throw new Error(`Environment variable ${Oe.ENV_MAX_ATTEMPTS} mast be a number, got "${n}"`);return t},configFileSelector:e=>{let n=e[Oe.CONFIG_MAX_ATTEMPTS];if(!n)return;let t=parseInt(n);if(Number.isNaN(t))throw new Error(`Shared config file entry ${Oe.CONFIG_MAX_ATTEMPTS} mast be a number, got "${n}"`);return t},default:Vo.DEFAULT_MAX_ATTEMPTS};var x4=e=>{var n;let{retryStrategy:t}=e,r=(0,zO.normalizeProvider)((n=e.maxAttempts)!==null&&n!==void 0?n:Vo.DEFAULT_MAX_ATTEMPTS);return{...e,maxAttempts:r,retryStrategy:async()=>t||(await(0,zO.normalizeProvider)(e.retryMode)()===Vo.RETRY_MODES.ADAPTIVE?new Vo.AdaptiveRetryStrategy(r):new Vo.StandardRetryStrategy(r))}};Oe.resolveRetryConfig=x4;Oe.ENV_RETRY_MODE="AWS_RETRY_MODE";Oe.CONFIG_RETRY_MODE="retry_mode";Oe.NODE_RETRY_MODE_CONFIG_OPTIONS={environmentVariableSelector:e=>e[Oe.ENV_RETRY_MODE],configFileSelector:e=>e[Oe.CONFIG_RETRY_MODE],default:Vo.DEFAULT_RETRY_MODE}});var $O=m(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.getOmitRetryHeadersPlugin=tn.omitRetryHeadersMiddlewareOptions=tn.omitRetryHeadersMiddleware=void 0;var w4=we(),HO=Rt(),k4=()=>e=>async n=>{let{request:t}=n;return w4.HttpRequest.isInstance(t)&&(delete t.headers[HO.INVOCATION_ID_HEADER],delete t.headers[HO.REQUEST_HEADER]),e(n)};tn.omitRetryHeadersMiddleware=k4;tn.omitRetryHeadersMiddlewareOptions={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0};var A4=e=>({applyToStack:n=>{n.addRelativeTo((0,tn.omitRetryHeadersMiddleware)(),tn.omitRetryHeadersMiddlewareOptions)}});tn.getOmitRetryHeadersPlugin=A4});var VO=m(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct.getRetryAfterHint=Ct.getRetryPlugin=Ct.retryMiddlewareOptions=Ct.retryMiddleware=void 0;var vh=we(),Ph=Cc(),KO=Rt(),I4=(fh(),j(ph)),R4=hh(),N4=e=>(n,t)=>async r=>{let o=await e.retryStrategy(),s=await e.maxAttempts();if(O4(o)){o=o;let a=await o.acquireInitialRetryToken(t.partition_id),i=new Error,u=0,l=0,{request:c}=r;for(vh.HttpRequest.isInstance(c)&&(c.headers[KO.INVOCATION_ID_HEADER]=(0,I4.v4)());;)try{vh.HttpRequest.isInstance(c)&&(c.headers[KO.REQUEST_HEADER]=`attempt=${u+1}; max=${s}`);let{response:y,output:_}=await n(r);return o.recordSuccess(a),_.$metadata.attempts=u+1,_.$metadata.totalRetryDelay=l,{response:y,output:_}}catch(y){let _=T4(y);i=(0,R4.asSdkError)(y);try{a=await o.refreshRetryTokenForRetry(a,_)}catch{throw i.$metadata||(i.$metadata={}),i.$metadata.attempts=u+1,i.$metadata.totalRetryDelay=l,i}u=a.getRetryCount();let C=a.getRetryDelay();l+=C,await new Promise(b=>setTimeout(b,C))}}else return o=o,o!=null&&o.mode&&(t.userAgent=[...t.userAgent||[],["cfg/retry-mode",o.mode]]),o.retry(n,r)};Ct.retryMiddleware=N4;var O4=e=>typeof e.acquireInitialRetryToken<"u"&&typeof e.refreshRetryTokenForRetry<"u"&&typeof e.recordSuccess<"u",T4=e=>{let n={errorType:q4(e)},t=(0,Ct.getRetryAfterHint)(e.$response);return t&&(n.retryAfterHint=t),n},q4=e=>(0,Ph.isThrottlingError)(e)?"THROTTLING":(0,Ph.isTransientError)(e)?"TRANSIENT":(0,Ph.isServerError)(e)?"SERVER_ERROR":"CLIENT_ERROR";Ct.retryMiddlewareOptions={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};var B4=e=>({applyToStack:n=>{n.add((0,Ct.retryMiddleware)(e),Ct.retryMiddlewareOptions)}});Ct.getRetryPlugin=B4;var M4=e=>{if(!vh.HttpResponse.isInstance(e))return;let n=Object.keys(e.headers).find(s=>s.toLowerCase()==="retry-after");if(!n)return;let t=e.headers[n],r=Number(t);return Number.isNaN(r)?new Date(t):new Date(r*1e3)};Ct.getRetryAfterHint=M4});var On=m(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});var oo=(z(),j(U));oo.__exportStar(UO(),Nn);oo.__exportStar(Eh(),Nn);oo.__exportStar(GO(),Nn);oo.__exportStar(_h(),Nn);oo.__exportStar($O(),Nn);oo.__exportStar(gh(),Nn);oo.__exportStar(VO(),Nn)});var XO=m(Dm=>{"use strict";Object.defineProperty(Dm,"__esModule",{value:!0});Dm.resolveClientEndpointParameters=void 0;var D4=e=>({...e,useFipsEndpoint:e.useFipsEndpoint??!1,useDualstackEndpoint:e.useDualstackEndpoint??!1,forcePathStyle:e.forcePathStyle??!1,useAccelerateEndpoint:e.useAccelerateEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,disableMultiregionAccessPoints:e.disableMultiregionAccessPoints??!1,defaultSigningName:"s3"});Dm.resolveClientEndpointParameters=D4});var WO=m((gRe,F4)=>{F4.exports={name:"@aws-sdk/client-s3",description:"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",version:"3.421.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo s3",test:"yarn test:unit","test:e2e":"ts-mocha test/**/*.ispec.ts && karma start karma.conf.js","test:unit":"ts-mocha test/**/*.spec.ts"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha1-browser":"3.0.0","@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/client-sts":"3.421.0","@aws-sdk/credential-provider-node":"3.421.0","@aws-sdk/middleware-bucket-endpoint":"3.418.0","@aws-sdk/middleware-expect-continue":"3.418.0","@aws-sdk/middleware-flexible-checksums":"3.418.0","@aws-sdk/middleware-host-header":"3.418.0","@aws-sdk/middleware-location-constraint":"3.418.0","@aws-sdk/middleware-logger":"3.418.0","@aws-sdk/middleware-recursion-detection":"3.418.0","@aws-sdk/middleware-sdk-s3":"3.418.0","@aws-sdk/middleware-signing":"3.418.0","@aws-sdk/middleware-ssec":"3.418.0","@aws-sdk/middleware-user-agent":"3.418.0","@aws-sdk/region-config-resolver":"3.418.0","@aws-sdk/signature-v4-multi-region":"3.418.0","@aws-sdk/types":"3.418.0","@aws-sdk/util-endpoints":"3.418.0","@aws-sdk/util-user-agent-browser":"3.418.0","@aws-sdk/util-user-agent-node":"3.418.0","@aws-sdk/xml-builder":"3.310.0","@smithy/config-resolver":"^2.0.10","@smithy/eventstream-serde-browser":"^2.0.9","@smithy/eventstream-serde-config-resolver":"^2.0.9","@smithy/eventstream-serde-node":"^2.0.9","@smithy/fetch-http-handler":"^2.1.5","@smithy/hash-blob-browser":"^2.0.9","@smithy/hash-node":"^2.0.9","@smithy/hash-stream-node":"^2.0.9","@smithy/invalid-dependency":"^2.0.9","@smithy/md5-js":"^2.0.9","@smithy/middleware-content-length":"^2.0.11","@smithy/middleware-endpoint":"^2.0.9","@smithy/middleware-retry":"^2.0.12","@smithy/middleware-serde":"^2.0.9","@smithy/middleware-stack":"^2.0.2","@smithy/node-config-provider":"^2.0.12","@smithy/node-http-handler":"^2.1.5","@smithy/protocol-http":"^3.0.5","@smithy/smithy-client":"^2.1.6","@smithy/types":"^2.3.3","@smithy/url-parser":"^2.0.9","@smithy/util-base64":"^2.0.0","@smithy/util-body-length-browser":"^2.0.0","@smithy/util-body-length-node":"^2.1.0","@smithy/util-defaults-mode-browser":"^2.0.10","@smithy/util-defaults-mode-node":"^2.0.12","@smithy/util-retry":"^2.0.2","@smithy/util-stream":"^2.0.12","@smithy/util-utf8":"^2.0.0","@smithy/util-waiter":"^2.0.9","fast-xml-parser":"4.2.5",tslib:"^2.5.0"},devDependencies:{"@smithy/service-client-documentation-generator":"^2.0.0","@tsconfig/node14":"1.0.3","@types/chai":"^4.2.11","@types/mocha":"^8.0.4","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-s3"}}});var YO=m(Fm=>{"use strict";Object.defineProperty(Fm,"__esModule",{value:!0});Fm.resolveStsAuthConfig=void 0;var L4=wn(),j4=(e,{stsClientCtor:n})=>(0,L4.resolveAwsAuthConfig)({...e,stsClientCtor:n});Fm.resolveStsAuthConfig=j4});var QO=m(Lm=>{"use strict";Object.defineProperty(Lm,"__esModule",{value:!0});Lm.resolveClientEndpointParameters=void 0;var U4=e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,defaultSigningName:"sts"});Lm.resolveClientEndpointParameters=U4});var JO=m((SRe,z4)=>{z4.exports={name:"@aws-sdk/client-sts",description:"AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",version:"3.421.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sts",test:"yarn test:unit","test:unit":"jest"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/credential-provider-node":"3.421.0","@aws-sdk/middleware-host-header":"3.418.0","@aws-sdk/middleware-logger":"3.418.0","@aws-sdk/middleware-recursion-detection":"3.418.0","@aws-sdk/middleware-sdk-sts":"3.418.0","@aws-sdk/middleware-signing":"3.418.0","@aws-sdk/middleware-user-agent":"3.418.0","@aws-sdk/region-config-resolver":"3.418.0","@aws-sdk/types":"3.418.0","@aws-sdk/util-endpoints":"3.418.0","@aws-sdk/util-user-agent-browser":"3.418.0","@aws-sdk/util-user-agent-node":"3.418.0","@smithy/config-resolver":"^2.0.10","@smithy/fetch-http-handler":"^2.1.5","@smithy/hash-node":"^2.0.9","@smithy/invalid-dependency":"^2.0.9","@smithy/middleware-content-length":"^2.0.11","@smithy/middleware-endpoint":"^2.0.9","@smithy/middleware-retry":"^2.0.12","@smithy/middleware-serde":"^2.0.9","@smithy/middleware-stack":"^2.0.2","@smithy/node-config-provider":"^2.0.12","@smithy/node-http-handler":"^2.1.5","@smithy/protocol-http":"^3.0.5","@smithy/smithy-client":"^2.1.6","@smithy/types":"^2.3.3","@smithy/url-parser":"^2.0.9","@smithy/util-base64":"^2.0.0","@smithy/util-body-length-browser":"^2.0.0","@smithy/util-body-length-node":"^2.1.0","@smithy/util-defaults-mode-browser":"^2.0.10","@smithy/util-defaults-mode-node":"^2.0.12","@smithy/util-retry":"^2.0.2","@smithy/util-utf8":"^2.0.0","fast-xml-parser":"4.2.5",tslib:"^2.5.0"},devDependencies:{"@smithy/service-client-documentation-generator":"^2.0.0","@tsconfig/node14":"1.0.3","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},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"}}});var jm=m(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.STSServiceException=Xo.__ServiceException=void 0;var ZO=E();Object.defineProperty(Xo,"__ServiceException",{enumerable:!0,get:function(){return ZO.ServiceException}});var xh=class e extends ZO.ServiceException{constructor(n){super(n),Object.setPrototypeOf(this,e.prototype)}};Xo.STSServiceException=xh});var yr=m(ce=>{"use strict";Object.defineProperty(ce,"__esModule",{value:!0});ce.GetSessionTokenResponseFilterSensitiveLog=ce.GetFederationTokenResponseFilterSensitiveLog=ce.AssumeRoleWithWebIdentityResponseFilterSensitiveLog=ce.AssumeRoleWithWebIdentityRequestFilterSensitiveLog=ce.AssumeRoleWithSAMLResponseFilterSensitiveLog=ce.AssumeRoleWithSAMLRequestFilterSensitiveLog=ce.AssumeRoleResponseFilterSensitiveLog=ce.CredentialsFilterSensitiveLog=ce.InvalidAuthorizationMessageException=ce.IDPCommunicationErrorException=ce.InvalidIdentityTokenException=ce.IDPRejectedClaimException=ce.RegionDisabledException=ce.PackedPolicyTooLargeException=ce.MalformedPolicyDocumentException=ce.ExpiredTokenException=void 0;var qh=E(),fr=jm(),wh=class e extends fr.STSServiceException{constructor(n){super({name:"ExpiredTokenException",$fault:"client",...n}),this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ce.ExpiredTokenException=wh;var kh=class e extends fr.STSServiceException{constructor(n){super({name:"MalformedPolicyDocumentException",$fault:"client",...n}),this.name="MalformedPolicyDocumentException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ce.MalformedPolicyDocumentException=kh;var Ah=class e extends fr.STSServiceException{constructor(n){super({name:"PackedPolicyTooLargeException",$fault:"client",...n}),this.name="PackedPolicyTooLargeException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ce.PackedPolicyTooLargeException=Ah;var Ih=class e extends fr.STSServiceException{constructor(n){super({name:"RegionDisabledException",$fault:"client",...n}),this.name="RegionDisabledException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ce.RegionDisabledException=Ih;var Rh=class e extends fr.STSServiceException{constructor(n){super({name:"IDPRejectedClaimException",$fault:"client",...n}),this.name="IDPRejectedClaimException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ce.IDPRejectedClaimException=Rh;var Nh=class e extends fr.STSServiceException{constructor(n){super({name:"InvalidIdentityTokenException",$fault:"client",...n}),this.name="InvalidIdentityTokenException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ce.InvalidIdentityTokenException=Nh;var Oh=class e extends fr.STSServiceException{constructor(n){super({name:"IDPCommunicationErrorException",$fault:"client",...n}),this.name="IDPCommunicationErrorException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ce.IDPCommunicationErrorException=Oh;var Th=class e extends fr.STSServiceException{constructor(n){super({name:"InvalidAuthorizationMessageException",$fault:"client",...n}),this.name="InvalidAuthorizationMessageException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ce.InvalidAuthorizationMessageException=Th;var G4=e=>({...e,...e.SecretAccessKey&&{SecretAccessKey:qh.SENSITIVE_STRING}});ce.CredentialsFilterSensitiveLog=G4;var H4=e=>({...e,...e.Credentials&&{Credentials:(0,ce.CredentialsFilterSensitiveLog)(e.Credentials)}});ce.AssumeRoleResponseFilterSensitiveLog=H4;var $4=e=>({...e,...e.SAMLAssertion&&{SAMLAssertion:qh.SENSITIVE_STRING}});ce.AssumeRoleWithSAMLRequestFilterSensitiveLog=$4;var K4=e=>({...e,...e.Credentials&&{Credentials:(0,ce.CredentialsFilterSensitiveLog)(e.Credentials)}});ce.AssumeRoleWithSAMLResponseFilterSensitiveLog=K4;var V4=e=>({...e,...e.WebIdentityToken&&{WebIdentityToken:qh.SENSITIVE_STRING}});ce.AssumeRoleWithWebIdentityRequestFilterSensitiveLog=V4;var X4=e=>({...e,...e.Credentials&&{Credentials:(0,ce.CredentialsFilterSensitiveLog)(e.Credentials)}});ce.AssumeRoleWithWebIdentityResponseFilterSensitiveLog=X4;var W4=e=>({...e,...e.Credentials&&{Credentials:(0,ce.CredentialsFilterSensitiveLog)(e.Credentials)}});ce.GetFederationTokenResponseFilterSensitiveLog=W4;var Y4=e=>({...e,...e.Credentials&&{Credentials:(0,ce.CredentialsFilterSensitiveLog)(e.Credentials)}});ce.GetSessionTokenResponseFilterSensitiveLog=Y4});var Um=m(Tn=>{"use strict";var eT=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Q4=eT+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",tT="["+eT+"]["+Q4+"]*",J4=new RegExp("^"+tT+"$"),Z4=function(e,n){let t=[],r=n.exec(e);for(;r;){let o=[];o.startIndex=n.lastIndex-r[0].length;let s=r.length;for(let a=0;a"u")};Tn.isExist=function(e){return typeof e<"u"};Tn.isEmptyObject=function(e){return Object.keys(e).length===0};Tn.merge=function(e,n,t){if(n){let r=Object.keys(n),o=r.length;for(let s=0;s{"use strict";var Bh=Um(),t5={allowBooleanAttributes:!1,unpairedTags:[]};iT.validate=function(e,n){n=Object.assign({},t5,n);let t=[],r=!1,o=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let s=0;s"&&e[s]!==" "&&e[s]!==" "&&e[s]!==` +`&&e[s]!=="\r";s++)u+=e[s];if(u=u.trim(),u[u.length-1]==="/"&&(u=u.substring(0,u.length-1),s--),!d5(u)){let y;return u.trim().length===0?y="Invalid space after '<'.":y="Tag '"+u+"' is an invalid name.",Le("InvalidTag",y,pt(e,s))}let l=o5(e,s);if(l===!1)return Le("InvalidAttr","Attributes for '"+u+"' have open quote.",pt(e,s));let c=l.value;if(s=l.index,c[c.length-1]==="/"){let y=s-c.length;c=c.substring(0,c.length-1);let _=sT(c,n);if(_===!0)r=!0;else return Le(_.err.code,_.err.msg,pt(e,y+_.err.line))}else if(i)if(l.tagClosed){if(c.trim().length>0)return Le("InvalidTag","Closing tag '"+u+"' can't have attributes or invalid starting.",pt(e,a));{let y=t.pop();if(u!==y.tagName){let _=pt(e,y.tagStartPos);return Le("InvalidTag","Expected closing tag '"+y.tagName+"' (opened in line "+_.line+", col "+_.col+") instead of closing tag '"+u+"'.",pt(e,a))}t.length==0&&(o=!0)}}else return Le("InvalidTag","Closing tag '"+u+"' doesn't have proper closing.",pt(e,s));else{let y=sT(c,n);if(y!==!0)return Le(y.err.code,y.err.msg,pt(e,s-c.length+y.err.line));if(o===!0)return Le("InvalidXml","Multiple possible root nodes found.",pt(e,s));n.unpairedTags.indexOf(u)!==-1||t.push({tagName:u,tagStartPos:a}),r=!0}for(s++;s0)return Le("InvalidXml","Invalid '"+JSON.stringify(t.map(s=>s.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return Le("InvalidXml","Start tag expected.",1);return!0};function nT(e){return e===" "||e===" "||e===` +`||e==="\r"}function rT(e,n){let t=n;for(;n5&&r==="xml")return Le("InvalidXml","XML declaration allowed only at the start of the document.",pt(e,n));if(e[n]=="?"&&e[n+1]==">"){n++;break}else continue}return n}function oT(e,n){if(e.length>n+5&&e[n+1]==="-"&&e[n+2]==="-"){for(n+=3;n"){n+=2;break}}else if(e.length>n+8&&e[n+1]==="D"&&e[n+2]==="O"&&e[n+3]==="C"&&e[n+4]==="T"&&e[n+5]==="Y"&&e[n+6]==="P"&&e[n+7]==="E"){let t=1;for(n+=8;n"&&(t--,t===0))break}else if(e.length>n+9&&e[n+1]==="["&&e[n+2]==="C"&&e[n+3]==="D"&&e[n+4]==="A"&&e[n+5]==="T"&&e[n+6]==="A"&&e[n+7]==="["){for(n+=8;n"){n+=2;break}}return n}var n5='"',r5="'";function o5(e,n){let t="",r="",o=!1;for(;n"&&r===""){o=!0;break}t+=e[n]}return r!==""?!1:{value:t,index:n,tagClosed:o}}var s5=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function sT(e,n){let t=Bh.getAllMatches(e,s5),r={};for(let o=0;o{var aT={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,n){return n},attributeValueProcessor:function(e,n){return n},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,n,t){return e}},l5=function(e){return Object.assign({},aT,e)};Dh.buildOptions=l5;Dh.defaultOptions=aT});var lT=m((wRe,dT)=>{"use strict";var Fh=class{constructor(n){this.tagname=n,this.child=[],this[":@"]={}}add(n,t){n==="__proto__"&&(n="#__proto__"),this.child.push({[n]:t})}addChild(n){n.tagname==="__proto__"&&(n.tagname="#__proto__"),n[":@"]&&Object.keys(n[":@"]).length>0?this.child.push({[n.tagname]:n.child,":@":n[":@"]}):this.child.push({[n.tagname]:n.child})}};dT.exports=Fh});var mT=m((kRe,uT)=>{var u5=Um();function m5(e,n){let t={};if(e[n+3]==="O"&&e[n+4]==="C"&&e[n+5]==="T"&&e[n+6]==="Y"&&e[n+7]==="P"&&e[n+8]==="E"){n=n+9;let r=1,o=!1,s=!1,a="";for(;n"){if(s?e[n-1]==="-"&&e[n-2]==="-"&&(s=!1,r--):r--,r===0)break}else e[n]==="["?o=!0:a+=e[n];if(r!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:t,i:n}}function p5(e,n){let t="";for(;n{var S5=/^[-+]?0x[a-fA-F0-9]+$/,E5=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var b5={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function P5(e,n={}){if(n=Object.assign({},b5,n),!e||typeof e!="string")return e;let t=e.trim();if(n.skipLike!==void 0&&n.skipLike.test(t))return e;if(n.hex&&S5.test(t))return Number.parseInt(t,16);{let r=E5.exec(t);if(r){let o=r[1],s=r[2],a=v5(r[3]),i=r[4]||r[6];if(!n.leadingZeros&&s.length>0&&o&&t[2]!==".")return e;if(!n.leadingZeros&&s.length>0&&!o&&t[1]!==".")return e;{let u=Number(t),l=""+u;return l.search(/[eE]/)!==-1||i?n.eNotation?u:e:t.indexOf(".")!==-1?l==="0"&&a===""||l===a||o&&l==="-"+a?u:e:s?a===l||o+a===l?u:e:t===l||t===o+l?u:e}}else return e}}function v5(e){return e&&e.indexOf(".")!==-1&&(e=e.replace(/0+$/,""),e==="."?e="0":e[0]==="."?e="0"+e:e[e.length-1]==="."&&(e=e.substr(0,e.length-1))),e}pT.exports=P5});var _T=m((RRe,yT)=>{"use strict";var zh=Um(),vc=lT(),x5=mT(),w5=fT(),IRe="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,zh.nameRegexp),Lh=class{constructor(n){this.options=n,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"}},this.addExternalEntities=k5,this.parseXml=O5,this.parseTextData=A5,this.resolveNameSpace=I5,this.buildAttributesMap=N5,this.isItStopNode=M5,this.replaceEntitiesValue=q5,this.readStopNodeData=F5,this.saveTextToParentTag=B5,this.addChild=T5}};function k5(e){let n=Object.keys(e);for(let t=0;t0)){a||(e=this.replaceEntitiesValue(e));let i=this.options.tagValueProcessor(n,e,t,o,s);return i==null?e:typeof i!=typeof e||i!==e?i:this.options.trimValues?Uh(e,this.options.parseTagValue,this.options.numberParseOptions):e.trim()===e?Uh(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function I5(e){if(this.options.removeNSPrefix){let n=e.split(":"),t=e.charAt(0)==="/"?"/":"";if(n[0]==="xmlns")return"";n.length===2&&(e=t+n[1])}return e}var R5=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function N5(e,n,t){if(!this.options.ignoreAttributes&&typeof e=="string"){let r=zh.getAllMatches(e,R5),o=r.length,s={};for(let a=0;a",s,"Closing Tag is not closed."),u=e.substring(s+2,i).trim();if(this.options.removeNSPrefix){let y=u.indexOf(":");y!==-1&&(u=u.substr(y+1))}this.options.transformTagName&&(u=this.options.transformTagName(u)),t&&(r=this.saveTextToParentTag(r,t,o));let l=o.substring(o.lastIndexOf(".")+1);if(u&&this.options.unpairedTags.indexOf(u)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let c=0;l&&this.options.unpairedTags.indexOf(l)!==-1?(c=o.lastIndexOf(".",o.lastIndexOf(".")-1),this.tagsNodeStack.pop()):c=o.lastIndexOf("."),o=o.substring(0,c),t=this.tagsNodeStack.pop(),r="",s=i}else if(e[s+1]==="?"){let i=jh(e,s,!1,"?>");if(!i)throw new Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,t,o),!(this.options.ignoreDeclaration&&i.tagName==="?xml"||this.options.ignorePiTags)){let u=new vc(i.tagName);u.add(this.options.textNodeName,""),i.tagName!==i.tagExp&&i.attrExpPresent&&(u[":@"]=this.buildAttributesMap(i.tagExp,o,i.tagName)),this.addChild(t,u,o)}s=i.closeIndex+1}else if(e.substr(s+1,3)==="!--"){let i=so(e,"-->",s+4,"Comment is not closed.");if(this.options.commentPropName){let u=e.substring(s+4,i-2);r=this.saveTextToParentTag(r,t,o),t.add(this.options.commentPropName,[{[this.options.textNodeName]:u}])}s=i}else if(e.substr(s+1,2)==="!D"){let i=x5(e,s);this.docTypeEntities=i.entities,s=i.i}else if(e.substr(s+1,2)==="!["){let i=so(e,"]]>",s,"CDATA is not closed.")-2,u=e.substring(s+9,i);if(r=this.saveTextToParentTag(r,t,o),this.options.cdataPropName)t.add(this.options.cdataPropName,[{[this.options.textNodeName]:u}]);else{let l=this.parseTextData(u,t.tagname,o,!0,!1,!0);l==null&&(l=""),t.add(this.options.textNodeName,l)}s=i+2}else{let i=jh(e,s,this.options.removeNSPrefix),u=i.tagName,l=i.tagExp,c=i.attrExpPresent,y=i.closeIndex;this.options.transformTagName&&(u=this.options.transformTagName(u)),t&&r&&t.tagname!=="!xml"&&(r=this.saveTextToParentTag(r,t,o,!1));let _=t;if(_&&this.options.unpairedTags.indexOf(_.tagname)!==-1&&(t=this.tagsNodeStack.pop(),o=o.substring(0,o.lastIndexOf("."))),u!==n.tagname&&(o+=o?"."+u:u),this.isItStopNode(this.options.stopNodes,o,u)){let C="";if(l.length>0&&l.lastIndexOf("/")===l.length-1)s=i.closeIndex;else if(this.options.unpairedTags.indexOf(u)!==-1)s=i.closeIndex;else{let B=this.readStopNodeData(e,u,y+1);if(!B)throw new Error(`Unexpected end of ${u}`);s=B.i,C=B.tagContent}let b=new vc(u);u!==l&&c&&(b[":@"]=this.buildAttributesMap(l,o,u)),C&&(C=this.parseTextData(C,u,o,!0,c,!0,!0)),o=o.substr(0,o.lastIndexOf(".")),b.add(this.options.textNodeName,C),this.addChild(t,b,o)}else{if(l.length>0&&l.lastIndexOf("/")===l.length-1){u[u.length-1]==="/"?(u=u.substr(0,u.length-1),l=u):l=l.substr(0,l.length-1),this.options.transformTagName&&(u=this.options.transformTagName(u));let C=new vc(u);u!==l&&c&&(C[":@"]=this.buildAttributesMap(l,o,u)),this.addChild(t,C,o),o=o.substr(0,o.lastIndexOf("."))}else{let C=new vc(u);this.tagsNodeStack.push(t),u!==l&&c&&(C[":@"]=this.buildAttributesMap(l,o,u)),this.addChild(t,C,o),t=C}r="",s=y}}else r+=e[s];return n.child};function T5(e,n,t){let r=this.options.updateTag(n.tagname,t,n[":@"]);r===!1||(typeof r=="string"&&(n.tagname=r),e.addChild(n))}var q5=function(e){if(this.options.processEntities){for(let n in this.docTypeEntities){let t=this.docTypeEntities[n];e=e.replace(t.regx,t.val)}for(let n in this.lastEntities){let t=this.lastEntities[n];e=e.replace(t.regex,t.val)}if(this.options.htmlEntities)for(let n in this.htmlEntities){let t=this.htmlEntities[n];e=e.replace(t.regex,t.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function B5(e,n,t,r){return e&&(r===void 0&&(r=Object.keys(n.child).length===0),e=this.parseTextData(e,n.tagname,t,!1,n[":@"]?Object.keys(n[":@"]).length!==0:!1,r),e!==void 0&&e!==""&&n.add(this.options.textNodeName,e),e=""),e}function M5(e,n,t){let r="*."+t;for(let o in e){let s=e[o];if(r===s||n===s)return!0}return!1}function D5(e,n,t=">"){let r,o="";for(let s=n;s",t,`${n} is not closed`);if(e.substring(t+2,s).trim()===n&&(o--,o===0))return{tagContent:e.substring(r,t),i:s};t=s}else if(e[t+1]==="?")t=so(e,"?>",t+1,"StopNode is not closed.");else if(e.substr(t+1,3)==="!--")t=so(e,"-->",t+3,"StopNode is not closed.");else if(e.substr(t+1,2)==="![")t=so(e,"]]>",t,"StopNode is not closed.")-2;else{let s=jh(e,t,">");s&&((s&&s.tagName)===n&&s.tagExp[s.tagExp.length-1]!=="/"&&o++,t=s.closeIndex)}}function Uh(e,n,t){if(n&&typeof e=="string"){let r=e.trim();return r==="true"?!0:r==="false"?!1:w5(e,t)}else return zh.isExist(e)?e:""}yT.exports=Lh});var CT=m(hT=>{"use strict";function L5(e,n){return gT(e,n)}function gT(e,n,t){let r,o={};for(let s=0;s0&&(o[n.textNodeName]=r):r!==void 0&&(o[n.textNodeName]=r),o}function j5(e){let n=Object.keys(e);for(let t=0;t{var{buildOptions:G5}=cT(),H5=_T(),{prettify:$5}=CT(),K5=Mh(),Gh=class{constructor(n){this.externalEntities={},this.options=G5(n)}parse(n,t){if(typeof n!="string")if(n.toString)n=n.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(t){t===!0&&(t={});let s=K5.validate(n,t);if(s!==!0)throw Error(`${s.err.msg}:${s.err.line}:${s.err.col}`)}let r=new H5(this.options);r.addExternalEntities(this.externalEntities);let o=r.parseXml(n);return this.options.preserveOrder||o===void 0?o:$5(o,this.options)}addEntity(n,t){if(t.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(n.indexOf("&")!==-1||n.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if(t==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[n]=t}};ST.exports=Gh});var wT=m((TRe,xT)=>{var V5=` +`;function X5(e,n){let t="";return n.format&&n.indentBy.length>0&&(t=V5),PT(e,n,"",t)}function PT(e,n,t,r){let o="",s=!1;for(let a=0;a`,s=!1;continue}else if(u===n.commentPropName){o+=r+``,s=!0;continue}else if(u[0]==="?"){let b=bT(i[":@"],n),B=u==="?xml"?"":r,R=i[u][0][n.textNodeName];R=R.length!==0?" "+R:"",o+=B+`<${u}${R}${b}?>`,s=!0;continue}let c=r;c!==""&&(c+=n.indentBy);let y=bT(i[":@"],n),_=r+`<${u}${y}`,C=PT(i[u],n,l,c);n.unpairedTags.indexOf(u)!==-1?n.suppressUnpairedNode?o+=_+">":o+=_+"/>":(!C||C.length===0)&&n.suppressEmptyNode?o+=_+"/>":C&&C.endsWith(">")?o+=_+`>${C}${r}`:(o+=_+">",C&&r!==""&&(C.includes("/>")||C.includes("`),s=!0}return o}function W5(e){let n=Object.keys(e);for(let t=0;t0&&n.processEntities)for(let t=0;t{"use strict";var Q5=wT(),J5={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,n){return n},attributeValueProcessor:function(e,n){return n},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function _r(e){this.options=Object.assign({},J5,e),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=tY),this.processTextOrObjNode=Z5,this.options.format?(this.indentate=eY,this.tagEndChar=`> +`,this.newLine=` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}_r.prototype.build=function(e){return this.options.preserveOrder?Q5(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0).val)};_r.prototype.j2x=function(e,n){let t="",r="";for(let o in e)if(!(typeof e[o]>"u"))if(e[o]===null)o[0]==="?"?r+=this.indentate(n)+"<"+o+"?"+this.tagEndChar:r+=this.indentate(n)+"<"+o+"/"+this.tagEndChar;else if(e[o]instanceof Date)r+=this.buildTextValNode(e[o],o,"",n);else if(typeof e[o]!="object"){let s=this.isAttribute(o);if(s)t+=this.buildAttrPairStr(s,""+e[o]);else if(o===this.options.textNodeName){let a=this.options.tagValueProcessor(o,""+e[o]);r+=this.replaceEntitiesValue(a)}else r+=this.buildTextValNode(e[o],o,"",n)}else if(Array.isArray(e[o])){let s=e[o].length,a="";for(let i=0;i"u"||(u===null?o[0]==="?"?r+=this.indentate(n)+"<"+o+"?"+this.tagEndChar:r+=this.indentate(n)+"<"+o+"/"+this.tagEndChar:typeof u=="object"?this.options.oneListGroup?a+=this.j2x(u,n+1).val:a+=this.processTextOrObjNode(u,o,n):a+=this.buildTextValNode(u,o,"",n))}this.options.oneListGroup&&(a=this.buildObjectNode(a,o,"",n)),r+=a}else if(this.options.attributesGroupName&&o===this.options.attributesGroupName){let s=Object.keys(e[o]),a=s.length;for(let i=0;i"+e+o:this.options.commentPropName!==!1&&n===this.options.commentPropName&&s.length===0?this.indentate(r)+``+this.newLine:this.indentate(r)+"<"+n+t+s+this.tagEndChar+e+this.indentate(r)+o}};_r.prototype.closeTag=function(e){let n="";return this.options.unpairedTags.indexOf(e)!==-1?this.options.suppressUnpairedNode||(n="/"):this.options.suppressEmptyNode?n="/":n=`>`+this.newLine;if(this.options.commentPropName!==!1&&n===this.options.commentPropName)return this.indentate(r)+``+this.newLine;if(n[0]==="?")return this.indentate(r)+"<"+n+t+"?"+this.tagEndChar;{let o=this.options.tagValueProcessor(n,e);return o=this.replaceEntitiesValue(o),o===""?this.indentate(r)+"<"+n+t+this.closeTag(n)+this.tagEndChar:this.indentate(r)+"<"+n+t+">"+o+"0&&this.options.processEntities)for(let n=0;n{"use strict";var nY=Mh(),rY=ET(),oY=AT();IT.exports={XMLParser:rY,XMLValidator:nY,XMLBuilder:oY}});var Bn=m(ye=>{"use strict";Object.defineProperty(ye,"__esModule",{value:!0});ye.de_GetSessionTokenCommand=ye.de_GetFederationTokenCommand=ye.de_GetCallerIdentityCommand=ye.de_GetAccessKeyInfoCommand=ye.de_DecodeAuthorizationMessageCommand=ye.de_AssumeRoleWithWebIdentityCommand=ye.de_AssumeRoleWithSAMLCommand=ye.de_AssumeRoleCommand=ye.se_GetSessionTokenCommand=ye.se_GetFederationTokenCommand=ye.se_GetCallerIdentityCommand=ye.se_GetAccessKeyInfoCommand=ye.se_DecodeAuthorizationMessageCommand=ye.se_AssumeRoleWithWebIdentityCommand=ye.se_AssumeRoleWithSAMLCommand=ye.se_AssumeRoleCommand=void 0;var sY=we(),ee=E(),iY=Hh(),gr=yr(),aY=jm(),cY=async(e,n)=>{let t=Sr,r;return r=br({...qY(e,n),Action:"AssumeRole",Version:"2011-06-15"}),Cr(n,t,"/",void 0,r)};ye.se_AssumeRoleCommand=cY;var dY=async(e,n)=>{let t=Sr,r;return r=br({...BY(e,n),Action:"AssumeRoleWithSAML",Version:"2011-06-15"}),Cr(n,t,"/",void 0,r)};ye.se_AssumeRoleWithSAMLCommand=dY;var lY=async(e,n)=>{let t=Sr,r;return r=br({...MY(e,n),Action:"AssumeRoleWithWebIdentity",Version:"2011-06-15"}),Cr(n,t,"/",void 0,r)};ye.se_AssumeRoleWithWebIdentityCommand=lY;var uY=async(e,n)=>{let t=Sr,r;return r=br({...DY(e,n),Action:"DecodeAuthorizationMessage",Version:"2011-06-15"}),Cr(n,t,"/",void 0,r)};ye.se_DecodeAuthorizationMessageCommand=uY;var mY=async(e,n)=>{let t=Sr,r;return r=br({...FY(e,n),Action:"GetAccessKeyInfo",Version:"2011-06-15"}),Cr(n,t,"/",void 0,r)};ye.se_GetAccessKeyInfoCommand=mY;var pY=async(e,n)=>{let t=Sr,r;return r=br({...LY(e,n),Action:"GetCallerIdentity",Version:"2011-06-15"}),Cr(n,t,"/",void 0,r)};ye.se_GetCallerIdentityCommand=pY;var fY=async(e,n)=>{let t=Sr,r;return r=br({...jY(e,n),Action:"GetFederationToken",Version:"2011-06-15"}),Cr(n,t,"/",void 0,r)};ye.se_GetFederationTokenCommand=fY;var yY=async(e,n)=>{let t=Sr,r;return r=br({...UY(e,n),Action:"GetSessionToken",Version:"2011-06-15"}),Cr(n,t,"/",void 0,r)};ye.se_GetSessionTokenCommand=yY;var _Y=async(e,n)=>{if(e.statusCode>=300)return gY(e,n);let t=await qn(e.body,n),r={};return r=VY(t.AssumeRoleResult,n),{$metadata:rt(e),...r}};ye.de_AssumeRoleCommand=_Y;var gY=async(e,n)=>{let t={...e,body:await Er(e.body,n)},r=Pr(e,t.body);switch(r){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await $h(t,n);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await zm(t,n);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Gm(t,n);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await xc(t,n);default:let o=t.body;return hr({output:e,parsedBody:o.Error,errorCode:r})}},hY=async(e,n)=>{if(e.statusCode>=300)return CY(e,n);let t=await qn(e.body,n),r={};return r=XY(t.AssumeRoleWithSAMLResult,n),{$metadata:rt(e),...r}};ye.de_AssumeRoleWithSAMLCommand=hY;var CY=async(e,n)=>{let t={...e,body:await Er(e.body,n)},r=Pr(e,t.body);switch(r){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await $h(t,n);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await RT(t,n);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await NT(t,n);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await zm(t,n);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Gm(t,n);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await xc(t,n);default:let o=t.body;return hr({output:e,parsedBody:o.Error,errorCode:r})}},SY=async(e,n)=>{if(e.statusCode>=300)return EY(e,n);let t=await qn(e.body,n),r={};return r=WY(t.AssumeRoleWithWebIdentityResult,n),{$metadata:rt(e),...r}};ye.de_AssumeRoleWithWebIdentityCommand=SY;var EY=async(e,n)=>{let t={...e,body:await Er(e.body,n)},r=Pr(e,t.body);switch(r){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await $h(t,n);case"IDPCommunicationError":case"com.amazonaws.sts#IDPCommunicationErrorException":throw await OY(t,n);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await RT(t,n);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await NT(t,n);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await zm(t,n);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Gm(t,n);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await xc(t,n);default:let o=t.body;return hr({output:e,parsedBody:o.Error,errorCode:r})}},bY=async(e,n)=>{if(e.statusCode>=300)return PY(e,n);let t=await qn(e.body,n),r={};return r=YY(t.DecodeAuthorizationMessageResult,n),{$metadata:rt(e),...r}};ye.de_DecodeAuthorizationMessageCommand=bY;var PY=async(e,n)=>{let t={...e,body:await Er(e.body,n)},r=Pr(e,t.body);switch(r){case"InvalidAuthorizationMessageException":case"com.amazonaws.sts#InvalidAuthorizationMessageException":throw await TY(t,n);default:let o=t.body;return hr({output:e,parsedBody:o.Error,errorCode:r})}},vY=async(e,n)=>{if(e.statusCode>=300)return xY(e,n);let t=await qn(e.body,n),r={};return r=ZY(t.GetAccessKeyInfoResult,n),{$metadata:rt(e),...r}};ye.de_GetAccessKeyInfoCommand=vY;var xY=async(e,n)=>{let t={...e,body:await Er(e.body,n)},r=Pr(e,t.body),o=t.body;return hr({output:e,parsedBody:o.Error,errorCode:r})},wY=async(e,n)=>{if(e.statusCode>=300)return kY(e,n);let t=await qn(e.body,n),r={};return r=e9(t.GetCallerIdentityResult,n),{$metadata:rt(e),...r}};ye.de_GetCallerIdentityCommand=wY;var kY=async(e,n)=>{let t={...e,body:await Er(e.body,n)},r=Pr(e,t.body),o=t.body;return hr({output:e,parsedBody:o.Error,errorCode:r})},AY=async(e,n)=>{if(e.statusCode>=300)return IY(e,n);let t=await qn(e.body,n),r={};return r=t9(t.GetFederationTokenResult,n),{$metadata:rt(e),...r}};ye.de_GetFederationTokenCommand=AY;var IY=async(e,n)=>{let t={...e,body:await Er(e.body,n)},r=Pr(e,t.body);switch(r){case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await zm(t,n);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Gm(t,n);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await xc(t,n);default:let o=t.body;return hr({output:e,parsedBody:o.Error,errorCode:r})}},RY=async(e,n)=>{if(e.statusCode>=300)return NY(e,n);let t=await qn(e.body,n),r={};return r=n9(t.GetSessionTokenResult,n),{$metadata:rt(e),...r}};ye.de_GetSessionTokenCommand=RY;var NY=async(e,n)=>{let t={...e,body:await Er(e.body,n)},r=Pr(e,t.body);switch(r){case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await xc(t,n);default:let o=t.body;return hr({output:e,parsedBody:o.Error,errorCode:r})}},$h=async(e,n)=>{let t=e.body,r=QY(t.Error,n),o=new gr.ExpiredTokenException({$metadata:rt(e),...r});return(0,ee.decorateServiceException)(o,t)},OY=async(e,n)=>{let t=e.body,r=r9(t.Error,n),o=new gr.IDPCommunicationErrorException({$metadata:rt(e),...r});return(0,ee.decorateServiceException)(o,t)},RT=async(e,n)=>{let t=e.body,r=o9(t.Error,n),o=new gr.IDPRejectedClaimException({$metadata:rt(e),...r});return(0,ee.decorateServiceException)(o,t)},TY=async(e,n)=>{let t=e.body,r=s9(t.Error,n),o=new gr.InvalidAuthorizationMessageException({$metadata:rt(e),...r});return(0,ee.decorateServiceException)(o,t)},NT=async(e,n)=>{let t=e.body,r=i9(t.Error,n),o=new gr.InvalidIdentityTokenException({$metadata:rt(e),...r});return(0,ee.decorateServiceException)(o,t)},zm=async(e,n)=>{let t=e.body,r=a9(t.Error,n),o=new gr.MalformedPolicyDocumentException({$metadata:rt(e),...r});return(0,ee.decorateServiceException)(o,t)},Gm=async(e,n)=>{let t=e.body,r=c9(t.Error,n),o=new gr.PackedPolicyTooLargeException({$metadata:rt(e),...r});return(0,ee.decorateServiceException)(o,t)},xc=async(e,n)=>{let t=e.body,r=d9(t.Error,n),o=new gr.RegionDisabledException({$metadata:rt(e),...r});return(0,ee.decorateServiceException)(o,t)},qY=(e,n)=>{var r,o,s,a;let t={};if(e.RoleArn!=null&&(t.RoleArn=e.RoleArn),e.RoleSessionName!=null&&(t.RoleSessionName=e.RoleSessionName),e.PolicyArns!=null){let i=Hm(e.PolicyArns,n);((r=e.PolicyArns)==null?void 0:r.length)===0&&(t.PolicyArns=[]),Object.entries(i).forEach(([u,l])=>{let c=`PolicyArns.${u}`;t[c]=l})}if(e.Policy!=null&&(t.Policy=e.Policy),e.DurationSeconds!=null&&(t.DurationSeconds=e.DurationSeconds),e.Tags!=null){let i=OT(e.Tags,n);((o=e.Tags)==null?void 0:o.length)===0&&(t.Tags=[]),Object.entries(i).forEach(([u,l])=>{let c=`Tags.${u}`;t[c]=l})}if(e.TransitiveTagKeys!=null){let i=KY(e.TransitiveTagKeys,n);((s=e.TransitiveTagKeys)==null?void 0:s.length)===0&&(t.TransitiveTagKeys=[]),Object.entries(i).forEach(([u,l])=>{let c=`TransitiveTagKeys.${u}`;t[c]=l})}if(e.ExternalId!=null&&(t.ExternalId=e.ExternalId),e.SerialNumber!=null&&(t.SerialNumber=e.SerialNumber),e.TokenCode!=null&&(t.TokenCode=e.TokenCode),e.SourceIdentity!=null&&(t.SourceIdentity=e.SourceIdentity),e.ProvidedContexts!=null){let i=HY(e.ProvidedContexts,n);((a=e.ProvidedContexts)==null?void 0:a.length)===0&&(t.ProvidedContexts=[]),Object.entries(i).forEach(([u,l])=>{let c=`ProvidedContexts.${u}`;t[c]=l})}return t},BY=(e,n)=>{var r;let t={};if(e.RoleArn!=null&&(t.RoleArn=e.RoleArn),e.PrincipalArn!=null&&(t.PrincipalArn=e.PrincipalArn),e.SAMLAssertion!=null&&(t.SAMLAssertion=e.SAMLAssertion),e.PolicyArns!=null){let o=Hm(e.PolicyArns,n);((r=e.PolicyArns)==null?void 0:r.length)===0&&(t.PolicyArns=[]),Object.entries(o).forEach(([s,a])=>{let i=`PolicyArns.${s}`;t[i]=a})}return e.Policy!=null&&(t.Policy=e.Policy),e.DurationSeconds!=null&&(t.DurationSeconds=e.DurationSeconds),t},MY=(e,n)=>{var r;let t={};if(e.RoleArn!=null&&(t.RoleArn=e.RoleArn),e.RoleSessionName!=null&&(t.RoleSessionName=e.RoleSessionName),e.WebIdentityToken!=null&&(t.WebIdentityToken=e.WebIdentityToken),e.ProviderId!=null&&(t.ProviderId=e.ProviderId),e.PolicyArns!=null){let o=Hm(e.PolicyArns,n);((r=e.PolicyArns)==null?void 0:r.length)===0&&(t.PolicyArns=[]),Object.entries(o).forEach(([s,a])=>{let i=`PolicyArns.${s}`;t[i]=a})}return e.Policy!=null&&(t.Policy=e.Policy),e.DurationSeconds!=null&&(t.DurationSeconds=e.DurationSeconds),t},DY=(e,n)=>{let t={};return e.EncodedMessage!=null&&(t.EncodedMessage=e.EncodedMessage),t},FY=(e,n)=>{let t={};return e.AccessKeyId!=null&&(t.AccessKeyId=e.AccessKeyId),t},LY=(e,n)=>({}),jY=(e,n)=>{var r,o;let t={};if(e.Name!=null&&(t.Name=e.Name),e.Policy!=null&&(t.Policy=e.Policy),e.PolicyArns!=null){let s=Hm(e.PolicyArns,n);((r=e.PolicyArns)==null?void 0:r.length)===0&&(t.PolicyArns=[]),Object.entries(s).forEach(([a,i])=>{let u=`PolicyArns.${a}`;t[u]=i})}if(e.DurationSeconds!=null&&(t.DurationSeconds=e.DurationSeconds),e.Tags!=null){let s=OT(e.Tags,n);((o=e.Tags)==null?void 0:o.length)===0&&(t.Tags=[]),Object.entries(s).forEach(([a,i])=>{let u=`Tags.${a}`;t[u]=i})}return t},UY=(e,n)=>{let t={};return e.DurationSeconds!=null&&(t.DurationSeconds=e.DurationSeconds),e.SerialNumber!=null&&(t.SerialNumber=e.SerialNumber),e.TokenCode!=null&&(t.TokenCode=e.TokenCode),t},Hm=(e,n)=>{let t={},r=1;for(let o of e){if(o===null)continue;let s=zY(o,n);Object.entries(s).forEach(([a,i])=>{t[`member.${r}.${a}`]=i}),r++}return t},zY=(e,n)=>{let t={};return e.arn!=null&&(t.arn=e.arn),t},GY=(e,n)=>{let t={};return e.ProviderArn!=null&&(t.ProviderArn=e.ProviderArn),e.ContextAssertion!=null&&(t.ContextAssertion=e.ContextAssertion),t},HY=(e,n)=>{let t={},r=1;for(let o of e){if(o===null)continue;let s=GY(o,n);Object.entries(s).forEach(([a,i])=>{t[`member.${r}.${a}`]=i}),r++}return t},$Y=(e,n)=>{let t={};return e.Key!=null&&(t.Key=e.Key),e.Value!=null&&(t.Value=e.Value),t},KY=(e,n)=>{let t={},r=1;for(let o of e)o!==null&&(t[`member.${r}`]=o,r++);return t},OT=(e,n)=>{let t={},r=1;for(let o of e){if(o===null)continue;let s=$Y(o,n);Object.entries(s).forEach(([a,i])=>{t[`member.${r}.${a}`]=i}),r++}return t},Kh=(e,n)=>{let t={};return e.AssumedRoleId!==void 0&&(t.AssumedRoleId=(0,ee.expectString)(e.AssumedRoleId)),e.Arn!==void 0&&(t.Arn=(0,ee.expectString)(e.Arn)),t},VY=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=wc(e.Credentials,n)),e.AssumedRoleUser!==void 0&&(t.AssumedRoleUser=Kh(e.AssumedRoleUser,n)),e.PackedPolicySize!==void 0&&(t.PackedPolicySize=(0,ee.strictParseInt32)(e.PackedPolicySize)),e.SourceIdentity!==void 0&&(t.SourceIdentity=(0,ee.expectString)(e.SourceIdentity)),t},XY=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=wc(e.Credentials,n)),e.AssumedRoleUser!==void 0&&(t.AssumedRoleUser=Kh(e.AssumedRoleUser,n)),e.PackedPolicySize!==void 0&&(t.PackedPolicySize=(0,ee.strictParseInt32)(e.PackedPolicySize)),e.Subject!==void 0&&(t.Subject=(0,ee.expectString)(e.Subject)),e.SubjectType!==void 0&&(t.SubjectType=(0,ee.expectString)(e.SubjectType)),e.Issuer!==void 0&&(t.Issuer=(0,ee.expectString)(e.Issuer)),e.Audience!==void 0&&(t.Audience=(0,ee.expectString)(e.Audience)),e.NameQualifier!==void 0&&(t.NameQualifier=(0,ee.expectString)(e.NameQualifier)),e.SourceIdentity!==void 0&&(t.SourceIdentity=(0,ee.expectString)(e.SourceIdentity)),t},WY=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=wc(e.Credentials,n)),e.SubjectFromWebIdentityToken!==void 0&&(t.SubjectFromWebIdentityToken=(0,ee.expectString)(e.SubjectFromWebIdentityToken)),e.AssumedRoleUser!==void 0&&(t.AssumedRoleUser=Kh(e.AssumedRoleUser,n)),e.PackedPolicySize!==void 0&&(t.PackedPolicySize=(0,ee.strictParseInt32)(e.PackedPolicySize)),e.Provider!==void 0&&(t.Provider=(0,ee.expectString)(e.Provider)),e.Audience!==void 0&&(t.Audience=(0,ee.expectString)(e.Audience)),e.SourceIdentity!==void 0&&(t.SourceIdentity=(0,ee.expectString)(e.SourceIdentity)),t},wc=(e,n)=>{let t={};return e.AccessKeyId!==void 0&&(t.AccessKeyId=(0,ee.expectString)(e.AccessKeyId)),e.SecretAccessKey!==void 0&&(t.SecretAccessKey=(0,ee.expectString)(e.SecretAccessKey)),e.SessionToken!==void 0&&(t.SessionToken=(0,ee.expectString)(e.SessionToken)),e.Expiration!==void 0&&(t.Expiration=(0,ee.expectNonNull)((0,ee.parseRfc3339DateTimeWithOffset)(e.Expiration))),t},YY=(e,n)=>{let t={};return e.DecodedMessage!==void 0&&(t.DecodedMessage=(0,ee.expectString)(e.DecodedMessage)),t},QY=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,ee.expectString)(e.message)),t},JY=(e,n)=>{let t={};return e.FederatedUserId!==void 0&&(t.FederatedUserId=(0,ee.expectString)(e.FederatedUserId)),e.Arn!==void 0&&(t.Arn=(0,ee.expectString)(e.Arn)),t},ZY=(e,n)=>{let t={};return e.Account!==void 0&&(t.Account=(0,ee.expectString)(e.Account)),t},e9=(e,n)=>{let t={};return e.UserId!==void 0&&(t.UserId=(0,ee.expectString)(e.UserId)),e.Account!==void 0&&(t.Account=(0,ee.expectString)(e.Account)),e.Arn!==void 0&&(t.Arn=(0,ee.expectString)(e.Arn)),t},t9=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=wc(e.Credentials,n)),e.FederatedUser!==void 0&&(t.FederatedUser=JY(e.FederatedUser,n)),e.PackedPolicySize!==void 0&&(t.PackedPolicySize=(0,ee.strictParseInt32)(e.PackedPolicySize)),t},n9=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=wc(e.Credentials,n)),t},r9=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,ee.expectString)(e.message)),t},o9=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,ee.expectString)(e.message)),t},s9=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,ee.expectString)(e.message)),t},i9=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,ee.expectString)(e.message)),t},a9=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,ee.expectString)(e.message)),t},c9=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,ee.expectString)(e.message)),t},d9=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,ee.expectString)(e.message)),t},rt=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),l9=(e,n)=>(0,ee.collectBody)(e,n).then(t=>n.utf8Encoder(t)),hr=(0,ee.withBaseException)(aY.STSServiceException),Cr=async(e,n,t,r,o)=>{let{hostname:s,protocol:a="https",port:i,path:u}=await e.endpoint(),l={protocol:a,hostname:s,port:i,method:"POST",path:u.endsWith("/")?u.slice(0,-1)+t:u+t,headers:n};return r!==void 0&&(l.hostname=r),o!==void 0&&(l.body=o),new sY.HttpRequest(l)},Sr={"content-type":"application/x-www-form-urlencoded"},qn=(e,n)=>l9(e,n).then(t=>{if(t.length){let r=new iY.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(u,l)=>l.trim()===""&&l.includes(` +`)?"":void 0});r.addEntity("#xD","\r"),r.addEntity("#10",` +`);let o=r.parse(t),s="#text",a=Object.keys(o)[0],i=o[a];return i[s]&&(i[a]=i[s],delete i[s]),(0,ee.getValueFromTextNode)(i)}return{}}),Er=async(e,n)=>{let t=await qn(e,n);return t.Error&&(t.Error.message=t.Error.message??t.Error.Message),t},br=e=>Object.entries(e).map(([n,t])=>(0,ee.extendedEncodeURIComponent)(n)+"="+(0,ee.extendedEncodeURIComponent)(t)).join("&"),Pr=(e,n)=>{var t;if(((t=n.Error)==null?void 0:t.Code)!==void 0)return n.Error.Code;if(e.statusCode==404)return"NotFound"}});var $m=m(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.AssumeRoleCommand=Wo.$Command=void 0;var u9=wn(),m9=x(),p9=w(),qT=E();Object.defineProperty(Wo,"$Command",{enumerable:!0,get:function(){return qT.Command}});var f9=v(),y9=yr(),TT=Bn(),Vh=class e extends qT.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,p9.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,m9.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,u9.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"AssumeRoleCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:y9.AssumeRoleResponseFilterSensitiveLog,[f9.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"AssumeRole"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,TT.se_AssumeRoleCommand)(n,t)}deserialize(n,t){return(0,TT.de_AssumeRoleCommand)(n,t)}};Wo.AssumeRoleCommand=Vh});var Km=m(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.AssumeRoleWithWebIdentityCommand=Yo.$Command=void 0;var _9=x(),g9=w(),DT=E();Object.defineProperty(Yo,"$Command",{enumerable:!0,get:function(){return DT.Command}});var h9=v(),BT=yr(),MT=Bn(),Xh=class e extends DT.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,g9.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,_9.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"AssumeRoleWithWebIdentityCommand",inputFilterSensitiveLog:BT.AssumeRoleWithWebIdentityRequestFilterSensitiveLog,outputFilterSensitiveLog:BT.AssumeRoleWithWebIdentityResponseFilterSensitiveLog,[h9.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"AssumeRoleWithWebIdentity"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,MT.se_AssumeRoleWithWebIdentityCommand)(n,t)}deserialize(n,t){return(0,MT.de_AssumeRoleWithWebIdentityCommand)(n,t)}};Yo.AssumeRoleWithWebIdentityCommand=Xh});var Wh=m(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.decorateDefaultCredentialProvider=nn.getDefaultRoleAssumerWithWebIdentity=nn.getDefaultRoleAssumer=void 0;var C9=$m(),S9=Km(),FT="us-east-1",LT=e=>typeof e!="function"?e===void 0?FT:e:async()=>{try{return await e()}catch{return FT}},E9=(e,n)=>{let t,r;return async(o,s)=>{if(r=o,!t){let{logger:i,region:u,requestHandler:l}=e;t=new n({logger:i,credentialDefaultProvider:()=>async()=>r,region:LT(u||e.region),...l?{requestHandler:l}:{}})}let{Credentials:a}=await t.send(new C9.AssumeRoleCommand(s));if(!a||!a.AccessKeyId||!a.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRole call with role ${s.RoleArn}`);return{accessKeyId:a.AccessKeyId,secretAccessKey:a.SecretAccessKey,sessionToken:a.SessionToken,expiration:a.Expiration}}};nn.getDefaultRoleAssumer=E9;var b9=(e,n)=>{let t;return async r=>{if(!t){let{logger:s,region:a,requestHandler:i}=e;t=new n({logger:s,region:LT(a||e.region),...i?{requestHandler:i}:{}})}let{Credentials:o}=await t.send(new S9.AssumeRoleWithWebIdentityCommand(r));if(!o||!o.AccessKeyId||!o.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${r.RoleArn}`);return{accessKeyId:o.AccessKeyId,secretAccessKey:o.SecretAccessKey,sessionToken:o.SessionToken,expiration:o.Expiration}}};nn.getDefaultRoleAssumerWithWebIdentity=b9;var P9=e=>n=>e({roleAssumer:(0,nn.getDefaultRoleAssumer)(n,n.stsClientCtor),roleAssumerWithWebIdentity:(0,nn.getDefaultRoleAssumerWithWebIdentity)(n,n.stsClientCtor),...n});nn.decorateDefaultCredentialProvider=P9});var jT=m(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});ot.fromEnv=ot.ENV_EXPIRATION=ot.ENV_SESSION=ot.ENV_SECRET=ot.ENV_KEY=void 0;var v9=Se();ot.ENV_KEY="AWS_ACCESS_KEY_ID";ot.ENV_SECRET="AWS_SECRET_ACCESS_KEY";ot.ENV_SESSION="AWS_SESSION_TOKEN";ot.ENV_EXPIRATION="AWS_CREDENTIAL_EXPIRATION";var x9=()=>async()=>{let e=process.env[ot.ENV_KEY],n=process.env[ot.ENV_SECRET],t=process.env[ot.ENV_SESSION],r=process.env[ot.ENV_EXPIRATION];if(e&&n)return{accessKeyId:e,secretAccessKey:n,...t&&{sessionToken:t},...r&&{expiration:new Date(r)}};throw new v9.CredentialsProviderError("Unable to find environment variable credentials.")};ot.fromEnv=x9});var Qh=m(Yh=>{"use strict";Object.defineProperty(Yh,"__esModule",{value:!0});var w9=(z(),j(U));w9.__exportStar(jT(),Yh)});var Xm=m(Vm=>{"use strict";Object.defineProperty(Vm,"__esModule",{value:!0});Vm.httpRequest=void 0;var Jh=Se(),k9=require("buffer"),A9=require("http");function I9(e){return new Promise((n,t)=>{var r;let o=(0,A9.request)({method:"GET",...e,hostname:(r=e.hostname)===null||r===void 0?void 0:r.replace(/^\[(.+)\]$/,"$1")});o.on("error",s=>{t(Object.assign(new Jh.ProviderError("Unable to connect to instance metadata service"),s)),o.destroy()}),o.on("timeout",()=>{t(new Jh.ProviderError("TimeoutError from instance metadata service")),o.destroy()}),o.on("response",s=>{let{statusCode:a=400}=s;(a<200||300<=a)&&(t(Object.assign(new Jh.ProviderError("Error response received from instance metadata service"),{statusCode:a})),o.destroy());let i=[];s.on("data",u=>{i.push(u)}),s.on("end",()=>{n(k9.Buffer.concat(i)),o.destroy()})}),o.end()})}Vm.httpRequest=I9});var Zh=m(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.fromImdsCredentials=Qo.isImdsCredentials=void 0;var R9=e=>!!e&&typeof e=="object"&&typeof e.AccessKeyId=="string"&&typeof e.SecretAccessKey=="string"&&typeof e.Token=="string"&&typeof e.Expiration=="string";Qo.isImdsCredentials=R9;var N9=e=>({accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,sessionToken:e.Token,expiration:new Date(e.Expiration)});Qo.fromImdsCredentials=N9});var Wm=m(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.providerConfigFromInit=rn.DEFAULT_MAX_RETRIES=rn.DEFAULT_TIMEOUT=void 0;rn.DEFAULT_TIMEOUT=1e3;rn.DEFAULT_MAX_RETRIES=0;var O9=({maxRetries:e=rn.DEFAULT_MAX_RETRIES,timeout:n=rn.DEFAULT_TIMEOUT})=>({maxRetries:e,timeout:n});rn.providerConfigFromInit=O9});var eC=m(Ym=>{"use strict";Object.defineProperty(Ym,"__esModule",{value:!0});Ym.retry=void 0;var T9=(e,n)=>{let t=e();for(let r=0;r{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.fromContainerMetadata=He.ENV_CMDS_AUTH_TOKEN=He.ENV_CMDS_RELATIVE_URI=He.ENV_CMDS_FULL_URI=void 0;var Qm=Se(),q9=require("url"),B9=Xm(),UT=Zh(),M9=Wm(),D9=eC();He.ENV_CMDS_FULL_URI="AWS_CONTAINER_CREDENTIALS_FULL_URI";He.ENV_CMDS_RELATIVE_URI="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI";He.ENV_CMDS_AUTH_TOKEN="AWS_CONTAINER_AUTHORIZATION_TOKEN";var F9=(e={})=>{let{timeout:n,maxRetries:t}=(0,M9.providerConfigFromInit)(e);return()=>(0,D9.retry)(async()=>{let r=await G9(),o=JSON.parse(await L9(n,r));if(!(0,UT.isImdsCredentials)(o))throw new Qm.CredentialsProviderError("Invalid response received from instance metadata service.");return(0,UT.fromImdsCredentials)(o)},t)};He.fromContainerMetadata=F9;var L9=async(e,n)=>(process.env[He.ENV_CMDS_AUTH_TOKEN]&&(n.headers={...n.headers,Authorization:process.env[He.ENV_CMDS_AUTH_TOKEN]}),(await(0,B9.httpRequest)({...n,timeout:e})).toString()),j9="169.254.170.2",U9={localhost:!0,"127.0.0.1":!0},z9={"http:":!0,"https:":!0},G9=async()=>{if(process.env[He.ENV_CMDS_RELATIVE_URI])return{hostname:j9,path:process.env[He.ENV_CMDS_RELATIVE_URI]};if(process.env[He.ENV_CMDS_FULL_URI]){let e=(0,q9.parse)(process.env[He.ENV_CMDS_FULL_URI]);if(!e.hostname||!(e.hostname in U9))throw new Qm.CredentialsProviderError(`${e.hostname} is not a valid container metadata service hostname`,!1);if(!e.protocol||!(e.protocol in z9))throw new Qm.CredentialsProviderError(`${e.protocol} is not a valid container metadata service protocol`,!1);return{...e,port:e.port?parseInt(e.port,10):void 0}}throw new Qm.CredentialsProviderError(`The container metadata credential provider cannot be used unless the ${He.ENV_CMDS_RELATIVE_URI} or ${He.ENV_CMDS_FULL_URI} environment variable is set`,!1)}});var GT=m(kc=>{"use strict";Object.defineProperty(kc,"__esModule",{value:!0});kc.Endpoint=void 0;var H9;(function(e){e.IPv4="http://169.254.169.254",e.IPv6="http://[fd00:ec2::254]"})(H9=kc.Endpoint||(kc.Endpoint={}))});var HT=m(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.ENDPOINT_CONFIG_OPTIONS=on.CONFIG_ENDPOINT_NAME=on.ENV_ENDPOINT_NAME=void 0;on.ENV_ENDPOINT_NAME="AWS_EC2_METADATA_SERVICE_ENDPOINT";on.CONFIG_ENDPOINT_NAME="ec2_metadata_service_endpoint";on.ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:e=>e[on.ENV_ENDPOINT_NAME],configFileSelector:e=>e[on.CONFIG_ENDPOINT_NAME],default:void 0}});var tC=m(Ac=>{"use strict";Object.defineProperty(Ac,"__esModule",{value:!0});Ac.EndpointMode=void 0;var $9;(function(e){e.IPv4="IPv4",e.IPv6="IPv6"})($9=Ac.EndpointMode||(Ac.EndpointMode={}))});var $T=m(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.ENDPOINT_MODE_CONFIG_OPTIONS=sn.CONFIG_ENDPOINT_MODE_NAME=sn.ENV_ENDPOINT_MODE_NAME=void 0;var K9=tC();sn.ENV_ENDPOINT_MODE_NAME="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE";sn.CONFIG_ENDPOINT_MODE_NAME="ec2_metadata_service_endpoint_mode";sn.ENDPOINT_MODE_CONFIG_OPTIONS={environmentVariableSelector:e=>e[sn.ENV_ENDPOINT_MODE_NAME],configFileSelector:e=>e[sn.CONFIG_ENDPOINT_MODE_NAME],default:K9.EndpointMode.IPv4}});var rC=m(Jm=>{"use strict";Object.defineProperty(Jm,"__esModule",{value:!0});Jm.getInstanceMetadataEndpoint=void 0;var VT=An(),V9=Jr(),KT=GT(),X9=HT(),nC=tC(),W9=$T(),Y9=async()=>(0,V9.parseUrl)(await Q9()||await J9());Jm.getInstanceMetadataEndpoint=Y9;var Q9=async()=>(0,VT.loadConfig)(X9.ENDPOINT_CONFIG_OPTIONS)(),J9=async()=>{let e=await(0,VT.loadConfig)(W9.ENDPOINT_MODE_CONFIG_OPTIONS)();switch(e){case nC.EndpointMode.IPv4:return KT.Endpoint.IPv4;case nC.EndpointMode.IPv6:return KT.Endpoint.IPv6;default:throw new Error(`Unsupported endpoint mode: ${e}. Select from ${Object.values(nC.EndpointMode)}`)}}});var XT=m(Zm=>{"use strict";Object.defineProperty(Zm,"__esModule",{value:!0});Zm.getExtendedInstanceMetadataCredentials=void 0;var Z9=5*60,e7=5*60,t7="https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html",n7=(e,n)=>{var t;let r=Z9+Math.floor(Math.random()*e7),o=new Date(Date.now()+r*1e3);n.warn("Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(newExpiration)}.\nFor more information, please visit: "+t7);let s=(t=e.originalExpiration)!==null&&t!==void 0?t:e.expiration;return{...e,...s?{originalExpiration:s}:{},expiration:o}};Zm.getExtendedInstanceMetadataCredentials=n7});var YT=m(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});ep.staticStabilityProvider=void 0;var WT=XT(),r7=(e,n={})=>{let t=(n==null?void 0:n.logger)||console,r;return async()=>{let o;try{o=await e(),o.expiration&&o.expiration.getTime(){"use strict";Object.defineProperty(tp,"__esModule",{value:!0});tp.fromInstanceMetadata=void 0;var o7=Se(),oC=Xm(),QT=Zh(),s7=Wm(),JT=eC(),i7=rC(),a7=YT(),ZT="/latest/meta-data/iam/security-credentials/",c7="/latest/api/token",d7=(e={})=>(0,a7.staticStabilityProvider)(l7(e),{logger:e.logger});tp.fromInstanceMetadata=d7;var l7=e=>{let n=!1,{timeout:t,maxRetries:r}=(0,s7.providerConfigFromInit)(e),o=async(s,a)=>{let i=(await(0,JT.retry)(async()=>{let u;try{u=await m7(a)}catch(l){throw l.statusCode===401&&(n=!1),l}return u},s)).trim();return(0,JT.retry)(async()=>{let u;try{u=await p7(i,a)}catch(l){throw l.statusCode===401&&(n=!1),l}return u},s)};return async()=>{let s=await(0,i7.getInstanceMetadataEndpoint)();if(n)return o(r,{...s,timeout:t});{let a;try{a=(await u7({...s,timeout:t})).toString()}catch(i){if((i==null?void 0:i.statusCode)===400)throw Object.assign(i,{message:"EC2 Metadata token request returned error"});return(i.message==="TimeoutError"||[403,404,405].includes(i.statusCode))&&(n=!0),o(r,{...s,timeout:t})}return o(r,{...s,headers:{"x-aws-ec2-metadata-token":a},timeout:t})}}},u7=async e=>(0,oC.httpRequest)({...e,path:c7,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}}),m7=async e=>(await(0,oC.httpRequest)({...e,path:ZT})).toString(),p7=async(e,n)=>{let t=JSON.parse((await(0,oC.httpRequest)({...n,path:ZT+e})).toString());if(!(0,QT.isImdsCredentials)(t))throw new o7.CredentialsProviderError("Invalid response received from instance metadata service.");return(0,QT.fromImdsCredentials)(t)}});var nq=m(tq=>{"use strict";Object.defineProperty(tq,"__esModule",{value:!0})});var rp=m(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.getInstanceMetadataEndpoint=an.httpRequest=void 0;var np=(z(),j(U));np.__exportStar(zT(),an);np.__exportStar(eq(),an);np.__exportStar(Wm(),an);np.__exportStar(nq(),an);var f7=Xm();Object.defineProperty(an,"httpRequest",{enumerable:!0,get:function(){return f7.httpRequest}});var y7=rC();Object.defineProperty(an,"getInstanceMetadataEndpoint",{enumerable:!0,get:function(){return y7.getInstanceMetadataEndpoint}})});var oq=m(op=>{"use strict";Object.defineProperty(op,"__esModule",{value:!0});op.resolveCredentialSource=void 0;var _7=Qh(),rq=rp(),g7=Se(),h7=(e,n)=>{let t={EcsContainer:rq.fromContainerMetadata,Ec2InstanceMetadata:rq.fromInstanceMetadata,Environment:_7.fromEnv};if(e in t)return t[e]();throw new g7.CredentialsProviderError(`Unsupported credential source in profile ${n}. Got ${e}, expected EcsContainer or Ec2InstanceMetadata or Environment.`)};op.resolveCredentialSource=h7});var sq=m(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.resolveAssumeRoleCredentials=Jo.isAssumeRoleProfile=void 0;var sC=Se(),C7=Dt(),S7=oq(),E7=iC(),b7=e=>!!e&&typeof e=="object"&&typeof e.role_arn=="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(P7(e)||v7(e));Jo.isAssumeRoleProfile=b7;var P7=e=>typeof e.source_profile=="string"&&typeof e.credential_source>"u",v7=e=>typeof e.credential_source=="string"&&typeof e.source_profile>"u",x7=async(e,n,t,r={})=>{let o=n[e];if(!t.roleAssumer)throw new sC.CredentialsProviderError(`Profile ${e} requires a role to be assumed, but no role assumption callback was provided.`,!1);let{source_profile:s}=o;if(s&&s in r)throw new sC.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${(0,C7.getProfileName)(t)}. Profiles visited: `+Object.keys(r).join(", "),!1);let a=s?(0,E7.resolveProfileData)(s,n,t,{...r,[s]:!0}):(0,S7.resolveCredentialSource)(o.credential_source,e)(),i={RoleArn:o.role_arn,RoleSessionName:o.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:o.external_id,DurationSeconds:parseInt(o.duration_seconds||"3600",10)},{mfa_serial:u}=o;if(u){if(!t.mfaCodeProvider)throw new sC.CredentialsProviderError(`Profile ${e} requires multi-factor authentication, but no MFA code callback was provided.`,!1);i.SerialNumber=u,i.TokenCode=await t.mfaCodeProvider(u)}let l=await a;return t.roleAssumer(l,i)};Jo.resolveAssumeRoleCredentials=x7});var iq=m(sp=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});sp.getValidatedProcessCredentials=void 0;var w7=(e,n)=>{if(n.Version!==1)throw Error(`Profile ${e} credential_process did not return Version 1.`);if(n.AccessKeyId===void 0||n.SecretAccessKey===void 0)throw Error(`Profile ${e} credential_process returned invalid credentials.`);if(n.Expiration){let t=new Date;if(new Date(n.Expiration){"use strict";Object.defineProperty(ip,"__esModule",{value:!0});ip.resolveProcessCredentials=void 0;var aC=Se(),k7=require("child_process"),A7=require("util"),I7=iq(),R7=async(e,n)=>{let t=n[e];if(n[e]){let r=t.credential_process;if(r!==void 0){let o=(0,A7.promisify)(k7.exec);try{let{stdout:s}=await o(r),a;try{a=JSON.parse(s.trim())}catch{throw Error(`Profile ${e} credential_process returned invalid JSON.`)}return(0,I7.getValidatedProcessCredentials)(e,a)}catch(s){throw new aC.CredentialsProviderError(s.message)}}else throw new aC.CredentialsProviderError(`Profile ${e} did not contain credential_process.`)}else throw new aC.CredentialsProviderError(`Profile ${e} could not be found in shared credentials file.`)};ip.resolveProcessCredentials=R7});var dq=m(ap=>{"use strict";Object.defineProperty(ap,"__esModule",{value:!0});ap.fromProcess=void 0;var cq=Dt(),N7=aq(),O7=(e={})=>async()=>{let n=await(0,cq.parseKnownFiles)(e);return(0,N7.resolveProcessCredentials)((0,cq.getProfileName)(e),n)};ap.fromProcess=O7});var dC=m(cC=>{"use strict";Object.defineProperty(cC,"__esModule",{value:!0});var T7=(z(),j(U));T7.__exportStar(dq(),cC)});var lq=m(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.resolveProcessCredentials=Zo.isProcessProfile=void 0;var q7=dC(),B7=e=>!!e&&typeof e=="object"&&typeof e.credential_process=="string";Zo.isProcessProfile=B7;var M7=async(e,n)=>(0,q7.fromProcess)({...e,profile:n})();Zo.resolveProcessCredentials=M7});var lC=m(cp=>{"use strict";Object.defineProperty(cp,"__esModule",{value:!0});cp.isSsoProfile=void 0;var D7=e=>e&&(typeof e.sso_start_url=="string"||typeof e.sso_account_id=="string"||typeof e.sso_session=="string"||typeof e.sso_region=="string"||typeof e.sso_role_name=="string");cp.isSsoProfile=D7});var uq=m(dp=>{"use strict";Object.defineProperty(dp,"__esModule",{value:!0});dp.resolveClientEndpointParameters=void 0;var F7=e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"});dp.resolveClientEndpointParameters=F7});var mq=m((mNe,L7)=>{L7.exports={name:"@aws-sdk/client-sso",description:"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",version:"3.421.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/middleware-host-header":"3.418.0","@aws-sdk/middleware-logger":"3.418.0","@aws-sdk/middleware-recursion-detection":"3.418.0","@aws-sdk/middleware-user-agent":"3.418.0","@aws-sdk/region-config-resolver":"3.418.0","@aws-sdk/types":"3.418.0","@aws-sdk/util-endpoints":"3.418.0","@aws-sdk/util-user-agent-browser":"3.418.0","@aws-sdk/util-user-agent-node":"3.418.0","@smithy/config-resolver":"^2.0.10","@smithy/fetch-http-handler":"^2.1.5","@smithy/hash-node":"^2.0.9","@smithy/invalid-dependency":"^2.0.9","@smithy/middleware-content-length":"^2.0.11","@smithy/middleware-endpoint":"^2.0.9","@smithy/middleware-retry":"^2.0.12","@smithy/middleware-serde":"^2.0.9","@smithy/middleware-stack":"^2.0.2","@smithy/node-config-provider":"^2.0.12","@smithy/node-http-handler":"^2.1.5","@smithy/protocol-http":"^3.0.5","@smithy/smithy-client":"^2.1.6","@smithy/types":"^2.3.3","@smithy/url-parser":"^2.0.9","@smithy/util-base64":"^2.0.0","@smithy/util-body-length-browser":"^2.0.0","@smithy/util-body-length-node":"^2.1.0","@smithy/util-defaults-mode-browser":"^2.0.10","@smithy/util-defaults-mode-node":"^2.0.12","@smithy/util-retry":"^2.0.2","@smithy/util-utf8":"^2.0.0",tslib:"^2.5.0"},devDependencies:{"@smithy/service-client-documentation-generator":"^2.0.0","@tsconfig/node14":"1.0.3","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},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"}}});var fq=m((lp,pq)=>{"use strict";Object.defineProperty(lp,"__esModule",{value:!0});lp.isCrtAvailable=void 0;var j7=()=>{try{return typeof require=="function"&&typeof pq<"u"&&require("aws-crt")?["md/crt-avail"]:null}catch{return null}};lp.isCrtAvailable=j7});var Ic=m(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.defaultUserAgent=cn.UA_APP_ID_INI_NAME=cn.UA_APP_ID_ENV_NAME=void 0;var U7=An(),yq=require("os"),uC=require("process"),z7=fq();cn.UA_APP_ID_ENV_NAME="AWS_SDK_UA_APP_ID";cn.UA_APP_ID_INI_NAME="sdk-ua-app-id";var G7=({serviceId:e,clientVersion:n})=>{let t=[["aws-sdk-js",n],["ua","2.0"],[`os/${(0,yq.platform)()}`,(0,yq.release)()],["lang/js"],["md/nodejs",`${uC.versions.node}`]],r=(0,z7.isCrtAvailable)();r&&t.push(r),e&&t.push([`api/${e}`,n]),uC.env.AWS_EXECUTION_ENV&&t.push([`exec-env/${uC.env.AWS_EXECUTION_ENV}`]);let o=(0,U7.loadConfig)({environmentVariableSelector:a=>a[cn.UA_APP_ID_ENV_NAME],configFileSelector:a=>a[cn.UA_APP_ID_INI_NAME],default:void 0})(),s;return async()=>{if(!s){let a=await o;s=a?[...t,[`app/${a}`]]:[...t]}return s}};cn.defaultUserAgent=G7});var Rc=m(up=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});up.Hash=void 0;var mC=Ur(),H7=Pt(),$7=require("buffer"),_q=require("crypto"),pC=class{constructor(n,t){this.algorithmIdentifier=n,this.secret=t,this.reset()}update(n,t){this.hash.update((0,H7.toUint8Array)(gq(n,t)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?(0,_q.createHmac)(this.algorithmIdentifier,gq(this.secret)):(0,_q.createHash)(this.algorithmIdentifier)}};up.Hash=pC;function gq(e,n){return $7.Buffer.isBuffer(e)?e:typeof e=="string"?(0,mC.fromString)(e,n):ArrayBuffer.isView(e)?(0,mC.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength):(0,mC.fromArrayBuffer)(e)}});var Cq=m(mp=>{"use strict";Object.defineProperty(mp,"__esModule",{value:!0});mp.calculateBodyLength=void 0;var hq=require("fs"),K7=e=>{if(!e)return 0;if(typeof e=="string")return Buffer.from(e).length;if(typeof e.byteLength=="number")return e.byteLength;if(typeof e.size=="number")return e.size;if(typeof e.start=="number"&&typeof e.end=="number")return e.end+1-e.start;if(typeof e.path=="string"||Buffer.isBuffer(e.path))return(0,hq.lstatSync)(e.path).size;if(typeof e.fd=="number")return(0,hq.fstatSync)(e.fd).size;throw new Error(`Body Length computation failed for ${e}`)};mp.calculateBodyLength=K7});var Nc=m(fC=>{"use strict";Object.defineProperty(fC,"__esModule",{value:!0});var V7=(z(),j(U));V7.__exportStar(Cq(),fC)});var Oq=m(pp=>{"use strict";Object.defineProperty(pp,"__esModule",{value:!0});pp.ruleSet=void 0;var Iq="required",Dn="fn",Fn="argv",ts="ref",Sq="isSet",Mn="tree",es="error",Oc="endpoint",yC="PartitionResult",Eq={[Iq]:!1,type:"String"},bq={[Iq]:!0,default:!1,type:"Boolean"},Pq={[ts]:"Endpoint"},Rq={[Dn]:"booleanEquals",[Fn]:[{[ts]:"UseFIPS"},!0]},Nq={[Dn]:"booleanEquals",[Fn]:[{[ts]:"UseDualStack"},!0]},dn={},vq={[Dn]:"booleanEquals",[Fn]:[!0,{[Dn]:"getAttr",[Fn]:[{[ts]:yC},"supportsFIPS"]}]},xq={[Dn]:"booleanEquals",[Fn]:[!0,{[Dn]:"getAttr",[Fn]:[{[ts]:yC},"supportsDualStack"]}]},wq=[Rq],kq=[Nq],Aq=[{[ts]:"Region"}],X7={version:"1.0",parameters:{Region:Eq,UseDualStack:bq,UseFIPS:bq,Endpoint:Eq},rules:[{conditions:[{[Dn]:Sq,[Fn]:[Pq]}],type:Mn,rules:[{conditions:wq,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:es},{conditions:kq,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:es},{endpoint:{url:Pq,properties:dn,headers:dn},type:Oc}]},{conditions:[{[Dn]:Sq,[Fn]:Aq}],type:Mn,rules:[{conditions:[{[Dn]:"aws.partition",[Fn]:Aq,assign:yC}],type:Mn,rules:[{conditions:[Rq,Nq],type:Mn,rules:[{conditions:[vq,xq],type:Mn,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:dn,headers:dn},type:Oc}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:es}]},{conditions:wq,type:Mn,rules:[{conditions:[vq],type:Mn,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:dn,headers:dn},type:Oc}]},{error:"FIPS is enabled but this partition does not support FIPS",type:es}]},{conditions:kq,type:Mn,rules:[{conditions:[xq],type:Mn,rules:[{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:dn,headers:dn},type:Oc}]},{error:"DualStack is enabled but this partition does not support DualStack",type:es}]},{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",properties:dn,headers:dn},type:Oc}]}]},{error:"Invalid Configuration: Missing Region",type:es}]};pp.ruleSet=X7});var Tq=m(fp=>{"use strict";Object.defineProperty(fp,"__esModule",{value:!0});fp.defaultEndpointResolver=void 0;var W7=zo(),Y7=Oq(),Q7=(e,n={})=>(0,W7.resolveEndpoint)(Y7.ruleSet,{endpointParams:e,logger:n.logger});fp.defaultEndpointResolver=Q7});var Mq=m(yp=>{"use strict";Object.defineProperty(yp,"__esModule",{value:!0});yp.getRuntimeConfig=void 0;var J7=E(),Z7=Jr(),qq=So(),Bq=Pt(),eQ=Tq(),tQ=e=>({apiVersion:"2019-06-10",base64Decoder:(e==null?void 0:e.base64Decoder)??qq.fromBase64,base64Encoder:(e==null?void 0:e.base64Encoder)??qq.toBase64,disableHostPrefix:(e==null?void 0:e.disableHostPrefix)??!1,endpointProvider:(e==null?void 0:e.endpointProvider)??eQ.defaultEndpointResolver,extensions:(e==null?void 0:e.extensions)??[],logger:(e==null?void 0:e.logger)??new J7.NoOpLogger,serviceId:(e==null?void 0:e.serviceId)??"SSO",urlParser:(e==null?void 0:e.urlParser)??Z7.parseUrl,utf8Decoder:(e==null?void 0:e.utf8Decoder)??Bq.fromUtf8,utf8Encoder:(e==null?void 0:e.utf8Encoder)??Bq.toUtf8});yp.getRuntimeConfig=tQ});var Dq=m(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});ft.IMDS_REGION_PATH=ft.DEFAULTS_MODE_OPTIONS=ft.ENV_IMDS_DISABLED=ft.AWS_DEFAULT_REGION_ENV=ft.AWS_REGION_ENV=ft.AWS_EXECUTION_ENV=void 0;ft.AWS_EXECUTION_ENV="AWS_EXECUTION_ENV";ft.AWS_REGION_ENV="AWS_REGION";ft.AWS_DEFAULT_REGION_ENV="AWS_DEFAULT_REGION";ft.ENV_IMDS_DISABLED="AWS_EC2_METADATA_DISABLED";ft.DEFAULTS_MODE_OPTIONS=["in-region","cross-region","mobile","standard","legacy"];ft.IMDS_REGION_PATH="/latest/meta-data/placement/region"});var Fq=m(_p=>{"use strict";Object.defineProperty(_p,"__esModule",{value:!0});_p.NODE_DEFAULTS_MODE_CONFIG_OPTIONS=void 0;var nQ="AWS_DEFAULTS_MODE",rQ="defaults_mode";_p.NODE_DEFAULTS_MODE_CONFIG_OPTIONS={environmentVariableSelector:e=>e[nQ],configFileSelector:e=>e[rQ],default:"legacy"}});var Uq=m(gp=>{"use strict";Object.defineProperty(gp,"__esModule",{value:!0});gp.resolveDefaultsModeConfig=void 0;var oQ=Qt(),Lq=rp(),jq=An(),sQ=Se(),vr=Dq(),iQ=Fq(),aQ=({region:e=(0,jq.loadConfig)(oQ.NODE_REGION_CONFIG_OPTIONS),defaultsMode:n=(0,jq.loadConfig)(iQ.NODE_DEFAULTS_MODE_CONFIG_OPTIONS)}={})=>(0,sQ.memoize)(async()=>{let t=typeof n=="function"?await n():n;switch(t==null?void 0:t.toLowerCase()){case"auto":return cQ(e);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(t==null?void 0:t.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${vr.DEFAULTS_MODE_OPTIONS.join(", ")}, got ${t}`)}});gp.resolveDefaultsModeConfig=aQ;var cQ=async e=>{if(e){let n=typeof e=="function"?await e():e,t=await dQ();return t?n===t?"in-region":"cross-region":"standard"}return"standard"},dQ=async()=>{var e;if(process.env[vr.AWS_EXECUTION_ENV]&&(process.env[vr.AWS_REGION_ENV]||process.env[vr.AWS_DEFAULT_REGION_ENV]))return(e=process.env[vr.AWS_REGION_ENV])!==null&&e!==void 0?e:process.env[vr.AWS_DEFAULT_REGION_ENV];if(!process.env[vr.ENV_IMDS_DISABLED])try{let n=await(0,Lq.getInstanceMetadataEndpoint)();return(await(0,Lq.httpRequest)({...n,path:vr.IMDS_REGION_PATH})).toString()}catch{}}});var Tc=m(_C=>{"use strict";Object.defineProperty(_C,"__esModule",{value:!0});var lQ=(z(),j(U));lQ.__exportStar(Uq(),_C)});var Hq=m(Cp=>{"use strict";Object.defineProperty(Cp,"__esModule",{value:!0});Cp.getRuntimeConfig=void 0;var uQ=(z(),j(U)),mQ=uQ.__importDefault(mq()),pQ=Ic(),hp=Qt(),fQ=Rc(),zq=On(),qc=An(),Gq=Po(),yQ=Nc(),_Q=Rt(),gQ=Mq(),hQ=E(),CQ=Tc(),SQ=E(),EQ=e=>{(0,SQ.emitWarningIfUnsupportedVersion)(process.version);let n=(0,CQ.resolveDefaultsModeConfig)(e),t=()=>n().then(hQ.loadConfigsForDefaultMode),r=(0,gQ.getRuntimeConfig)(e);return{...r,...e,runtime:"node",defaultsMode:n,bodyLengthChecker:(e==null?void 0:e.bodyLengthChecker)??yQ.calculateBodyLength,defaultUserAgentProvider:(e==null?void 0:e.defaultUserAgentProvider)??(0,pQ.defaultUserAgent)({serviceId:r.serviceId,clientVersion:mQ.default.version}),maxAttempts:(e==null?void 0:e.maxAttempts)??(0,qc.loadConfig)(zq.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:(e==null?void 0:e.region)??(0,qc.loadConfig)(hp.NODE_REGION_CONFIG_OPTIONS,hp.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(e==null?void 0:e.requestHandler)??new Gq.NodeHttpHandler(t),retryMode:(e==null?void 0:e.retryMode)??(0,qc.loadConfig)({...zq.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await t()).retryMode||_Q.DEFAULT_RETRY_MODE}),sha256:(e==null?void 0:e.sha256)??fQ.Hash.bind(null,"sha256"),streamCollector:(e==null?void 0:e.streamCollector)??Gq.streamCollector,useDualstackEndpoint:(e==null?void 0:e.useDualstackEndpoint)??(0,qc.loadConfig)(hp.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(e==null?void 0:e.useFipsEndpoint)??(0,qc.loadConfig)(hp.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};Cp.getRuntimeConfig=EQ});var $q=m(ns=>{"use strict";Object.defineProperty(ns,"__esModule",{value:!0});ns.resolveAwsRegionExtensionConfiguration=ns.getAwsRegionExtensionConfiguration=void 0;var bQ=e=>{let n=async()=>{if(e.region===void 0)throw new Error("Region is missing from runtimeConfig");let t=e.region;return typeof t=="string"?t:t()};return{setRegion(t){n=t},region(){return n}}};ns.getAwsRegionExtensionConfiguration=bQ;var PQ=e=>({region:e.region()});ns.resolveAwsRegionExtensionConfiguration=PQ});var Kq=m(Nt=>{"use strict";Object.defineProperty(Nt,"__esModule",{value:!0});Nt.NODE_REGION_CONFIG_FILE_OPTIONS=Nt.NODE_REGION_CONFIG_OPTIONS=Nt.REGION_INI_NAME=Nt.REGION_ENV_NAME=void 0;Nt.REGION_ENV_NAME="AWS_REGION";Nt.REGION_INI_NAME="region";Nt.NODE_REGION_CONFIG_OPTIONS={environmentVariableSelector:e=>e[Nt.REGION_ENV_NAME],configFileSelector:e=>e[Nt.REGION_INI_NAME],default:()=>{throw new Error("Region is missing")}};Nt.NODE_REGION_CONFIG_FILE_OPTIONS={preferredFile:"credentials"}});var gC=m(Sp=>{"use strict";Object.defineProperty(Sp,"__esModule",{value:!0});Sp.isFipsRegion=void 0;var vQ=e=>typeof e=="string"&&(e.startsWith("fips-")||e.endsWith("-fips"));Sp.isFipsRegion=vQ});var Vq=m(Ep=>{"use strict";Object.defineProperty(Ep,"__esModule",{value:!0});Ep.getRealRegion=void 0;var xQ=gC(),wQ=e=>(0,xQ.isFipsRegion)(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e;Ep.getRealRegion=wQ});var Wq=m(bp=>{"use strict";Object.defineProperty(bp,"__esModule",{value:!0});bp.resolveRegionConfig=void 0;var Xq=Vq(),kQ=gC(),AQ=e=>{let{region:n,useFipsEndpoint:t}=e;if(!n)throw new Error("Region is missing");return{...e,region:async()=>{if(typeof n=="string")return(0,Xq.getRealRegion)(n);let r=await n();return(0,Xq.getRealRegion)(r)},useFipsEndpoint:async()=>{let r=typeof n=="string"?n:await n();return(0,kQ.isFipsRegion)(r)?!0:typeof t!="function"?Promise.resolve(!!t):t()}}};bp.resolveRegionConfig=AQ});var Qq=m(Pp=>{"use strict";Object.defineProperty(Pp,"__esModule",{value:!0});var Yq=(z(),j(U));Yq.__exportStar(Kq(),Pp);Yq.__exportStar(Wq(),Pp)});var xp=m(vp=>{"use strict";Object.defineProperty(vp,"__esModule",{value:!0});var Jq=(z(),j(U));Jq.__exportStar($q(),vp);Jq.__exportStar(Qq(),vp)});var n1=m(wp=>{"use strict";Object.defineProperty(wp,"__esModule",{value:!0});wp.resolveRuntimeExtensions=void 0;var Zq=xp(),e1=we(),t1=E(),hC=e=>e,IQ=(e,n)=>{let t={...hC((0,Zq.getAwsRegionExtensionConfiguration)(e)),...hC((0,t1.getDefaultExtensionConfiguration)(e)),...hC((0,e1.getHttpHandlerExtensionConfiguration)(e))};return n.forEach(r=>r.configure(t)),{...e,...(0,Zq.resolveAwsRegionExtensionConfiguration)(t),...(0,t1.resolveDefaultRuntimeConfig)(t),...(0,e1.resolveHttpHandlerRuntimeConfig)(t)}};wp.resolveRuntimeExtensions=IQ});var Bc=m(rs=>{"use strict";Object.defineProperty(rs,"__esModule",{value:!0});rs.SSOClient=rs.__Client=void 0;var r1=Ua(),RQ=za(),NQ=Ga(),o1=dc(),OQ=Qt(),TQ=pc(),qQ=x(),s1=On(),i1=E();Object.defineProperty(rs,"__Client",{enumerable:!0,get:function(){return i1.Client}});var BQ=uq(),MQ=Hq(),DQ=n1(),CC=class extends i1.Client{constructor(...[n]){let t=(0,MQ.getRuntimeConfig)(n||{}),r=(0,BQ.resolveClientEndpointParameters)(t),o=(0,OQ.resolveRegionConfig)(r),s=(0,qQ.resolveEndpointConfig)(o),a=(0,s1.resolveRetryConfig)(s),i=(0,r1.resolveHostHeaderConfig)(a),u=(0,o1.resolveUserAgentConfig)(i),l=(0,DQ.resolveRuntimeExtensions)(u,(n==null?void 0:n.extensions)||[]);super(l),this.config=l,this.middlewareStack.use((0,s1.getRetryPlugin)(this.config)),this.middlewareStack.use((0,TQ.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,r1.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,RQ.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,NQ.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,o1.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}};rs.SSOClient=CC});var kp=m(os=>{"use strict";Object.defineProperty(os,"__esModule",{value:!0});os.SSOServiceException=os.__ServiceException=void 0;var a1=E();Object.defineProperty(os,"__ServiceException",{enumerable:!0,get:function(){return a1.ServiceException}});var SC=class e extends a1.ServiceException{constructor(n){super(n),Object.setPrototypeOf(this,e.prototype)}};os.SSOServiceException=SC});var io=m(Re=>{"use strict";Object.defineProperty(Re,"__esModule",{value:!0});Re.LogoutRequestFilterSensitiveLog=Re.ListAccountsRequestFilterSensitiveLog=Re.ListAccountRolesRequestFilterSensitiveLog=Re.GetRoleCredentialsResponseFilterSensitiveLog=Re.RoleCredentialsFilterSensitiveLog=Re.GetRoleCredentialsRequestFilterSensitiveLog=Re.UnauthorizedException=Re.TooManyRequestsException=Re.ResourceNotFoundException=Re.InvalidRequestException=void 0;var ss=E(),Ap=kp(),EC=class e extends Ap.SSOServiceException{constructor(n){super({name:"InvalidRequestException",$fault:"client",...n}),this.name="InvalidRequestException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};Re.InvalidRequestException=EC;var bC=class e extends Ap.SSOServiceException{constructor(n){super({name:"ResourceNotFoundException",$fault:"client",...n}),this.name="ResourceNotFoundException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};Re.ResourceNotFoundException=bC;var PC=class e extends Ap.SSOServiceException{constructor(n){super({name:"TooManyRequestsException",$fault:"client",...n}),this.name="TooManyRequestsException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};Re.TooManyRequestsException=PC;var vC=class e extends Ap.SSOServiceException{constructor(n){super({name:"UnauthorizedException",$fault:"client",...n}),this.name="UnauthorizedException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};Re.UnauthorizedException=vC;var FQ=e=>({...e,...e.accessToken&&{accessToken:ss.SENSITIVE_STRING}});Re.GetRoleCredentialsRequestFilterSensitiveLog=FQ;var LQ=e=>({...e,...e.secretAccessKey&&{secretAccessKey:ss.SENSITIVE_STRING},...e.sessionToken&&{sessionToken:ss.SENSITIVE_STRING}});Re.RoleCredentialsFilterSensitiveLog=LQ;var jQ=e=>({...e,...e.roleCredentials&&{roleCredentials:(0,Re.RoleCredentialsFilterSensitiveLog)(e.roleCredentials)}});Re.GetRoleCredentialsResponseFilterSensitiveLog=jQ;var UQ=e=>({...e,...e.accessToken&&{accessToken:ss.SENSITIVE_STRING}});Re.ListAccountRolesRequestFilterSensitiveLog=UQ;var zQ=e=>({...e,...e.accessToken&&{accessToken:ss.SENSITIVE_STRING}});Re.ListAccountsRequestFilterSensitiveLog=zQ;var GQ=e=>({...e,...e.accessToken&&{accessToken:ss.SENSITIVE_STRING}});Re.LogoutRequestFilterSensitiveLog=GQ});var Mc=m($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.de_LogoutCommand=$e.de_ListAccountsCommand=$e.de_ListAccountRolesCommand=$e.de_GetRoleCredentialsCommand=$e.se_LogoutCommand=$e.se_ListAccountsCommand=$e.se_ListAccountRolesCommand=$e.se_GetRoleCredentialsCommand=void 0;var Ip=we(),te=E(),Rp=io(),HQ=kp(),$Q=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,te.map)({},Bp,{"x-amz-sso_bearer_token":e.accessToken}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/federation/credentials`,u=(0,te.map)({role_name:[,(0,te.expectNonNull)(e.roleName,"roleName")],account_id:[,(0,te.expectNonNull)(e.accountId,"accountId")]}),l;return new Ip.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};$e.se_GetRoleCredentialsCommand=$Q;var KQ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,te.map)({},Bp,{"x-amz-sso_bearer_token":e.accessToken}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/assignment/roles`,u=(0,te.map)({next_token:[,e.nextToken],max_result:[()=>e.maxResults!==void 0,()=>e.maxResults.toString()],account_id:[,(0,te.expectNonNull)(e.accountId,"accountId")]}),l;return new Ip.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};$e.se_ListAccountRolesCommand=KQ;var VQ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,te.map)({},Bp,{"x-amz-sso_bearer_token":e.accessToken}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/assignment/accounts`,u=(0,te.map)({next_token:[,e.nextToken],max_result:[()=>e.maxResults!==void 0,()=>e.maxResults.toString()]}),l;return new Ip.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};$e.se_ListAccountsCommand=VQ;var XQ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,te.map)({},Bp,{"x-amz-sso_bearer_token":e.accessToken}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/logout`,u;return new Ip.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,body:u})};$e.se_LogoutCommand=XQ;var WQ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return YQ(e,n);let t=(0,te.map)({$metadata:xr(e)}),r=(0,te.expectNonNull)((0,te.expectObject)(await Mp(e.body,n)),"body"),o=(0,te.take)(r,{roleCredentials:te._json});return Object.assign(t,o),t};$e.de_GetRoleCredentialsCommand=WQ;var YQ=async(e,n)=>{let t={...e,body:await Dp(e.body,n)},r=Fp(e,t.body);switch(r){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Op(t,n);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await xC(t,n);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await Tp(t,n);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await qp(t,n);default:let o=t.body;return Np({output:e,parsedBody:o,errorCode:r})}},QQ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return JQ(e,n);let t=(0,te.map)({$metadata:xr(e)}),r=(0,te.expectNonNull)((0,te.expectObject)(await Mp(e.body,n)),"body"),o=(0,te.take)(r,{nextToken:te.expectString,roleList:te._json});return Object.assign(t,o),t};$e.de_ListAccountRolesCommand=QQ;var JQ=async(e,n)=>{let t={...e,body:await Dp(e.body,n)},r=Fp(e,t.body);switch(r){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Op(t,n);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await xC(t,n);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await Tp(t,n);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await qp(t,n);default:let o=t.body;return Np({output:e,parsedBody:o,errorCode:r})}},ZQ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return eJ(e,n);let t=(0,te.map)({$metadata:xr(e)}),r=(0,te.expectNonNull)((0,te.expectObject)(await Mp(e.body,n)),"body"),o=(0,te.take)(r,{accountList:te._json,nextToken:te.expectString});return Object.assign(t,o),t};$e.de_ListAccountsCommand=ZQ;var eJ=async(e,n)=>{let t={...e,body:await Dp(e.body,n)},r=Fp(e,t.body);switch(r){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Op(t,n);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await xC(t,n);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await Tp(t,n);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await qp(t,n);default:let o=t.body;return Np({output:e,parsedBody:o,errorCode:r})}},tJ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return nJ(e,n);let t=(0,te.map)({$metadata:xr(e)});return await(0,te.collectBody)(e.body,n),t};$e.de_LogoutCommand=tJ;var nJ=async(e,n)=>{let t={...e,body:await Dp(e.body,n)},r=Fp(e,t.body);switch(r){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Op(t,n);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await Tp(t,n);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await qp(t,n);default:let o=t.body;return Np({output:e,parsedBody:o,errorCode:r})}},Np=(0,te.withBaseException)(HQ.SSOServiceException),Op=async(e,n)=>{let t=(0,te.map)({}),r=e.body,o=(0,te.take)(r,{message:te.expectString});Object.assign(t,o);let s=new Rp.InvalidRequestException({$metadata:xr(e),...t});return(0,te.decorateServiceException)(s,e.body)},xC=async(e,n)=>{let t=(0,te.map)({}),r=e.body,o=(0,te.take)(r,{message:te.expectString});Object.assign(t,o);let s=new Rp.ResourceNotFoundException({$metadata:xr(e),...t});return(0,te.decorateServiceException)(s,e.body)},Tp=async(e,n)=>{let t=(0,te.map)({}),r=e.body,o=(0,te.take)(r,{message:te.expectString});Object.assign(t,o);let s=new Rp.TooManyRequestsException({$metadata:xr(e),...t});return(0,te.decorateServiceException)(s,e.body)},qp=async(e,n)=>{let t=(0,te.map)({}),r=e.body,o=(0,te.take)(r,{message:te.expectString});Object.assign(t,o);let s=new Rp.UnauthorizedException({$metadata:xr(e),...t});return(0,te.decorateServiceException)(s,e.body)},xr=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),rJ=(e,n)=>(0,te.collectBody)(e,n).then(t=>n.utf8Encoder(t)),Bp=e=>e!=null&&e!==""&&(!Object.getOwnPropertyNames(e).includes("length")||e.length!=0)&&(!Object.getOwnPropertyNames(e).includes("size")||e.size!=0),Mp=(e,n)=>rJ(e,n).then(t=>t.length?JSON.parse(t):{}),Dp=async(e,n)=>{let t=await Mp(e,n);return t.message=t.message??t.Message,t},Fp=(e,n)=>{let t=(s,a)=>Object.keys(s).find(i=>i.toLowerCase()===a.toLowerCase()),r=s=>{let a=s;return typeof a=="number"&&(a=a.toString()),a.indexOf(",")>=0&&(a=a.split(",")[0]),a.indexOf(":")>=0&&(a=a.split(":")[0]),a.indexOf("#")>=0&&(a=a.split("#")[1]),a},o=t(e.headers,"x-amzn-errortype");if(o!==void 0)return r(e.headers[o]);if(n.code!==void 0)return r(n.code);if(n.__type!==void 0)return r(n.__type)}});var kC=m(is=>{"use strict";Object.defineProperty(is,"__esModule",{value:!0});is.GetRoleCredentialsCommand=is.$Command=void 0;var oJ=x(),sJ=w(),l1=E();Object.defineProperty(is,"$Command",{enumerable:!0,get:function(){return l1.Command}});var iJ=v(),c1=io(),d1=Mc(),wC=class e extends l1.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,sJ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,oJ.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOClient",commandName:"GetRoleCredentialsCommand",inputFilterSensitiveLog:c1.GetRoleCredentialsRequestFilterSensitiveLog,outputFilterSensitiveLog:c1.GetRoleCredentialsResponseFilterSensitiveLog,[iJ.SMITHY_CONTEXT_KEY]:{service:"SWBPortalService",operation:"GetRoleCredentials"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,d1.se_GetRoleCredentialsCommand)(n,t)}deserialize(n,t){return(0,d1.de_GetRoleCredentialsCommand)(n,t)}};is.GetRoleCredentialsCommand=wC});var Lp=m(as=>{"use strict";Object.defineProperty(as,"__esModule",{value:!0});as.ListAccountRolesCommand=as.$Command=void 0;var aJ=x(),cJ=w(),m1=E();Object.defineProperty(as,"$Command",{enumerable:!0,get:function(){return m1.Command}});var dJ=v(),lJ=io(),u1=Mc(),AC=class e extends m1.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,cJ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,aJ.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOClient",commandName:"ListAccountRolesCommand",inputFilterSensitiveLog:lJ.ListAccountRolesRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[dJ.SMITHY_CONTEXT_KEY]:{service:"SWBPortalService",operation:"ListAccountRoles"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,u1.se_ListAccountRolesCommand)(n,t)}deserialize(n,t){return(0,u1.de_ListAccountRolesCommand)(n,t)}};as.ListAccountRolesCommand=AC});var jp=m(cs=>{"use strict";Object.defineProperty(cs,"__esModule",{value:!0});cs.ListAccountsCommand=cs.$Command=void 0;var uJ=x(),mJ=w(),f1=E();Object.defineProperty(cs,"$Command",{enumerable:!0,get:function(){return f1.Command}});var pJ=v(),fJ=io(),p1=Mc(),IC=class e extends f1.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,mJ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,uJ.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOClient",commandName:"ListAccountsCommand",inputFilterSensitiveLog:fJ.ListAccountsRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[pJ.SMITHY_CONTEXT_KEY]:{service:"SWBPortalService",operation:"ListAccounts"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,p1.se_ListAccountsCommand)(n,t)}deserialize(n,t){return(0,p1.de_ListAccountsCommand)(n,t)}};cs.ListAccountsCommand=IC});var NC=m(ds=>{"use strict";Object.defineProperty(ds,"__esModule",{value:!0});ds.LogoutCommand=ds.$Command=void 0;var yJ=x(),_J=w(),_1=E();Object.defineProperty(ds,"$Command",{enumerable:!0,get:function(){return _1.Command}});var gJ=v(),hJ=io(),y1=Mc(),RC=class e extends _1.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,_J.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,yJ.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOClient",commandName:"LogoutCommand",inputFilterSensitiveLog:hJ.LogoutRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[gJ.SMITHY_CONTEXT_KEY]:{service:"SWBPortalService",operation:"Logout"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,y1.se_LogoutCommand)(n,t)}deserialize(n,t){return(0,y1.de_LogoutCommand)(n,t)}};ds.LogoutCommand=RC});var g1=m(zp=>{"use strict";Object.defineProperty(zp,"__esModule",{value:!0});zp.SSO=void 0;var CJ=E(),SJ=kC(),EJ=Lp(),bJ=jp(),PJ=NC(),vJ=Bc(),xJ={GetRoleCredentialsCommand:SJ.GetRoleCredentialsCommand,ListAccountRolesCommand:EJ.ListAccountRolesCommand,ListAccountsCommand:bJ.ListAccountsCommand,LogoutCommand:PJ.LogoutCommand},Up=class extends vJ.SSOClient{};zp.SSO=Up;(0,CJ.createAggregatedClient)(xJ,Up)});var h1=m(ls=>{"use strict";Object.defineProperty(ls,"__esModule",{value:!0});var Gp=(z(),j(U));Gp.__exportStar(kC(),ls);Gp.__exportStar(Lp(),ls);Gp.__exportStar(jp(),ls);Gp.__exportStar(NC(),ls)});var S1=m(C1=>{"use strict";Object.defineProperty(C1,"__esModule",{value:!0})});var E1=m(Hp=>{"use strict";Object.defineProperty(Hp,"__esModule",{value:!0});Hp.paginateListAccountRoles=void 0;var wJ=Lp(),kJ=Bc(),AJ=async(e,n,...t)=>await e.send(new wJ.ListAccountRolesCommand(n),...t);async function*IJ(e,n,...t){let r=e.startingToken||void 0,o=!0,s;for(;o;){if(n.nextToken=r,n.maxResults=e.pageSize,e.client instanceof kJ.SSOClient)s=await AJ(e.client,n,...t);else throw new Error("Invalid client, expected SSO | SSOClient");yield s;let a=r;r=s.nextToken,o=!!(r&&(!e.stopOnSameToken||r!==a))}return void 0}Hp.paginateListAccountRoles=IJ});var b1=m($p=>{"use strict";Object.defineProperty($p,"__esModule",{value:!0});$p.paginateListAccounts=void 0;var RJ=jp(),NJ=Bc(),OJ=async(e,n,...t)=>await e.send(new RJ.ListAccountsCommand(n),...t);async function*TJ(e,n,...t){let r=e.startingToken||void 0,o=!0,s;for(;o;){if(n.nextToken=r,n.maxResults=e.pageSize,e.client instanceof NJ.SSOClient)s=await OJ(e.client,n,...t);else throw new Error("Invalid client, expected SSO | SSOClient");yield s;let a=r;r=s.nextToken,o=!!(r&&(!e.stopOnSameToken||r!==a))}return void 0}$p.paginateListAccounts=TJ});var P1=m(Dc=>{"use strict";Object.defineProperty(Dc,"__esModule",{value:!0});var OC=(z(),j(U));OC.__exportStar(S1(),Dc);OC.__exportStar(E1(),Dc);OC.__exportStar(b1(),Dc)});var v1=m(TC=>{"use strict";Object.defineProperty(TC,"__esModule",{value:!0});var qJ=(z(),j(U));qJ.__exportStar(io(),TC)});var x1=m(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.SSOServiceException=void 0;var Fc=(z(),j(U));Fc.__exportStar(Bc(),Ln);Fc.__exportStar(g1(),Ln);Fc.__exportStar(h1(),Ln);Fc.__exportStar(P1(),Ln);Fc.__exportStar(v1(),Ln);var BJ=kp();Object.defineProperty(Ln,"SSOServiceException",{enumerable:!0,get:function(){return BJ.SSOServiceException}})});var Xp=m(Ee=>{"use strict";Object.defineProperty(Ee,"__esModule",{value:!0});Ee.UnsupportedGrantTypeException=Ee.UnauthorizedClientException=Ee.SlowDownException=Ee.SSOOIDCClient=Ee.InvalidScopeException=Ee.InvalidRequestException=Ee.InvalidClientException=Ee.InternalServerException=Ee.ExpiredTokenException=Ee.CreateTokenCommand=Ee.AuthorizationPendingException=Ee.AccessDeniedException=void 0;var w1=Ua(),MJ=za(),DJ=Ga(),k1=dc(),FJ=Qt(),LJ=pc(),jJ=x(),A1=On(),UJ=E(),zJ=e=>{var n,t;return{...e,useDualstackEndpoint:(n=e.useDualstackEndpoint)!==null&&n!==void 0?n:!1,useFipsEndpoint:(t=e.useFipsEndpoint)!==null&&t!==void 0?t:!1,defaultSigningName:"awsssooidc"}},GJ={version:"3.387.0"},HJ=Ic(),Kp=Qt(),$J=Rc(),I1=On(),Lc=An(),R1=Po(),KJ=Nc(),VJ=Rt(),XJ=E(),WJ=Jr(),N1=So(),O1=Pt(),YJ=zo(),j1="required",jn="fn",Un="argv",us="ref",qC="PartitionResult",ln="tree",jc="error",Uc="endpoint",T1={[j1]:!1,type:"String"},q1={[j1]:!0,default:!1,type:"Boolean"},U1={[us]:"Endpoint"},z1={[jn]:"booleanEquals",[Un]:[{[us]:"UseFIPS"},!0]},G1={[jn]:"booleanEquals",[Un]:[{[us]:"UseDualStack"},!0]},un={},B1={[jn]:"booleanEquals",[Un]:[!0,{[jn]:"getAttr",[Un]:[{[us]:qC},"supportsFIPS"]}]},M1={[jn]:"booleanEquals",[Un]:[!0,{[jn]:"getAttr",[Un]:[{[us]:qC},"supportsDualStack"]}]},D1=[U1],F1=[z1],L1=[G1],QJ={version:"1.0",parameters:{Region:T1,UseDualStack:q1,UseFIPS:q1,Endpoint:T1},rules:[{conditions:[{[jn]:"aws.partition",[Un]:[{[us]:"Region"}],assign:qC}],type:ln,rules:[{conditions:[{[jn]:"isSet",[Un]:D1},{[jn]:"parseURL",[Un]:D1,assign:"url"}],type:ln,rules:[{conditions:F1,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:jc},{type:ln,rules:[{conditions:L1,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:jc},{endpoint:{url:U1,properties:un,headers:un},type:Uc}]}]},{conditions:[z1,G1],type:ln,rules:[{conditions:[B1,M1],type:ln,rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:un,headers:un},type:Uc}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:jc}]},{conditions:F1,type:ln,rules:[{conditions:[B1],type:ln,rules:[{type:ln,rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:un,headers:un},type:Uc}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:jc}]},{conditions:L1,type:ln,rules:[{conditions:[M1],type:ln,rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:un,headers:un},type:Uc}]},{error:"DualStack is enabled but this partition does not support DualStack",type:jc}]},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:un,headers:un},type:Uc}]}]},JJ=QJ,ZJ=(e,n={})=>(0,YJ.resolveEndpoint)(JJ,{endpointParams:e,logger:n.logger}),eZ=e=>{var n,t,r,o,s,a,i,u,l;return{apiVersion:"2019-06-10",base64Decoder:(n=e==null?void 0:e.base64Decoder)!==null&&n!==void 0?n:N1.fromBase64,base64Encoder:(t=e==null?void 0:e.base64Encoder)!==null&&t!==void 0?t:N1.toBase64,disableHostPrefix:(r=e==null?void 0:e.disableHostPrefix)!==null&&r!==void 0?r:!1,endpointProvider:(o=e==null?void 0:e.endpointProvider)!==null&&o!==void 0?o:ZJ,logger:(s=e==null?void 0:e.logger)!==null&&s!==void 0?s:new XJ.NoOpLogger,serviceId:(a=e==null?void 0:e.serviceId)!==null&&a!==void 0?a:"SSO OIDC",urlParser:(i=e==null?void 0:e.urlParser)!==null&&i!==void 0?i:WJ.parseUrl,utf8Decoder:(u=e==null?void 0:e.utf8Decoder)!==null&&u!==void 0?u:O1.fromUtf8,utf8Encoder:(l=e==null?void 0:e.utf8Encoder)!==null&&l!==void 0?l:O1.toUtf8}},tZ=E(),nZ=Tc(),rZ=E(),oZ=e=>{var n,t,r,o,s,a,i,u,l,c;(0,rZ.emitWarningIfUnsupportedVersion)(process.version);let y=(0,nZ.resolveDefaultsModeConfig)(e),_=()=>y().then(tZ.loadConfigsForDefaultMode),C=eZ(e);return{...C,...e,runtime:"node",defaultsMode:y,bodyLengthChecker:(n=e==null?void 0:e.bodyLengthChecker)!==null&&n!==void 0?n:KJ.calculateBodyLength,defaultUserAgentProvider:(t=e==null?void 0:e.defaultUserAgentProvider)!==null&&t!==void 0?t:(0,HJ.defaultUserAgent)({serviceId:C.serviceId,clientVersion:GJ.version}),maxAttempts:(r=e==null?void 0:e.maxAttempts)!==null&&r!==void 0?r:(0,Lc.loadConfig)(I1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:(o=e==null?void 0:e.region)!==null&&o!==void 0?o:(0,Lc.loadConfig)(Kp.NODE_REGION_CONFIG_OPTIONS,Kp.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(s=e==null?void 0:e.requestHandler)!==null&&s!==void 0?s:new R1.NodeHttpHandler(_),retryMode:(a=e==null?void 0:e.retryMode)!==null&&a!==void 0?a:(0,Lc.loadConfig)({...I1.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await _()).retryMode||VJ.DEFAULT_RETRY_MODE}),sha256:(i=e==null?void 0:e.sha256)!==null&&i!==void 0?i:$J.Hash.bind(null,"sha256"),streamCollector:(u=e==null?void 0:e.streamCollector)!==null&&u!==void 0?u:R1.streamCollector,useDualstackEndpoint:(l=e==null?void 0:e.useDualstackEndpoint)!==null&&l!==void 0?l:(0,Lc.loadConfig)(Kp.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(c=e==null?void 0:e.useFipsEndpoint)!==null&&c!==void 0?c:(0,Lc.loadConfig)(Kp.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}},H1=class extends UJ.Client{constructor(...[e]){let n=oZ(e||{}),t=zJ(n),r=(0,FJ.resolveRegionConfig)(t),o=(0,jJ.resolveEndpointConfig)(r),s=(0,A1.resolveRetryConfig)(o),a=(0,w1.resolveHostHeaderConfig)(s),i=(0,k1.resolveUserAgentConfig)(a);super(i),this.config=i,this.middlewareStack.use((0,A1.getRetryPlugin)(this.config)),this.middlewareStack.use((0,LJ.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,w1.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,MJ.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,DJ.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,k1.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}};Ee.SSOOIDCClient=H1;var sZ=E(),iZ=x(),aZ=w(),cZ=E(),BC=we(),N=E(),dZ=E(),St=class $1 extends dZ.ServiceException{constructor(n){super(n),Object.setPrototypeOf(this,$1.prototype)}},K1=class V1 extends St{constructor(n){super({name:"AccessDeniedException",$fault:"client",...n}),this.name="AccessDeniedException",this.$fault="client",Object.setPrototypeOf(this,V1.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.AccessDeniedException=K1;var X1=class W1 extends St{constructor(n){super({name:"AuthorizationPendingException",$fault:"client",...n}),this.name="AuthorizationPendingException",this.$fault="client",Object.setPrototypeOf(this,W1.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.AuthorizationPendingException=X1;var Y1=class Q1 extends St{constructor(n){super({name:"ExpiredTokenException",$fault:"client",...n}),this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,Q1.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.ExpiredTokenException=Y1;var J1=class Z1 extends St{constructor(n){super({name:"InternalServerException",$fault:"server",...n}),this.name="InternalServerException",this.$fault="server",Object.setPrototypeOf(this,Z1.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.InternalServerException=J1;var eB=class tB extends St{constructor(n){super({name:"InvalidClientException",$fault:"client",...n}),this.name="InvalidClientException",this.$fault="client",Object.setPrototypeOf(this,tB.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.InvalidClientException=eB;var lZ=class nB extends St{constructor(n){super({name:"InvalidGrantException",$fault:"client",...n}),this.name="InvalidGrantException",this.$fault="client",Object.setPrototypeOf(this,nB.prototype),this.error=n.error,this.error_description=n.error_description}},rB=class oB extends St{constructor(n){super({name:"InvalidRequestException",$fault:"client",...n}),this.name="InvalidRequestException",this.$fault="client",Object.setPrototypeOf(this,oB.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.InvalidRequestException=rB;var sB=class iB extends St{constructor(n){super({name:"InvalidScopeException",$fault:"client",...n}),this.name="InvalidScopeException",this.$fault="client",Object.setPrototypeOf(this,iB.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.InvalidScopeException=sB;var aB=class cB extends St{constructor(n){super({name:"SlowDownException",$fault:"client",...n}),this.name="SlowDownException",this.$fault="client",Object.setPrototypeOf(this,cB.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.SlowDownException=aB;var dB=class lB extends St{constructor(n){super({name:"UnauthorizedClientException",$fault:"client",...n}),this.name="UnauthorizedClientException",this.$fault="client",Object.setPrototypeOf(this,lB.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.UnauthorizedClientException=dB;var uB=class mB extends St{constructor(n){super({name:"UnsupportedGrantTypeException",$fault:"client",...n}),this.name="UnsupportedGrantTypeException",this.$fault="client",Object.setPrototypeOf(this,mB.prototype),this.error=n.error,this.error_description=n.error_description}};Ee.UnsupportedGrantTypeException=uB;var uZ=class pB extends St{constructor(n){super({name:"InvalidClientMetadataException",$fault:"client",...n}),this.name="InvalidClientMetadataException",this.$fault="client",Object.setPrototypeOf(this,pB.prototype),this.error=n.error,this.error_description=n.error_description}},mZ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={"content-type":"application/json"},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/token`,u;return u=JSON.stringify((0,N.take)(e,{clientId:[],clientSecret:[],code:[],deviceCode:[],grantType:[],redirectUri:[],refreshToken:[],scope:l=>(0,N._json)(l)})),new BC.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,body:u})},pZ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={"content-type":"application/json"},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/client/register`,u;return u=JSON.stringify((0,N.take)(e,{clientName:[],clientType:[],scopes:l=>(0,N._json)(l)})),new BC.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,body:u})},fZ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={"content-type":"application/json"},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/device_authorization`,u;return u=JSON.stringify((0,N.take)(e,{clientId:[],clientSecret:[],startUrl:[]})),new BC.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,body:u})},yZ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return _Z(e,n);let t=(0,N.map)({$metadata:ct(e)}),r=(0,N.expectNonNull)((0,N.expectObject)(await Vp(e.body,n)),"body"),o=(0,N.take)(r,{accessToken:N.expectString,expiresIn:N.expectInt32,idToken:N.expectString,refreshToken:N.expectString,tokenType:N.expectString});return Object.assign(t,o),t},_Z=async(e,n)=>{let t={...e,body:await LC(e.body,n)},r=jC(e,t.body);switch(r){case"AccessDeniedException":case"com.amazonaws.ssooidc#AccessDeniedException":throw await EZ(t,n);case"AuthorizationPendingException":case"com.amazonaws.ssooidc#AuthorizationPendingException":throw await bZ(t,n);case"ExpiredTokenException":case"com.amazonaws.ssooidc#ExpiredTokenException":throw await PZ(t,n);case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await DC(t,n);case"InvalidClientException":case"com.amazonaws.ssooidc#InvalidClientException":throw await fB(t,n);case"InvalidGrantException":case"com.amazonaws.ssooidc#InvalidGrantException":throw await xZ(t,n);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await FC(t,n);case"InvalidScopeException":case"com.amazonaws.ssooidc#InvalidScopeException":throw await yB(t,n);case"SlowDownException":case"com.amazonaws.ssooidc#SlowDownException":throw await _B(t,n);case"UnauthorizedClientException":case"com.amazonaws.ssooidc#UnauthorizedClientException":throw await gB(t,n);case"UnsupportedGrantTypeException":case"com.amazonaws.ssooidc#UnsupportedGrantTypeException":throw await wZ(t,n);default:let o=t.body;return MC({output:e,parsedBody:o,errorCode:r})}},gZ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return hZ(e,n);let t=(0,N.map)({$metadata:ct(e)}),r=(0,N.expectNonNull)((0,N.expectObject)(await Vp(e.body,n)),"body"),o=(0,N.take)(r,{authorizationEndpoint:N.expectString,clientId:N.expectString,clientIdIssuedAt:N.expectLong,clientSecret:N.expectString,clientSecretExpiresAt:N.expectLong,tokenEndpoint:N.expectString});return Object.assign(t,o),t},hZ=async(e,n)=>{let t={...e,body:await LC(e.body,n)},r=jC(e,t.body);switch(r){case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await DC(t,n);case"InvalidClientMetadataException":case"com.amazonaws.ssooidc#InvalidClientMetadataException":throw await vZ(t,n);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await FC(t,n);case"InvalidScopeException":case"com.amazonaws.ssooidc#InvalidScopeException":throw await yB(t,n);default:let o=t.body;return MC({output:e,parsedBody:o,errorCode:r})}},CZ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return SZ(e,n);let t=(0,N.map)({$metadata:ct(e)}),r=(0,N.expectNonNull)((0,N.expectObject)(await Vp(e.body,n)),"body"),o=(0,N.take)(r,{deviceCode:N.expectString,expiresIn:N.expectInt32,interval:N.expectInt32,userCode:N.expectString,verificationUri:N.expectString,verificationUriComplete:N.expectString});return Object.assign(t,o),t},SZ=async(e,n)=>{let t={...e,body:await LC(e.body,n)},r=jC(e,t.body);switch(r){case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await DC(t,n);case"InvalidClientException":case"com.amazonaws.ssooidc#InvalidClientException":throw await fB(t,n);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await FC(t,n);case"SlowDownException":case"com.amazonaws.ssooidc#SlowDownException":throw await _B(t,n);case"UnauthorizedClientException":case"com.amazonaws.ssooidc#UnauthorizedClientException":throw await gB(t,n);default:let o=t.body;return MC({output:e,parsedBody:o,errorCode:r})}},MC=(0,N.withBaseException)(St),EZ=async(e,n)=>{let t=(0,N.map)({}),r=e.body,o=(0,N.take)(r,{error:N.expectString,error_description:N.expectString});Object.assign(t,o);let s=new K1({$metadata:ct(e),...t});return(0,N.decorateServiceException)(s,e.body)},bZ=async(e,n)=>{let t=(0,N.map)({}),r=e.body,o=(0,N.take)(r,{error:N.expectString,error_description:N.expectString});Object.assign(t,o);let s=new X1({$metadata:ct(e),...t});return(0,N.decorateServiceException)(s,e.body)},PZ=async(e,n)=>{let t=(0,N.map)({}),r=e.body,o=(0,N.take)(r,{error:N.expectString,error_description:N.expectString});Object.assign(t,o);let s=new Y1({$metadata:ct(e),...t});return(0,N.decorateServiceException)(s,e.body)},DC=async(e,n)=>{let t=(0,N.map)({}),r=e.body,o=(0,N.take)(r,{error:N.expectString,error_description:N.expectString});Object.assign(t,o);let s=new J1({$metadata:ct(e),...t});return(0,N.decorateServiceException)(s,e.body)},fB=async(e,n)=>{let t=(0,N.map)({}),r=e.body,o=(0,N.take)(r,{error:N.expectString,error_description:N.expectString});Object.assign(t,o);let s=new eB({$metadata:ct(e),...t});return(0,N.decorateServiceException)(s,e.body)},vZ=async(e,n)=>{let t=(0,N.map)({}),r=e.body,o=(0,N.take)(r,{error:N.expectString,error_description:N.expectString});Object.assign(t,o);let s=new uZ({$metadata:ct(e),...t});return(0,N.decorateServiceException)(s,e.body)},xZ=async(e,n)=>{let t=(0,N.map)({}),r=e.body,o=(0,N.take)(r,{error:N.expectString,error_description:N.expectString});Object.assign(t,o);let s=new lZ({$metadata:ct(e),...t});return(0,N.decorateServiceException)(s,e.body)},FC=async(e,n)=>{let t=(0,N.map)({}),r=e.body,o=(0,N.take)(r,{error:N.expectString,error_description:N.expectString});Object.assign(t,o);let s=new rB({$metadata:ct(e),...t});return(0,N.decorateServiceException)(s,e.body)},yB=async(e,n)=>{let t=(0,N.map)({}),r=e.body,o=(0,N.take)(r,{error:N.expectString,error_description:N.expectString});Object.assign(t,o);let s=new sB({$metadata:ct(e),...t});return(0,N.decorateServiceException)(s,e.body)},_B=async(e,n)=>{let t=(0,N.map)({}),r=e.body,o=(0,N.take)(r,{error:N.expectString,error_description:N.expectString});Object.assign(t,o);let s=new aB({$metadata:ct(e),...t});return(0,N.decorateServiceException)(s,e.body)},gB=async(e,n)=>{let t=(0,N.map)({}),r=e.body,o=(0,N.take)(r,{error:N.expectString,error_description:N.expectString});Object.assign(t,o);let s=new dB({$metadata:ct(e),...t});return(0,N.decorateServiceException)(s,e.body)},wZ=async(e,n)=>{let t=(0,N.map)({}),r=e.body,o=(0,N.take)(r,{error:N.expectString,error_description:N.expectString});Object.assign(t,o);let s=new uB({$metadata:ct(e),...t});return(0,N.decorateServiceException)(s,e.body)},ct=e=>{var n,t;return{httpStatusCode:e.statusCode,requestId:(t=(n=e.headers["x-amzn-requestid"])!==null&&n!==void 0?n:e.headers["x-amzn-request-id"])!==null&&t!==void 0?t:e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}},kZ=(e,n)=>(0,N.collectBody)(e,n).then(t=>n.utf8Encoder(t)),Vp=(e,n)=>kZ(e,n).then(t=>t.length?JSON.parse(t):{}),LC=async(e,n)=>{var t;let r=await Vp(e,n);return r.message=(t=r.message)!==null&&t!==void 0?t:r.Message,r},jC=(e,n)=>{let t=(s,a)=>Object.keys(s).find(i=>i.toLowerCase()===a.toLowerCase()),r=s=>{let a=s;return typeof a=="number"&&(a=a.toString()),a.indexOf(",")>=0&&(a=a.split(",")[0]),a.indexOf(":")>=0&&(a=a.split(":")[0]),a.indexOf("#")>=0&&(a=a.split("#")[1]),a},o=t(e.headers,"x-amzn-errortype");if(o!==void 0)return r(e.headers[o]);if(n.code!==void 0)return r(n.code);if(n.__type!==void 0)return r(n.__type)},hB=class CB extends cZ.Command{constructor(n){super(),this.input=n}static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}resolveMiddleware(n,t,r){this.middlewareStack.use((0,aZ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,iZ.getEndpointPlugin)(t,CB.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOOIDCClient",commandName:"CreateTokenCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return mZ(n,t)}deserialize(n,t){return yZ(n,t)}};Ee.CreateTokenCommand=hB;var AZ=x(),IZ=w(),RZ=E(),NZ=class SB extends RZ.Command{constructor(n){super(),this.input=n}static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}resolveMiddleware(n,t,r){this.middlewareStack.use((0,IZ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,AZ.getEndpointPlugin)(t,SB.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOOIDCClient",commandName:"RegisterClientCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return pZ(n,t)}deserialize(n,t){return gZ(n,t)}},OZ=x(),TZ=w(),qZ=E(),BZ=class EB extends qZ.Command{constructor(n){super(),this.input=n}static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}resolveMiddleware(n,t,r){this.middlewareStack.use((0,TZ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,OZ.getEndpointPlugin)(t,EB.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOOIDCClient",commandName:"StartDeviceAuthorizationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return fZ(n,t)}deserialize(n,t){return CZ(n,t)}},MZ={CreateTokenCommand:hB,RegisterClientCommand:NZ,StartDeviceAuthorizationCommand:BZ},DZ=class extends H1{};(0,sZ.createAggregatedClient)(MZ,DZ)});var Wp=m(ms=>{"use strict";Object.defineProperty(ms,"__esModule",{value:!0});ms.REFRESH_MESSAGE=ms.EXPIRE_WINDOW_MS=void 0;ms.EXPIRE_WINDOW_MS=5*60*1e3;ms.REFRESH_MESSAGE="To refresh this SSO session run 'aws sso login' with the corresponding profile."});var bB=m(Yp=>{"use strict";Object.defineProperty(Yp,"__esModule",{value:!0});Yp.getSsoOidcClient=void 0;var FZ=Xp(),UC={},LZ=e=>{if(UC[e])return UC[e];let n=new FZ.SSOOIDCClient({region:e});return UC[e]=n,n};Yp.getSsoOidcClient=LZ});var PB=m(Qp=>{"use strict";Object.defineProperty(Qp,"__esModule",{value:!0});Qp.getNewSsoOidcToken=void 0;var jZ=Xp(),UZ=bB(),zZ=(e,n)=>(0,UZ.getSsoOidcClient)(n).send(new jZ.CreateTokenCommand({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}));Qp.getNewSsoOidcToken=zZ});var vB=m(Jp=>{"use strict";Object.defineProperty(Jp,"__esModule",{value:!0});Jp.validateTokenExpiry=void 0;var GZ=Se(),HZ=Wp(),$Z=e=>{if(e.expiration&&e.expiration.getTime(){"use strict";Object.defineProperty(Zp,"__esModule",{value:!0});Zp.validateTokenKey=void 0;var KZ=Se(),VZ=Wp(),XZ=(e,n,t=!1)=>{if(typeof n>"u")throw new KZ.TokenProviderError(`Value not present for '${e}' in SSO Token${t?". Cannot refresh":""}. ${VZ.REFRESH_MESSAGE}`,!1)};Zp.validateTokenKey=XZ});var wB=m(ef=>{"use strict";Object.defineProperty(ef,"__esModule",{value:!0});ef.writeSSOTokenToFile=void 0;var WZ=Dt(),YZ=require("fs"),{writeFile:QZ}=YZ.promises,JZ=(e,n)=>{let t=(0,WZ.getSSOTokenFilepath)(e),r=JSON.stringify(n,null,2);return QZ(t,r)};ef.writeSSOTokenToFile=JZ});var zC=m(nf=>{"use strict";Object.defineProperty(nf,"__esModule",{value:!0});nf.fromSso=void 0;var zc=Se(),tf=Dt(),kB=Wp(),ZZ=PB(),AB=vB(),ao=xB(),eee=wB(),IB=new Date(0),tee=(e={})=>async()=>{let n=await(0,tf.parseKnownFiles)(e),t=(0,tf.getProfileName)(e),r=n[t];if(r){if(!r.sso_session)throw new zc.TokenProviderError(`Profile '${t}' is missing required property 'sso_session'.`)}else throw new zc.TokenProviderError(`Profile '${t}' could not be found in shared credentials file.`,!1);let o=r.sso_session,a=(await(0,tf.loadSsoSessionData)(e))[o];if(!a)throw new zc.TokenProviderError(`Sso session '${o}' could not be found in shared credentials file.`,!1);for(let C of["sso_start_url","sso_region"])if(!a[C])throw new zc.TokenProviderError(`Sso session '${o}' is missing required property '${C}'.`,!1);let i=a.sso_start_url,u=a.sso_region,l;try{l=await(0,tf.getSSOTokenFromFile)(o)}catch{throw new zc.TokenProviderError(`The SSO session token associated with profile=${t} was not found or is invalid. ${kB.REFRESH_MESSAGE}`,!1)}(0,ao.validateTokenKey)("accessToken",l.accessToken),(0,ao.validateTokenKey)("expiresAt",l.expiresAt);let{accessToken:c,expiresAt:y}=l,_={token:c,expiration:new Date(y)};if(_.expiration.getTime()-Date.now()>kB.EXPIRE_WINDOW_MS)return _;if(Date.now()-IB.getTime()<30*1e3)return(0,AB.validateTokenExpiry)(_),_;(0,ao.validateTokenKey)("clientId",l.clientId,!0),(0,ao.validateTokenKey)("clientSecret",l.clientSecret,!0),(0,ao.validateTokenKey)("refreshToken",l.refreshToken,!0);try{IB.setTime(Date.now());let C=await(0,ZZ.getNewSsoOidcToken)(l,u);(0,ao.validateTokenKey)("accessToken",C.accessToken),(0,ao.validateTokenKey)("expiresIn",C.expiresIn);let b=new Date(Date.now()+C.expiresIn*1e3);try{await(0,eee.writeSSOTokenToFile)(o,{...l,accessToken:C.accessToken,expiresAt:b.toISOString(),refreshToken:C.refreshToken})}catch{}return{token:C.accessToken,expiration:b}}catch{return(0,AB.validateTokenExpiry)(_),_}};nf.fromSso=tee});var RB=m(rf=>{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.fromStatic=void 0;var nee=Se(),ree=({token:e})=>async()=>{if(!e||!e.token)throw new nee.TokenProviderError("Please pass a valid token to fromStatic",!1);return e};rf.fromStatic=ree});var NB=m(of=>{"use strict";Object.defineProperty(of,"__esModule",{value:!0});of.nodeProvider=void 0;var GC=Se(),oee=zC(),see=(e={})=>(0,GC.memoize)((0,GC.chain)((0,oee.fromSso)(e),async()=>{throw new GC.TokenProviderError("Could not load token from any providers",!1)}),n=>n.expiration!==void 0&&n.expiration.getTime()-Date.now()<3e5,n=>n.expiration!==void 0);of.nodeProvider=see});var OB=m(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});var sf=(z(),j(U));sf.__exportStar(Xp(),ps);sf.__exportStar(zC(),ps);sf.__exportStar(RB(),ps);sf.__exportStar(NB(),ps)});var qB=m(af=>{"use strict";Object.defineProperty(af,"__esModule",{value:!0});af.resolveSSOCredentials=void 0;var TB=x1(),iee=OB(),Gc=Se(),aee=Dt(),Hc=!1,cee=async({ssoStartUrl:e,ssoSession:n,ssoAccountId:t,ssoRegion:r,ssoRoleName:o,ssoClient:s,profile:a})=>{let i,u="To refresh this SSO session run aws sso login with the corresponding profile.";if(n)try{let R=await(0,iee.fromSso)({profile:a})();i={accessToken:R.token,expiresAt:new Date(R.expiration).toISOString()}}catch(R){throw new Gc.CredentialsProviderError(R.message,Hc)}else try{i=await(0,aee.getSSOTokenFromFile)(e)}catch{throw new Gc.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${u}`,Hc)}if(new Date(i.expiresAt).getTime()-Date.now()<=0)throw new Gc.CredentialsProviderError(`The SSO session associated with this profile has expired. ${u}`,Hc);let{accessToken:l}=i,c=s||new TB.SSOClient({region:r}),y;try{y=await c.send(new TB.GetRoleCredentialsCommand({accountId:t,roleName:o,accessToken:l}))}catch(R){throw Gc.CredentialsProviderError.from(R,Hc)}let{roleCredentials:{accessKeyId:_,secretAccessKey:C,sessionToken:b,expiration:B}={}}=y;if(!_||!C||!b||!B)throw new Gc.CredentialsProviderError("SSO returns an invalid temporary credential.",Hc);return{accessKeyId:_,secretAccessKey:C,sessionToken:b,expiration:new Date(B)}};af.resolveSSOCredentials=cee});var HC=m(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});cf.validateSsoProfile=void 0;var dee=Se(),lee=e=>{let{sso_start_url:n,sso_account_id:t,sso_region:r,sso_role_name:o}=e;if(!n||!t||!r||!o)throw new dee.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")} +Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,!1);return e};cf.validateSsoProfile=lee});var MB=m(df=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});df.fromSSO=void 0;var $c=Se(),$C=Dt(),uee=lC(),BB=qB(),mee=HC(),pee=(e={})=>async()=>{let{ssoStartUrl:n,ssoAccountId:t,ssoRegion:r,ssoRoleName:o,ssoClient:s,ssoSession:a}=e,i=(0,$C.getProfileName)(e);if(!n&&!t&&!r&&!o&&!a){let l=(await(0,$C.parseKnownFiles)(e))[i];if(!l)throw new $c.CredentialsProviderError(`Profile ${i} was not found.`);if(!(0,uee.isSsoProfile)(l))throw new $c.CredentialsProviderError(`Profile ${i} is not configured with SSO credentials.`);if(l!=null&&l.sso_session){let R=(await(0,$C.loadSsoSessionData)(e))[l.sso_session],K=` configurations in profile ${i} and sso-session ${l.sso_session}`;if(r&&r!==R.sso_region)throw new $c.CredentialsProviderError("Conflicting SSO region"+K,!1);if(n&&n!==R.sso_start_url)throw new $c.CredentialsProviderError("Conflicting SSO start_url"+K,!1);l.sso_region=R.sso_region,l.sso_start_url=R.sso_start_url}let{sso_start_url:c,sso_account_id:y,sso_region:_,sso_role_name:C,sso_session:b}=(0,mee.validateSsoProfile)(l);return(0,BB.resolveSSOCredentials)({ssoStartUrl:c,ssoSession:b,ssoAccountId:y,ssoRegion:_,ssoRoleName:C,ssoClient:s,profile:i})}else{if(!n||!t||!r||!o)throw new $c.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"');return(0,BB.resolveSSOCredentials)({ssoStartUrl:n,ssoSession:a,ssoAccountId:t,ssoRegion:r,ssoRoleName:o,ssoClient:s,profile:i})}};df.fromSSO=pee});var FB=m(DB=>{"use strict";Object.defineProperty(DB,"__esModule",{value:!0})});var uf=m(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});var lf=(z(),j(U));lf.__exportStar(MB(),fs);lf.__exportStar(lC(),fs);lf.__exportStar(FB(),fs);lf.__exportStar(HC(),fs)});var jB=m(ys=>{"use strict";Object.defineProperty(ys,"__esModule",{value:!0});ys.resolveSsoCredentials=ys.isSsoProfile=void 0;var LB=uf(),fee=uf();Object.defineProperty(ys,"isSsoProfile",{enumerable:!0,get:function(){return fee.isSsoProfile}});var yee=e=>{let{sso_start_url:n,sso_account_id:t,sso_session:r,sso_region:o,sso_role_name:s}=(0,LB.validateSsoProfile)(e);return(0,LB.fromSSO)({ssoStartUrl:n,ssoAccountId:t,ssoSession:r,ssoRegion:o,ssoRoleName:s})()};ys.resolveSsoCredentials=yee});var UB=m(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.resolveStaticCredentials=_s.isStaticCredsProfile=void 0;var _ee=e=>!!e&&typeof e=="object"&&typeof e.aws_access_key_id=="string"&&typeof e.aws_secret_access_key=="string"&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1;_s.isStaticCredsProfile=_ee;var gee=e=>Promise.resolve({accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token});_s.resolveStaticCredentials=gee});var KC=m(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});mf.fromWebToken=void 0;var hee=Se(),Cee=e=>()=>{let{roleArn:n,roleSessionName:t,webIdentityToken:r,providerId:o,policyArns:s,policy:a,durationSeconds:i,roleAssumerWithWebIdentity:u}=e;if(!u)throw new hee.CredentialsProviderError(`Role Arn '${n}' needs to be assumed with web identity, but no role assumption callback was provided.`,!1);return u({RoleArn:n,RoleSessionName:t??`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:r,ProviderId:o,PolicyArns:s,Policy:a,DurationSeconds:i})};mf.fromWebToken=Cee});var zB=m(pf=>{"use strict";Object.defineProperty(pf,"__esModule",{value:!0});pf.fromTokenFile=void 0;var See=Se(),Eee=require("fs"),bee=KC(),Pee="AWS_WEB_IDENTITY_TOKEN_FILE",vee="AWS_ROLE_ARN",xee="AWS_ROLE_SESSION_NAME",wee=(e={})=>async()=>{var n,t,r;let o=(n=e==null?void 0:e.webIdentityTokenFile)!==null&&n!==void 0?n:process.env[Pee],s=(t=e==null?void 0:e.roleArn)!==null&&t!==void 0?t:process.env[vee],a=(r=e==null?void 0:e.roleSessionName)!==null&&r!==void 0?r:process.env[xee];if(!o||!s)throw new See.CredentialsProviderError("Web identity configuration not specified");return(0,bee.fromWebToken)({...e,webIdentityToken:(0,Eee.readFileSync)(o,{encoding:"ascii"}),roleArn:s,roleSessionName:a})()};pf.fromTokenFile=wee});var VC=m(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});var GB=(z(),j(U));GB.__exportStar(zB(),ff);GB.__exportStar(KC(),ff)});var HB=m(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});gs.resolveWebIdentityCredentials=gs.isWebIdentityProfile=void 0;var kee=VC(),Aee=e=>!!e&&typeof e=="object"&&typeof e.web_identity_token_file=="string"&&typeof e.role_arn=="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1;gs.isWebIdentityProfile=Aee;var Iee=async(e,n)=>(0,kee.fromTokenFile)({webIdentityTokenFile:e.web_identity_token_file,roleArn:e.role_arn,roleSessionName:e.role_session_name,roleAssumerWithWebIdentity:n.roleAssumerWithWebIdentity})();gs.resolveWebIdentityCredentials=Iee});var iC=m(_f=>{"use strict";Object.defineProperty(_f,"__esModule",{value:!0});_f.resolveProfileData=void 0;var Ree=Se(),$B=sq(),KB=lq(),VB=jB(),yf=UB(),XB=HB(),Nee=async(e,n,t,r={})=>{let o=n[e];if(Object.keys(r).length>0&&(0,yf.isStaticCredsProfile)(o))return(0,yf.resolveStaticCredentials)(o);if((0,$B.isAssumeRoleProfile)(o))return(0,$B.resolveAssumeRoleCredentials)(e,n,t,r);if((0,yf.isStaticCredsProfile)(o))return(0,yf.resolveStaticCredentials)(o);if((0,XB.isWebIdentityProfile)(o))return(0,XB.resolveWebIdentityCredentials)(o,t);if((0,KB.isProcessProfile)(o))return(0,KB.resolveProcessCredentials)(t,e);if((0,VB.isSsoProfile)(o))return(0,VB.resolveSsoCredentials)(o);throw new Ree.CredentialsProviderError(`Profile ${e} could not be found or parsed in shared credentials file.`)};_f.resolveProfileData=Nee});var YB=m(gf=>{"use strict";Object.defineProperty(gf,"__esModule",{value:!0});gf.fromIni=void 0;var WB=Dt(),Oee=iC(),Tee=(e={})=>async()=>{let n=await(0,WB.parseKnownFiles)(e);return(0,Oee.resolveProfileData)((0,WB.getProfileName)(e),n,e)};gf.fromIni=Tee});var QB=m(XC=>{"use strict";Object.defineProperty(XC,"__esModule",{value:!0});var qee=(z(),j(U));qee.__exportStar(YB(),XC)});var JB=m(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.remoteProvider=co.ENV_IMDS_DISABLED=void 0;var hf=rp(),Bee=Se();co.ENV_IMDS_DISABLED="AWS_EC2_METADATA_DISABLED";var Mee=e=>process.env[hf.ENV_CMDS_RELATIVE_URI]||process.env[hf.ENV_CMDS_FULL_URI]?(0,hf.fromContainerMetadata)(e):process.env[co.ENV_IMDS_DISABLED]?async()=>{throw new Bee.CredentialsProviderError("EC2 Instance Metadata Service access disabled")}:(0,hf.fromInstanceMetadata)(e);co.remoteProvider=Mee});var ZB=m(Cf=>{"use strict";Object.defineProperty(Cf,"__esModule",{value:!0});Cf.defaultProvider=void 0;var Dee=Qh(),Fee=QB(),Lee=dC(),jee=uf(),Uee=VC(),WC=Se(),zee=Dt(),Gee=JB(),Hee=(e={})=>(0,WC.memoize)((0,WC.chain)(...e.profile||process.env[zee.ENV_PROFILE]?[]:[(0,Dee.fromEnv)()],(0,jee.fromSSO)(e),(0,Fee.fromIni)(e),(0,Lee.fromProcess)(e),(0,Uee.fromTokenFile)(e),(0,Gee.remoteProvider)(e),async()=>{throw new WC.CredentialsProviderError("Could not load credentials from any providers",!1)}),n=>n.expiration!==void 0&&n.expiration.getTime()-Date.now()<3e5,n=>n.expiration!==void 0);Cf.defaultProvider=Hee});var QC=m(YC=>{"use strict";Object.defineProperty(YC,"__esModule",{value:!0});var $ee=(z(),j(U));$ee.__exportStar(ZB(),YC)});var EM=m(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});Sf.ruleSet=void 0;var uM="required",ie="type",ge="fn",he="argv",wr="ref",eM=!1,Kee=!0,lo="booleanEquals",mn="tree",Qe="stringEquals",mM="sigv4",pM="sts",fM="us-east-1",Ae="endpoint",tM="https://sts.{Region}.{PartitionResult#dnsSuffix}",hs="error",ZC="getAttr",nM={[uM]:!1,[ie]:"String"},JC={[uM]:!0,default:!1,[ie]:"Boolean"},yM={[wr]:"Endpoint"},rM={[ge]:"isSet",[he]:[{[wr]:"Region"}]},Je={[wr]:"Region"},oM={[ge]:"aws.partition",[he]:[Je],assign:"PartitionResult"},_M={[wr]:"UseFIPS"},gM={[wr]:"UseDualStack"},st={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:mM,signingName:pM,signingRegion:fM}]},headers:{}},Et={},sM={conditions:[{[ge]:Qe,[he]:[Je,"aws-global"]}],[Ae]:st,[ie]:Ae},hM={[ge]:lo,[he]:[_M,!0]},CM={[ge]:lo,[he]:[gM,!0]},iM={[ge]:lo,[he]:[!0,{[ge]:ZC,[he]:[{[wr]:"PartitionResult"},"supportsFIPS"]}]},SM={[wr]:"PartitionResult"},aM={[ge]:lo,[he]:[!0,{[ge]:ZC,[he]:[SM,"supportsDualStack"]}]},cM=[{[ge]:"isSet",[he]:[yM]}],dM=[hM],lM=[CM],Vee={version:"1.0",parameters:{Region:nM,UseDualStack:JC,UseFIPS:JC,Endpoint:nM,UseGlobalEndpoint:JC},rules:[{conditions:[{[ge]:lo,[he]:[{[wr]:"UseGlobalEndpoint"},Kee]},{[ge]:"not",[he]:cM},rM,oM,{[ge]:lo,[he]:[_M,eM]},{[ge]:lo,[he]:[gM,eM]}],[ie]:mn,rules:[{conditions:[{[ge]:Qe,[he]:[Je,"ap-northeast-1"]}],endpoint:st,[ie]:Ae},{conditions:[{[ge]:Qe,[he]:[Je,"ap-south-1"]}],endpoint:st,[ie]:Ae},{conditions:[{[ge]:Qe,[he]:[Je,"ap-southeast-1"]}],endpoint:st,[ie]:Ae},{conditions:[{[ge]:Qe,[he]:[Je,"ap-southeast-2"]}],endpoint:st,[ie]:Ae},sM,{conditions:[{[ge]:Qe,[he]:[Je,"ca-central-1"]}],endpoint:st,[ie]:Ae},{conditions:[{[ge]:Qe,[he]:[Je,"eu-central-1"]}],endpoint:st,[ie]:Ae},{conditions:[{[ge]:Qe,[he]:[Je,"eu-north-1"]}],endpoint:st,[ie]:Ae},{conditions:[{[ge]:Qe,[he]:[Je,"eu-west-1"]}],endpoint:st,[ie]:Ae},{conditions:[{[ge]:Qe,[he]:[Je,"eu-west-2"]}],endpoint:st,[ie]:Ae},{conditions:[{[ge]:Qe,[he]:[Je,"eu-west-3"]}],endpoint:st,[ie]:Ae},{conditions:[{[ge]:Qe,[he]:[Je,"sa-east-1"]}],endpoint:st,[ie]:Ae},{conditions:[{[ge]:Qe,[he]:[Je,fM]}],endpoint:st,[ie]:Ae},{conditions:[{[ge]:Qe,[he]:[Je,"us-east-2"]}],endpoint:st,[ie]:Ae},{conditions:[{[ge]:Qe,[he]:[Je,"us-west-1"]}],endpoint:st,[ie]:Ae},{conditions:[{[ge]:Qe,[he]:[Je,"us-west-2"]}],endpoint:st,[ie]:Ae},{endpoint:{url:tM,properties:{authSchemes:[{name:mM,signingName:pM,signingRegion:"{Region}"}]},headers:Et},[ie]:Ae}]},{conditions:cM,[ie]:mn,rules:[{conditions:dM,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[ie]:hs},{conditions:lM,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[ie]:hs},{endpoint:{url:yM,properties:Et,headers:Et},[ie]:Ae}]},{conditions:[rM],[ie]:mn,rules:[{conditions:[oM],[ie]:mn,rules:[{conditions:[hM,CM],[ie]:mn,rules:[{conditions:[iM,aM],[ie]:mn,rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Et,headers:Et},[ie]:Ae}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[ie]:hs}]},{conditions:dM,[ie]:mn,rules:[{conditions:[iM],[ie]:mn,rules:[{conditions:[{[ge]:Qe,[he]:["aws-us-gov",{[ge]:ZC,[he]:[SM,"name"]}]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:Et,headers:Et},[ie]:Ae},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:Et,headers:Et},[ie]:Ae}]},{error:"FIPS is enabled but this partition does not support FIPS",[ie]:hs}]},{conditions:lM,[ie]:mn,rules:[{conditions:[aM],[ie]:mn,rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Et,headers:Et},[ie]:Ae}]},{error:"DualStack is enabled but this partition does not support DualStack",[ie]:hs}]},sM,{endpoint:{url:tM,properties:Et,headers:Et},[ie]:Ae}]}]},{error:"Invalid Configuration: Missing Region",[ie]:hs}]};Sf.ruleSet=Vee});var bM=m(Ef=>{"use strict";Object.defineProperty(Ef,"__esModule",{value:!0});Ef.defaultEndpointResolver=void 0;var Xee=zo(),Wee=EM(),Yee=(e,n={})=>(0,Xee.resolveEndpoint)(Wee.ruleSet,{endpointParams:e,logger:n.logger});Ef.defaultEndpointResolver=Yee});var xM=m(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});bf.getRuntimeConfig=void 0;var Qee=E(),Jee=Jr(),PM=So(),vM=Pt(),Zee=bM(),ete=e=>({apiVersion:"2011-06-15",base64Decoder:(e==null?void 0:e.base64Decoder)??PM.fromBase64,base64Encoder:(e==null?void 0:e.base64Encoder)??PM.toBase64,disableHostPrefix:(e==null?void 0:e.disableHostPrefix)??!1,endpointProvider:(e==null?void 0:e.endpointProvider)??Zee.defaultEndpointResolver,extensions:(e==null?void 0:e.extensions)??[],logger:(e==null?void 0:e.logger)??new Qee.NoOpLogger,serviceId:(e==null?void 0:e.serviceId)??"STS",urlParser:(e==null?void 0:e.urlParser)??Jee.parseUrl,utf8Decoder:(e==null?void 0:e.utf8Decoder)??vM.fromUtf8,utf8Encoder:(e==null?void 0:e.utf8Encoder)??vM.toUtf8});bf.getRuntimeConfig=ete});var AM=m(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});vf.getRuntimeConfig=void 0;var tte=(z(),j(U)),nte=tte.__importDefault(JO()),rte=Wh(),ote=QC(),ste=Ic(),Pf=Qt(),ite=Rc(),wM=On(),Kc=An(),kM=Po(),ate=Nc(),cte=Rt(),dte=xM(),lte=E(),ute=Tc(),mte=E(),pte=e=>{(0,mte.emitWarningIfUnsupportedVersion)(process.version);let n=(0,ute.resolveDefaultsModeConfig)(e),t=()=>n().then(lte.loadConfigsForDefaultMode),r=(0,dte.getRuntimeConfig)(e);return{...r,...e,runtime:"node",defaultsMode:n,bodyLengthChecker:(e==null?void 0:e.bodyLengthChecker)??ate.calculateBodyLength,credentialDefaultProvider:(e==null?void 0:e.credentialDefaultProvider)??(0,rte.decorateDefaultCredentialProvider)(ote.defaultProvider),defaultUserAgentProvider:(e==null?void 0:e.defaultUserAgentProvider)??(0,ste.defaultUserAgent)({serviceId:r.serviceId,clientVersion:nte.default.version}),maxAttempts:(e==null?void 0:e.maxAttempts)??(0,Kc.loadConfig)(wM.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:(e==null?void 0:e.region)??(0,Kc.loadConfig)(Pf.NODE_REGION_CONFIG_OPTIONS,Pf.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(e==null?void 0:e.requestHandler)??new kM.NodeHttpHandler(t),retryMode:(e==null?void 0:e.retryMode)??(0,Kc.loadConfig)({...wM.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await t()).retryMode||cte.DEFAULT_RETRY_MODE}),sha256:(e==null?void 0:e.sha256)??ite.Hash.bind(null,"sha256"),streamCollector:(e==null?void 0:e.streamCollector)??kM.streamCollector,useDualstackEndpoint:(e==null?void 0:e.useDualstackEndpoint)??(0,Kc.loadConfig)(Pf.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(e==null?void 0:e.useFipsEndpoint)??(0,Kc.loadConfig)(Pf.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};vf.getRuntimeConfig=pte});var OM=m(xf=>{"use strict";Object.defineProperty(xf,"__esModule",{value:!0});xf.resolveRuntimeExtensions=void 0;var IM=xp(),RM=we(),NM=E(),eS=e=>e,fte=(e,n)=>{let t={...eS((0,IM.getAwsRegionExtensionConfiguration)(e)),...eS((0,NM.getDefaultExtensionConfiguration)(e)),...eS((0,RM.getHttpHandlerExtensionConfiguration)(e))};return n.forEach(r=>r.configure(t)),{...e,...(0,IM.resolveAwsRegionExtensionConfiguration)(t),...(0,NM.resolveDefaultRuntimeConfig)(t),...(0,RM.resolveHttpHandlerRuntimeConfig)(t)}};xf.resolveRuntimeExtensions=fte});var wf=m(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.STSClient=Cs.__Client=void 0;var TM=Ua(),yte=za(),_te=Ga(),gte=YO(),qM=dc(),hte=Qt(),Cte=pc(),Ste=x(),BM=On(),MM=E();Object.defineProperty(Cs,"__Client",{enumerable:!0,get:function(){return MM.Client}});var Ete=QO(),bte=AM(),Pte=OM(),tS=class e extends MM.Client{constructor(...[n]){let t=(0,bte.getRuntimeConfig)(n||{}),r=(0,Ete.resolveClientEndpointParameters)(t),o=(0,hte.resolveRegionConfig)(r),s=(0,Ste.resolveEndpointConfig)(o),a=(0,BM.resolveRetryConfig)(s),i=(0,TM.resolveHostHeaderConfig)(a),u=(0,gte.resolveStsAuthConfig)(i,{stsClientCtor:e}),l=(0,qM.resolveUserAgentConfig)(u),c=(0,Pte.resolveRuntimeExtensions)(l,(n==null?void 0:n.extensions)||[]);super(c),this.config=c,this.middlewareStack.use((0,BM.getRetryPlugin)(this.config)),this.middlewareStack.use((0,Cte.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,TM.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,yte.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,_te.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,qM.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}};Cs.STSClient=tS});var rS=m(Ss=>{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});Ss.AssumeRoleWithSAMLCommand=Ss.$Command=void 0;var vte=x(),xte=w(),LM=E();Object.defineProperty(Ss,"$Command",{enumerable:!0,get:function(){return LM.Command}});var wte=v(),DM=yr(),FM=Bn(),nS=class e extends LM.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,xte.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,vte.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"AssumeRoleWithSAMLCommand",inputFilterSensitiveLog:DM.AssumeRoleWithSAMLRequestFilterSensitiveLog,outputFilterSensitiveLog:DM.AssumeRoleWithSAMLResponseFilterSensitiveLog,[wte.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"AssumeRoleWithSAML"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,FM.se_AssumeRoleWithSAMLCommand)(n,t)}deserialize(n,t){return(0,FM.de_AssumeRoleWithSAMLCommand)(n,t)}};Ss.AssumeRoleWithSAMLCommand=nS});var sS=m(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});Es.DecodeAuthorizationMessageCommand=Es.$Command=void 0;var kte=wn(),Ate=x(),Ite=w(),UM=E();Object.defineProperty(Es,"$Command",{enumerable:!0,get:function(){return UM.Command}});var Rte=v(),jM=Bn(),oS=class e extends UM.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Ite.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Ate.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,kte.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"DecodeAuthorizationMessageCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Rte.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"DecodeAuthorizationMessage"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,jM.se_DecodeAuthorizationMessageCommand)(n,t)}deserialize(n,t){return(0,jM.de_DecodeAuthorizationMessageCommand)(n,t)}};Es.DecodeAuthorizationMessageCommand=oS});var aS=m(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});bs.GetAccessKeyInfoCommand=bs.$Command=void 0;var Nte=wn(),Ote=x(),Tte=w(),GM=E();Object.defineProperty(bs,"$Command",{enumerable:!0,get:function(){return GM.Command}});var qte=v(),zM=Bn(),iS=class e extends GM.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Tte.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Ote.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Nte.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"GetAccessKeyInfoCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[qte.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"GetAccessKeyInfo"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,zM.se_GetAccessKeyInfoCommand)(n,t)}deserialize(n,t){return(0,zM.de_GetAccessKeyInfoCommand)(n,t)}};bs.GetAccessKeyInfoCommand=iS});var dS=m(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});Ps.GetCallerIdentityCommand=Ps.$Command=void 0;var Bte=wn(),Mte=x(),Dte=w(),$M=E();Object.defineProperty(Ps,"$Command",{enumerable:!0,get:function(){return $M.Command}});var Fte=v(),HM=Bn(),cS=class e extends $M.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Dte.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Mte.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Bte.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"GetCallerIdentityCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Fte.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"GetCallerIdentity"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,HM.se_GetCallerIdentityCommand)(n,t)}deserialize(n,t){return(0,HM.de_GetCallerIdentityCommand)(n,t)}};Ps.GetCallerIdentityCommand=cS});var uS=m(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});vs.GetFederationTokenCommand=vs.$Command=void 0;var Lte=wn(),jte=x(),Ute=w(),VM=E();Object.defineProperty(vs,"$Command",{enumerable:!0,get:function(){return VM.Command}});var zte=v(),Gte=yr(),KM=Bn(),lS=class e extends VM.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Ute.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,jte.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Lte.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"GetFederationTokenCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:Gte.GetFederationTokenResponseFilterSensitiveLog,[zte.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"GetFederationToken"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,KM.se_GetFederationTokenCommand)(n,t)}deserialize(n,t){return(0,KM.de_GetFederationTokenCommand)(n,t)}};vs.GetFederationTokenCommand=lS});var pS=m(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});xs.GetSessionTokenCommand=xs.$Command=void 0;var Hte=wn(),$te=x(),Kte=w(),WM=E();Object.defineProperty(xs,"$Command",{enumerable:!0,get:function(){return WM.Command}});var Vte=v(),Xte=yr(),XM=Bn(),mS=class e extends WM.Command{static getEndpointParameterInstructions(){return{UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Kte.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,$te.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Hte.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"GetSessionTokenCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:Xte.GetSessionTokenResponseFilterSensitiveLog,[Vte.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"GetSessionToken"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,XM.se_GetSessionTokenCommand)(n,t)}deserialize(n,t){return(0,XM.de_GetSessionTokenCommand)(n,t)}};xs.GetSessionTokenCommand=mS});var YM=m(Af=>{"use strict";Object.defineProperty(Af,"__esModule",{value:!0});Af.STS=void 0;var Wte=E(),Yte=$m(),Qte=rS(),Jte=Km(),Zte=sS(),ene=aS(),tne=dS(),nne=uS(),rne=pS(),one=wf(),sne={AssumeRoleCommand:Yte.AssumeRoleCommand,AssumeRoleWithSAMLCommand:Qte.AssumeRoleWithSAMLCommand,AssumeRoleWithWebIdentityCommand:Jte.AssumeRoleWithWebIdentityCommand,DecodeAuthorizationMessageCommand:Zte.DecodeAuthorizationMessageCommand,GetAccessKeyInfoCommand:ene.GetAccessKeyInfoCommand,GetCallerIdentityCommand:tne.GetCallerIdentityCommand,GetFederationTokenCommand:nne.GetFederationTokenCommand,GetSessionTokenCommand:rne.GetSessionTokenCommand},kf=class extends one.STSClient{};Af.STS=kf;(0,Wte.createAggregatedClient)(sne,kf)});var QM=m(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});var kr=(z(),j(U));kr.__exportStar($m(),pn);kr.__exportStar(rS(),pn);kr.__exportStar(Km(),pn);kr.__exportStar(sS(),pn);kr.__exportStar(aS(),pn);kr.__exportStar(dS(),pn);kr.__exportStar(uS(),pn);kr.__exportStar(pS(),pn)});var JM=m(fS=>{"use strict";Object.defineProperty(fS,"__esModule",{value:!0});var ine=(z(),j(U));ine.__exportStar(yr(),fS)});var nD=m(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.decorateDefaultCredentialProvider=fn.getDefaultRoleAssumerWithWebIdentity=fn.getDefaultRoleAssumer=void 0;var ZM=Wh(),eD=wf(),tD=(e,n)=>n?class extends e{constructor(r){super(r);for(let o of n)this.middlewareStack.use(o)}}:e,ane=(e={},n)=>(0,ZM.getDefaultRoleAssumer)(e,tD(eD.STSClient,n));fn.getDefaultRoleAssumer=ane;var cne=(e={},n)=>(0,ZM.getDefaultRoleAssumerWithWebIdentity)(e,tD(eD.STSClient,n));fn.getDefaultRoleAssumerWithWebIdentity=cne;var dne=e=>n=>e({roleAssumer:(0,fn.getDefaultRoleAssumer)(n),roleAssumerWithWebIdentity:(0,fn.getDefaultRoleAssumerWithWebIdentity)(n),...n});fn.decorateDefaultCredentialProvider=dne});var rD=m(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.STSServiceException=void 0;var Vc=(z(),j(U));Vc.__exportStar(wf(),zn);Vc.__exportStar(YM(),zn);Vc.__exportStar(QM(),zn);Vc.__exportStar(JM(),zn);Vc.__exportStar(nD(),zn);var lne=jm();Object.defineProperty(zn,"STSServiceException",{enumerable:!0,get:function(){return lne.STSServiceException}})});var oD=m(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS=yn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME=yn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME=void 0;var If=lc();yn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME="AWS_S3_DISABLE_MULTIREGION_ACCESS_POINTS";yn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME="s3_disable_multiregion_access_points";yn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS={environmentVariableSelector:e=>(0,If.booleanSelector)(e,yn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME,If.SelectorType.ENV),configFileSelector:e=>(0,If.booleanSelector)(e,yn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME,If.SelectorType.CONFIG),default:!1}});var sD=m(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.NODE_USE_ARN_REGION_CONFIG_OPTIONS=_n.NODE_USE_ARN_REGION_INI_NAME=_n.NODE_USE_ARN_REGION_ENV_NAME=void 0;var Rf=lc();_n.NODE_USE_ARN_REGION_ENV_NAME="AWS_S3_USE_ARN_REGION";_n.NODE_USE_ARN_REGION_INI_NAME="s3_use_arn_region";_n.NODE_USE_ARN_REGION_CONFIG_OPTIONS={environmentVariableSelector:e=>(0,Rf.booleanSelector)(e,_n.NODE_USE_ARN_REGION_ENV_NAME,Rf.SelectorType.ENV),configFileSelector:e=>(0,Rf.booleanSelector)(e,_n.NODE_USE_ARN_REGION_INI_NAME,Rf.SelectorType.CONFIG),default:!1}});var gS=m(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});re.validateMrapAlias=re.validateNoFIPS=re.validateNoDualstack=re.getArnResources=re.validateCustomEndpoint=re.validateDNSHostLabel=re.validateAccountId=re.validateRegionalClient=re.validateRegion=re.validatePartition=re.validateOutpostService=re.validateS3Service=re.validateService=re.validateArnEndpointOptions=re.getSuffixForArnEndpoint=re.getSuffix=re.isDnsCompatibleBucketName=re.isBucketNameOptions=re.S3_HOSTNAME_PATTERN=re.DOT_PATTERN=void 0;var une=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,mne=/(\d+\.){3}\d+/,pne=/\.\./;re.DOT_PATTERN=/\./;re.S3_HOSTNAME_PATTERN=/^(.+\.)?s3(-fips)?(\.dualstack)?[.-]([a-z0-9-]+)\./;var iD=/^s3(-external-1)?\.amazonaws\.com$/,_S="amazonaws.com",fne=e=>typeof e.bucketName=="string";re.isBucketNameOptions=fne;var yne=e=>une.test(e)&&!mne.test(e)&&!pne.test(e);re.isDnsCompatibleBucketName=yne;var aD=e=>{let n=e.match(re.S3_HOSTNAME_PATTERN);return[n[4],e.replace(new RegExp(`^${n[0]}`),"")]},_ne=e=>iD.test(e)?["us-east-1",_S]:aD(e);re.getSuffix=_ne;var gne=e=>iD.test(e)?[e.replace(`.${_S}`,""),_S]:aD(e);re.getSuffixForArnEndpoint=gne;var hne=e=>{if(e.pathStyleEndpoint)throw new Error("Path-style S3 endpoint is not supported when bucket is an ARN");if(e.accelerateEndpoint)throw new Error("Accelerate endpoint is not supported when bucket is an ARN");if(!e.tlsCompatible)throw new Error("HTTPS is required when bucket is an ARN")};re.validateArnEndpointOptions=hne;var Cne=e=>{if(e!=="s3"&&e!=="s3-outposts"&&e!=="s3-object-lambda")throw new Error("Expect 's3' or 's3-outposts' or 's3-object-lambda' in ARN service component")};re.validateService=Cne;var Sne=e=>{if(e!=="s3")throw new Error("Expect 's3' in Accesspoint ARN service component")};re.validateS3Service=Sne;var Ene=e=>{if(e!=="s3-outposts")throw new Error("Expect 's3-posts' in Outpost ARN service component")};re.validateOutpostService=Ene;var bne=(e,n)=>{if(e!==n.clientPartition)throw new Error(`Partition in ARN is incompatible, got "${e}" but expected "${n.clientPartition}"`)};re.validatePartition=bne;var Pne=(e,n)=>{if(e==="")throw new Error("ARN region is empty");if(n.useFipsEndpoint)if(n.allowFipsRegion){if(!yS(e,n.clientRegion))throw new Error(`Client FIPS region ${n.clientRegion} doesn't match region ${e} in ARN`)}else throw new Error("FIPS region is not supported");if(!n.useArnRegion&&!yS(e,n.clientRegion||"")&&!yS(e,n.clientSigningRegion||""))throw new Error(`Region in ARN is incompatible, got ${e} but expected ${n.clientRegion}`)};re.validateRegion=Pne;var vne=e=>{if(["s3-external-1","aws-global"].includes(e))throw new Error(`Client region ${e} is not regional`)};re.validateRegionalClient=vne;var yS=(e,n)=>e===n,xne=e=>{if(!/[0-9]{12}/.exec(e))throw new Error("Access point ARN accountID does not match regex '[0-9]{12}'")};re.validateAccountId=xne;var wne=(e,n={tlsCompatible:!0})=>{if(e.length>=64||!/^[a-z0-9][a-z0-9.-]*[a-z0-9]$/.test(e)||/(\d+\.){3}\d+/.test(e)||/[.-]{2}/.test(e)||n!=null&&n.tlsCompatible&&re.DOT_PATTERN.test(e))throw new Error(`Invalid DNS label ${e}`)};re.validateDNSHostLabel=wne;var kne=e=>{if(e.isCustomEndpoint){if(e.dualstackEndpoint)throw new Error("Dualstack endpoint is not supported with custom endpoint");if(e.accelerateEndpoint)throw new Error("Accelerate endpoint is not supported with custom endpoint")}};re.validateCustomEndpoint=kne;var Ane=e=>{let n=e.includes(":")?":":"/",[t,...r]=e.split(n);if(t==="accesspoint"){if(r.length!==1||r[0]==="")throw new Error(`Access Point ARN should have one resource accesspoint${n}{accesspointname}`);return{accesspointName:r[0]}}else if(t==="outpost"){if(!r[0]||r[1]!=="accesspoint"||!r[2]||r.length!==3)throw new Error(`Outpost ARN should have resource outpost${n}{outpostId}${n}accesspoint${n}{accesspointName}`);let[o,s,a]=r;return{outpostId:o,accesspointName:a}}else throw new Error(`ARN resource should begin with 'accesspoint${n}' or 'outpost${n}'`)};re.getArnResources=Ane;var Ine=e=>{if(e)throw new Error("Dualstack endpoint is not supported with Outpost or Multi-region Access Point ARN.")};re.validateNoDualstack=Ine;var Rne=e=>{if(e)throw new Error("FIPS region is not supported with Outpost.")};re.validateNoFIPS=Rne;var Nne=e=>{try{e.split(".").forEach(n=>{(0,re.validateDNSHostLabel)(n)})}catch{throw new Error(`"${e}" is not a DNS compatible name.`)}};re.validateMrapAlias=Nne});var hS=m(Nf=>{"use strict";Object.defineProperty(Nf,"__esModule",{value:!0});Nf.bucketHostname=void 0;var Ce=gS(),One=e=>((0,Ce.validateCustomEndpoint)(e),(0,Ce.isBucketNameOptions)(e)?Tne(e):qne(e));Nf.bucketHostname=One;var Tne=({accelerateEndpoint:e=!1,clientRegion:n,baseHostname:t,bucketName:r,dualstackEndpoint:o=!1,fipsEndpoint:s=!1,pathStyleEndpoint:a=!1,tlsCompatible:i=!0,isCustomEndpoint:u=!1})=>{let[l,c]=u?[n,t]:(0,Ce.getSuffix)(t);return a||!(0,Ce.isDnsCompatibleBucketName)(r)||i&&Ce.DOT_PATTERN.test(r)?{bucketEndpoint:!1,hostname:o?`s3.dualstack.${l}.${c}`:t}:(e?t=`s3-accelerate${o?".dualstack":""}.${c}`:o&&(t=`s3.dualstack.${l}.${c}`),{bucketEndpoint:!0,hostname:`${r}.${t}`})},qne=e=>{let{isCustomEndpoint:n,baseHostname:t,clientRegion:r}=e,o=n?t:(0,Ce.getSuffixForArnEndpoint)(t)[1],{pathStyleEndpoint:s,accelerateEndpoint:a=!1,fipsEndpoint:i=!1,tlsCompatible:u=!0,bucketName:l,clientPartition:c="aws"}=e;(0,Ce.validateArnEndpointOptions)({pathStyleEndpoint:s,accelerateEndpoint:a,tlsCompatible:u});let{service:y,partition:_,accountId:C,region:b,resource:B}=l;(0,Ce.validateService)(y),(0,Ce.validatePartition)(_,{clientPartition:c}),(0,Ce.validateAccountId)(C);let{accesspointName:R,outpostId:K}=(0,Ce.getArnResources)(B);return y==="s3-object-lambda"?Bne({...e,tlsCompatible:u,bucketName:l,accesspointName:R,hostnameSuffix:o}):b===""?Mne({...e,clientRegion:r,mrapAlias:R,hostnameSuffix:o}):K?Dne({...e,clientRegion:r,outpostId:K,accesspointName:R,hostnameSuffix:o}):Fne({...e,clientRegion:r,accesspointName:R,hostnameSuffix:o})},Bne=({dualstackEndpoint:e=!1,fipsEndpoint:n=!1,tlsCompatible:t=!0,useArnRegion:r,clientRegion:o,clientSigningRegion:s=o,accesspointName:a,bucketName:i,hostnameSuffix:u})=>{let{accountId:l,region:c,service:y}=i;(0,Ce.validateRegionalClient)(o),(0,Ce.validateRegion)(c,{useArnRegion:r,clientRegion:o,clientSigningRegion:s,allowFipsRegion:!0,useFipsEndpoint:n}),(0,Ce.validateNoDualstack)(e);let _=`${a}-${l}`;(0,Ce.validateDNSHostLabel)(_,{tlsCompatible:t});let C=r?c:o,b=r?c:s;return{bucketEndpoint:!0,hostname:`${_}.${y}${n?"-fips":""}.${C}.${u}`,signingRegion:b,signingService:y}},Mne=({disableMultiregionAccessPoints:e,dualstackEndpoint:n=!1,isCustomEndpoint:t,mrapAlias:r,hostnameSuffix:o})=>{if(e===!0)throw new Error("SDK is attempting to use a MRAP ARN. Please enable to feature.");return(0,Ce.validateMrapAlias)(r),(0,Ce.validateNoDualstack)(n),{bucketEndpoint:!0,hostname:`${r}${t?"":".accesspoint.s3-global"}.${o}`,signingRegion:"*"}},Dne=({useArnRegion:e,clientRegion:n,clientSigningRegion:t=n,bucketName:r,outpostId:o,dualstackEndpoint:s=!1,fipsEndpoint:a=!1,tlsCompatible:i=!0,accesspointName:u,isCustomEndpoint:l,hostnameSuffix:c})=>{(0,Ce.validateRegionalClient)(n),(0,Ce.validateRegion)(r.region,{useArnRegion:e,clientRegion:n,clientSigningRegion:t,useFipsEndpoint:a});let y=`${u}-${r.accountId}`;(0,Ce.validateDNSHostLabel)(y,{tlsCompatible:i});let _=e?r.region:n,C=e?r.region:t;return(0,Ce.validateOutpostService)(r.service),(0,Ce.validateDNSHostLabel)(o,{tlsCompatible:i}),(0,Ce.validateNoDualstack)(s),(0,Ce.validateNoFIPS)(a),{bucketEndpoint:!0,hostname:`${`${y}.${o}`}${l?"":`.s3-outposts.${_}`}.${c}`,signingRegion:C,signingService:"s3-outposts"}},Fne=({useArnRegion:e,clientRegion:n,clientSigningRegion:t=n,bucketName:r,dualstackEndpoint:o=!1,fipsEndpoint:s=!1,tlsCompatible:a=!0,accesspointName:i,isCustomEndpoint:u,hostnameSuffix:l})=>{(0,Ce.validateRegionalClient)(n),(0,Ce.validateRegion)(r.region,{useArnRegion:e,clientRegion:n,clientSigningRegion:t,allowFipsRegion:!0,useFipsEndpoint:s});let c=`${i}-${r.accountId}`;(0,Ce.validateDNSHostLabel)(c,{tlsCompatible:a});let y=e?r.region:n,_=e?r.region:t;return(0,Ce.validateS3Service)(r.service),{bucketEndpoint:!0,hostname:`${c}${u?"":`.s3-accesspoint${s?"-fips":""}${o?".dualstack":""}.${y}`}.${l}`,signingRegion:_}}});var lD=m(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.getBucketEndpointPlugin=gn.bucketEndpointMiddlewareOptions=gn.bucketEndpointMiddleware=void 0;var cD=L_(),Lne=we(),dD=hS(),jne=e=>(n,t)=>async r=>{let{Bucket:o}=r.input,s=e.bucketEndpoint,a=r.request;if(Lne.HttpRequest.isInstance(a)){if(e.bucketEndpoint)a.hostname=o;else if((0,cD.validate)(o)){let i=(0,cD.parse)(o),u=await e.region(),l=await e.useDualstackEndpoint(),c=await e.useFipsEndpoint(),{partition:y,signingRegion:_=u}=await e.regionInfoProvider(u,{useDualstackEndpoint:l,useFipsEndpoint:c})||{},C=await e.useArnRegion(),{hostname:b,bucketEndpoint:B,signingRegion:R,signingService:K}=(0,dD.bucketHostname)({bucketName:i,baseHostname:a.hostname,accelerateEndpoint:e.useAccelerateEndpoint,dualstackEndpoint:l,fipsEndpoint:c,pathStyleEndpoint:e.forcePathStyle,tlsCompatible:a.protocol==="https:",useArnRegion:C,clientPartition:y,clientSigningRegion:_,clientRegion:u,isCustomEndpoint:e.isCustomEndpoint,disableMultiregionAccessPoints:await e.disableMultiregionAccessPoints()});R&&R!==_&&(t.signing_region=R),K&&K!=="s3"&&(t.signing_service=K),a.hostname=b,s=B}else{let i=await e.region(),u=await e.useDualstackEndpoint(),l=await e.useFipsEndpoint(),{hostname:c,bucketEndpoint:y}=(0,dD.bucketHostname)({bucketName:o,clientRegion:i,baseHostname:a.hostname,accelerateEndpoint:e.useAccelerateEndpoint,dualstackEndpoint:u,fipsEndpoint:l,pathStyleEndpoint:e.forcePathStyle,tlsCompatible:a.protocol==="https:",isCustomEndpoint:e.isCustomEndpoint});a.hostname=c,s=y}s&&(a.path=a.path.replace(/^(\/)?[^\/]+/,""),a.path===""&&(a.path="/"))}return n({...r,request:a})};gn.bucketEndpointMiddleware=jne;gn.bucketEndpointMiddlewareOptions={tags:["BUCKET_ENDPOINT"],name:"bucketEndpointMiddleware",relation:"before",toMiddleware:"hostHeaderMiddleware",override:!0};var Une=e=>({applyToStack:n=>{n.addRelativeTo((0,gn.bucketEndpointMiddleware)(e),gn.bucketEndpointMiddlewareOptions)}});gn.getBucketEndpointPlugin=Une});var uD=m(Of=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});Of.resolveBucketEndpointConfig=void 0;function zne(e){let{bucketEndpoint:n=!1,forcePathStyle:t=!1,useAccelerateEndpoint:r=!1,useArnRegion:o=!1,disableMultiregionAccessPoints:s=!1}=e;return{...e,bucketEndpoint:n,forcePathStyle:t,useAccelerateEndpoint:r,useArnRegion:typeof o=="function"?o:()=>Promise.resolve(o),disableMultiregionAccessPoints:typeof s=="function"?s:()=>Promise.resolve(s)}}Of.resolveBucketEndpointConfig=zne});var mD=m(ve=>{"use strict";Object.defineProperty(ve,"__esModule",{value:!0});ve.validateNoFIPS=ve.validateNoDualstack=ve.validateDNSHostLabel=ve.validateRegion=ve.validateAccountId=ve.validatePartition=ve.validateOutpostService=ve.getSuffixForArnEndpoint=ve.getArnResources=void 0;var Xc=(z(),j(U));Xc.__exportStar(oD(),ve);Xc.__exportStar(sD(),ve);Xc.__exportStar(lD(),ve);Xc.__exportStar(hS(),ve);Xc.__exportStar(uD(),ve);var Gn=gS();Object.defineProperty(ve,"getArnResources",{enumerable:!0,get:function(){return Gn.getArnResources}});Object.defineProperty(ve,"getSuffixForArnEndpoint",{enumerable:!0,get:function(){return Gn.getSuffixForArnEndpoint}});Object.defineProperty(ve,"validateOutpostService",{enumerable:!0,get:function(){return Gn.validateOutpostService}});Object.defineProperty(ve,"validatePartition",{enumerable:!0,get:function(){return Gn.validatePartition}});Object.defineProperty(ve,"validateAccountId",{enumerable:!0,get:function(){return Gn.validateAccountId}});Object.defineProperty(ve,"validateRegion",{enumerable:!0,get:function(){return Gn.validateRegion}});Object.defineProperty(ve,"validateDNSHostLabel",{enumerable:!0,get:function(){return Gn.validateDNSHostLabel}});Object.defineProperty(ve,"validateNoDualstack",{enumerable:!0,get:function(){return Gn.validateNoDualstack}});Object.defineProperty(ve,"validateNoFIPS",{enumerable:!0,get:function(){return Gn.validateNoFIPS}})});var pD=m(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.getChunkedStream=void 0;function Gne(e){let n=0,t=0,r=null,o=null,s=i=>{if(typeof i!="number")throw new Error("Attempted to allocate an event message where size was not a number: "+i);n=i,t=4,r=new Uint8Array(i),new DataView(r.buffer).setUint32(0,i,!1)},a=async function*(){let i=e[Symbol.asyncIterator]();for(;;){let{value:u,done:l}=await i.next();if(l){if(n)if(n===t)yield r;else throw new Error("Truncated event message received.");else return;return}let c=u.length,y=0;for(;y{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});ws.getMessageUnmarshaller=ws.getUnmarshalledStream=void 0;function Hne(e,n){let t=fD(n.deserializer,n.toUtf8);return{[Symbol.asyncIterator]:async function*(){for await(let r of e){let o=n.eventStreamCodec.decode(r),s=await t(o);s!==void 0&&(yield s)}}}}ws.getUnmarshalledStream=Hne;function fD(e,n){return async function(t){let{value:r}=t.headers[":message-type"];if(r==="error"){let o=new Error(t.headers[":error-message"].value||"UnknownError");throw o.name=t.headers[":error-code"].value,o}else if(r==="exception"){let o=t.headers[":exception-type"].value,s={[o]:t},a=await e(s);if(a.$unknown){let i=new Error(n(t.body));throw i.name=o,i}throw a[o]}else if(r==="event"){let o={[t.headers[":event-type"].value]:t},s=await e(o);return s.$unknown?void 0:s}else throw Error(`Unrecognizable event type: ${t.headers[":event-type"].value}`)}}ws.getMessageUnmarshaller=fD});var SS=m(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});qf.EventStreamMarshaller=void 0;var Wc=ig(),$ne=pD(),Kne=yD(),CS=class{constructor({utf8Encoder:n,utf8Decoder:t}){this.eventStreamCodec=new Wc.EventStreamCodec(n,t),this.utfEncoder=n}deserialize(n,t){let r=(0,$ne.getChunkedStream)(n);return new Wc.SmithyMessageDecoderStream({messageStream:new Wc.MessageDecoderStream({inputStream:r,decoder:this.eventStreamCodec}),deserializer:(0,Kne.getMessageUnmarshaller)(t,this.utfEncoder)})}serialize(n,t){return new Wc.MessageEncoderStream({messageStream:new Wc.SmithyMessageEncoderStream({inputStream:n,serializer:t}),encoder:this.eventStreamCodec,includeEndFrame:!0})}};qf.EventStreamMarshaller=CS});var _D=m(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});Bf.eventStreamSerdeProvider=void 0;var Vne=SS(),Xne=e=>new Vne.EventStreamMarshaller(e);Bf.eventStreamSerdeProvider=Xne});var hD=m(Mf=>{"use strict";Object.defineProperty(Mf,"__esModule",{value:!0});var gD=(z(),j(U));gD.__exportStar(SS(),Mf);gD.__exportStar(_D(),Mf)});var CD=m(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});Df.readabletoIterable=void 0;async function*Wne(e){let n=!1,t=!1,r=new Array;for(e.on("error",o=>{if(n||(n=!0),o)throw o}),e.on("data",o=>{r.push(o)}),e.on("end",()=>{n=!0});!t;){let o=await new Promise(s=>setTimeout(()=>s(r.shift()),0));o&&(yield o),t=n&&r.length===0}}Df.readabletoIterable=Wne});var bS=m(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});Ff.EventStreamMarshaller=void 0;var Yne=hD(),Qne=require("stream"),Jne=CD(),ES=class{constructor({utf8Encoder:n,utf8Decoder:t}){this.universalMarshaller=new Yne.EventStreamMarshaller({utf8Decoder:t,utf8Encoder:n})}deserialize(n,t){let r=typeof n[Symbol.asyncIterator]=="function"?n:(0,Jne.readabletoIterable)(n);return this.universalMarshaller.deserialize(r,t)}serialize(n,t){return Qne.Readable.from(this.universalMarshaller.serialize(n,t))}};Ff.EventStreamMarshaller=ES});var SD=m(Lf=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});Lf.eventStreamSerdeProvider=void 0;var Zne=bS(),ere=e=>new Zne.EventStreamMarshaller(e);Lf.eventStreamSerdeProvider=ere});var bD=m(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});var ED=(z(),j(U));ED.__exportStar(bS(),jf);ED.__exportStar(SD(),jf)});var vS=m(Uf=>{"use strict";Object.defineProperty(Uf,"__esModule",{value:!0});Uf.HashCalculator=void 0;var tre=Pt(),nre=require("stream"),PS=class extends nre.Writable{constructor(n,t){super(t),this.hash=n}_write(n,t,r){try{this.hash.update((0,tre.toUint8Array)(n))}catch(o){return r(o)}r()}};Uf.HashCalculator=PS});var PD=m(zf=>{"use strict";Object.defineProperty(zf,"__esModule",{value:!0});zf.fileStreamHasher=void 0;var rre=require("fs"),ore=vS(),sre=(e,n)=>new Promise((t,r)=>{if(!ire(n)){r(new Error("Unable to calculate hash for non-file streams."));return}let o=(0,rre.createReadStream)(n.path,{start:n.start,end:n.end}),s=new e,a=new ore.HashCalculator(s);o.pipe(a),o.on("error",i=>{a.end(),r(i)}),a.on("error",r),a.on("finish",function(){s.digest().then(t).catch(r)})});zf.fileStreamHasher=sre;var ire=e=>typeof e.path=="string"});var vD=m(Gf=>{"use strict";Object.defineProperty(Gf,"__esModule",{value:!0});Gf.readableStreamHasher=void 0;var are=vS(),cre=(e,n)=>{if(n.readableFlowing!==null)throw new Error("Unable to calculate hash for flowing readable stream");let t=new e,r=new are.HashCalculator(t);return n.pipe(r),new Promise((o,s)=>{n.on("error",a=>{r.end(),s(a)}),r.on("error",s),r.on("finish",()=>{t.digest().then(o).catch(s)})})};Gf.readableStreamHasher=cre});var wD=m(Hf=>{"use strict";Object.defineProperty(Hf,"__esModule",{value:!0});var xD=(z(),j(U));xD.__exportStar(PD(),Hf);xD.__exportStar(vD(),Hf)});var Kf=m($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});$f.signatureV4CrtContainer=void 0;$f.signatureV4CrtContainer={CrtSignerV4:null}});var kD=m(Vf=>{"use strict";Object.defineProperty(Vf,"__esModule",{value:!0});Vf.loadCrt=void 0;var dre=Kf();function lre(){if(!dre.signatureV4CrtContainer.CrtSignerV4)try{if(typeof require=="function"){let e=require,n="@aws-sdk/signature-v4-crt";e.call(null,n),process.emitWarning(`The package @aws-sdk/signature-v4-crt has been loaded dynamically. +To avoid this warning, please explicitly import the package in your application with: + +import "@aws-sdk/signature-v4-crt"; // ESM +require("@aws-sdk/signature-v4-crt"); // CJS + +In a future version of the AWS SDK for JavaScript (v3), this warning +will become an error and dynamic loading will not be available. + +See https://github.com/aws/aws-sdk-js-v3/issues/5229. +`)}}catch{}}Vf.loadCrt=lre});var AD=m(Xf=>{"use strict";Object.defineProperty(Xf,"__esModule",{value:!0});Xf.SignatureV4MultiRegion=void 0;var ure=hg(),mre=kD(),pre=Kf(),xS=class{constructor(n){this.sigv4Signer=new ure.SignatureV4(n),this.signerOptions=n}async sign(n,t={}){if(t.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().sign(n,t)}return this.sigv4Signer.sign(n,t)}async presign(n,t={}){if(t.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().presign(n,t)}return this.sigv4Signer.presign(n,t)}getSigv4aSigner(){if(!this.sigv4aSigner){let n=null;try{if((0,mre.loadCrt)(),n=pre.signatureV4CrtContainer.CrtSignerV4,typeof n!="function")throw new Error}catch(t){throw t.message=`${t.message} +Please check if you have installed "@aws-sdk/signature-v4-crt" package explicitly. +For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`,t}this.sigv4aSigner=new n({...this.signerOptions,signingAlgorithm:1})}return this.sigv4aSigner}};Xf.SignatureV4MultiRegion=xS});var RD=m(Wf=>{"use strict";Object.defineProperty(Wf,"__esModule",{value:!0});var ID=(z(),j(U));ID.__exportStar(AD(),Wf);ID.__exportStar(Kf(),Wf)});var UF=m(ty=>{"use strict";Object.defineProperty(ty,"__esModule",{value:!0});ty.ruleSet=void 0;var JS="required",g="type",S="conditions",k="fn",A="argv",se="ref",Ze="assign",W="url",Y="properties",$n="authSchemes",Kn="disableDoubleEncoding",Vn="signingName",Rr="signingRegion",Q="headers",ND=!1,hn=!0,Cn="isSet",G="tree",it="booleanEquals",X="error",Zf="aws.partition",Te="stringEquals",Me="getAttr",Ot="name",Yc="substring",vF="hardwareType",xF="regionPrefix",OD="bucketAliasSuffix",WS="outpostId",uo="isValidHostLabel",Lt="not",wF="parseURL",ZS="s3-outposts",H="endpoint",TD="aws.isVirtualHostableS3Bucket",As="s3",kF="{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",AF="{url#scheme}://{Bucket}.{url#authority}{url#path}",IF="https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",qD="https://{Bucket}.s3.{partitionResult#dnsSuffix}",RF="aws.parseArn",NF="bucketArn",OF="arnType",ey="",eE="s3-object-lambda",TF="accesspoint",tE="accessPointName",BD="{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",MD="mrapPartition",DD="outpostType",FD="arnPrefix",qF="{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",LD="https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",YS="{url#scheme}://{url#authority}{url#path}",jD="https://s3.{partitionResult#dnsSuffix}",wS={[JS]:!1,[g]:"String"},ks={[JS]:!0,default:!1,[g]:"Boolean"},kS={[JS]:!1,[g]:"Boolean"},Ft={[k]:it,[A]:[{[se]:"Accelerate"},!0]},Ie={[k]:it,[A]:[{[se]:"UseFIPS"},!0]},be={[k]:it,[A]:[{[se]:"UseDualStack"},!0]},Be={[k]:Cn,[A]:[{[se]:"Endpoint"}]},BF={[k]:Zf,[A]:[{[se]:"Region"}],[Ze]:"partitionResult"},UD={[k]:Te,[A]:[{[k]:Me,[A]:[{[se]:"partitionResult"},Ot]},"aws-cn"]},MF={[k]:Cn,[A]:[{[se]:"Bucket"}]},Hn={[se]:"Bucket"},zD={[se]:vF},GD={[S]:[{[k]:Lt,[A]:[Be]}],[X]:"Expected a endpoint to be specified but no endpoint was found",[g]:X},oe={[k]:Lt,[A]:[Be]},dt={[k]:wF,[A]:[{[se]:"Endpoint"}],[Ze]:"url"},Yf={[$n]:[{[Kn]:!0,[Ot]:"sigv4",[Vn]:ZS,[Rr]:"{Region}"}]},de={},AS={[k]:it,[A]:[{[se]:"ForcePathStyle"},!1]},fre={[se]:"ForcePathStyle"},je={[k]:it,[A]:[{[se]:"Accelerate"},!1]},ze={[k]:Te,[A]:[{[se]:"Region"},"aws-global"]},Ke={[$n]:[{[Kn]:!0,[Ot]:"sigv4",[Vn]:As,[Rr]:"us-east-1"}]},me={[k]:Lt,[A]:[ze]},Ve={[k]:it,[A]:[{[se]:"UseGlobalEndpoint"},!0]},HD={[W]:"https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[Y]:{[$n]:[{[Kn]:!0,[Ot]:"sigv4",[Vn]:As,[Rr]:"{Region}"}]},[Q]:{}},Ue={[$n]:[{[Kn]:!0,[Ot]:"sigv4",[Vn]:As,[Rr]:"{Region}"}]},Xe={[k]:it,[A]:[{[se]:"UseGlobalEndpoint"},!1]},le={[k]:it,[A]:[{[se]:"UseDualStack"},!1]},$D={[W]:"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",[Y]:Ue,[Q]:{}},ae={[k]:it,[A]:[{[se]:"UseFIPS"},!1]},KD={[W]:"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",[Y]:Ue,[Q]:{}},VD={[W]:"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[Y]:Ue,[Q]:{}},IS={[k]:it,[A]:[{[k]:Me,[A]:[{[se]:"url"},"isIp"]},!0]},DF={[se]:"url"},RS={[k]:it,[A]:[{[k]:Me,[A]:[DF,"isIp"]},!1]},NS={[W]:kF,[Y]:Ue,[Q]:{}},QS={[W]:AF,[Y]:Ue,[Q]:{}},XD={[H]:QS,[g]:H},OS={[W]:IF,[Y]:Ue,[Q]:{}},WD={[W]:"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",[Y]:Ue,[Q]:{}},Qf={[X]:"Invalid region: region was not a valid DNS name.",[g]:X},yt={[se]:NF},FF={[se]:OF},TS={[k]:Me,[A]:[yt,"service"]},nE={[se]:tE},YD={[S]:[be],[X]:"S3 Object Lambda does not support Dual-stack",[g]:X},QD={[S]:[Ft],[X]:"S3 Object Lambda does not support S3 Accelerate",[g]:X},JD={[S]:[{[k]:Cn,[A]:[{[se]:"DisableAccessPoints"}]},{[k]:it,[A]:[{[se]:"DisableAccessPoints"},!0]}],[X]:"Access points are not supported for this operation",[g]:X},qS={[S]:[{[k]:Cn,[A]:[{[se]:"UseArnRegion"}]},{[k]:it,[A]:[{[se]:"UseArnRegion"},!1]},{[k]:Lt,[A]:[{[k]:Te,[A]:[{[k]:Me,[A]:[yt,"region"]},"{Region}"]}]}],[X]:"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`",[g]:X},LF={[k]:Me,[A]:[{[se]:"bucketPartition"},Ot]},jF={[k]:Me,[A]:[yt,"accountId"]},BS={[$n]:[{[Kn]:!0,[Ot]:"sigv4",[Vn]:eE,[Rr]:"{bucketArn#region}"}]},ZD={[X]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",[g]:X},MS={[X]:"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`",[g]:X},DS={[X]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",[g]:X},FS={[X]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",[g]:X},eF={[X]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",[g]:X},tF={[X]:"Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided",[g]:X},Qc={[$n]:[{[Kn]:!0,[Ot]:"sigv4",[Vn]:As,[Rr]:"{bucketArn#region}"}]},nF={[$n]:[{[Kn]:!0,[Ot]:"sigv4",[Vn]:ZS,[Rr]:"{bucketArn#region}"}]},rF={[k]:RF,[A]:[Hn]},oF={[W]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:Ue,[Q]:{}},sF={[W]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:Ue,[Q]:{}},iF={[W]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:Ue,[Q]:{}},LS={[W]:qF,[Y]:Ue,[Q]:{}},aF={[W]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:Ue,[Q]:{}},cF={[se]:"UseObjectLambdaEndpoint"},jS={[$n]:[{[Kn]:!0,[Ot]:"sigv4",[Vn]:eE,[Rr]:"{Region}"}]},dF={[W]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[Y]:Ue,[Q]:{}},lF={[W]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}",[Y]:Ue,[Q]:{}},uF={[W]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[Y]:Ue,[Q]:{}},US={[W]:YS,[Y]:Ue,[Q]:{}},mF={[W]:"https://s3.{Region}.{partitionResult#dnsSuffix}",[Y]:Ue,[Q]:{}},zS=[{[se]:"Region"}],yre=[{[se]:"Endpoint"}],pF=[Hn],fF=[{[k]:uo,[A]:[{[se]:WS},!1]}],yF=[{[k]:Te,[A]:[{[se]:xF},"beta"]}],Jc=[Be,dt],_F=[MF],Ar=[BF],gF=[{[k]:uo,[A]:[{[se]:"Region"},!1]}],Ir=[{[k]:Te,[A]:[{[se]:"Region"},"us-east-1"]}],GS=[{[k]:Te,[A]:[FF,TF]}],hF=[{[k]:Me,[A]:[yt,"resourceId[1]"],[Ze]:tE},{[k]:Lt,[A]:[{[k]:Te,[A]:[nE,ey]}]}],_re=[yt,"resourceId[1]"],CF=[be],HS=[Ft],$S=[{[k]:Lt,[A]:[{[k]:Te,[A]:[{[k]:Me,[A]:[yt,"region"]},ey]}]}],SF=[{[k]:Lt,[A]:[{[k]:Cn,[A]:[{[k]:Me,[A]:[yt,"resourceId[2]"]}]}]}],gre=[yt,"resourceId[2]"],KS=[{[k]:Zf,[A]:[{[k]:Me,[A]:[yt,"region"]}],[Ze]:"bucketPartition"}],EF=[{[k]:Te,[A]:[LF,{[k]:Me,[A]:[{[se]:"partitionResult"},Ot]}]}],VS=[{[k]:uo,[A]:[{[k]:Me,[A]:[yt,"region"]},!0]}],XS=[{[k]:uo,[A]:[jF,!1]}],bF=[{[k]:uo,[A]:[nE,!1]}],Jf=[Ie],PF=[{[k]:uo,[A]:[{[se]:"Region"},!0]}],hre={version:"1.0",parameters:{Bucket:wS,Region:wS,UseFIPS:ks,UseDualStack:ks,Endpoint:wS,ForcePathStyle:ks,Accelerate:ks,UseGlobalEndpoint:ks,UseObjectLambdaEndpoint:kS,DisableAccessPoints:kS,DisableMultiRegionAccessPoints:ks,UseArnRegion:kS},rules:[{[S]:[{[k]:Cn,[A]:zS}],[g]:G,rules:[{[S]:[Ft,Ie],error:"Accelerate cannot be used with FIPS",[g]:X},{[S]:[be,Be],error:"Cannot set dual-stack in combination with a custom endpoint.",[g]:X},{[S]:[Be,Ie],error:"A custom endpoint cannot be combined with FIPS",[g]:X},{[S]:[Be,Ft],error:"A custom endpoint cannot be combined with S3 Accelerate",[g]:X},{[S]:[Ie,BF,UD],error:"Partition does not support FIPS",[g]:X},{[S]:[MF,{[k]:Yc,[A]:[Hn,49,50,hn],[Ze]:vF},{[k]:Yc,[A]:[Hn,8,12,hn],[Ze]:xF},{[k]:Yc,[A]:[Hn,0,7,hn],[Ze]:OD},{[k]:Yc,[A]:[Hn,32,49,hn],[Ze]:WS},{[k]:Zf,[A]:zS,[Ze]:"regionPartition"},{[k]:Te,[A]:[{[se]:OD},"--op-s3"]}],[g]:G,rules:[{[S]:fF,[g]:G,rules:[{[S]:[{[k]:Te,[A]:[zD,"e"]}],[g]:G,rules:[{[S]:yF,[g]:G,rules:[GD,{[S]:Jc,endpoint:{[W]:"https://{Bucket}.ec2.{url#authority}",[Y]:Yf,[Q]:de},[g]:H}]},{endpoint:{[W]:"https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}",[Y]:Yf,[Q]:de},[g]:H}]},{[S]:[{[k]:Te,[A]:[zD,"o"]}],[g]:G,rules:[{[S]:yF,[g]:G,rules:[GD,{[S]:Jc,endpoint:{[W]:"https://{Bucket}.op-{outpostId}.{url#authority}",[Y]:Yf,[Q]:de},[g]:H}]},{endpoint:{[W]:"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}",[Y]:Yf,[Q]:de},[g]:H}]},{error:'Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"',[g]:X}]},{error:"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.",[g]:X}]},{[S]:_F,[g]:G,rules:[{[S]:[Be,{[k]:Lt,[A]:[{[k]:Cn,[A]:[{[k]:wF,[A]:yre}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",[g]:X},{[S]:[AS,{[k]:TD,[A]:[Hn,ND]}],[g]:G,rules:[{[S]:Ar,[g]:G,rules:[{[S]:gF,[g]:G,rules:[{[S]:[Ft,UD],error:"S3 Accelerate cannot be used in this region",[g]:X},{[S]:[be,Ie,je,oe,ze],endpoint:{[W]:"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",[Y]:Ke,[Q]:de},[g]:H},{[S]:[be,Ie,je,oe,me,Ve],[g]:G,rules:[{endpoint:HD,[g]:H}]},{[S]:[be,Ie,je,oe,me,Xe],endpoint:HD,[g]:H},{[S]:[le,Ie,je,oe,ze],endpoint:{[W]:"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",[Y]:Ke,[Q]:de},[g]:H},{[S]:[le,Ie,je,oe,me,Ve],[g]:G,rules:[{endpoint:$D,[g]:H}]},{[S]:[le,Ie,je,oe,me,Xe],endpoint:$D,[g]:H},{[S]:[be,ae,Ft,oe,ze],endpoint:{[W]:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",[Y]:Ke,[Q]:de},[g]:H},{[S]:[be,ae,Ft,oe,me,Ve],[g]:G,rules:[{endpoint:KD,[g]:H}]},{[S]:[be,ae,Ft,oe,me,Xe],endpoint:KD,[g]:H},{[S]:[be,ae,je,oe,ze],endpoint:{[W]:"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",[Y]:Ke,[Q]:de},[g]:H},{[S]:[be,ae,je,oe,me,Ve],[g]:G,rules:[{endpoint:VD,[g]:H}]},{[S]:[be,ae,je,oe,me,Xe],endpoint:VD,[g]:H},{[S]:[le,ae,je,Be,dt,IS,ze],endpoint:{[W]:kF,[Y]:Ke,[Q]:de},[g]:H},{[S]:[le,ae,je,Be,dt,RS,ze],endpoint:{[W]:AF,[Y]:Ke,[Q]:de},[g]:H},{[S]:[le,ae,je,Be,dt,IS,me,Ve],[g]:G,rules:[{[S]:Ir,endpoint:NS,[g]:H},{endpoint:NS,[g]:H}]},{[S]:[le,ae,je,Be,dt,RS,me,Ve],[g]:G,rules:[{[S]:Ir,endpoint:QS,[g]:H},XD]},{[S]:[le,ae,je,Be,dt,IS,me,Xe],endpoint:NS,[g]:H},{[S]:[le,ae,je,Be,dt,RS,me,Xe],endpoint:QS,[g]:H},{[S]:[le,ae,Ft,oe,ze],endpoint:{[W]:IF,[Y]:Ke,[Q]:de},[g]:H},{[S]:[le,ae,Ft,oe,me,Ve],[g]:G,rules:[{[S]:Ir,endpoint:OS,[g]:H},{endpoint:OS,[g]:H}]},{[S]:[le,ae,Ft,oe,me,Xe],endpoint:OS,[g]:H},{[S]:[le,ae,je,oe,ze],endpoint:{[W]:qD,[Y]:Ke,[Q]:de},[g]:H},{[S]:[le,ae,je,oe,me,Ve],[g]:G,rules:[{[S]:Ir,endpoint:{[W]:qD,[Y]:Ue,[Q]:de},[g]:H},{endpoint:WD,[g]:H}]},{[S]:[le,ae,je,oe,me,Xe],endpoint:WD,[g]:H}]},Qf]}]},{[S]:[Be,dt,{[k]:Te,[A]:[{[k]:Me,[A]:[DF,"scheme"]},"http"]},{[k]:TD,[A]:[Hn,hn]},AS,ae,le,je],[g]:G,rules:[{[S]:Ar,[g]:G,rules:[{[S]:gF,[g]:G,rules:[XD]},Qf]}]},{[S]:[AS,{[k]:RF,[A]:pF,[Ze]:NF}],[g]:G,rules:[{[S]:[{[k]:Me,[A]:[yt,"resourceId[0]"],[Ze]:OF},{[k]:Lt,[A]:[{[k]:Te,[A]:[FF,ey]}]}],[g]:G,rules:[{[S]:[{[k]:Te,[A]:[TS,eE]}],[g]:G,rules:[{[S]:GS,[g]:G,rules:[{[S]:hF,[g]:G,rules:[YD,QD,{[S]:$S,[g]:G,rules:[JD,{[S]:SF,[g]:G,rules:[qS,{[S]:KS,[g]:G,rules:[{[S]:Ar,[g]:G,rules:[{[S]:EF,[g]:G,rules:[{[S]:VS,[g]:G,rules:[{[S]:[{[k]:Te,[A]:[jF,ey]}],error:"Invalid ARN: Missing account id",[g]:X},{[S]:XS,[g]:G,rules:[{[S]:bF,[g]:G,rules:[{[S]:Jc,endpoint:{[W]:BD,[Y]:BS,[Q]:de},[g]:H},{[S]:Jf,endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:BS,[Q]:de},[g]:H},{endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:BS,[Q]:de},[g]:H}]},ZD]},MS]},DS]},FS]}]}]},eF]},{error:"Invalid ARN: bucket ARN is missing a region",[g]:X}]},tF]},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",[g]:X}]},{[S]:GS,[g]:G,rules:[{[S]:hF,[g]:G,rules:[{[S]:$S,[g]:G,rules:[{[S]:GS,[g]:G,rules:[{[S]:$S,[g]:G,rules:[JD,{[S]:SF,[g]:G,rules:[qS,{[S]:KS,[g]:G,rules:[{[S]:Ar,[g]:G,rules:[{[S]:[{[k]:Te,[A]:[LF,"{partitionResult#name}"]}],[g]:G,rules:[{[S]:VS,[g]:G,rules:[{[S]:[{[k]:Te,[A]:[TS,As]}],[g]:G,rules:[{[S]:XS,[g]:G,rules:[{[S]:bF,[g]:G,rules:[{[S]:HS,error:"Access Points do not support S3 Accelerate",[g]:X},{[S]:[Ie,be],endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:Qc,[Q]:de},[g]:H},{[S]:[Ie,le],endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:Qc,[Q]:de},[g]:H},{[S]:[ae,be],endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:Qc,[Q]:de},[g]:H},{[S]:[ae,le,Be,dt],endpoint:{[W]:BD,[Y]:Qc,[Q]:de},[g]:H},{[S]:[ae,le],endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:Qc,[Q]:de},[g]:H}]},ZD]},MS]},{error:"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}",[g]:X}]},DS]},FS]}]}]},eF]}]}]},{[S]:[{[k]:uo,[A]:[nE,hn]}],[g]:G,rules:[{[S]:CF,error:"S3 MRAP does not support dual-stack",[g]:X},{[S]:Jf,error:"S3 MRAP does not support FIPS",[g]:X},{[S]:HS,error:"S3 MRAP does not support S3 Accelerate",[g]:X},{[S]:[{[k]:it,[A]:[{[se]:"DisableMultiRegionAccessPoints"},hn]}],error:"Invalid configuration: Multi-Region Access Point ARNs are disabled.",[g]:X},{[S]:[{[k]:Zf,[A]:zS,[Ze]:MD}],[g]:G,rules:[{[S]:[{[k]:Te,[A]:[{[k]:Me,[A]:[{[se]:MD},Ot]},{[k]:Me,[A]:[yt,"partition"]}]}],[g]:G,rules:[{endpoint:{[W]:"https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}",[Y]:{[$n]:[{[Kn]:hn,name:"sigv4a",[Vn]:As,signingRegionSet:["*"]}]},[Q]:de},[g]:H}]},{error:"Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`",[g]:X}]}]},{error:"Invalid Access Point Name",[g]:X}]},tF]},{[S]:[{[k]:Te,[A]:[TS,ZS]}],[g]:G,rules:[{[S]:CF,error:"S3 Outposts does not support Dual-stack",[g]:X},{[S]:Jf,error:"S3 Outposts does not support FIPS",[g]:X},{[S]:HS,error:"S3 Outposts does not support S3 Accelerate",[g]:X},{[S]:[{[k]:Cn,[A]:[{[k]:Me,[A]:[yt,"resourceId[4]"]}]}],error:"Invalid Arn: Outpost Access Point ARN contains sub resources",[g]:X},{[S]:[{[k]:Me,[A]:_re,[Ze]:WS}],[g]:G,rules:[{[S]:fF,[g]:G,rules:[qS,{[S]:KS,[g]:G,rules:[{[S]:Ar,[g]:G,rules:[{[S]:EF,[g]:G,rules:[{[S]:VS,[g]:G,rules:[{[S]:XS,[g]:G,rules:[{[S]:[{[k]:Me,[A]:gre,[Ze]:DD}],[g]:G,rules:[{[S]:[{[k]:Me,[A]:[yt,"resourceId[3]"],[Ze]:tE}],[g]:G,rules:[{[S]:[{[k]:Te,[A]:[{[se]:DD},TF]}],[g]:G,rules:[{[S]:Jc,endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}",[Y]:nF,[Q]:de},[g]:H},{endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:nF,[Q]:de},[g]:H}]},{error:"Expected an outpost type `accesspoint`, found {outpostType}",[g]:X}]},{error:"Invalid ARN: expected an access point name",[g]:X}]},{error:"Invalid ARN: Expected a 4-component resource",[g]:X}]},MS]},DS]},FS]}]}]},{error:"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`",[g]:X}]},{error:"Invalid ARN: The Outpost Id was not set",[g]:X}]},{error:"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})",[g]:X}]},{error:"Invalid ARN: No ARN type specified",[g]:X}]},{[S]:[{[k]:Yc,[A]:[Hn,0,4,ND],[Ze]:FD},{[k]:Te,[A]:[{[se]:FD},"arn:"]},{[k]:Lt,[A]:[{[k]:Cn,[A]:[rF]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",[g]:X},{[S]:[{[k]:it,[A]:[fre,hn]},rF],error:"Path-style addressing cannot be used with ARN buckets",[g]:X},{[S]:[{[k]:"uriEncode",[A]:pF,[Ze]:"uri_encoded_bucket"}],[g]:G,rules:[{[S]:Ar,[g]:G,rules:[{[S]:[je],[g]:G,rules:[{[S]:[be,oe,Ie,ze],endpoint:{[W]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:Ke,[Q]:de},[g]:H},{[S]:[be,oe,Ie,me,Ve],[g]:G,rules:[{endpoint:oF,[g]:H}]},{[S]:[be,oe,Ie,me,Xe],endpoint:oF,[g]:H},{[S]:[le,oe,Ie,ze],endpoint:{[W]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:Ke,[Q]:de},[g]:H},{[S]:[le,oe,Ie,me,Ve],[g]:G,rules:[{endpoint:sF,[g]:H}]},{[S]:[le,oe,Ie,me,Xe],endpoint:sF,[g]:H},{[S]:[be,oe,ae,ze],endpoint:{[W]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:Ke,[Q]:de},[g]:H},{[S]:[be,oe,ae,me,Ve],[g]:G,rules:[{endpoint:iF,[g]:H}]},{[S]:[be,oe,ae,me,Xe],endpoint:iF,[g]:H},{[S]:[le,Be,dt,ae,ze],endpoint:{[W]:qF,[Y]:Ke,[Q]:de},[g]:H},{[S]:[le,Be,dt,ae,me,Ve],[g]:G,rules:[{[S]:Ir,endpoint:LS,[g]:H},{endpoint:LS,[g]:H}]},{[S]:[le,Be,dt,ae,me,Xe],endpoint:LS,[g]:H},{[S]:[le,oe,ae,ze],endpoint:{[W]:LD,[Y]:Ke,[Q]:de},[g]:H},{[S]:[le,oe,ae,me,Ve],[g]:G,rules:[{[S]:Ir,endpoint:{[W]:LD,[Y]:Ue,[Q]:de},[g]:H},{endpoint:aF,[g]:H}]},{[S]:[le,oe,ae,me,Xe],endpoint:aF,[g]:H}]},{error:"Path-style addressing cannot be used with S3 Accelerate",[g]:X}]}]}]},{[S]:[{[k]:Cn,[A]:[cF]},{[k]:it,[A]:[cF,hn]}],[g]:G,rules:[{[S]:Ar,[g]:G,rules:[{[S]:PF,[g]:G,rules:[YD,QD,{[S]:Jc,endpoint:{[W]:YS,[Y]:jS,[Q]:de},[g]:H},{[S]:Jf,endpoint:{[W]:"https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",[Y]:jS,[Q]:de},[g]:H},{endpoint:{[W]:"https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",[Y]:jS,[Q]:de},[g]:H}]},Qf]}]},{[S]:[{[k]:Lt,[A]:_F}],[g]:G,rules:[{[S]:Ar,[g]:G,rules:[{[S]:PF,[g]:G,rules:[{[S]:[Ie,be,oe,ze],endpoint:{[W]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",[Y]:Ke,[Q]:de},[g]:H},{[S]:[Ie,be,oe,me,Ve],[g]:G,rules:[{endpoint:dF,[g]:H}]},{[S]:[Ie,be,oe,me,Xe],endpoint:dF,[g]:H},{[S]:[Ie,le,oe,ze],endpoint:{[W]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",[Y]:Ke,[Q]:de},[g]:H},{[S]:[Ie,le,oe,me,Ve],[g]:G,rules:[{endpoint:lF,[g]:H}]},{[S]:[Ie,le,oe,me,Xe],endpoint:lF,[g]:H},{[S]:[ae,be,oe,ze],endpoint:{[W]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",[Y]:Ke,[Q]:de},[g]:H},{[S]:[ae,be,oe,me,Ve],[g]:G,rules:[{endpoint:uF,[g]:H}]},{[S]:[ae,be,oe,me,Xe],endpoint:uF,[g]:H},{[S]:[ae,le,Be,dt,ze],endpoint:{[W]:YS,[Y]:Ke,[Q]:de},[g]:H},{[S]:[ae,le,Be,dt,me,Ve],[g]:G,rules:[{[S]:Ir,endpoint:US,[g]:H},{endpoint:US,[g]:H}]},{[S]:[ae,le,Be,dt,me,Xe],endpoint:US,[g]:H},{[S]:[ae,le,oe,ze],endpoint:{[W]:jD,[Y]:Ke,[Q]:de},[g]:H},{[S]:[ae,le,oe,me,Ve],[g]:G,rules:[{[S]:Ir,endpoint:{[W]:jD,[Y]:Ue,[Q]:de},[g]:H},{endpoint:mF,[g]:H}]},{[S]:[ae,le,oe,me,Xe],endpoint:mF,[g]:H}]},Qf]}]}]},{error:"A region must be set when sending requests to S3.",[g]:X}]};ty.ruleSet=hre});var zF=m(ny=>{"use strict";Object.defineProperty(ny,"__esModule",{value:!0});ny.defaultEndpointResolver=void 0;var Cre=zo(),Sre=UF(),Ere=(e,n={})=>(0,Cre.resolveEndpoint)(Sre.ruleSet,{endpointParams:e,logger:n.logger});ny.defaultEndpointResolver=Ere});var KF=m(ry=>{"use strict";Object.defineProperty(ry,"__esModule",{value:!0});ry.getRuntimeConfig=void 0;var bre=RD(),Pre=E(),vre=Jr(),GF=So(),HF=w_(),$F=Pt(),xre=zF(),wre=e=>({apiVersion:"2006-03-01",base64Decoder:(e==null?void 0:e.base64Decoder)??GF.fromBase64,base64Encoder:(e==null?void 0:e.base64Encoder)??GF.toBase64,disableHostPrefix:(e==null?void 0:e.disableHostPrefix)??!1,endpointProvider:(e==null?void 0:e.endpointProvider)??xre.defaultEndpointResolver,extensions:(e==null?void 0:e.extensions)??[],getAwsChunkedEncodingStream:(e==null?void 0:e.getAwsChunkedEncodingStream)??HF.getAwsChunkedEncodingStream,logger:(e==null?void 0:e.logger)??new Pre.NoOpLogger,sdkStreamMixin:(e==null?void 0:e.sdkStreamMixin)??HF.sdkStreamMixin,serviceId:(e==null?void 0:e.serviceId)??"S3",signerConstructor:(e==null?void 0:e.signerConstructor)??bre.SignatureV4MultiRegion,signingEscapePath:(e==null?void 0:e.signingEscapePath)??!1,urlParser:(e==null?void 0:e.urlParser)??vre.parseUrl,useArnRegion:(e==null?void 0:e.useArnRegion)??!1,utf8Decoder:(e==null?void 0:e.utf8Decoder)??$F.fromUtf8,utf8Encoder:(e==null?void 0:e.utf8Encoder)??$F.toUtf8});ry.getRuntimeConfig=wre});var WF=m(sy=>{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});sy.getRuntimeConfig=void 0;var kre=(z(),j(U)),Are=kre.__importDefault(WO()),Ire=rD(),Rre=QC(),Nre=mD(),Ore=Ic(),oy=Qt(),Tre=bD(),rE=Rc(),qre=wD(),VF=On(),Is=An(),XF=Po(),Bre=Nc(),Mre=Rt(),Dre=KF(),Fre=E(),Lre=Tc(),jre=E(),Ure=e=>{(0,jre.emitWarningIfUnsupportedVersion)(process.version);let n=(0,Lre.resolveDefaultsModeConfig)(e),t=()=>n().then(Fre.loadConfigsForDefaultMode),r=(0,Dre.getRuntimeConfig)(e);return{...r,...e,runtime:"node",defaultsMode:n,bodyLengthChecker:(e==null?void 0:e.bodyLengthChecker)??Bre.calculateBodyLength,credentialDefaultProvider:(e==null?void 0:e.credentialDefaultProvider)??(0,Ire.decorateDefaultCredentialProvider)(Rre.defaultProvider),defaultUserAgentProvider:(e==null?void 0:e.defaultUserAgentProvider)??(0,Ore.defaultUserAgent)({serviceId:r.serviceId,clientVersion:Are.default.version}),eventStreamSerdeProvider:(e==null?void 0:e.eventStreamSerdeProvider)??Tre.eventStreamSerdeProvider,maxAttempts:(e==null?void 0:e.maxAttempts)??(0,Is.loadConfig)(VF.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),md5:(e==null?void 0:e.md5)??rE.Hash.bind(null,"md5"),region:(e==null?void 0:e.region)??(0,Is.loadConfig)(oy.NODE_REGION_CONFIG_OPTIONS,oy.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(e==null?void 0:e.requestHandler)??new XF.NodeHttpHandler(t),retryMode:(e==null?void 0:e.retryMode)??(0,Is.loadConfig)({...VF.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await t()).retryMode||Mre.DEFAULT_RETRY_MODE}),sha1:(e==null?void 0:e.sha1)??rE.Hash.bind(null,"sha1"),sha256:(e==null?void 0:e.sha256)??rE.Hash.bind(null,"sha256"),streamCollector:(e==null?void 0:e.streamCollector)??XF.streamCollector,streamHasher:(e==null?void 0:e.streamHasher)??qre.readableStreamHasher,useArnRegion:(e==null?void 0:e.useArnRegion)??(0,Is.loadConfig)(Nre.NODE_USE_ARN_REGION_CONFIG_OPTIONS),useDualstackEndpoint:(e==null?void 0:e.useDualstackEndpoint)??(0,Is.loadConfig)(oy.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(e==null?void 0:e.useFipsEndpoint)??(0,Is.loadConfig)(oy.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};sy.getRuntimeConfig=Ure});var ZF=m(iy=>{"use strict";Object.defineProperty(iy,"__esModule",{value:!0});iy.resolveRuntimeExtensions=void 0;var YF=xp(),QF=we(),JF=E(),oE=e=>e,zre=(e,n)=>{let t={...oE((0,YF.getAwsRegionExtensionConfiguration)(e)),...oE((0,JF.getDefaultExtensionConfiguration)(e)),...oE((0,QF.getHttpHandlerExtensionConfiguration)(e))};return n.forEach(r=>r.configure(t)),{...e,...(0,YF.resolveAwsRegionExtensionConfiguration)(t),...(0,JF.resolveDefaultRuntimeConfig)(t),...(0,QF.resolveHttpHandlerRuntimeConfig)(t)}};iy.resolveRuntimeExtensions=zre});var Zc=m(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.S3Client=Rs.__Client=void 0;var Gre=_w(),eL=Ua(),Hre=za(),$re=Ga(),tL=Io(),nL=wn(),rL=dc(),Kre=Qt(),Vre=hN(),Xre=pc(),Wre=x(),oL=On(),sL=E();Object.defineProperty(Rs,"__Client",{enumerable:!0,get:function(){return sL.Client}});var Yre=XO(),Qre=WF(),Jre=ZF(),sE=class extends sL.Client{constructor(...[n]){let t=(0,Qre.getRuntimeConfig)(n||{}),r=(0,Yre.resolveClientEndpointParameters)(t),o=(0,Kre.resolveRegionConfig)(r),s=(0,Wre.resolveEndpointConfig)(o),a=(0,oL.resolveRetryConfig)(s),i=(0,eL.resolveHostHeaderConfig)(a),u=(0,nL.resolveAwsAuthConfig)(i),l=(0,tL.resolveS3Config)(u),c=(0,rL.resolveUserAgentConfig)(l),y=(0,Vre.resolveEventStreamSerdeConfig)(c),_=(0,Jre.resolveRuntimeExtensions)(y,(n==null?void 0:n.extensions)||[]);super(_),this.config=_,this.middlewareStack.use((0,oL.getRetryPlugin)(this.config)),this.middlewareStack.use((0,Xre.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,eL.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,Hre.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,$re.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,nL.getAwsAuthPlugin)(this.config)),this.middlewareStack.use((0,tL.getValidateBucketNamePlugin)(this.config)),this.middlewareStack.use((0,Gre.getAddExpectContinuePlugin)(this.config)),this.middlewareStack.use((0,rL.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}};Rs.S3Client=sE});var iL=m(ay=>{"use strict";Object.defineProperty(ay,"__esModule",{value:!0});ay.escapeAttribute=void 0;function Zre(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}ay.escapeAttribute=Zre});var aL=m(cy=>{"use strict";Object.defineProperty(cy,"__esModule",{value:!0});cy.escapeElement=void 0;function eoe(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\r/g," ").replace(/\n/g," ").replace(/\u0085/g,"…").replace(/\u2028/,"
")}cy.escapeElement=eoe});var aE=m(dy=>{"use strict";Object.defineProperty(dy,"__esModule",{value:!0});dy.XmlText=void 0;var toe=aL(),iE=class{constructor(n){this.value=n}toString(){return(0,toe.escapeElement)(""+this.value)}};dy.XmlText=iE});var cL=m(ly=>{"use strict";Object.defineProperty(ly,"__esModule",{value:!0});ly.XmlNode=void 0;var noe=iL(),roe=aE(),cE=class e{static of(n,t,r){let o=new e(n);return t!==void 0&&o.addChildNode(new roe.XmlText(t)),r!==void 0&&o.withName(r),o}constructor(n,t=[]){this.name=n,this.children=t,this.attributes={}}withName(n){return this.name=n,this}addAttribute(n,t){return this.attributes[n]=t,this}addChildNode(n){return this.children.push(n),this}removeAttribute(n){return delete this.attributes[n],this}toString(){let n=!!this.children.length,t=`<${this.name}`,r=this.attributes;for(let o of Object.keys(r)){let s=r[o];typeof s<"u"&&s!==null&&(t+=` ${o}="${(0,noe.escapeAttribute)(""+s)}"`)}return t+=n?`>${this.children.map(o=>o.toString()).join("")}`:"/>"}};ly.XmlNode=cE});var lL=m(uy=>{"use strict";Object.defineProperty(uy,"__esModule",{value:!0});var dL=(z(),j(U));dL.__exportStar(cL(),uy);dL.__exportStar(aE(),uy)});var ed=m(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});Ns.S3ServiceException=Ns.__ServiceException=void 0;var uL=E();Object.defineProperty(Ns,"__ServiceException",{enumerable:!0,get:function(){return uL.ServiceException}});var dE=class e extends uL.ServiceException{constructor(n){super(n),Object.setPrototypeOf(this,e.prototype)}};Ns.S3ServiceException=dE});var et=m(h=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0});h.ReplicationStatus=h.Protocol=h.BucketVersioningStatus=h.MFADeleteStatus=h.Payer=h.ReplicationRuleStatus=h.SseKmsEncryptedObjectsStatus=h.ReplicaModificationsStatus=h.ReplicationRuleFilter=h.ExistingObjectReplicationStatus=h.ReplicationTimeStatus=h.MetricsStatus=h.DeleteMarkerReplicationStatus=h.FilterRuleName=h.Event=h.MetricsFilter=h.BucketLogsPermission=h.ExpirationStatus=h.TransitionStorageClass=h.LifecycleRuleFilter=h.InventoryFrequency=h.InventoryOptionalField=h.InventoryIncludedObjectVersions=h.InventoryFormat=h.IntelligentTieringAccessTier=h.IntelligentTieringStatus=h.StorageClassAnalysisSchemaVersion=h.AnalyticsS3ExportFileFormat=h.AnalyticsFilter=h.ObjectOwnership=h.BucketLocationConstraint=h.BucketCannedACL=h.BucketAlreadyOwnedByYou=h.BucketAlreadyExists=h.ObjectNotInActiveTierError=h.TaggingDirective=h.StorageClass=h.ObjectLockMode=h.ObjectLockLegalHoldStatus=h.MetadataDirective=h.ChecksumAlgorithm=h.ObjectCannedACL=h.ServerSideEncryption=h.OwnerOverride=h.Permission=h.Type=h.BucketAccelerateStatus=h.NoSuchUpload=h.RequestPayer=h.RequestCharged=void 0;h.PutObjectRequestFilterSensitiveLog=h.PutObjectOutputFilterSensitiveLog=h.PutBucketInventoryConfigurationRequestFilterSensitiveLog=h.PutBucketEncryptionRequestFilterSensitiveLog=h.ListPartsRequestFilterSensitiveLog=h.ListBucketInventoryConfigurationsOutputFilterSensitiveLog=h.HeadObjectRequestFilterSensitiveLog=h.HeadObjectOutputFilterSensitiveLog=h.GetObjectTorrentOutputFilterSensitiveLog=h.GetObjectAttributesRequestFilterSensitiveLog=h.GetObjectRequestFilterSensitiveLog=h.GetObjectOutputFilterSensitiveLog=h.GetBucketInventoryConfigurationOutputFilterSensitiveLog=h.InventoryConfigurationFilterSensitiveLog=h.InventoryDestinationFilterSensitiveLog=h.InventoryS3BucketDestinationFilterSensitiveLog=h.InventoryEncryptionFilterSensitiveLog=h.SSEKMSFilterSensitiveLog=h.GetBucketEncryptionOutputFilterSensitiveLog=h.ServerSideEncryptionConfigurationFilterSensitiveLog=h.ServerSideEncryptionRuleFilterSensitiveLog=h.ServerSideEncryptionByDefaultFilterSensitiveLog=h.CreateMultipartUploadRequestFilterSensitiveLog=h.CreateMultipartUploadOutputFilterSensitiveLog=h.CopyObjectRequestFilterSensitiveLog=h.CopyObjectOutputFilterSensitiveLog=h.CompleteMultipartUploadRequestFilterSensitiveLog=h.CompleteMultipartUploadOutputFilterSensitiveLog=h.MFADelete=h.ObjectVersionStorageClass=h.NoSuchBucket=h.OptionalObjectAttributes=h.ObjectStorageClass=h.EncodingType=h.ArchiveStatus=h.NotFound=h.ObjectLockRetentionMode=h.ObjectLockEnabled=h.ObjectAttributes=h.NoSuchKey=h.InvalidObjectState=h.ChecksumMode=void 0;var Pe=E(),Nr=ed();h.RequestCharged={requester:"requester"};h.RequestPayer={requester:"requester"};var lE=class e extends Nr.S3ServiceException{constructor(n){super({name:"NoSuchUpload",$fault:"client",...n}),this.name="NoSuchUpload",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.NoSuchUpload=lE;h.BucketAccelerateStatus={Enabled:"Enabled",Suspended:"Suspended"};h.Type={AmazonCustomerByEmail:"AmazonCustomerByEmail",CanonicalUser:"CanonicalUser",Group:"Group"};h.Permission={FULL_CONTROL:"FULL_CONTROL",READ:"READ",READ_ACP:"READ_ACP",WRITE:"WRITE",WRITE_ACP:"WRITE_ACP"};h.OwnerOverride={Destination:"Destination"};h.ServerSideEncryption={AES256:"AES256",aws_kms:"aws:kms",aws_kms_dsse:"aws:kms:dsse"};h.ObjectCannedACL={authenticated_read:"authenticated-read",aws_exec_read:"aws-exec-read",bucket_owner_full_control:"bucket-owner-full-control",bucket_owner_read:"bucket-owner-read",private:"private",public_read:"public-read",public_read_write:"public-read-write"};h.ChecksumAlgorithm={CRC32:"CRC32",CRC32C:"CRC32C",SHA1:"SHA1",SHA256:"SHA256"};h.MetadataDirective={COPY:"COPY",REPLACE:"REPLACE"};h.ObjectLockLegalHoldStatus={OFF:"OFF",ON:"ON"};h.ObjectLockMode={COMPLIANCE:"COMPLIANCE",GOVERNANCE:"GOVERNANCE"};h.StorageClass={DEEP_ARCHIVE:"DEEP_ARCHIVE",GLACIER:"GLACIER",GLACIER_IR:"GLACIER_IR",INTELLIGENT_TIERING:"INTELLIGENT_TIERING",ONEZONE_IA:"ONEZONE_IA",OUTPOSTS:"OUTPOSTS",REDUCED_REDUNDANCY:"REDUCED_REDUNDANCY",SNOW:"SNOW",STANDARD:"STANDARD",STANDARD_IA:"STANDARD_IA"};h.TaggingDirective={COPY:"COPY",REPLACE:"REPLACE"};var uE=class e extends Nr.S3ServiceException{constructor(n){super({name:"ObjectNotInActiveTierError",$fault:"client",...n}),this.name="ObjectNotInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.ObjectNotInActiveTierError=uE;var mE=class e extends Nr.S3ServiceException{constructor(n){super({name:"BucketAlreadyExists",$fault:"client",...n}),this.name="BucketAlreadyExists",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.BucketAlreadyExists=mE;var pE=class e extends Nr.S3ServiceException{constructor(n){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...n}),this.name="BucketAlreadyOwnedByYou",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.BucketAlreadyOwnedByYou=pE;h.BucketCannedACL={authenticated_read:"authenticated-read",private:"private",public_read:"public-read",public_read_write:"public-read-write"};h.BucketLocationConstraint={EU:"EU",af_south_1:"af-south-1",ap_east_1:"ap-east-1",ap_northeast_1:"ap-northeast-1",ap_northeast_2:"ap-northeast-2",ap_northeast_3:"ap-northeast-3",ap_south_1:"ap-south-1",ap_south_2:"ap-south-2",ap_southeast_1:"ap-southeast-1",ap_southeast_2:"ap-southeast-2",ap_southeast_3:"ap-southeast-3",ca_central_1:"ca-central-1",cn_north_1:"cn-north-1",cn_northwest_1:"cn-northwest-1",eu_central_1:"eu-central-1",eu_north_1:"eu-north-1",eu_south_1:"eu-south-1",eu_south_2:"eu-south-2",eu_west_1:"eu-west-1",eu_west_2:"eu-west-2",eu_west_3:"eu-west-3",me_south_1:"me-south-1",sa_east_1:"sa-east-1",us_east_2:"us-east-2",us_gov_east_1:"us-gov-east-1",us_gov_west_1:"us-gov-west-1",us_west_1:"us-west-1",us_west_2:"us-west-2"};h.ObjectOwnership={BucketOwnerEnforced:"BucketOwnerEnforced",BucketOwnerPreferred:"BucketOwnerPreferred",ObjectWriter:"ObjectWriter"};var ooe;(function(e){e.visit=(n,t)=>n.Prefix!==void 0?t.Prefix(n.Prefix):n.Tag!==void 0?t.Tag(n.Tag):n.And!==void 0?t.And(n.And):t._(n.$unknown[0],n.$unknown[1])})(ooe=h.AnalyticsFilter||(h.AnalyticsFilter={}));h.AnalyticsS3ExportFileFormat={CSV:"CSV"};h.StorageClassAnalysisSchemaVersion={V_1:"V_1"};h.IntelligentTieringStatus={Disabled:"Disabled",Enabled:"Enabled"};h.IntelligentTieringAccessTier={ARCHIVE_ACCESS:"ARCHIVE_ACCESS",DEEP_ARCHIVE_ACCESS:"DEEP_ARCHIVE_ACCESS"};h.InventoryFormat={CSV:"CSV",ORC:"ORC",Parquet:"Parquet"};h.InventoryIncludedObjectVersions={All:"All",Current:"Current"};h.InventoryOptionalField={BucketKeyStatus:"BucketKeyStatus",ChecksumAlgorithm:"ChecksumAlgorithm",ETag:"ETag",EncryptionStatus:"EncryptionStatus",IntelligentTieringAccessTier:"IntelligentTieringAccessTier",IsMultipartUploaded:"IsMultipartUploaded",LastModifiedDate:"LastModifiedDate",ObjectAccessControlList:"ObjectAccessControlList",ObjectLockLegalHoldStatus:"ObjectLockLegalHoldStatus",ObjectLockMode:"ObjectLockMode",ObjectLockRetainUntilDate:"ObjectLockRetainUntilDate",ObjectOwner:"ObjectOwner",ReplicationStatus:"ReplicationStatus",Size:"Size",StorageClass:"StorageClass"};h.InventoryFrequency={Daily:"Daily",Weekly:"Weekly"};var soe;(function(e){e.visit=(n,t)=>n.Prefix!==void 0?t.Prefix(n.Prefix):n.Tag!==void 0?t.Tag(n.Tag):n.ObjectSizeGreaterThan!==void 0?t.ObjectSizeGreaterThan(n.ObjectSizeGreaterThan):n.ObjectSizeLessThan!==void 0?t.ObjectSizeLessThan(n.ObjectSizeLessThan):n.And!==void 0?t.And(n.And):t._(n.$unknown[0],n.$unknown[1])})(soe=h.LifecycleRuleFilter||(h.LifecycleRuleFilter={}));h.TransitionStorageClass={DEEP_ARCHIVE:"DEEP_ARCHIVE",GLACIER:"GLACIER",GLACIER_IR:"GLACIER_IR",INTELLIGENT_TIERING:"INTELLIGENT_TIERING",ONEZONE_IA:"ONEZONE_IA",STANDARD_IA:"STANDARD_IA"};h.ExpirationStatus={Disabled:"Disabled",Enabled:"Enabled"};h.BucketLogsPermission={FULL_CONTROL:"FULL_CONTROL",READ:"READ",WRITE:"WRITE"};var ioe;(function(e){e.visit=(n,t)=>n.Prefix!==void 0?t.Prefix(n.Prefix):n.Tag!==void 0?t.Tag(n.Tag):n.AccessPointArn!==void 0?t.AccessPointArn(n.AccessPointArn):n.And!==void 0?t.And(n.And):t._(n.$unknown[0],n.$unknown[1])})(ioe=h.MetricsFilter||(h.MetricsFilter={}));h.Event={s3_IntelligentTiering:"s3:IntelligentTiering",s3_LifecycleExpiration_:"s3:LifecycleExpiration:*",s3_LifecycleExpiration_Delete:"s3:LifecycleExpiration:Delete",s3_LifecycleExpiration_DeleteMarkerCreated:"s3:LifecycleExpiration:DeleteMarkerCreated",s3_LifecycleTransition:"s3:LifecycleTransition",s3_ObjectAcl_Put:"s3:ObjectAcl:Put",s3_ObjectCreated_:"s3:ObjectCreated:*",s3_ObjectCreated_CompleteMultipartUpload:"s3:ObjectCreated:CompleteMultipartUpload",s3_ObjectCreated_Copy:"s3:ObjectCreated:Copy",s3_ObjectCreated_Post:"s3:ObjectCreated:Post",s3_ObjectCreated_Put:"s3:ObjectCreated:Put",s3_ObjectRemoved_:"s3:ObjectRemoved:*",s3_ObjectRemoved_Delete:"s3:ObjectRemoved:Delete",s3_ObjectRemoved_DeleteMarkerCreated:"s3:ObjectRemoved:DeleteMarkerCreated",s3_ObjectRestore_:"s3:ObjectRestore:*",s3_ObjectRestore_Completed:"s3:ObjectRestore:Completed",s3_ObjectRestore_Delete:"s3:ObjectRestore:Delete",s3_ObjectRestore_Post:"s3:ObjectRestore:Post",s3_ObjectTagging_:"s3:ObjectTagging:*",s3_ObjectTagging_Delete:"s3:ObjectTagging:Delete",s3_ObjectTagging_Put:"s3:ObjectTagging:Put",s3_ReducedRedundancyLostObject:"s3:ReducedRedundancyLostObject",s3_Replication_:"s3:Replication:*",s3_Replication_OperationFailedReplication:"s3:Replication:OperationFailedReplication",s3_Replication_OperationMissedThreshold:"s3:Replication:OperationMissedThreshold",s3_Replication_OperationNotTracked:"s3:Replication:OperationNotTracked",s3_Replication_OperationReplicatedAfterThreshold:"s3:Replication:OperationReplicatedAfterThreshold"};h.FilterRuleName={prefix:"prefix",suffix:"suffix"};h.DeleteMarkerReplicationStatus={Disabled:"Disabled",Enabled:"Enabled"};h.MetricsStatus={Disabled:"Disabled",Enabled:"Enabled"};h.ReplicationTimeStatus={Disabled:"Disabled",Enabled:"Enabled"};h.ExistingObjectReplicationStatus={Disabled:"Disabled",Enabled:"Enabled"};var aoe;(function(e){e.visit=(n,t)=>n.Prefix!==void 0?t.Prefix(n.Prefix):n.Tag!==void 0?t.Tag(n.Tag):n.And!==void 0?t.And(n.And):t._(n.$unknown[0],n.$unknown[1])})(aoe=h.ReplicationRuleFilter||(h.ReplicationRuleFilter={}));h.ReplicaModificationsStatus={Disabled:"Disabled",Enabled:"Enabled"};h.SseKmsEncryptedObjectsStatus={Disabled:"Disabled",Enabled:"Enabled"};h.ReplicationRuleStatus={Disabled:"Disabled",Enabled:"Enabled"};h.Payer={BucketOwner:"BucketOwner",Requester:"Requester"};h.MFADeleteStatus={Disabled:"Disabled",Enabled:"Enabled"};h.BucketVersioningStatus={Enabled:"Enabled",Suspended:"Suspended"};h.Protocol={http:"http",https:"https"};h.ReplicationStatus={COMPLETE:"COMPLETE",COMPLETED:"COMPLETED",FAILED:"FAILED",PENDING:"PENDING",REPLICA:"REPLICA"};h.ChecksumMode={ENABLED:"ENABLED"};var fE=class e extends Nr.S3ServiceException{constructor(n){super({name:"InvalidObjectState",$fault:"client",...n}),this.name="InvalidObjectState",this.$fault="client",Object.setPrototypeOf(this,e.prototype),this.StorageClass=n.StorageClass,this.AccessTier=n.AccessTier}};h.InvalidObjectState=fE;var yE=class e extends Nr.S3ServiceException{constructor(n){super({name:"NoSuchKey",$fault:"client",...n}),this.name="NoSuchKey",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.NoSuchKey=yE;h.ObjectAttributes={CHECKSUM:"Checksum",ETAG:"ETag",OBJECT_PARTS:"ObjectParts",OBJECT_SIZE:"ObjectSize",STORAGE_CLASS:"StorageClass"};h.ObjectLockEnabled={Enabled:"Enabled"};h.ObjectLockRetentionMode={COMPLIANCE:"COMPLIANCE",GOVERNANCE:"GOVERNANCE"};var _E=class e extends Nr.S3ServiceException{constructor(n){super({name:"NotFound",$fault:"client",...n}),this.name="NotFound",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.NotFound=_E;h.ArchiveStatus={ARCHIVE_ACCESS:"ARCHIVE_ACCESS",DEEP_ARCHIVE_ACCESS:"DEEP_ARCHIVE_ACCESS"};h.EncodingType={url:"url"};h.ObjectStorageClass={DEEP_ARCHIVE:"DEEP_ARCHIVE",GLACIER:"GLACIER",GLACIER_IR:"GLACIER_IR",INTELLIGENT_TIERING:"INTELLIGENT_TIERING",ONEZONE_IA:"ONEZONE_IA",OUTPOSTS:"OUTPOSTS",REDUCED_REDUNDANCY:"REDUCED_REDUNDANCY",SNOW:"SNOW",STANDARD:"STANDARD",STANDARD_IA:"STANDARD_IA"};h.OptionalObjectAttributes={RESTORE_STATUS:"RestoreStatus"};var gE=class e extends Nr.S3ServiceException{constructor(n){super({name:"NoSuchBucket",$fault:"client",...n}),this.name="NoSuchBucket",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.NoSuchBucket=gE;h.ObjectVersionStorageClass={STANDARD:"STANDARD"};h.MFADelete={Disabled:"Disabled",Enabled:"Enabled"};var coe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING}});h.CompleteMultipartUploadOutputFilterSensitiveLog=coe;var doe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.CompleteMultipartUploadRequestFilterSensitiveLog=doe;var loe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.CopyObjectOutputFilterSensitiveLog=loe;var uoe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING},...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING},...e.CopySourceSSECustomerKey&&{CopySourceSSECustomerKey:Pe.SENSITIVE_STRING}});h.CopyObjectRequestFilterSensitiveLog=uoe;var moe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.CreateMultipartUploadOutputFilterSensitiveLog=moe;var poe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING},...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.CreateMultipartUploadRequestFilterSensitiveLog=poe;var foe=e=>({...e,...e.KMSMasterKeyID&&{KMSMasterKeyID:Pe.SENSITIVE_STRING}});h.ServerSideEncryptionByDefaultFilterSensitiveLog=foe;var yoe=e=>({...e,...e.ApplyServerSideEncryptionByDefault&&{ApplyServerSideEncryptionByDefault:(0,h.ServerSideEncryptionByDefaultFilterSensitiveLog)(e.ApplyServerSideEncryptionByDefault)}});h.ServerSideEncryptionRuleFilterSensitiveLog=yoe;var _oe=e=>({...e,...e.Rules&&{Rules:e.Rules.map(n=>(0,h.ServerSideEncryptionRuleFilterSensitiveLog)(n))}});h.ServerSideEncryptionConfigurationFilterSensitiveLog=_oe;var goe=e=>({...e,...e.ServerSideEncryptionConfiguration&&{ServerSideEncryptionConfiguration:(0,h.ServerSideEncryptionConfigurationFilterSensitiveLog)(e.ServerSideEncryptionConfiguration)}});h.GetBucketEncryptionOutputFilterSensitiveLog=goe;var hoe=e=>({...e,...e.KeyId&&{KeyId:Pe.SENSITIVE_STRING}});h.SSEKMSFilterSensitiveLog=hoe;var Coe=e=>({...e,...e.SSEKMS&&{SSEKMS:(0,h.SSEKMSFilterSensitiveLog)(e.SSEKMS)}});h.InventoryEncryptionFilterSensitiveLog=Coe;var Soe=e=>({...e,...e.Encryption&&{Encryption:(0,h.InventoryEncryptionFilterSensitiveLog)(e.Encryption)}});h.InventoryS3BucketDestinationFilterSensitiveLog=Soe;var Eoe=e=>({...e,...e.S3BucketDestination&&{S3BucketDestination:(0,h.InventoryS3BucketDestinationFilterSensitiveLog)(e.S3BucketDestination)}});h.InventoryDestinationFilterSensitiveLog=Eoe;var boe=e=>({...e,...e.Destination&&{Destination:(0,h.InventoryDestinationFilterSensitiveLog)(e.Destination)}});h.InventoryConfigurationFilterSensitiveLog=boe;var Poe=e=>({...e,...e.InventoryConfiguration&&{InventoryConfiguration:(0,h.InventoryConfigurationFilterSensitiveLog)(e.InventoryConfiguration)}});h.GetBucketInventoryConfigurationOutputFilterSensitiveLog=Poe;var voe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING}});h.GetObjectOutputFilterSensitiveLog=voe;var xoe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.GetObjectRequestFilterSensitiveLog=xoe;var woe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.GetObjectAttributesRequestFilterSensitiveLog=woe;var koe=e=>({...e});h.GetObjectTorrentOutputFilterSensitiveLog=koe;var Aoe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING}});h.HeadObjectOutputFilterSensitiveLog=Aoe;var Ioe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.HeadObjectRequestFilterSensitiveLog=Ioe;var Roe=e=>({...e,...e.InventoryConfigurationList&&{InventoryConfigurationList:e.InventoryConfigurationList.map(n=>(0,h.InventoryConfigurationFilterSensitiveLog)(n))}});h.ListBucketInventoryConfigurationsOutputFilterSensitiveLog=Roe;var Noe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.ListPartsRequestFilterSensitiveLog=Noe;var Ooe=e=>({...e,...e.ServerSideEncryptionConfiguration&&{ServerSideEncryptionConfiguration:(0,h.ServerSideEncryptionConfigurationFilterSensitiveLog)(e.ServerSideEncryptionConfiguration)}});h.PutBucketEncryptionRequestFilterSensitiveLog=Ooe;var Toe=e=>({...e,...e.InventoryConfiguration&&{InventoryConfiguration:(0,h.InventoryConfigurationFilterSensitiveLog)(e.InventoryConfiguration)}});h.PutBucketInventoryConfigurationRequestFilterSensitiveLog=Toe;var qoe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.PutObjectOutputFilterSensitiveLog=qoe;var Boe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING},...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.PutObjectRequestFilterSensitiveLog=Boe});var Tr=m(Z=>{"use strict";Object.defineProperty(Z,"__esModule",{value:!0});Z.WriteGetObjectResponseRequestFilterSensitiveLog=Z.UploadPartCopyRequestFilterSensitiveLog=Z.UploadPartCopyOutputFilterSensitiveLog=Z.UploadPartRequestFilterSensitiveLog=Z.UploadPartOutputFilterSensitiveLog=Z.SelectObjectContentRequestFilterSensitiveLog=Z.SelectObjectContentOutputFilterSensitiveLog=Z.SelectObjectContentEventStreamFilterSensitiveLog=Z.RestoreObjectRequestFilterSensitiveLog=Z.RestoreRequestFilterSensitiveLog=Z.OutputLocationFilterSensitiveLog=Z.S3LocationFilterSensitiveLog=Z.EncryptionFilterSensitiveLog=Z.SelectObjectContentEventStream=Z.RestoreRequestType=Z.QuoteFields=Z.JSONType=Z.FileHeaderInfo=Z.CompressionType=Z.ExpressionType=Z.Tier=Z.ObjectAlreadyInActiveTierError=void 0;var Or=E(),Moe=ed(),hE=class e extends Moe.S3ServiceException{constructor(n){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...n}),this.name="ObjectAlreadyInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};Z.ObjectAlreadyInActiveTierError=hE;Z.Tier={Bulk:"Bulk",Expedited:"Expedited",Standard:"Standard"};Z.ExpressionType={SQL:"SQL"};Z.CompressionType={BZIP2:"BZIP2",GZIP:"GZIP",NONE:"NONE"};Z.FileHeaderInfo={IGNORE:"IGNORE",NONE:"NONE",USE:"USE"};Z.JSONType={DOCUMENT:"DOCUMENT",LINES:"LINES"};Z.QuoteFields={ALWAYS:"ALWAYS",ASNEEDED:"ASNEEDED"};Z.RestoreRequestType={SELECT:"SELECT"};var Doe;(function(e){e.visit=(n,t)=>n.Records!==void 0?t.Records(n.Records):n.Stats!==void 0?t.Stats(n.Stats):n.Progress!==void 0?t.Progress(n.Progress):n.Cont!==void 0?t.Cont(n.Cont):n.End!==void 0?t.End(n.End):t._(n.$unknown[0],n.$unknown[1])})(Doe=Z.SelectObjectContentEventStream||(Z.SelectObjectContentEventStream={}));var Foe=e=>({...e,...e.KMSKeyId&&{KMSKeyId:Or.SENSITIVE_STRING}});Z.EncryptionFilterSensitiveLog=Foe;var Loe=e=>({...e,...e.Encryption&&{Encryption:(0,Z.EncryptionFilterSensitiveLog)(e.Encryption)}});Z.S3LocationFilterSensitiveLog=Loe;var joe=e=>({...e,...e.S3&&{S3:(0,Z.S3LocationFilterSensitiveLog)(e.S3)}});Z.OutputLocationFilterSensitiveLog=joe;var Uoe=e=>({...e,...e.OutputLocation&&{OutputLocation:(0,Z.OutputLocationFilterSensitiveLog)(e.OutputLocation)}});Z.RestoreRequestFilterSensitiveLog=Uoe;var zoe=e=>({...e,...e.RestoreRequest&&{RestoreRequest:(0,Z.RestoreRequestFilterSensitiveLog)(e.RestoreRequest)}});Z.RestoreObjectRequestFilterSensitiveLog=zoe;var Goe=e=>{if(e.Records!==void 0)return{Records:e.Records};if(e.Stats!==void 0)return{Stats:e.Stats};if(e.Progress!==void 0)return{Progress:e.Progress};if(e.Cont!==void 0)return{Cont:e.Cont};if(e.End!==void 0)return{End:e.End};if(e.$unknown!==void 0)return{[e.$unknown[0]]:"UNKNOWN"}};Z.SelectObjectContentEventStreamFilterSensitiveLog=Goe;var Hoe=e=>({...e,...e.Payload&&{Payload:"STREAMING_CONTENT"}});Z.SelectObjectContentOutputFilterSensitiveLog=Hoe;var $oe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Or.SENSITIVE_STRING}});Z.SelectObjectContentRequestFilterSensitiveLog=$oe;var Koe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Or.SENSITIVE_STRING}});Z.UploadPartOutputFilterSensitiveLog=Koe;var Voe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Or.SENSITIVE_STRING}});Z.UploadPartRequestFilterSensitiveLog=Voe;var Xoe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Or.SENSITIVE_STRING}});Z.UploadPartCopyOutputFilterSensitiveLog=Xoe;var Woe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Or.SENSITIVE_STRING},...e.CopySourceSSECustomerKey&&{CopySourceSSECustomerKey:Or.SENSITIVE_STRING}});Z.UploadPartCopyRequestFilterSensitiveLog=Woe;var Yoe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Or.SENSITIVE_STRING}});Z.WriteGetObjectResponseRequestFilterSensitiveLog=Yoe});var q=m(p=>{"use strict";Object.defineProperty(p,"__esModule",{value:!0});p.se_GetObjectTorrentCommand=p.se_GetObjectTaggingCommand=p.se_GetObjectRetentionCommand=p.se_GetObjectLockConfigurationCommand=p.se_GetObjectLegalHoldCommand=p.se_GetObjectAttributesCommand=p.se_GetObjectAclCommand=p.se_GetObjectCommand=p.se_GetBucketWebsiteCommand=p.se_GetBucketVersioningCommand=p.se_GetBucketTaggingCommand=p.se_GetBucketRequestPaymentCommand=p.se_GetBucketReplicationCommand=p.se_GetBucketPolicyStatusCommand=p.se_GetBucketPolicyCommand=p.se_GetBucketOwnershipControlsCommand=p.se_GetBucketNotificationConfigurationCommand=p.se_GetBucketMetricsConfigurationCommand=p.se_GetBucketLoggingCommand=p.se_GetBucketLocationCommand=p.se_GetBucketLifecycleConfigurationCommand=p.se_GetBucketInventoryConfigurationCommand=p.se_GetBucketIntelligentTieringConfigurationCommand=p.se_GetBucketEncryptionCommand=p.se_GetBucketCorsCommand=p.se_GetBucketAnalyticsConfigurationCommand=p.se_GetBucketAclCommand=p.se_GetBucketAccelerateConfigurationCommand=p.se_DeletePublicAccessBlockCommand=p.se_DeleteObjectTaggingCommand=p.se_DeleteObjectsCommand=p.se_DeleteObjectCommand=p.se_DeleteBucketWebsiteCommand=p.se_DeleteBucketTaggingCommand=p.se_DeleteBucketReplicationCommand=p.se_DeleteBucketPolicyCommand=p.se_DeleteBucketOwnershipControlsCommand=p.se_DeleteBucketMetricsConfigurationCommand=p.se_DeleteBucketLifecycleCommand=p.se_DeleteBucketInventoryConfigurationCommand=p.se_DeleteBucketIntelligentTieringConfigurationCommand=p.se_DeleteBucketEncryptionCommand=p.se_DeleteBucketCorsCommand=p.se_DeleteBucketAnalyticsConfigurationCommand=p.se_DeleteBucketCommand=p.se_CreateMultipartUploadCommand=p.se_CreateBucketCommand=p.se_CopyObjectCommand=p.se_CompleteMultipartUploadCommand=p.se_AbortMultipartUploadCommand=void 0;p.de_DeleteBucketAnalyticsConfigurationCommand=p.de_DeleteBucketCommand=p.de_CreateMultipartUploadCommand=p.de_CreateBucketCommand=p.de_CopyObjectCommand=p.de_CompleteMultipartUploadCommand=p.de_AbortMultipartUploadCommand=p.se_WriteGetObjectResponseCommand=p.se_UploadPartCopyCommand=p.se_UploadPartCommand=p.se_SelectObjectContentCommand=p.se_RestoreObjectCommand=p.se_PutPublicAccessBlockCommand=p.se_PutObjectTaggingCommand=p.se_PutObjectRetentionCommand=p.se_PutObjectLockConfigurationCommand=p.se_PutObjectLegalHoldCommand=p.se_PutObjectAclCommand=p.se_PutObjectCommand=p.se_PutBucketWebsiteCommand=p.se_PutBucketVersioningCommand=p.se_PutBucketTaggingCommand=p.se_PutBucketRequestPaymentCommand=p.se_PutBucketReplicationCommand=p.se_PutBucketPolicyCommand=p.se_PutBucketOwnershipControlsCommand=p.se_PutBucketNotificationConfigurationCommand=p.se_PutBucketMetricsConfigurationCommand=p.se_PutBucketLoggingCommand=p.se_PutBucketLifecycleConfigurationCommand=p.se_PutBucketInventoryConfigurationCommand=p.se_PutBucketIntelligentTieringConfigurationCommand=p.se_PutBucketEncryptionCommand=p.se_PutBucketCorsCommand=p.se_PutBucketAnalyticsConfigurationCommand=p.se_PutBucketAclCommand=p.se_PutBucketAccelerateConfigurationCommand=p.se_ListPartsCommand=p.se_ListObjectVersionsCommand=p.se_ListObjectsV2Command=p.se_ListObjectsCommand=p.se_ListMultipartUploadsCommand=p.se_ListBucketsCommand=p.se_ListBucketMetricsConfigurationsCommand=p.se_ListBucketInventoryConfigurationsCommand=p.se_ListBucketIntelligentTieringConfigurationsCommand=p.se_ListBucketAnalyticsConfigurationsCommand=p.se_HeadObjectCommand=p.se_HeadBucketCommand=p.se_GetPublicAccessBlockCommand=void 0;p.de_ListBucketMetricsConfigurationsCommand=p.de_ListBucketInventoryConfigurationsCommand=p.de_ListBucketIntelligentTieringConfigurationsCommand=p.de_ListBucketAnalyticsConfigurationsCommand=p.de_HeadObjectCommand=p.de_HeadBucketCommand=p.de_GetPublicAccessBlockCommand=p.de_GetObjectTorrentCommand=p.de_GetObjectTaggingCommand=p.de_GetObjectRetentionCommand=p.de_GetObjectLockConfigurationCommand=p.de_GetObjectLegalHoldCommand=p.de_GetObjectAttributesCommand=p.de_GetObjectAclCommand=p.de_GetObjectCommand=p.de_GetBucketWebsiteCommand=p.de_GetBucketVersioningCommand=p.de_GetBucketTaggingCommand=p.de_GetBucketRequestPaymentCommand=p.de_GetBucketReplicationCommand=p.de_GetBucketPolicyStatusCommand=p.de_GetBucketPolicyCommand=p.de_GetBucketOwnershipControlsCommand=p.de_GetBucketNotificationConfigurationCommand=p.de_GetBucketMetricsConfigurationCommand=p.de_GetBucketLoggingCommand=p.de_GetBucketLocationCommand=p.de_GetBucketLifecycleConfigurationCommand=p.de_GetBucketInventoryConfigurationCommand=p.de_GetBucketIntelligentTieringConfigurationCommand=p.de_GetBucketEncryptionCommand=p.de_GetBucketCorsCommand=p.de_GetBucketAnalyticsConfigurationCommand=p.de_GetBucketAclCommand=p.de_GetBucketAccelerateConfigurationCommand=p.de_DeletePublicAccessBlockCommand=p.de_DeleteObjectTaggingCommand=p.de_DeleteObjectsCommand=p.de_DeleteObjectCommand=p.de_DeleteBucketWebsiteCommand=p.de_DeleteBucketTaggingCommand=p.de_DeleteBucketReplicationCommand=p.de_DeleteBucketPolicyCommand=p.de_DeleteBucketOwnershipControlsCommand=p.de_DeleteBucketMetricsConfigurationCommand=p.de_DeleteBucketLifecycleCommand=p.de_DeleteBucketInventoryConfigurationCommand=p.de_DeleteBucketIntelligentTieringConfigurationCommand=p.de_DeleteBucketEncryptionCommand=p.de_DeleteBucketCorsCommand=void 0;p.de_WriteGetObjectResponseCommand=p.de_UploadPartCopyCommand=p.de_UploadPartCommand=p.de_SelectObjectContentCommand=p.de_RestoreObjectCommand=p.de_PutPublicAccessBlockCommand=p.de_PutObjectTaggingCommand=p.de_PutObjectRetentionCommand=p.de_PutObjectLockConfigurationCommand=p.de_PutObjectLegalHoldCommand=p.de_PutObjectAclCommand=p.de_PutObjectCommand=p.de_PutBucketWebsiteCommand=p.de_PutBucketVersioningCommand=p.de_PutBucketTaggingCommand=p.de_PutBucketRequestPaymentCommand=p.de_PutBucketReplicationCommand=p.de_PutBucketPolicyCommand=p.de_PutBucketOwnershipControlsCommand=p.de_PutBucketNotificationConfigurationCommand=p.de_PutBucketMetricsConfigurationCommand=p.de_PutBucketLoggingCommand=p.de_PutBucketLifecycleConfigurationCommand=p.de_PutBucketInventoryConfigurationCommand=p.de_PutBucketIntelligentTieringConfigurationCommand=p.de_PutBucketEncryptionCommand=p.de_PutBucketCorsCommand=p.de_PutBucketAnalyticsConfigurationCommand=p.de_PutBucketAclCommand=p.de_PutBucketAccelerateConfigurationCommand=p.de_ListPartsCommand=p.de_ListObjectVersionsCommand=p.de_ListObjectsV2Command=p.de_ListObjectsCommand=p.de_ListMultipartUploadsCommand=p.de_ListBucketsCommand=void 0;var f=lL(),T=we(),d=E(),Qoe=Hh(),Tt=et(),Joe=Tr(),Zoe=ed(),ese=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"AbortMultipartUpload"],uploadId:[,(0,d.expectNonNull)(e.UploadId,"UploadId")]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_AbortMultipartUploadCommand=ese;var tse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-checksum-crc32":e.ChecksumCRC32,"x-amz-checksum-crc32c":e.ChecksumCRC32C,"x-amz-checksum-sha1":e.ChecksumSHA1,"x-amz-checksum-sha256":e.ChecksumSHA256,"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"CompleteMultipartUpload"],uploadId:[,(0,d.expectNonNull)(e.UploadId,"UploadId")]}),l;e.MultipartUpload!==void 0&&(l=_L(e.MultipartUpload,n));let c;return e.MultipartUpload!==void 0&&(c=_L(e.MultipartUpload,n),c=c.withName("CompleteMultipartUpload"),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,query:u,body:l})};p.se_CompleteMultipartUploadCommand=tse;var nse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-acl":e.ACL,"cache-control":e.CacheControl,"x-amz-checksum-algorithm":e.ChecksumAlgorithm,"content-disposition":e.ContentDisposition,"content-encoding":e.ContentEncoding,"content-language":e.ContentLanguage,"content-type":e.ContentType,"x-amz-copy-source":e.CopySource,"x-amz-copy-source-if-match":e.CopySourceIfMatch,"x-amz-copy-source-if-modified-since":[()=>P(e.CopySourceIfModifiedSince),()=>(0,d.dateToUtcString)(e.CopySourceIfModifiedSince).toString()],"x-amz-copy-source-if-none-match":e.CopySourceIfNoneMatch,"x-amz-copy-source-if-unmodified-since":[()=>P(e.CopySourceIfUnmodifiedSince),()=>(0,d.dateToUtcString)(e.CopySourceIfUnmodifiedSince).toString()],expires:[()=>P(e.Expires),()=>(0,d.dateToUtcString)(e.Expires).toString()],"x-amz-grant-full-control":e.GrantFullControl,"x-amz-grant-read":e.GrantRead,"x-amz-grant-read-acp":e.GrantReadACP,"x-amz-grant-write-acp":e.GrantWriteACP,"x-amz-metadata-directive":e.MetadataDirective,"x-amz-tagging-directive":e.TaggingDirective,"x-amz-server-side-encryption":e.ServerSideEncryption,"x-amz-storage-class":e.StorageClass,"x-amz-website-redirect-location":e.WebsiteRedirectLocation,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-server-side-encryption-aws-kms-key-id":e.SSEKMSKeyId,"x-amz-server-side-encryption-context":e.SSEKMSEncryptionContext,"x-amz-server-side-encryption-bucket-key-enabled":[()=>P(e.BucketKeyEnabled),()=>e.BucketKeyEnabled.toString()],"x-amz-copy-source-server-side-encryption-customer-algorithm":e.CopySourceSSECustomerAlgorithm,"x-amz-copy-source-server-side-encryption-customer-key":e.CopySourceSSECustomerKey,"x-amz-copy-source-server-side-encryption-customer-key-md5":e.CopySourceSSECustomerKeyMD5,"x-amz-request-payer":e.RequestPayer,"x-amz-tagging":e.Tagging,"x-amz-object-lock-mode":e.ObjectLockMode,"x-amz-object-lock-retain-until-date":[()=>P(e.ObjectLockRetainUntilDate),()=>(e.ObjectLockRetainUntilDate.toISOString().split(".")[0]+"Z").toString()],"x-amz-object-lock-legal-hold":e.ObjectLockLegalHoldStatus,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-source-expected-bucket-owner":e.ExpectedSourceBucketOwner,...e.Metadata!==void 0&&Object.keys(e.Metadata).reduce((c,y)=>(c[`x-amz-meta-${y.toLowerCase()}`]=e.Metadata[y],c),{})}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"CopyObject"]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_CopyObjectCommand=nse;var rse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-acl":e.ACL,"x-amz-grant-full-control":e.GrantFullControl,"x-amz-grant-read":e.GrantRead,"x-amz-grant-read-acp":e.GrantReadACP,"x-amz-grant-write":e.GrantWrite,"x-amz-grant-write-acp":e.GrantWriteACP,"x-amz-bucket-object-lock-enabled":[()=>P(e.ObjectLockEnabledForBucket),()=>e.ObjectLockEnabledForBucket.toString()],"x-amz-object-ownership":e.ObjectOwnership}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u;e.CreateBucketConfiguration!==void 0&&(u=hL(e.CreateBucketConfiguration,n));let l;return e.CreateBucketConfiguration!==void 0&&(l=hL(e.CreateBucketConfiguration,n),u='',l.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),u+=l.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,body:u})};p.se_CreateBucketCommand=rse;var ose=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-acl":e.ACL,"cache-control":e.CacheControl,"content-disposition":e.ContentDisposition,"content-encoding":e.ContentEncoding,"content-language":e.ContentLanguage,"content-type":e.ContentType,expires:[()=>P(e.Expires),()=>(0,d.dateToUtcString)(e.Expires).toString()],"x-amz-grant-full-control":e.GrantFullControl,"x-amz-grant-read":e.GrantRead,"x-amz-grant-read-acp":e.GrantReadACP,"x-amz-grant-write-acp":e.GrantWriteACP,"x-amz-server-side-encryption":e.ServerSideEncryption,"x-amz-storage-class":e.StorageClass,"x-amz-website-redirect-location":e.WebsiteRedirectLocation,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-server-side-encryption-aws-kms-key-id":e.SSEKMSKeyId,"x-amz-server-side-encryption-context":e.SSEKMSEncryptionContext,"x-amz-server-side-encryption-bucket-key-enabled":[()=>P(e.BucketKeyEnabled),()=>e.BucketKeyEnabled.toString()],"x-amz-request-payer":e.RequestPayer,"x-amz-tagging":e.Tagging,"x-amz-object-lock-mode":e.ObjectLockMode,"x-amz-object-lock-retain-until-date":[()=>P(e.ObjectLockRetainUntilDate),()=>(e.ObjectLockRetainUntilDate.toISOString().split(".")[0]+"Z").toString()],"x-amz-object-lock-legal-hold":e.ObjectLockLegalHoldStatus,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-checksum-algorithm":e.ChecksumAlgorithm,...e.Metadata!==void 0&&Object.keys(e.Metadata).reduce((c,y)=>(c[`x-amz-meta-${y.toLowerCase()}`]=e.Metadata[y],c),{})}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({uploads:[,""],"x-id":[,"CreateMultipartUpload"]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,query:u,body:l})};p.se_CreateMultipartUploadCommand=ose;var sse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,body:u})};p.se_DeleteBucketCommand=sse;var ise=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({analytics:[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketAnalyticsConfigurationCommand=ise;var ase=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({cors:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketCorsCommand=ase;var cse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({encryption:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketEncryptionCommand=cse;var dse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({"intelligent-tiering":[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketIntelligentTieringConfigurationCommand=dse;var lse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({inventory:[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketInventoryConfigurationCommand=lse;var use=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({lifecycle:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketLifecycleCommand=use;var mse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({metrics:[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketMetricsConfigurationCommand=mse;var pse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({ownershipControls:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketOwnershipControlsCommand=pse;var fse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({policy:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketPolicyCommand=fse;var yse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({replication:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketReplicationCommand=yse;var _se=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({tagging:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketTaggingCommand=_se;var gse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({website:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteBucketWebsiteCommand=gse;var hse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-mfa":e.MFA,"x-amz-request-payer":e.RequestPayer,"x-amz-bypass-governance-retention":[()=>P(e.BypassGovernanceRetention),()=>e.BypassGovernanceRetention.toString()],"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"DeleteObject"],versionId:[,e.VersionId]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteObjectCommand=hse;var Cse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-mfa":e.MFA,"x-amz-request-payer":e.RequestPayer,"x-amz-bypass-governance-retention":[()=>P(e.BypassGovernanceRetention),()=>e.BypassGovernanceRetention.toString()],"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({delete:[,""],"x-id":[,"DeleteObjects"]}),l;e.Delete!==void 0&&(l=CL(e.Delete,n));let c;return e.Delete!==void 0&&(c=CL(e.Delete,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,query:u,body:l})};p.se_DeleteObjectsCommand=Cse;var Sse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({tagging:[,""],versionId:[,e.VersionId]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeleteObjectTaggingCommand=Sse;var Ese=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({publicAccessBlock:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,query:u,body:l})};p.se_DeletePublicAccessBlockCommand=Ese;var bse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-request-payer":e.RequestPayer}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({accelerate:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketAccelerateConfigurationCommand=bse;var Pse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({acl:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketAclCommand=Pse;var vse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({analytics:[,""],"x-id":[,"GetBucketAnalyticsConfiguration"],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketAnalyticsConfigurationCommand=vse;var xse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({cors:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketCorsCommand=xse;var wse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({encryption:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketEncryptionCommand=wse;var kse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({"intelligent-tiering":[,""],"x-id":[,"GetBucketIntelligentTieringConfiguration"],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketIntelligentTieringConfigurationCommand=kse;var Ase=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({inventory:[,""],"x-id":[,"GetBucketInventoryConfiguration"],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketInventoryConfigurationCommand=Ase;var Ise=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({lifecycle:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketLifecycleConfigurationCommand=Ise;var Rse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({location:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketLocationCommand=Rse;var Nse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({logging:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketLoggingCommand=Nse;var Ose=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({metrics:[,""],"x-id":[,"GetBucketMetricsConfiguration"],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketMetricsConfigurationCommand=Ose;var Tse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({notification:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketNotificationConfigurationCommand=Tse;var qse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({ownershipControls:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketOwnershipControlsCommand=qse;var Bse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({policy:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketPolicyCommand=Bse;var Mse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({policyStatus:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketPolicyStatusCommand=Mse;var Dse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({replication:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketReplicationCommand=Dse;var Fse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({requestPayment:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketRequestPaymentCommand=Fse;var Lse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({tagging:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketTaggingCommand=Lse;var jse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({versioning:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketVersioningCommand=jse;var Use=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({website:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetBucketWebsiteCommand=Use;var zse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"if-match":e.IfMatch,"if-modified-since":[()=>P(e.IfModifiedSince),()=>(0,d.dateToUtcString)(e.IfModifiedSince).toString()],"if-none-match":e.IfNoneMatch,"if-unmodified-since":[()=>P(e.IfUnmodifiedSince),()=>(0,d.dateToUtcString)(e.IfUnmodifiedSince).toString()],range:e.Range,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-checksum-mode":e.ChecksumMode}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"GetObject"],"response-cache-control":[,e.ResponseCacheControl],"response-content-disposition":[,e.ResponseContentDisposition],"response-content-encoding":[,e.ResponseContentEncoding],"response-content-language":[,e.ResponseContentLanguage],"response-content-type":[,e.ResponseContentType],"response-expires":[()=>e.ResponseExpires!==void 0,()=>(0,d.dateToUtcString)(e.ResponseExpires).toString()],versionId:[,e.VersionId],partNumber:[()=>e.PartNumber!==void 0,()=>e.PartNumber.toString()]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectCommand=zse;var Gse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({acl:[,""],versionId:[,e.VersionId]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectAclCommand=Gse;var Hse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-max-parts":[()=>P(e.MaxParts),()=>e.MaxParts.toString()],"x-amz-part-number-marker":e.PartNumberMarker,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-object-attributes":[()=>P(e.ObjectAttributes),()=>(e.ObjectAttributes||[]).map(c=>c).join(", ")]}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({attributes:[,""],versionId:[,e.VersionId]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectAttributesCommand=Hse;var $se=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"legal-hold":[,""],versionId:[,e.VersionId]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectLegalHoldCommand=$se;var Kse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({"object-lock":[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectLockConfigurationCommand=Kse;var Vse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({retention:[,""],versionId:[,e.VersionId]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectRetentionCommand=Vse;var Xse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-request-payer":e.RequestPayer}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({tagging:[,""],versionId:[,e.VersionId]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectTaggingCommand=Xse;var Wse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({torrent:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetObjectTorrentCommand=Wse;var Yse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({publicAccessBlock:[,""]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_GetPublicAccessBlockCommand=Yse;var Qse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"HEAD",headers:a,path:i,body:u})};p.se_HeadBucketCommand=Qse;var Jse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"if-match":e.IfMatch,"if-modified-since":[()=>P(e.IfModifiedSince),()=>(0,d.dateToUtcString)(e.IfModifiedSince).toString()],"if-none-match":e.IfNoneMatch,"if-unmodified-since":[()=>P(e.IfUnmodifiedSince),()=>(0,d.dateToUtcString)(e.IfUnmodifiedSince).toString()],range:e.Range,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-checksum-mode":e.ChecksumMode}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({versionId:[,e.VersionId],partNumber:[()=>e.PartNumber!==void 0,()=>e.PartNumber.toString()]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"HEAD",headers:a,path:i,query:u,body:l})};p.se_HeadObjectCommand=Jse;var Zse=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({analytics:[,""],"x-id":[,"ListBucketAnalyticsConfigurations"],"continuation-token":[,e.ContinuationToken]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListBucketAnalyticsConfigurationsCommand=Zse;var eie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({"intelligent-tiering":[,""],"x-id":[,"ListBucketIntelligentTieringConfigurations"],"continuation-token":[,e.ContinuationToken]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListBucketIntelligentTieringConfigurationsCommand=eie;var tie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({inventory:[,""],"x-id":[,"ListBucketInventoryConfigurations"],"continuation-token":[,e.ContinuationToken]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListBucketInventoryConfigurationsCommand=tie;var nie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({metrics:[,""],"x-id":[,"ListBucketMetricsConfigurations"],"continuation-token":[,e.ContinuationToken]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListBucketMetricsConfigurationsCommand=nie;var rie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={"content-type":"application/xml"},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`,u;return u="",new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,body:u})};p.se_ListBucketsCommand=rie;var oie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-request-payer":e.RequestPayer}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({uploads:[,""],delimiter:[,e.Delimiter],"encoding-type":[,e.EncodingType],"key-marker":[,e.KeyMarker],"max-uploads":[()=>e.MaxUploads!==void 0,()=>e.MaxUploads.toString()],prefix:[,e.Prefix],"upload-id-marker":[,e.UploadIdMarker]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListMultipartUploadsCommand=oie;var sie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-optional-object-attributes":[()=>P(e.OptionalObjectAttributes),()=>(e.OptionalObjectAttributes||[]).map(c=>c).join(", ")]}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({delimiter:[,e.Delimiter],"encoding-type":[,e.EncodingType],marker:[,e.Marker],"max-keys":[()=>e.MaxKeys!==void 0,()=>e.MaxKeys.toString()],prefix:[,e.Prefix]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListObjectsCommand=sie;var iie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-optional-object-attributes":[()=>P(e.OptionalObjectAttributes),()=>(e.OptionalObjectAttributes||[]).map(c=>c).join(", ")]}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({"list-type":[,"2"],delimiter:[,e.Delimiter],"encoding-type":[,e.EncodingType],"max-keys":[()=>e.MaxKeys!==void 0,()=>e.MaxKeys.toString()],prefix:[,e.Prefix],"continuation-token":[,e.ContinuationToken],"fetch-owner":[()=>e.FetchOwner!==void 0,()=>e.FetchOwner.toString()],"start-after":[,e.StartAfter]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListObjectsV2Command=iie;var aie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-request-payer":e.RequestPayer,"x-amz-optional-object-attributes":[()=>P(e.OptionalObjectAttributes),()=>(e.OptionalObjectAttributes||[]).map(c=>c).join(", ")]}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({versions:[,""],delimiter:[,e.Delimiter],"encoding-type":[,e.EncodingType],"key-marker":[,e.KeyMarker],"max-keys":[()=>e.MaxKeys!==void 0,()=>e.MaxKeys.toString()],prefix:[,e.Prefix],"version-id-marker":[,e.VersionIdMarker]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListObjectVersionsCommand=aie;var cie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"ListParts"],"max-parts":[()=>e.MaxParts!==void 0,()=>e.MaxParts.toString()],"part-number-marker":[,e.PartNumberMarker],uploadId:[,(0,d.expectNonNull)(e.UploadId,"UploadId")]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};p.se_ListPartsCommand=cie;var die=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({accelerate:[,""]}),l;e.AccelerateConfiguration!==void 0&&(l=mL(e.AccelerateConfiguration,n));let c;return e.AccelerateConfiguration!==void 0&&(c=mL(e.AccelerateConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketAccelerateConfigurationCommand=die;var lie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-acl":e.ACL,"content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-grant-full-control":e.GrantFullControl,"x-amz-grant-read":e.GrantRead,"x-amz-grant-read-acp":e.GrantReadACP,"x-amz-grant-write":e.GrantWrite,"x-amz-grant-write-acp":e.GrantWriteACP,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({acl:[,""]}),l;e.AccessControlPolicy!==void 0&&(l=my(e.AccessControlPolicy,n));let c;return e.AccessControlPolicy!==void 0&&(c=my(e.AccessControlPolicy,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketAclCommand=lie;var uie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({analytics:[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;e.AnalyticsConfiguration!==void 0&&(l=pL(e.AnalyticsConfiguration,n));let c;return e.AnalyticsConfiguration!==void 0&&(c=pL(e.AnalyticsConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketAnalyticsConfigurationCommand=uie;var mie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({cors:[,""]}),l;e.CORSConfiguration!==void 0&&(l=gL(e.CORSConfiguration,n));let c;return e.CORSConfiguration!==void 0&&(c=gL(e.CORSConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketCorsCommand=mie;var pie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({encryption:[,""]}),l;e.ServerSideEncryptionConfiguration!==void 0&&(l=OL(e.ServerSideEncryptionConfiguration,n));let c;return e.ServerSideEncryptionConfiguration!==void 0&&(c=OL(e.ServerSideEncryptionConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketEncryptionCommand=pie;var fie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a={"content-type":"application/xml"},i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({"intelligent-tiering":[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;e.IntelligentTieringConfiguration!==void 0&&(l=SL(e.IntelligentTieringConfiguration,n));let c;return e.IntelligentTieringConfiguration!==void 0&&(c=SL(e.IntelligentTieringConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketIntelligentTieringConfigurationCommand=fie;var yie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({inventory:[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;e.InventoryConfiguration!==void 0&&(l=EL(e.InventoryConfiguration,n));let c;return e.InventoryConfiguration!==void 0&&(c=EL(e.InventoryConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketInventoryConfigurationCommand=yie;var _ie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({lifecycle:[,""]}),l;e.LifecycleConfiguration!==void 0&&(l=fL(e.LifecycleConfiguration,n));let c;return e.LifecycleConfiguration!==void 0&&(c=fL(e.LifecycleConfiguration,n),c=c.withName("LifecycleConfiguration"),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketLifecycleConfigurationCommand=_ie;var gie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({logging:[,""]}),l;e.BucketLoggingStatus!==void 0&&(l=yL(e.BucketLoggingStatus,n));let c;return e.BucketLoggingStatus!==void 0&&(c=yL(e.BucketLoggingStatus,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketLoggingCommand=gie;var hie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({metrics:[,""],id:[,(0,d.expectNonNull)(e.Id,"Id")]}),l;e.MetricsConfiguration!==void 0&&(l=bL(e.MetricsConfiguration,n));let c;return e.MetricsConfiguration!==void 0&&(c=bL(e.MetricsConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketMetricsConfigurationCommand=hie;var Cie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-skip-destination-validation":[()=>P(e.SkipDestinationValidation),()=>e.SkipDestinationValidation.toString()]}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({notification:[,""]}),l;e.NotificationConfiguration!==void 0&&(l=PL(e.NotificationConfiguration,n));let c;return e.NotificationConfiguration!==void 0&&(c=PL(e.NotificationConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketNotificationConfigurationCommand=Cie;var Sie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({ownershipControls:[,""]}),l;e.OwnershipControls!==void 0&&(l=kL(e.OwnershipControls,n));let c;return e.OwnershipControls!==void 0&&(c=kL(e.OwnershipControls,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketOwnershipControlsCommand=Sie;var Eie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"text/plain","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-confirm-remove-self-bucket-access":[()=>P(e.ConfirmRemoveSelfBucketAccess),()=>e.ConfirmRemoveSelfBucketAccess.toString()],"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({policy:[,""]}),l;e.Policy!==void 0&&(l=e.Policy);let c;return e.Policy!==void 0&&(c=e.Policy,l=c),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketPolicyCommand=Eie;var bie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-bucket-object-lock-token":e.Token,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({replication:[,""]}),l;e.ReplicationConfiguration!==void 0&&(l=IL(e.ReplicationConfiguration,n));let c;return e.ReplicationConfiguration!==void 0&&(c=IL(e.ReplicationConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketReplicationCommand=bie;var Pie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({requestPayment:[,""]}),l;e.RequestPaymentConfiguration!==void 0&&(l=RL(e.RequestPaymentConfiguration,n));let c;return e.RequestPaymentConfiguration!==void 0&&(c=RL(e.RequestPaymentConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketRequestPaymentCommand=Pie;var vie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({tagging:[,""]}),l;e.Tagging!==void 0&&(l=td(e.Tagging,n));let c;return e.Tagging!==void 0&&(c=td(e.Tagging,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketTaggingCommand=vie;var xie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-mfa":e.MFA,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({versioning:[,""]}),l;e.VersioningConfiguration!==void 0&&(l=TL(e.VersioningConfiguration,n));let c;return e.VersioningConfiguration!==void 0&&(c=TL(e.VersioningConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketVersioningCommand=xie;var wie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({website:[,""]}),l;e.WebsiteConfiguration!==void 0&&(l=qL(e.WebsiteConfiguration,n));let c;return e.WebsiteConfiguration!==void 0&&(c=qL(e.WebsiteConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketWebsiteCommand=wie;var kie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":e.ContentType||"application/octet-stream","x-amz-acl":e.ACL,"cache-control":e.CacheControl,"content-disposition":e.ContentDisposition,"content-encoding":e.ContentEncoding,"content-language":e.ContentLanguage,"content-length":[()=>P(e.ContentLength),()=>e.ContentLength.toString()],"content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-checksum-crc32":e.ChecksumCRC32,"x-amz-checksum-crc32c":e.ChecksumCRC32C,"x-amz-checksum-sha1":e.ChecksumSHA1,"x-amz-checksum-sha256":e.ChecksumSHA256,expires:[()=>P(e.Expires),()=>(0,d.dateToUtcString)(e.Expires).toString()],"x-amz-grant-full-control":e.GrantFullControl,"x-amz-grant-read":e.GrantRead,"x-amz-grant-read-acp":e.GrantReadACP,"x-amz-grant-write-acp":e.GrantWriteACP,"x-amz-server-side-encryption":e.ServerSideEncryption,"x-amz-storage-class":e.StorageClass,"x-amz-website-redirect-location":e.WebsiteRedirectLocation,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-server-side-encryption-aws-kms-key-id":e.SSEKMSKeyId,"x-amz-server-side-encryption-context":e.SSEKMSEncryptionContext,"x-amz-server-side-encryption-bucket-key-enabled":[()=>P(e.BucketKeyEnabled),()=>e.BucketKeyEnabled.toString()],"x-amz-request-payer":e.RequestPayer,"x-amz-tagging":e.Tagging,"x-amz-object-lock-mode":e.ObjectLockMode,"x-amz-object-lock-retain-until-date":[()=>P(e.ObjectLockRetainUntilDate),()=>(e.ObjectLockRetainUntilDate.toISOString().split(".")[0]+"Z").toString()],"x-amz-object-lock-legal-hold":e.ObjectLockLegalHoldStatus,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,...e.Metadata!==void 0&&Object.keys(e.Metadata).reduce((y,_)=>(y[`x-amz-meta-${_.toLowerCase()}`]=e.Metadata[_],y),{})}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"PutObject"]}),l;e.Body!==void 0&&(l=e.Body);let c;return e.Body!==void 0&&(c=e.Body,l=c),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutObjectCommand=kie;var Aie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-acl":e.ACL,"content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-grant-full-control":e.GrantFullControl,"x-amz-grant-read":e.GrantRead,"x-amz-grant-read-acp":e.GrantReadACP,"x-amz-grant-write":e.GrantWrite,"x-amz-grant-write-acp":e.GrantWriteACP,"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({acl:[,""],versionId:[,e.VersionId]}),l;e.AccessControlPolicy!==void 0&&(l=my(e.AccessControlPolicy,n));let c;return e.AccessControlPolicy!==void 0&&(c=my(e.AccessControlPolicy,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutObjectAclCommand=Aie;var Iie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-request-payer":e.RequestPayer,"content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"legal-hold":[,""],versionId:[,e.VersionId]}),l;e.LegalHold!==void 0&&(l=xL(e.LegalHold,n));let c;return e.LegalHold!==void 0&&(c=xL(e.LegalHold,n),c=c.withName("LegalHold"),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutObjectLegalHoldCommand=Iie;var Rie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-request-payer":e.RequestPayer,"x-amz-bucket-object-lock-token":e.Token,"content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({"object-lock":[,""]}),l;e.ObjectLockConfiguration!==void 0&&(l=vL(e.ObjectLockConfiguration,n));let c;return e.ObjectLockConfiguration!==void 0&&(c=vL(e.ObjectLockConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutObjectLockConfigurationCommand=Rie;var Nie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-request-payer":e.RequestPayer,"x-amz-bypass-governance-retention":[()=>P(e.BypassGovernanceRetention),()=>e.BypassGovernanceRetention.toString()],"content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({retention:[,""],versionId:[,e.VersionId]}),l;e.Retention!==void 0&&(l=wL(e.Retention,n));let c;return e.Retention!==void 0&&(c=wL(e.Retention,n),c=c.withName("Retention"),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutObjectRetentionCommand=Nie;var Oie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-request-payer":e.RequestPayer}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({tagging:[,""],versionId:[,e.VersionId]}),l;e.Tagging!==void 0&&(l=td(e.Tagging,n));let c;return e.Tagging!==void 0&&(c=td(e.Tagging,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutObjectTaggingCommand=Oie;var Tie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1);let u=(0,d.map)({publicAccessBlock:[,""]}),l;e.PublicAccessBlockConfiguration!==void 0&&(l=AL(e.PublicAccessBlockConfiguration,n));let c;return e.PublicAccessBlockConfiguration!==void 0&&(c=AL(e.PublicAccessBlockConfiguration,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutPublicAccessBlockCommand=Tie;var qie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-request-payer":e.RequestPayer,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({restore:[,""],"x-id":[,"RestoreObject"],versionId:[,e.VersionId]}),l;e.RestoreRequest!==void 0&&(l=NL(e.RestoreRequest,n));let c;return e.RestoreRequest!==void 0&&(c=NL(e.RestoreRequest,n),l='',c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),l+=c.toString()),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,query:u,body:l})};p.se_RestoreObjectCommand=qie;var Bie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/xml","x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({select:[,""],"select-type":[,"2"],"x-id":[,"SelectObjectContent"]}),l;l='';let c=new f.XmlNode("SelectObjectContentRequest");if(c.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),e.Expression!==void 0){let y=f.XmlNode.of("Expression",e.Expression).withName("Expression");c.addChildNode(y)}if(e.ExpressionType!==void 0){let y=f.XmlNode.of("ExpressionType",e.ExpressionType).withName("ExpressionType");c.addChildNode(y)}if(e.InputSerialization!==void 0){let y=LL(e.InputSerialization,n).withName("InputSerialization");c.addChildNode(y)}if(e.OutputSerialization!==void 0){let y=jL(e.OutputSerialization,n).withName("OutputSerialization");c.addChildNode(y)}if(e.RequestProgress!==void 0){let y=jue(e.RequestProgress,n).withName("RequestProgress");c.addChildNode(y)}if(e.ScanRange!==void 0){let y=$ue(e.ScanRange,n).withName("ScanRange");c.addChildNode(y)}return l+=c.toString(),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,query:u,body:l})};p.se_SelectObjectContentCommand=Bie;var Mie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"content-type":"application/octet-stream","content-length":[()=>P(e.ContentLength),()=>e.ContentLength.toString()],"content-md5":e.ContentMD5,"x-amz-sdk-checksum-algorithm":e.ChecksumAlgorithm,"x-amz-checksum-crc32":e.ChecksumCRC32,"x-amz-checksum-crc32c":e.ChecksumCRC32C,"x-amz-checksum-sha1":e.ChecksumSHA1,"x-amz-checksum-sha256":e.ChecksumSHA256,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"UploadPart"],partNumber:[(0,d.expectNonNull)(e.PartNumber,"PartNumber")!=null,()=>e.PartNumber.toString()],uploadId:[,(0,d.expectNonNull)(e.UploadId,"UploadId")]}),l;e.Body!==void 0&&(l=e.Body);let c;return e.Body!==void 0&&(c=e.Body,l=c),new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_UploadPartCommand=Mie;var Die=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-copy-source":e.CopySource,"x-amz-copy-source-if-match":e.CopySourceIfMatch,"x-amz-copy-source-if-modified-since":[()=>P(e.CopySourceIfModifiedSince),()=>(0,d.dateToUtcString)(e.CopySourceIfModifiedSince).toString()],"x-amz-copy-source-if-none-match":e.CopySourceIfNoneMatch,"x-amz-copy-source-if-unmodified-since":[()=>P(e.CopySourceIfUnmodifiedSince),()=>(0,d.dateToUtcString)(e.CopySourceIfUnmodifiedSince).toString()],"x-amz-copy-source-range":e.CopySourceRange,"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":e.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-copy-source-server-side-encryption-customer-algorithm":e.CopySourceSSECustomerAlgorithm,"x-amz-copy-source-server-side-encryption-customer-key":e.CopySourceSSECustomerKey,"x-amz-copy-source-server-side-encryption-customer-key-md5":e.CopySourceSSECustomerKeyMD5,"x-amz-request-payer":e.RequestPayer,"x-amz-expected-bucket-owner":e.ExpectedBucketOwner,"x-amz-source-expected-bucket-owner":e.ExpectedSourceBucketOwner}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/{Key+}`;i=(0,d.resolvedPath)(i,e,"Bucket",()=>e.Bucket,"{Bucket}",!1),i=(0,d.resolvedPath)(i,e,"Key",()=>e.Key,"{Key+}",!0);let u=(0,d.map)({"x-id":[,"UploadPartCopy"],partNumber:[(0,d.expectNonNull)(e.PartNumber,"PartNumber")!=null,()=>e.PartNumber.toString()],uploadId:[,(0,d.expectNonNull)(e.UploadId,"UploadId")]}),l;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_UploadPartCopyCommand=Die;var Fie=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,d.map)({},P,{"x-amz-content-sha256":"UNSIGNED-PAYLOAD","content-type":"application/octet-stream","x-amz-request-route":e.RequestRoute,"x-amz-request-token":e.RequestToken,"x-amz-fwd-status":[()=>P(e.StatusCode),()=>e.StatusCode.toString()],"x-amz-fwd-error-code":e.ErrorCode,"x-amz-fwd-error-message":e.ErrorMessage,"x-amz-fwd-header-accept-ranges":e.AcceptRanges,"x-amz-fwd-header-cache-control":e.CacheControl,"x-amz-fwd-header-content-disposition":e.ContentDisposition,"x-amz-fwd-header-content-encoding":e.ContentEncoding,"x-amz-fwd-header-content-language":e.ContentLanguage,"content-length":[()=>P(e.ContentLength),()=>e.ContentLength.toString()],"x-amz-fwd-header-content-range":e.ContentRange,"x-amz-fwd-header-content-type":e.ContentType,"x-amz-fwd-header-x-amz-checksum-crc32":e.ChecksumCRC32,"x-amz-fwd-header-x-amz-checksum-crc32c":e.ChecksumCRC32C,"x-amz-fwd-header-x-amz-checksum-sha1":e.ChecksumSHA1,"x-amz-fwd-header-x-amz-checksum-sha256":e.ChecksumSHA256,"x-amz-fwd-header-x-amz-delete-marker":[()=>P(e.DeleteMarker),()=>e.DeleteMarker.toString()],"x-amz-fwd-header-etag":e.ETag,"x-amz-fwd-header-expires":[()=>P(e.Expires),()=>(0,d.dateToUtcString)(e.Expires).toString()],"x-amz-fwd-header-x-amz-expiration":e.Expiration,"x-amz-fwd-header-last-modified":[()=>P(e.LastModified),()=>(0,d.dateToUtcString)(e.LastModified).toString()],"x-amz-fwd-header-x-amz-missing-meta":[()=>P(e.MissingMeta),()=>e.MissingMeta.toString()],"x-amz-fwd-header-x-amz-object-lock-mode":e.ObjectLockMode,"x-amz-fwd-header-x-amz-object-lock-legal-hold":e.ObjectLockLegalHoldStatus,"x-amz-fwd-header-x-amz-object-lock-retain-until-date":[()=>P(e.ObjectLockRetainUntilDate),()=>(e.ObjectLockRetainUntilDate.toISOString().split(".")[0]+"Z").toString()],"x-amz-fwd-header-x-amz-mp-parts-count":[()=>P(e.PartsCount),()=>e.PartsCount.toString()],"x-amz-fwd-header-x-amz-replication-status":e.ReplicationStatus,"x-amz-fwd-header-x-amz-request-charged":e.RequestCharged,"x-amz-fwd-header-x-amz-restore":e.Restore,"x-amz-fwd-header-x-amz-server-side-encryption":e.ServerSideEncryption,"x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm,"x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id":e.SSEKMSKeyId,"x-amz-fwd-header-x-amz-server-side-encryption-customer-key-md5":e.SSECustomerKeyMD5,"x-amz-fwd-header-x-amz-storage-class":e.StorageClass,"x-amz-fwd-header-x-amz-tagging-count":[()=>P(e.TagCount),()=>e.TagCount.toString()],"x-amz-fwd-header-x-amz-version-id":e.VersionId,"x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled":[()=>P(e.BucketKeyEnabled),()=>e.BucketKeyEnabled.toString()],...e.Metadata!==void 0&&Object.keys(e.Metadata).reduce((_,C)=>(_[`x-amz-meta-${C.toLowerCase()}`]=e.Metadata[C],_),{})}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/WriteGetObjectResponse`,u=(0,d.map)({"x-id":[,"WriteGetObjectResponse"]}),l;e.Body!==void 0&&(l=e.Body);let c;e.Body!==void 0&&(c=e.Body,l=c);let{hostname:y}=await n.endpoint();if(n.disableHostPrefix!==!0){if(y="{RequestRoute}."+y,e.RequestRoute===void 0)throw new Error("Empty value provided for input host prefix: RequestRoute.");if(y=y.replace("{RequestRoute}",e.RequestRoute),!(0,T.isValidHostname)(y))throw new Error("ValidationError: prefixed hostname must be hostname compatible.")}return new T.HttpRequest({protocol:r,hostname:y,port:o,method:"POST",headers:a,path:i,query:u,body:l})};p.se_WriteGetObjectResponseCommand=Fie;var Lie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return jie(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_AbortMultipartUploadCommand=Lie;var jie=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body);switch(r){case"NoSuchUpload":case"com.amazonaws.s3#NoSuchUpload":throw await mle(t,n);default:let o=t.body;return M({output:e,parsedBody:o,errorCode:r})}},Uie=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return zie(e,n);let t=(0,d.map)({$metadata:I(e),Expiration:[,e.headers["x-amz-expiration"]],ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],VersionId:[,e.headers["x-amz-version-id"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.Bucket!==void 0&&(t.Bucket=(0,d.expectString)(r.Bucket)),r.ChecksumCRC32!==void 0&&(t.ChecksumCRC32=(0,d.expectString)(r.ChecksumCRC32)),r.ChecksumCRC32C!==void 0&&(t.ChecksumCRC32C=(0,d.expectString)(r.ChecksumCRC32C)),r.ChecksumSHA1!==void 0&&(t.ChecksumSHA1=(0,d.expectString)(r.ChecksumSHA1)),r.ChecksumSHA256!==void 0&&(t.ChecksumSHA256=(0,d.expectString)(r.ChecksumSHA256)),r.ETag!==void 0&&(t.ETag=(0,d.expectString)(r.ETag)),r.Key!==void 0&&(t.Key=(0,d.expectString)(r.Key)),r.Location!==void 0&&(t.Location=(0,d.expectString)(r.Location)),t};p.de_CompleteMultipartUploadCommand=Uie;var zie=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Gie=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Hie(e,n);let t=(0,d.map)({$metadata:I(e),Expiration:[,e.headers["x-amz-expiration"]],CopySourceVersionId:[,e.headers["x-amz-copy-source-version-id"]],VersionId:[,e.headers["x-amz-version-id"]],ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],SSECustomerAlgorithm:[,e.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,e.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],SSEKMSEncryptionContext:[,e.headers["x-amz-server-side-encryption-context"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectObject)(await ne(e.body,n));return t.CopyObjectResult=kme(r,n),t};p.de_CopyObjectCommand=Gie;var Hie=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body);switch(r){case"ObjectNotInActiveTierError":case"com.amazonaws.s3#ObjectNotInActiveTierError":throw await fle(t,n);default:let o=t.body;return M({output:e,parsedBody:o,errorCode:r})}},$ie=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Kie(e,n);let t=(0,d.map)({$metadata:I(e),Location:[,e.headers.location]});return await(0,d.collectBody)(e.body,n),t};p.de_CreateBucketCommand=$ie;var Kie=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body);switch(r){case"BucketAlreadyExists":case"com.amazonaws.s3#BucketAlreadyExists":throw await dle(t,n);case"BucketAlreadyOwnedByYou":case"com.amazonaws.s3#BucketAlreadyOwnedByYou":throw await lle(t,n);default:let o=t.body;return M({output:e,parsedBody:o,errorCode:r})}},Vie=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Xie(e,n);let t=(0,d.map)({$metadata:I(e),AbortDate:[()=>e.headers["x-amz-abort-date"]!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc7231DateTime)(e.headers["x-amz-abort-date"]))],AbortRuleId:[,e.headers["x-amz-abort-rule-id"]],ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],SSECustomerAlgorithm:[,e.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,e.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],SSEKMSEncryptionContext:[,e.headers["x-amz-server-side-encryption-context"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],RequestCharged:[,e.headers["x-amz-request-charged"]],ChecksumAlgorithm:[,e.headers["x-amz-checksum-algorithm"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.Bucket!==void 0&&(t.Bucket=(0,d.expectString)(r.Bucket)),r.Key!==void 0&&(t.Key=(0,d.expectString)(r.Key)),r.UploadId!==void 0&&(t.UploadId=(0,d.expectString)(r.UploadId)),t};p.de_CreateMultipartUploadCommand=Vie;var Xie=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Wie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Yie(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketCommand=Wie;var Yie=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Qie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Jie(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketAnalyticsConfigurationCommand=Qie;var Jie=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Zie=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return eae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketCorsCommand=Zie;var eae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},tae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return nae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketEncryptionCommand=tae;var nae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},rae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return oae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketIntelligentTieringConfigurationCommand=rae;var oae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},sae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return iae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketInventoryConfigurationCommand=sae;var iae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},aae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return cae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketLifecycleCommand=aae;var cae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},dae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return lae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketMetricsConfigurationCommand=dae;var lae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},uae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return mae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketOwnershipControlsCommand=uae;var mae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},pae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return fae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketPolicyCommand=pae;var fae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},yae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return _ae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketReplicationCommand=yae;var _ae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},gae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return hae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketTaggingCommand=gae;var hae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Cae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Sae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketWebsiteCommand=Cae;var Sae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Eae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return bae(e,n);let t=(0,d.map)({$metadata:I(e),DeleteMarker:[()=>e.headers["x-amz-delete-marker"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-delete-marker"])],VersionId:[,e.headers["x-amz-version-id"]],RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteObjectCommand=Eae;var bae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Pae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return vae(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.Deleted===""?t.Deleted=[]:r.Deleted!==void 0&&(t.Deleted=Tme((0,d.getArrayIfSingleItem)(r.Deleted),n)),r.Error===""?t.Errors=[]:r.Error!==void 0&&(t.Errors=zme((0,d.getArrayIfSingleItem)(r.Error),n)),t};p.de_DeleteObjectsCommand=Pae;var vae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},xae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return wae(e,n);let t=(0,d.map)({$metadata:I(e),VersionId:[,e.headers["x-amz-version-id"]]});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteObjectTaggingCommand=xae;var wae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},kae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Aae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeletePublicAccessBlockCommand=kae;var Aae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Iae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Rae(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.Status!==void 0&&(t.Status=(0,d.expectString)(r.Status)),t};p.de_GetBucketAccelerateConfigurationCommand=Iae;var Rae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Nae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Oae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.AccessControlList===""?t.Grants=[]:r.AccessControlList!==void 0&&r.AccessControlList.Grant!==void 0&&(t.Grants=$L((0,d.getArrayIfSingleItem)(r.AccessControlList.Grant),n)),r.Owner!==void 0&&(t.Owner=qr(r.Owner,n)),t};p.de_GetBucketAclCommand=Nae;var Oae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Tae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return qae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await ne(e.body,n));return t.AnalyticsConfiguration=zL(r,n),t};p.de_GetBucketAnalyticsConfigurationCommand=Tae;var qae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Bae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Mae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.CORSRule===""?t.CORSRules=[]:r.CORSRule!==void 0&&(t.CORSRules=Rme((0,d.getArrayIfSingleItem)(r.CORSRule),n)),t};p.de_GetBucketCorsCommand=Bae;var Mae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Dae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Fae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await ne(e.body,n));return t.ServerSideEncryptionConfiguration=nfe(r,n),t};p.de_GetBucketEncryptionCommand=Dae;var Fae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Lae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return jae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await ne(e.body,n));return t.IntelligentTieringConfiguration=VL(r,n),t};p.de_GetBucketIntelligentTieringConfigurationCommand=Lae;var jae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Uae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return zae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await ne(e.body,n));return t.InventoryConfiguration=XL(r,n),t};p.de_GetBucketInventoryConfigurationCommand=Uae;var zae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Gae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Hae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.Rule===""?t.Rules=[]:r.Rule!==void 0&&(t.Rules=ppe((0,d.getArrayIfSingleItem)(r.Rule),n)),t};p.de_GetBucketLifecycleConfigurationCommand=Gae;var Hae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},$ae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Kae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.LocationConstraint!==void 0&&(t.LocationConstraint=(0,d.expectString)(r.LocationConstraint)),t};p.de_GetBucketLocationCommand=$ae;var Kae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Vae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Xae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.LoggingEnabled!==void 0&&(t.LoggingEnabled=fpe(r.LoggingEnabled,n)),t};p.de_GetBucketLoggingCommand=Vae;var Xae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Wae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Yae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await ne(e.body,n));return t.MetricsConfiguration=WL(r,n),t};p.de_GetBucketMetricsConfigurationCommand=Wae;var Yae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Qae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Jae(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.EventBridgeConfiguration!==void 0&&(t.EventBridgeConfiguration=Gme(r.EventBridgeConfiguration,n)),r.CloudFunctionConfiguration===""?t.LambdaFunctionConfigurations=[]:r.CloudFunctionConfiguration!==void 0&&(t.LambdaFunctionConfigurations=cpe((0,d.getArrayIfSingleItem)(r.CloudFunctionConfiguration),n)),r.QueueConfiguration===""?t.QueueConfigurations=[]:r.QueueConfiguration!==void 0&&(t.QueueConfigurations=zpe((0,d.getArrayIfSingleItem)(r.QueueConfiguration),n)),r.TopicConfiguration===""?t.TopicConfigurations=[]:r.TopicConfiguration!==void 0&&(t.TopicConfigurations=gfe((0,d.getArrayIfSingleItem)(r.TopicConfiguration),n)),t};p.de_GetBucketNotificationConfigurationCommand=Qae;var Jae=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Zae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return ece(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await ne(e.body,n));return t.OwnershipControls=Ope(r,n),t};p.de_GetBucketOwnershipControlsCommand=Zae;var ece=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},tce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return nce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=await ZL(e.body,n);return t.Policy=(0,d.expectString)(r),t};p.de_GetBucketPolicyCommand=tce;var nce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},rce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return oce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await ne(e.body,n));return t.PolicyStatus=Fpe(r,n),t};p.de_GetBucketPolicyStatusCommand=rce;var oce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},sce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return ice(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await ne(e.body,n));return t.ReplicationConfiguration=Kpe(r,n),t};p.de_GetBucketReplicationCommand=sce;var ice=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},ace=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return cce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.Payer!==void 0&&(t.Payer=(0,d.expectString)(r.Payer)),t};p.de_GetBucketRequestPaymentCommand=ace;var cce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},dce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return lce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.TagSet===""?t.TagSet=[]:r.TagSet!==void 0&&r.TagSet.Tag!==void 0&&(t.TagSet=mo((0,d.getArrayIfSingleItem)(r.TagSet.Tag),n)),t};p.de_GetBucketTaggingCommand=dce;var lce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},uce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return mce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.MfaDelete!==void 0&&(t.MFADelete=(0,d.expectString)(r.MfaDelete)),r.Status!==void 0&&(t.Status=(0,d.expectString)(r.Status)),t};p.de_GetBucketVersioningCommand=uce;var mce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},pce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return fce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.ErrorDocument!==void 0&&(t.ErrorDocument=Ume(r.ErrorDocument,n)),r.IndexDocument!==void 0&&(t.IndexDocument=Yme(r.IndexDocument,n)),r.RedirectAllRequestsTo!==void 0&&(t.RedirectAllRequestsTo=Hpe(r.RedirectAllRequestsTo,n)),r.RoutingRules===""?t.RoutingRules=[]:r.RoutingRules!==void 0&&r.RoutingRules.RoutingRule!==void 0&&(t.RoutingRules=Zpe((0,d.getArrayIfSingleItem)(r.RoutingRules.RoutingRule),n)),t};p.de_GetBucketWebsiteCommand=pce;var fce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},yce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return _ce(e,n);let t=(0,d.map)({$metadata:I(e),DeleteMarker:[()=>e.headers["x-amz-delete-marker"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-delete-marker"])],AcceptRanges:[,e.headers["accept-ranges"]],Expiration:[,e.headers["x-amz-expiration"]],Restore:[,e.headers["x-amz-restore"]],LastModified:[()=>e.headers["last-modified"]!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc7231DateTime)(e.headers["last-modified"]))],ContentLength:[()=>e.headers["content-length"]!==void 0,()=>(0,d.strictParseLong)(e.headers["content-length"])],ETag:[,e.headers.etag],ChecksumCRC32:[,e.headers["x-amz-checksum-crc32"]],ChecksumCRC32C:[,e.headers["x-amz-checksum-crc32c"]],ChecksumSHA1:[,e.headers["x-amz-checksum-sha1"]],ChecksumSHA256:[,e.headers["x-amz-checksum-sha256"]],MissingMeta:[()=>e.headers["x-amz-missing-meta"]!==void 0,()=>(0,d.strictParseInt32)(e.headers["x-amz-missing-meta"])],VersionId:[,e.headers["x-amz-version-id"]],CacheControl:[,e.headers["cache-control"]],ContentDisposition:[,e.headers["content-disposition"]],ContentEncoding:[,e.headers["content-encoding"]],ContentLanguage:[,e.headers["content-language"]],ContentRange:[,e.headers["content-range"]],ContentType:[,e.headers["content-type"]],Expires:[()=>e.headers.expires!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc7231DateTime)(e.headers.expires))],WebsiteRedirectLocation:[,e.headers["x-amz-website-redirect-location"]],ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],SSECustomerAlgorithm:[,e.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,e.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],StorageClass:[,e.headers["x-amz-storage-class"]],RequestCharged:[,e.headers["x-amz-request-charged"]],ReplicationStatus:[,e.headers["x-amz-replication-status"]],PartsCount:[()=>e.headers["x-amz-mp-parts-count"]!==void 0,()=>(0,d.strictParseInt32)(e.headers["x-amz-mp-parts-count"])],TagCount:[()=>e.headers["x-amz-tagging-count"]!==void 0,()=>(0,d.strictParseInt32)(e.headers["x-amz-tagging-count"])],ObjectLockMode:[,e.headers["x-amz-object-lock-mode"]],ObjectLockRetainUntilDate:[()=>e.headers["x-amz-object-lock-retain-until-date"]!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.headers["x-amz-object-lock-retain-until-date"]))],ObjectLockLegalHoldStatus:[,e.headers["x-amz-object-lock-legal-hold"]],Metadata:[,Object.keys(e.headers).filter(o=>o.startsWith("x-amz-meta-")).reduce((o,s)=>(o[s.substring(11)]=e.headers[s],o),{})]}),r=e.body;return n.sdkStreamMixin(r),t.Body=r,t};p.de_GetObjectCommand=yce;var _ce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body);switch(r){case"InvalidObjectState":case"com.amazonaws.s3#InvalidObjectState":throw await ule(t,n);case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await py(t,n);default:let o=t.body;return M({output:e,parsedBody:o,errorCode:r})}},gce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return hce(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.AccessControlList===""?t.Grants=[]:r.AccessControlList!==void 0&&r.AccessControlList.Grant!==void 0&&(t.Grants=$L((0,d.getArrayIfSingleItem)(r.AccessControlList.Grant),n)),r.Owner!==void 0&&(t.Owner=qr(r.Owner,n)),t};p.de_GetObjectAclCommand=gce;var hce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body);switch(r){case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await py(t,n);default:let o=t.body;return M({output:e,parsedBody:o,errorCode:r})}},Cce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Sce(e,n);let t=(0,d.map)({$metadata:I(e),DeleteMarker:[()=>e.headers["x-amz-delete-marker"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-delete-marker"])],LastModified:[()=>e.headers["last-modified"]!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc7231DateTime)(e.headers["last-modified"]))],VersionId:[,e.headers["x-amz-version-id"]],RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.Checksum!==void 0&&(t.Checksum=Pme(r.Checksum,n)),r.ETag!==void 0&&(t.ETag=(0,d.expectString)(r.ETag)),r.ObjectParts!==void 0&&(t.ObjectParts=Xme(r.ObjectParts,n)),r.ObjectSize!==void 0&&(t.ObjectSize=(0,d.strictParseLong)(r.ObjectSize)),r.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(r.StorageClass)),t};p.de_GetObjectAttributesCommand=Cce;var Sce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body);switch(r){case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await py(t,n);default:let o=t.body;return M({output:e,parsedBody:o,errorCode:r})}},Ece=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return bce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await ne(e.body,n));return t.LegalHold=wpe(r,n),t};p.de_GetObjectLegalHoldCommand=Ece;var bce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Pce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return vce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await ne(e.body,n));return t.ObjectLockConfiguration=xpe(r,n),t};p.de_GetObjectLockConfigurationCommand=Pce;var vce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},xce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return wce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await ne(e.body,n));return t.Retention=kpe(r,n),t};p.de_GetObjectRetentionCommand=xce;var wce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},kce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Ace(e,n);let t=(0,d.map)({$metadata:I(e),VersionId:[,e.headers["x-amz-version-id"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.TagSet===""?t.TagSet=[]:r.TagSet!==void 0&&r.TagSet.Tag!==void 0&&(t.TagSet=mo((0,d.getArrayIfSingleItem)(r.TagSet.Tag),n)),t};p.de_GetObjectTaggingCommand=kce;var Ace=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Ice=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Rce(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=e.body;return n.sdkStreamMixin(r),t.Body=r,t};p.de_GetObjectTorrentCommand=Ice;var Rce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Nce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Oce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectObject)(await ne(e.body,n));return t.PublicAccessBlockConfiguration=jpe(r,n),t};p.de_GetPublicAccessBlockCommand=Nce;var Oce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Tce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return qce(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_HeadBucketCommand=Tce;var qce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body);switch(r){case"NotFound":case"com.amazonaws.s3#NotFound":throw await ML(t,n);default:let o=t.body;return M({output:e,parsedBody:o,errorCode:r})}},Bce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Mce(e,n);let t=(0,d.map)({$metadata:I(e),DeleteMarker:[()=>e.headers["x-amz-delete-marker"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-delete-marker"])],AcceptRanges:[,e.headers["accept-ranges"]],Expiration:[,e.headers["x-amz-expiration"]],Restore:[,e.headers["x-amz-restore"]],ArchiveStatus:[,e.headers["x-amz-archive-status"]],LastModified:[()=>e.headers["last-modified"]!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc7231DateTime)(e.headers["last-modified"]))],ContentLength:[()=>e.headers["content-length"]!==void 0,()=>(0,d.strictParseLong)(e.headers["content-length"])],ChecksumCRC32:[,e.headers["x-amz-checksum-crc32"]],ChecksumCRC32C:[,e.headers["x-amz-checksum-crc32c"]],ChecksumSHA1:[,e.headers["x-amz-checksum-sha1"]],ChecksumSHA256:[,e.headers["x-amz-checksum-sha256"]],ETag:[,e.headers.etag],MissingMeta:[()=>e.headers["x-amz-missing-meta"]!==void 0,()=>(0,d.strictParseInt32)(e.headers["x-amz-missing-meta"])],VersionId:[,e.headers["x-amz-version-id"]],CacheControl:[,e.headers["cache-control"]],ContentDisposition:[,e.headers["content-disposition"]],ContentEncoding:[,e.headers["content-encoding"]],ContentLanguage:[,e.headers["content-language"]],ContentType:[,e.headers["content-type"]],Expires:[()=>e.headers.expires!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc7231DateTime)(e.headers.expires))],WebsiteRedirectLocation:[,e.headers["x-amz-website-redirect-location"]],ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],SSECustomerAlgorithm:[,e.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,e.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],StorageClass:[,e.headers["x-amz-storage-class"]],RequestCharged:[,e.headers["x-amz-request-charged"]],ReplicationStatus:[,e.headers["x-amz-replication-status"]],PartsCount:[()=>e.headers["x-amz-mp-parts-count"]!==void 0,()=>(0,d.strictParseInt32)(e.headers["x-amz-mp-parts-count"])],ObjectLockMode:[,e.headers["x-amz-object-lock-mode"]],ObjectLockRetainUntilDate:[()=>e.headers["x-amz-object-lock-retain-until-date"]!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.headers["x-amz-object-lock-retain-until-date"]))],ObjectLockLegalHoldStatus:[,e.headers["x-amz-object-lock-legal-hold"]],Metadata:[,Object.keys(e.headers).filter(r=>r.startsWith("x-amz-meta-")).reduce((r,o)=>(r[o.substring(11)]=e.headers[o],r),{})]});return await(0,d.collectBody)(e.body,n),t};p.de_HeadObjectCommand=Bce;var Mce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body);switch(r){case"NotFound":case"com.amazonaws.s3#NotFound":throw await ML(t,n);default:let o=t.body;return M({output:e,parsedBody:o,errorCode:r})}},Dce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Fce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.AnalyticsConfiguration===""?t.AnalyticsConfigurationList=[]:r.AnalyticsConfiguration!==void 0&&(t.AnalyticsConfigurationList=gme((0,d.getArrayIfSingleItem)(r.AnalyticsConfiguration),n)),r.ContinuationToken!==void 0&&(t.ContinuationToken=(0,d.expectString)(r.ContinuationToken)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.NextContinuationToken!==void 0&&(t.NextContinuationToken=(0,d.expectString)(r.NextContinuationToken)),t};p.de_ListBucketAnalyticsConfigurationsCommand=Dce;var Fce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Lce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return jce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.ContinuationToken!==void 0&&(t.ContinuationToken=(0,d.expectString)(r.ContinuationToken)),r.IntelligentTieringConfiguration===""?t.IntelligentTieringConfigurationList=[]:r.IntelligentTieringConfiguration!==void 0&&(t.IntelligentTieringConfigurationList=Jme((0,d.getArrayIfSingleItem)(r.IntelligentTieringConfiguration),n)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.NextContinuationToken!==void 0&&(t.NextContinuationToken=(0,d.expectString)(r.NextContinuationToken)),t};p.de_ListBucketIntelligentTieringConfigurationsCommand=Lce;var jce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Uce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return zce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.ContinuationToken!==void 0&&(t.ContinuationToken=(0,d.expectString)(r.ContinuationToken)),r.InventoryConfiguration===""?t.InventoryConfigurationList=[]:r.InventoryConfiguration!==void 0&&(t.InventoryConfigurationList=epe((0,d.getArrayIfSingleItem)(r.InventoryConfiguration),n)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.NextContinuationToken!==void 0&&(t.NextContinuationToken=(0,d.expectString)(r.NextContinuationToken)),t};p.de_ListBucketInventoryConfigurationsCommand=Uce;var zce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Gce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Hce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.ContinuationToken!==void 0&&(t.ContinuationToken=(0,d.expectString)(r.ContinuationToken)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.MetricsConfiguration===""?t.MetricsConfigurationList=[]:r.MetricsConfiguration!==void 0&&(t.MetricsConfigurationList=gpe((0,d.getArrayIfSingleItem)(r.MetricsConfiguration),n)),r.NextContinuationToken!==void 0&&(t.NextContinuationToken=(0,d.expectString)(r.NextContinuationToken)),t};p.de_ListBucketMetricsConfigurationsCommand=Gce;var Hce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},$ce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Kce(e,n);let t=(0,d.map)({$metadata:I(e)}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.Buckets===""?t.Buckets=[]:r.Buckets!==void 0&&r.Buckets.Bucket!==void 0&&(t.Buckets=bme((0,d.getArrayIfSingleItem)(r.Buckets.Bucket),n)),r.Owner!==void 0&&(t.Owner=qr(r.Owner,n)),t};p.de_ListBucketsCommand=$ce;var Kce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Vce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Xce(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.Bucket!==void 0&&(t.Bucket=(0,d.expectString)(r.Bucket)),r.CommonPrefixes===""?t.CommonPrefixes=[]:r.CommonPrefixes!==void 0&&(t.CommonPrefixes=fy((0,d.getArrayIfSingleItem)(r.CommonPrefixes),n)),r.Delimiter!==void 0&&(t.Delimiter=(0,d.expectString)(r.Delimiter)),r.EncodingType!==void 0&&(t.EncodingType=(0,d.expectString)(r.EncodingType)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.KeyMarker!==void 0&&(t.KeyMarker=(0,d.expectString)(r.KeyMarker)),r.MaxUploads!==void 0&&(t.MaxUploads=(0,d.strictParseInt32)(r.MaxUploads)),r.NextKeyMarker!==void 0&&(t.NextKeyMarker=(0,d.expectString)(r.NextKeyMarker)),r.NextUploadIdMarker!==void 0&&(t.NextUploadIdMarker=(0,d.expectString)(r.NextUploadIdMarker)),r.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(r.Prefix)),r.UploadIdMarker!==void 0&&(t.UploadIdMarker=(0,d.expectString)(r.UploadIdMarker)),r.Upload===""?t.Uploads=[]:r.Upload!==void 0&&(t.Uploads=Spe((0,d.getArrayIfSingleItem)(r.Upload),n)),t};p.de_ListMultipartUploadsCommand=Vce;var Xce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Wce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Yce(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.CommonPrefixes===""?t.CommonPrefixes=[]:r.CommonPrefixes!==void 0&&(t.CommonPrefixes=fy((0,d.getArrayIfSingleItem)(r.CommonPrefixes),n)),r.Contents===""?t.Contents=[]:r.Contents!==void 0&&(t.Contents=YL((0,d.getArrayIfSingleItem)(r.Contents),n)),r.Delimiter!==void 0&&(t.Delimiter=(0,d.expectString)(r.Delimiter)),r.EncodingType!==void 0&&(t.EncodingType=(0,d.expectString)(r.EncodingType)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.Marker!==void 0&&(t.Marker=(0,d.expectString)(r.Marker)),r.MaxKeys!==void 0&&(t.MaxKeys=(0,d.strictParseInt32)(r.MaxKeys)),r.Name!==void 0&&(t.Name=(0,d.expectString)(r.Name)),r.NextMarker!==void 0&&(t.NextMarker=(0,d.expectString)(r.NextMarker)),r.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(r.Prefix)),t};p.de_ListObjectsCommand=Wce;var Yce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body);switch(r){case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await BL(t,n);default:let o=t.body;return M({output:e,parsedBody:o,errorCode:r})}},Qce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Jce(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.CommonPrefixes===""?t.CommonPrefixes=[]:r.CommonPrefixes!==void 0&&(t.CommonPrefixes=fy((0,d.getArrayIfSingleItem)(r.CommonPrefixes),n)),r.Contents===""?t.Contents=[]:r.Contents!==void 0&&(t.Contents=YL((0,d.getArrayIfSingleItem)(r.Contents),n)),r.ContinuationToken!==void 0&&(t.ContinuationToken=(0,d.expectString)(r.ContinuationToken)),r.Delimiter!==void 0&&(t.Delimiter=(0,d.expectString)(r.Delimiter)),r.EncodingType!==void 0&&(t.EncodingType=(0,d.expectString)(r.EncodingType)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.KeyCount!==void 0&&(t.KeyCount=(0,d.strictParseInt32)(r.KeyCount)),r.MaxKeys!==void 0&&(t.MaxKeys=(0,d.strictParseInt32)(r.MaxKeys)),r.Name!==void 0&&(t.Name=(0,d.expectString)(r.Name)),r.NextContinuationToken!==void 0&&(t.NextContinuationToken=(0,d.expectString)(r.NextContinuationToken)),r.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(r.Prefix)),r.StartAfter!==void 0&&(t.StartAfter=(0,d.expectString)(r.StartAfter)),t};p.de_ListObjectsV2Command=Qce;var Jce=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body);switch(r){case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await BL(t,n);default:let o=t.body;return M({output:e,parsedBody:o,errorCode:r})}},Zce=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return ede(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.CommonPrefixes===""?t.CommonPrefixes=[]:r.CommonPrefixes!==void 0&&(t.CommonPrefixes=fy((0,d.getArrayIfSingleItem)(r.CommonPrefixes),n)),r.DeleteMarker===""?t.DeleteMarkers=[]:r.DeleteMarker!==void 0&&(t.DeleteMarkers=Mme((0,d.getArrayIfSingleItem)(r.DeleteMarker),n)),r.Delimiter!==void 0&&(t.Delimiter=(0,d.expectString)(r.Delimiter)),r.EncodingType!==void 0&&(t.EncodingType=(0,d.expectString)(r.EncodingType)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.KeyMarker!==void 0&&(t.KeyMarker=(0,d.expectString)(r.KeyMarker)),r.MaxKeys!==void 0&&(t.MaxKeys=(0,d.strictParseInt32)(r.MaxKeys)),r.Name!==void 0&&(t.Name=(0,d.expectString)(r.Name)),r.NextKeyMarker!==void 0&&(t.NextKeyMarker=(0,d.expectString)(r.NextKeyMarker)),r.NextVersionIdMarker!==void 0&&(t.NextVersionIdMarker=(0,d.expectString)(r.NextVersionIdMarker)),r.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(r.Prefix)),r.VersionIdMarker!==void 0&&(t.VersionIdMarker=(0,d.expectString)(r.VersionIdMarker)),r.Version===""?t.Versions=[]:r.Version!==void 0&&(t.Versions=Npe((0,d.getArrayIfSingleItem)(r.Version),n)),t};p.de_ListObjectVersionsCommand=Zce;var ede=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},tde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return nde(e,n);let t=(0,d.map)({$metadata:I(e),AbortDate:[()=>e.headers["x-amz-abort-date"]!==void 0,()=>(0,d.expectNonNull)((0,d.parseRfc7231DateTime)(e.headers["x-amz-abort-date"]))],AbortRuleId:[,e.headers["x-amz-abort-rule-id"]],RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await ne(e.body,n)),"body");return r.Bucket!==void 0&&(t.Bucket=(0,d.expectString)(r.Bucket)),r.ChecksumAlgorithm!==void 0&&(t.ChecksumAlgorithm=(0,d.expectString)(r.ChecksumAlgorithm)),r.Initiator!==void 0&&(t.Initiator=KL(r.Initiator,n)),r.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(r.IsTruncated)),r.Key!==void 0&&(t.Key=(0,d.expectString)(r.Key)),r.MaxParts!==void 0&&(t.MaxParts=(0,d.strictParseInt32)(r.MaxParts)),r.NextPartNumberMarker!==void 0&&(t.NextPartNumberMarker=(0,d.expectString)(r.NextPartNumberMarker)),r.Owner!==void 0&&(t.Owner=qr(r.Owner,n)),r.PartNumberMarker!==void 0&&(t.PartNumberMarker=(0,d.expectString)(r.PartNumberMarker)),r.Part===""?t.Parts=[]:r.Part!==void 0&&(t.Parts=Mpe((0,d.getArrayIfSingleItem)(r.Part),n)),r.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(r.StorageClass)),r.UploadId!==void 0&&(t.UploadId=(0,d.expectString)(r.UploadId)),t};p.de_ListPartsCommand=tde;var nde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},rde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return ode(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketAccelerateConfigurationCommand=rde;var ode=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},sde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return ide(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketAclCommand=sde;var ide=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},ade=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return cde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketAnalyticsConfigurationCommand=ade;var cde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},dde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return lde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketCorsCommand=dde;var lde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},ude=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return mde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketEncryptionCommand=ude;var mde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},pde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return fde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketIntelligentTieringConfigurationCommand=pde;var fde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},yde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return _de(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketInventoryConfigurationCommand=yde;var _de=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},gde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return hde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketLifecycleConfigurationCommand=gde;var hde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Cde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Sde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketLoggingCommand=Cde;var Sde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Ede=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return bde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketMetricsConfigurationCommand=Ede;var bde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Pde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return vde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketNotificationConfigurationCommand=Pde;var vde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},xde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return wde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketOwnershipControlsCommand=xde;var wde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},kde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Ade(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketPolicyCommand=kde;var Ade=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Ide=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Rde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketReplicationCommand=Ide;var Rde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Nde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Ode(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketRequestPaymentCommand=Nde;var Ode=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Tde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return qde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketTaggingCommand=Tde;var qde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Bde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Mde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketVersioningCommand=Bde;var Mde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Dde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Fde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketWebsiteCommand=Dde;var Fde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Lde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return jde(e,n);let t=(0,d.map)({$metadata:I(e),Expiration:[,e.headers["x-amz-expiration"]],ETag:[,e.headers.etag],ChecksumCRC32:[,e.headers["x-amz-checksum-crc32"]],ChecksumCRC32C:[,e.headers["x-amz-checksum-crc32c"]],ChecksumSHA1:[,e.headers["x-amz-checksum-sha1"]],ChecksumSHA256:[,e.headers["x-amz-checksum-sha256"]],ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],VersionId:[,e.headers["x-amz-version-id"]],SSECustomerAlgorithm:[,e.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,e.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],SSEKMSEncryptionContext:[,e.headers["x-amz-server-side-encryption-context"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_PutObjectCommand=Lde;var jde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Ude=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return zde(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_PutObjectAclCommand=Ude;var zde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body);switch(r){case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await py(t,n);default:let o=t.body;return M({output:e,parsedBody:o,errorCode:r})}},Gde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Hde(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_PutObjectLegalHoldCommand=Gde;var Hde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},$de=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Kde(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_PutObjectLockConfigurationCommand=$de;var Kde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Vde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Xde(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_PutObjectRetentionCommand=Vde;var Xde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Wde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Yde(e,n);let t=(0,d.map)({$metadata:I(e),VersionId:[,e.headers["x-amz-version-id"]]});return await(0,d.collectBody)(e.body,n),t};p.de_PutObjectTaggingCommand=Wde;var Yde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Qde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Jde(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutPublicAccessBlockCommand=Qde;var Jde=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},Zde=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return ele(e,n);let t=(0,d.map)({$metadata:I(e),RequestCharged:[,e.headers["x-amz-request-charged"]],RestoreOutputPath:[,e.headers["x-amz-restore-output-path"]]});return await(0,d.collectBody)(e.body,n),t};p.de_RestoreObjectCommand=Zde;var ele=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body);switch(r){case"ObjectAlreadyInActiveTierError":case"com.amazonaws.s3#ObjectAlreadyInActiveTierError":throw await ple(t,n);default:let o=t.body;return M({output:e,parsedBody:o,errorCode:r})}},tle=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return nle(e,n);let t=(0,d.map)({$metadata:I(e)}),r=e.body;return t.Payload=yle(r,n),t};p.de_SelectObjectContentCommand=tle;var nle=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},rle=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return ole(e,n);let t=(0,d.map)({$metadata:I(e),ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],ETag:[,e.headers.etag],ChecksumCRC32:[,e.headers["x-amz-checksum-crc32"]],ChecksumCRC32C:[,e.headers["x-amz-checksum-crc32c"]],ChecksumSHA1:[,e.headers["x-amz-checksum-sha1"]],ChecksumSHA256:[,e.headers["x-amz-checksum-sha256"]],SSECustomerAlgorithm:[,e.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,e.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_UploadPartCommand=rle;var ole=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},sle=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return ile(e,n);let t=(0,d.map)({$metadata:I(e),CopySourceVersionId:[,e.headers["x-amz-copy-source-version-id"]],ServerSideEncryption:[,e.headers["x-amz-server-side-encryption"]],SSECustomerAlgorithm:[,e.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,e.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,e.headers["x-amz-server-side-encryption-aws-kms-key-id"]],BucketKeyEnabled:[()=>e.headers["x-amz-server-side-encryption-bucket-key-enabled"]!==void 0,()=>(0,d.parseBoolean)(e.headers["x-amz-server-side-encryption-bucket-key-enabled"])],RequestCharged:[,e.headers["x-amz-request-charged"]]}),r=(0,d.expectObject)(await ne(e.body,n));return t.CopyPartResult=Ame(r,n),t};p.de_UploadPartCopyCommand=sle;var ile=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},ale=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return cle(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_WriteGetObjectResponseCommand=ale;var cle=async(e,n)=>{let t={...e,body:await D(e.body,n)},r=F(e,t.body),o=t.body;return M({output:e,parsedBody:o,errorCode:r})},M=(0,d.withBaseException)(Zoe.S3ServiceException),dle=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Tt.BucketAlreadyExists({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},lle=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Tt.BucketAlreadyOwnedByYou({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},ule=async(e,n)=>{let t=(0,d.map)({}),r=e.body;r.AccessTier!==void 0&&(t.AccessTier=(0,d.expectString)(r.AccessTier)),r.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(r.StorageClass));let o=new Tt.InvalidObjectState({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},BL=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Tt.NoSuchBucket({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},py=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Tt.NoSuchKey({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},mle=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Tt.NoSuchUpload({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},ML=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Tt.NotFound({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},ple=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Joe.ObjectAlreadyInActiveTierError({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},fle=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new Tt.ObjectNotInActiveTierError({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},yle=(e,n)=>n.eventStreamMarshaller.deserialize(e,async t=>t.Records!=null?{Records:await Cle(t.Records,n)}:t.Stats!=null?{Stats:await Sle(t.Stats,n)}:t.Progress!=null?{Progress:await hle(t.Progress,n)}:t.Cont!=null?{Cont:await _le(t.Cont,n)}:t.End!=null?{End:await gle(t.End,n)}:{$unknown:e}),_le=async(e,n)=>{let t={},r=await ne(e.body,n);return Object.assign(t,wme(r,n)),t},gle=async(e,n)=>{let t={},r=await ne(e.body,n);return Object.assign(t,Lme(r,n)),t},hle=async(e,n)=>{let t={},r=await ne(e.body,n);return t.Details=Lpe(r,n),t},Cle=async(e,n)=>{let t={};return t.Payload=e.body,t},Sle=async(e,n)=>{let t={},r=await ne(e.body,n);return t.Details=dfe(r,n),t},Ele=(e,n)=>{let t=new f.XmlNode("AbortIncompleteMultipartUpload");if(e.DaysAfterInitiation!=null){let r=f.XmlNode.of("DaysAfterInitiation",String(e.DaysAfterInitiation)).withName("DaysAfterInitiation");t.addChildNode(r)}return t},mL=(e,n)=>{let t=new f.XmlNode("AccelerateConfiguration");if(e.Status!=null){let r=f.XmlNode.of("BucketAccelerateStatus",e.Status).withName("Status");t.addChildNode(r)}return t},my=(e,n)=>{let t=new f.XmlNode("AccessControlPolicy");if(e.Grants!=null){let r=FL(e.Grants,n),o=new f.XmlNode("AccessControlList");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}if(e.Owner!=null){let r=wue(e.Owner,n).withName("Owner");t.addChildNode(r)}return t},ble=(e,n)=>{let t=new f.XmlNode("AccessControlTranslation");if(e.Owner!=null){let r=f.XmlNode.of("OwnerOverride",e.Owner).withName("Owner");t.addChildNode(r)}return t},Ple=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("AllowedHeader",t).withName("member")),vle=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("AllowedMethod",t).withName("member")),xle=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("AllowedOrigin",t).withName("member")),wle=(e,n)=>{let t=new f.XmlNode("AnalyticsAndOperator");if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}return e.Tags!=null&&Ts(e.Tags,n).map(o=>{o=o.withName("Tag"),t.addChildNode(o)}),t},pL=(e,n)=>{let t=new f.XmlNode("AnalyticsConfiguration");if(e.Id!=null){let r=f.XmlNode.of("AnalyticsId",e.Id).withName("Id");t.addChildNode(r)}if(e.Filter!=null){let r=Ale(e.Filter,n).withName("Filter");t.addChildNode(r)}if(e.StorageClassAnalysis!=null){let r=eme(e.StorageClassAnalysis,n).withName("StorageClassAnalysis");t.addChildNode(r)}return t},kle=(e,n)=>{let t=new f.XmlNode("AnalyticsExportDestination");if(e.S3BucketDestination!=null){let r=Ile(e.S3BucketDestination,n).withName("S3BucketDestination");t.addChildNode(r)}return t},Ale=(e,n)=>{let t=new f.XmlNode("AnalyticsFilter");return Tt.AnalyticsFilter.visit(e,{Prefix:r=>{let o=f.XmlNode.of("Prefix",r).withName("Prefix");t.addChildNode(o)},Tag:r=>{let o=Os(r,n).withName("Tag");t.addChildNode(o)},And:r=>{let o=wle(r,n).withName("And");t.addChildNode(o)},_:(r,o)=>{if(!(o instanceof f.XmlNode||o instanceof f.XmlText))throw new Error("Unable to serialize unknown union members in XML.");t.addChildNode(new f.XmlNode(r).addChildNode(o))}}),t},Ile=(e,n)=>{let t=new f.XmlNode("AnalyticsS3BucketDestination");if(e.Format!=null){let r=f.XmlNode.of("AnalyticsS3ExportFileFormat",e.Format).withName("Format");t.addChildNode(r)}if(e.BucketAccountId!=null){let r=f.XmlNode.of("AccountId",e.BucketAccountId).withName("BucketAccountId");t.addChildNode(r)}if(e.Bucket!=null){let r=f.XmlNode.of("BucketName",e.Bucket).withName("Bucket");t.addChildNode(r)}if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}return t},fL=(e,n)=>{let t=new f.XmlNode("BucketLifecycleConfiguration");return e.Rules!=null&&pue(e.Rules,n).map(o=>{o=o.withName("Rule"),t.addChildNode(o)}),t},yL=(e,n)=>{let t=new f.XmlNode("BucketLoggingStatus");if(e.LoggingEnabled!=null){let r=fue(e.LoggingEnabled,n).withName("LoggingEnabled");t.addChildNode(r)}return t},_L=(e,n)=>{let t=new f.XmlNode("CompletedMultipartUpload");return e.Parts!=null&&Nle(e.Parts,n).map(o=>{o=o.withName("Part"),t.addChildNode(o)}),t},Rle=(e,n)=>{let t=new f.XmlNode("CompletedPart");if(e.ETag!=null){let r=f.XmlNode.of("ETag",e.ETag).withName("ETag");t.addChildNode(r)}if(e.ChecksumCRC32!=null){let r=f.XmlNode.of("ChecksumCRC32",e.ChecksumCRC32).withName("ChecksumCRC32");t.addChildNode(r)}if(e.ChecksumCRC32C!=null){let r=f.XmlNode.of("ChecksumCRC32C",e.ChecksumCRC32C).withName("ChecksumCRC32C");t.addChildNode(r)}if(e.ChecksumSHA1!=null){let r=f.XmlNode.of("ChecksumSHA1",e.ChecksumSHA1).withName("ChecksumSHA1");t.addChildNode(r)}if(e.ChecksumSHA256!=null){let r=f.XmlNode.of("ChecksumSHA256",e.ChecksumSHA256).withName("ChecksumSHA256");t.addChildNode(r)}if(e.PartNumber!=null){let r=f.XmlNode.of("PartNumber",String(e.PartNumber)).withName("PartNumber");t.addChildNode(r)}return t},Nle=(e,n)=>e.filter(t=>t!=null).map(t=>Rle(t,n).withName("member")),Ole=(e,n)=>{let t=new f.XmlNode("Condition");if(e.HttpErrorCodeReturnedEquals!=null){let r=f.XmlNode.of("HttpErrorCodeReturnedEquals",e.HttpErrorCodeReturnedEquals).withName("HttpErrorCodeReturnedEquals");t.addChildNode(r)}if(e.KeyPrefixEquals!=null){let r=f.XmlNode.of("KeyPrefixEquals",e.KeyPrefixEquals).withName("KeyPrefixEquals");t.addChildNode(r)}return t},gL=(e,n)=>{let t=new f.XmlNode("CORSConfiguration");return e.CORSRules!=null&&qle(e.CORSRules,n).map(o=>{o=o.withName("CORSRule"),t.addChildNode(o)}),t},Tle=(e,n)=>{let t=new f.XmlNode("CORSRule");if(e.ID!=null){let r=f.XmlNode.of("ID",e.ID).withName("ID");t.addChildNode(r)}if(e.AllowedHeaders!=null&&Ple(e.AllowedHeaders,n).map(o=>{o=o.withName("AllowedHeader"),t.addChildNode(o)}),e.AllowedMethods!=null&&vle(e.AllowedMethods,n).map(o=>{o=o.withName("AllowedMethod"),t.addChildNode(o)}),e.AllowedOrigins!=null&&xle(e.AllowedOrigins,n).map(o=>{o=o.withName("AllowedOrigin"),t.addChildNode(o)}),e.ExposeHeaders!=null&&$le(e.ExposeHeaders,n).map(o=>{o=o.withName("ExposeHeader"),t.addChildNode(o)}),e.MaxAgeSeconds!=null){let r=f.XmlNode.of("MaxAgeSeconds",String(e.MaxAgeSeconds)).withName("MaxAgeSeconds");t.addChildNode(r)}return t},qle=(e,n)=>e.filter(t=>t!=null).map(t=>Tle(t,n).withName("member")),hL=(e,n)=>{let t=new f.XmlNode("CreateBucketConfiguration");if(e.LocationConstraint!=null){let r=f.XmlNode.of("BucketLocationConstraint",e.LocationConstraint).withName("LocationConstraint");t.addChildNode(r)}return t},Ble=(e,n)=>{let t=new f.XmlNode("CSVInput");if(e.FileHeaderInfo!=null){let r=f.XmlNode.of("FileHeaderInfo",e.FileHeaderInfo).withName("FileHeaderInfo");t.addChildNode(r)}if(e.Comments!=null){let r=f.XmlNode.of("Comments",e.Comments).withName("Comments");t.addChildNode(r)}if(e.QuoteEscapeCharacter!=null){let r=f.XmlNode.of("QuoteEscapeCharacter",e.QuoteEscapeCharacter).withName("QuoteEscapeCharacter");t.addChildNode(r)}if(e.RecordDelimiter!=null){let r=f.XmlNode.of("RecordDelimiter",e.RecordDelimiter).withName("RecordDelimiter");t.addChildNode(r)}if(e.FieldDelimiter!=null){let r=f.XmlNode.of("FieldDelimiter",e.FieldDelimiter).withName("FieldDelimiter");t.addChildNode(r)}if(e.QuoteCharacter!=null){let r=f.XmlNode.of("QuoteCharacter",e.QuoteCharacter).withName("QuoteCharacter");t.addChildNode(r)}if(e.AllowQuotedRecordDelimiter!=null){let r=f.XmlNode.of("AllowQuotedRecordDelimiter",String(e.AllowQuotedRecordDelimiter)).withName("AllowQuotedRecordDelimiter");t.addChildNode(r)}return t},Mle=(e,n)=>{let t=new f.XmlNode("CSVOutput");if(e.QuoteFields!=null){let r=f.XmlNode.of("QuoteFields",e.QuoteFields).withName("QuoteFields");t.addChildNode(r)}if(e.QuoteEscapeCharacter!=null){let r=f.XmlNode.of("QuoteEscapeCharacter",e.QuoteEscapeCharacter).withName("QuoteEscapeCharacter");t.addChildNode(r)}if(e.RecordDelimiter!=null){let r=f.XmlNode.of("RecordDelimiter",e.RecordDelimiter).withName("RecordDelimiter");t.addChildNode(r)}if(e.FieldDelimiter!=null){let r=f.XmlNode.of("FieldDelimiter",e.FieldDelimiter).withName("FieldDelimiter");t.addChildNode(r)}if(e.QuoteCharacter!=null){let r=f.XmlNode.of("QuoteCharacter",e.QuoteCharacter).withName("QuoteCharacter");t.addChildNode(r)}return t},Dle=(e,n)=>{let t=new f.XmlNode("DefaultRetention");if(e.Mode!=null){let r=f.XmlNode.of("ObjectLockRetentionMode",e.Mode).withName("Mode");t.addChildNode(r)}if(e.Days!=null){let r=f.XmlNode.of("Days",String(e.Days)).withName("Days");t.addChildNode(r)}if(e.Years!=null){let r=f.XmlNode.of("Years",String(e.Years)).withName("Years");t.addChildNode(r)}return t},CL=(e,n)=>{let t=new f.XmlNode("Delete");if(e.Objects!=null&&Pue(e.Objects,n).map(o=>{o=o.withName("Object"),t.addChildNode(o)}),e.Quiet!=null){let r=f.XmlNode.of("Quiet",String(e.Quiet)).withName("Quiet");t.addChildNode(r)}return t},Fle=(e,n)=>{let t=new f.XmlNode("DeleteMarkerReplication");if(e.Status!=null){let r=f.XmlNode.of("DeleteMarkerReplicationStatus",e.Status).withName("Status");t.addChildNode(r)}return t},Lle=(e,n)=>{let t=new f.XmlNode("Destination");if(e.Bucket!=null){let r=f.XmlNode.of("BucketName",e.Bucket).withName("Bucket");t.addChildNode(r)}if(e.Account!=null){let r=f.XmlNode.of("AccountId",e.Account).withName("Account");t.addChildNode(r)}if(e.StorageClass!=null){let r=f.XmlNode.of("StorageClass",e.StorageClass).withName("StorageClass");t.addChildNode(r)}if(e.AccessControlTranslation!=null){let r=ble(e.AccessControlTranslation,n).withName("AccessControlTranslation");t.addChildNode(r)}if(e.EncryptionConfiguration!=null){let r=Ule(e.EncryptionConfiguration,n).withName("EncryptionConfiguration");t.addChildNode(r)}if(e.ReplicationTime!=null){let r=Lue(e.ReplicationTime,n).withName("ReplicationTime");t.addChildNode(r)}if(e.Metrics!=null){let r=_ue(e.Metrics,n).withName("Metrics");t.addChildNode(r)}return t},jle=(e,n)=>{let t=new f.XmlNode("Encryption");if(e.EncryptionType!=null){let r=f.XmlNode.of("ServerSideEncryption",e.EncryptionType).withName("EncryptionType");t.addChildNode(r)}if(e.KMSKeyId!=null){let r=f.XmlNode.of("SSEKMSKeyId",e.KMSKeyId).withName("KMSKeyId");t.addChildNode(r)}if(e.KMSContext!=null){let r=f.XmlNode.of("KMSContext",e.KMSContext).withName("KMSContext");t.addChildNode(r)}return t},Ule=(e,n)=>{let t=new f.XmlNode("EncryptionConfiguration");if(e.ReplicaKmsKeyID!=null){let r=f.XmlNode.of("ReplicaKmsKeyID",e.ReplicaKmsKeyID).withName("ReplicaKmsKeyID");t.addChildNode(r)}return t},zle=(e,n)=>{let t=new f.XmlNode("ErrorDocument");if(e.Key!=null){let r=f.XmlNode.of("ObjectKey",e.Key).withName("Key");t.addChildNode(r)}return t},Gle=(e,n)=>new f.XmlNode("EventBridgeConfiguration"),CE=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("Event",t).withName("member")),Hle=(e,n)=>{let t=new f.XmlNode("ExistingObjectReplication");if(e.Status!=null){let r=f.XmlNode.of("ExistingObjectReplicationStatus",e.Status).withName("Status");t.addChildNode(r)}return t},$le=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("ExposeHeader",t).withName("member")),Kle=(e,n)=>{let t=new f.XmlNode("FilterRule");if(e.Name!=null){let r=f.XmlNode.of("FilterRuleName",e.Name).withName("Name");t.addChildNode(r)}if(e.Value!=null){let r=f.XmlNode.of("FilterRuleValue",e.Value).withName("Value");t.addChildNode(r)}return t},Vle=(e,n)=>e.filter(t=>t!=null).map(t=>Kle(t,n).withName("member")),Xle=(e,n)=>{let t=new f.XmlNode("GlacierJobParameters");if(e.Tier!=null){let r=f.XmlNode.of("Tier",e.Tier).withName("Tier");t.addChildNode(r)}return t},Wle=(e,n)=>{let t=new f.XmlNode("Grant");if(e.Grantee!=null){let r=DL(e.Grantee,n).withName("Grantee");r.addAttribute("xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),t.addChildNode(r)}if(e.Permission!=null){let r=f.XmlNode.of("Permission",e.Permission).withName("Permission");t.addChildNode(r)}return t},DL=(e,n)=>{let t=new f.XmlNode("Grantee");if(e.DisplayName!=null){let r=f.XmlNode.of("DisplayName",e.DisplayName).withName("DisplayName");t.addChildNode(r)}if(e.EmailAddress!=null){let r=f.XmlNode.of("EmailAddress",e.EmailAddress).withName("EmailAddress");t.addChildNode(r)}if(e.ID!=null){let r=f.XmlNode.of("ID",e.ID).withName("ID");t.addChildNode(r)}if(e.URI!=null){let r=f.XmlNode.of("URI",e.URI).withName("URI");t.addChildNode(r)}return e.Type!=null&&t.addAttribute("xsi:type",e.Type),t},FL=(e,n)=>e.filter(t=>t!=null).map(t=>Wle(t,n).withName("Grant")),Yle=(e,n)=>{let t=new f.XmlNode("IndexDocument");if(e.Suffix!=null){let r=f.XmlNode.of("Suffix",e.Suffix).withName("Suffix");t.addChildNode(r)}return t},LL=(e,n)=>{let t=new f.XmlNode("InputSerialization");if(e.CSV!=null){let r=Ble(e.CSV,n).withName("CSV");t.addChildNode(r)}if(e.CompressionType!=null){let r=f.XmlNode.of("CompressionType",e.CompressionType).withName("CompressionType");t.addChildNode(r)}if(e.JSON!=null){let r=sue(e.JSON,n).withName("JSON");t.addChildNode(r)}if(e.Parquet!=null){let r=Iue(e.Parquet,n).withName("Parquet");t.addChildNode(r)}return t},Qle=(e,n)=>{let t=new f.XmlNode("IntelligentTieringAndOperator");if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}return e.Tags!=null&&Ts(e.Tags,n).map(o=>{o=o.withName("Tag"),t.addChildNode(o)}),t},SL=(e,n)=>{let t=new f.XmlNode("IntelligentTieringConfiguration");if(e.Id!=null){let r=f.XmlNode.of("IntelligentTieringId",e.Id).withName("Id");t.addChildNode(r)}if(e.Filter!=null){let r=Jle(e.Filter,n).withName("Filter");t.addChildNode(r)}if(e.Status!=null){let r=f.XmlNode.of("IntelligentTieringStatus",e.Status).withName("Status");t.addChildNode(r)}return e.Tierings!=null&&sme(e.Tierings,n).map(o=>{o=o.withName("Tiering"),t.addChildNode(o)}),t},Jle=(e,n)=>{let t=new f.XmlNode("IntelligentTieringFilter");if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}if(e.Tag!=null){let r=Os(e.Tag,n).withName("Tag");t.addChildNode(r)}if(e.And!=null){let r=Qle(e.And,n).withName("And");t.addChildNode(r)}return t},EL=(e,n)=>{let t=new f.XmlNode("InventoryConfiguration");if(e.Destination!=null){let r=Zle(e.Destination,n).withName("Destination");t.addChildNode(r)}if(e.IsEnabled!=null){let r=f.XmlNode.of("IsEnabled",String(e.IsEnabled)).withName("IsEnabled");t.addChildNode(r)}if(e.Filter!=null){let r=tue(e.Filter,n).withName("Filter");t.addChildNode(r)}if(e.Id!=null){let r=f.XmlNode.of("InventoryId",e.Id).withName("Id");t.addChildNode(r)}if(e.IncludedObjectVersions!=null){let r=f.XmlNode.of("InventoryIncludedObjectVersions",e.IncludedObjectVersions).withName("IncludedObjectVersions");t.addChildNode(r)}if(e.OptionalFields!=null){let r=nue(e.OptionalFields,n),o=new f.XmlNode("OptionalFields");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}if(e.Schedule!=null){let r=oue(e.Schedule,n).withName("Schedule");t.addChildNode(r)}return t},Zle=(e,n)=>{let t=new f.XmlNode("InventoryDestination");if(e.S3BucketDestination!=null){let r=rue(e.S3BucketDestination,n).withName("S3BucketDestination");t.addChildNode(r)}return t},eue=(e,n)=>{let t=new f.XmlNode("InventoryEncryption");if(e.SSES3!=null){let r=Zue(e.SSES3,n).withName("SSE-S3");t.addChildNode(r)}if(e.SSEKMS!=null){let r=Que(e.SSEKMS,n).withName("SSE-KMS");t.addChildNode(r)}return t},tue=(e,n)=>{let t=new f.XmlNode("InventoryFilter");if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}return t},nue=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("InventoryOptionalField",t).withName("Field")),rue=(e,n)=>{let t=new f.XmlNode("InventoryS3BucketDestination");if(e.AccountId!=null){let r=f.XmlNode.of("AccountId",e.AccountId).withName("AccountId");t.addChildNode(r)}if(e.Bucket!=null){let r=f.XmlNode.of("BucketName",e.Bucket).withName("Bucket");t.addChildNode(r)}if(e.Format!=null){let r=f.XmlNode.of("InventoryFormat",e.Format).withName("Format");t.addChildNode(r)}if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}if(e.Encryption!=null){let r=eue(e.Encryption,n).withName("Encryption");t.addChildNode(r)}return t},oue=(e,n)=>{let t=new f.XmlNode("InventorySchedule");if(e.Frequency!=null){let r=f.XmlNode.of("InventoryFrequency",e.Frequency).withName("Frequency");t.addChildNode(r)}return t},sue=(e,n)=>{let t=new f.XmlNode("JSONInput");if(e.Type!=null){let r=f.XmlNode.of("JSONType",e.Type).withName("Type");t.addChildNode(r)}return t},iue=(e,n)=>{let t=new f.XmlNode("JSONOutput");if(e.RecordDelimiter!=null){let r=f.XmlNode.of("RecordDelimiter",e.RecordDelimiter).withName("RecordDelimiter");t.addChildNode(r)}return t},aue=(e,n)=>{let t=new f.XmlNode("LambdaFunctionConfiguration");if(e.Id!=null){let r=f.XmlNode.of("NotificationId",e.Id).withName("Id");t.addChildNode(r)}if(e.LambdaFunctionArn!=null){let r=f.XmlNode.of("LambdaFunctionArn",e.LambdaFunctionArn).withName("CloudFunction");t.addChildNode(r)}if(e.Events!=null&&CE(e.Events,n).map(o=>{o=o.withName("Event"),t.addChildNode(o)}),e.Filter!=null){let r=SE(e.Filter,n).withName("Filter");t.addChildNode(r)}return t},cue=(e,n)=>e.filter(t=>t!=null).map(t=>aue(t,n).withName("member")),due=(e,n)=>{let t=new f.XmlNode("LifecycleExpiration");if(e.Date!=null){let r=f.XmlNode.of("Date",(e.Date.toISOString().split(".")[0]+"Z").toString()).withName("Date");t.addChildNode(r)}if(e.Days!=null){let r=f.XmlNode.of("Days",String(e.Days)).withName("Days");t.addChildNode(r)}if(e.ExpiredObjectDeleteMarker!=null){let r=f.XmlNode.of("ExpiredObjectDeleteMarker",String(e.ExpiredObjectDeleteMarker)).withName("ExpiredObjectDeleteMarker");t.addChildNode(r)}return t},lue=(e,n)=>{let t=new f.XmlNode("LifecycleRule");if(e.Expiration!=null){let r=due(e.Expiration,n).withName("Expiration");t.addChildNode(r)}if(e.ID!=null){let r=f.XmlNode.of("ID",e.ID).withName("ID");t.addChildNode(r)}if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}if(e.Filter!=null){let r=mue(e.Filter,n).withName("Filter");t.addChildNode(r)}if(e.Status!=null){let r=f.XmlNode.of("ExpirationStatus",e.Status).withName("Status");t.addChildNode(r)}if(e.Transitions!=null&&dme(e.Transitions,n).map(o=>{o=o.withName("Transition"),t.addChildNode(o)}),e.NoncurrentVersionTransitions!=null&&Eue(e.NoncurrentVersionTransitions,n).map(o=>{o=o.withName("NoncurrentVersionTransition"),t.addChildNode(o)}),e.NoncurrentVersionExpiration!=null){let r=Cue(e.NoncurrentVersionExpiration,n).withName("NoncurrentVersionExpiration");t.addChildNode(r)}if(e.AbortIncompleteMultipartUpload!=null){let r=Ele(e.AbortIncompleteMultipartUpload,n).withName("AbortIncompleteMultipartUpload");t.addChildNode(r)}return t},uue=(e,n)=>{let t=new f.XmlNode("LifecycleRuleAndOperator");if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}if(e.Tags!=null&&Ts(e.Tags,n).map(o=>{o=o.withName("Tag"),t.addChildNode(o)}),e.ObjectSizeGreaterThan!=null){let r=f.XmlNode.of("ObjectSizeGreaterThanBytes",String(e.ObjectSizeGreaterThan)).withName("ObjectSizeGreaterThan");t.addChildNode(r)}if(e.ObjectSizeLessThan!=null){let r=f.XmlNode.of("ObjectSizeLessThanBytes",String(e.ObjectSizeLessThan)).withName("ObjectSizeLessThan");t.addChildNode(r)}return t},mue=(e,n)=>{let t=new f.XmlNode("LifecycleRuleFilter");return Tt.LifecycleRuleFilter.visit(e,{Prefix:r=>{let o=f.XmlNode.of("Prefix",r).withName("Prefix");t.addChildNode(o)},Tag:r=>{let o=Os(r,n).withName("Tag");t.addChildNode(o)},ObjectSizeGreaterThan:r=>{let o=f.XmlNode.of("ObjectSizeGreaterThanBytes",String(r)).withName("ObjectSizeGreaterThan");t.addChildNode(o)},ObjectSizeLessThan:r=>{let o=f.XmlNode.of("ObjectSizeLessThanBytes",String(r)).withName("ObjectSizeLessThan");t.addChildNode(o)},And:r=>{let o=uue(r,n).withName("And");t.addChildNode(o)},_:(r,o)=>{if(!(o instanceof f.XmlNode||o instanceof f.XmlText))throw new Error("Unable to serialize unknown union members in XML.");t.addChildNode(new f.XmlNode(r).addChildNode(o))}}),t},pue=(e,n)=>e.filter(t=>t!=null).map(t=>lue(t,n).withName("member")),fue=(e,n)=>{let t=new f.XmlNode("LoggingEnabled");if(e.TargetBucket!=null){let r=f.XmlNode.of("TargetBucket",e.TargetBucket).withName("TargetBucket");t.addChildNode(r)}if(e.TargetGrants!=null){let r=rme(e.TargetGrants,n),o=new f.XmlNode("TargetGrants");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}if(e.TargetPrefix!=null){let r=f.XmlNode.of("TargetPrefix",e.TargetPrefix).withName("TargetPrefix");t.addChildNode(r)}return t},yue=(e,n)=>{let t=new f.XmlNode("MetadataEntry");if(e.Name!=null){let r=f.XmlNode.of("MetadataKey",e.Name).withName("Name");t.addChildNode(r)}if(e.Value!=null){let r=f.XmlNode.of("MetadataValue",e.Value).withName("Value");t.addChildNode(r)}return t},_ue=(e,n)=>{let t=new f.XmlNode("Metrics");if(e.Status!=null){let r=f.XmlNode.of("MetricsStatus",e.Status).withName("Status");t.addChildNode(r)}if(e.EventThreshold!=null){let r=UL(e.EventThreshold,n).withName("EventThreshold");t.addChildNode(r)}return t},gue=(e,n)=>{let t=new f.XmlNode("MetricsAndOperator");if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}if(e.Tags!=null&&Ts(e.Tags,n).map(o=>{o=o.withName("Tag"),t.addChildNode(o)}),e.AccessPointArn!=null){let r=f.XmlNode.of("AccessPointArn",e.AccessPointArn).withName("AccessPointArn");t.addChildNode(r)}return t},bL=(e,n)=>{let t=new f.XmlNode("MetricsConfiguration");if(e.Id!=null){let r=f.XmlNode.of("MetricsId",e.Id).withName("Id");t.addChildNode(r)}if(e.Filter!=null){let r=hue(e.Filter,n).withName("Filter");t.addChildNode(r)}return t},hue=(e,n)=>{let t=new f.XmlNode("MetricsFilter");return Tt.MetricsFilter.visit(e,{Prefix:r=>{let o=f.XmlNode.of("Prefix",r).withName("Prefix");t.addChildNode(o)},Tag:r=>{let o=Os(r,n).withName("Tag");t.addChildNode(o)},AccessPointArn:r=>{let o=f.XmlNode.of("AccessPointArn",r).withName("AccessPointArn");t.addChildNode(o)},And:r=>{let o=gue(r,n).withName("And");t.addChildNode(o)},_:(r,o)=>{if(!(o instanceof f.XmlNode||o instanceof f.XmlText))throw new Error("Unable to serialize unknown union members in XML.");t.addChildNode(new f.XmlNode(r).addChildNode(o))}}),t},Cue=(e,n)=>{let t=new f.XmlNode("NoncurrentVersionExpiration");if(e.NoncurrentDays!=null){let r=f.XmlNode.of("Days",String(e.NoncurrentDays)).withName("NoncurrentDays");t.addChildNode(r)}if(e.NewerNoncurrentVersions!=null){let r=f.XmlNode.of("VersionCount",String(e.NewerNoncurrentVersions)).withName("NewerNoncurrentVersions");t.addChildNode(r)}return t},Sue=(e,n)=>{let t=new f.XmlNode("NoncurrentVersionTransition");if(e.NoncurrentDays!=null){let r=f.XmlNode.of("Days",String(e.NoncurrentDays)).withName("NoncurrentDays");t.addChildNode(r)}if(e.StorageClass!=null){let r=f.XmlNode.of("TransitionStorageClass",e.StorageClass).withName("StorageClass");t.addChildNode(r)}if(e.NewerNoncurrentVersions!=null){let r=f.XmlNode.of("VersionCount",String(e.NewerNoncurrentVersions)).withName("NewerNoncurrentVersions");t.addChildNode(r)}return t},Eue=(e,n)=>e.filter(t=>t!=null).map(t=>Sue(t,n).withName("member")),PL=(e,n)=>{let t=new f.XmlNode("NotificationConfiguration");if(e.TopicConfigurations!=null&&ame(e.TopicConfigurations,n).map(o=>{o=o.withName("TopicConfiguration"),t.addChildNode(o)}),e.QueueConfigurations!=null&&Nue(e.QueueConfigurations,n).map(o=>{o=o.withName("QueueConfiguration"),t.addChildNode(o)}),e.LambdaFunctionConfigurations!=null&&cue(e.LambdaFunctionConfigurations,n).map(o=>{o=o.withName("CloudFunctionConfiguration"),t.addChildNode(o)}),e.EventBridgeConfiguration!=null){let r=Gle(e.EventBridgeConfiguration,n).withName("EventBridgeConfiguration");t.addChildNode(r)}return t},SE=(e,n)=>{let t=new f.XmlNode("NotificationConfigurationFilter");if(e.Key!=null){let r=Gue(e.Key,n).withName("S3Key");t.addChildNode(r)}return t},bue=(e,n)=>{let t=new f.XmlNode("ObjectIdentifier");if(e.Key!=null){let r=f.XmlNode.of("ObjectKey",e.Key).withName("Key");t.addChildNode(r)}if(e.VersionId!=null){let r=f.XmlNode.of("ObjectVersionId",e.VersionId).withName("VersionId");t.addChildNode(r)}return t},Pue=(e,n)=>e.filter(t=>t!=null).map(t=>bue(t,n).withName("member")),vL=(e,n)=>{let t=new f.XmlNode("ObjectLockConfiguration");if(e.ObjectLockEnabled!=null){let r=f.XmlNode.of("ObjectLockEnabled",e.ObjectLockEnabled).withName("ObjectLockEnabled");t.addChildNode(r)}if(e.Rule!=null){let r=vue(e.Rule,n).withName("Rule");t.addChildNode(r)}return t},xL=(e,n)=>{let t=new f.XmlNode("ObjectLockLegalHold");if(e.Status!=null){let r=f.XmlNode.of("ObjectLockLegalHoldStatus",e.Status).withName("Status");t.addChildNode(r)}return t},wL=(e,n)=>{let t=new f.XmlNode("ObjectLockRetention");if(e.Mode!=null){let r=f.XmlNode.of("ObjectLockRetentionMode",e.Mode).withName("Mode");t.addChildNode(r)}if(e.RetainUntilDate!=null){let r=f.XmlNode.of("Date",(e.RetainUntilDate.toISOString().split(".")[0]+"Z").toString()).withName("RetainUntilDate");t.addChildNode(r)}return t},vue=(e,n)=>{let t=new f.XmlNode("ObjectLockRule");if(e.DefaultRetention!=null){let r=Dle(e.DefaultRetention,n).withName("DefaultRetention");t.addChildNode(r)}return t},xue=(e,n)=>{let t=new f.XmlNode("OutputLocation");if(e.S3!=null){let r=Hue(e.S3,n).withName("S3");t.addChildNode(r)}return t},jL=(e,n)=>{let t=new f.XmlNode("OutputSerialization");if(e.CSV!=null){let r=Mle(e.CSV,n).withName("CSV");t.addChildNode(r)}if(e.JSON!=null){let r=iue(e.JSON,n).withName("JSON");t.addChildNode(r)}return t},wue=(e,n)=>{let t=new f.XmlNode("Owner");if(e.DisplayName!=null){let r=f.XmlNode.of("DisplayName",e.DisplayName).withName("DisplayName");t.addChildNode(r)}if(e.ID!=null){let r=f.XmlNode.of("ID",e.ID).withName("ID");t.addChildNode(r)}return t},kL=(e,n)=>{let t=new f.XmlNode("OwnershipControls");return e.Rules!=null&&Aue(e.Rules,n).map(o=>{o=o.withName("Rule"),t.addChildNode(o)}),t},kue=(e,n)=>{let t=new f.XmlNode("OwnershipControlsRule");if(e.ObjectOwnership!=null){let r=f.XmlNode.of("ObjectOwnership",e.ObjectOwnership).withName("ObjectOwnership");t.addChildNode(r)}return t},Aue=(e,n)=>e.filter(t=>t!=null).map(t=>kue(t,n).withName("member")),Iue=(e,n)=>new f.XmlNode("ParquetInput"),AL=(e,n)=>{let t=new f.XmlNode("PublicAccessBlockConfiguration");if(e.BlockPublicAcls!=null){let r=f.XmlNode.of("Setting",String(e.BlockPublicAcls)).withName("BlockPublicAcls");t.addChildNode(r)}if(e.IgnorePublicAcls!=null){let r=f.XmlNode.of("Setting",String(e.IgnorePublicAcls)).withName("IgnorePublicAcls");t.addChildNode(r)}if(e.BlockPublicPolicy!=null){let r=f.XmlNode.of("Setting",String(e.BlockPublicPolicy)).withName("BlockPublicPolicy");t.addChildNode(r)}if(e.RestrictPublicBuckets!=null){let r=f.XmlNode.of("Setting",String(e.RestrictPublicBuckets)).withName("RestrictPublicBuckets");t.addChildNode(r)}return t},Rue=(e,n)=>{let t=new f.XmlNode("QueueConfiguration");if(e.Id!=null){let r=f.XmlNode.of("NotificationId",e.Id).withName("Id");t.addChildNode(r)}if(e.QueueArn!=null){let r=f.XmlNode.of("QueueArn",e.QueueArn).withName("Queue");t.addChildNode(r)}if(e.Events!=null&&CE(e.Events,n).map(o=>{o=o.withName("Event"),t.addChildNode(o)}),e.Filter!=null){let r=SE(e.Filter,n).withName("Filter");t.addChildNode(r)}return t},Nue=(e,n)=>e.filter(t=>t!=null).map(t=>Rue(t,n).withName("member")),Oue=(e,n)=>{let t=new f.XmlNode("Redirect");if(e.HostName!=null){let r=f.XmlNode.of("HostName",e.HostName).withName("HostName");t.addChildNode(r)}if(e.HttpRedirectCode!=null){let r=f.XmlNode.of("HttpRedirectCode",e.HttpRedirectCode).withName("HttpRedirectCode");t.addChildNode(r)}if(e.Protocol!=null){let r=f.XmlNode.of("Protocol",e.Protocol).withName("Protocol");t.addChildNode(r)}if(e.ReplaceKeyPrefixWith!=null){let r=f.XmlNode.of("ReplaceKeyPrefixWith",e.ReplaceKeyPrefixWith).withName("ReplaceKeyPrefixWith");t.addChildNode(r)}if(e.ReplaceKeyWith!=null){let r=f.XmlNode.of("ReplaceKeyWith",e.ReplaceKeyWith).withName("ReplaceKeyWith");t.addChildNode(r)}return t},Tue=(e,n)=>{let t=new f.XmlNode("RedirectAllRequestsTo");if(e.HostName!=null){let r=f.XmlNode.of("HostName",e.HostName).withName("HostName");t.addChildNode(r)}if(e.Protocol!=null){let r=f.XmlNode.of("Protocol",e.Protocol).withName("Protocol");t.addChildNode(r)}return t},que=(e,n)=>{let t=new f.XmlNode("ReplicaModifications");if(e.Status!=null){let r=f.XmlNode.of("ReplicaModificationsStatus",e.Status).withName("Status");t.addChildNode(r)}return t},IL=(e,n)=>{let t=new f.XmlNode("ReplicationConfiguration");if(e.Role!=null){let r=f.XmlNode.of("Role",e.Role).withName("Role");t.addChildNode(r)}return e.Rules!=null&&Fue(e.Rules,n).map(o=>{o=o.withName("Rule"),t.addChildNode(o)}),t},Bue=(e,n)=>{let t=new f.XmlNode("ReplicationRule");if(e.ID!=null){let r=f.XmlNode.of("ID",e.ID).withName("ID");t.addChildNode(r)}if(e.Priority!=null){let r=f.XmlNode.of("Priority",String(e.Priority)).withName("Priority");t.addChildNode(r)}if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}if(e.Filter!=null){let r=Due(e.Filter,n).withName("Filter");t.addChildNode(r)}if(e.Status!=null){let r=f.XmlNode.of("ReplicationRuleStatus",e.Status).withName("Status");t.addChildNode(r)}if(e.SourceSelectionCriteria!=null){let r=Yue(e.SourceSelectionCriteria,n).withName("SourceSelectionCriteria");t.addChildNode(r)}if(e.ExistingObjectReplication!=null){let r=Hle(e.ExistingObjectReplication,n).withName("ExistingObjectReplication");t.addChildNode(r)}if(e.Destination!=null){let r=Lle(e.Destination,n).withName("Destination");t.addChildNode(r)}if(e.DeleteMarkerReplication!=null){let r=Fle(e.DeleteMarkerReplication,n).withName("DeleteMarkerReplication");t.addChildNode(r)}return t},Mue=(e,n)=>{let t=new f.XmlNode("ReplicationRuleAndOperator");if(e.Prefix!=null){let r=f.XmlNode.of("Prefix",e.Prefix).withName("Prefix");t.addChildNode(r)}return e.Tags!=null&&Ts(e.Tags,n).map(o=>{o=o.withName("Tag"),t.addChildNode(o)}),t},Due=(e,n)=>{let t=new f.XmlNode("ReplicationRuleFilter");return Tt.ReplicationRuleFilter.visit(e,{Prefix:r=>{let o=f.XmlNode.of("Prefix",r).withName("Prefix");t.addChildNode(o)},Tag:r=>{let o=Os(r,n).withName("Tag");t.addChildNode(o)},And:r=>{let o=Mue(r,n).withName("And");t.addChildNode(o)},_:(r,o)=>{if(!(o instanceof f.XmlNode||o instanceof f.XmlText))throw new Error("Unable to serialize unknown union members in XML.");t.addChildNode(new f.XmlNode(r).addChildNode(o))}}),t},Fue=(e,n)=>e.filter(t=>t!=null).map(t=>Bue(t,n).withName("member")),Lue=(e,n)=>{let t=new f.XmlNode("ReplicationTime");if(e.Status!=null){let r=f.XmlNode.of("ReplicationTimeStatus",e.Status).withName("Status");t.addChildNode(r)}if(e.Time!=null){let r=UL(e.Time,n).withName("Time");t.addChildNode(r)}return t},UL=(e,n)=>{let t=new f.XmlNode("ReplicationTimeValue");if(e.Minutes!=null){let r=f.XmlNode.of("Minutes",String(e.Minutes)).withName("Minutes");t.addChildNode(r)}return t},RL=(e,n)=>{let t=new f.XmlNode("RequestPaymentConfiguration");if(e.Payer!=null){let r=f.XmlNode.of("Payer",e.Payer).withName("Payer");t.addChildNode(r)}return t},jue=(e,n)=>{let t=new f.XmlNode("RequestProgress");if(e.Enabled!=null){let r=f.XmlNode.of("EnableRequestProgress",String(e.Enabled)).withName("Enabled");t.addChildNode(r)}return t},NL=(e,n)=>{let t=new f.XmlNode("RestoreRequest");if(e.Days!=null){let r=f.XmlNode.of("Days",String(e.Days)).withName("Days");t.addChildNode(r)}if(e.GlacierJobParameters!=null){let r=Xle(e.GlacierJobParameters,n).withName("GlacierJobParameters");t.addChildNode(r)}if(e.Type!=null){let r=f.XmlNode.of("RestoreRequestType",e.Type).withName("Type");t.addChildNode(r)}if(e.Tier!=null){let r=f.XmlNode.of("Tier",e.Tier).withName("Tier");t.addChildNode(r)}if(e.Description!=null){let r=f.XmlNode.of("Description",e.Description).withName("Description");t.addChildNode(r)}if(e.SelectParameters!=null){let r=Kue(e.SelectParameters,n).withName("SelectParameters");t.addChildNode(r)}if(e.OutputLocation!=null){let r=xue(e.OutputLocation,n).withName("OutputLocation");t.addChildNode(r)}return t},Uue=(e,n)=>{let t=new f.XmlNode("RoutingRule");if(e.Condition!=null){let r=Ole(e.Condition,n).withName("Condition");t.addChildNode(r)}if(e.Redirect!=null){let r=Oue(e.Redirect,n).withName("Redirect");t.addChildNode(r)}return t},zue=(e,n)=>e.filter(t=>t!=null).map(t=>Uue(t,n).withName("RoutingRule")),Gue=(e,n)=>{let t=new f.XmlNode("S3KeyFilter");return e.FilterRules!=null&&Vle(e.FilterRules,n).map(o=>{o=o.withName("FilterRule"),t.addChildNode(o)}),t},Hue=(e,n)=>{let t=new f.XmlNode("S3Location");if(e.BucketName!=null){let r=f.XmlNode.of("BucketName",e.BucketName).withName("BucketName");t.addChildNode(r)}if(e.Prefix!=null){let r=f.XmlNode.of("LocationPrefix",e.Prefix).withName("Prefix");t.addChildNode(r)}if(e.Encryption!=null){let r=jle(e.Encryption,n).withName("Encryption");t.addChildNode(r)}if(e.CannedACL!=null){let r=f.XmlNode.of("ObjectCannedACL",e.CannedACL).withName("CannedACL");t.addChildNode(r)}if(e.AccessControlList!=null){let r=FL(e.AccessControlList,n),o=new f.XmlNode("AccessControlList");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}if(e.Tagging!=null){let r=td(e.Tagging,n).withName("Tagging");t.addChildNode(r)}if(e.UserMetadata!=null){let r=lme(e.UserMetadata,n),o=new f.XmlNode("UserMetadata");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}if(e.StorageClass!=null){let r=f.XmlNode.of("StorageClass",e.StorageClass).withName("StorageClass");t.addChildNode(r)}return t},$ue=(e,n)=>{let t=new f.XmlNode("ScanRange");if(e.Start!=null){let r=f.XmlNode.of("Start",String(e.Start)).withName("Start");t.addChildNode(r)}if(e.End!=null){let r=f.XmlNode.of("End",String(e.End)).withName("End");t.addChildNode(r)}return t},Kue=(e,n)=>{let t=new f.XmlNode("SelectParameters");if(e.InputSerialization!=null){let r=LL(e.InputSerialization,n).withName("InputSerialization");t.addChildNode(r)}if(e.ExpressionType!=null){let r=f.XmlNode.of("ExpressionType",e.ExpressionType).withName("ExpressionType");t.addChildNode(r)}if(e.Expression!=null){let r=f.XmlNode.of("Expression",e.Expression).withName("Expression");t.addChildNode(r)}if(e.OutputSerialization!=null){let r=jL(e.OutputSerialization,n).withName("OutputSerialization");t.addChildNode(r)}return t},Vue=(e,n)=>{let t=new f.XmlNode("ServerSideEncryptionByDefault");if(e.SSEAlgorithm!=null){let r=f.XmlNode.of("ServerSideEncryption",e.SSEAlgorithm).withName("SSEAlgorithm");t.addChildNode(r)}if(e.KMSMasterKeyID!=null){let r=f.XmlNode.of("SSEKMSKeyId",e.KMSMasterKeyID).withName("KMSMasterKeyID");t.addChildNode(r)}return t},OL=(e,n)=>{let t=new f.XmlNode("ServerSideEncryptionConfiguration");return e.Rules!=null&&Wue(e.Rules,n).map(o=>{o=o.withName("Rule"),t.addChildNode(o)}),t},Xue=(e,n)=>{let t=new f.XmlNode("ServerSideEncryptionRule");if(e.ApplyServerSideEncryptionByDefault!=null){let r=Vue(e.ApplyServerSideEncryptionByDefault,n).withName("ApplyServerSideEncryptionByDefault");t.addChildNode(r)}if(e.BucketKeyEnabled!=null){let r=f.XmlNode.of("BucketKeyEnabled",String(e.BucketKeyEnabled)).withName("BucketKeyEnabled");t.addChildNode(r)}return t},Wue=(e,n)=>e.filter(t=>t!=null).map(t=>Xue(t,n).withName("member")),Yue=(e,n)=>{let t=new f.XmlNode("SourceSelectionCriteria");if(e.SseKmsEncryptedObjects!=null){let r=Jue(e.SseKmsEncryptedObjects,n).withName("SseKmsEncryptedObjects");t.addChildNode(r)}if(e.ReplicaModifications!=null){let r=que(e.ReplicaModifications,n).withName("ReplicaModifications");t.addChildNode(r)}return t},Que=(e,n)=>{let t=new f.XmlNode("SSE-KMS");if(e.KeyId!=null){let r=f.XmlNode.of("SSEKMSKeyId",e.KeyId).withName("KeyId");t.addChildNode(r)}return t},Jue=(e,n)=>{let t=new f.XmlNode("SseKmsEncryptedObjects");if(e.Status!=null){let r=f.XmlNode.of("SseKmsEncryptedObjectsStatus",e.Status).withName("Status");t.addChildNode(r)}return t},Zue=(e,n)=>new f.XmlNode("SSE-S3"),eme=(e,n)=>{let t=new f.XmlNode("StorageClassAnalysis");if(e.DataExport!=null){let r=tme(e.DataExport,n).withName("DataExport");t.addChildNode(r)}return t},tme=(e,n)=>{let t=new f.XmlNode("StorageClassAnalysisDataExport");if(e.OutputSchemaVersion!=null){let r=f.XmlNode.of("StorageClassAnalysisSchemaVersion",e.OutputSchemaVersion).withName("OutputSchemaVersion");t.addChildNode(r)}if(e.Destination!=null){let r=kle(e.Destination,n).withName("Destination");t.addChildNode(r)}return t},Os=(e,n)=>{let t=new f.XmlNode("Tag");if(e.Key!=null){let r=f.XmlNode.of("ObjectKey",e.Key).withName("Key");t.addChildNode(r)}if(e.Value!=null){let r=f.XmlNode.of("Value",e.Value).withName("Value");t.addChildNode(r)}return t},td=(e,n)=>{let t=new f.XmlNode("Tagging");if(e.TagSet!=null){let r=Ts(e.TagSet,n),o=new f.XmlNode("TagSet");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}return t},Ts=(e,n)=>e.filter(t=>t!=null).map(t=>Os(t,n).withName("Tag")),nme=(e,n)=>{let t=new f.XmlNode("TargetGrant");if(e.Grantee!=null){let r=DL(e.Grantee,n).withName("Grantee");r.addAttribute("xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),t.addChildNode(r)}if(e.Permission!=null){let r=f.XmlNode.of("BucketLogsPermission",e.Permission).withName("Permission");t.addChildNode(r)}return t},rme=(e,n)=>e.filter(t=>t!=null).map(t=>nme(t,n).withName("Grant")),ome=(e,n)=>{let t=new f.XmlNode("Tiering");if(e.Days!=null){let r=f.XmlNode.of("IntelligentTieringDays",String(e.Days)).withName("Days");t.addChildNode(r)}if(e.AccessTier!=null){let r=f.XmlNode.of("IntelligentTieringAccessTier",e.AccessTier).withName("AccessTier");t.addChildNode(r)}return t},sme=(e,n)=>e.filter(t=>t!=null).map(t=>ome(t,n).withName("member")),ime=(e,n)=>{let t=new f.XmlNode("TopicConfiguration");if(e.Id!=null){let r=f.XmlNode.of("NotificationId",e.Id).withName("Id");t.addChildNode(r)}if(e.TopicArn!=null){let r=f.XmlNode.of("TopicArn",e.TopicArn).withName("Topic");t.addChildNode(r)}if(e.Events!=null&&CE(e.Events,n).map(o=>{o=o.withName("Event"),t.addChildNode(o)}),e.Filter!=null){let r=SE(e.Filter,n).withName("Filter");t.addChildNode(r)}return t},ame=(e,n)=>e.filter(t=>t!=null).map(t=>ime(t,n).withName("member")),cme=(e,n)=>{let t=new f.XmlNode("Transition");if(e.Date!=null){let r=f.XmlNode.of("Date",(e.Date.toISOString().split(".")[0]+"Z").toString()).withName("Date");t.addChildNode(r)}if(e.Days!=null){let r=f.XmlNode.of("Days",String(e.Days)).withName("Days");t.addChildNode(r)}if(e.StorageClass!=null){let r=f.XmlNode.of("TransitionStorageClass",e.StorageClass).withName("StorageClass");t.addChildNode(r)}return t},dme=(e,n)=>e.filter(t=>t!=null).map(t=>cme(t,n).withName("member")),lme=(e,n)=>e.filter(t=>t!=null).map(t=>yue(t,n).withName("MetadataEntry")),TL=(e,n)=>{let t=new f.XmlNode("VersioningConfiguration");if(e.MFADelete!=null){let r=f.XmlNode.of("MFADelete",e.MFADelete).withName("MfaDelete");t.addChildNode(r)}if(e.Status!=null){let r=f.XmlNode.of("BucketVersioningStatus",e.Status).withName("Status");t.addChildNode(r)}return t},qL=(e,n)=>{let t=new f.XmlNode("WebsiteConfiguration");if(e.ErrorDocument!=null){let r=zle(e.ErrorDocument,n).withName("ErrorDocument");t.addChildNode(r)}if(e.IndexDocument!=null){let r=Yle(e.IndexDocument,n).withName("IndexDocument");t.addChildNode(r)}if(e.RedirectAllRequestsTo!=null){let r=Tue(e.RedirectAllRequestsTo,n).withName("RedirectAllRequestsTo");t.addChildNode(r)}if(e.RoutingRules!=null){let r=zue(e.RoutingRules,n),o=new f.XmlNode("RoutingRules");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}return t},ume=(e,n)=>{let t={};return e.DaysAfterInitiation!==void 0&&(t.DaysAfterInitiation=(0,d.strictParseInt32)(e.DaysAfterInitiation)),t},mme=(e,n)=>{let t={};return e.Owner!==void 0&&(t.Owner=(0,d.expectString)(e.Owner)),t},pme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),fme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),yme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),_me=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Tag===""?t.Tags=[]:e.Tag!==void 0&&(t.Tags=mo((0,d.getArrayIfSingleItem)(e.Tag),n)),t},zL=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.Filter===""||e.Filter!==void 0&&(t.Filter=Cme((0,d.expectUnion)(e.Filter),n)),e.StorageClassAnalysis!==void 0&&(t.StorageClassAnalysis=lfe(e.StorageClassAnalysis,n)),t},gme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>zL(t,n)),hme=(e,n)=>{let t={};return e.S3BucketDestination!==void 0&&(t.S3BucketDestination=Sme(e.S3BucketDestination,n)),t},Cme=(e,n)=>e.Prefix!==void 0?{Prefix:(0,d.expectString)(e.Prefix)}:e.Tag!==void 0?{Tag:qs(e.Tag,n)}:e.And!==void 0?{And:_me(e.And,n)}:{$unknown:Object.entries(e)[0]},Sme=(e,n)=>{let t={};return e.Format!==void 0&&(t.Format=(0,d.expectString)(e.Format)),e.BucketAccountId!==void 0&&(t.BucketAccountId=(0,d.expectString)(e.BucketAccountId)),e.Bucket!==void 0&&(t.Bucket=(0,d.expectString)(e.Bucket)),e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),t},Eme=(e,n)=>{let t={};return e.Name!==void 0&&(t.Name=(0,d.expectString)(e.Name)),e.CreationDate!==void 0&&(t.CreationDate=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.CreationDate))),t},bme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Eme(t,n)),Pme=(e,n)=>{let t={};return e.ChecksumCRC32!==void 0&&(t.ChecksumCRC32=(0,d.expectString)(e.ChecksumCRC32)),e.ChecksumCRC32C!==void 0&&(t.ChecksumCRC32C=(0,d.expectString)(e.ChecksumCRC32C)),e.ChecksumSHA1!==void 0&&(t.ChecksumSHA1=(0,d.expectString)(e.ChecksumSHA1)),e.ChecksumSHA256!==void 0&&(t.ChecksumSHA256=(0,d.expectString)(e.ChecksumSHA256)),t},GL=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),vme=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),t},fy=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>vme(t,n)),xme=(e,n)=>{let t={};return e.HttpErrorCodeReturnedEquals!==void 0&&(t.HttpErrorCodeReturnedEquals=(0,d.expectString)(e.HttpErrorCodeReturnedEquals)),e.KeyPrefixEquals!==void 0&&(t.KeyPrefixEquals=(0,d.expectString)(e.KeyPrefixEquals)),t},wme=(e,n)=>({}),kme=(e,n)=>{let t={};return e.ETag!==void 0&&(t.ETag=(0,d.expectString)(e.ETag)),e.LastModified!==void 0&&(t.LastModified=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.LastModified))),e.ChecksumCRC32!==void 0&&(t.ChecksumCRC32=(0,d.expectString)(e.ChecksumCRC32)),e.ChecksumCRC32C!==void 0&&(t.ChecksumCRC32C=(0,d.expectString)(e.ChecksumCRC32C)),e.ChecksumSHA1!==void 0&&(t.ChecksumSHA1=(0,d.expectString)(e.ChecksumSHA1)),e.ChecksumSHA256!==void 0&&(t.ChecksumSHA256=(0,d.expectString)(e.ChecksumSHA256)),t},Ame=(e,n)=>{let t={};return e.ETag!==void 0&&(t.ETag=(0,d.expectString)(e.ETag)),e.LastModified!==void 0&&(t.LastModified=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.LastModified))),e.ChecksumCRC32!==void 0&&(t.ChecksumCRC32=(0,d.expectString)(e.ChecksumCRC32)),e.ChecksumCRC32C!==void 0&&(t.ChecksumCRC32C=(0,d.expectString)(e.ChecksumCRC32C)),e.ChecksumSHA1!==void 0&&(t.ChecksumSHA1=(0,d.expectString)(e.ChecksumSHA1)),e.ChecksumSHA256!==void 0&&(t.ChecksumSHA256=(0,d.expectString)(e.ChecksumSHA256)),t},Ime=(e,n)=>{let t={};return e.ID!==void 0&&(t.ID=(0,d.expectString)(e.ID)),e.AllowedHeader===""?t.AllowedHeaders=[]:e.AllowedHeader!==void 0&&(t.AllowedHeaders=pme((0,d.getArrayIfSingleItem)(e.AllowedHeader),n)),e.AllowedMethod===""?t.AllowedMethods=[]:e.AllowedMethod!==void 0&&(t.AllowedMethods=fme((0,d.getArrayIfSingleItem)(e.AllowedMethod),n)),e.AllowedOrigin===""?t.AllowedOrigins=[]:e.AllowedOrigin!==void 0&&(t.AllowedOrigins=yme((0,d.getArrayIfSingleItem)(e.AllowedOrigin),n)),e.ExposeHeader===""?t.ExposeHeaders=[]:e.ExposeHeader!==void 0&&(t.ExposeHeaders=$me((0,d.getArrayIfSingleItem)(e.ExposeHeader),n)),e.MaxAgeSeconds!==void 0&&(t.MaxAgeSeconds=(0,d.strictParseInt32)(e.MaxAgeSeconds)),t},Rme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Ime(t,n)),Nme=(e,n)=>{let t={};return e.Mode!==void 0&&(t.Mode=(0,d.expectString)(e.Mode)),e.Days!==void 0&&(t.Days=(0,d.strictParseInt32)(e.Days)),e.Years!==void 0&&(t.Years=(0,d.strictParseInt32)(e.Years)),t},Ome=(e,n)=>{let t={};return e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),e.VersionId!==void 0&&(t.VersionId=(0,d.expectString)(e.VersionId)),e.DeleteMarker!==void 0&&(t.DeleteMarker=(0,d.parseBoolean)(e.DeleteMarker)),e.DeleteMarkerVersionId!==void 0&&(t.DeleteMarkerVersionId=(0,d.expectString)(e.DeleteMarkerVersionId)),t},Tme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Ome(t,n)),qme=(e,n)=>{let t={};return e.Owner!==void 0&&(t.Owner=qr(e.Owner,n)),e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),e.VersionId!==void 0&&(t.VersionId=(0,d.expectString)(e.VersionId)),e.IsLatest!==void 0&&(t.IsLatest=(0,d.parseBoolean)(e.IsLatest)),e.LastModified!==void 0&&(t.LastModified=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.LastModified))),t},Bme=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},Mme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>qme(t,n)),Dme=(e,n)=>{let t={};return e.Bucket!==void 0&&(t.Bucket=(0,d.expectString)(e.Bucket)),e.Account!==void 0&&(t.Account=(0,d.expectString)(e.Account)),e.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(e.StorageClass)),e.AccessControlTranslation!==void 0&&(t.AccessControlTranslation=mme(e.AccessControlTranslation,n)),e.EncryptionConfiguration!==void 0&&(t.EncryptionConfiguration=Fme(e.EncryptionConfiguration,n)),e.ReplicationTime!==void 0&&(t.ReplicationTime=Qpe(e.ReplicationTime,n)),e.Metrics!==void 0&&(t.Metrics=ype(e.Metrics,n)),t},Fme=(e,n)=>{let t={};return e.ReplicaKmsKeyID!==void 0&&(t.ReplicaKmsKeyID=(0,d.expectString)(e.ReplicaKmsKeyID)),t},Lme=(e,n)=>({}),jme=(e,n)=>{let t={};return e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),e.VersionId!==void 0&&(t.VersionId=(0,d.expectString)(e.VersionId)),e.Code!==void 0&&(t.Code=(0,d.expectString)(e.Code)),e.Message!==void 0&&(t.Message=(0,d.expectString)(e.Message)),t},Ume=(e,n)=>{let t={};return e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),t},zme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>jme(t,n)),Gme=(e,n)=>({}),EE=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),Hme=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},$me=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),Kme=(e,n)=>{let t={};return e.Name!==void 0&&(t.Name=(0,d.expectString)(e.Name)),e.Value!==void 0&&(t.Value=(0,d.expectString)(e.Value)),t},Vme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Kme(t,n)),Xme=(e,n)=>{let t={};return e.PartsCount!==void 0&&(t.TotalPartsCount=(0,d.strictParseInt32)(e.PartsCount)),e.PartNumberMarker!==void 0&&(t.PartNumberMarker=(0,d.expectString)(e.PartNumberMarker)),e.NextPartNumberMarker!==void 0&&(t.NextPartNumberMarker=(0,d.expectString)(e.NextPartNumberMarker)),e.MaxParts!==void 0&&(t.MaxParts=(0,d.strictParseInt32)(e.MaxParts)),e.IsTruncated!==void 0&&(t.IsTruncated=(0,d.parseBoolean)(e.IsTruncated)),e.Part===""?t.Parts=[]:e.Part!==void 0&&(t.Parts=Dpe((0,d.getArrayIfSingleItem)(e.Part),n)),t},Wme=(e,n)=>{let t={};return e.Grantee!==void 0&&(t.Grantee=HL(e.Grantee,n)),e.Permission!==void 0&&(t.Permission=(0,d.expectString)(e.Permission)),t},HL=(e,n)=>{let t={};return e.DisplayName!==void 0&&(t.DisplayName=(0,d.expectString)(e.DisplayName)),e.EmailAddress!==void 0&&(t.EmailAddress=(0,d.expectString)(e.EmailAddress)),e.ID!==void 0&&(t.ID=(0,d.expectString)(e.ID)),e.URI!==void 0&&(t.URI=(0,d.expectString)(e.URI)),e["xsi:type"]!==void 0&&(t.Type=(0,d.expectString)(e["xsi:type"])),t},$L=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Wme(t,n)),Yme=(e,n)=>{let t={};return e.Suffix!==void 0&&(t.Suffix=(0,d.expectString)(e.Suffix)),t},KL=(e,n)=>{let t={};return e.ID!==void 0&&(t.ID=(0,d.expectString)(e.ID)),e.DisplayName!==void 0&&(t.DisplayName=(0,d.expectString)(e.DisplayName)),t},Qme=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Tag===""?t.Tags=[]:e.Tag!==void 0&&(t.Tags=mo((0,d.getArrayIfSingleItem)(e.Tag),n)),t},VL=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.Filter!==void 0&&(t.Filter=Zme(e.Filter,n)),e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),e.Tiering===""?t.Tierings=[]:e.Tiering!==void 0&&(t.Tierings=yfe((0,d.getArrayIfSingleItem)(e.Tiering),n)),t},Jme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>VL(t,n)),Zme=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Tag!==void 0&&(t.Tag=qs(e.Tag,n)),e.And!==void 0&&(t.And=Qme(e.And,n)),t},XL=(e,n)=>{let t={};return e.Destination!==void 0&&(t.Destination=tpe(e.Destination,n)),e.IsEnabled!==void 0&&(t.IsEnabled=(0,d.parseBoolean)(e.IsEnabled)),e.Filter!==void 0&&(t.Filter=rpe(e.Filter,n)),e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.IncludedObjectVersions!==void 0&&(t.IncludedObjectVersions=(0,d.expectString)(e.IncludedObjectVersions)),e.OptionalFields===""?t.OptionalFields=[]:e.OptionalFields!==void 0&&e.OptionalFields.Field!==void 0&&(t.OptionalFields=ope((0,d.getArrayIfSingleItem)(e.OptionalFields.Field),n)),e.Schedule!==void 0&&(t.Schedule=ipe(e.Schedule,n)),t},epe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>XL(t,n)),tpe=(e,n)=>{let t={};return e.S3BucketDestination!==void 0&&(t.S3BucketDestination=spe(e.S3BucketDestination,n)),t},npe=(e,n)=>{let t={};return e["SSE-S3"]!==void 0&&(t.SSES3=cfe(e["SSE-S3"],n)),e["SSE-KMS"]!==void 0&&(t.SSEKMS=ife(e["SSE-KMS"],n)),t},rpe=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),t},ope=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),spe=(e,n)=>{let t={};return e.AccountId!==void 0&&(t.AccountId=(0,d.expectString)(e.AccountId)),e.Bucket!==void 0&&(t.Bucket=(0,d.expectString)(e.Bucket)),e.Format!==void 0&&(t.Format=(0,d.expectString)(e.Format)),e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Encryption!==void 0&&(t.Encryption=npe(e.Encryption,n)),t},ipe=(e,n)=>{let t={};return e.Frequency!==void 0&&(t.Frequency=(0,d.expectString)(e.Frequency)),t},ape=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.CloudFunction!==void 0&&(t.LambdaFunctionArn=(0,d.expectString)(e.CloudFunction)),e.Event===""?t.Events=[]:e.Event!==void 0&&(t.Events=EE((0,d.getArrayIfSingleItem)(e.Event),n)),e.Filter!==void 0&&(t.Filter=bE(e.Filter,n)),t},cpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>ape(t,n)),dpe=(e,n)=>{let t={};return e.Date!==void 0&&(t.Date=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.Date))),e.Days!==void 0&&(t.Days=(0,d.strictParseInt32)(e.Days)),e.ExpiredObjectDeleteMarker!==void 0&&(t.ExpiredObjectDeleteMarker=(0,d.parseBoolean)(e.ExpiredObjectDeleteMarker)),t},lpe=(e,n)=>{let t={};return e.Expiration!==void 0&&(t.Expiration=dpe(e.Expiration,n)),e.ID!==void 0&&(t.ID=(0,d.expectString)(e.ID)),e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Filter===""||e.Filter!==void 0&&(t.Filter=mpe((0,d.expectUnion)(e.Filter),n)),e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),e.Transition===""?t.Transitions=[]:e.Transition!==void 0&&(t.Transitions=Cfe((0,d.getArrayIfSingleItem)(e.Transition),n)),e.NoncurrentVersionTransition===""?t.NoncurrentVersionTransitions=[]:e.NoncurrentVersionTransition!==void 0&&(t.NoncurrentVersionTransitions=Ppe((0,d.getArrayIfSingleItem)(e.NoncurrentVersionTransition),n)),e.NoncurrentVersionExpiration!==void 0&&(t.NoncurrentVersionExpiration=Epe(e.NoncurrentVersionExpiration,n)),e.AbortIncompleteMultipartUpload!==void 0&&(t.AbortIncompleteMultipartUpload=ume(e.AbortIncompleteMultipartUpload,n)),t},upe=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Tag===""?t.Tags=[]:e.Tag!==void 0&&(t.Tags=mo((0,d.getArrayIfSingleItem)(e.Tag),n)),e.ObjectSizeGreaterThan!==void 0&&(t.ObjectSizeGreaterThan=(0,d.strictParseLong)(e.ObjectSizeGreaterThan)),e.ObjectSizeLessThan!==void 0&&(t.ObjectSizeLessThan=(0,d.strictParseLong)(e.ObjectSizeLessThan)),t},mpe=(e,n)=>e.Prefix!==void 0?{Prefix:(0,d.expectString)(e.Prefix)}:e.Tag!==void 0?{Tag:qs(e.Tag,n)}:e.ObjectSizeGreaterThan!==void 0?{ObjectSizeGreaterThan:(0,d.strictParseLong)(e.ObjectSizeGreaterThan)}:e.ObjectSizeLessThan!==void 0?{ObjectSizeLessThan:(0,d.strictParseLong)(e.ObjectSizeLessThan)}:e.And!==void 0?{And:upe(e.And,n)}:{$unknown:Object.entries(e)[0]},ppe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>lpe(t,n)),fpe=(e,n)=>{let t={};return e.TargetBucket!==void 0&&(t.TargetBucket=(0,d.expectString)(e.TargetBucket)),e.TargetGrants===""?t.TargetGrants=[]:e.TargetGrants!==void 0&&e.TargetGrants.Grant!==void 0&&(t.TargetGrants=pfe((0,d.getArrayIfSingleItem)(e.TargetGrants.Grant),n)),e.TargetPrefix!==void 0&&(t.TargetPrefix=(0,d.expectString)(e.TargetPrefix)),t},ype=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),e.EventThreshold!==void 0&&(t.EventThreshold=QL(e.EventThreshold,n)),t},_pe=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Tag===""?t.Tags=[]:e.Tag!==void 0&&(t.Tags=mo((0,d.getArrayIfSingleItem)(e.Tag),n)),e.AccessPointArn!==void 0&&(t.AccessPointArn=(0,d.expectString)(e.AccessPointArn)),t},WL=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.Filter===""||e.Filter!==void 0&&(t.Filter=hpe((0,d.expectUnion)(e.Filter),n)),t},gpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>WL(t,n)),hpe=(e,n)=>e.Prefix!==void 0?{Prefix:(0,d.expectString)(e.Prefix)}:e.Tag!==void 0?{Tag:qs(e.Tag,n)}:e.AccessPointArn!==void 0?{AccessPointArn:(0,d.expectString)(e.AccessPointArn)}:e.And!==void 0?{And:_pe(e.And,n)}:{$unknown:Object.entries(e)[0]},Cpe=(e,n)=>{let t={};return e.UploadId!==void 0&&(t.UploadId=(0,d.expectString)(e.UploadId)),e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),e.Initiated!==void 0&&(t.Initiated=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.Initiated))),e.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(e.StorageClass)),e.Owner!==void 0&&(t.Owner=qr(e.Owner,n)),e.Initiator!==void 0&&(t.Initiator=KL(e.Initiator,n)),e.ChecksumAlgorithm!==void 0&&(t.ChecksumAlgorithm=(0,d.expectString)(e.ChecksumAlgorithm)),t},Spe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Cpe(t,n)),Epe=(e,n)=>{let t={};return e.NoncurrentDays!==void 0&&(t.NoncurrentDays=(0,d.strictParseInt32)(e.NoncurrentDays)),e.NewerNoncurrentVersions!==void 0&&(t.NewerNoncurrentVersions=(0,d.strictParseInt32)(e.NewerNoncurrentVersions)),t},bpe=(e,n)=>{let t={};return e.NoncurrentDays!==void 0&&(t.NoncurrentDays=(0,d.strictParseInt32)(e.NoncurrentDays)),e.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(e.StorageClass)),e.NewerNoncurrentVersions!==void 0&&(t.NewerNoncurrentVersions=(0,d.strictParseInt32)(e.NewerNoncurrentVersions)),t},Ppe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>bpe(t,n)),bE=(e,n)=>{let t={};return e.S3Key!==void 0&&(t.Key=efe(e.S3Key,n)),t},vpe=(e,n)=>{let t={};return e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),e.LastModified!==void 0&&(t.LastModified=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.LastModified))),e.ETag!==void 0&&(t.ETag=(0,d.expectString)(e.ETag)),e.ChecksumAlgorithm===""?t.ChecksumAlgorithm=[]:e.ChecksumAlgorithm!==void 0&&(t.ChecksumAlgorithm=GL((0,d.getArrayIfSingleItem)(e.ChecksumAlgorithm),n)),e.Size!==void 0&&(t.Size=(0,d.strictParseLong)(e.Size)),e.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(e.StorageClass)),e.Owner!==void 0&&(t.Owner=qr(e.Owner,n)),e.RestoreStatus!==void 0&&(t.RestoreStatus=JL(e.RestoreStatus,n)),t},YL=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>vpe(t,n)),xpe=(e,n)=>{let t={};return e.ObjectLockEnabled!==void 0&&(t.ObjectLockEnabled=(0,d.expectString)(e.ObjectLockEnabled)),e.Rule!==void 0&&(t.Rule=Ape(e.Rule,n)),t},wpe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},kpe=(e,n)=>{let t={};return e.Mode!==void 0&&(t.Mode=(0,d.expectString)(e.Mode)),e.RetainUntilDate!==void 0&&(t.RetainUntilDate=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.RetainUntilDate))),t},Ape=(e,n)=>{let t={};return e.DefaultRetention!==void 0&&(t.DefaultRetention=Nme(e.DefaultRetention,n)),t},Ipe=(e,n)=>{let t={};return e.PartNumber!==void 0&&(t.PartNumber=(0,d.strictParseInt32)(e.PartNumber)),e.Size!==void 0&&(t.Size=(0,d.strictParseLong)(e.Size)),e.ChecksumCRC32!==void 0&&(t.ChecksumCRC32=(0,d.expectString)(e.ChecksumCRC32)),e.ChecksumCRC32C!==void 0&&(t.ChecksumCRC32C=(0,d.expectString)(e.ChecksumCRC32C)),e.ChecksumSHA1!==void 0&&(t.ChecksumSHA1=(0,d.expectString)(e.ChecksumSHA1)),e.ChecksumSHA256!==void 0&&(t.ChecksumSHA256=(0,d.expectString)(e.ChecksumSHA256)),t},Rpe=(e,n)=>{let t={};return e.ETag!==void 0&&(t.ETag=(0,d.expectString)(e.ETag)),e.ChecksumAlgorithm===""?t.ChecksumAlgorithm=[]:e.ChecksumAlgorithm!==void 0&&(t.ChecksumAlgorithm=GL((0,d.getArrayIfSingleItem)(e.ChecksumAlgorithm),n)),e.Size!==void 0&&(t.Size=(0,d.strictParseLong)(e.Size)),e.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(e.StorageClass)),e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),e.VersionId!==void 0&&(t.VersionId=(0,d.expectString)(e.VersionId)),e.IsLatest!==void 0&&(t.IsLatest=(0,d.parseBoolean)(e.IsLatest)),e.LastModified!==void 0&&(t.LastModified=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.LastModified))),e.Owner!==void 0&&(t.Owner=qr(e.Owner,n)),e.RestoreStatus!==void 0&&(t.RestoreStatus=JL(e.RestoreStatus,n)),t},Npe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Rpe(t,n)),qr=(e,n)=>{let t={};return e.DisplayName!==void 0&&(t.DisplayName=(0,d.expectString)(e.DisplayName)),e.ID!==void 0&&(t.ID=(0,d.expectString)(e.ID)),t},Ope=(e,n)=>{let t={};return e.Rule===""?t.Rules=[]:e.Rule!==void 0&&(t.Rules=qpe((0,d.getArrayIfSingleItem)(e.Rule),n)),t},Tpe=(e,n)=>{let t={};return e.ObjectOwnership!==void 0&&(t.ObjectOwnership=(0,d.expectString)(e.ObjectOwnership)),t},qpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Tpe(t,n)),Bpe=(e,n)=>{let t={};return e.PartNumber!==void 0&&(t.PartNumber=(0,d.strictParseInt32)(e.PartNumber)),e.LastModified!==void 0&&(t.LastModified=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.LastModified))),e.ETag!==void 0&&(t.ETag=(0,d.expectString)(e.ETag)),e.Size!==void 0&&(t.Size=(0,d.strictParseLong)(e.Size)),e.ChecksumCRC32!==void 0&&(t.ChecksumCRC32=(0,d.expectString)(e.ChecksumCRC32)),e.ChecksumCRC32C!==void 0&&(t.ChecksumCRC32C=(0,d.expectString)(e.ChecksumCRC32C)),e.ChecksumSHA1!==void 0&&(t.ChecksumSHA1=(0,d.expectString)(e.ChecksumSHA1)),e.ChecksumSHA256!==void 0&&(t.ChecksumSHA256=(0,d.expectString)(e.ChecksumSHA256)),t},Mpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Bpe(t,n)),Dpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Ipe(t,n)),Fpe=(e,n)=>{let t={};return e.IsPublic!==void 0&&(t.IsPublic=(0,d.parseBoolean)(e.IsPublic)),t},Lpe=(e,n)=>{let t={};return e.BytesScanned!==void 0&&(t.BytesScanned=(0,d.strictParseLong)(e.BytesScanned)),e.BytesProcessed!==void 0&&(t.BytesProcessed=(0,d.strictParseLong)(e.BytesProcessed)),e.BytesReturned!==void 0&&(t.BytesReturned=(0,d.strictParseLong)(e.BytesReturned)),t},jpe=(e,n)=>{let t={};return e.BlockPublicAcls!==void 0&&(t.BlockPublicAcls=(0,d.parseBoolean)(e.BlockPublicAcls)),e.IgnorePublicAcls!==void 0&&(t.IgnorePublicAcls=(0,d.parseBoolean)(e.IgnorePublicAcls)),e.BlockPublicPolicy!==void 0&&(t.BlockPublicPolicy=(0,d.parseBoolean)(e.BlockPublicPolicy)),e.RestrictPublicBuckets!==void 0&&(t.RestrictPublicBuckets=(0,d.parseBoolean)(e.RestrictPublicBuckets)),t},Upe=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.Queue!==void 0&&(t.QueueArn=(0,d.expectString)(e.Queue)),e.Event===""?t.Events=[]:e.Event!==void 0&&(t.Events=EE((0,d.getArrayIfSingleItem)(e.Event),n)),e.Filter!==void 0&&(t.Filter=bE(e.Filter,n)),t},zpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Upe(t,n)),Gpe=(e,n)=>{let t={};return e.HostName!==void 0&&(t.HostName=(0,d.expectString)(e.HostName)),e.HttpRedirectCode!==void 0&&(t.HttpRedirectCode=(0,d.expectString)(e.HttpRedirectCode)),e.Protocol!==void 0&&(t.Protocol=(0,d.expectString)(e.Protocol)),e.ReplaceKeyPrefixWith!==void 0&&(t.ReplaceKeyPrefixWith=(0,d.expectString)(e.ReplaceKeyPrefixWith)),e.ReplaceKeyWith!==void 0&&(t.ReplaceKeyWith=(0,d.expectString)(e.ReplaceKeyWith)),t},Hpe=(e,n)=>{let t={};return e.HostName!==void 0&&(t.HostName=(0,d.expectString)(e.HostName)),e.Protocol!==void 0&&(t.Protocol=(0,d.expectString)(e.Protocol)),t},$pe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},Kpe=(e,n)=>{let t={};return e.Role!==void 0&&(t.Role=(0,d.expectString)(e.Role)),e.Rule===""?t.Rules=[]:e.Rule!==void 0&&(t.Rules=Ype((0,d.getArrayIfSingleItem)(e.Rule),n)),t},Vpe=(e,n)=>{let t={};return e.ID!==void 0&&(t.ID=(0,d.expectString)(e.ID)),e.Priority!==void 0&&(t.Priority=(0,d.strictParseInt32)(e.Priority)),e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Filter===""||e.Filter!==void 0&&(t.Filter=Wpe((0,d.expectUnion)(e.Filter),n)),e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),e.SourceSelectionCriteria!==void 0&&(t.SourceSelectionCriteria=sfe(e.SourceSelectionCriteria,n)),e.ExistingObjectReplication!==void 0&&(t.ExistingObjectReplication=Hme(e.ExistingObjectReplication,n)),e.Destination!==void 0&&(t.Destination=Dme(e.Destination,n)),e.DeleteMarkerReplication!==void 0&&(t.DeleteMarkerReplication=Bme(e.DeleteMarkerReplication,n)),t},Xpe=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Tag===""?t.Tags=[]:e.Tag!==void 0&&(t.Tags=mo((0,d.getArrayIfSingleItem)(e.Tag),n)),t},Wpe=(e,n)=>e.Prefix!==void 0?{Prefix:(0,d.expectString)(e.Prefix)}:e.Tag!==void 0?{Tag:qs(e.Tag,n)}:e.And!==void 0?{And:Xpe(e.And,n)}:{$unknown:Object.entries(e)[0]},Ype=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Vpe(t,n)),Qpe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),e.Time!==void 0&&(t.Time=QL(e.Time,n)),t},QL=(e,n)=>{let t={};return e.Minutes!==void 0&&(t.Minutes=(0,d.strictParseInt32)(e.Minutes)),t},JL=(e,n)=>{let t={};return e.IsRestoreInProgress!==void 0&&(t.IsRestoreInProgress=(0,d.parseBoolean)(e.IsRestoreInProgress)),e.RestoreExpiryDate!==void 0&&(t.RestoreExpiryDate=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.RestoreExpiryDate))),t},Jpe=(e,n)=>{let t={};return e.Condition!==void 0&&(t.Condition=xme(e.Condition,n)),e.Redirect!==void 0&&(t.Redirect=Gpe(e.Redirect,n)),t},Zpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Jpe(t,n)),efe=(e,n)=>{let t={};return e.FilterRule===""?t.FilterRules=[]:e.FilterRule!==void 0&&(t.FilterRules=Vme((0,d.getArrayIfSingleItem)(e.FilterRule),n)),t},tfe=(e,n)=>{let t={};return e.SSEAlgorithm!==void 0&&(t.SSEAlgorithm=(0,d.expectString)(e.SSEAlgorithm)),e.KMSMasterKeyID!==void 0&&(t.KMSMasterKeyID=(0,d.expectString)(e.KMSMasterKeyID)),t},nfe=(e,n)=>{let t={};return e.Rule===""?t.Rules=[]:e.Rule!==void 0&&(t.Rules=ofe((0,d.getArrayIfSingleItem)(e.Rule),n)),t},rfe=(e,n)=>{let t={};return e.ApplyServerSideEncryptionByDefault!==void 0&&(t.ApplyServerSideEncryptionByDefault=tfe(e.ApplyServerSideEncryptionByDefault,n)),e.BucketKeyEnabled!==void 0&&(t.BucketKeyEnabled=(0,d.parseBoolean)(e.BucketKeyEnabled)),t},ofe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>rfe(t,n)),sfe=(e,n)=>{let t={};return e.SseKmsEncryptedObjects!==void 0&&(t.SseKmsEncryptedObjects=afe(e.SseKmsEncryptedObjects,n)),e.ReplicaModifications!==void 0&&(t.ReplicaModifications=$pe(e.ReplicaModifications,n)),t},ife=(e,n)=>{let t={};return e.KeyId!==void 0&&(t.KeyId=(0,d.expectString)(e.KeyId)),t},afe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},cfe=(e,n)=>({}),dfe=(e,n)=>{let t={};return e.BytesScanned!==void 0&&(t.BytesScanned=(0,d.strictParseLong)(e.BytesScanned)),e.BytesProcessed!==void 0&&(t.BytesProcessed=(0,d.strictParseLong)(e.BytesProcessed)),e.BytesReturned!==void 0&&(t.BytesReturned=(0,d.strictParseLong)(e.BytesReturned)),t},lfe=(e,n)=>{let t={};return e.DataExport!==void 0&&(t.DataExport=ufe(e.DataExport,n)),t},ufe=(e,n)=>{let t={};return e.OutputSchemaVersion!==void 0&&(t.OutputSchemaVersion=(0,d.expectString)(e.OutputSchemaVersion)),e.Destination!==void 0&&(t.Destination=hme(e.Destination,n)),t},qs=(e,n)=>{let t={};return e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),e.Value!==void 0&&(t.Value=(0,d.expectString)(e.Value)),t},mo=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>qs(t,n)),mfe=(e,n)=>{let t={};return e.Grantee!==void 0&&(t.Grantee=HL(e.Grantee,n)),e.Permission!==void 0&&(t.Permission=(0,d.expectString)(e.Permission)),t},pfe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>mfe(t,n)),ffe=(e,n)=>{let t={};return e.Days!==void 0&&(t.Days=(0,d.strictParseInt32)(e.Days)),e.AccessTier!==void 0&&(t.AccessTier=(0,d.expectString)(e.AccessTier)),t},yfe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>ffe(t,n)),_fe=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.Topic!==void 0&&(t.TopicArn=(0,d.expectString)(e.Topic)),e.Event===""?t.Events=[]:e.Event!==void 0&&(t.Events=EE((0,d.getArrayIfSingleItem)(e.Event),n)),e.Filter!==void 0&&(t.Filter=bE(e.Filter,n)),t},gfe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>_fe(t,n)),hfe=(e,n)=>{let t={};return e.Date!==void 0&&(t.Date=(0,d.expectNonNull)((0,d.parseRfc3339DateTimeWithOffset)(e.Date))),e.Days!==void 0&&(t.Days=(0,d.strictParseInt32)(e.Days)),e.StorageClass!==void 0&&(t.StorageClass=(0,d.expectString)(e.StorageClass)),t},Cfe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>hfe(t,n)),I=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),ZL=(e,n)=>(0,d.collectBody)(e,n).then(t=>n.utf8Encoder(t)),P=e=>e!=null&&e!==""&&(!Object.getOwnPropertyNames(e).includes("length")||e.length!=0)&&(!Object.getOwnPropertyNames(e).includes("size")||e.size!=0),ne=(e,n)=>ZL(e,n).then(t=>{if(t.length){let r=new Qoe.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(u,l)=>l.trim()===""&&l.includes(` +`)?"":void 0});r.addEntity("#xD","\r"),r.addEntity("#10",` +`);let o=r.parse(t),s="#text",a=Object.keys(o)[0],i=o[a];return i[s]&&(i[a]=i[s],delete i[s]),(0,d.getValueFromTextNode)(i)}return{}}),D=async(e,n)=>{let t=await ne(e,n);return t.Error&&(t.Error.message=t.Error.message??t.Error.Message),t},F=(e,n)=>{if((n==null?void 0:n.Code)!==void 0)return n.Code;if(e.statusCode==404)return"NotFound"}});var vE=m(Bs=>{"use strict";Object.defineProperty(Bs,"__esModule",{value:!0});Bs.AbortMultipartUploadCommand=Bs.$Command=void 0;var Sfe=x(),Efe=w(),tj=E();Object.defineProperty(Bs,"$Command",{enumerable:!0,get:function(){return tj.Command}});var bfe=v(),ej=q(),PE=class e extends tj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Efe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Sfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"AbortMultipartUploadCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[bfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"AbortMultipartUpload"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,ej.se_AbortMultipartUploadCommand)(n,t)}deserialize(n,t){return(0,ej.de_AbortMultipartUploadCommand)(n,t)}};Bs.AbortMultipartUploadCommand=PE});var qt=m(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.getSsecPlugin=Xn.ssecMiddlewareOptions=Xn.ssecMiddleware=void 0;function nj(e){return n=>async t=>{let r={...t.input},o=[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}];for(let s of o){let a=r[s.target];if(a){let i=ArrayBuffer.isView(a)?new Uint8Array(a.buffer,a.byteOffset,a.byteLength):typeof a=="string"?e.utf8Decoder(a):new Uint8Array(a),u=e.base64Encoder(i),l=new e.md5;l.update(i),r={...r,[s.target]:u,[s.hash]:e.base64Encoder(await l.digest())}}}return n({...t,input:r})}}Xn.ssecMiddleware=nj;Xn.ssecMiddlewareOptions={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0};var Pfe=e=>({applyToStack:n=>{n.add(nj(e),Xn.ssecMiddlewareOptions)}});Xn.getSsecPlugin=Pfe});var wE=m(Ms=>{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});Ms.CompleteMultipartUploadCommand=Ms.$Command=void 0;var vfe=Io(),xfe=qt(),wfe=x(),kfe=w(),sj=E();Object.defineProperty(Ms,"$Command",{enumerable:!0,get:function(){return sj.Command}});var Afe=v(),rj=et(),oj=q(),xE=class e extends sj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,kfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,wfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,vfe.getThrow200ExceptionsPlugin)(t)),this.middlewareStack.use((0,xfe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"CompleteMultipartUploadCommand",inputFilterSensitiveLog:rj.CompleteMultipartUploadRequestFilterSensitiveLog,outputFilterSensitiveLog:rj.CompleteMultipartUploadOutputFilterSensitiveLog,[Afe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"CompleteMultipartUpload"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,oj.se_CompleteMultipartUploadCommand)(n,t)}deserialize(n,t){return(0,oj.de_CompleteMultipartUploadCommand)(n,t)}};Ms.CompleteMultipartUploadCommand=xE});var AE=m(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.CopyObjectCommand=Ds.$Command=void 0;var Ife=Io(),Rfe=qt(),Nfe=x(),Ofe=w(),cj=E();Object.defineProperty(Ds,"$Command",{enumerable:!0,get:function(){return cj.Command}});var Tfe=v(),ij=et(),aj=q(),kE=class e extends cj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Ofe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Nfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Ife.getThrow200ExceptionsPlugin)(t)),this.middlewareStack.use((0,Rfe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"CopyObjectCommand",inputFilterSensitiveLog:ij.CopyObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:ij.CopyObjectOutputFilterSensitiveLog,[Tfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"CopyObject"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,aj.se_CopyObjectCommand)(n,t)}deserialize(n,t){return(0,aj.de_CopyObjectCommand)(n,t)}};Ds.CopyObjectCommand=kE});var lj=m(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.getLocationConstraintPlugin=Wn.locationConstraintMiddlewareOptions=Wn.locationConstraintMiddleware=void 0;function dj(e){return n=>async t=>{let{CreateBucketConfiguration:r}=t.input,o=await e.region();return(!r||!r.LocationConstraint)&&(t={...t,input:{...t.input,CreateBucketConfiguration:o==="us-east-1"?void 0:{LocationConstraint:o}}}),n(t)}}Wn.locationConstraintMiddleware=dj;Wn.locationConstraintMiddlewareOptions={step:"initialize",tags:["LOCATION_CONSTRAINT","CREATE_BUCKET_CONFIGURATION"],name:"locationConstraintMiddleware",override:!0};var qfe=e=>({applyToStack:n=>{n.add(dj(e),Wn.locationConstraintMiddlewareOptions)}});Wn.getLocationConstraintPlugin=qfe});var RE=m(Fs=>{"use strict";Object.defineProperty(Fs,"__esModule",{value:!0});Fs.CreateBucketCommand=Fs.$Command=void 0;var Bfe=lj(),Mfe=x(),Dfe=w(),mj=E();Object.defineProperty(Fs,"$Command",{enumerable:!0,get:function(){return mj.Command}});var Ffe=v(),uj=q(),IE=class e extends mj.Command{static getEndpointParameterInstructions(){return{DisableAccessPoints:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Dfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Mfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Bfe.getLocationConstraintPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"CreateBucketCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Ffe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"CreateBucket"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,uj.se_CreateBucketCommand)(n,t)}deserialize(n,t){return(0,uj.de_CreateBucketCommand)(n,t)}};Fs.CreateBucketCommand=IE});var OE=m(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.CreateMultipartUploadCommand=Ls.$Command=void 0;var Lfe=qt(),jfe=x(),Ufe=w(),yj=E();Object.defineProperty(Ls,"$Command",{enumerable:!0,get:function(){return yj.Command}});var zfe=v(),pj=et(),fj=q(),NE=class e extends yj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Ufe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,jfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Lfe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"CreateMultipartUploadCommand",inputFilterSensitiveLog:pj.CreateMultipartUploadRequestFilterSensitiveLog,outputFilterSensitiveLog:pj.CreateMultipartUploadOutputFilterSensitiveLog,[zfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"CreateMultipartUpload"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,fj.se_CreateMultipartUploadCommand)(n,t)}deserialize(n,t){return(0,fj.de_CreateMultipartUploadCommand)(n,t)}};Ls.CreateMultipartUploadCommand=NE});var qE=m(js=>{"use strict";Object.defineProperty(js,"__esModule",{value:!0});js.DeleteBucketAnalyticsConfigurationCommand=js.$Command=void 0;var Gfe=x(),Hfe=w(),gj=E();Object.defineProperty(js,"$Command",{enumerable:!0,get:function(){return gj.Command}});var $fe=v(),_j=q(),TE=class e extends gj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Hfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Gfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketAnalyticsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[$fe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketAnalyticsConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,_j.se_DeleteBucketAnalyticsConfigurationCommand)(n,t)}deserialize(n,t){return(0,_j.de_DeleteBucketAnalyticsConfigurationCommand)(n,t)}};js.DeleteBucketAnalyticsConfigurationCommand=TE});var ME=m(Us=>{"use strict";Object.defineProperty(Us,"__esModule",{value:!0});Us.DeleteBucketCommand=Us.$Command=void 0;var Kfe=x(),Vfe=w(),Cj=E();Object.defineProperty(Us,"$Command",{enumerable:!0,get:function(){return Cj.Command}});var Xfe=v(),hj=q(),BE=class e extends Cj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Vfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Kfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Xfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucket"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,hj.se_DeleteBucketCommand)(n,t)}deserialize(n,t){return(0,hj.de_DeleteBucketCommand)(n,t)}};Us.DeleteBucketCommand=BE});var FE=m(zs=>{"use strict";Object.defineProperty(zs,"__esModule",{value:!0});zs.DeleteBucketCorsCommand=zs.$Command=void 0;var Wfe=x(),Yfe=w(),Ej=E();Object.defineProperty(zs,"$Command",{enumerable:!0,get:function(){return Ej.Command}});var Qfe=v(),Sj=q(),DE=class e extends Ej.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Yfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Wfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketCorsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Qfe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketCors"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Sj.se_DeleteBucketCorsCommand)(n,t)}deserialize(n,t){return(0,Sj.de_DeleteBucketCorsCommand)(n,t)}};zs.DeleteBucketCorsCommand=DE});var jE=m(Gs=>{"use strict";Object.defineProperty(Gs,"__esModule",{value:!0});Gs.DeleteBucketEncryptionCommand=Gs.$Command=void 0;var Jfe=x(),Zfe=w(),Pj=E();Object.defineProperty(Gs,"$Command",{enumerable:!0,get:function(){return Pj.Command}});var eye=v(),bj=q(),LE=class e extends Pj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Zfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Jfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketEncryptionCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[eye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketEncryption"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,bj.se_DeleteBucketEncryptionCommand)(n,t)}deserialize(n,t){return(0,bj.de_DeleteBucketEncryptionCommand)(n,t)}};Gs.DeleteBucketEncryptionCommand=LE});var zE=m(Hs=>{"use strict";Object.defineProperty(Hs,"__esModule",{value:!0});Hs.DeleteBucketIntelligentTieringConfigurationCommand=Hs.$Command=void 0;var tye=x(),nye=w(),xj=E();Object.defineProperty(Hs,"$Command",{enumerable:!0,get:function(){return xj.Command}});var rye=v(),vj=q(),UE=class e extends xj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,nye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,tye.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketIntelligentTieringConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[rye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketIntelligentTieringConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,vj.se_DeleteBucketIntelligentTieringConfigurationCommand)(n,t)}deserialize(n,t){return(0,vj.de_DeleteBucketIntelligentTieringConfigurationCommand)(n,t)}};Hs.DeleteBucketIntelligentTieringConfigurationCommand=UE});var HE=m($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.DeleteBucketInventoryConfigurationCommand=$s.$Command=void 0;var oye=x(),sye=w(),kj=E();Object.defineProperty($s,"$Command",{enumerable:!0,get:function(){return kj.Command}});var iye=v(),wj=q(),GE=class e extends kj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,sye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,oye.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketInventoryConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[iye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketInventoryConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,wj.se_DeleteBucketInventoryConfigurationCommand)(n,t)}deserialize(n,t){return(0,wj.de_DeleteBucketInventoryConfigurationCommand)(n,t)}};$s.DeleteBucketInventoryConfigurationCommand=GE});var KE=m(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.DeleteBucketLifecycleCommand=Ks.$Command=void 0;var aye=x(),cye=w(),Ij=E();Object.defineProperty(Ks,"$Command",{enumerable:!0,get:function(){return Ij.Command}});var dye=v(),Aj=q(),$E=class e extends Ij.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,cye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,aye.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketLifecycleCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[dye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketLifecycle"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Aj.se_DeleteBucketLifecycleCommand)(n,t)}deserialize(n,t){return(0,Aj.de_DeleteBucketLifecycleCommand)(n,t)}};Ks.DeleteBucketLifecycleCommand=$E});var XE=m(Vs=>{"use strict";Object.defineProperty(Vs,"__esModule",{value:!0});Vs.DeleteBucketMetricsConfigurationCommand=Vs.$Command=void 0;var lye=x(),uye=w(),Nj=E();Object.defineProperty(Vs,"$Command",{enumerable:!0,get:function(){return Nj.Command}});var mye=v(),Rj=q(),VE=class e extends Nj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,uye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,lye.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketMetricsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[mye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketMetricsConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Rj.se_DeleteBucketMetricsConfigurationCommand)(n,t)}deserialize(n,t){return(0,Rj.de_DeleteBucketMetricsConfigurationCommand)(n,t)}};Vs.DeleteBucketMetricsConfigurationCommand=VE});var YE=m(Xs=>{"use strict";Object.defineProperty(Xs,"__esModule",{value:!0});Xs.DeleteBucketOwnershipControlsCommand=Xs.$Command=void 0;var pye=x(),fye=w(),Tj=E();Object.defineProperty(Xs,"$Command",{enumerable:!0,get:function(){return Tj.Command}});var yye=v(),Oj=q(),WE=class e extends Tj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,fye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,pye.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketOwnershipControlsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[yye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketOwnershipControls"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Oj.se_DeleteBucketOwnershipControlsCommand)(n,t)}deserialize(n,t){return(0,Oj.de_DeleteBucketOwnershipControlsCommand)(n,t)}};Xs.DeleteBucketOwnershipControlsCommand=WE});var JE=m(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.DeleteBucketPolicyCommand=Ws.$Command=void 0;var _ye=x(),gye=w(),Bj=E();Object.defineProperty(Ws,"$Command",{enumerable:!0,get:function(){return Bj.Command}});var hye=v(),qj=q(),QE=class e extends Bj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,gye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,_ye.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketPolicyCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[hye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketPolicy"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,qj.se_DeleteBucketPolicyCommand)(n,t)}deserialize(n,t){return(0,qj.de_DeleteBucketPolicyCommand)(n,t)}};Ws.DeleteBucketPolicyCommand=QE});var e0=m(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.DeleteBucketReplicationCommand=Ys.$Command=void 0;var Cye=x(),Sye=w(),Dj=E();Object.defineProperty(Ys,"$Command",{enumerable:!0,get:function(){return Dj.Command}});var Eye=v(),Mj=q(),ZE=class e extends Dj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Sye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Cye.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketReplicationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Eye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketReplication"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Mj.se_DeleteBucketReplicationCommand)(n,t)}deserialize(n,t){return(0,Mj.de_DeleteBucketReplicationCommand)(n,t)}};Ys.DeleteBucketReplicationCommand=ZE});var n0=m(Qs=>{"use strict";Object.defineProperty(Qs,"__esModule",{value:!0});Qs.DeleteBucketTaggingCommand=Qs.$Command=void 0;var bye=x(),Pye=w(),Lj=E();Object.defineProperty(Qs,"$Command",{enumerable:!0,get:function(){return Lj.Command}});var vye=v(),Fj=q(),t0=class e extends Lj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Pye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,bye.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[vye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketTagging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Fj.se_DeleteBucketTaggingCommand)(n,t)}deserialize(n,t){return(0,Fj.de_DeleteBucketTaggingCommand)(n,t)}};Qs.DeleteBucketTaggingCommand=t0});var o0=m(Js=>{"use strict";Object.defineProperty(Js,"__esModule",{value:!0});Js.DeleteBucketWebsiteCommand=Js.$Command=void 0;var xye=x(),wye=w(),Uj=E();Object.defineProperty(Js,"$Command",{enumerable:!0,get:function(){return Uj.Command}});var kye=v(),jj=q(),r0=class e extends Uj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,wye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,xye.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteBucketWebsiteCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[kye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteBucketWebsite"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,jj.se_DeleteBucketWebsiteCommand)(n,t)}deserialize(n,t){return(0,jj.de_DeleteBucketWebsiteCommand)(n,t)}};Js.DeleteBucketWebsiteCommand=r0});var i0=m(Zs=>{"use strict";Object.defineProperty(Zs,"__esModule",{value:!0});Zs.DeleteObjectCommand=Zs.$Command=void 0;var Aye=x(),Iye=w(),Gj=E();Object.defineProperty(Zs,"$Command",{enumerable:!0,get:function(){return Gj.Command}});var Rye=v(),zj=q(),s0=class e extends Gj.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Iye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Aye.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteObjectCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Rye.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteObject"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,zj.se_DeleteObjectCommand)(n,t)}deserialize(n,t){return(0,zj.de_DeleteObjectCommand)(n,t)}};Zs.DeleteObjectCommand=s0});var ei=m(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});Br.ChecksumLocation=Br.ChecksumAlgorithm=void 0;var Nye;(function(e){e.MD5="MD5",e.CRC32="CRC32",e.CRC32C="CRC32C",e.SHA1="SHA1",e.SHA256="SHA256"})(Nye=Br.ChecksumAlgorithm||(Br.ChecksumAlgorithm={}));var Oye;(function(e){e.HEADER="header",e.TRAILER="trailer"})(Oye=Br.ChecksumLocation||(Br.ChecksumLocation={}))});var a0=m(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.PRIORITY_ORDER_ALGORITHMS=ti.CLIENT_SUPPORTED_ALGORITHMS=void 0;var Mr=ei();ti.CLIENT_SUPPORTED_ALGORITHMS=[Mr.ChecksumAlgorithm.CRC32,Mr.ChecksumAlgorithm.CRC32C,Mr.ChecksumAlgorithm.SHA1,Mr.ChecksumAlgorithm.SHA256];ti.PRIORITY_ORDER_ALGORITHMS=[Mr.ChecksumAlgorithm.CRC32,Mr.ChecksumAlgorithm.CRC32C,Mr.ChecksumAlgorithm.SHA1,Mr.ChecksumAlgorithm.SHA256]});var $j=m(yy=>{"use strict";Object.defineProperty(yy,"__esModule",{value:!0});yy.getChecksumAlgorithmForRequest=void 0;var Tye=ei(),Hj=a0(),qye=(e,{requestChecksumRequired:n,requestAlgorithmMember:t})=>{if(!t||!e[t])return n?Tye.ChecksumAlgorithm.MD5:void 0;let r=e[t];if(!Hj.CLIENT_SUPPORTED_ALGORITHMS.includes(r))throw new Error(`The checksum algorithm "${r}" is not supported by the client. Select one of ${Hj.CLIENT_SUPPORTED_ALGORITHMS}.`);return r};yy.getChecksumAlgorithmForRequest=qye});var c0=m(_y=>{"use strict";Object.defineProperty(_y,"__esModule",{value:!0});_y.getChecksumLocationName=void 0;var Bye=ei(),Mye=e=>e===Bye.ChecksumAlgorithm.MD5?"content-md5":`x-amz-checksum-${e.toLowerCase()}`;_y.getChecksumLocationName=Mye});var Kj=m(gy=>{"use strict";Object.defineProperty(gy,"__esModule",{value:!0});gy.hasHeader=void 0;var Dye=(e,n)=>{let t=e.toLowerCase();for(let r of Object.keys(n))if(t===r.toLowerCase())return!0;return!1};gy.hasHeader=Dye});var Cy=m(hy=>{"use strict";Object.defineProperty(hy,"__esModule",{value:!0});hy.isStreaming=void 0;var Fye=xd(),Lye=e=>e!==void 0&&typeof e!="string"&&!ArrayBuffer.isView(e)&&!(0,Fye.isArrayBuffer)(e);hy.isStreaming=Lye});var m0={};Oa(m0,{__assign:()=>l0,__asyncDelegator:()=>Jye,__asyncGenerator:()=>Qye,__asyncValues:()=>Zye,__await:()=>nd,__awaiter:()=>$ye,__classPrivateFieldGet:()=>r_e,__classPrivateFieldSet:()=>o_e,__createBinding:()=>Vye,__decorate:()=>zye,__exportStar:()=>Xye,__extends:()=>jye,__generator:()=>Kye,__importDefault:()=>n_e,__importStar:()=>t_e,__makeTemplateObject:()=>e_e,__metadata:()=>Hye,__param:()=>Gye,__read:()=>Vj,__rest:()=>Uye,__spread:()=>Wye,__spreadArrays:()=>Yye,__values:()=>u0});function jye(e,n){d0(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}function Uye(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o=0;i--)(a=e[i])&&(s=(o<3?a(s):o>3?a(n,t,s):a(n,t))||s);return o>3&&s&&Object.defineProperty(n,t,s),s}function Gye(e,n){return function(t,r){n(t,r,e)}}function Hye(e,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,n)}function $ye(e,n,t,r){function o(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function i(c){try{l(r.next(c))}catch(y){a(y)}}function u(c){try{l(r.throw(c))}catch(y){a(y)}}function l(c){c.done?s(c.value):o(c.value).then(i,u)}l((r=r.apply(e,n||[])).next())})}function Kye(e,n){var t={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,o,s,a;return a={next:i(0),throw:i(1),return:i(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(l){return function(c){return u([l,c])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,o&&(s=l[0]&2?o.return:l[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,l[1])).done)return s;switch(o=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,o=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(s=t.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Vj(e,n){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var r=t.call(e),o,s=[],a;try{for(;(n===void 0||n-- >0)&&!(o=r.next()).done;)s.push(o.value)}catch(i){a={error:i}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(a)throw a.error}}return s}function Wye(){for(var e=[],n=0;n1||i(_,C)})})}function i(_,C){try{u(r[_](C))}catch(b){y(s[0][3],b)}}function u(_){_.value instanceof nd?Promise.resolve(_.value.v).then(l,c):y(s[0][2],_)}function l(_){i("next",_)}function c(_){i("throw",_)}function y(_,C){_(C),s.shift(),s.length&&i(s[0][0],s[0][1])}}function Jye(e){var n,t;return n={},r("next"),r("throw",function(o){throw o}),r("return"),n[Symbol.iterator]=function(){return this},n;function r(o,s){n[o]=e[o]?function(a){return(t=!t)?{value:nd(e[o](a)),done:o==="return"}:s?s(a):a}:s}}function Zye(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof u0=="function"?u0(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(s){t[s]=e[s]&&function(a){return new Promise(function(i,u){a=e[s](a),o(i,u,a.done,a.value)})}}function o(s,a,i,u){Promise.resolve(u).then(function(l){s({value:l,done:i})},a)}}function e_e(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}function t_e(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var t in e)Object.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}function n_e(e){return e&&e.__esModule?e:{default:e}}function r_e(e,n){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return n.get(e)}function o_e(e,n,t){if(!n.has(e))throw new TypeError("attempted to set private field on non-instance");return n.set(e,t),t}var d0,l0,p0=Ge(()=>{d0=function(e,n){return d0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o])},d0(e,n)};l0=function(){return l0=Object.assign||function(n){for(var t,r=1,o=arguments.length;r{"use strict";Object.defineProperty(Sy,"__esModule",{value:!0});Sy.AwsCrc32c=void 0;var Xj=(p0(),j(m0)),f0=Ja(),Wj=y0(),s_e=function(){function e(){this.crc32c=new Wj.Crc32c}return e.prototype.update=function(n){(0,f0.isEmptyData)(n)||this.crc32c.update((0,f0.convertToBuffer)(n))},e.prototype.digest=function(){return Xj.__awaiter(this,void 0,void 0,function(){return Xj.__generator(this,function(n){return[2,(0,f0.numToUint8)(this.crc32c.digest())]})})},e.prototype.reset=function(){this.crc32c=new Wj.Crc32c},e}();Sy.AwsCrc32c=s_e});var y0=m(Dr=>{"use strict";Object.defineProperty(Dr,"__esModule",{value:!0});Dr.AwsCrc32c=Dr.Crc32c=Dr.crc32c=void 0;var i_e=(p0(),j(m0)),a_e=Ja();function c_e(e){return new Qj().update(e).digest()}Dr.crc32c=c_e;var Qj=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(n){var t,r;try{for(var o=i_e.__values(n),s=o.next();!s.done;s=o.next()){var a=s.value;this.checksum=this.checksum>>>8^l_e[(this.checksum^a)&255]}}catch(i){t={error:i}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(this.checksum^4294967295)>>>0},e}();Dr.Crc32c=Qj;var d_e=[0,4067132163,3778769143,324072436,3348797215,904991772,648144872,3570033899,2329499855,2024987596,1809983544,2575936315,1296289744,3207089363,2893594407,1578318884,274646895,3795141740,4049975192,51262619,3619967088,632279923,922689671,3298075524,2592579488,1760304291,2075979607,2312596564,1562183871,2943781820,3156637768,1313733451,549293790,3537243613,3246849577,871202090,3878099393,357341890,102525238,4101499445,2858735121,1477399826,1264559846,3107202533,1845379342,2677391885,2361733625,2125378298,820201905,3263744690,3520608582,598981189,4151959214,85089709,373468761,3827903834,3124367742,1213305469,1526817161,2842354314,2107672161,2412447074,2627466902,1861252501,1098587580,3004210879,2688576843,1378610760,2262928035,1955203488,1742404180,2511436119,3416409459,969524848,714683780,3639785095,205050476,4266873199,3976438427,526918040,1361435347,2739821008,2954799652,1114974503,2529119692,1691668175,2005155131,2247081528,3690758684,697762079,986182379,3366744552,476452099,3993867776,4250756596,255256311,1640403810,2477592673,2164122517,1922457750,2791048317,1412925310,1197962378,3037525897,3944729517,427051182,170179418,4165941337,746937522,3740196785,3451792453,1070968646,1905808397,2213795598,2426610938,1657317369,3053634322,1147748369,1463399397,2773627110,4215344322,153784257,444234805,3893493558,1021025245,3467647198,3722505002,797665321,2197175160,1889384571,1674398607,2443626636,1164749927,3070701412,2757221520,1446797203,137323447,4198817972,3910406976,461344835,3484808360,1037989803,781091935,3705997148,2460548119,1623424788,1939049696,2180517859,1429367560,2807687179,3020495871,1180866812,410100952,3927582683,4182430767,186734380,3756733383,763408580,1053836080,3434856499,2722870694,1344288421,1131464017,2971354706,1708204729,2545590714,2229949006,1988219213,680717673,3673779818,3383336350,1002577565,4010310262,493091189,238226049,4233660802,2987750089,1082061258,1395524158,2705686845,1972364758,2279892693,2494862625,1725896226,952904198,3399985413,3656866545,731699698,4283874585,222117402,510512622,3959836397,3280807620,837199303,582374963,3504198960,68661723,4135334616,3844915500,390545967,1230274059,3141532936,2825850620,1510247935,2395924756,2091215383,1878366691,2644384480,3553878443,565732008,854102364,3229815391,340358836,3861050807,4117890627,119113024,1493875044,2875275879,3090270611,1247431312,2660249211,1828433272,2141937292,2378227087,3811616794,291187481,34330861,4032846830,615137029,3603020806,3314634738,939183345,1776939221,2609017814,2295496738,2058945313,2926798794,1545135305,1330124605,3173225534,4084100981,17165430,307568514,3762199681,888469610,3332340585,3587147933,665062302,2042050490,2346497209,2559330125,1793573966,3190661285,1279665062,1595330642,2910671697],l_e=(0,a_e.uint32ArrayFrom)(d_e),u_e=Yj();Object.defineProperty(Dr,"AwsCrc32c",{enumerable:!0,get:function(){return u_e.AwsCrc32c}})});var _0=m(Ey=>{"use strict";Object.defineProperty(Ey,"__esModule",{value:!0});Ey.selectChecksumAlgorithmFunction=void 0;var m_e=Za(),p_e=y0(),rd=ei(),f_e=(e,n)=>({[rd.ChecksumAlgorithm.MD5]:n.md5,[rd.ChecksumAlgorithm.CRC32]:m_e.AwsCrc32,[rd.ChecksumAlgorithm.CRC32C]:p_e.AwsCrc32c,[rd.ChecksumAlgorithm.SHA1]:n.sha1,[rd.ChecksumAlgorithm.SHA256]:n.sha256})[e];Ey.selectChecksumAlgorithmFunction=f_e});var g0=m(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0});by.stringHasher=void 0;var y_e=Pt(),__e=(e,n)=>{let t=new e;return t.update((0,y_e.toUint8Array)(n||"")),t.digest()};by.stringHasher=__e});var h0=m(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0});Py.flexibleChecksumsMiddleware=void 0;var g_e=we(),h_e=$j(),C_e=c0(),S_e=Kj(),E_e=Cy(),b_e=_0(),P_e=g0(),v_e=(e,n)=>t=>async r=>{if(!g_e.HttpRequest.isInstance(r.request))return t(r);let{request:o}=r,{body:s,headers:a}=o,{base64Encoder:i,streamHasher:u}=e,{input:l,requestChecksumRequired:c,requestAlgorithmMember:y}=n,_=(0,h_e.getChecksumAlgorithmForRequest)(l,{requestChecksumRequired:c,requestAlgorithmMember:y}),C=s,b=a;if(_){let R=(0,C_e.getChecksumLocationName)(_),K=(0,b_e.selectChecksumAlgorithmFunction)(_,e);if((0,E_e.isStreaming)(s)){let{getAwsChunkedEncodingStream:J,bodyLengthChecker:De}=e;C=J(s,{base64Encoder:i,bodyLengthChecker:De,checksumLocationName:R,checksumAlgorithmFn:K,streamHasher:u}),b={...a,"content-encoding":a["content-encoding"]?`${a["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":a["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":R},delete b["content-length"]}else if(!(0,S_e.hasHeader)(R,a)){let J=await(0,P_e.stringHasher)(K,s);b={...a,[R]:i(J)}}}return await t({...r,request:{...o,headers:b,body:C}})};Py.flexibleChecksumsMiddleware=v_e});var Jj=m(vy=>{"use strict";Object.defineProperty(vy,"__esModule",{value:!0});vy.createReadStreamOnBuffer=void 0;var x_e=require("stream");function w_e(e){let n=new x_e.Transform;return n.push(e),n.push(null),n}vy.createReadStreamOnBuffer=w_e});var Zj=m(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0});xy.getChecksum=void 0;var k_e=Cy(),A_e=g0(),I_e=async(e,{streamHasher:n,checksumAlgorithmFn:t,base64Encoder:r})=>{let o=(0,k_e.isStreaming)(e)?n(t,e):(0,A_e.stringHasher)(t,e);return r(await o)};xy.getChecksum=I_e});var tU=m(wy=>{"use strict";Object.defineProperty(wy,"__esModule",{value:!0});wy.getChecksumAlgorithmListForResponse=void 0;var eU=a0(),R_e=(e=[])=>{let n=[];for(let t of eU.PRIORITY_ORDER_ALGORITHMS)!e.includes(t)||!eU.CLIENT_SUPPORTED_ALGORITHMS.includes(t)||n.push(t);return n};wy.getChecksumAlgorithmListForResponse=R_e});var nU=m(ky=>{"use strict";Object.defineProperty(ky,"__esModule",{value:!0});ky.validateChecksumFromResponse=void 0;var N_e=Zj(),O_e=tU(),T_e=c0(),q_e=_0(),B_e=async(e,{config:n,responseAlgorithms:t})=>{let r=(0,O_e.getChecksumAlgorithmListForResponse)(t),{body:o,headers:s}=e;for(let a of r){let i=(0,T_e.getChecksumLocationName)(a),u=s[i];if(u){let l=(0,q_e.selectChecksumAlgorithmFunction)(a,n),{streamHasher:c,base64Encoder:y}=n,_=await(0,N_e.getChecksum)(o,{streamHasher:c,checksumAlgorithmFn:l,base64Encoder:y});if(_===u)break;throw new Error(`Checksum mismatch: expected "${_}" but received "${u}" in response header "${i}".`)}}};ky.validateChecksumFromResponse=B_e});var oU=m(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.flexibleChecksumsResponseMiddleware=ni.flexibleChecksumsResponseMiddlewareOptions=void 0;var M_e=we(),D_e=Cy(),rU=Jj(),F_e=nU();ni.flexibleChecksumsResponseMiddlewareOptions={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0};var L_e=(e,n)=>t=>async r=>{if(!M_e.HttpRequest.isInstance(r.request))return t(r);let o=r.input,s=await t(r),a=s.response,i,{requestValidationModeMember:u,responseAlgorithms:l}=n;if(u&&o[u]==="ENABLED"){let c=(0,D_e.isStreaming)(a.body);c&&(i=await e.streamCollector(a.body),a.body=(0,rU.createReadStreamOnBuffer)(i)),await(0,F_e.validateChecksumFromResponse)(s.response,{config:e,responseAlgorithms:l}),c&&i&&(a.body=(0,rU.createReadStreamOnBuffer)(i))}return s};ni.flexibleChecksumsResponseMiddleware=L_e});var iU=m(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.getFlexibleChecksumsPlugin=po.flexibleChecksumsMiddlewareOptions=void 0;var j_e=h0(),sU=oU();po.flexibleChecksumsMiddlewareOptions={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0};var U_e=(e,n)=>({applyToStack:t=>{t.add((0,j_e.flexibleChecksumsMiddleware)(e,n),po.flexibleChecksumsMiddlewareOptions),t.addRelativeTo((0,sU.flexibleChecksumsResponseMiddleware)(e,n),sU.flexibleChecksumsResponseMiddlewareOptions)}});po.getFlexibleChecksumsPlugin=U_e});var xe=m(od=>{"use strict";Object.defineProperty(od,"__esModule",{value:!0});var C0=(z(),j(U));C0.__exportStar(ei(),od);C0.__exportStar(h0(),od);C0.__exportStar(iU(),od)});var E0=m(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.DeleteObjectsCommand=ri.$Command=void 0;var z_e=xe(),G_e=x(),H_e=w(),cU=E();Object.defineProperty(ri,"$Command",{enumerable:!0,get:function(){return cU.Command}});var $_e=v(),aU=q(),S0=class e extends cU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,H_e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,G_e.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,z_e.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteObjectsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[$_e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteObjects"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,aU.se_DeleteObjectsCommand)(n,t)}deserialize(n,t){return(0,aU.de_DeleteObjectsCommand)(n,t)}};ri.DeleteObjectsCommand=S0});var P0=m(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.DeleteObjectTaggingCommand=oi.$Command=void 0;var K_e=x(),V_e=w(),lU=E();Object.defineProperty(oi,"$Command",{enumerable:!0,get:function(){return lU.Command}});var X_e=v(),dU=q(),b0=class e extends lU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,V_e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,K_e.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeleteObjectTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[X_e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeleteObjectTagging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,dU.se_DeleteObjectTaggingCommand)(n,t)}deserialize(n,t){return(0,dU.de_DeleteObjectTaggingCommand)(n,t)}};oi.DeleteObjectTaggingCommand=b0});var x0=m(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.DeletePublicAccessBlockCommand=si.$Command=void 0;var W_e=x(),Y_e=w(),mU=E();Object.defineProperty(si,"$Command",{enumerable:!0,get:function(){return mU.Command}});var Q_e=v(),uU=q(),v0=class e extends mU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Y_e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,W_e.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"DeletePublicAccessBlockCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Q_e.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"DeletePublicAccessBlock"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,uU.se_DeletePublicAccessBlockCommand)(n,t)}deserialize(n,t){return(0,uU.de_DeletePublicAccessBlockCommand)(n,t)}};si.DeletePublicAccessBlockCommand=v0});var k0=m(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.GetBucketAccelerateConfigurationCommand=ii.$Command=void 0;var J_e=x(),Z_e=w(),fU=E();Object.defineProperty(ii,"$Command",{enumerable:!0,get:function(){return fU.Command}});var ege=v(),pU=q(),w0=class e extends fU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Z_e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,J_e.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketAccelerateConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[ege.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketAccelerateConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,pU.se_GetBucketAccelerateConfigurationCommand)(n,t)}deserialize(n,t){return(0,pU.de_GetBucketAccelerateConfigurationCommand)(n,t)}};ii.GetBucketAccelerateConfigurationCommand=w0});var I0=m(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.GetBucketAclCommand=ai.$Command=void 0;var tge=x(),nge=w(),_U=E();Object.defineProperty(ai,"$Command",{enumerable:!0,get:function(){return _U.Command}});var rge=v(),yU=q(),A0=class e extends _U.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,nge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,tge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketAclCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[rge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketAcl"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,yU.se_GetBucketAclCommand)(n,t)}deserialize(n,t){return(0,yU.de_GetBucketAclCommand)(n,t)}};ai.GetBucketAclCommand=A0});var N0=m(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.GetBucketAnalyticsConfigurationCommand=ci.$Command=void 0;var oge=x(),sge=w(),hU=E();Object.defineProperty(ci,"$Command",{enumerable:!0,get:function(){return hU.Command}});var ige=v(),gU=q(),R0=class e extends hU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,sge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,oge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketAnalyticsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[ige.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketAnalyticsConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,gU.se_GetBucketAnalyticsConfigurationCommand)(n,t)}deserialize(n,t){return(0,gU.de_GetBucketAnalyticsConfigurationCommand)(n,t)}};ci.GetBucketAnalyticsConfigurationCommand=R0});var T0=m(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.GetBucketCorsCommand=di.$Command=void 0;var age=x(),cge=w(),SU=E();Object.defineProperty(di,"$Command",{enumerable:!0,get:function(){return SU.Command}});var dge=v(),CU=q(),O0=class e extends SU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,cge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,age.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketCorsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[dge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketCors"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,CU.se_GetBucketCorsCommand)(n,t)}deserialize(n,t){return(0,CU.de_GetBucketCorsCommand)(n,t)}};di.GetBucketCorsCommand=O0});var B0=m(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.GetBucketEncryptionCommand=li.$Command=void 0;var lge=x(),uge=w(),bU=E();Object.defineProperty(li,"$Command",{enumerable:!0,get:function(){return bU.Command}});var mge=v(),pge=et(),EU=q(),q0=class e extends bU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,uge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,lge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketEncryptionCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:pge.GetBucketEncryptionOutputFilterSensitiveLog,[mge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketEncryption"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,EU.se_GetBucketEncryptionCommand)(n,t)}deserialize(n,t){return(0,EU.de_GetBucketEncryptionCommand)(n,t)}};li.GetBucketEncryptionCommand=q0});var D0=m(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.GetBucketIntelligentTieringConfigurationCommand=ui.$Command=void 0;var fge=x(),yge=w(),vU=E();Object.defineProperty(ui,"$Command",{enumerable:!0,get:function(){return vU.Command}});var _ge=v(),PU=q(),M0=class e extends vU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,yge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,fge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketIntelligentTieringConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[_ge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketIntelligentTieringConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,PU.se_GetBucketIntelligentTieringConfigurationCommand)(n,t)}deserialize(n,t){return(0,PU.de_GetBucketIntelligentTieringConfigurationCommand)(n,t)}};ui.GetBucketIntelligentTieringConfigurationCommand=M0});var L0=m(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.GetBucketInventoryConfigurationCommand=mi.$Command=void 0;var gge=x(),hge=w(),wU=E();Object.defineProperty(mi,"$Command",{enumerable:!0,get:function(){return wU.Command}});var Cge=v(),Sge=et(),xU=q(),F0=class e extends wU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,hge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,gge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketInventoryConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:Sge.GetBucketInventoryConfigurationOutputFilterSensitiveLog,[Cge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketInventoryConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,xU.se_GetBucketInventoryConfigurationCommand)(n,t)}deserialize(n,t){return(0,xU.de_GetBucketInventoryConfigurationCommand)(n,t)}};mi.GetBucketInventoryConfigurationCommand=F0});var U0=m(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.GetBucketLifecycleConfigurationCommand=pi.$Command=void 0;var Ege=x(),bge=w(),AU=E();Object.defineProperty(pi,"$Command",{enumerable:!0,get:function(){return AU.Command}});var Pge=v(),kU=q(),j0=class e extends AU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,bge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Ege.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketLifecycleConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Pge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketLifecycleConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,kU.se_GetBucketLifecycleConfigurationCommand)(n,t)}deserialize(n,t){return(0,kU.de_GetBucketLifecycleConfigurationCommand)(n,t)}};pi.GetBucketLifecycleConfigurationCommand=j0});var G0=m(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.GetBucketLocationCommand=fi.$Command=void 0;var vge=x(),xge=w(),RU=E();Object.defineProperty(fi,"$Command",{enumerable:!0,get:function(){return RU.Command}});var wge=v(),IU=q(),z0=class e extends RU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,xge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,vge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketLocationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[wge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketLocation"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,IU.se_GetBucketLocationCommand)(n,t)}deserialize(n,t){return(0,IU.de_GetBucketLocationCommand)(n,t)}};fi.GetBucketLocationCommand=z0});var $0=m(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.GetBucketLoggingCommand=yi.$Command=void 0;var kge=x(),Age=w(),OU=E();Object.defineProperty(yi,"$Command",{enumerable:!0,get:function(){return OU.Command}});var Ige=v(),NU=q(),H0=class e extends OU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Age.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,kge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketLoggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Ige.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketLogging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,NU.se_GetBucketLoggingCommand)(n,t)}deserialize(n,t){return(0,NU.de_GetBucketLoggingCommand)(n,t)}};yi.GetBucketLoggingCommand=H0});var V0=m(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.GetBucketMetricsConfigurationCommand=_i.$Command=void 0;var Rge=x(),Nge=w(),qU=E();Object.defineProperty(_i,"$Command",{enumerable:!0,get:function(){return qU.Command}});var Oge=v(),TU=q(),K0=class e extends qU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Nge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Rge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketMetricsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Oge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketMetricsConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,TU.se_GetBucketMetricsConfigurationCommand)(n,t)}deserialize(n,t){return(0,TU.de_GetBucketMetricsConfigurationCommand)(n,t)}};_i.GetBucketMetricsConfigurationCommand=K0});var W0=m(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.GetBucketNotificationConfigurationCommand=gi.$Command=void 0;var Tge=x(),qge=w(),MU=E();Object.defineProperty(gi,"$Command",{enumerable:!0,get:function(){return MU.Command}});var Bge=v(),BU=q(),X0=class e extends MU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,qge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Tge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketNotificationConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Bge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketNotificationConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,BU.se_GetBucketNotificationConfigurationCommand)(n,t)}deserialize(n,t){return(0,BU.de_GetBucketNotificationConfigurationCommand)(n,t)}};gi.GetBucketNotificationConfigurationCommand=X0});var Q0=m(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.GetBucketOwnershipControlsCommand=hi.$Command=void 0;var Mge=x(),Dge=w(),FU=E();Object.defineProperty(hi,"$Command",{enumerable:!0,get:function(){return FU.Command}});var Fge=v(),DU=q(),Y0=class e extends FU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Dge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Mge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketOwnershipControlsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Fge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketOwnershipControls"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,DU.se_GetBucketOwnershipControlsCommand)(n,t)}deserialize(n,t){return(0,DU.de_GetBucketOwnershipControlsCommand)(n,t)}};hi.GetBucketOwnershipControlsCommand=Y0});var Z0=m(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.GetBucketPolicyCommand=Ci.$Command=void 0;var Lge=x(),jge=w(),jU=E();Object.defineProperty(Ci,"$Command",{enumerable:!0,get:function(){return jU.Command}});var Uge=v(),LU=q(),J0=class e extends jU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,jge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Lge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketPolicyCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Uge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketPolicy"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,LU.se_GetBucketPolicyCommand)(n,t)}deserialize(n,t){return(0,LU.de_GetBucketPolicyCommand)(n,t)}};Ci.GetBucketPolicyCommand=J0});var tb=m(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.GetBucketPolicyStatusCommand=Si.$Command=void 0;var zge=x(),Gge=w(),zU=E();Object.defineProperty(Si,"$Command",{enumerable:!0,get:function(){return zU.Command}});var Hge=v(),UU=q(),eb=class e extends zU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Gge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,zge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketPolicyStatusCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Hge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketPolicyStatus"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,UU.se_GetBucketPolicyStatusCommand)(n,t)}deserialize(n,t){return(0,UU.de_GetBucketPolicyStatusCommand)(n,t)}};Si.GetBucketPolicyStatusCommand=eb});var rb=m(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.GetBucketReplicationCommand=Ei.$Command=void 0;var $ge=x(),Kge=w(),HU=E();Object.defineProperty(Ei,"$Command",{enumerable:!0,get:function(){return HU.Command}});var Vge=v(),GU=q(),nb=class e extends HU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Kge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,$ge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketReplicationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Vge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketReplication"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,GU.se_GetBucketReplicationCommand)(n,t)}deserialize(n,t){return(0,GU.de_GetBucketReplicationCommand)(n,t)}};Ei.GetBucketReplicationCommand=nb});var sb=m(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.GetBucketRequestPaymentCommand=bi.$Command=void 0;var Xge=x(),Wge=w(),KU=E();Object.defineProperty(bi,"$Command",{enumerable:!0,get:function(){return KU.Command}});var Yge=v(),$U=q(),ob=class e extends KU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Wge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Xge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketRequestPaymentCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Yge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketRequestPayment"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,$U.se_GetBucketRequestPaymentCommand)(n,t)}deserialize(n,t){return(0,$U.de_GetBucketRequestPaymentCommand)(n,t)}};bi.GetBucketRequestPaymentCommand=ob});var ab=m(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.GetBucketTaggingCommand=Pi.$Command=void 0;var Qge=x(),Jge=w(),XU=E();Object.defineProperty(Pi,"$Command",{enumerable:!0,get:function(){return XU.Command}});var Zge=v(),VU=q(),ib=class e extends XU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Jge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Qge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Zge.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketTagging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,VU.se_GetBucketTaggingCommand)(n,t)}deserialize(n,t){return(0,VU.de_GetBucketTaggingCommand)(n,t)}};Pi.GetBucketTaggingCommand=ib});var db=m(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.GetBucketVersioningCommand=vi.$Command=void 0;var ehe=x(),the=w(),YU=E();Object.defineProperty(vi,"$Command",{enumerable:!0,get:function(){return YU.Command}});var nhe=v(),WU=q(),cb=class e extends YU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,the.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ehe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketVersioningCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[nhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketVersioning"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,WU.se_GetBucketVersioningCommand)(n,t)}deserialize(n,t){return(0,WU.de_GetBucketVersioningCommand)(n,t)}};vi.GetBucketVersioningCommand=cb});var ub=m(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.GetBucketWebsiteCommand=xi.$Command=void 0;var rhe=x(),ohe=w(),JU=E();Object.defineProperty(xi,"$Command",{enumerable:!0,get:function(){return JU.Command}});var she=v(),QU=q(),lb=class e extends JU.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,ohe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,rhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketWebsiteCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[she.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetBucketWebsite"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,QU.se_GetBucketWebsiteCommand)(n,t)}deserialize(n,t){return(0,QU.de_GetBucketWebsiteCommand)(n,t)}};xi.GetBucketWebsiteCommand=lb});var pb=m(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.GetObjectAclCommand=wi.$Command=void 0;var ihe=x(),ahe=w(),ez=E();Object.defineProperty(wi,"$Command",{enumerable:!0,get:function(){return ez.Command}});var che=v(),ZU=q(),mb=class e extends ez.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,ahe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ihe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectAclCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[che.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObjectAcl"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,ZU.se_GetObjectAclCommand)(n,t)}deserialize(n,t){return(0,ZU.de_GetObjectAclCommand)(n,t)}};wi.GetObjectAclCommand=mb});var yb=m(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.GetObjectAttributesCommand=ki.$Command=void 0;var dhe=qt(),lhe=x(),uhe=w(),nz=E();Object.defineProperty(ki,"$Command",{enumerable:!0,get:function(){return nz.Command}});var mhe=v(),phe=et(),tz=q(),fb=class e extends nz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,uhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,lhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,dhe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectAttributesCommand",inputFilterSensitiveLog:phe.GetObjectAttributesRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[mhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObjectAttributes"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,tz.se_GetObjectAttributesCommand)(n,t)}deserialize(n,t){return(0,tz.de_GetObjectAttributesCommand)(n,t)}};ki.GetObjectAttributesCommand=fb});var gb=m(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.GetObjectCommand=Ai.$Command=void 0;var fhe=xe(),yhe=qt(),_he=x(),ghe=w(),sz=E();Object.defineProperty(Ai,"$Command",{enumerable:!0,get:function(){return sz.Command}});var hhe=v(),rz=et(),oz=q(),_b=class e extends sz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,ghe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,_he.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,yhe.getSsecPlugin)(t)),this.middlewareStack.use((0,fhe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestChecksumRequired:!1,requestValidationModeMember:"ChecksumMode",responseAlgorithms:["CRC32","CRC32C","SHA256","SHA1"]}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectCommand",inputFilterSensitiveLog:rz.GetObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:rz.GetObjectOutputFilterSensitiveLog,[hhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObject"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,oz.se_GetObjectCommand)(n,t)}deserialize(n,t){return(0,oz.de_GetObjectCommand)(n,t)}};Ai.GetObjectCommand=_b});var Cb=m(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.GetObjectLegalHoldCommand=Ii.$Command=void 0;var Che=x(),She=w(),az=E();Object.defineProperty(Ii,"$Command",{enumerable:!0,get:function(){return az.Command}});var Ehe=v(),iz=q(),hb=class e extends az.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,She.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Che.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectLegalHoldCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Ehe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObjectLegalHold"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,iz.se_GetObjectLegalHoldCommand)(n,t)}deserialize(n,t){return(0,iz.de_GetObjectLegalHoldCommand)(n,t)}};Ii.GetObjectLegalHoldCommand=hb});var Eb=m(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.GetObjectLockConfigurationCommand=Ri.$Command=void 0;var bhe=x(),Phe=w(),dz=E();Object.defineProperty(Ri,"$Command",{enumerable:!0,get:function(){return dz.Command}});var vhe=v(),cz=q(),Sb=class e extends dz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Phe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,bhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectLockConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[vhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObjectLockConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,cz.se_GetObjectLockConfigurationCommand)(n,t)}deserialize(n,t){return(0,cz.de_GetObjectLockConfigurationCommand)(n,t)}};Ri.GetObjectLockConfigurationCommand=Sb});var Pb=m(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.GetObjectRetentionCommand=Ni.$Command=void 0;var xhe=x(),whe=w(),uz=E();Object.defineProperty(Ni,"$Command",{enumerable:!0,get:function(){return uz.Command}});var khe=v(),lz=q(),bb=class e extends uz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,whe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,xhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectRetentionCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[khe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObjectRetention"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,lz.se_GetObjectRetentionCommand)(n,t)}deserialize(n,t){return(0,lz.de_GetObjectRetentionCommand)(n,t)}};Ni.GetObjectRetentionCommand=bb});var xb=m(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.GetObjectTaggingCommand=Oi.$Command=void 0;var Ahe=x(),Ihe=w(),pz=E();Object.defineProperty(Oi,"$Command",{enumerable:!0,get:function(){return pz.Command}});var Rhe=v(),mz=q(),vb=class e extends pz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Ihe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Ahe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Rhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObjectTagging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,mz.se_GetObjectTaggingCommand)(n,t)}deserialize(n,t){return(0,mz.de_GetObjectTaggingCommand)(n,t)}};Oi.GetObjectTaggingCommand=vb});var kb=m(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.GetObjectTorrentCommand=Ti.$Command=void 0;var Nhe=x(),Ohe=w(),yz=E();Object.defineProperty(Ti,"$Command",{enumerable:!0,get:function(){return yz.Command}});var The=v(),qhe=et(),fz=q(),wb=class e extends yz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Ohe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Nhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectTorrentCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:qhe.GetObjectTorrentOutputFilterSensitiveLog,[The.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetObjectTorrent"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,fz.se_GetObjectTorrentCommand)(n,t)}deserialize(n,t){return(0,fz.de_GetObjectTorrentCommand)(n,t)}};Ti.GetObjectTorrentCommand=wb});var Ib=m(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.GetPublicAccessBlockCommand=qi.$Command=void 0;var Bhe=x(),Mhe=w(),gz=E();Object.defineProperty(qi,"$Command",{enumerable:!0,get:function(){return gz.Command}});var Dhe=v(),_z=q(),Ab=class e extends gz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Mhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Bhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetPublicAccessBlockCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Dhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"GetPublicAccessBlock"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,_z.se_GetPublicAccessBlockCommand)(n,t)}deserialize(n,t){return(0,_z.de_GetPublicAccessBlockCommand)(n,t)}};qi.GetPublicAccessBlockCommand=Ab});var sd=m(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.HeadBucketCommand=Bi.$Command=void 0;var Fhe=x(),Lhe=w(),Cz=E();Object.defineProperty(Bi,"$Command",{enumerable:!0,get:function(){return Cz.Command}});var jhe=v(),hz=q(),Rb=class e extends Cz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Lhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Fhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"HeadBucketCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[jhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"HeadBucket"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,hz.se_HeadBucketCommand)(n,t)}deserialize(n,t){return(0,hz.de_HeadBucketCommand)(n,t)}};Bi.HeadBucketCommand=Rb});var id=m(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.HeadObjectCommand=Mi.$Command=void 0;var Uhe=qt(),zhe=x(),Ghe=w(),bz=E();Object.defineProperty(Mi,"$Command",{enumerable:!0,get:function(){return bz.Command}});var Hhe=v(),Sz=et(),Ez=q(),Nb=class e extends bz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Ghe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,zhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Uhe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"HeadObjectCommand",inputFilterSensitiveLog:Sz.HeadObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:Sz.HeadObjectOutputFilterSensitiveLog,[Hhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"HeadObject"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Ez.se_HeadObjectCommand)(n,t)}deserialize(n,t){return(0,Ez.de_HeadObjectCommand)(n,t)}};Mi.HeadObjectCommand=Nb});var Tb=m(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.ListBucketAnalyticsConfigurationsCommand=Di.$Command=void 0;var $he=x(),Khe=w(),vz=E();Object.defineProperty(Di,"$Command",{enumerable:!0,get:function(){return vz.Command}});var Vhe=v(),Pz=q(),Ob=class e extends vz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Khe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,$he.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListBucketAnalyticsConfigurationsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Vhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListBucketAnalyticsConfigurations"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Pz.se_ListBucketAnalyticsConfigurationsCommand)(n,t)}deserialize(n,t){return(0,Pz.de_ListBucketAnalyticsConfigurationsCommand)(n,t)}};Di.ListBucketAnalyticsConfigurationsCommand=Ob});var Bb=m(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Fi.ListBucketIntelligentTieringConfigurationsCommand=Fi.$Command=void 0;var Xhe=x(),Whe=w(),wz=E();Object.defineProperty(Fi,"$Command",{enumerable:!0,get:function(){return wz.Command}});var Yhe=v(),xz=q(),qb=class e extends wz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Whe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Xhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListBucketIntelligentTieringConfigurationsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Yhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListBucketIntelligentTieringConfigurations"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,xz.se_ListBucketIntelligentTieringConfigurationsCommand)(n,t)}deserialize(n,t){return(0,xz.de_ListBucketIntelligentTieringConfigurationsCommand)(n,t)}};Fi.ListBucketIntelligentTieringConfigurationsCommand=qb});var Db=m(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.ListBucketInventoryConfigurationsCommand=Li.$Command=void 0;var Qhe=x(),Jhe=w(),Az=E();Object.defineProperty(Li,"$Command",{enumerable:!0,get:function(){return Az.Command}});var Zhe=v(),eCe=et(),kz=q(),Mb=class e extends Az.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,Jhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Qhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListBucketInventoryConfigurationsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:eCe.ListBucketInventoryConfigurationsOutputFilterSensitiveLog,[Zhe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListBucketInventoryConfigurations"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,kz.se_ListBucketInventoryConfigurationsCommand)(n,t)}deserialize(n,t){return(0,kz.de_ListBucketInventoryConfigurationsCommand)(n,t)}};Li.ListBucketInventoryConfigurationsCommand=Mb});var Lb=m(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});ji.ListBucketMetricsConfigurationsCommand=ji.$Command=void 0;var tCe=x(),nCe=w(),Rz=E();Object.defineProperty(ji,"$Command",{enumerable:!0,get:function(){return Rz.Command}});var rCe=v(),Iz=q(),Fb=class e extends Rz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,nCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,tCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListBucketMetricsConfigurationsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[rCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListBucketMetricsConfigurations"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Iz.se_ListBucketMetricsConfigurationsCommand)(n,t)}deserialize(n,t){return(0,Iz.de_ListBucketMetricsConfigurationsCommand)(n,t)}};ji.ListBucketMetricsConfigurationsCommand=Fb});var Ub=m(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.ListBucketsCommand=Ui.$Command=void 0;var oCe=x(),sCe=w(),Oz=E();Object.defineProperty(Ui,"$Command",{enumerable:!0,get:function(){return Oz.Command}});var iCe=v(),Nz=q(),jb=class e extends Oz.Command{static getEndpointParameterInstructions(){return{ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,sCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,oCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListBucketsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[iCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListBuckets"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Nz.se_ListBucketsCommand)(n,t)}deserialize(n,t){return(0,Nz.de_ListBucketsCommand)(n,t)}};Ui.ListBucketsCommand=jb});var Gb=m(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});zi.ListMultipartUploadsCommand=zi.$Command=void 0;var aCe=x(),cCe=w(),qz=E();Object.defineProperty(zi,"$Command",{enumerable:!0,get:function(){return qz.Command}});var dCe=v(),Tz=q(),zb=class e extends qz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,cCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,aCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListMultipartUploadsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[dCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListMultipartUploads"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Tz.se_ListMultipartUploadsCommand)(n,t)}deserialize(n,t){return(0,Tz.de_ListMultipartUploadsCommand)(n,t)}};zi.ListMultipartUploadsCommand=zb});var $b=m(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});Gi.ListObjectsCommand=Gi.$Command=void 0;var lCe=x(),uCe=w(),Mz=E();Object.defineProperty(Gi,"$Command",{enumerable:!0,get:function(){return Mz.Command}});var mCe=v(),Bz=q(),Hb=class e extends Mz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,uCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,lCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListObjectsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[mCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListObjects"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Bz.se_ListObjectsCommand)(n,t)}deserialize(n,t){return(0,Bz.de_ListObjectsCommand)(n,t)}};Gi.ListObjectsCommand=Hb});var Ay=m(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.ListObjectsV2Command=Hi.$Command=void 0;var pCe=x(),fCe=w(),Fz=E();Object.defineProperty(Hi,"$Command",{enumerable:!0,get:function(){return Fz.Command}});var yCe=v(),Dz=q(),Kb=class e extends Fz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,fCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,pCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListObjectsV2Command",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[yCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListObjectsV2"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Dz.se_ListObjectsV2Command)(n,t)}deserialize(n,t){return(0,Dz.de_ListObjectsV2Command)(n,t)}};Hi.ListObjectsV2Command=Kb});var Xb=m($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});$i.ListObjectVersionsCommand=$i.$Command=void 0;var _Ce=x(),gCe=w(),jz=E();Object.defineProperty($i,"$Command",{enumerable:!0,get:function(){return jz.Command}});var hCe=v(),Lz=q(),Vb=class e extends jz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,gCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,_Ce.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListObjectVersionsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[hCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListObjectVersions"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Lz.se_ListObjectVersionsCommand)(n,t)}deserialize(n,t){return(0,Lz.de_ListObjectVersionsCommand)(n,t)}};$i.ListObjectVersionsCommand=Vb});var Iy=m(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.ListPartsCommand=Ki.$Command=void 0;var CCe=qt(),SCe=x(),ECe=w(),zz=E();Object.defineProperty(Ki,"$Command",{enumerable:!0,get:function(){return zz.Command}});var bCe=v(),PCe=et(),Uz=q(),Wb=class e extends zz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,ECe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,SCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,CCe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListPartsCommand",inputFilterSensitiveLog:PCe.ListPartsRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[bCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"ListParts"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Uz.se_ListPartsCommand)(n,t)}deserialize(n,t){return(0,Uz.de_ListPartsCommand)(n,t)}};Ki.ListPartsCommand=Wb});var Qb=m(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});Vi.PutBucketAccelerateConfigurationCommand=Vi.$Command=void 0;var vCe=xe(),xCe=x(),wCe=w(),Hz=E();Object.defineProperty(Vi,"$Command",{enumerable:!0,get:function(){return Hz.Command}});var kCe=v(),Gz=q(),Yb=class e extends Hz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,wCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,xCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,vCe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketAccelerateConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[kCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketAccelerateConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Gz.se_PutBucketAccelerateConfigurationCommand)(n,t)}deserialize(n,t){return(0,Gz.de_PutBucketAccelerateConfigurationCommand)(n,t)}};Vi.PutBucketAccelerateConfigurationCommand=Yb});var Zb=m(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});Xi.PutBucketAclCommand=Xi.$Command=void 0;var ACe=xe(),ICe=x(),RCe=w(),Kz=E();Object.defineProperty(Xi,"$Command",{enumerable:!0,get:function(){return Kz.Command}});var NCe=v(),$z=q(),Jb=class e extends Kz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,RCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ICe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,ACe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketAclCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[NCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketAcl"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,$z.se_PutBucketAclCommand)(n,t)}deserialize(n,t){return(0,$z.de_PutBucketAclCommand)(n,t)}};Xi.PutBucketAclCommand=Jb});var tP=m(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});Wi.PutBucketAnalyticsConfigurationCommand=Wi.$Command=void 0;var OCe=x(),TCe=w(),Xz=E();Object.defineProperty(Wi,"$Command",{enumerable:!0,get:function(){return Xz.Command}});var qCe=v(),Vz=q(),eP=class e extends Xz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,TCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,OCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketAnalyticsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[qCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketAnalyticsConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Vz.se_PutBucketAnalyticsConfigurationCommand)(n,t)}deserialize(n,t){return(0,Vz.de_PutBucketAnalyticsConfigurationCommand)(n,t)}};Wi.PutBucketAnalyticsConfigurationCommand=eP});var rP=m(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});Yi.PutBucketCorsCommand=Yi.$Command=void 0;var BCe=xe(),MCe=x(),DCe=w(),Yz=E();Object.defineProperty(Yi,"$Command",{enumerable:!0,get:function(){return Yz.Command}});var FCe=v(),Wz=q(),nP=class e extends Yz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,DCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,MCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,BCe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketCorsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[FCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketCors"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Wz.se_PutBucketCorsCommand)(n,t)}deserialize(n,t){return(0,Wz.de_PutBucketCorsCommand)(n,t)}};Yi.PutBucketCorsCommand=nP});var sP=m(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.PutBucketEncryptionCommand=Qi.$Command=void 0;var LCe=xe(),jCe=x(),UCe=w(),Jz=E();Object.defineProperty(Qi,"$Command",{enumerable:!0,get:function(){return Jz.Command}});var zCe=v(),GCe=et(),Qz=q(),oP=class e extends Jz.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,UCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,jCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,LCe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketEncryptionCommand",inputFilterSensitiveLog:GCe.PutBucketEncryptionRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[zCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketEncryption"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Qz.se_PutBucketEncryptionCommand)(n,t)}deserialize(n,t){return(0,Qz.de_PutBucketEncryptionCommand)(n,t)}};Qi.PutBucketEncryptionCommand=oP});var aP=m(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});Ji.PutBucketIntelligentTieringConfigurationCommand=Ji.$Command=void 0;var HCe=x(),$Ce=w(),e3=E();Object.defineProperty(Ji,"$Command",{enumerable:!0,get:function(){return e3.Command}});var KCe=v(),Zz=q(),iP=class e extends e3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,$Ce.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,HCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketIntelligentTieringConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[KCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketIntelligentTieringConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Zz.se_PutBucketIntelligentTieringConfigurationCommand)(n,t)}deserialize(n,t){return(0,Zz.de_PutBucketIntelligentTieringConfigurationCommand)(n,t)}};Ji.PutBucketIntelligentTieringConfigurationCommand=iP});var dP=m(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});Zi.PutBucketInventoryConfigurationCommand=Zi.$Command=void 0;var VCe=x(),XCe=w(),n3=E();Object.defineProperty(Zi,"$Command",{enumerable:!0,get:function(){return n3.Command}});var WCe=v(),YCe=et(),t3=q(),cP=class e extends n3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,XCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,VCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketInventoryConfigurationCommand",inputFilterSensitiveLog:YCe.PutBucketInventoryConfigurationRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[WCe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketInventoryConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,t3.se_PutBucketInventoryConfigurationCommand)(n,t)}deserialize(n,t){return(0,t3.de_PutBucketInventoryConfigurationCommand)(n,t)}};Zi.PutBucketInventoryConfigurationCommand=cP});var uP=m(ea=>{"use strict";Object.defineProperty(ea,"__esModule",{value:!0});ea.PutBucketLifecycleConfigurationCommand=ea.$Command=void 0;var QCe=xe(),JCe=x(),ZCe=w(),o3=E();Object.defineProperty(ea,"$Command",{enumerable:!0,get:function(){return o3.Command}});var eSe=v(),r3=q(),lP=class e extends o3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,ZCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,JCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,QCe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketLifecycleConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[eSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketLifecycleConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,r3.se_PutBucketLifecycleConfigurationCommand)(n,t)}deserialize(n,t){return(0,r3.de_PutBucketLifecycleConfigurationCommand)(n,t)}};ea.PutBucketLifecycleConfigurationCommand=lP});var pP=m(ta=>{"use strict";Object.defineProperty(ta,"__esModule",{value:!0});ta.PutBucketLoggingCommand=ta.$Command=void 0;var tSe=xe(),nSe=x(),rSe=w(),i3=E();Object.defineProperty(ta,"$Command",{enumerable:!0,get:function(){return i3.Command}});var oSe=v(),s3=q(),mP=class e extends i3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,rSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,nSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,tSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketLoggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[oSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketLogging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,s3.se_PutBucketLoggingCommand)(n,t)}deserialize(n,t){return(0,s3.de_PutBucketLoggingCommand)(n,t)}};ta.PutBucketLoggingCommand=mP});var yP=m(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.PutBucketMetricsConfigurationCommand=na.$Command=void 0;var sSe=x(),iSe=w(),c3=E();Object.defineProperty(na,"$Command",{enumerable:!0,get:function(){return c3.Command}});var aSe=v(),a3=q(),fP=class e extends c3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,iSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,sSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketMetricsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[aSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketMetricsConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,a3.se_PutBucketMetricsConfigurationCommand)(n,t)}deserialize(n,t){return(0,a3.de_PutBucketMetricsConfigurationCommand)(n,t)}};na.PutBucketMetricsConfigurationCommand=fP});var gP=m(ra=>{"use strict";Object.defineProperty(ra,"__esModule",{value:!0});ra.PutBucketNotificationConfigurationCommand=ra.$Command=void 0;var cSe=x(),dSe=w(),l3=E();Object.defineProperty(ra,"$Command",{enumerable:!0,get:function(){return l3.Command}});var lSe=v(),d3=q(),_P=class e extends l3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,dSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,cSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketNotificationConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[lSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketNotificationConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,d3.se_PutBucketNotificationConfigurationCommand)(n,t)}deserialize(n,t){return(0,d3.de_PutBucketNotificationConfigurationCommand)(n,t)}};ra.PutBucketNotificationConfigurationCommand=_P});var CP=m(oa=>{"use strict";Object.defineProperty(oa,"__esModule",{value:!0});oa.PutBucketOwnershipControlsCommand=oa.$Command=void 0;var uSe=xe(),mSe=x(),pSe=w(),m3=E();Object.defineProperty(oa,"$Command",{enumerable:!0,get:function(){return m3.Command}});var fSe=v(),u3=q(),hP=class e extends m3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,pSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,mSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,uSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketOwnershipControlsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[fSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketOwnershipControls"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,u3.se_PutBucketOwnershipControlsCommand)(n,t)}deserialize(n,t){return(0,u3.de_PutBucketOwnershipControlsCommand)(n,t)}};oa.PutBucketOwnershipControlsCommand=hP});var EP=m(sa=>{"use strict";Object.defineProperty(sa,"__esModule",{value:!0});sa.PutBucketPolicyCommand=sa.$Command=void 0;var ySe=xe(),_Se=x(),gSe=w(),f3=E();Object.defineProperty(sa,"$Command",{enumerable:!0,get:function(){return f3.Command}});var hSe=v(),p3=q(),SP=class e extends f3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,gSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,_Se.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,ySe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketPolicyCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[hSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketPolicy"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,p3.se_PutBucketPolicyCommand)(n,t)}deserialize(n,t){return(0,p3.de_PutBucketPolicyCommand)(n,t)}};sa.PutBucketPolicyCommand=SP});var PP=m(ia=>{"use strict";Object.defineProperty(ia,"__esModule",{value:!0});ia.PutBucketReplicationCommand=ia.$Command=void 0;var CSe=xe(),SSe=x(),ESe=w(),_3=E();Object.defineProperty(ia,"$Command",{enumerable:!0,get:function(){return _3.Command}});var bSe=v(),y3=q(),bP=class e extends _3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,ESe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,SSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,CSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketReplicationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[bSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketReplication"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,y3.se_PutBucketReplicationCommand)(n,t)}deserialize(n,t){return(0,y3.de_PutBucketReplicationCommand)(n,t)}};ia.PutBucketReplicationCommand=bP});var xP=m(aa=>{"use strict";Object.defineProperty(aa,"__esModule",{value:!0});aa.PutBucketRequestPaymentCommand=aa.$Command=void 0;var PSe=xe(),vSe=x(),xSe=w(),h3=E();Object.defineProperty(aa,"$Command",{enumerable:!0,get:function(){return h3.Command}});var wSe=v(),g3=q(),vP=class e extends h3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,xSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,vSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,PSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketRequestPaymentCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[wSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketRequestPayment"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,g3.se_PutBucketRequestPaymentCommand)(n,t)}deserialize(n,t){return(0,g3.de_PutBucketRequestPaymentCommand)(n,t)}};aa.PutBucketRequestPaymentCommand=vP});var kP=m(ca=>{"use strict";Object.defineProperty(ca,"__esModule",{value:!0});ca.PutBucketTaggingCommand=ca.$Command=void 0;var kSe=xe(),ASe=x(),ISe=w(),S3=E();Object.defineProperty(ca,"$Command",{enumerable:!0,get:function(){return S3.Command}});var RSe=v(),C3=q(),wP=class e extends S3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,ISe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ASe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,kSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[RSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketTagging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,C3.se_PutBucketTaggingCommand)(n,t)}deserialize(n,t){return(0,C3.de_PutBucketTaggingCommand)(n,t)}};ca.PutBucketTaggingCommand=wP});var IP=m(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});da.PutBucketVersioningCommand=da.$Command=void 0;var NSe=xe(),OSe=x(),TSe=w(),b3=E();Object.defineProperty(da,"$Command",{enumerable:!0,get:function(){return b3.Command}});var qSe=v(),E3=q(),AP=class e extends b3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,TSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,OSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,NSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketVersioningCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[qSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketVersioning"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,E3.se_PutBucketVersioningCommand)(n,t)}deserialize(n,t){return(0,E3.de_PutBucketVersioningCommand)(n,t)}};da.PutBucketVersioningCommand=AP});var NP=m(la=>{"use strict";Object.defineProperty(la,"__esModule",{value:!0});la.PutBucketWebsiteCommand=la.$Command=void 0;var BSe=xe(),MSe=x(),DSe=w(),v3=E();Object.defineProperty(la,"$Command",{enumerable:!0,get:function(){return v3.Command}});var FSe=v(),P3=q(),RP=class e extends v3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,DSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,MSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,BSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketWebsiteCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[FSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutBucketWebsite"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,P3.se_PutBucketWebsiteCommand)(n,t)}deserialize(n,t){return(0,P3.de_PutBucketWebsiteCommand)(n,t)}};la.PutBucketWebsiteCommand=RP});var TP=m(ua=>{"use strict";Object.defineProperty(ua,"__esModule",{value:!0});ua.PutObjectAclCommand=ua.$Command=void 0;var LSe=xe(),jSe=x(),USe=w(),w3=E();Object.defineProperty(ua,"$Command",{enumerable:!0,get:function(){return w3.Command}});var zSe=v(),x3=q(),OP=class e extends w3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,USe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,jSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,LSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutObjectAclCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[zSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutObjectAcl"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,x3.se_PutObjectAclCommand)(n,t)}deserialize(n,t){return(0,x3.de_PutObjectAclCommand)(n,t)}};ua.PutObjectAclCommand=OP});var BP=m(ma=>{"use strict";Object.defineProperty(ma,"__esModule",{value:!0});ma.PutObjectCommand=ma.$Command=void 0;var GSe=xe(),HSe=Io(),$Se=qt(),KSe=x(),VSe=w(),I3=E();Object.defineProperty(ma,"$Command",{enumerable:!0,get:function(){return I3.Command}});var XSe=v(),k3=et(),A3=q(),qP=class e extends I3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,VSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,KSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,HSe.getCheckContentLengthHeaderPlugin)(t)),this.middlewareStack.use((0,$Se.getSsecPlugin)(t)),this.middlewareStack.use((0,GSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutObjectCommand",inputFilterSensitiveLog:k3.PutObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:k3.PutObjectOutputFilterSensitiveLog,[XSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutObject"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,A3.se_PutObjectCommand)(n,t)}deserialize(n,t){return(0,A3.de_PutObjectCommand)(n,t)}};ma.PutObjectCommand=qP});var DP=m(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.PutObjectLegalHoldCommand=pa.$Command=void 0;var WSe=xe(),YSe=x(),QSe=w(),N3=E();Object.defineProperty(pa,"$Command",{enumerable:!0,get:function(){return N3.Command}});var JSe=v(),R3=q(),MP=class e extends N3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,QSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,YSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,WSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutObjectLegalHoldCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[JSe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutObjectLegalHold"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,R3.se_PutObjectLegalHoldCommand)(n,t)}deserialize(n,t){return(0,R3.de_PutObjectLegalHoldCommand)(n,t)}};pa.PutObjectLegalHoldCommand=MP});var LP=m(fa=>{"use strict";Object.defineProperty(fa,"__esModule",{value:!0});fa.PutObjectLockConfigurationCommand=fa.$Command=void 0;var ZSe=xe(),eEe=x(),tEe=w(),T3=E();Object.defineProperty(fa,"$Command",{enumerable:!0,get:function(){return T3.Command}});var nEe=v(),O3=q(),FP=class e extends T3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,tEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,eEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,ZSe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutObjectLockConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[nEe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutObjectLockConfiguration"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,O3.se_PutObjectLockConfigurationCommand)(n,t)}deserialize(n,t){return(0,O3.de_PutObjectLockConfigurationCommand)(n,t)}};fa.PutObjectLockConfigurationCommand=FP});var UP=m(ya=>{"use strict";Object.defineProperty(ya,"__esModule",{value:!0});ya.PutObjectRetentionCommand=ya.$Command=void 0;var rEe=xe(),oEe=x(),sEe=w(),B3=E();Object.defineProperty(ya,"$Command",{enumerable:!0,get:function(){return B3.Command}});var iEe=v(),q3=q(),jP=class e extends B3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,sEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,oEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,rEe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutObjectRetentionCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[iEe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutObjectRetention"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,q3.se_PutObjectRetentionCommand)(n,t)}deserialize(n,t){return(0,q3.de_PutObjectRetentionCommand)(n,t)}};ya.PutObjectRetentionCommand=jP});var GP=m(_a=>{"use strict";Object.defineProperty(_a,"__esModule",{value:!0});_a.PutObjectTaggingCommand=_a.$Command=void 0;var aEe=xe(),cEe=x(),dEe=w(),D3=E();Object.defineProperty(_a,"$Command",{enumerable:!0,get:function(){return D3.Command}});var lEe=v(),M3=q(),zP=class e extends D3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,dEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,cEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,aEe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutObjectTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[lEe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutObjectTagging"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,M3.se_PutObjectTaggingCommand)(n,t)}deserialize(n,t){return(0,M3.de_PutObjectTaggingCommand)(n,t)}};_a.PutObjectTaggingCommand=zP});var $P=m(ga=>{"use strict";Object.defineProperty(ga,"__esModule",{value:!0});ga.PutPublicAccessBlockCommand=ga.$Command=void 0;var uEe=xe(),mEe=x(),pEe=w(),L3=E();Object.defineProperty(ga,"$Command",{enumerable:!0,get:function(){return L3.Command}});var fEe=v(),F3=q(),HP=class e extends L3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,pEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,mEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,uEe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutPublicAccessBlockCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[fEe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"PutPublicAccessBlock"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,F3.se_PutPublicAccessBlockCommand)(n,t)}deserialize(n,t){return(0,F3.de_PutPublicAccessBlockCommand)(n,t)}};ga.PutPublicAccessBlockCommand=HP});var VP=m(ha=>{"use strict";Object.defineProperty(ha,"__esModule",{value:!0});ha.RestoreObjectCommand=ha.$Command=void 0;var yEe=xe(),_Ee=x(),gEe=w(),U3=E();Object.defineProperty(ha,"$Command",{enumerable:!0,get:function(){return U3.Command}});var hEe=v(),CEe=Tr(),j3=q(),KP=class e extends U3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,gEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,_Ee.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,yEe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"RestoreObjectCommand",inputFilterSensitiveLog:CEe.RestoreObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[hEe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"RestoreObject"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,j3.se_RestoreObjectCommand)(n,t)}deserialize(n,t){return(0,j3.de_RestoreObjectCommand)(n,t)}};ha.RestoreObjectCommand=KP});var WP=m(Ca=>{"use strict";Object.defineProperty(Ca,"__esModule",{value:!0});Ca.SelectObjectContentCommand=Ca.$Command=void 0;var SEe=qt(),EEe=x(),bEe=w(),H3=E();Object.defineProperty(Ca,"$Command",{enumerable:!0,get:function(){return H3.Command}});var PEe=v(),z3=Tr(),G3=q(),XP=class e extends H3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,bEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,EEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,SEe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"SelectObjectContentCommand",inputFilterSensitiveLog:z3.SelectObjectContentRequestFilterSensitiveLog,outputFilterSensitiveLog:z3.SelectObjectContentOutputFilterSensitiveLog,[PEe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"SelectObjectContent"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,G3.se_SelectObjectContentCommand)(n,t)}deserialize(n,t){return(0,G3.de_SelectObjectContentCommand)(n,t)}};Ca.SelectObjectContentCommand=XP});var QP=m(Sa=>{"use strict";Object.defineProperty(Sa,"__esModule",{value:!0});Sa.UploadPartCommand=Sa.$Command=void 0;var vEe=xe(),xEe=qt(),wEe=x(),kEe=w(),V3=E();Object.defineProperty(Sa,"$Command",{enumerable:!0,get:function(){return V3.Command}});var AEe=v(),$3=Tr(),K3=q(),YP=class e extends V3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,kEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,wEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,xEe.getSsecPlugin)(t)),this.middlewareStack.use((0,vEe.getFlexibleChecksumsPlugin)(t,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"UploadPartCommand",inputFilterSensitiveLog:$3.UploadPartRequestFilterSensitiveLog,outputFilterSensitiveLog:$3.UploadPartOutputFilterSensitiveLog,[AEe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"UploadPart"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,K3.se_UploadPartCommand)(n,t)}deserialize(n,t){return(0,K3.de_UploadPartCommand)(n,t)}};Sa.UploadPartCommand=YP});var ZP=m(Ea=>{"use strict";Object.defineProperty(Ea,"__esModule",{value:!0});Ea.UploadPartCopyCommand=Ea.$Command=void 0;var IEe=Io(),REe=qt(),NEe=x(),OEe=w(),Y3=E();Object.defineProperty(Ea,"$Command",{enumerable:!0,get:function(){return Y3.Command}});var TEe=v(),X3=Tr(),W3=q(),JP=class e extends Y3.Command{static getEndpointParameterInstructions(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,OEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,NEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,IEe.getThrow200ExceptionsPlugin)(t)),this.middlewareStack.use((0,REe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"UploadPartCopyCommand",inputFilterSensitiveLog:X3.UploadPartCopyRequestFilterSensitiveLog,outputFilterSensitiveLog:X3.UploadPartCopyOutputFilterSensitiveLog,[TEe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"UploadPartCopy"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,W3.se_UploadPartCopyCommand)(n,t)}deserialize(n,t){return(0,W3.de_UploadPartCopyCommand)(n,t)}};Ea.UploadPartCopyCommand=JP});var tv=m(ba=>{"use strict";Object.defineProperty(ba,"__esModule",{value:!0});ba.WriteGetObjectResponseCommand=ba.$Command=void 0;var qEe=x(),BEe=w(),J3=E();Object.defineProperty(ba,"$Command",{enumerable:!0,get:function(){return J3.Command}});var MEe=v(),DEe=Tr(),Q3=q(),ev=class e extends J3.Command{static getEndpointParameterInstructions(){return{UseObjectLambdaEndpoint:{type:"staticContextParams",value:!0},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(n){super(),this.input=n}resolveMiddleware(n,t,r){this.middlewareStack.use((0,BEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,qEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"WriteGetObjectResponseCommand",inputFilterSensitiveLog:DEe.WriteGetObjectResponseRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[MEe.SMITHY_CONTEXT_KEY]:{service:"AmazonS3",operation:"WriteGetObjectResponse"}},{requestHandler:l}=t;return o.resolve(c=>l.handle(c.request,r||{}),u)}serialize(n,t){return(0,Q3.se_WriteGetObjectResponseCommand)(n,t)}deserialize(n,t){return(0,Q3.de_WriteGetObjectResponseCommand)(n,t)}};ba.WriteGetObjectResponseCommand=ev});var Z3=m(Ny=>{"use strict";Object.defineProperty(Ny,"__esModule",{value:!0});Ny.S3=void 0;var FEe=E(),LEe=vE(),jEe=wE(),UEe=AE(),zEe=RE(),GEe=OE(),HEe=qE(),$Ee=ME(),KEe=FE(),VEe=jE(),XEe=zE(),WEe=HE(),YEe=KE(),QEe=XE(),JEe=YE(),ZEe=JE(),e0e=e0(),t0e=n0(),n0e=o0(),r0e=i0(),o0e=E0(),s0e=P0(),i0e=x0(),a0e=k0(),c0e=I0(),d0e=N0(),l0e=T0(),u0e=B0(),m0e=D0(),p0e=L0(),f0e=U0(),y0e=G0(),_0e=$0(),g0e=V0(),h0e=W0(),C0e=Q0(),S0e=Z0(),E0e=tb(),b0e=rb(),P0e=sb(),v0e=ab(),x0e=db(),w0e=ub(),k0e=pb(),A0e=yb(),I0e=gb(),R0e=Cb(),N0e=Eb(),O0e=Pb(),T0e=xb(),q0e=kb(),B0e=Ib(),M0e=sd(),D0e=id(),F0e=Tb(),L0e=Bb(),j0e=Db(),U0e=Lb(),z0e=Ub(),G0e=Gb(),H0e=$b(),$0e=Ay(),K0e=Xb(),V0e=Iy(),X0e=Qb(),W0e=Zb(),Y0e=tP(),Q0e=rP(),J0e=sP(),Z0e=aP(),ebe=dP(),tbe=uP(),nbe=pP(),rbe=yP(),obe=gP(),sbe=CP(),ibe=EP(),abe=PP(),cbe=xP(),dbe=kP(),lbe=IP(),ube=NP(),mbe=TP(),pbe=BP(),fbe=DP(),ybe=LP(),_be=UP(),gbe=GP(),hbe=$P(),Cbe=VP(),Sbe=WP(),Ebe=QP(),bbe=ZP(),Pbe=tv(),vbe=Zc(),xbe={AbortMultipartUploadCommand:LEe.AbortMultipartUploadCommand,CompleteMultipartUploadCommand:jEe.CompleteMultipartUploadCommand,CopyObjectCommand:UEe.CopyObjectCommand,CreateBucketCommand:zEe.CreateBucketCommand,CreateMultipartUploadCommand:GEe.CreateMultipartUploadCommand,DeleteBucketCommand:$Ee.DeleteBucketCommand,DeleteBucketAnalyticsConfigurationCommand:HEe.DeleteBucketAnalyticsConfigurationCommand,DeleteBucketCorsCommand:KEe.DeleteBucketCorsCommand,DeleteBucketEncryptionCommand:VEe.DeleteBucketEncryptionCommand,DeleteBucketIntelligentTieringConfigurationCommand:XEe.DeleteBucketIntelligentTieringConfigurationCommand,DeleteBucketInventoryConfigurationCommand:WEe.DeleteBucketInventoryConfigurationCommand,DeleteBucketLifecycleCommand:YEe.DeleteBucketLifecycleCommand,DeleteBucketMetricsConfigurationCommand:QEe.DeleteBucketMetricsConfigurationCommand,DeleteBucketOwnershipControlsCommand:JEe.DeleteBucketOwnershipControlsCommand,DeleteBucketPolicyCommand:ZEe.DeleteBucketPolicyCommand,DeleteBucketReplicationCommand:e0e.DeleteBucketReplicationCommand,DeleteBucketTaggingCommand:t0e.DeleteBucketTaggingCommand,DeleteBucketWebsiteCommand:n0e.DeleteBucketWebsiteCommand,DeleteObjectCommand:r0e.DeleteObjectCommand,DeleteObjectsCommand:o0e.DeleteObjectsCommand,DeleteObjectTaggingCommand:s0e.DeleteObjectTaggingCommand,DeletePublicAccessBlockCommand:i0e.DeletePublicAccessBlockCommand,GetBucketAccelerateConfigurationCommand:a0e.GetBucketAccelerateConfigurationCommand,GetBucketAclCommand:c0e.GetBucketAclCommand,GetBucketAnalyticsConfigurationCommand:d0e.GetBucketAnalyticsConfigurationCommand,GetBucketCorsCommand:l0e.GetBucketCorsCommand,GetBucketEncryptionCommand:u0e.GetBucketEncryptionCommand,GetBucketIntelligentTieringConfigurationCommand:m0e.GetBucketIntelligentTieringConfigurationCommand,GetBucketInventoryConfigurationCommand:p0e.GetBucketInventoryConfigurationCommand,GetBucketLifecycleConfigurationCommand:f0e.GetBucketLifecycleConfigurationCommand,GetBucketLocationCommand:y0e.GetBucketLocationCommand,GetBucketLoggingCommand:_0e.GetBucketLoggingCommand,GetBucketMetricsConfigurationCommand:g0e.GetBucketMetricsConfigurationCommand,GetBucketNotificationConfigurationCommand:h0e.GetBucketNotificationConfigurationCommand,GetBucketOwnershipControlsCommand:C0e.GetBucketOwnershipControlsCommand,GetBucketPolicyCommand:S0e.GetBucketPolicyCommand,GetBucketPolicyStatusCommand:E0e.GetBucketPolicyStatusCommand,GetBucketReplicationCommand:b0e.GetBucketReplicationCommand,GetBucketRequestPaymentCommand:P0e.GetBucketRequestPaymentCommand,GetBucketTaggingCommand:v0e.GetBucketTaggingCommand,GetBucketVersioningCommand:x0e.GetBucketVersioningCommand,GetBucketWebsiteCommand:w0e.GetBucketWebsiteCommand,GetObjectCommand:I0e.GetObjectCommand,GetObjectAclCommand:k0e.GetObjectAclCommand,GetObjectAttributesCommand:A0e.GetObjectAttributesCommand,GetObjectLegalHoldCommand:R0e.GetObjectLegalHoldCommand,GetObjectLockConfigurationCommand:N0e.GetObjectLockConfigurationCommand,GetObjectRetentionCommand:O0e.GetObjectRetentionCommand,GetObjectTaggingCommand:T0e.GetObjectTaggingCommand,GetObjectTorrentCommand:q0e.GetObjectTorrentCommand,GetPublicAccessBlockCommand:B0e.GetPublicAccessBlockCommand,HeadBucketCommand:M0e.HeadBucketCommand,HeadObjectCommand:D0e.HeadObjectCommand,ListBucketAnalyticsConfigurationsCommand:F0e.ListBucketAnalyticsConfigurationsCommand,ListBucketIntelligentTieringConfigurationsCommand:L0e.ListBucketIntelligentTieringConfigurationsCommand,ListBucketInventoryConfigurationsCommand:j0e.ListBucketInventoryConfigurationsCommand,ListBucketMetricsConfigurationsCommand:U0e.ListBucketMetricsConfigurationsCommand,ListBucketsCommand:z0e.ListBucketsCommand,ListMultipartUploadsCommand:G0e.ListMultipartUploadsCommand,ListObjectsCommand:H0e.ListObjectsCommand,ListObjectsV2Command:$0e.ListObjectsV2Command,ListObjectVersionsCommand:K0e.ListObjectVersionsCommand,ListPartsCommand:V0e.ListPartsCommand,PutBucketAccelerateConfigurationCommand:X0e.PutBucketAccelerateConfigurationCommand,PutBucketAclCommand:W0e.PutBucketAclCommand,PutBucketAnalyticsConfigurationCommand:Y0e.PutBucketAnalyticsConfigurationCommand,PutBucketCorsCommand:Q0e.PutBucketCorsCommand,PutBucketEncryptionCommand:J0e.PutBucketEncryptionCommand,PutBucketIntelligentTieringConfigurationCommand:Z0e.PutBucketIntelligentTieringConfigurationCommand,PutBucketInventoryConfigurationCommand:ebe.PutBucketInventoryConfigurationCommand,PutBucketLifecycleConfigurationCommand:tbe.PutBucketLifecycleConfigurationCommand,PutBucketLoggingCommand:nbe.PutBucketLoggingCommand,PutBucketMetricsConfigurationCommand:rbe.PutBucketMetricsConfigurationCommand,PutBucketNotificationConfigurationCommand:obe.PutBucketNotificationConfigurationCommand,PutBucketOwnershipControlsCommand:sbe.PutBucketOwnershipControlsCommand,PutBucketPolicyCommand:ibe.PutBucketPolicyCommand,PutBucketReplicationCommand:abe.PutBucketReplicationCommand,PutBucketRequestPaymentCommand:cbe.PutBucketRequestPaymentCommand,PutBucketTaggingCommand:dbe.PutBucketTaggingCommand,PutBucketVersioningCommand:lbe.PutBucketVersioningCommand,PutBucketWebsiteCommand:ube.PutBucketWebsiteCommand,PutObjectCommand:pbe.PutObjectCommand,PutObjectAclCommand:mbe.PutObjectAclCommand,PutObjectLegalHoldCommand:fbe.PutObjectLegalHoldCommand,PutObjectLockConfigurationCommand:ybe.PutObjectLockConfigurationCommand,PutObjectRetentionCommand:_be.PutObjectRetentionCommand,PutObjectTaggingCommand:gbe.PutObjectTaggingCommand,PutPublicAccessBlockCommand:hbe.PutPublicAccessBlockCommand,RestoreObjectCommand:Cbe.RestoreObjectCommand,SelectObjectContentCommand:Sbe.SelectObjectContentCommand,UploadPartCommand:Ebe.UploadPartCommand,UploadPartCopyCommand:bbe.UploadPartCopyCommand,WriteGetObjectResponseCommand:Pbe.WriteGetObjectResponseCommand},Ry=class extends vbe.S3Client{};Ny.S3=Ry;(0,FEe.createAggregatedClient)(xbe,Ry)});var eG=m(O=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0});var L=(z(),j(U));L.__exportStar(vE(),O);L.__exportStar(wE(),O);L.__exportStar(AE(),O);L.__exportStar(RE(),O);L.__exportStar(OE(),O);L.__exportStar(qE(),O);L.__exportStar(ME(),O);L.__exportStar(FE(),O);L.__exportStar(jE(),O);L.__exportStar(zE(),O);L.__exportStar(HE(),O);L.__exportStar(KE(),O);L.__exportStar(XE(),O);L.__exportStar(YE(),O);L.__exportStar(JE(),O);L.__exportStar(e0(),O);L.__exportStar(n0(),O);L.__exportStar(o0(),O);L.__exportStar(i0(),O);L.__exportStar(P0(),O);L.__exportStar(E0(),O);L.__exportStar(x0(),O);L.__exportStar(k0(),O);L.__exportStar(I0(),O);L.__exportStar(N0(),O);L.__exportStar(T0(),O);L.__exportStar(B0(),O);L.__exportStar(D0(),O);L.__exportStar(L0(),O);L.__exportStar(U0(),O);L.__exportStar(G0(),O);L.__exportStar($0(),O);L.__exportStar(V0(),O);L.__exportStar(W0(),O);L.__exportStar(Q0(),O);L.__exportStar(Z0(),O);L.__exportStar(tb(),O);L.__exportStar(rb(),O);L.__exportStar(sb(),O);L.__exportStar(ab(),O);L.__exportStar(db(),O);L.__exportStar(ub(),O);L.__exportStar(pb(),O);L.__exportStar(yb(),O);L.__exportStar(gb(),O);L.__exportStar(Cb(),O);L.__exportStar(Eb(),O);L.__exportStar(Pb(),O);L.__exportStar(xb(),O);L.__exportStar(kb(),O);L.__exportStar(Ib(),O);L.__exportStar(sd(),O);L.__exportStar(id(),O);L.__exportStar(Tb(),O);L.__exportStar(Bb(),O);L.__exportStar(Db(),O);L.__exportStar(Lb(),O);L.__exportStar(Ub(),O);L.__exportStar(Gb(),O);L.__exportStar(Xb(),O);L.__exportStar($b(),O);L.__exportStar(Ay(),O);L.__exportStar(Iy(),O);L.__exportStar(Qb(),O);L.__exportStar(Zb(),O);L.__exportStar(tP(),O);L.__exportStar(rP(),O);L.__exportStar(sP(),O);L.__exportStar(aP(),O);L.__exportStar(dP(),O);L.__exportStar(uP(),O);L.__exportStar(pP(),O);L.__exportStar(yP(),O);L.__exportStar(gP(),O);L.__exportStar(CP(),O);L.__exportStar(EP(),O);L.__exportStar(PP(),O);L.__exportStar(xP(),O);L.__exportStar(kP(),O);L.__exportStar(IP(),O);L.__exportStar(NP(),O);L.__exportStar(TP(),O);L.__exportStar(BP(),O);L.__exportStar(DP(),O);L.__exportStar(LP(),O);L.__exportStar(UP(),O);L.__exportStar(GP(),O);L.__exportStar($P(),O);L.__exportStar(VP(),O);L.__exportStar(WP(),O);L.__exportStar(QP(),O);L.__exportStar(ZP(),O);L.__exportStar(tv(),O)});var nG=m(tG=>{"use strict";Object.defineProperty(tG,"__esModule",{value:!0})});var rG=m(Oy=>{"use strict";Object.defineProperty(Oy,"__esModule",{value:!0});Oy.paginateListObjectsV2=void 0;var wbe=Ay(),kbe=Zc(),Abe=async(e,n,...t)=>await e.send(new wbe.ListObjectsV2Command(n),...t);async function*Ibe(e,n,...t){let r=e.startingToken||void 0,o=!0,s;for(;o;){if(n.ContinuationToken=r,n.MaxKeys=e.pageSize,e.client instanceof kbe.S3Client)s=await Abe(e.client,n,...t);else throw new Error("Invalid client, expected S3 | S3Client");yield s;let a=r;r=s.NextContinuationToken,o=!!(r&&(!e.stopOnSameToken||r!==a))}return void 0}Oy.paginateListObjectsV2=Ibe});var oG=m(Ty=>{"use strict";Object.defineProperty(Ty,"__esModule",{value:!0});Ty.paginateListParts=void 0;var Rbe=Iy(),Nbe=Zc(),Obe=async(e,n,...t)=>await e.send(new Rbe.ListPartsCommand(n),...t);async function*Tbe(e,n,...t){let r=e.startingToken||void 0,o=!0,s;for(;o;){if(n.PartNumberMarker=r,n.MaxParts=e.pageSize,e.client instanceof Nbe.S3Client)s=await Obe(e.client,n,...t);else throw new Error("Invalid client, expected S3 | S3Client");yield s;let a=r;r=s.NextPartNumberMarker,o=!!(r&&(!e.stopOnSameToken||r!==a))}return void 0}Ty.paginateListParts=Tbe});var sG=m(ad=>{"use strict";Object.defineProperty(ad,"__esModule",{value:!0});var nv=(z(),j(U));nv.__exportStar(nG(),ad);nv.__exportStar(rG(),ad);nv.__exportStar(oG(),ad)});var rv=m(qy=>{"use strict";Object.defineProperty(qy,"__esModule",{value:!0});qy.sleep=void 0;var qbe=e=>new Promise(n=>setTimeout(n,e*1e3));qy.sleep=qbe});var My=m(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.checkExceptions=Yn.WaiterState=Yn.waiterServiceDefaults=void 0;Yn.waiterServiceDefaults={minDelay:2,maxDelay:120};var By;(function(e){e.ABORTED="ABORTED",e.FAILURE="FAILURE",e.SUCCESS="SUCCESS",e.RETRY="RETRY",e.TIMEOUT="TIMEOUT"})(By=Yn.WaiterState||(Yn.WaiterState={}));var Bbe=e=>{if(e.state===By.ABORTED){let n=new Error(`${JSON.stringify({...e,reason:"Request was aborted"})}`);throw n.name="AbortError",n}else if(e.state===By.TIMEOUT){let n=new Error(`${JSON.stringify({...e,reason:"Waiter has timed out"})}`);throw n.name="TimeoutError",n}else if(e.state!==By.SUCCESS)throw new Error(`${JSON.stringify({result:e})}`);return e};Yn.checkExceptions=Bbe});var iG=m(Fy=>{"use strict";Object.defineProperty(Fy,"__esModule",{value:!0});Fy.runPolling=void 0;var Mbe=rv(),Dy=My(),Dbe=(e,n,t,r)=>{if(r>t)return n;let o=e*2**(r-1);return Fbe(e,o)},Fbe=(e,n)=>e+Math.random()*(n-e),Lbe=async({minDelay:e,maxDelay:n,maxWaitTime:t,abortController:r,client:o,abortSignal:s},a,i)=>{var u;let{state:l,reason:c}=await i(o,a);if(l!==Dy.WaiterState.RETRY)return{state:l,reason:c};let y=1,_=Date.now()+t*1e3,C=Math.log(n/e)/Math.log(2)+1;for(;;){if(!((u=r==null?void 0:r.signal)===null||u===void 0)&&u.aborted||s!=null&&s.aborted)return{state:Dy.WaiterState.ABORTED};let b=Dbe(e,n,C,y);if(Date.now()+b*1e3>_)return{state:Dy.WaiterState.TIMEOUT};await(0,Mbe.sleep)(b);let{state:B,reason:R}=await i(o,a);if(B!==Dy.WaiterState.RETRY)return{state:B,reason:R};y+=1}};Fy.runPolling=Lbe});var aG=m(Ly=>{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0});Ly.validateWaiterOptions=void 0;var jbe=e=>{if(e.maxWaitTime<1)throw new Error("WaiterConfiguration.maxWaitTime must be greater than 0");if(e.minDelay<1)throw new Error("WaiterConfiguration.minDelay must be greater than 0");if(e.maxDelay<1)throw new Error("WaiterConfiguration.maxDelay must be greater than 0");if(e.maxWaitTime<=e.minDelay)throw new Error(`WaiterConfiguration.maxWaitTime [${e.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${e.minDelay}] for this waiter`);if(e.maxDelay{"use strict";Object.defineProperty(jy,"__esModule",{value:!0});var cG=(z(),j(U));cG.__exportStar(rv(),jy);cG.__exportStar(aG(),jy)});var mG=m(Uy=>{"use strict";Object.defineProperty(Uy,"__esModule",{value:!0});Uy.createWaiter=void 0;var Ube=iG(),zbe=dG(),uG=My(),lG=async e=>new Promise(n=>{e.onabort=()=>n({state:uG.WaiterState.ABORTED})}),Gbe=async(e,n,t)=>{let r={...uG.waiterServiceDefaults,...e};(0,zbe.validateWaiterOptions)(r);let o=[(0,Ube.runPolling)(r,n,t)];return e.abortController&&o.push(lG(e.abortController.signal)),e.abortSignal&&o.push(lG(e.abortSignal)),Promise.race(o)};Uy.createWaiter=Gbe});var cd=m(zy=>{"use strict";Object.defineProperty(zy,"__esModule",{value:!0});var pG=(z(),j(U));pG.__exportStar(mG(),zy);pG.__exportStar(My(),zy)});var yG=m(va=>{"use strict";Object.defineProperty(va,"__esModule",{value:!0});va.waitUntilBucketExists=va.waitForBucketExists=void 0;var Pa=cd(),Hbe=sd(),fG=async(e,n)=>{let t;try{return t=await e.send(new Hbe.HeadBucketCommand(n)),{state:Pa.WaiterState.SUCCESS,reason:t}}catch(r){if(t=r,r.name&&r.name=="NotFound")return{state:Pa.WaiterState.RETRY,reason:t}}return{state:Pa.WaiterState.RETRY,reason:t}},$be=async(e,n)=>{let t={minDelay:5,maxDelay:120};return(0,Pa.createWaiter)({...t,...e},n,fG)};va.waitForBucketExists=$be;var Kbe=async(e,n)=>{let t={minDelay:5,maxDelay:120},r=await(0,Pa.createWaiter)({...t,...e},n,fG);return(0,Pa.checkExceptions)(r)};va.waitUntilBucketExists=Kbe});var gG=m(xa=>{"use strict";Object.defineProperty(xa,"__esModule",{value:!0});xa.waitUntilBucketNotExists=xa.waitForBucketNotExists=void 0;var dd=cd(),Vbe=sd(),_G=async(e,n)=>{let t;try{t=await e.send(new Vbe.HeadBucketCommand(n))}catch(r){if(t=r,r.name&&r.name=="NotFound")return{state:dd.WaiterState.SUCCESS,reason:t}}return{state:dd.WaiterState.RETRY,reason:t}},Xbe=async(e,n)=>{let t={minDelay:5,maxDelay:120};return(0,dd.createWaiter)({...t,...e},n,_G)};xa.waitForBucketNotExists=Xbe;var Wbe=async(e,n)=>{let t={minDelay:5,maxDelay:120},r=await(0,dd.createWaiter)({...t,...e},n,_G);return(0,dd.checkExceptions)(r)};xa.waitUntilBucketNotExists=Wbe});var CG=m(ka=>{"use strict";Object.defineProperty(ka,"__esModule",{value:!0});ka.waitUntilObjectExists=ka.waitForObjectExists=void 0;var wa=cd(),Ybe=id(),hG=async(e,n)=>{let t;try{return t=await e.send(new Ybe.HeadObjectCommand(n)),{state:wa.WaiterState.SUCCESS,reason:t}}catch(r){if(t=r,r.name&&r.name=="NotFound")return{state:wa.WaiterState.RETRY,reason:t}}return{state:wa.WaiterState.RETRY,reason:t}},Qbe=async(e,n)=>{let t={minDelay:5,maxDelay:120};return(0,wa.createWaiter)({...t,...e},n,hG)};ka.waitForObjectExists=Qbe;var Jbe=async(e,n)=>{let t={minDelay:5,maxDelay:120},r=await(0,wa.createWaiter)({...t,...e},n,hG);return(0,wa.checkExceptions)(r)};ka.waitUntilObjectExists=Jbe});var EG=m(Aa=>{"use strict";Object.defineProperty(Aa,"__esModule",{value:!0});Aa.waitUntilObjectNotExists=Aa.waitForObjectNotExists=void 0;var ld=cd(),Zbe=id(),SG=async(e,n)=>{let t;try{t=await e.send(new Zbe.HeadObjectCommand(n))}catch(r){if(t=r,r.name&&r.name=="NotFound")return{state:ld.WaiterState.SUCCESS,reason:t}}return{state:ld.WaiterState.RETRY,reason:t}},ePe=async(e,n)=>{let t={minDelay:5,maxDelay:120};return(0,ld.createWaiter)({...t,...e},n,SG)};Aa.waitForObjectNotExists=ePe;var tPe=async(e,n)=>{let t={minDelay:5,maxDelay:120},r=await(0,ld.createWaiter)({...t,...e},n,SG);return(0,ld.checkExceptions)(r)};Aa.waitUntilObjectNotExists=tPe});var bG=m(Ia=>{"use strict";Object.defineProperty(Ia,"__esModule",{value:!0});var Gy=(z(),j(U));Gy.__exportStar(yG(),Ia);Gy.__exportStar(gG(),Ia);Gy.__exportStar(CG(),Ia);Gy.__exportStar(EG(),Ia)});var vG=m(Hy=>{"use strict";Object.defineProperty(Hy,"__esModule",{value:!0});var PG=(z(),j(U));PG.__exportStar(et(),Hy);PG.__exportStar(Tr(),Hy)});var xG=m(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.S3ServiceException=void 0;var Ra=(z(),j(U));Ra.__exportStar(Zc(),Sn);Ra.__exportStar(Z3(),Sn);Ra.__exportStar(eG(),Sn);Ra.__exportStar(sG(),Sn);Ra.__exportStar(bG(),Sn);Ra.__exportStar(vG(),Sn);var nPe=ed();Object.defineProperty(Sn,"S3ServiceException",{enumerable:!0,get:function(){return nPe.S3ServiceException}})});var sPe={};Oa(sPe,{handler:()=>oPe});module.exports=j(sPe);var wG=Ta(xG()),kG=Ta(require("delay")),rPe=new wG.S3;async function oPe(){console.log(rPe),await(0,kG.default)(5)}0&&(module.exports={handler}); +/*! Bundled license information: + +tslib/tslib.es6.js: + (*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** *) + +tslib/tslib.es6.js: + (*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** *) +*/ diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/node_modules/.yarn-integrity b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/node_modules/.yarn-integrity similarity index 100% rename from packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/node_modules/.yarn-integrity rename to packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/node_modules/.yarn-integrity diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/node_modules/delay/index.d.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/node_modules/delay/index.d.ts similarity index 100% rename from packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/node_modules/delay/index.d.ts rename to packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/node_modules/delay/index.d.ts diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/node_modules/delay/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/node_modules/delay/index.js similarity index 100% rename from packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/node_modules/delay/index.js rename to packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/node_modules/delay/index.js diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/node_modules/delay/license b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/node_modules/delay/license similarity index 100% rename from packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/node_modules/delay/license rename to packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/node_modules/delay/license diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/node_modules/delay/package.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/node_modules/delay/package.json similarity index 100% rename from packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/node_modules/delay/package.json rename to packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/node_modules/delay/package.json diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/node_modules/delay/readme.md b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/node_modules/delay/readme.md similarity index 100% rename from packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/node_modules/delay/readme.md rename to packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/node_modules/delay/readme.md diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/package.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/package.json similarity index 100% rename from packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/package.json rename to packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/package.json diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/yarn.lock b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/yarn.lock similarity index 100% rename from packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611/yarn.lock rename to packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866/yarn.lock diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/cdk-integ-lambda-nodejs-latest.assets.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/cdk-integ-lambda-nodejs-latest.assets.json index a7e83463813d5..35a731218f8c2 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/cdk-integ-lambda-nodejs-latest.assets.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/cdk-integ-lambda-nodejs-latest.assets.json @@ -1,20 +1,20 @@ { - "version": "34.0.0", + "version": "35.0.0", "files": { - "857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611": { + "f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866": { "source": { - "path": "asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611", + "path": "asset.f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866", "packaging": "zip" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611.zip", + "objectKey": "f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "c4746f0c802eaab3400ada26a1c3bd653cb078794db01d0ad2cf3cc7b9cd53e3": { + "9a3797f9c491a2eda1c89478faec99845c529e5f7783f467c509404c055f6619": { "source": { "path": "cdk-integ-lambda-nodejs-latest.template.json", "packaging": "file" @@ -22,7 +22,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "c4746f0c802eaab3400ada26a1c3bd653cb078794db01d0ad2cf3cc7b9cd53e3.json", + "objectKey": "9a3797f9c491a2eda1c89478faec99845c529e5f7783f467c509404c055f6619.json", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/cdk-integ-lambda-nodejs-latest.template.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/cdk-integ-lambda-nodejs-latest.template.json index d6aef44b8bdce..4d86964912084 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/cdk-integ-lambda-nodejs-latest.template.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/cdk-integ-lambda-nodejs-latest.template.json @@ -38,7 +38,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611.zip" + "S3Key": "f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866.zip" }, "Environment": { "Variables": { diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/cdk.out b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/cdk.out index 2313ab5436501..c5cb2e5de6344 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/cdk.out +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/cdk.out @@ -1 +1 @@ -{"version":"34.0.0"} \ No newline at end of file +{"version":"35.0.0"} \ No newline at end of file diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/integ.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/integ.json index 2bcce684cddc5..f9d4e408da6ce 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/integ.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/integ.json @@ -1,5 +1,5 @@ { - "version": "34.0.0", + "version": "35.0.0", "testCases": { "LambdaNodeJsLatestInteg/DefaultTest": { "stacks": [ diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/manifest.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/manifest.json index a23f057b2a06c..98702b71a7b29 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/manifest.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/manifest.json @@ -1,5 +1,5 @@ { - "version": "34.0.0", + "version": "35.0.0", "artifacts": { "cdk-integ-lambda-nodejs-latest.assets": { "type": "cdk:asset-manifest", @@ -18,7 +18,7 @@ "validateOnSynth": false, "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}", "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}", - "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/c4746f0c802eaab3400ada26a1c3bd653cb078794db01d0ad2cf3cc7b9cd53e3.json", + "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/9a3797f9c491a2eda1c89478faec99845c529e5f7783f467c509404c055f6619.json", "requiresBootstrapStackVersion": 6, "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version", "additionalDependencies": [ @@ -84,7 +84,7 @@ "validateOnSynth": false, "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}", "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}", - "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/3da52fc9b54324b9855c8de5350958d6a73c4cbc840beb487bff66940a3589f5.json", + "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/22d0963c53c533f68dd78b968c494c002dc18201059654e4aeef27ca36d39f19.json", "requiresBootstrapStackVersion": 6, "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version", "additionalDependencies": [ diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/tree.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/tree.json index 73ce608c6f233..40057a931ac8e 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/tree.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/tree.json @@ -105,7 +105,7 @@ "s3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "s3Key": "857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611.zip" + "s3Key": "f65ed1f2b93b6c6b88cb97ff443d650e4e09589d9c7e796f63abbf32ceb40866.zip" }, "environment": { "variables": { @@ -148,7 +148,7 @@ }, "constructInfo": { "fqn": "constructs.Construct", - "version": "10.2.70" + "version": "10.3.0" } }, "BootstrapVersion": { @@ -186,7 +186,7 @@ "path": "LambdaNodeJsLatestInteg/DefaultTest/Default", "constructInfo": { "fqn": "constructs.Construct", - "version": "10.2.70" + "version": "10.3.0" } }, "DeployAssert": { @@ -206,7 +206,7 @@ "path": "LambdaNodeJsLatestInteg/DefaultTest/DeployAssert/LambdaInvoked00748c118c58ddbf17c194faa46eda2/SdkProvider/AssertionsProvider", "constructInfo": { "fqn": "constructs.Construct", - "version": "10.2.70" + "version": "10.3.0" } } }, @@ -286,7 +286,7 @@ }, "constructInfo": { "fqn": "constructs.Construct", - "version": "10.2.70" + "version": "10.3.0" } }, "BootstrapVersion": { @@ -328,7 +328,7 @@ "path": "Tree", "constructInfo": { "fqn": "constructs.Construct", - "version": "10.2.70" + "version": "10.3.0" } } }, diff --git a/packages/@aws-cdk/aws-amplify-alpha/package.json b/packages/@aws-cdk/aws-amplify-alpha/package.json index 17fafb387dd8f..4d633d2853bc4 100644 --- a/packages/@aws-cdk/aws-amplify-alpha/package.json +++ b/packages/@aws-cdk/aws-amplify-alpha/package.json @@ -86,10 +86,10 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@aws-sdk/client-amplify": "^3.421.0", - "@aws-sdk/client-s3": "^3.421.0", - "@aws-sdk/s3-request-presigner": "^3.421.0", - "@types/jest": "^29.5.5", + "@aws-sdk/client-amplify": "3.421.0", + "@aws-sdk/client-s3": "3.421.0", + "@aws-sdk/s3-request-presigner": "3.421.0", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "@aws-cdk/integ-tests-alpha": "0.0.0", "constructs": "^10.0.0" diff --git a/packages/@aws-cdk/aws-apigatewayv2-alpha/package.json b/packages/@aws-cdk/aws-apigatewayv2-alpha/package.json index 46dcf380d703f..309a99c4d0b79 100644 --- a/packages/@aws-cdk/aws-apigatewayv2-alpha/package.json +++ b/packages/@aws-cdk/aws-apigatewayv2-alpha/package.json @@ -89,7 +89,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0" }, diff --git a/packages/@aws-cdk/aws-apigatewayv2-authorizers-alpha/package.json b/packages/@aws-cdk/aws-apigatewayv2-authorizers-alpha/package.json index 82bb6b1527645..e652a2e89abc3 100644 --- a/packages/@aws-cdk/aws-apigatewayv2-authorizers-alpha/package.json +++ b/packages/@aws-cdk/aws-apigatewayv2-authorizers-alpha/package.json @@ -86,8 +86,8 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/aws-lambda": "^8.10.122", - "@types/jest": "^29.5.5", + "@types/aws-lambda": "^8.10.126", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", "@aws-cdk/aws-apigatewayv2-integrations-alpha": "0.0.0", diff --git a/packages/@aws-cdk/aws-apigatewayv2-integrations-alpha/package.json b/packages/@aws-cdk/aws-apigatewayv2-integrations-alpha/package.json index b0e15976bc1bb..2e8405f35bdcb 100644 --- a/packages/@aws-cdk/aws-apigatewayv2-integrations-alpha/package.json +++ b/packages/@aws-cdk/aws-apigatewayv2-integrations-alpha/package.json @@ -85,7 +85,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", "@aws-cdk/integ-tests-alpha": "0.0.0", diff --git a/packages/@aws-cdk/aws-appconfig-alpha/package.json b/packages/@aws-cdk/aws-appconfig-alpha/package.json index bc3a6a8f3d4ee..90f9ece8077bf 100644 --- a/packages/@aws-cdk/aws-appconfig-alpha/package.json +++ b/packages/@aws-cdk/aws-appconfig-alpha/package.json @@ -80,8 +80,8 @@ "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/integ-tests-alpha": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", - "@types/mime-types": "^2.1.2", + "@types/jest": "^29.5.8", + "@types/mime-types": "^2.1.4", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", "jest": "^29.7.0" diff --git a/packages/@aws-cdk/aws-apprunner-alpha/package.json b/packages/@aws-cdk/aws-apprunner-alpha/package.json index d19f7b303d450..c5a72ec9bdd01 100644 --- a/packages/@aws-cdk/aws-apprunner-alpha/package.json +++ b/packages/@aws-cdk/aws-apprunner-alpha/package.json @@ -88,7 +88,7 @@ "aws-cdk-lib": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "constructs": "^10.0.0", "@aws-cdk/integ-tests-alpha": "0.0.0" }, diff --git a/packages/@aws-cdk/aws-cloud9-alpha/package.json b/packages/@aws-cdk/aws-cloud9-alpha/package.json index ad691360ab705..02b5f81d9a382 100644 --- a/packages/@aws-cdk/aws-cloud9-alpha/package.json +++ b/packages/@aws-cdk/aws-cloud9-alpha/package.json @@ -84,7 +84,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", "@aws-cdk/integ-tests-alpha": "0.0.0" diff --git a/packages/@aws-cdk/aws-codestar-alpha/package.json b/packages/@aws-cdk/aws-codestar-alpha/package.json index 2f0dd7ddbac0d..ca35bad74c1ac 100644 --- a/packages/@aws-cdk/aws-codestar-alpha/package.json +++ b/packages/@aws-cdk/aws-codestar-alpha/package.json @@ -86,7 +86,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0" }, diff --git a/packages/@aws-cdk/aws-cognito-identitypool-alpha/package.json b/packages/@aws-cdk/aws-cognito-identitypool-alpha/package.json index 805b756fbb25d..2ba9b8a42f193 100644 --- a/packages/@aws-cdk/aws-cognito-identitypool-alpha/package.json +++ b/packages/@aws-cdk/aws-cognito-identitypool-alpha/package.json @@ -84,7 +84,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "jest": "^29.7.0", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0" diff --git a/packages/@aws-cdk/aws-gamelift-alpha/package.json b/packages/@aws-cdk/aws-gamelift-alpha/package.json index 10eb9506c54c5..d87d6d1ca0ce5 100644 --- a/packages/@aws-cdk/aws-gamelift-alpha/package.json +++ b/packages/@aws-cdk/aws-gamelift-alpha/package.json @@ -84,7 +84,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "jest": "^29.7.0", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", diff --git a/packages/@aws-cdk/aws-glue-alpha/package.json b/packages/@aws-cdk/aws-glue-alpha/package.json index 5bb01c2802af3..a5745b72e44d9 100644 --- a/packages/@aws-cdk/aws-glue-alpha/package.json +++ b/packages/@aws-cdk/aws-glue-alpha/package.json @@ -85,7 +85,7 @@ "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/integ-tests-alpha": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", "jest": "^29.7.0" diff --git a/packages/@aws-cdk/aws-iot-actions-alpha/package.json b/packages/@aws-cdk/aws-iot-actions-alpha/package.json index fba2d13fc4ac2..ae7980559c964 100644 --- a/packages/@aws-cdk/aws-iot-actions-alpha/package.json +++ b/packages/@aws-cdk/aws-iot-actions-alpha/package.json @@ -84,7 +84,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "jest": "^29.7.0", "constructs": "^10.0.0", "aws-cdk-lib": "0.0.0", diff --git a/packages/@aws-cdk/aws-iot-alpha/package.json b/packages/@aws-cdk/aws-iot-alpha/package.json index 3def2835c47e3..de338770213b6 100644 --- a/packages/@aws-cdk/aws-iot-alpha/package.json +++ b/packages/@aws-cdk/aws-iot-alpha/package.json @@ -84,7 +84,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "jest": "^29.7.0", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", diff --git a/packages/@aws-cdk/aws-iotevents-actions-alpha/package.json b/packages/@aws-cdk/aws-iotevents-actions-alpha/package.json index 845f86755db66..f77139d08f9d1 100644 --- a/packages/@aws-cdk/aws-iotevents-actions-alpha/package.json +++ b/packages/@aws-cdk/aws-iotevents-actions-alpha/package.json @@ -77,7 +77,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "jest": "^29.7.0", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", diff --git a/packages/@aws-cdk/aws-iotevents-alpha/package.json b/packages/@aws-cdk/aws-iotevents-alpha/package.json index 27135ecd6897d..4dd45cfe955e0 100644 --- a/packages/@aws-cdk/aws-iotevents-alpha/package.json +++ b/packages/@aws-cdk/aws-iotevents-alpha/package.json @@ -86,7 +86,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "jest": "^29.7.0", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", diff --git a/packages/@aws-cdk/aws-ivs-alpha/package.json b/packages/@aws-cdk/aws-ivs-alpha/package.json index 96201207a44d3..29abddaa0a570 100644 --- a/packages/@aws-cdk/aws-ivs-alpha/package.json +++ b/packages/@aws-cdk/aws-ivs-alpha/package.json @@ -87,7 +87,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", "@aws-cdk/integ-tests-alpha": "0.0.0" diff --git a/packages/@aws-cdk/aws-kinesisanalytics-flink-alpha/package.json b/packages/@aws-cdk/aws-kinesisanalytics-flink-alpha/package.json index 8627150e3f73b..3a7e8a201e1a6 100644 --- a/packages/@aws-cdk/aws-kinesisanalytics-flink-alpha/package.json +++ b/packages/@aws-cdk/aws-kinesisanalytics-flink-alpha/package.json @@ -80,7 +80,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "jest": "^29.7.0", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", diff --git a/packages/@aws-cdk/aws-kinesisfirehose-alpha/package.json b/packages/@aws-cdk/aws-kinesisfirehose-alpha/package.json index af5a2b76b99ba..4e8a945f3fbfb 100644 --- a/packages/@aws-cdk/aws-kinesisfirehose-alpha/package.json +++ b/packages/@aws-cdk/aws-kinesisfirehose-alpha/package.json @@ -84,7 +84,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0" }, diff --git a/packages/@aws-cdk/aws-kinesisfirehose-destinations-alpha/package.json b/packages/@aws-cdk/aws-kinesisfirehose-destinations-alpha/package.json index c9ad7d4da4ddf..96606ad32862d 100644 --- a/packages/@aws-cdk/aws-kinesisfirehose-destinations-alpha/package.json +++ b/packages/@aws-cdk/aws-kinesisfirehose-destinations-alpha/package.json @@ -78,7 +78,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "jest": "^29.7.0", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", diff --git a/packages/@aws-cdk/aws-lambda-go-alpha/package.json b/packages/@aws-cdk/aws-lambda-go-alpha/package.json index e7433f85df502..0376786ddaaba 100644 --- a/packages/@aws-cdk/aws-lambda-go-alpha/package.json +++ b/packages/@aws-cdk/aws-lambda-go-alpha/package.json @@ -81,7 +81,7 @@ "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/integ-tests-alpha": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0" }, diff --git a/packages/@aws-cdk/aws-lambda-python-alpha/package.json b/packages/@aws-cdk/aws-lambda-python-alpha/package.json index 15a3739879e04..a008d4e298b24 100644 --- a/packages/@aws-cdk/aws-lambda-python-alpha/package.json +++ b/packages/@aws-cdk/aws-lambda-python-alpha/package.json @@ -79,7 +79,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", "@aws-cdk/integ-tests-alpha": "0.0.0" diff --git a/packages/@aws-cdk/aws-location-alpha/package.json b/packages/@aws-cdk/aws-location-alpha/package.json index 7707adbdfebaa..e8821ab191c64 100644 --- a/packages/@aws-cdk/aws-location-alpha/package.json +++ b/packages/@aws-cdk/aws-location-alpha/package.json @@ -87,7 +87,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", "@aws-cdk/integ-tests-alpha": "0.0.0" diff --git a/packages/@aws-cdk/aws-msk-alpha/package.json b/packages/@aws-cdk/aws-msk-alpha/package.json index ec39d89c7d677..0efe219aea6ab 100644 --- a/packages/@aws-cdk/aws-msk-alpha/package.json +++ b/packages/@aws-cdk/aws-msk-alpha/package.json @@ -86,7 +86,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "jest": "^29.7.0", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", diff --git a/packages/@aws-cdk/aws-neptune-alpha/package.json b/packages/@aws-cdk/aws-neptune-alpha/package.json index 406cf93c58818..2aad1114eb3be 100644 --- a/packages/@aws-cdk/aws-neptune-alpha/package.json +++ b/packages/@aws-cdk/aws-neptune-alpha/package.json @@ -85,7 +85,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", "@aws-cdk/integ-tests-alpha": "0.0.0" diff --git a/packages/@aws-cdk/aws-redshift-alpha/package.json b/packages/@aws-cdk/aws-redshift-alpha/package.json index f0660c2150416..cd068cc0f11fb 100644 --- a/packages/@aws-cdk/aws-redshift-alpha/package.json +++ b/packages/@aws-cdk/aws-redshift-alpha/package.json @@ -85,10 +85,10 @@ "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", "@aws-cdk/custom-resource-handlers": "0.0.0", - "@aws-sdk/client-redshift": "^3.421.0", - "@aws-sdk/client-redshift-data": "^3.421.0", - "@aws-sdk/client-secrets-manager": "^3.421.0", - "@types/jest": "^29.5.5", + "@aws-sdk/client-redshift": "3.421.0", + "@aws-sdk/client-redshift-data": "3.421.0", + "@aws-sdk/client-secrets-manager": "3.421.0", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", "@aws-cdk/integ-tests-alpha": "0.0.0" diff --git a/packages/@aws-cdk/aws-route53resolver-alpha/package.json b/packages/@aws-cdk/aws-route53resolver-alpha/package.json index 51f37f2486ffd..d2ab6e3a5297a 100644 --- a/packages/@aws-cdk/aws-route53resolver-alpha/package.json +++ b/packages/@aws-cdk/aws-route53resolver-alpha/package.json @@ -85,7 +85,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0" }, diff --git a/packages/@aws-cdk/aws-s3objectlambda-alpha/package.json b/packages/@aws-cdk/aws-s3objectlambda-alpha/package.json index 99bf0d606924b..8dc110ef78f8c 100644 --- a/packages/@aws-cdk/aws-s3objectlambda-alpha/package.json +++ b/packages/@aws-cdk/aws-s3objectlambda-alpha/package.json @@ -87,7 +87,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "jest": "^29.7.0", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0" diff --git a/packages/@aws-cdk/aws-sagemaker-alpha/package.json b/packages/@aws-cdk/aws-sagemaker-alpha/package.json index dc40e11f4ed8a..edc2e3534184c 100644 --- a/packages/@aws-cdk/aws-sagemaker-alpha/package.json +++ b/packages/@aws-cdk/aws-sagemaker-alpha/package.json @@ -85,7 +85,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "jest": "^29.7.0", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", diff --git a/packages/@aws-cdk/aws-scheduler-alpha/package.json b/packages/@aws-cdk/aws-scheduler-alpha/package.json index 560b37dc31b3b..4d0fc7ebcdd18 100644 --- a/packages/@aws-cdk/aws-scheduler-alpha/package.json +++ b/packages/@aws-cdk/aws-scheduler-alpha/package.json @@ -84,7 +84,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", "@aws-cdk/integ-tests-alpha": "0.0.0" diff --git a/packages/@aws-cdk/aws-scheduler-targets-alpha/package.json b/packages/@aws-cdk/aws-scheduler-targets-alpha/package.json index 542c8a1c65431..c168fbaaa2a0f 100644 --- a/packages/@aws-cdk/aws-scheduler-targets-alpha/package.json +++ b/packages/@aws-cdk/aws-scheduler-targets-alpha/package.json @@ -85,7 +85,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "@aws-cdk/aws-scheduler-alpha": "0.0.0", "constructs": "^10.0.0", diff --git a/packages/@aws-cdk/aws-servicecatalogappregistry-alpha/package.json b/packages/@aws-cdk/aws-servicecatalogappregistry-alpha/package.json index 9728211c3a9eb..41448b63ab2c1 100644 --- a/packages/@aws-cdk/aws-servicecatalogappregistry-alpha/package.json +++ b/packages/@aws-cdk/aws-servicecatalogappregistry-alpha/package.json @@ -87,7 +87,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk-lib": "0.0.0", "constructs": "^10.0.0", "@aws-cdk/integ-tests-alpha": "0.0.0" diff --git a/packages/@aws-cdk/cdk-cli-wrapper/package.json b/packages/@aws-cdk/cdk-cli-wrapper/package.json index 6d649671da747..7f93bc7c2dfd3 100644 --- a/packages/@aws-cdk/cdk-cli-wrapper/package.json +++ b/packages/@aws-cdk/cdk-cli-wrapper/package.json @@ -27,7 +27,7 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "@aws-cdk/cdk-build-tools": "0.0.0", "jest": "^29.7.0", "@aws-cdk/pkglint": "0.0.0" diff --git a/packages/@aws-cdk/cli-lib-alpha/package.json b/packages/@aws-cdk/cli-lib-alpha/package.json index 885294af84d84..3e8212c9e92db 100644 --- a/packages/@aws-cdk/cli-lib-alpha/package.json +++ b/packages/@aws-cdk/cli-lib-alpha/package.json @@ -85,7 +85,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "aws-cdk-lib": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-cdk": "0.0.0", "constructs": "^10.0.0", "jest": "^29.7.0", diff --git a/packages/@aws-cdk/cloud-assembly-schema/package.json b/packages/@aws-cdk/cloud-assembly-schema/package.json index 950b10229b740..94903da5af738 100644 --- a/packages/@aws-cdk/cloud-assembly-schema/package.json +++ b/packages/@aws-cdk/cloud-assembly-schema/package.json @@ -82,13 +82,13 @@ "devDependencies": { "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", - "@types/mock-fs": "^4.13.2", - "@types/semver": "^7.5.3", + "@types/jest": "^29.5.8", + "@types/mock-fs": "^4.13.4", + "@types/semver": "^7.5.5", "aws-cdk-lib": "0.0.0", "jest": "^29.7.0", "mock-fs": "^4.14.0", - "typescript-json-schema": "^0.61.0" + "typescript-json-schema": "^0.62.0" }, "repository": { "url": "https://github.com/aws/aws-cdk.git", diff --git a/packages/@aws-cdk/cloudformation-diff/package.json b/packages/@aws-cdk/cloudformation-diff/package.json index 7501b94961229..8ef1211da8b84 100644 --- a/packages/@aws-cdk/cloudformation-diff/package.json +++ b/packages/@aws-cdk/cloudformation-diff/package.json @@ -34,9 +34,9 @@ "devDependencies": { "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "@types/string-width": "^4.0.1", - "fast-check": "^3.13.1", + "fast-check": "^3.13.2", "jest": "^29.7.0", "ts-jest": "^29.1.1" }, diff --git a/packages/@aws-cdk/custom-resource-handlers/package.json b/packages/@aws-cdk/custom-resource-handlers/package.json index e64caf9cc58d7..e93531da7483e 100644 --- a/packages/@aws-cdk/custom-resource-handlers/package.json +++ b/packages/@aws-cdk/custom-resource-handlers/package.json @@ -28,26 +28,26 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/pkglint": "0.0.0", "@aws-cdk/sdk-v2-to-v3-adapter": "0.0.0", - "@aws-sdk/client-ecs": "^3.421.0", - "@aws-sdk/client-kinesis": "^3.421.0", - "@aws-sdk/client-kms": "^3.421.0", - "@aws-sdk/client-redshift": "^3.445.0", - "@types/jest": "^29.5.5", + "@aws-sdk/client-ecs": "3.421.0", + "@aws-sdk/client-kinesis": "3.421.0", + "@aws-sdk/client-kms": "3.421.0", + "@aws-sdk/client-redshift": "3.421.0", + "@types/jest": "^29.5.8", "aws-sdk-client-mock": "^3.0.0", "aws-sdk-client-mock-jest": "^3.0.0", "aws-sdk-mock": "5.8.0", "jest": "^29.7.0", "sinon": "^9.2.4", - "nock": "^13.3.3", + "nock": "^13.3.8", "fs-extra": "^11.1.1", - "esbuild": "^0.19.4" + "esbuild": "^0.19.5" }, "dependencies": { - "@aws-sdk/client-lambda": "^3.421.0", - "@aws-sdk/client-synthetics": "^3.421.0", - "@aws-sdk/client-ecr": "^3.421.0", - "@aws-sdk/client-s3": "^3.421.0", - "aws-sdk": "^2.1466.0" + "@aws-sdk/client-lambda": "3.421.0", + "@aws-sdk/client-synthetics": "3.421.0", + "@aws-sdk/client-ecr": "3.421.0", + "@aws-sdk/client-s3": "3.421.0", + "aws-sdk": "^2.1492.0" }, "repository": { "url": "https://github.com/aws/aws-cdk.git", diff --git a/packages/@aws-cdk/cx-api/package.json b/packages/@aws-cdk/cx-api/package.json index 6b35899c35853..4254817ec51ea 100644 --- a/packages/@aws-cdk/cx-api/package.json +++ b/packages/@aws-cdk/cx-api/package.json @@ -89,9 +89,9 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/cloud-assembly-schema": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", - "@types/mock-fs": "^4.13.2", - "@types/semver": "^7.5.3", + "@types/jest": "^29.5.8", + "@types/mock-fs": "^4.13.4", + "@types/semver": "^7.5.5", "jest": "^29.7.0", "madge": "^5.0.2", "mock-fs": "^4.14.0" diff --git a/packages/@aws-cdk/example-construct-library/package.json b/packages/@aws-cdk/example-construct-library/package.json index b14a20d17e189..b8165ce6ea87b 100644 --- a/packages/@aws-cdk/example-construct-library/package.json +++ b/packages/@aws-cdk/example-construct-library/package.json @@ -77,7 +77,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "jest": "^29.7.0" }, "homepage": "https://github.com/aws/aws-cdk", diff --git a/packages/@aws-cdk/integ-runner/THIRD_PARTY_LICENSES b/packages/@aws-cdk/integ-runner/THIRD_PARTY_LICENSES index cea21478a9b60..d8ef1dece3769 100644 --- a/packages/@aws-cdk/integ-runner/THIRD_PARTY_LICENSES +++ b/packages/@aws-cdk/integ-runner/THIRD_PARTY_LICENSES @@ -167,7 +167,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ---------------- -** async@3.2.4 - https://www.npmjs.com/package/async/v/3.2.4 | MIT +** async@3.2.5 - https://www.npmjs.com/package/async/v/3.2.5 | MIT Copyright (c) 2010-2018 Caolan McMahon Permission is hereby granted, free of charge, to any person obtaining a copy @@ -202,7 +202,7 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH RE ---------------- -** aws-sdk@2.1466.0 - https://www.npmjs.com/package/aws-sdk/v/2.1466.0 | Apache-2.0 +** aws-sdk@2.1492.0 - https://www.npmjs.com/package/aws-sdk/v/2.1492.0 | Apache-2.0 AWS SDK for JavaScript Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. @@ -2533,7 +2533,7 @@ THE SOFTWARE. ---------------- -** universalify@2.0.0 - https://www.npmjs.com/package/universalify/v/2.0.0 | MIT +** universalify@2.0.1 - https://www.npmjs.com/package/universalify/v/2.0.1 | MIT (The MIT License) Copyright (c) 2017, Ryan Zimmerman @@ -2591,7 +2591,7 @@ OTHER DEALINGS IN THE SOFTWARE. ---------------- -** workerpool@6.5.0 - https://www.npmjs.com/package/workerpool/v/6.5.0 | Apache-2.0 +** workerpool@6.5.1 - https://www.npmjs.com/package/workerpool/v/6.5.1 | Apache-2.0 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ diff --git a/packages/@aws-cdk/integ-runner/package.json b/packages/@aws-cdk/integ-runner/package.json index 020ae532736c8..eb10dbf2f5e73 100644 --- a/packages/@aws-cdk/integ-runner/package.json +++ b/packages/@aws-cdk/integ-runner/package.json @@ -59,10 +59,10 @@ "aws-cdk-lib": "0.0.0", "@aws-cdk/pkglint": "0.0.0", "@types/fs-extra": "^9.0.13", - "@types/jest": "^29.5.5", - "@types/mock-fs": "^4.13.2", - "@types/workerpool": "^6.4.4", - "@types/yargs": "^15.0.16", + "@types/jest": "^29.5.8", + "@types/mock-fs": "^4.13.4", + "@types/workerpool": "^6.4.6", + "@types/yargs": "^15.0.18", "constructs": "^10.0.0", "mock-fs": "^4.14.0", "jest": "^29.7.0", @@ -78,7 +78,7 @@ "aws-cdk": "0.0.0", "chalk": "^4", "fs-extra": "^9.1.0", - "workerpool": "^6.5.0", + "workerpool": "^6.5.1", "yargs": "^16.2.0" }, "repository": { diff --git a/packages/@aws-cdk/integ-tests-alpha/package.json b/packages/@aws-cdk/integ-tests-alpha/package.json index ee66424fa1425..2a30db2b17712 100644 --- a/packages/@aws-cdk/integ-tests-alpha/package.json +++ b/packages/@aws-cdk/integ-tests-alpha/package.json @@ -70,20 +70,20 @@ "@aws-cdk/integ-runner": "0.0.0", "@aws-cdk/pkglint": "0.0.0", "@aws-cdk/sdk-v2-to-v3-adapter": "0.0.0", - "@aws-sdk/client-ec2": "^3.421.0", - "@aws-sdk/client-s3": "^3.421.0", - "@aws-sdk/client-sfn": "^3.421.0", - "@aws-sdk/types": "^3.418.0", + "@aws-sdk/client-ec2": "3.421.0", + "@aws-sdk/client-s3": "3.421.0", + "@aws-sdk/client-sfn": "3.421.0", + "@aws-sdk/types": "^3.433.0", "@types/fs-extra": "^9.0.13", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "aws-sdk-client-mock": "^3.0.0", "aws-sdk-client-mock-jest": "^3.0.0", "jest": "^29.7.0", - "nock": "^13.3.3", + "nock": "^13.3.8", "sinon": "^9.2.4", "aws-cdk-lib": "0.0.0", "node-fetch": "^2.7.0", - "@types/node-fetch": "^2.6.6", + "@types/node-fetch": "^2.6.9", "constructs": "^10.0.0" }, "dependencies": {}, diff --git a/packages/@aws-cdk/region-info/package.json b/packages/@aws-cdk/region-info/package.json index aba296ec6a878..2e61dca9730bc 100644 --- a/packages/@aws-cdk/region-info/package.json +++ b/packages/@aws-cdk/region-info/package.json @@ -84,7 +84,7 @@ "@aws-cdk/pkglint": "0.0.0", "aws-cdk-lib": "0.0.0", "@types/fs-extra": "^9.0.13", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "fs-extra": "^9.1.0" }, "repository": { diff --git a/packages/@aws-cdk/sdk-v2-to-v3-adapter/package.json b/packages/@aws-cdk/sdk-v2-to-v3-adapter/package.json index 2827016265188..c109e9347d249 100644 --- a/packages/@aws-cdk/sdk-v2-to-v3-adapter/package.json +++ b/packages/@aws-cdk/sdk-v2-to-v3-adapter/package.json @@ -27,9 +27,9 @@ "devDependencies": { "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@aws-sdk/client-s3": "^3.421.0", - "@smithy/types": "^2.3.3", - "@types/jest": "^29.5.5", + "@aws-sdk/client-s3": "3.421.0", + "@smithy/types": "^2.4.0", + "@types/jest": "^29.5.8", "jest": "^29.7.0" }, "dependencies": {}, diff --git a/packages/aws-cdk-lib/cloud-assembly-schema/schema/cloud-assembly.schema.json b/packages/aws-cdk-lib/cloud-assembly-schema/schema/cloud-assembly.schema.json index ada87b31af985..bfb369cfd2100 100644 --- a/packages/aws-cdk-lib/cloud-assembly-schema/schema/cloud-assembly.schema.json +++ b/packages/aws-cdk-lib/cloud-assembly-schema/schema/cloud-assembly.schema.json @@ -89,14 +89,14 @@ }, "ArtifactType": { "description": "Type of cloud artifact.", + "type": "string", "enum": [ + "none", "aws:cloudformation:stack", - "cdk:asset-manifest", - "cdk:cloud-assembly", "cdk:tree", - "none" - ], - "type": "string" + "cdk:asset-manifest", + "cdk:cloud-assembly" + ] }, "MetadataEntry": { "description": "A metadata entry in a cloud assembly artifact.", @@ -488,20 +488,20 @@ }, "ContextProvider": { "description": "Identifier for the context provider", + "type": "string", "enum": [ "ami", "availability-zones", - "endpoint-service-availability-zones", "hosted-zone", - "key-provider", + "ssm", + "vpc-provider", + "endpoint-service-availability-zones", "load-balancer", "load-balancer-listener", - "plugin", "security-group", - "ssm", - "vpc-provider" - ], - "type": "string" + "key-provider", + "plugin" + ] }, "ContextQueryProperties": { "anyOf": [ @@ -775,11 +775,11 @@ }, "LoadBalancerType": { "description": "Type of load balancer", + "type": "string", "enum": [ - "application", - "network" - ], - "type": "string" + "network", + "application" + ] }, "LoadBalancerListenerContextQuery": { "description": "Query input for looking up a load balancer listener", diff --git a/packages/aws-cdk-lib/cloud-assembly-schema/schema/cloud-assembly.version.json b/packages/aws-cdk-lib/cloud-assembly-schema/schema/cloud-assembly.version.json index 2313ab5436501..c5cb2e5de6344 100644 --- a/packages/aws-cdk-lib/cloud-assembly-schema/schema/cloud-assembly.version.json +++ b/packages/aws-cdk-lib/cloud-assembly-schema/schema/cloud-assembly.version.json @@ -1 +1 @@ -{"version":"34.0.0"} \ No newline at end of file +{"version":"35.0.0"} \ No newline at end of file diff --git a/packages/aws-cdk-lib/package.json b/packages/aws-cdk-lib/package.json index e34ed1f078a00..2dda5a5fa6ae6 100644 --- a/packages/aws-cdk-lib/package.json +++ b/packages/aws-cdk-lib/package.json @@ -127,7 +127,7 @@ "ignore": "^5.2.4", "jsonschema": "^1.4.1", "minimatch": "^3.1.2", - "punycode": "^2.3.0", + "punycode": "^2.3.1", "semver": "^7.5.4", "table": "^6.8.1", "yaml": "1.10.2" @@ -139,49 +139,49 @@ "@aws-cdk/pkglint": "0.0.0", "@aws-cdk/sdk-v2-to-v3-adapter": "0.0.0", "@aws-cdk/spec2cdk": "0.0.0", - "@aws-sdk/client-acm": "^3.421.0", - "@aws-sdk/client-account": "^3.421.0", - "@aws-sdk/client-codepipeline": "^3.421.0", - "@aws-sdk/client-cloudwatch-logs": "^3.421.0", - "@aws-sdk/client-dynamodb": "^3.421.0", - "@aws-sdk/client-ec2": "^3.421.0", - "@aws-sdk/client-ecr": "^3.421.0", - "@aws-sdk/client-eks": "^3.421.0", - "@aws-sdk/client-iam": "^3.421.0", - "@aws-sdk/client-lambda": "^3.421.0", - "@aws-sdk/client-route-53": "^3.421.0", - "@aws-sdk/client-s3": "^3.421.0", - "@aws-sdk/client-sfn": "^3.421.0", - "@aws-sdk/client-ssm": "^3.421.0", - "@aws-sdk/client-sts": "^3.421.0", - "@aws-sdk/credential-providers": "^3.421.0", + "@aws-sdk/client-acm": "3.421.0", + "@aws-sdk/client-account": "3.421.0", + "@aws-sdk/client-codepipeline": "3.421.0", + "@aws-sdk/client-cloudwatch-logs": "3.421.0", + "@aws-sdk/client-dynamodb": "3.421.0", + "@aws-sdk/client-ec2": "3.421.0", + "@aws-sdk/client-ecr": "3.421.0", + "@aws-sdk/client-eks": "3.421.0", + "@aws-sdk/client-iam": "3.421.0", + "@aws-sdk/client-lambda": "3.421.0", + "@aws-sdk/client-route-53": "3.421.0", + "@aws-sdk/client-s3": "3.421.0", + "@aws-sdk/client-sfn": "3.421.0", + "@aws-sdk/client-ssm": "3.421.0", + "@aws-sdk/client-sts": "3.421.0", + "@aws-sdk/credential-providers": "3.421.0", "@aws-sdk/node-http-handler": "^3.370.0", - "@aws-sdk/types": "^3.418.0", - "@smithy/util-stream": "^2.0.12", - "@types/aws-lambda": "^8.10.122", - "@types/jest": "^29.5.5", - "@types/lodash": "^4.14.199", - "@types/punycode": "^2.1.0", + "@aws-sdk/types": "^3.433.0", + "@smithy/util-stream": "^2.0.17", + "@types/aws-lambda": "^8.10.126", + "@types/jest": "^29.5.8", + "@types/lodash": "^4.14.201", + "@types/punycode": "^2.1.2", "@aws-cdk/lazify": "0.0.0", - "aws-sdk": "^2.1466.0", + "aws-sdk": "^2.1492.0", "aws-sdk-client-mock": "^3.0.0", "aws-sdk-client-mock-jest": "^3.0.0", "aws-sdk-mock": "5.8.0", - "cdk8s": "^2.64.23", + "cdk8s": "2.64.23", "constructs": "^10.0.0", "delay": "5.0.0", - "esbuild": "^0.19.4", - "fast-check": "^3.13.1", + "esbuild": "^0.19.5", + "fast-check": "^3.13.2", "jest": "^29.7.0", "jest-each": "^29.7.0", "lambda-tester": "^4.0.1", "lodash": "^4.17.21", - "nock": "^13.3.3", + "nock": "^13.3.8", "sinon": "^9.2.4", "ts-mock-imports": "^1.3.8", "ts-node": "^10.9.1", "typescript": "~5.1.6", - "typescript-json-schema": "^0.61.0" + "typescript-json-schema": "^0.62.0" }, "peerDependencies": { "constructs": "^10.0.0" diff --git a/packages/aws-cdk/THIRD_PARTY_LICENSES b/packages/aws-cdk/THIRD_PARTY_LICENSES index cf66d05dcfa6c..6e9b43d353092 100644 --- a/packages/aws-cdk/THIRD_PARTY_LICENSES +++ b/packages/aws-cdk/THIRD_PARTY_LICENSES @@ -1,6 +1,6 @@ The aws-cdk package includes the following third-party software/licensing: -** @jsii/check-node@1.89.0 - https://www.npmjs.com/package/@jsii/check-node/v/1.89.0 | Apache-2.0 +** @jsii/check-node@1.91.0 - https://www.npmjs.com/package/@jsii/check-node/v/1.91.0 | Apache-2.0 jsii Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. @@ -229,7 +229,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ---------------- -** async@3.2.4 - https://www.npmjs.com/package/async/v/3.2.4 | MIT +** async@3.2.5 - https://www.npmjs.com/package/async/v/3.2.5 | MIT Copyright (c) 2010-2018 Caolan McMahon Permission is hereby granted, free of charge, to any person obtaining a copy @@ -264,7 +264,7 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH RE ---------------- -** aws-sdk@2.1466.0 - https://www.npmjs.com/package/aws-sdk/v/2.1466.0 | Apache-2.0 +** aws-sdk@2.1492.0 - https://www.npmjs.com/package/aws-sdk/v/2.1492.0 | Apache-2.0 AWS SDK for JavaScript Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. @@ -461,7 +461,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ---------------- -** cdk-from-cfn@0.47.0 - https://www.npmjs.com/package/cdk-from-cfn/v/0.47.0 | MIT OR Apache-2.0 +** cdk-from-cfn@0.67.0 - https://www.npmjs.com/package/cdk-from-cfn/v/0.67.0 | MIT OR Apache-2.0 ---------------- @@ -867,7 +867,29 @@ OTHER DEALINGS IN THE SOFTWARE. ---------------- -** data-uri-to-buffer@5.0.1 - https://www.npmjs.com/package/data-uri-to-buffer/v/5.0.1 | MIT +** data-uri-to-buffer@6.0.1 - https://www.npmjs.com/package/data-uri-to-buffer/v/6.0.1 | MIT +(The MIT License) + +Copyright (c) 2014 Nathan Rajlich + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ---------------- @@ -1283,7 +1305,29 @@ the licensed code: ---------------- -** get-uri@6.0.1 - https://www.npmjs.com/package/get-uri/v/6.0.1 | MIT +** get-uri@6.0.2 - https://www.npmjs.com/package/get-uri/v/6.0.2 | MIT +(The MIT License) + +Copyright (c) 2014 Nathan Rajlich + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ---------------- @@ -3158,7 +3202,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ---------------- -** universalify@2.0.0 - https://www.npmjs.com/package/universalify/v/2.0.0 | MIT +** universalify@2.0.1 - https://www.npmjs.com/package/universalify/v/2.0.1 | MIT (The MIT License) Copyright (c) 2017, Ryan Zimmerman diff --git a/packages/aws-cdk/lib/init-templates/app/typescript/package.json b/packages/aws-cdk/lib/init-templates/app/typescript/package.json index 46e2f9c729642..3569fa1feb4e4 100644 --- a/packages/aws-cdk/lib/init-templates/app/typescript/package.json +++ b/packages/aws-cdk/lib/init-templates/app/typescript/package.json @@ -11,8 +11,8 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.5", - "@types/node": "20.7.1", + "@types/jest": "^29.5.8", + "@types/node": "20.9.0", "jest": "^29.7.0", "ts-jest": "^29.1.1", "aws-cdk": "%cdk-version%", diff --git a/packages/aws-cdk/lib/init-templates/lib/typescript/package.json b/packages/aws-cdk/lib/init-templates/lib/typescript/package.json index 452aa05a1d313..b73c8f633762d 100644 --- a/packages/aws-cdk/lib/init-templates/lib/typescript/package.json +++ b/packages/aws-cdk/lib/init-templates/lib/typescript/package.json @@ -9,8 +9,8 @@ "test": "jest" }, "devDependencies": { - "@types/jest": "^29.5.5", - "@types/node": "20.7.1", + "@types/jest": "^29.5.8", + "@types/node": "20.9.0", "aws-cdk-lib": "%cdk-version%", "constructs": "%constructs-version%", "jest": "^29.7.0", diff --git a/packages/aws-cdk/lib/init-templates/sample-app/typescript/package.json b/packages/aws-cdk/lib/init-templates/sample-app/typescript/package.json index a7bb7405349b2..b613b33fe29bb 100644 --- a/packages/aws-cdk/lib/init-templates/sample-app/typescript/package.json +++ b/packages/aws-cdk/lib/init-templates/sample-app/typescript/package.json @@ -11,8 +11,8 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.5", - "@types/node": "20.7.1", + "@types/jest": "^29.5.8", + "@types/node": "20.9.0", "jest": "^29.7.0", "ts-jest": "^29.1.1", "aws-cdk": "%cdk-version%", diff --git a/packages/aws-cdk/package.json b/packages/aws-cdk/package.json index ee75134ab3f0f..ce53e451ad6c3 100644 --- a/packages/aws-cdk/package.json +++ b/packages/aws-cdk/package.json @@ -67,29 +67,29 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/pkglint": "0.0.0", "@octokit/rest": "^18.12.0", - "@types/archiver": "^5.3.3", + "@types/archiver": "^5.3.4", "@types/fs-extra": "^9.0.13", "@types/glob": "^7.2.0", - "@types/jest": "^29.5.5", - "@types/mockery": "^1.4.31", - "@types/promptly": "^3.0.3", - "@types/semver": "^7.5.3", + "@types/jest": "^29.5.8", + "@types/mockery": "^1.4.33", + "@types/promptly": "^3.0.5", + "@types/semver": "^7.5.5", "@types/sinon": "^9.0.11", - "@types/source-map-support": "^0.5.8", + "@types/source-map-support": "^0.5.10", "@types/table": "^6.0.0", "@types/uuid": "^8.3.4", "@types/wrap-ansi": "^3.0.0", - "@types/yargs": "^15.0.16", + "@types/yargs": "^15.0.18", "aws-cdk-lib": "0.0.0", "aws-sdk-mock": "5.6.0", "axios": "^0.27.2", "constructs": "^10.0.0", - "fast-check": "^3.13.1", + "fast-check": "^3.13.2", "jest": "^29.7.0", "jest-mock": "^29.7.0", "madge": "^5.0.2", "make-runnable": "^1.4.1", - "nock": "^13.3.3", + "nock": "^13.3.8", "sinon": "^9.2.4", "ts-jest": "^29.1.1", "ts-mock-imports": "^1.3.8", @@ -100,12 +100,12 @@ "@aws-cdk/cloudformation-diff": "0.0.0", "@aws-cdk/cx-api": "0.0.0", "@aws-cdk/region-info": "0.0.0", - "@jsii/check-node": "1.89.0", + "@jsii/check-node": "1.91.0", "archiver": "^5.3.2", - "aws-sdk": "^2.1466.0", + "aws-sdk": "^2.1492.0", "camelcase": "^6.3.0", "cdk-assets": "0.0.0", - "cdk-from-cfn": "^0.47.0", + "cdk-from-cfn": "^0.67.0", "chalk": "^4", "chokidar": "^3.5.3", "decamelize": "^5.0.1", diff --git a/packages/awslint/package.json b/packages/awslint/package.json index 99e47893dbd78..452e232c9f3af 100644 --- a/packages/awslint/package.json +++ b/packages/awslint/package.json @@ -18,26 +18,26 @@ "awslint": "bin/awslint" }, "dependencies": { - "@jsii/spec": "1.89.0", + "@jsii/spec": "1.91.0", "camelcase": "^6.3.0", "chalk": "^4", "fs-extra": "^9.1.0", - "jsii-reflect": "1.89.0", + "jsii-reflect": "1.91.0", "yargs": "^16.2.0" }, "devDependencies": { "@types/fs-extra": "^9.0.13", - "@types/jest": "^29.5.5", - "@types/yargs": "^15.0.16", + "@types/jest": "^29.5.8", + "@types/yargs": "^15.0.18", "@aws-cdk/pkglint": "0.0.0", "typescript": "~5.1.6", - "@typescript-eslint/eslint-plugin": "^6.7.3", - "@typescript-eslint/parser": "^6.7.3", + "@typescript-eslint/eslint-plugin": "^6.10.0", + "@typescript-eslint/parser": "^6.10.0", "eslint": "^7.32.0", "eslint-import-resolver-node": "^0.3.9", "eslint-import-resolver-typescript": "^2.7.1", "@aws-cdk/eslint-plugin": "0.0.0", - "eslint-plugin-import": "^2.28.1", + "eslint-plugin-import": "^2.29.0", "eslint-plugin-jest": "^24.7.0", "jest": "^29.7.0" }, diff --git a/packages/cdk-assets/package.json b/packages/cdk-assets/package.json index 5f05c4a6f3483..a1d88d22aeeee 100644 --- a/packages/cdk-assets/package.json +++ b/packages/cdk-assets/package.json @@ -30,12 +30,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/archiver": "^5.3.3", + "@types/archiver": "^5.3.4", "@types/glob": "^7.2.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "@types/mime": "^2.0.3", - "@types/mock-fs": "^4.13.2", - "@types/yargs": "^15.0.16", + "@types/mock-fs": "^4.13.4", + "@types/yargs": "^15.0.18", "@aws-cdk/cdk-build-tools": "0.0.0", "jest": "^29.7.0", "jszip": "^3.10.1", @@ -46,7 +46,7 @@ "@aws-cdk/cloud-assembly-schema": "0.0.0", "@aws-cdk/cx-api": "0.0.0", "archiver": "^5.3.2", - "aws-sdk": "^2.1466.0", + "aws-sdk": "^2.1492.0", "glob": "^7.2.3", "mime": "^2.6.0", "yargs": "^16.2.0" diff --git a/tools/@aws-cdk/cdk-build-tools/package.json b/tools/@aws-cdk/cdk-build-tools/package.json index 353c04691cd8f..e7b35ce483822 100644 --- a/tools/@aws-cdk/cdk-build-tools/package.json +++ b/tools/@aws-cdk/cdk-build-tools/package.json @@ -37,9 +37,9 @@ "devDependencies": { "@aws-cdk/pkglint": "0.0.0", "@types/fs-extra": "^9.0.13", - "@types/jest": "^29.5.5", - "@types/semver": "^7.5.3", - "@types/yargs": "^15.0.16", + "@types/jest": "^29.5.8", + "@types/semver": "^7.5.5", + "@types/yargs": "^15.0.18", "jest-resolve": "^29.7.0" }, "main": "lib/index.js", @@ -47,22 +47,22 @@ "@aws-cdk/eslint-plugin": "0.0.0", "@aws-cdk/yarn-cling": "0.0.0", "@aws-cdk/node-bundle": "0.0.0", - "@typescript-eslint/eslint-plugin": "^6.7.3", - "@typescript-eslint/parser": "^6.7.3", + "@typescript-eslint/eslint-plugin": "^6.10.0", + "@typescript-eslint/parser": "^6.10.0", "awslint": "0.0.0", "chalk": "^4", "eslint": "^7.32.0", "eslint-import-resolver-node": "^0.3.9", "eslint-import-resolver-typescript": "^2.7.1", - "eslint-plugin-import": "^2.28.1", + "eslint-plugin-import": "^2.29.0", "eslint-plugin-jest": "^24.7.0", "fs-extra": "^9.1.0", "glob": "^7.2.3", "jest": "^29.7.0", "jest-junit": "^13.2.0", - "jsii": "~5.2.9", - "jsii-pacmak": "1.89.0", - "jsii-reflect": "1.89.0", + "jsii": "~5.2.26", + "jsii-pacmak": "1.91.0", + "jsii-reflect": "1.91.0", "markdownlint-cli": "^0.37.0", "nyc": "^15.1.0", "semver": "^7.5.4", diff --git a/tools/@aws-cdk/cdk-release/package.json b/tools/@aws-cdk/cdk-release/package.json index 008311530c202..a75f8753e7670 100644 --- a/tools/@aws-cdk/cdk-release/package.json +++ b/tools/@aws-cdk/cdk-release/package.json @@ -30,10 +30,10 @@ "devDependencies": { "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/changelog-parser": "^2.8.2", + "@types/changelog-parser": "^2.8.4", "@types/fs-extra": "^9.0.13", - "@types/jest": "^29.5.5", - "@types/yargs": "^15.0.16", + "@types/jest": "^29.5.8", + "@types/yargs": "^15.0.18", "jest": "^29.7.0" }, "dependencies": { diff --git a/tools/@aws-cdk/eslint-plugin/package.json b/tools/@aws-cdk/eslint-plugin/package.json index aa843038b0c40..cf10ce0a1c1ec 100644 --- a/tools/@aws-cdk/eslint-plugin/package.json +++ b/tools/@aws-cdk/eslint-plugin/package.json @@ -16,13 +16,13 @@ "devDependencies": { "@types/eslint": "^7.29.0", "@types/fs-extra": "^9.0.13", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "@types/estree": "*", "jest": "^29.7.0", "typescript": "~5.1.6" }, "dependencies": { - "@typescript-eslint/parser": "^6.7.3", + "@typescript-eslint/parser": "^6.10.0", "eslint": "^7.32.0", "fs-extra": "^9.1.0" }, diff --git a/tools/@aws-cdk/lazify/package.json b/tools/@aws-cdk/lazify/package.json index df43ae372f900..0e00392e402e3 100644 --- a/tools/@aws-cdk/lazify/package.json +++ b/tools/@aws-cdk/lazify/package.json @@ -15,7 +15,7 @@ "watch": "tsc --build -w tsconfig.dev.json" }, "devDependencies": { - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "@types/node": "^16", "@aws-cdk/cdk-build-tools": "0.0.0", "jest": "^29", @@ -24,7 +24,7 @@ "cjs-module-lexer": "^1.2.3" }, "dependencies": { - "esbuild": "^0.19.4", + "esbuild": "^0.19.5", "fs-extra": "^10.1.0", "yargs": "^17.7.2" }, diff --git a/tools/@aws-cdk/node-bundle/package.json b/tools/@aws-cdk/node-bundle/package.json index 7973c198108e6..ddef632b99b81 100644 --- a/tools/@aws-cdk/node-bundle/package.json +++ b/tools/@aws-cdk/node-bundle/package.json @@ -13,16 +13,16 @@ "watch": "tsc --build -w tsconfig.dev.json" }, "devDependencies": { - "@types/jest": "^29.5.5", - "@types/license-checker": "^25.0.4", - "@types/madge": "^5.0.1", + "@types/jest": "^29.5.8", + "@types/license-checker": "^25.0.6", + "@types/madge": "^5.0.3", "@types/node": "^16", - "@typescript-eslint/eslint-plugin": "^6.7.3", - "@typescript-eslint/parser": "^6.7.3", + "@typescript-eslint/eslint-plugin": "^6.10.0", + "@typescript-eslint/parser": "^6.10.0", "eslint": "^8", "eslint-import-resolver-node": "^0.3.9", "eslint-import-resolver-typescript": "^2.7.1", - "eslint-plugin-import": "^2.28.1", + "eslint-plugin-import": "^2.29.0", "jest": "^29", "jest-junit": "^15", "npm-check-updates": "^16", @@ -31,7 +31,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "esbuild": "^0.19.4", + "esbuild": "^0.19.5", "fs-extra": "^10.1.0", "license-checker": "^25.0.1", "madge": "^5.0.2", diff --git a/tools/@aws-cdk/pkglint/package.json b/tools/@aws-cdk/pkglint/package.json index d86e626622193..c49213649917b 100644 --- a/tools/@aws-cdk/pkglint/package.json +++ b/tools/@aws-cdk/pkglint/package.json @@ -40,15 +40,15 @@ "@aws-cdk/eslint-plugin": "0.0.0", "@types/fs-extra": "^9.0.13", "@types/glob": "^7.2.0", - "@types/jest": "^29.5.5", - "@types/semver": "^7.5.3", - "@types/yargs": "^15.0.16", - "@typescript-eslint/eslint-plugin": "^6.7.3", - "@typescript-eslint/parser": "^6.7.3", + "@types/jest": "^29.5.8", + "@types/semver": "^7.5.5", + "@types/yargs": "^15.0.18", + "@typescript-eslint/eslint-plugin": "^6.10.0", + "@typescript-eslint/parser": "^6.10.0", "eslint": "^7.32.0", "eslint-import-resolver-node": "^0.3.9", "eslint-import-resolver-typescript": "^2.7.1", - "eslint-plugin-import": "^2.28.1", + "eslint-plugin-import": "^2.29.0", "eslint-plugin-jest": "^24.7.0", "jest": "^29.7.0", "typescript": "~5.1.6" diff --git a/tools/@aws-cdk/pkgtools/package.json b/tools/@aws-cdk/pkgtools/package.json index 4f25d673846c2..84f8a3fd479d3 100644 --- a/tools/@aws-cdk/pkgtools/package.json +++ b/tools/@aws-cdk/pkgtools/package.json @@ -34,7 +34,7 @@ "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/pkglint": "0.0.0", "@types/fs-extra": "^9.0.13", - "@types/yargs": "^15.0.16" + "@types/yargs": "^15.0.18" }, "dependencies": { "fs-extra": "^9.1.0", diff --git a/tools/@aws-cdk/prlint/package.json b/tools/@aws-cdk/prlint/package.json index 1261343f0d13e..e75ac7e34a1d6 100644 --- a/tools/@aws-cdk/prlint/package.json +++ b/tools/@aws-cdk/prlint/package.json @@ -22,14 +22,14 @@ "@types/conventional-commits-parser": "3.0.2", "@types/fs-extra": "^9.0.13", "@types/glob": "^7.2.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "jest": "^29.7.0", "make-runnable": "^1.4.1", "typescript": "~5.1.6", "eslint": "^7.32.0", "eslint-import-resolver-node": "^0.3.9", "eslint-import-resolver-typescript": "^2.7.1", - "eslint-plugin-import": "^2.28.1", + "eslint-plugin-import": "^2.29.0", "eslint-plugin-jest": "^24.7.0" }, "jest": { diff --git a/tools/@aws-cdk/spec2cdk/package.json b/tools/@aws-cdk/spec2cdk/package.json index 094f0e15ebecc..63aa6d602308c 100644 --- a/tools/@aws-cdk/spec2cdk/package.json +++ b/tools/@aws-cdk/spec2cdk/package.json @@ -35,8 +35,8 @@ "@aws-cdk/aws-service-spec": "^0.0.26", "@aws-cdk/service-spec-importers": "^0.0.4", "@aws-cdk/service-spec-types": "^0.0.26", - "@cdklabs/tskb": "^0.0.1", - "@cdklabs/typewriter": "^0.0.2", + "@cdklabs/tskb": "^0.0.3", + "@cdklabs/typewriter": "^0.0.3", "camelcase": "^6", "fs-extra": "^9", "yargs": "^16.2.0" @@ -44,7 +44,7 @@ "devDependencies": { "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "@types/node": "^18", "jest": "^29.7.0" }, diff --git a/tools/@aws-cdk/yarn-cling/package.json b/tools/@aws-cdk/yarn-cling/package.json index f7b77697b1dcf..36362329b1f57 100644 --- a/tools/@aws-cdk/yarn-cling/package.json +++ b/tools/@aws-cdk/yarn-cling/package.json @@ -38,10 +38,10 @@ }, "devDependencies": { "@aws-cdk/pkglint": "0.0.0", - "@types/jest": "^29.5.5", + "@types/jest": "^29.5.8", "@types/node": "18.11.19", - "@types/semver": "^7.5.3", - "@types/yarnpkg__lockfile": "^1.1.7", + "@types/semver": "^7.5.5", + "@types/yarnpkg__lockfile": "^1.1.9", "jest": "^29.7.0", "typescript": "~5.1.6" }, diff --git a/yarn.lock b/yarn.lock index cf2d68b5cfacb..35f1bdcb0fe97 100644 --- a/yarn.lock +++ b/yarn.lock @@ -26,11 +26,12 @@ "@octokit/plugin-rest-endpoint-methods" "^5.13.0" "@actions/http-client@^2.0.1": - version "2.1.1" - resolved "https://registry.npmjs.org/@actions/http-client/-/http-client-2.1.1.tgz#a8e97699c315bed0ecaeaaeb640948470d4586a0" - integrity sha512-qhrkRMB40bbbLo7gF+0vu+X+UawOvQQqNAA/5Unx774RS8poaOhThDOG6BGmxvAnxhQnDp2BG/ZUm65xZILTpw== + version "2.2.0" + resolved "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.0.tgz#f8239f375be6185fcd07765efdcf0031ad5df1a0" + integrity sha512-q+epW0trjVUUHboliPb4UF9g2msf+w61b32tAkFEwL/IwP0DQWgbCMM0Hbe3e3WXSKz5VcUXbzJQgy8Hkra/Lg== dependencies: tunnel "^0.0.6" + undici "^5.25.4" "@ampproject/remapping@^2.2.0": version "2.2.1" @@ -168,7 +169,7 @@ "@aws-sdk/util-utf8-browser" "^3.0.0" tslib "^1.11.1" -"@aws-sdk/client-account@^3.421.0": +"@aws-sdk/client-account@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-account/-/client-account-3.421.0.tgz#54c10aea19cc7716f5da80d9d5deffad860d6968" integrity sha512-hEMg4NxV4p1hcn1DR4rxzXrj7vkz9UQl5BO8i4zIS8Oi7nTSP+8MHTK24SJ/h+bcJBJOTMphVCUBrHyCQgaEIg== @@ -211,7 +212,7 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" -"@aws-sdk/client-acm@3.421.0", "@aws-sdk/client-acm@^3.421.0": +"@aws-sdk/client-acm@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-acm/-/client-acm-3.421.0.tgz#9b80383232d7d8f82d26bf0ec0f3841de33254e6" integrity sha512-2qC1cc4ykNOFmg8t3svWwIZOxxuOkcqucFyBsFABNvcUtdwOdmPJppnjUxZFohOxSzMXLiGPReZPz/5QZEKaQg== @@ -255,7 +256,7 @@ "@smithy/util-waiter" "^2.0.9" tslib "^2.5.0" -"@aws-sdk/client-amplify@^3.421.0": +"@aws-sdk/client-amplify@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-amplify/-/client-amplify-3.421.0.tgz#2689cd92c659c313819d54a8013b95d6760e708e" integrity sha512-d6cZH0tWeVVp9nku44Qvvw8Dxtsrb1EoWccyTPzjNuAvoe9/jmK7u21LrHyxihWCB0dLE3W5buN/GVtBJw7/pw== @@ -298,7 +299,7 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" -"@aws-sdk/client-cloudwatch-logs@^3.421.0": +"@aws-sdk/client-cloudwatch-logs@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-cloudwatch-logs/-/client-cloudwatch-logs-3.421.0.tgz#90de138ba92487ee8d6ac989994c62c5c5e64f3d" integrity sha512-wCG5aqXzVH9M6Eo7vMHOD15j9EII0h8pWzxnC6sqOGChhgd4/3IFIra5REBFHYH3XvtpQn0qjTSOFMCvMqg7vg== @@ -342,7 +343,7 @@ tslib "^2.5.0" uuid "^8.3.2" -"@aws-sdk/client-codepipeline@^3.421.0": +"@aws-sdk/client-codepipeline@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-codepipeline/-/client-codepipeline-3.421.0.tgz#d5afaf6f3adaa5ca41770d7ec6a13a8662d53344" integrity sha512-X24n1KZk9RuAoDd659N56XyLjGiv1RyE0uHgo5hQOhI3hxgEuwgTnnb61nq6oBELa83Eu33gaKG6G1ukayVv/w== @@ -429,7 +430,7 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" -"@aws-sdk/client-dynamodb@^3.421.0": +"@aws-sdk/client-dynamodb@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-dynamodb/-/client-dynamodb-3.421.0.tgz#f41ecf81a8b5192b5a3f24ec4746d6d7e0436a7b" integrity sha512-TXyKvEYAxoz3LNpXSvPaLp139X06yzz35SNzKKNt/z7lfbmZ/jY7jVK4nur/Y5GSSlL+duW5yeS4iqq67kdl9Q== @@ -475,7 +476,7 @@ tslib "^2.5.0" uuid "^8.3.2" -"@aws-sdk/client-ec2@^3.421.0": +"@aws-sdk/client-ec2@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-ec2/-/client-ec2-3.421.0.tgz#9755ed88ed265344d38377600dff9b161811a553" integrity sha512-TOB0d123LhQn3Zi9QNzCi9tCF3NIc+mNUTO+ZkgXRZSkSZ+NnyARZjwKR4x3+HKLsLsebnLV9lJWjCQo42pNOA== @@ -522,7 +523,7 @@ tslib "^2.5.0" uuid "^8.3.2" -"@aws-sdk/client-ecr@^3.421.0": +"@aws-sdk/client-ecr@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-ecr/-/client-ecr-3.421.0.tgz#bb752b31fdf4029f16a501d5d16f95d47e07f4dd" integrity sha512-Xb2vnuUUXFZ1bD1uAWYMPG09y6wf6lxUddWXNwXd4b7+DznkaE46TdYSlDR+hvqCj+h8hC23bqy60PY84Fml7A== @@ -566,7 +567,7 @@ "@smithy/util-waiter" "^2.0.9" tslib "^2.5.0" -"@aws-sdk/client-ecs@^3.421.0": +"@aws-sdk/client-ecs@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-ecs/-/client-ecs-3.421.0.tgz#31b87894a827728cf6dd1c58406eaf42e8eb9ea4" integrity sha512-HhZgx/loBiTLCeUnkmIHi1WHwz3arbME9bwAW1BWUNLQeaIqeOzh4sZgm+jrr0/MjybQUMFTsEAxVxQk+cX4RQ== @@ -610,7 +611,7 @@ "@smithy/util-waiter" "^2.0.9" tslib "^2.5.0" -"@aws-sdk/client-eks@^3.421.0": +"@aws-sdk/client-eks@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-eks/-/client-eks-3.421.0.tgz#b47f701498c7d3babff6f358a677128cd3ae864d" integrity sha512-56vy/qBquCnjHWVvOOyzr8NwNx7xTEvRZ7au1NZaZv0EYrd7Dyon9vHT5i9blZ+sMl1ZHTwU/y1W5RTVqv/1+g== @@ -655,7 +656,7 @@ tslib "^2.5.0" uuid "^8.3.2" -"@aws-sdk/client-iam@^3.421.0": +"@aws-sdk/client-iam@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-iam/-/client-iam-3.421.0.tgz#37b6357100a362ef48eb05816aca941af2eb7343" integrity sha512-ZpIN6Q6VWPOmuZ4YQLMAJKIYbH2j6eEPT23X/M14hNrMwc8hFnT4OfkRgH0h0Ud+t4VPyL++Jsq5Ft0NRL1QWg== @@ -700,7 +701,7 @@ fast-xml-parser "4.2.5" tslib "^2.5.0" -"@aws-sdk/client-kinesis@^3.421.0": +"@aws-sdk/client-kinesis@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-kinesis/-/client-kinesis-3.421.0.tgz#8fca51dc0e9f82e9e8d9f76569cd041175b1a9fe" integrity sha512-Tv3AlCJoasQOBKkbQbszqSc/sO+yIO/A7xMqckeIWBPFM++To7Q/h1I9I+6aFEcVLxKdhIj7gvuQfiD0CXS+pw== @@ -747,7 +748,7 @@ "@smithy/util-waiter" "^2.0.9" tslib "^2.5.0" -"@aws-sdk/client-kms@^3.421.0": +"@aws-sdk/client-kms@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-kms/-/client-kms-3.421.0.tgz#223ecb5a1ad821c06085d9238ceb69df2d0b28c0" integrity sha512-VsjpIk6PE4+0jI5oHe6GhoY285xhbKVpa9/z0q10dnWTmwzW05bPAoD6bGi/5tZDjvgUdDSencC+x0yVhY+9bw== @@ -790,7 +791,7 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" -"@aws-sdk/client-lambda@^3.421.0": +"@aws-sdk/client-lambda@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-lambda/-/client-lambda-3.421.0.tgz#cf6736abdd4ceffae213490f1310c04b10360fe0" integrity sha512-cMk7JeQlyoeIxabVsZXr3rwIfgxSL4kJpoDgFu8q+hnifOdgD8gP6AhMfYu+NMroXjUntXu+ZJbo5eBTn80OtQ== @@ -884,7 +885,7 @@ fast-xml-parser "4.2.5" tslib "^2.5.0" -"@aws-sdk/client-redshift-data@^3.421.0": +"@aws-sdk/client-redshift-data@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-redshift-data/-/client-redshift-data-3.421.0.tgz#6faa9e240c309f5e87a7e6e3544edaac347bbff5" integrity sha512-tTje4+XXBOtYS5A8OICVF18HptotXzLEOooJFLC5XgqcVN7dxYvYAxWx3VzUkl2qAvWpJEGg3Dj8ylBRL+g6zA== @@ -928,7 +929,7 @@ tslib "^2.5.0" uuid "^8.3.2" -"@aws-sdk/client-redshift@^3.421.0": +"@aws-sdk/client-redshift@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-redshift/-/client-redshift-3.421.0.tgz#3cb3e7ca7a49eb2262b7114e778304d05cd34739" integrity sha512-mqnDxz7v13JOR/4GTqFzRpEA5LC42AYnemPF9KGsqeV6s7qCKySuTc/FX+hhlXy9Ivm/BiDulobjYqkf8bUJew== @@ -973,54 +974,7 @@ fast-xml-parser "4.2.5" tslib "^2.5.0" -"@aws-sdk/client-redshift@^3.445.0": - version "3.445.0" - resolved "https://registry.npmjs.org/@aws-sdk/client-redshift/-/client-redshift-3.445.0.tgz#b184fc2db65a70000c2754ea114fca6ba81cf683" - integrity sha512-gGmxnLlJwk/MyPmL/vviCCtx1AoRbkton9vy0rq1DVHD2n8iYD6jKa/X9M3MC7hNGGQ0ByxPyT3cdBk8MyqBmg== - dependencies: - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/client-sts" "3.445.0" - "@aws-sdk/core" "3.445.0" - "@aws-sdk/credential-provider-node" "3.445.0" - "@aws-sdk/middleware-host-header" "3.433.0" - "@aws-sdk/middleware-logger" "3.433.0" - "@aws-sdk/middleware-recursion-detection" "3.433.0" - "@aws-sdk/middleware-signing" "3.433.0" - "@aws-sdk/middleware-user-agent" "3.438.0" - "@aws-sdk/region-config-resolver" "3.433.0" - "@aws-sdk/types" "3.433.0" - "@aws-sdk/util-endpoints" "3.438.0" - "@aws-sdk/util-user-agent-browser" "3.433.0" - "@aws-sdk/util-user-agent-node" "3.437.0" - "@smithy/config-resolver" "^2.0.16" - "@smithy/fetch-http-handler" "^2.2.4" - "@smithy/hash-node" "^2.0.12" - "@smithy/invalid-dependency" "^2.0.12" - "@smithy/middleware-content-length" "^2.0.14" - "@smithy/middleware-endpoint" "^2.1.3" - "@smithy/middleware-retry" "^2.0.18" - "@smithy/middleware-serde" "^2.0.12" - "@smithy/middleware-stack" "^2.0.6" - "@smithy/node-config-provider" "^2.1.3" - "@smithy/node-http-handler" "^2.1.8" - "@smithy/protocol-http" "^3.0.8" - "@smithy/smithy-client" "^2.1.12" - "@smithy/types" "^2.4.0" - "@smithy/url-parser" "^2.0.12" - "@smithy/util-base64" "^2.0.0" - "@smithy/util-body-length-browser" "^2.0.0" - "@smithy/util-body-length-node" "^2.1.0" - "@smithy/util-defaults-mode-browser" "^2.0.16" - "@smithy/util-defaults-mode-node" "^2.0.21" - "@smithy/util-endpoints" "^1.0.2" - "@smithy/util-retry" "^2.0.5" - "@smithy/util-utf8" "^2.0.0" - "@smithy/util-waiter" "^2.0.12" - fast-xml-parser "4.2.5" - tslib "^2.5.0" - -"@aws-sdk/client-route-53@^3.421.0": +"@aws-sdk/client-route-53@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-route-53/-/client-route-53-3.421.0.tgz#5bd03a46c0978d53193b628f320f753bf3e1dc14" integrity sha512-JVV3XIT+AVYyoFv/cmsuAKEtFyKVXJ6LQQ2LnR3Z0FcKNzpZCbZlZmiYTeNl7y8ZNcLr5V9T1QIJa4HfZov3pw== @@ -1067,7 +1021,7 @@ fast-xml-parser "4.2.5" tslib "^2.5.0" -"@aws-sdk/client-s3@3.421.0", "@aws-sdk/client-s3@^3.421.0": +"@aws-sdk/client-s3@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.421.0.tgz#cf0e4a5e394c55463839b405af9dc6e3271509e4" integrity sha512-vUXTY4toeHDf5EY2kOn04Ww9vTW2IVGy4+cymFp1cz5QT7g9KKj4Okj5DMdPld2y7wjgc+J/viTWEf26By49vw== @@ -1128,7 +1082,7 @@ fast-xml-parser "4.2.5" tslib "^2.5.0" -"@aws-sdk/client-secrets-manager@^3.421.0": +"@aws-sdk/client-secrets-manager@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-secrets-manager/-/client-secrets-manager-3.421.0.tgz#f836505d5c8ecdfdc0447c88e2a5a1b1c99ea906" integrity sha512-uwoSstFm+A60f2/CuIDHqTJdYm4hPMNCzkI3J/pKoD4A6suLIoJ9lEKGV3fdeL456vir4RTwiJG6Llzo+zI+nA== @@ -1172,7 +1126,7 @@ tslib "^2.5.0" uuid "^8.3.2" -"@aws-sdk/client-sfn@^3.421.0": +"@aws-sdk/client-sfn@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-sfn/-/client-sfn-3.421.0.tgz#f39cb5f0c0907252697f31dd457d225b1b8aa0c9" integrity sha512-L+1vZMaqHEaVI7VeYtdEIjYeRnQRDf9ctc3YSPB2o0YayGUvxwqimuSUkYLoGVyVd/WQCc+glS+WWmbQzR2oHg== @@ -1215,7 +1169,7 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" -"@aws-sdk/client-ssm@^3.421.0": +"@aws-sdk/client-ssm@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-ssm/-/client-ssm-3.421.0.tgz#0bb2c73a2028a6fcc7497cff4651392f0e412dd2" integrity sha512-xdysVX+b0kmt8uEAIlkWNqyvYKVHFQepDlERHa9sXxPB8KEdzgm/To+WlAHE0Ujg6ju0Vf4FZdKA5k/+1Pbydw== @@ -1300,49 +1254,7 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" -"@aws-sdk/client-sso@3.445.0": - version "3.445.0" - resolved "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.445.0.tgz#6ab3aeeb75046c94646a0f242d0e0676bd7f6cce" - integrity sha512-me4LvqNnu6kxi+sW7t0AgMv1Yi64ikas0x2+5jv23o6Csg32w0S0xOjCTKQYahOA5CMFunWvlkFIfxbqs+Uo7w== - dependencies: - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/core" "3.445.0" - "@aws-sdk/middleware-host-header" "3.433.0" - "@aws-sdk/middleware-logger" "3.433.0" - "@aws-sdk/middleware-recursion-detection" "3.433.0" - "@aws-sdk/middleware-user-agent" "3.438.0" - "@aws-sdk/region-config-resolver" "3.433.0" - "@aws-sdk/types" "3.433.0" - "@aws-sdk/util-endpoints" "3.438.0" - "@aws-sdk/util-user-agent-browser" "3.433.0" - "@aws-sdk/util-user-agent-node" "3.437.0" - "@smithy/config-resolver" "^2.0.16" - "@smithy/fetch-http-handler" "^2.2.4" - "@smithy/hash-node" "^2.0.12" - "@smithy/invalid-dependency" "^2.0.12" - "@smithy/middleware-content-length" "^2.0.14" - "@smithy/middleware-endpoint" "^2.1.3" - "@smithy/middleware-retry" "^2.0.18" - "@smithy/middleware-serde" "^2.0.12" - "@smithy/middleware-stack" "^2.0.6" - "@smithy/node-config-provider" "^2.1.3" - "@smithy/node-http-handler" "^2.1.8" - "@smithy/protocol-http" "^3.0.8" - "@smithy/smithy-client" "^2.1.12" - "@smithy/types" "^2.4.0" - "@smithy/url-parser" "^2.0.12" - "@smithy/util-base64" "^2.0.0" - "@smithy/util-body-length-browser" "^2.0.0" - "@smithy/util-body-length-node" "^2.1.0" - "@smithy/util-defaults-mode-browser" "^2.0.16" - "@smithy/util-defaults-mode-node" "^2.0.21" - "@smithy/util-endpoints" "^1.0.2" - "@smithy/util-retry" "^2.0.5" - "@smithy/util-utf8" "^2.0.0" - tslib "^2.5.0" - -"@aws-sdk/client-sts@3.421.0", "@aws-sdk/client-sts@^3.421.0": +"@aws-sdk/client-sts@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.421.0.tgz#1c7b3265be3acb609159533c24421da4e9466570" integrity sha512-/92NOZMcdkBcvGrINk5B/l+6DGcVzYE4Ab3ME4vcY9y//u2gd0yNn5YYRSzzjVBLvhDP3u6CbTfLX2Bm4qihPw== @@ -1386,53 +1298,7 @@ fast-xml-parser "4.2.5" tslib "^2.5.0" -"@aws-sdk/client-sts@3.445.0": - version "3.445.0" - resolved "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.445.0.tgz#1286ba3702997ae00cb28eca890116c63a451526" - integrity sha512-ogbdqrS8x9O5BTot826iLnTQ6i4/F5BSi/74gycneCxYmAnYnyUBNOWVnynv6XZiEWyDJQCU2UtMd52aNGW1GA== - dependencies: - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/core" "3.445.0" - "@aws-sdk/credential-provider-node" "3.445.0" - "@aws-sdk/middleware-host-header" "3.433.0" - "@aws-sdk/middleware-logger" "3.433.0" - "@aws-sdk/middleware-recursion-detection" "3.433.0" - "@aws-sdk/middleware-sdk-sts" "3.433.0" - "@aws-sdk/middleware-signing" "3.433.0" - "@aws-sdk/middleware-user-agent" "3.438.0" - "@aws-sdk/region-config-resolver" "3.433.0" - "@aws-sdk/types" "3.433.0" - "@aws-sdk/util-endpoints" "3.438.0" - "@aws-sdk/util-user-agent-browser" "3.433.0" - "@aws-sdk/util-user-agent-node" "3.437.0" - "@smithy/config-resolver" "^2.0.16" - "@smithy/fetch-http-handler" "^2.2.4" - "@smithy/hash-node" "^2.0.12" - "@smithy/invalid-dependency" "^2.0.12" - "@smithy/middleware-content-length" "^2.0.14" - "@smithy/middleware-endpoint" "^2.1.3" - "@smithy/middleware-retry" "^2.0.18" - "@smithy/middleware-serde" "^2.0.12" - "@smithy/middleware-stack" "^2.0.6" - "@smithy/node-config-provider" "^2.1.3" - "@smithy/node-http-handler" "^2.1.8" - "@smithy/protocol-http" "^3.0.8" - "@smithy/smithy-client" "^2.1.12" - "@smithy/types" "^2.4.0" - "@smithy/url-parser" "^2.0.12" - "@smithy/util-base64" "^2.0.0" - "@smithy/util-body-length-browser" "^2.0.0" - "@smithy/util-body-length-node" "^2.1.0" - "@smithy/util-defaults-mode-browser" "^2.0.16" - "@smithy/util-defaults-mode-node" "^2.0.21" - "@smithy/util-endpoints" "^1.0.2" - "@smithy/util-retry" "^2.0.5" - "@smithy/util-utf8" "^2.0.0" - fast-xml-parser "4.2.5" - tslib "^2.5.0" - -"@aws-sdk/client-synthetics@^3.421.0": +"@aws-sdk/client-synthetics@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-synthetics/-/client-synthetics-3.421.0.tgz#fbc848916f51255d883c1b3b5240f8975842daba" integrity sha512-HAADUQPSXWDoDdI0XaCwavaistjdQ9wD8TQD+AHyC7fbgu+lv6MF/m97B8CBZJUtd8JCMDPrCjnyzKvT8oOZZg== @@ -1475,14 +1341,6 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" -"@aws-sdk/core@3.445.0": - version "3.445.0" - resolved "https://registry.npmjs.org/@aws-sdk/core/-/core-3.445.0.tgz#1df472d976a02533784b6fe606f1cc4d524cbb29" - integrity sha512-6GYLElUG1QTOdmXG8zXa+Ull9IUeSeItKDYHKzHYfIkbsagMfYlf7wm9XIYlatjtgodNfZ3gPHAJfRyPmwKrsg== - dependencies: - "@smithy/smithy-client" "^2.1.12" - tslib "^2.5.0" - "@aws-sdk/credential-provider-cognito-identity@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.421.0.tgz#d06bf11df56896feb048e057b02e98b1870bd388" @@ -1504,16 +1362,6 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" -"@aws-sdk/credential-provider-env@3.433.0": - version "3.433.0" - resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.433.0.tgz#7cceca1002ba2e79e10a9dfb119442bea7b88e7c" - integrity sha512-Vl7Qz5qYyxBurMn6hfSiNJeUHSqfVUlMt0C1Bds3tCkl3IzecRWwyBOlxtxO3VCrgVeW3HqswLzCvhAFzPH6nQ== - dependencies: - "@aws-sdk/types" "3.433.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/types" "^2.4.0" - tslib "^2.5.0" - "@aws-sdk/credential-provider-ini@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.421.0.tgz#b58f8fd095c4389926d0e53ed2b775b184d03ec2" @@ -1530,22 +1378,6 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" -"@aws-sdk/credential-provider-ini@3.445.0": - version "3.445.0" - resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.445.0.tgz#103f4ac144b0b93fc42827093a2654cdd179b925" - integrity sha512-R7IYSGjNZ5KKJwQJ2HNPemjpAMWvdce91i8w+/aHfqeGfTXrmYJu99PeGRyyBTKEumBaojyjTRvmO8HzS+/l7g== - dependencies: - "@aws-sdk/credential-provider-env" "3.433.0" - "@aws-sdk/credential-provider-process" "3.433.0" - "@aws-sdk/credential-provider-sso" "3.445.0" - "@aws-sdk/credential-provider-web-identity" "3.433.0" - "@aws-sdk/types" "3.433.0" - "@smithy/credential-provider-imds" "^2.0.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/shared-ini-file-loader" "^2.0.6" - "@smithy/types" "^2.4.0" - tslib "^2.5.0" - "@aws-sdk/credential-provider-node@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.421.0.tgz#3d1793ee47d0335532eb01a23cbb7d5320dd3056" @@ -1563,23 +1395,6 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" -"@aws-sdk/credential-provider-node@3.445.0": - version "3.445.0" - resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.445.0.tgz#570d0a66c175c2719c417a75fdca4939b7123a4a" - integrity sha512-zI4k4foSjQRKNEsouculRcz7IbLfuqdFxypDLYwn+qPNMqJwWJ7VxOOeBSPUpHFcd7CLSfbHN2JAhQ7M02gPTA== - dependencies: - "@aws-sdk/credential-provider-env" "3.433.0" - "@aws-sdk/credential-provider-ini" "3.445.0" - "@aws-sdk/credential-provider-process" "3.433.0" - "@aws-sdk/credential-provider-sso" "3.445.0" - "@aws-sdk/credential-provider-web-identity" "3.433.0" - "@aws-sdk/types" "3.433.0" - "@smithy/credential-provider-imds" "^2.0.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/shared-ini-file-loader" "^2.0.6" - "@smithy/types" "^2.4.0" - tslib "^2.5.0" - "@aws-sdk/credential-provider-process@3.418.0": version "3.418.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.418.0.tgz#1cb6d816bd471db3f9724715b007035ef18b5b2b" @@ -1591,17 +1406,6 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" -"@aws-sdk/credential-provider-process@3.433.0": - version "3.433.0" - resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.433.0.tgz#dd51c92480ed620e4c3f989852ee408ab1209d59" - integrity sha512-W7FcGlQjio9Y/PepcZGRyl5Bpwb0uWU7qIUCh+u4+q2mW4D5ZngXg8V/opL9/I/p4tUH9VXZLyLGwyBSkdhL+A== - dependencies: - "@aws-sdk/types" "3.433.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/shared-ini-file-loader" "^2.0.6" - "@smithy/types" "^2.4.0" - tslib "^2.5.0" - "@aws-sdk/credential-provider-sso@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.421.0.tgz#1863eabf232dd6add900e045e36a0e6c1213e31c" @@ -1615,19 +1419,6 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" -"@aws-sdk/credential-provider-sso@3.445.0": - version "3.445.0" - resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.445.0.tgz#1ca6a0ec43b766039d78e5ac91e80fad226b5288" - integrity sha512-gJz7kAiDecdhtApgXnxfZsXKsww8BnifDF9MAx9Dr4X6no47qYsCCS3XPuEyRiF9VebXvHOH0H260Zp3bVyniQ== - dependencies: - "@aws-sdk/client-sso" "3.445.0" - "@aws-sdk/token-providers" "3.438.0" - "@aws-sdk/types" "3.433.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/shared-ini-file-loader" "^2.0.6" - "@smithy/types" "^2.4.0" - tslib "^2.5.0" - "@aws-sdk/credential-provider-web-identity@3.418.0": version "3.418.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.418.0.tgz#c2aed2a79bf193c1fef2b98391aaa9de7336aaaf" @@ -1638,17 +1429,7 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" -"@aws-sdk/credential-provider-web-identity@3.433.0": - version "3.433.0" - resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.433.0.tgz#32403ba9cc47d3c46500f3c8e5e0041d20e4dbe8" - integrity sha512-RlwjP1I5wO+aPpwyCp23Mk8nmRbRL33hqRASy73c4JA2z2YiRua+ryt6MalIxehhwQU6xvXUKulJnPG9VaMFZg== - dependencies: - "@aws-sdk/types" "3.433.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/types" "^2.4.0" - tslib "^2.5.0" - -"@aws-sdk/credential-providers@^3.421.0": +"@aws-sdk/credential-providers@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-providers/-/credential-providers-3.421.0.tgz#567d4b7ae00809d7d4f8dce088e6ed5b5e622b7b" integrity sha512-Mhz3r2N0YlOAhb1ZZYrP76VA1aIlJZw3IAwYwlS+hO4sAwp8iY6wCKiumqplXkVgK+ObLxlS9W/aW+2SAKsB7w== @@ -1736,16 +1517,6 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" -"@aws-sdk/middleware-host-header@3.433.0": - version "3.433.0" - resolved "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.433.0.tgz#3b6687ee4021c2b56c96cff61b45a33fb762b1c7" - integrity sha512-mBTq3UWv1UzeHG+OfUQ2MB/5GEkt5LTKFaUqzL7ESwzW8XtpBgXnjZvIwu3Vcd3sEetMwijwaGiJhY0ae/YyaA== - dependencies: - "@aws-sdk/types" "3.433.0" - "@smithy/protocol-http" "^3.0.8" - "@smithy/types" "^2.4.0" - tslib "^2.5.0" - "@aws-sdk/middleware-location-constraint@3.418.0": version "3.418.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.418.0.tgz#e62e213a72ce583ba6135db51dcc60d07825b8ee" @@ -1764,15 +1535,6 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" -"@aws-sdk/middleware-logger@3.433.0": - version "3.433.0" - resolved "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.433.0.tgz#fcd4e31a8f134861cd519477b959c218a3600186" - integrity sha512-We346Fb5xGonTGVZC9Nvqtnqy74VJzYuTLLiuuftA5sbNzftBDy/22QCfvYSTOAl3bvif+dkDUzQY2ihc5PwOQ== - dependencies: - "@aws-sdk/types" "3.433.0" - "@smithy/types" "^2.4.0" - tslib "^2.5.0" - "@aws-sdk/middleware-recursion-detection@3.418.0": version "3.418.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.418.0.tgz#2bb80d084f946846ad4907f3d6e0b451787d62b1" @@ -1783,16 +1545,6 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" -"@aws-sdk/middleware-recursion-detection@3.433.0": - version "3.433.0" - resolved "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.433.0.tgz#5b4b7878ea46c70f507c9ea7c30ad0e5ee4ae6bf" - integrity sha512-HEvYC9PQlWY/ccUYtLvAlwwf1iCif2TSAmLNr3YTBRVa98x6jKL0hlCrHWYklFeqOGSKy6XhE+NGJMUII0/HaQ== - dependencies: - "@aws-sdk/types" "3.433.0" - "@smithy/protocol-http" "^3.0.8" - "@smithy/types" "^2.4.0" - tslib "^2.5.0" - "@aws-sdk/middleware-sdk-ec2@3.418.0": version "3.418.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-sdk-ec2/-/middleware-sdk-ec2-3.418.0.tgz#eac7054b128645c5a040c8e95b5cf92c7994d2fd" @@ -1851,16 +1603,6 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" -"@aws-sdk/middleware-sdk-sts@3.433.0": - version "3.433.0" - resolved "https://registry.npmjs.org/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.433.0.tgz#9b30f17a922ecc5fd46b93f1edcd20d7146b814f" - integrity sha512-ORYbJnBejUyonFl5FwIqhvI3Cq6sAp9j+JpkKZtFNma9tFPdrhmYgfCeNH32H/wGTQV/tUoQ3luh0gA4cuk6DA== - dependencies: - "@aws-sdk/middleware-signing" "3.433.0" - "@aws-sdk/types" "3.433.0" - "@smithy/types" "^2.4.0" - tslib "^2.5.0" - "@aws-sdk/middleware-signing@3.418.0": version "3.418.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.418.0.tgz#c7242b84069067bb671cb4191d412b59713a375e" @@ -1874,19 +1616,6 @@ "@smithy/util-middleware" "^2.0.2" tslib "^2.5.0" -"@aws-sdk/middleware-signing@3.433.0": - version "3.433.0" - resolved "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.433.0.tgz#670557ace5b97729dbabb6a991815e44eb0ef03b" - integrity sha512-jxPvt59NZo/epMNLNTu47ikmP8v0q217I6bQFGJG7JVFnfl36zDktMwGw+0xZR80qiK47/2BWrNpta61Zd2FxQ== - dependencies: - "@aws-sdk/types" "3.433.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/protocol-http" "^3.0.8" - "@smithy/signature-v4" "^2.0.0" - "@smithy/types" "^2.4.0" - "@smithy/util-middleware" "^2.0.5" - tslib "^2.5.0" - "@aws-sdk/middleware-ssec@3.418.0": version "3.418.0" resolved "https://registry.npmjs.org/@aws-sdk/middleware-ssec/-/middleware-ssec-3.418.0.tgz#67b554c4acad81c7aa93421c8fcba8a18e138294" @@ -1907,17 +1636,6 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" -"@aws-sdk/middleware-user-agent@3.438.0": - version "3.438.0" - resolved "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.438.0.tgz#a1165134d5b95e1fbeb841740084b3a43dead18a" - integrity sha512-a+xHT1wOxT6EA6YyLmrfaroKWOkwwyiktUfXKM0FsUutGzNi4fKhb5NZ2al58NsXzHgHFrasSDp+Lqbd/X2cEw== - dependencies: - "@aws-sdk/types" "3.433.0" - "@aws-sdk/util-endpoints" "3.438.0" - "@smithy/protocol-http" "^3.0.8" - "@smithy/types" "^2.4.0" - tslib "^2.5.0" - "@aws-sdk/node-http-handler@^3.370.0": version "3.374.0" resolved "https://registry.npmjs.org/@aws-sdk/node-http-handler/-/node-http-handler-3.374.0.tgz#8cd58b4d9814713e26034c12eabc119c113a5bc4" @@ -1937,18 +1655,7 @@ "@smithy/util-middleware" "^2.0.2" tslib "^2.5.0" -"@aws-sdk/region-config-resolver@3.433.0": - version "3.433.0" - resolved "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.433.0.tgz#37eb5f40db8af7ba9361aeb28c62b45421e780f0" - integrity sha512-xpjRjCZW+CDFdcMmmhIYg81ST5UAnJh61IHziQEk0FXONrg4kjyYPZAOjEdzXQ+HxJQuGQLKPhRdzxmQnbX7pg== - dependencies: - "@smithy/node-config-provider" "^2.1.3" - "@smithy/types" "^2.4.0" - "@smithy/util-config-provider" "^2.0.0" - "@smithy/util-middleware" "^2.0.5" - tslib "^2.5.0" - -"@aws-sdk/s3-request-presigner@^3.421.0": +"@aws-sdk/s3-request-presigner@3.421.0": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.421.0.tgz#1ceb8a3a38a596d10ff16c5f7cb798dc307b780e" integrity sha512-qQB6DRV81SZ4Q9JQL8/X4QH1aTyefeKIkmc3KH5QtP5PZJAKOoU4kqIXTFrUFCPan3CjWQw565ZR0usgR6RynQ== @@ -2014,50 +1721,7 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" -"@aws-sdk/token-providers@3.438.0": - version "3.438.0" - resolved "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.438.0.tgz#e91baa37c9c78cb5b21cae96a12e7e1705c931d3" - integrity sha512-G2fUfTtU6/1ayYRMu0Pd9Ln4qYSvwJOWCqJMdkDgvXSwdgcOSOLsnAIk1AHGJDAvgLikdCzuyOsdJiexr9Vnww== - dependencies: - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/middleware-host-header" "3.433.0" - "@aws-sdk/middleware-logger" "3.433.0" - "@aws-sdk/middleware-recursion-detection" "3.433.0" - "@aws-sdk/middleware-user-agent" "3.438.0" - "@aws-sdk/region-config-resolver" "3.433.0" - "@aws-sdk/types" "3.433.0" - "@aws-sdk/util-endpoints" "3.438.0" - "@aws-sdk/util-user-agent-browser" "3.433.0" - "@aws-sdk/util-user-agent-node" "3.437.0" - "@smithy/config-resolver" "^2.0.16" - "@smithy/fetch-http-handler" "^2.2.4" - "@smithy/hash-node" "^2.0.12" - "@smithy/invalid-dependency" "^2.0.12" - "@smithy/middleware-content-length" "^2.0.14" - "@smithy/middleware-endpoint" "^2.1.3" - "@smithy/middleware-retry" "^2.0.18" - "@smithy/middleware-serde" "^2.0.12" - "@smithy/middleware-stack" "^2.0.6" - "@smithy/node-config-provider" "^2.1.3" - "@smithy/node-http-handler" "^2.1.8" - "@smithy/property-provider" "^2.0.0" - "@smithy/protocol-http" "^3.0.8" - "@smithy/shared-ini-file-loader" "^2.0.6" - "@smithy/smithy-client" "^2.1.12" - "@smithy/types" "^2.4.0" - "@smithy/url-parser" "^2.0.12" - "@smithy/util-base64" "^2.0.0" - "@smithy/util-body-length-browser" "^2.0.0" - "@smithy/util-body-length-node" "^2.1.0" - "@smithy/util-defaults-mode-browser" "^2.0.16" - "@smithy/util-defaults-mode-node" "^2.0.21" - "@smithy/util-endpoints" "^1.0.2" - "@smithy/util-retry" "^2.0.5" - "@smithy/util-utf8" "^2.0.0" - tslib "^2.5.0" - -"@aws-sdk/types@3.418.0", "@aws-sdk/types@^3.222.0", "@aws-sdk/types@^3.418.0": +"@aws-sdk/types@3.418.0": version "3.418.0" resolved "https://registry.npmjs.org/@aws-sdk/types/-/types-3.418.0.tgz#c23213110b0c313d5546c810da032a441682f49a" integrity sha512-y4PQSH+ulfFLY0+FYkaK4qbIaQI9IJNMO2xsxukW6/aNoApNymN1D2FSi2la8Qbp/iPjNDKsG8suNPm9NtsWXQ== @@ -2065,7 +1729,7 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" -"@aws-sdk/types@3.433.0": +"@aws-sdk/types@^3.222.0", "@aws-sdk/types@^3.433.0": version "3.433.0" resolved "https://registry.npmjs.org/@aws-sdk/types/-/types-3.433.0.tgz#0f94eae2a4a3525ca872c9ab04e143c01806d755" integrity sha512-0jEE2mSrNDd8VGFjTc1otYrwYPIkzZJEIK90ZxisKvQ/EURGBhNzWn7ejWB9XCMFT6XumYLBR0V9qq5UPisWtA== @@ -2088,15 +1752,6 @@ "@aws-sdk/types" "3.418.0" tslib "^2.5.0" -"@aws-sdk/util-endpoints@3.438.0": - version "3.438.0" - resolved "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.438.0.tgz#fe79a0ad87fc201c8ecb422f6f040bd300c98df9" - integrity sha512-6VyPTq1kN3GWxwFt5DdZfOsr6cJZPLjWh0troY/0uUv3hK74C9o3Y0Xf/z8UAUvQFkVqZse12O0/BgPVMImvfA== - dependencies: - "@aws-sdk/types" "3.433.0" - "@smithy/util-endpoints" "^1.0.2" - tslib "^2.5.0" - "@aws-sdk/util-format-url@3.418.0": version "3.418.0" resolved "https://registry.npmjs.org/@aws-sdk/util-format-url/-/util-format-url-3.418.0.tgz#85035e704f5996189aeec2a7bd08265bcd87f1e1" @@ -2124,16 +1779,6 @@ bowser "^2.11.0" tslib "^2.5.0" -"@aws-sdk/util-user-agent-browser@3.433.0": - version "3.433.0" - resolved "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.433.0.tgz#b5ed0c0cca0db34a2c1c2ffc1b65e7cdd8dc88ff" - integrity sha512-2Cf/Lwvxbt5RXvWFXrFr49vXv0IddiUwrZoAiwhDYxvsh+BMnh+NUFot+ZQaTrk/8IPZVDeLPWZRdVy00iaVXQ== - dependencies: - "@aws-sdk/types" "3.433.0" - "@smithy/types" "^2.4.0" - bowser "^2.11.0" - tslib "^2.5.0" - "@aws-sdk/util-user-agent-node@3.418.0": version "3.418.0" resolved "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.418.0.tgz#7d5a1c82ce3265ff0f70b13d58d08593113ab99a" @@ -2144,16 +1789,6 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" -"@aws-sdk/util-user-agent-node@3.437.0": - version "3.437.0" - resolved "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.437.0.tgz#f77729854ddf049ccaba8bae3d8fa279812b4716" - integrity sha512-JVEcvWaniamtYVPem4UthtCNoTBCfFTwYj7Y3CrWZ2Qic4TqrwLkAfaBGtI2TGrhIClVr77uzLI6exqMTN7orA== - dependencies: - "@aws-sdk/types" "3.433.0" - "@smithy/node-config-provider" "^2.1.3" - "@smithy/types" "^2.4.0" - tslib "^2.5.0" - "@aws-sdk/util-utf8-browser@^3.0.0": version "3.259.0" resolved "https://registry.npmjs.org/@aws-sdk/util-utf8-browser/-/util-utf8-browser-3.259.0.tgz#3275a6f5eb334f96ca76635b961d3c50259fd9ff" @@ -2184,37 +1819,37 @@ chalk "^2.4.2" "@babel/compat-data@^7.22.9": - version "7.22.20" - resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.22.20.tgz#8df6e96661209623f1975d66c35ffca66f3306d0" - integrity sha512-BQYjKbpXjoXwFW5jGqiizJQQT/aC7pFm9Ok1OWssonuguICi264lbgMzRp2ZMmRSlfkX6DsWDDcsrctK8Rwfiw== + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.3.tgz#3febd552541e62b5e883a25eb3effd7c7379db11" + integrity sha512-BmR4bWbDIoFJmJ9z2cZ8Gmm2MXgEDgjdWgpKmKWUt54UGFJdlj31ECtbaDvCG/qVdG3AQ1SfpZEs01lUFbzLOQ== "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.13.16", "@babel/core@^7.7.5": - version "7.23.0" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.23.0.tgz#f8259ae0e52a123eb40f552551e647b506a94d83" - integrity sha512-97z/ju/Jy1rZmDxybphrBuI+jtJjFVoz7Mr9yUQVVVi+DNZE333uFQeMOqcCIy1x3WYBIbWftUSLmbNXNT7qFQ== + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.23.3.tgz#5ec09c8803b91f51cc887dedc2654a35852849c9" + integrity sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew== dependencies: "@ampproject/remapping" "^2.2.0" "@babel/code-frame" "^7.22.13" - "@babel/generator" "^7.23.0" + "@babel/generator" "^7.23.3" "@babel/helper-compilation-targets" "^7.22.15" - "@babel/helper-module-transforms" "^7.23.0" - "@babel/helpers" "^7.23.0" - "@babel/parser" "^7.23.0" + "@babel/helper-module-transforms" "^7.23.3" + "@babel/helpers" "^7.23.2" + "@babel/parser" "^7.23.3" "@babel/template" "^7.22.15" - "@babel/traverse" "^7.23.0" - "@babel/types" "^7.23.0" + "@babel/traverse" "^7.23.3" + "@babel/types" "^7.23.3" convert-source-map "^2.0.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.3" semver "^6.3.1" -"@babel/generator@^7.23.0", "@babel/generator@^7.7.2": - version "7.23.0" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz#df5c386e2218be505b34837acbcb874d7a983420" - integrity sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g== +"@babel/generator@^7.23.3", "@babel/generator@^7.7.2": + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.23.3.tgz#86e6e83d95903fbe7613f448613b8b319f330a8e" + integrity sha512-keeZWAV4LU3tW0qRi19HRpabC/ilM0HRBBzf9/k8FFiG4KVpiv0FIy4hHfLfFQZNhziCTPTmd59zoyv6DNISzg== dependencies: - "@babel/types" "^7.23.0" + "@babel/types" "^7.23.3" "@jridgewell/gen-mapping" "^0.3.2" "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" @@ -2286,10 +1921,10 @@ dependencies: "@babel/types" "^7.22.15" -"@babel/helper-module-transforms@^7.23.0": - version "7.23.0" - resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.0.tgz#3ec246457f6c842c0aee62a01f60739906f7047e" - integrity sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw== +"@babel/helper-module-transforms@^7.23.3": + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz#d7d12c3c5d30af5b3c0fcab2a6d5217773e2d0f1" + integrity sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ== dependencies: "@babel/helper-environment-visitor" "^7.22.20" "@babel/helper-module-imports" "^7.22.15" @@ -2354,13 +1989,13 @@ resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz#694c30dfa1d09a6534cdfcafbe56789d36aba040" integrity sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA== -"@babel/helpers@^7.23.0": - version "7.23.1" - resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.1.tgz#44e981e8ce2b9e99f8f0b703f3326a4636c16d15" - integrity sha512-chNpneuK18yW5Oxsr+t553UZzzAs3aZnFm4bxhebsNTeshrC95yA7l5yl7GBAG+JG1rF0F7zzD2EixK9mWSDoA== +"@babel/helpers@^7.23.2": + version "7.23.2" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.2.tgz#2832549a6e37d484286e15ba36a5330483cac767" + integrity sha512-lzchcp8SjTSVe/fPmLwtWVBFC7+Tbn8LGHDVfDp9JGxpAY5opSaEFgt8UQvrnECWOTdji2mOWMz1rOhkHscmGQ== dependencies: "@babel/template" "^7.22.15" - "@babel/traverse" "^7.23.0" + "@babel/traverse" "^7.23.2" "@babel/types" "^7.23.0" "@babel/highlight@^7.10.4", "@babel/highlight@^7.22.13": @@ -2372,10 +2007,10 @@ chalk "^2.4.2" js-tokens "^4.0.0" -"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.13.16", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.0": - version "7.23.0" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz#da950e622420bf96ca0d0f2909cdddac3acd8719" - integrity sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw== +"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.13.16", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.3": + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.23.3.tgz#0ce0be31a4ca4f1884b5786057cadcb6c3be58f9" + integrity sha512-uVsWNvlVsIninV2prNz/3lHCb+5CJ+e+IUBfbjToAHODtfGYLfCFuY4AU7TskI+dAKk+njsPiBjq1gKTvZOBaw== "@babel/plugin-proposal-class-properties@^7.13.0": version "7.18.6" @@ -2423,10 +2058,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-syntax-flow@^7.22.5": - version "7.22.5" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.22.5.tgz#163b820b9e7696ce134df3ee716d9c0c98035859" - integrity sha512-9RdCl0i+q0QExayk2nOS7853w08yLucnnPML6EN9S8fgMPVtdLDCdx/cOQ/i44Lb9UeQX9A35yaqBBOMMZxPxQ== +"@babel/plugin-syntax-flow@^7.23.3": + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.23.3.tgz#084564e0f3cc21ea6c70c44cff984a1c0509729a" + integrity sha512-YZiAIpkJAwQXBJLIQbRFayR5c+gJ35Vcz3bg954k7cd73zqjvhacJuL9RbrzPz8qPmZdgqP6EUKwy0PCNhaaPA== dependencies: "@babel/helper-plugin-utils" "^7.22.5" @@ -2444,10 +2079,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-jsx@^7.22.5", "@babel/plugin-syntax-jsx@^7.7.2": - version "7.22.5" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz#a6b68e84fb76e759fc3b93e901876ffabbe1d918" - integrity sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg== +"@babel/plugin-syntax-jsx@^7.23.3", "@babel/plugin-syntax-jsx@^7.7.2": + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz#8f2e4f8a9b5f9aa16067e142c1ac9cd9f810f473" + integrity sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg== dependencies: "@babel/helper-plugin-utils" "^7.22.5" @@ -2500,59 +2135,59 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-typescript@^7.22.5", "@babel/plugin-syntax-typescript@^7.7.2": - version "7.22.5" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.22.5.tgz#aac8d383b062c5072c647a31ef990c1d0af90272" - integrity sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ== +"@babel/plugin-syntax-typescript@^7.23.3", "@babel/plugin-syntax-typescript@^7.7.2": + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.23.3.tgz#24f460c85dbbc983cd2b9c4994178bcc01df958f" + integrity sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ== dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-flow-strip-types@^7.22.5": - version "7.22.5" - resolved "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.22.5.tgz#0bb17110c7bf5b35a60754b2f00c58302381dee2" - integrity sha512-tujNbZdxdG0/54g/oua8ISToaXTFBf8EnSb5PgQSciIXWOWKX3S4+JR7ZE9ol8FZwf9kxitzkGQ+QWeov/mCiA== +"@babel/plugin-transform-flow-strip-types@^7.23.3": + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.23.3.tgz#cfa7ca159cc3306fab526fc67091556b51af26ff" + integrity sha512-26/pQTf9nQSNVJCrLB1IkHUKyPxR+lMrH2QDPG89+Znu9rAMbtrybdbWeE9bb7gzjmE5iXHEY+e0HUwM6Co93Q== dependencies: "@babel/helper-plugin-utils" "^7.22.5" - "@babel/plugin-syntax-flow" "^7.22.5" + "@babel/plugin-syntax-flow" "^7.23.3" -"@babel/plugin-transform-modules-commonjs@^7.13.8", "@babel/plugin-transform-modules-commonjs@^7.23.0": - version "7.23.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.0.tgz#b3dba4757133b2762c00f4f94590cf6d52602481" - integrity sha512-32Xzss14/UVc7k9g775yMIvkVK8xwKE0DPdP5JTapr3+Z9w4tzeOuLNY6BXDQR6BdnzIlXnCGAzsk/ICHBLVWQ== +"@babel/plugin-transform-modules-commonjs@^7.13.8", "@babel/plugin-transform-modules-commonjs@^7.23.3": + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.3.tgz#661ae831b9577e52be57dd8356b734f9700b53b4" + integrity sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA== dependencies: - "@babel/helper-module-transforms" "^7.23.0" + "@babel/helper-module-transforms" "^7.23.3" "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-simple-access" "^7.22.5" -"@babel/plugin-transform-typescript@^7.22.15": - version "7.22.15" - resolved "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.22.15.tgz#15adef906451d86349eb4b8764865c960eb54127" - integrity sha512-1uirS0TnijxvQLnlv5wQBwOX3E1wCFX7ITv+9pBV2wKEk4K+M5tqDaoNXnTH8tjEIYHLO98MwiTWO04Ggz4XuA== +"@babel/plugin-transform-typescript@^7.23.3": + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.23.3.tgz#ce806e6cb485d468c48c4f717696719678ab0138" + integrity sha512-ogV0yWnq38CFwH20l2Afz0dfKuZBx9o/Y2Rmh5vuSS0YD1hswgEgTfyTzuSrT2q9btmHRSqYoSfwFUVaC1M1Jw== dependencies: "@babel/helper-annotate-as-pure" "^7.22.5" "@babel/helper-create-class-features-plugin" "^7.22.15" "@babel/helper-plugin-utils" "^7.22.5" - "@babel/plugin-syntax-typescript" "^7.22.5" + "@babel/plugin-syntax-typescript" "^7.23.3" "@babel/preset-flow@^7.13.13": - version "7.22.15" - resolved "https://registry.npmjs.org/@babel/preset-flow/-/preset-flow-7.22.15.tgz#30318deb9b3ebd9f5738e96da03a531e0cd3165d" - integrity sha512-dB5aIMqpkgbTfN5vDdTRPzjqtWiZcRESNR88QYnoPR+bmdYoluOzMX9tQerTv0XzSgZYctPfO1oc0N5zdog1ew== + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/preset-flow/-/preset-flow-7.23.3.tgz#8084e08b9ccec287bd077ab288b286fab96ffab1" + integrity sha512-7yn6hl8RIv+KNk6iIrGZ+D06VhVY35wLVf23Cz/mMu1zOr7u4MMP4j0nZ9tLf8+4ZFpnib8cFYgB/oYg9hfswA== dependencies: "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-validator-option" "^7.22.15" - "@babel/plugin-transform-flow-strip-types" "^7.22.5" + "@babel/plugin-transform-flow-strip-types" "^7.23.3" "@babel/preset-typescript@^7.13.0": - version "7.23.0" - resolved "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.23.0.tgz#cc6602d13e7e5b2087c811912b87cf937a9129d9" - integrity sha512-6P6VVa/NM/VlAYj5s2Aq/gdVg8FSENCg3wlZ6Qau9AcPaoF5LbN1nyGlR9DTRIw9PpxI94e+ReydsJHcjwAweg== + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.23.3.tgz#14534b34ed5b6d435aa05f1ae1c5e7adcc01d913" + integrity sha512-17oIGVlqz6CchO9RFYn5U6ZpWRZIngayYCtrPRSgANSwC2V1Jb+iP74nVxzzXJte8b8BYxrL1yY96xfhTBrNNQ== dependencies: "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-validator-option" "^7.22.15" - "@babel/plugin-syntax-jsx" "^7.22.5" - "@babel/plugin-transform-modules-commonjs" "^7.23.0" - "@babel/plugin-transform-typescript" "^7.22.15" + "@babel/plugin-syntax-jsx" "^7.23.3" + "@babel/plugin-transform-modules-commonjs" "^7.23.3" + "@babel/plugin-transform-typescript" "^7.23.3" "@babel/register@^7.13.16": version "7.22.15" @@ -2574,26 +2209,26 @@ "@babel/parser" "^7.22.15" "@babel/types" "^7.22.15" -"@babel/traverse@^7.23.0": - version "7.23.2" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz#329c7a06735e144a506bdb2cad0268b7f46f4ad8" - integrity sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw== +"@babel/traverse@^7.23.2", "@babel/traverse@^7.23.3": + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.3.tgz#26ee5f252e725aa7aca3474aa5b324eaf7908b5b" + integrity sha512-+K0yF1/9yR0oHdE0StHuEj3uTPzwwbrLGfNOndVJVV2TqA5+j3oljJUb4nmB954FLGjNem976+B+eDuLIjesiQ== dependencies: "@babel/code-frame" "^7.22.13" - "@babel/generator" "^7.23.0" + "@babel/generator" "^7.23.3" "@babel/helper-environment-visitor" "^7.22.20" "@babel/helper-function-name" "^7.23.0" "@babel/helper-hoist-variables" "^7.22.5" "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/parser" "^7.23.0" - "@babel/types" "^7.23.0" + "@babel/parser" "^7.23.3" + "@babel/types" "^7.23.3" debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3": - version "7.23.0" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz#8c1f020c9df0e737e4e247c0619f58c68458aaeb" - integrity sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg== +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.3", "@babel/types@^7.3.0", "@babel/types@^7.3.3": + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.23.3.tgz#d5ea892c07f2ec371ac704420f4dcdb07b5f9598" + integrity sha512-OZnvoH2l8PK5eUvEcUyCt/sXgr/h+UWpVuBbOljwcrAgUl6lpchoQ++PHGyQy1AtYnVA6CEq3y5xeEI10brpXw== dependencies: "@babel/helper-string-parser" "^7.22.5" "@babel/helper-validator-identifier" "^7.22.20" @@ -2609,26 +2244,26 @@ resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@cdklabs/tskb@^0.0.1": - version "0.0.1" - resolved "https://registry.npmjs.org/@cdklabs/tskb/-/tskb-0.0.1.tgz#dc2732703d8ef080369db5e7ad150223f60cc519" - integrity sha512-UWJLIaMsu2a9cE40Gtopz2i7afkx6oEjWVT/rBLWlCT4QYvUEq1+Uqw1fBK4Q96fgPCwJNU7zeWlSz0PcjFx7A== - "@cdklabs/tskb@^0.0.3": version "0.0.3" resolved "https://registry.npmjs.org/@cdklabs/tskb/-/tskb-0.0.3.tgz#4b79846d9381eb1252ba85d5d20b7cd7d99b6ecb" integrity sha512-JR+MuD4awAXvutu7HArephXfZm09GPTaSAQUqNcJB5+ZENRm4kV+L6vJL6Tn1xHjCcHksO+HAqj3gYtm5K94vA== -"@cdklabs/typewriter@^0.0.2": - version "0.0.2" - resolved "https://registry.npmjs.org/@cdklabs/typewriter/-/typewriter-0.0.2.tgz#c4711ec8fb6aa15f61fc4ab77cdfe8eb6100d085" - integrity sha512-DR1WBFRxgxS4QyvI7xuTPybneBkbA2Ig+/kmFwFd/jZYyL1cMAGC0tg/+zNxMscR77nsPcoynIBywL7DDn0S2g== +"@cdklabs/typewriter@^0.0.3": + version "0.0.3" + resolved "https://registry.npmjs.org/@cdklabs/typewriter/-/typewriter-0.0.3.tgz#37143d4cf004085bce7d1bbc9139bbf4bf4403a8" + integrity sha512-dymXkqVKZLLQJGxZGvmCn9ZIDCiPM5hC1P7dABob8C0m5P0bf91W7HsPUu3yHomdFxoHAWFaXAZ9i3Q+uVeJ5g== "@colors/colors@1.5.0": version "1.5.0" resolved "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== +"@colors/colors@1.6.0", "@colors/colors@^1.6.0": + version "1.6.0" + resolved "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz#ec6cd237440700bc23ca23087f513c75508958b0" + integrity sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA== + "@cspotcode/source-map-support@^0.8.0": version "0.8.1" resolved "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" @@ -2645,115 +2280,115 @@ enabled "2.0.x" kuler "^2.0.0" -"@esbuild/android-arm64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.4.tgz#74752a09301b8c6b9a415fbda9fb71406a62a7b7" - integrity sha512-mRsi2vJsk4Bx/AFsNBqOH2fqedxn5L/moT58xgg51DjX1la64Z3Npicut2VbhvDFO26qjWtPMsVxCd80YTFVeg== - -"@esbuild/android-arm@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.4.tgz#c27363e1e280e577d9b5c8fa7c7a3be2a8d79bf5" - integrity sha512-uBIbiYMeSsy2U0XQoOGVVcpIktjLMEKa7ryz2RLr7L/vTnANNEsPVAh4xOv7ondGz6ac1zVb0F8Jx20rQikffQ== - -"@esbuild/android-x64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.4.tgz#6c9ee03d1488973d928618100048b75b147e0426" - integrity sha512-4iPufZ1TMOD3oBlGFqHXBpa3KFT46aLl6Vy7gwed0ZSYgHaZ/mihbYb4t7Z9etjkC9Al3ZYIoOaHrU60gcMy7g== - -"@esbuild/darwin-arm64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.4.tgz#64e2ee945e5932cd49812caa80e8896e937e2f8b" - integrity sha512-Lviw8EzxsVQKpbS+rSt6/6zjn9ashUZ7Tbuvc2YENgRl0yZTktGlachZ9KMJUsVjZEGFVu336kl5lBgDN6PmpA== - -"@esbuild/darwin-x64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.4.tgz#d8e26e1b965df284692e4d1263ba69a49b39ac7a" - integrity sha512-YHbSFlLgDwglFn0lAO3Zsdrife9jcQXQhgRp77YiTDja23FrC2uwnhXMNkAucthsf+Psr7sTwYEryxz6FPAVqw== - -"@esbuild/freebsd-arm64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.4.tgz#29751a41b242e0a456d89713b228f1da4f45582f" - integrity sha512-vz59ijyrTG22Hshaj620e5yhs2dU1WJy723ofc+KUgxVCM6zxQESmWdMuVmUzxtGqtj5heHyB44PjV/HKsEmuQ== - -"@esbuild/freebsd-x64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.4.tgz#873edc0f73e83a82432460ea59bf568c1e90b268" - integrity sha512-3sRbQ6W5kAiVQRBWREGJNd1YE7OgzS0AmOGjDmX/qZZecq8NFlQsQH0IfXjjmD0XtUYqr64e0EKNFjMUlPL3Cw== - -"@esbuild/linux-arm64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.4.tgz#659f2fa988d448dbf5010b5cc583be757cc1b914" - integrity sha512-ZWmWORaPbsPwmyu7eIEATFlaqm0QGt+joRE9sKcnVUG3oBbr/KYdNE2TnkzdQwX6EDRdg/x8Q4EZQTXoClUqqA== - -"@esbuild/linux-arm@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.4.tgz#d5b13a7ec1f1c655ce05c8d319b3950797baee55" - integrity sha512-z/4ArqOo9EImzTi4b6Vq+pthLnepFzJ92BnofU1jgNlcVb+UqynVFdoXMCFreTK7FdhqAzH0vmdwW5373Hm9pg== - -"@esbuild/linux-ia32@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.4.tgz#878cd8bf24c9847c77acdb5dd1b2ef6e4fa27a82" - integrity sha512-EGc4vYM7i1GRUIMqRZNCTzJh25MHePYsnQfKDexD8uPTCm9mK56NIL04LUfX2aaJ+C9vyEp2fJ7jbqFEYgO9lQ== - -"@esbuild/linux-loong64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.4.tgz#df890499f6e566b7de3aa2361be6df2b8d5fa015" - integrity sha512-WVhIKO26kmm8lPmNrUikxSpXcgd6HDog0cx12BUfA2PkmURHSgx9G6vA19lrlQOMw+UjMZ+l3PpbtzffCxFDRg== - -"@esbuild/linux-mips64el@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.4.tgz#76eae4e88d2ce9f4f1b457e93892e802851b6807" - integrity sha512-keYY+Hlj5w86hNp5JJPuZNbvW4jql7c1eXdBUHIJGTeN/+0QFutU3GrS+c27L+NTmzi73yhtojHk+lr2+502Mw== - -"@esbuild/linux-ppc64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.4.tgz#c49032f4abbcfa3f747b543a106931fe3dce41ff" - integrity sha512-tQ92n0WMXyEsCH4m32S21fND8VxNiVazUbU4IUGVXQpWiaAxOBvtOtbEt3cXIV3GEBydYsY8pyeRMJx9kn3rvw== - -"@esbuild/linux-riscv64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.4.tgz#0f815a090772138503ee0465a747e16865bf94b1" - integrity sha512-tRRBey6fG9tqGH6V75xH3lFPpj9E8BH+N+zjSUCnFOX93kEzqS0WdyJHkta/mmJHn7MBaa++9P4ARiU4ykjhig== - -"@esbuild/linux-s390x@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.4.tgz#8d2cca20cd4e7c311fde8701d9f1042664f8b92b" - integrity sha512-152aLpQqKZYhThiJ+uAM4PcuLCAOxDsCekIbnGzPKVBRUDlgaaAfaUl5NYkB1hgY6WN4sPkejxKlANgVcGl9Qg== - -"@esbuild/linux-x64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.4.tgz#f618bec2655de49bff91c588777e37b5e3169d4a" - integrity sha512-Mi4aNA3rz1BNFtB7aGadMD0MavmzuuXNTaYL6/uiYIs08U7YMPETpgNn5oue3ICr+inKwItOwSsJDYkrE9ekVg== - -"@esbuild/netbsd-x64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.4.tgz#7889744ca4d60f1538d62382b95e90a49687cef2" - integrity sha512-9+Wxx1i5N/CYo505CTT7T+ix4lVzEdz0uCoYGxM5JDVlP2YdDC1Bdz+Khv6IbqmisT0Si928eAxbmGkcbiuM/A== - -"@esbuild/openbsd-x64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.4.tgz#c3e436eb9271a423d2e8436fcb120e3fd90e2b01" - integrity sha512-MFsHleM5/rWRW9EivFssop+OulYVUoVcqkyOkjiynKBCGBj9Lihl7kh9IzrreDyXa4sNkquei5/DTP4uCk25xw== - -"@esbuild/sunos-x64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.4.tgz#f63f5841ba8c8c1a1c840d073afc99b53e8ce740" - integrity sha512-6Xq8SpK46yLvrGxjp6HftkDwPP49puU4OF0hEL4dTxqCbfx09LyrbUj/D7tmIRMj5D5FCUPksBbxyQhp8tmHzw== - -"@esbuild/win32-arm64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.4.tgz#80be69cec92da4da7781cf7a8351b95cc5a236b0" - integrity sha512-PkIl7Jq4mP6ke7QKwyg4fD4Xvn8PXisagV/+HntWoDEdmerB2LTukRZg728Yd1Fj+LuEX75t/hKXE2Ppk8Hh1w== - -"@esbuild/win32-ia32@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.4.tgz#15dc0ed83d2794872b05d8edc4a358fecf97eb54" - integrity sha512-ga676Hnvw7/ycdKB53qPusvsKdwrWzEyJ+AtItHGoARszIqvjffTwaaW3b2L6l90i7MO9i+dlAW415INuRhSGg== - -"@esbuild/win32-x64@0.19.4": - version "0.19.4" - resolved "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.4.tgz#d46a6e220a717f31f39ae80f49477cc3220be0f0" - integrity sha512-HP0GDNla1T3ZL8Ko/SHAS2GgtjOg+VmWnnYLhuTksr++EnduYB0f3Y2LzHsUwb2iQ13JGoY6G3R8h6Du/WG6uA== +"@esbuild/android-arm64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.5.tgz#276c5f99604054d3dbb733577e09adae944baa90" + integrity sha512-5d1OkoJxnYQfmC+Zd8NBFjkhyCNYwM4n9ODrycTFY6Jk1IGiZ+tjVJDDSwDt77nK+tfpGP4T50iMtVi4dEGzhQ== + +"@esbuild/android-arm@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.5.tgz#4a3cbf14758166abaae8ba9c01a80e68342a4eec" + integrity sha512-bhvbzWFF3CwMs5tbjf3ObfGqbl/17ict2/uwOSfr3wmxDE6VdS2GqY/FuzIPe0q0bdhj65zQsvqfArI9MY6+AA== + +"@esbuild/android-x64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.5.tgz#21a3d11cd4613d2d3c5ccb9e746c254eb9265b0a" + integrity sha512-9t+28jHGL7uBdkBjL90QFxe7DVA+KGqWlHCF8ChTKyaKO//VLuoBricQCgwhOjA1/qOczsw843Fy4cbs4H3DVA== + +"@esbuild/darwin-arm64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.5.tgz#714cb839f467d6a67b151ee8255886498e2b9bf6" + integrity sha512-mvXGcKqqIqyKoxq26qEDPHJuBYUA5KizJncKOAf9eJQez+L9O+KfvNFu6nl7SCZ/gFb2QPaRqqmG0doSWlgkqw== + +"@esbuild/darwin-x64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.5.tgz#2c553e97a6d2b4ae76a884e35e6cbab85a990bbf" + integrity sha512-Ly8cn6fGLNet19s0X4unjcniX24I0RqjPv+kurpXabZYSXGM4Pwpmf85WHJN3lAgB8GSth7s5A0r856S+4DyiA== + +"@esbuild/freebsd-arm64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.5.tgz#d554f556718adb31917a0da24277bf84b6ee87f3" + integrity sha512-GGDNnPWTmWE+DMchq1W8Sd0mUkL+APvJg3b11klSGUDvRXh70JqLAO56tubmq1s2cgpVCSKYywEiKBfju8JztQ== + +"@esbuild/freebsd-x64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.5.tgz#288f7358a3bb15d99e73c65c9adaa3dabb497432" + integrity sha512-1CCwDHnSSoA0HNwdfoNY0jLfJpd7ygaLAp5EHFos3VWJCRX9DMwWODf96s9TSse39Br7oOTLryRVmBoFwXbuuQ== + +"@esbuild/linux-arm64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.5.tgz#95933ae86325c93cb6b5e8333d22120ecfdc901b" + integrity sha512-o3vYippBmSrjjQUCEEiTZ2l+4yC0pVJD/Dl57WfPwwlvFkrxoSO7rmBZFii6kQB3Wrn/6GwJUPLU5t52eq2meA== + +"@esbuild/linux-arm@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.5.tgz#0acef93aa3e0579e46d33b666627bddb06636664" + integrity sha512-lrWXLY/vJBzCPC51QN0HM71uWgIEpGSjSZZADQhq7DKhPcI6NH1IdzjfHkDQws2oNpJKpR13kv7/pFHBbDQDwQ== + +"@esbuild/linux-ia32@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.5.tgz#b6e5c9e80b42131cbd6b1ddaa48c92835f1ed67f" + integrity sha512-MkjHXS03AXAkNp1KKkhSKPOCYztRtK+KXDNkBa6P78F8Bw0ynknCSClO/ztGszILZtyO/lVKpa7MolbBZ6oJtQ== + +"@esbuild/linux-loong64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.5.tgz#e5f0cf95a180158b01ff5f417da796a1c09dfbea" + integrity sha512-42GwZMm5oYOD/JHqHska3Jg0r+XFb/fdZRX+WjADm3nLWLcIsN27YKtqxzQmGNJgu0AyXg4HtcSK9HuOk3v1Dw== + +"@esbuild/linux-mips64el@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.5.tgz#ae36fb86c7d5f641f3a0c8472e83dcb6ea36a408" + integrity sha512-kcjndCSMitUuPJobWCnwQ9lLjiLZUR3QLQmlgaBfMX23UEa7ZOrtufnRds+6WZtIS9HdTXqND4yH8NLoVVIkcg== + +"@esbuild/linux-ppc64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.5.tgz#7960cb1666f0340ddd9eef7b26dcea3835d472d0" + integrity sha512-yJAxJfHVm0ZbsiljbtFFP1BQKLc8kUF6+17tjQ78QjqjAQDnhULWiTA6u0FCDmYT1oOKS9PzZ2z0aBI+Mcyj7Q== + +"@esbuild/linux-riscv64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.5.tgz#32207df26af60a3a9feea1783fc21b9817bade19" + integrity sha512-5u8cIR/t3gaD6ad3wNt1MNRstAZO+aNyBxu2We8X31bA8XUNyamTVQwLDA1SLoPCUehNCymhBhK3Qim1433Zag== + +"@esbuild/linux-s390x@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.5.tgz#b38d5681db89a3723862dfa792812397b1510a7d" + integrity sha512-Z6JrMyEw/EmZBD/OFEFpb+gao9xJ59ATsoTNlj39jVBbXqoZm4Xntu6wVmGPB/OATi1uk/DB+yeDPv2E8PqZGw== + +"@esbuild/linux-x64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.5.tgz#46feba2ad041a241379d150f415b472fe3885075" + integrity sha512-psagl+2RlK1z8zWZOmVdImisMtrUxvwereIdyJTmtmHahJTKb64pAcqoPlx6CewPdvGvUKe2Jw+0Z/0qhSbG1A== + +"@esbuild/netbsd-x64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.5.tgz#3b5c1fb068f26bfc681d31f682adf1bea4ef0702" + integrity sha512-kL2l+xScnAy/E/3119OggX8SrWyBEcqAh8aOY1gr4gPvw76la2GlD4Ymf832UCVbmuWeTf2adkZDK+h0Z/fB4g== + +"@esbuild/openbsd-x64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.5.tgz#ca6830316ca68056c5c88a875f103ad3235e00db" + integrity sha512-sPOfhtzFufQfTBgRnE1DIJjzsXukKSvZxloZbkJDG383q0awVAq600pc1nfqBcl0ice/WN9p4qLc39WhBShRTA== + +"@esbuild/sunos-x64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.5.tgz#9efc4eb9539a7be7d5a05ada52ee43cda0d8e2dd" + integrity sha512-dGZkBXaafuKLpDSjKcB0ax0FL36YXCvJNnztjKV+6CO82tTYVDSH2lifitJ29jxRMoUhgkg9a+VA/B03WK5lcg== + +"@esbuild/win32-arm64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.5.tgz#29f8184afa7a02a956ebda4ed638099f4b8ff198" + integrity sha512-dWVjD9y03ilhdRQ6Xig1NWNgfLtf2o/STKTS+eZuF90fI2BhbwD6WlaiCGKptlqXlURVB5AUOxUj09LuwKGDTg== + +"@esbuild/win32-ia32@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.5.tgz#f3de07afb292ecad651ae4bb8727789de2d95b05" + integrity sha512-4liggWIA4oDgUxqpZwrDhmEfAH4d0iljanDOK7AnVU89T6CzHon/ony8C5LeOdfgx60x5cnQJFZwEydVlYx4iw== + +"@esbuild/win32-x64@0.19.5": + version "0.19.5" + resolved "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.5.tgz#faad84c41ba12e3a0acb52571df9bff37bee75f6" + integrity sha512-czTrygUsB/jlM8qEW5MD8bgYU2Xg14lo6kBDXW6HdxKjh8M5PzETGiSHaz9MtbXBYDloHNUAUW2tMiKW4KM9Mw== "@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": version "4.4.0" @@ -2763,9 +2398,9 @@ eslint-visitor-keys "^3.3.0" "@eslint-community/regexpp@^4.5.1", "@eslint-community/regexpp@^4.6.1": - version "4.9.0" - resolved "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.9.0.tgz#7ccb5f58703fa61ffdcbf39e2c604a109e781162" - integrity sha512-zJmuCWj2VLBt4c25CfBIbMZLGLyhkvs7LznyVX5HfpzeocThgIj5XQK4L+g3U36mMcx8bPMhGyPpwCATamC4jQ== + version "4.10.0" + resolved "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63" + integrity sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA== "@eslint/eslintrc@^0.4.3": version "0.4.3" @@ -2782,10 +2417,10 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" -"@eslint/eslintrc@^2.1.2": - version "2.1.2" - resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz#c6936b4b328c64496692f76944e755738be62396" - integrity sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g== +"@eslint/eslintrc@^2.1.3": + version "2.1.3" + resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.3.tgz#797470a75fe0fbd5a53350ee715e85e87baff22d" + integrity sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA== dependencies: ajv "^6.12.4" debug "^4.3.2" @@ -2797,27 +2432,32 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@8.50.0": - version "8.50.0" - resolved "https://registry.npmjs.org/@eslint/js/-/js-8.50.0.tgz#9e93b850f0f3fa35f5fa59adfd03adae8488e484" - integrity sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ== +"@eslint/js@8.53.0": + version "8.53.0" + resolved "https://registry.npmjs.org/@eslint/js/-/js-8.53.0.tgz#bea56f2ed2b5baea164348ff4d5a879f6f81f20d" + integrity sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w== "@extra-number/significant-digits@^1.1.1": version "1.3.9" resolved "https://registry.npmjs.org/@extra-number/significant-digits/-/significant-digits-1.3.9.tgz#06f3acc4aa688af3ed76bf5f30bca6de9d60883f" integrity sha512-E5PY/bCwrNqEHh4QS6AQBinLZ+sxM1lT8tsSVYk8VwhWIPp6fCU/BMRVq0V8iJ8LwS3FHmaA4vUzb78s4BIIyA== +"@fastify/busboy@^2.0.0": + version "2.0.0" + resolved "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.0.0.tgz#f22824caff3ae506b18207bad4126dbc6ccdb6b8" + integrity sha512-JUFJad5lv7jxj926GPgymrWQxxjPYuJNiNjNMzqT+HiuP6Vl3dk5xzG+8sTX96np0ZAluvaMzPsjhHZ5rNuNQQ== + "@gar/promisify@^1.1.3": version "1.1.3" resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== -"@humanwhocodes/config-array@^0.11.11": - version "0.11.11" - resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz#88a04c570dbbc7dd943e4712429c3df09bc32844" - integrity sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA== +"@humanwhocodes/config-array@^0.11.13": + version "0.11.13" + resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz#075dc9684f40a531d9b26b0822153c1e832ee297" + integrity sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ== dependencies: - "@humanwhocodes/object-schema" "^1.2.1" + "@humanwhocodes/object-schema" "^2.0.1" debug "^4.1.1" minimatch "^3.0.5" @@ -2835,11 +2475,16 @@ resolved "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== -"@humanwhocodes/object-schema@^1.2.0", "@humanwhocodes/object-schema@^1.2.1": +"@humanwhocodes/object-schema@^1.2.0": version "1.2.1" resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +"@humanwhocodes/object-schema@^2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz#e5211452df060fa8522b55c7b3c0c4d1981cb044" + integrity sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw== + "@hutson/parse-repository-url@^3.0.0": version "3.0.2" resolved "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz#98c23c950a3d9b6c8f0daed06da6c3af06981340" @@ -3129,51 +2774,43 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.19" - resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz#f8a3249862f91be48d3127c3cfe992f79b4b8811" - integrity sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw== + version "0.3.20" + resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz#72e45707cf240fa6b081d0366f8265b0cd10197f" + integrity sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q== dependencies: "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@jsii/check-node@1.88.0": - version "1.88.0" - resolved "https://registry.npmjs.org/@jsii/check-node/-/check-node-1.88.0.tgz#fa20e012230c692ad36976cde29301be1ed28c67" - integrity sha512-AveFyqkJIb8qZvGk5nZal/8mEJB6lWhwqvAQLodHmqE3WzpmZD5+h+aspBVt0El5cEFRJ1k1mrQqhAnJCVpvxg== - dependencies: - chalk "^4.1.2" - semver "^7.5.4" - -"@jsii/check-node@1.89.0": - version "1.89.0" - resolved "https://registry.npmjs.org/@jsii/check-node/-/check-node-1.89.0.tgz#0cfe0fec566ca1b35004ad9c9497d4d81f28811b" - integrity sha512-RMw19IEj6ch6oOGkBrAbtzwshrOXMKlfbX54S0hGrwR1qlSjNS9qqt4p+LRSpurhriEo7oHDegItNGUjPYoNXw== +"@jsii/check-node@1.91.0": + version "1.91.0" + resolved "https://registry.npmjs.org/@jsii/check-node/-/check-node-1.91.0.tgz#2beb99cf9c8a022d1444f524f4b7729a1bc91168" + integrity sha512-K9UFkRe4uJNVp1O2o4OBM/3usba6Vw3XF1Mq3TVBAYl1EzpAiA62DojGp30+3zwFlb1lkavVj1hKlCrIWIuJhw== dependencies: chalk "^4.1.2" semver "^7.5.4" -"@jsii/spec@1.89.0", "@jsii/spec@^1.84.0", "@jsii/spec@^1.88.0", "@jsii/spec@^1.89.0": - version "1.89.0" - resolved "https://registry.npmjs.org/@jsii/spec/-/spec-1.89.0.tgz#d337c97234bec2fdffe25ad449ebacf22972c55c" - integrity sha512-byzIC5M5FrEaW+GaPGQfPsobfwmEfzHvS7dh5d5fgY4VvvsHBkkhhF/H5xUG+1wQBcdBnqdKyp5CEFm8UEVfqg== +"@jsii/spec@1.91.0", "@jsii/spec@^1.91.0": + version "1.91.0" + resolved "https://registry.npmjs.org/@jsii/spec/-/spec-1.91.0.tgz#91d624357a66148ab9a2d8b5fb26331fc7b01932" + integrity sha512-Ir01bk5CwIFAApRJjRC+JG/f9db5dACEYFSxsHyvXRMu+J/LIANdwD4OPSelWrhbRiQdY6U16BKsRO63uaNRqg== dependencies: ajv "^8.12.0" -"@lerna/child-process@7.3.0": - version "7.3.0" - resolved "https://registry.npmjs.org/@lerna/child-process/-/child-process-7.3.0.tgz#c56488a8a881f22a64793bf9339c5a2450a18559" - integrity sha512-rA+fGUo2j/LEq6w1w8s6oVikLbJTWoIDVpYMc7bUCtwDOUuZKMQiRtjmpavY3fTm7ltu42f4AKflc2A70K4wvA== +"@lerna/child-process@7.4.2": + version "7.4.2" + resolved "https://registry.npmjs.org/@lerna/child-process/-/child-process-7.4.2.tgz#a2fd013ac2150dc288270d3e0d0b850c06bec511" + integrity sha512-je+kkrfcvPcwL5Tg8JRENRqlbzjdlZXyaR88UcnCdNW0AJ1jX9IfHRys1X7AwSroU2ug8ESNC+suoBw1vX833Q== dependencies: chalk "^4.1.0" execa "^5.0.0" strong-log-transformer "^2.1.0" -"@lerna/create@7.3.0": - version "7.3.0" - resolved "https://registry.npmjs.org/@lerna/create/-/create-7.3.0.tgz#5438c231f617b8e825731390d394f8684af471d5" - integrity sha512-fjgiKjg9VXwQ4ZKKsrXICEKRiC3yo6+FprR0mc55uz0s5e9xupoSGLobUTTBdE7ncNB3ibqml8dfaAn/+ESajQ== +"@lerna/create@7.4.2": + version "7.4.2" + resolved "https://registry.npmjs.org/@lerna/create/-/create-7.4.2.tgz#f845fad1480e46555af98bd39af29571605dddc9" + integrity sha512-1wplFbQ52K8E/unnqB0Tq39Z4e+NEoNrpovEnl6GpsTUrC6WDp8+w0Le2uCBV0hXyemxChduCkLz4/y1H1wTeg== dependencies: - "@lerna/child-process" "7.3.0" + "@lerna/child-process" "7.4.2" "@npmcli/run-script" "6.0.2" "@nx/devkit" ">=16.5.1 < 17" "@octokit/plugin-enterprise-rest" "6.0.1" @@ -3518,34 +3155,34 @@ read-package-json-fast "^2.0.3" which "^2.0.2" -"@nrwl/devkit@16.9.1": - version "16.9.1" - resolved "https://registry.npmjs.org/@nrwl/devkit/-/devkit-16.9.1.tgz#e8b42ac23926a241338b173f3eed66757d75e530" - integrity sha512-+iR7tg+LOrGWAGmGv0hr45hYUOeKjK/Jm6WV3Ldmx6I7LaaYM5Fu6Ev2KXL669QMzLJpg3kqgKQsneWbFT3MAw== +"@nrwl/devkit@16.10.0": + version "16.10.0" + resolved "https://registry.npmjs.org/@nrwl/devkit/-/devkit-16.10.0.tgz#ac8c5b4db00f12c4b817c937be2f7c4eb8f2593c" + integrity sha512-fRloARtsDQoQgQ7HKEy0RJiusg/HSygnmg4gX/0n/Z+SUS+4KoZzvHjXc6T5ZdEiSjvLypJ+HBM8dQzIcVACPQ== dependencies: - "@nx/devkit" "16.9.1" + "@nx/devkit" "16.10.0" -"@nrwl/tao@16.9.1": - version "16.9.1" - resolved "https://registry.npmjs.org/@nrwl/tao/-/tao-16.9.1.tgz#84e9be4002792cf5a2cf45f4e0733ac7091d732a" - integrity sha512-KsRBRAE5mSP83ZjO9cPW6ZQZWOtkMfCBih/WE9qpaiHn+hCydtYStyAO2QSic4tHVV+8VpPUQWYnpf5rhkNzWg== +"@nrwl/tao@16.10.0": + version "16.10.0" + resolved "https://registry.npmjs.org/@nrwl/tao/-/tao-16.10.0.tgz#94642a0380709b8e387e1e33705a5a9624933375" + integrity sha512-QNAanpINbr+Pod6e1xNgFbzK1x5wmZl+jMocgiEFXZ67KHvmbD6MAQQr0MMz+GPhIu7EE4QCTLTyCEMlAG+K5Q== dependencies: - nx "16.9.1" + nx "16.10.0" tslib "^2.3.0" -"@nrwl/workspace@16.9.1": - version "16.9.1" - resolved "https://registry.npmjs.org/@nrwl/workspace/-/workspace-16.9.1.tgz#f4f73c3652b4968740a5103e5d0190be04c1bed7" - integrity sha512-jtQmsC1dmM/aUXFHw261tYu7tMqOHw4Sb3NWH4hXoasOn862L4kwkTYWn/MdQ4JTbv9uTf4+cRohP2F6aOj+jA== +"@nrwl/workspace@16.10.0": + version "16.10.0" + resolved "https://registry.npmjs.org/@nrwl/workspace/-/workspace-16.10.0.tgz#0b75465c1887ef3953df32f0c234a9568c1504be" + integrity sha512-fZeNxhFs/2cm326NebfJIgSI3W4KZN94WGS46wlIBrUUGP5/vwHYsi09Kx6sG1kRkAuZVtgJ33uU2F6xcAWzUA== dependencies: - "@nx/workspace" "16.9.1" + "@nx/workspace" "16.10.0" -"@nx/devkit@16.9.1", "@nx/devkit@>=16.5.1 < 17": - version "16.9.1" - resolved "https://registry.npmjs.org/@nx/devkit/-/devkit-16.9.1.tgz#819f355849eecde24b40634150af3038d2652570" - integrity sha512-jQMLX8pUKsOIk0tLFzJms5awPxKfJEi0uxY7+IUfRNHcnDkOFiv6gf1QqJ3pobmgwBdbC6Nv/dhDP3JT2wA1gA== +"@nx/devkit@16.10.0", "@nx/devkit@>=16.5.1 < 17": + version "16.10.0" + resolved "https://registry.npmjs.org/@nx/devkit/-/devkit-16.10.0.tgz#7e466be2dee2dcb1ccaf286786ca2a0a639aa007" + integrity sha512-IvKQqRJFDDiaj33SPfGd3ckNHhHi6ceEoqCbAP4UuMXOPPVOX6H0KVk+9tknkPb48B7jWIw6/AgOeWkBxPRO5w== dependencies: - "@nrwl/devkit" "16.9.1" + "@nrwl/devkit" "16.10.0" ejs "^3.1.7" enquirer "~2.3.6" ignore "^5.0.4" @@ -3553,67 +3190,67 @@ tmp "~0.2.1" tslib "^2.3.0" -"@nx/nx-darwin-arm64@16.9.1": - version "16.9.1" - resolved "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-16.9.1.tgz#aff318f99e2b53af480803d00322edcc2037ed5f" - integrity sha512-JWGrPxxt3XjgIYzvnaNAeNmK24wyF6yEE1bV+wnnKzd7yavVps3c2TOVE/AT4sgvdVj3xFzztyixYGV58tCYrg== - -"@nx/nx-darwin-x64@16.9.1": - version "16.9.1" - resolved "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-16.9.1.tgz#a2095799f9fb67988f4f88eb17f93f73a6b5629f" - integrity sha512-b1Hw1AmKrR+Kp361WTiKC1RFoQwERyW9R/9XJGNIdgtr+V2wa775eCEdxB9r9mwCqyEmM9iVadpRHPaFSAfQfQ== - -"@nx/nx-freebsd-x64@16.9.1": - version "16.9.1" - resolved "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-16.9.1.tgz#ea7ff8ef1e70b0185b2cb01085d37fed068da6e6" - integrity sha512-jscl/Xu86tLQYbC8b1wy9FjEgGyuLpYnvP9d+34AHDi6CbCNSodbv93xFDlfYcLOeOD/mJXqR1Ru/1MF86OB5A== - -"@nx/nx-linux-arm-gnueabihf@16.9.1": - version "16.9.1" - resolved "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-16.9.1.tgz#93728e8fa785ed2c69fced92372cc6faf0340d0d" - integrity sha512-NMAyxjYv9y4LwzU76htcPWfdmRoN/ZziTNKT3jaMbn38x4e7DoXYs9GGh267z45yWHscQWoV0v+X39LmB819aQ== - -"@nx/nx-linux-arm64-gnu@16.9.1": - version "16.9.1" - resolved "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-16.9.1.tgz#bde082e427ff5e108c8f611f6a37fc5e56bc27dc" - integrity sha512-A5UbK5rFhqzs3kMiEKA+xr3LAJsQBA97VDyMH6WPraSl+XRIt4EePx0MyEqo1pnEgeuoOCvR1tjDot5E7ldInw== - -"@nx/nx-linux-arm64-musl@16.9.1": - version "16.9.1" - resolved "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-16.9.1.tgz#d090e0ef5645854da02e6bea58d908dedea286bb" - integrity sha512-eIn5PnKH7Y/u1LuanAM0wPNdcb9Z7seDjQzQ0hFMCCvV75Z8A02ztbiueLGaEsDLx35MPBdBmuyo4hsmvmLgpg== - -"@nx/nx-linux-x64-gnu@16.9.1": - version "16.9.1" - resolved "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-16.9.1.tgz#40f808011b59003735e33bd5bae12bd19b3120b5" - integrity sha512-MMvhoS1pZjyIjwfeZNH2dDZuVF2xxURLTXC4UmmpY/wOWCuXhvD7QUv5A5QShxfaVXmXceo/fGLK+/Qm5e2+7g== - -"@nx/nx-linux-x64-musl@16.9.1": - version "16.9.1" - resolved "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-16.9.1.tgz#7740b213837e2479fc278f8176344bd2a765919f" - integrity sha512-ca0d00YCHo0+OIT80MZdtseJj9wTlWMucmdm0OCXLf/l+Dma4MO4LR09WMH2VIpjoz4Gj7+xP0QtKtH4fWFD8Q== - -"@nx/nx-win32-arm64-msvc@16.9.1": - version "16.9.1" - resolved "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-16.9.1.tgz#98f2daf489ffa73a5fa1e7bbb477438988c090fa" - integrity sha512-UIDAWH6/LfouFaXLJWyZKggzH/698lSrLkEE1fa9VrrGEOhumk7MPAVQc/XxgkWgPDDR1TJl0ij+J1bOREn73Q== - -"@nx/nx-win32-x64-msvc@16.9.1": - version "16.9.1" - resolved "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-16.9.1.tgz#5d2ad9bd578b807e1e9c4174106e6c8b78a47efe" - integrity sha512-isnElU5RaQEGPAJhx6VNY0P/avD79s146kmZOn1Ff5fAjReqR7kRxSWXQOdIqc6nPH9Y0c9wNwEAuhBJoor+Mw== - -"@nx/workspace@16.9.1", "@nx/workspace@^16.9.1": - version "16.9.1" - resolved "https://registry.npmjs.org/@nx/workspace/-/workspace-16.9.1.tgz#bb39be3b5b79703204a104b9f1c54e64cfe1d0fc" - integrity sha512-cLTcViSwHZ6M0+YuuKOFrvSaObQVZRAlxa/rvxyZD0xcQGXVY7lWZ1IzkVJueBtSoiBVfjXETXo3KX+qZcfB8A== - dependencies: - "@nrwl/workspace" "16.9.1" - "@nx/devkit" "16.9.1" +"@nx/nx-darwin-arm64@16.10.0": + version "16.10.0" + resolved "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-16.10.0.tgz#0c73010cac7a502549483b12bad347da9014e6f1" + integrity sha512-YF+MIpeuwFkyvM5OwgY/rTNRpgVAI/YiR0yTYCZR+X3AAvP775IVlusNgQ3oedTBRUzyRnI4Tknj1WniENFsvQ== + +"@nx/nx-darwin-x64@16.10.0": + version "16.10.0" + resolved "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-16.10.0.tgz#2ccf270418d552fd0a8e0d6089aee4944315adaa" + integrity sha512-ypi6YxwXgb0kg2ixKXE3pwf5myVNUgWf1CsV5OzVccCM8NzheMO51KDXTDmEpXdzUsfT0AkO1sk5GZeCjhVONg== + +"@nx/nx-freebsd-x64@16.10.0": + version "16.10.0" + resolved "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-16.10.0.tgz#c3ee6914256e69493fed9355b0d6661d0e86da44" + integrity sha512-UeEYFDmdbbDkTQamqvtU8ibgu5jQLgFF1ruNb/U4Ywvwutw2d4ruOMl2e0u9hiNja9NFFAnDbvzrDcMo7jYqYw== + +"@nx/nx-linux-arm-gnueabihf@16.10.0": + version "16.10.0" + resolved "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-16.10.0.tgz#a961eccbb38acb2da7fc125b29d1fead0b39152f" + integrity sha512-WV3XUC2DB6/+bz1sx+d1Ai9q2Cdr+kTZRN50SOkfmZUQyEBaF6DRYpx/a4ahhxH3ktpNfyY8Maa9OEYxGCBkQA== + +"@nx/nx-linux-arm64-gnu@16.10.0": + version "16.10.0" + resolved "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-16.10.0.tgz#795f20072549d03822b5c4639ef438e473dbb541" + integrity sha512-aWIkOUw995V3ItfpAi5FuxQ+1e9EWLS1cjWM1jmeuo+5WtaKToJn5itgQOkvSlPz+HSLgM3VfXMvOFALNk125g== + +"@nx/nx-linux-arm64-musl@16.10.0": + version "16.10.0" + resolved "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-16.10.0.tgz#f2428ee6dbe2b2c326e8973f76c97666def33607" + integrity sha512-uO6Gg+irqpVcCKMcEPIQcTFZ+tDI02AZkqkP7koQAjniLEappd8DnUBSQdcn53T086pHpdc264X/ZEpXFfrKWQ== + +"@nx/nx-linux-x64-gnu@16.10.0": + version "16.10.0" + resolved "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-16.10.0.tgz#d36c2bcf94d49eaa24e3880ddaf6f1f617de539b" + integrity sha512-134PW/u/arNFAQKpqMJniC7irbChMPz+W+qtyKPAUXE0XFKPa7c1GtlI/wK2dvP9qJDZ6bKf0KtA0U/m2HMUOA== + +"@nx/nx-linux-x64-musl@16.10.0": + version "16.10.0" + resolved "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-16.10.0.tgz#78bd2ab97a583b3d4ea3387b67fd7b136907493c" + integrity sha512-q8sINYLdIJxK/iUx9vRk5jWAWb/2O0PAbOJFwv4qkxBv4rLoN7y+otgCZ5v0xfx/zztFgk/oNY4lg5xYjIso2Q== + +"@nx/nx-win32-arm64-msvc@16.10.0": + version "16.10.0" + resolved "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-16.10.0.tgz#ef20ec8d0c83d66e73e20df12d2c788b8f866396" + integrity sha512-moJkL9kcqxUdJSRpG7dET3UeLIciwrfP08mzBQ12ewo8K8FzxU8ZUsTIVVdNrwt01CXOdXoweGfdQLjJ4qTURA== + +"@nx/nx-win32-x64-msvc@16.10.0": + version "16.10.0" + resolved "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-16.10.0.tgz#7410a51d0f8be631eec9552f01b2e5946285927c" + integrity sha512-5iV2NKZnzxJwZZ4DM5JVbRG/nkhAbzEskKaLBB82PmYGKzaDHuMHP1lcPoD/rtYMlowZgNA/RQndfKvPBPwmXA== + +"@nx/workspace@16.10.0", "@nx/workspace@^16.10.0": + version "16.10.0" + resolved "https://registry.npmjs.org/@nx/workspace/-/workspace-16.10.0.tgz#01d8679949b9a7637b756876e3a1f4853a94c230" + integrity sha512-95Eq36bzq2hb095Zvg+Ru8o9oIeOE62tNGGpohBkZPKoK2CUTYEq0AZtdj1suXS82ukCFCyyZ/c/fwxL62HRZA== + dependencies: + "@nrwl/workspace" "16.10.0" + "@nx/devkit" "16.10.0" chalk "^4.1.0" enquirer "~2.3.6" ignore "^5.0.4" - nx "16.9.1" + nx "16.10.0" rxjs "^7.8.0" tslib "^2.3.0" yargs-parser "21.1.1" @@ -4010,14 +3647,6 @@ "@smithy/types" "^2.4.0" tslib "^2.5.0" -"@smithy/abort-controller@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz#f4b9ce1a9a09d446cf24d8bc1abc2b3b524cd7cd" - integrity sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg== - dependencies: - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - "@smithy/chunked-blob-reader-native@^2.0.0": version "2.0.0" resolved "https://registry.npmjs.org/@smithy/chunked-blob-reader-native/-/chunked-blob-reader-native-2.0.0.tgz#f6d0eeeb5481026b68b054f45540d924c194d558" @@ -4033,18 +3662,7 @@ dependencies: tslib "^2.5.0" -"@smithy/config-resolver@^2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-2.0.10.tgz#974de532e6048d86b8b7aa1fed17a75c558c41c8" - integrity sha512-MwToDsCltHjumkCuRn883qoNeJUawc2b8sX9caSn5vLz6J5crU1IklklNxWCaMO2z2nDL91Po4b/aI1eHv5PfA== - dependencies: - "@smithy/node-config-provider" "^2.0.12" - "@smithy/types" "^2.3.3" - "@smithy/util-config-provider" "^2.0.0" - "@smithy/util-middleware" "^2.0.2" - tslib "^2.5.0" - -"@smithy/config-resolver@^2.0.16": +"@smithy/config-resolver@^2.0.10", "@smithy/config-resolver@^2.0.16": version "2.0.16" resolved "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-2.0.16.tgz#f2abf65a21f56731fdab2d39d2df2dd0e377c9cc" integrity sha512-1k+FWHQDt2pfpXhJsOmNMmlAZ3NUQ98X5tYsjQhVGq+0X6cOBMhfh6Igd0IX3Ut6lEO6DQAdPMI/blNr3JZfMQ== @@ -4055,18 +3673,7 @@ "@smithy/util-middleware" "^2.0.5" tslib "^2.5.0" -"@smithy/credential-provider-imds@^2.0.0", "@smithy/credential-provider-imds@^2.0.12": - version "2.0.12" - resolved "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz#787dc731903dd1b07f5e35e6c1d63ca74d1d3356" - integrity sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA== - dependencies: - "@smithy/node-config-provider" "^2.0.12" - "@smithy/property-provider" "^2.0.10" - "@smithy/types" "^2.3.3" - "@smithy/url-parser" "^2.0.9" - tslib "^2.5.0" - -"@smithy/credential-provider-imds@^2.0.18": +"@smithy/credential-provider-imds@^2.0.0", "@smithy/credential-provider-imds@^2.0.18": version "2.0.18" resolved "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.18.tgz#9a5b8be3f268bb4ac7b7ef321f57b0e9a61e2940" integrity sha512-QnPBi6D2zj6AHJdUTo5zXmk8vwHJ2bNevhcVned1y+TZz/OI5cizz5DsYNkqFUIDn8tBuEyKNgbmKVNhBbuY3g== @@ -4077,63 +3684,52 @@ "@smithy/url-parser" "^2.0.12" tslib "^2.5.0" -"@smithy/eventstream-codec@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-2.0.9.tgz#aa588d4083c9a16f14896d780e2fff0b34ef2c35" - integrity sha512-sy0pcbKnawt1iu+qCoSFbs/h9PAaUgvlJEO3lqkE1HFFj4p5RgL98vH+9CyDoj6YY82cG5XsorFmcLqQJHTOYw== +"@smithy/eventstream-codec@^2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-2.0.12.tgz#99fab750d0ac3941f341d912d3c3a1ab985e1a7a" + integrity sha512-ZZQLzHBJkbiAAdj2C5K+lBlYp/XJ+eH2uy+jgJgYIFW/o5AM59Hlj7zyI44/ZTDIQWmBxb3EFv/c5t44V8/g8A== dependencies: "@aws-crypto/crc32" "3.0.0" - "@smithy/types" "^2.3.3" + "@smithy/types" "^2.4.0" "@smithy/util-hex-encoding" "^2.0.0" tslib "^2.5.0" "@smithy/eventstream-serde-browser@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-2.0.9.tgz#9c595348d5e1a9c140a92bfe0235e9a282ef9c88" - integrity sha512-g70enHZau2hGj1Uxedrn8AAjH9E7RnpHdwkuPKapagah53ztbwI7xaNeA5SLD4MjSjdrjathyQBCQKIzwXrR1g== + version "2.0.12" + resolved "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-2.0.12.tgz#46b578cf30ec4b91139800d89a752502d2b28a41" + integrity sha512-0pi8QlU/pwutNshoeJcbKR1p7Ie5STd8UFAMX5xhSoSJjNlxIv/OsHbF023jscMRN2Prrqd6ToGgdCnsZVQjvg== dependencies: - "@smithy/eventstream-serde-universal" "^2.0.9" - "@smithy/types" "^2.3.3" + "@smithy/eventstream-serde-universal" "^2.0.12" + "@smithy/types" "^2.4.0" tslib "^2.5.0" "@smithy/eventstream-serde-config-resolver@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-2.0.9.tgz#580a0f54182f90a61f50b84a675aed728d08f8af" - integrity sha512-+15GzIMtdSuRPyuCeGZ7gzgD94Ejv6eM1vKcqvipdzS+i36KTZ2A9aZsJk+gDw//OCD1EMx9SqpV6bUvMS4PWg== + version "2.0.12" + resolved "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-2.0.12.tgz#07871d226561394dfd6b468a7ede142b01491a76" + integrity sha512-I0XfwQkIX3gAnbrU5rLMkBSjTM9DHttdbLwf12CXmj7SSI5dT87PxtKLRrZGanaCMbdf2yCep+MW5/4M7IbvQA== dependencies: - "@smithy/types" "^2.3.3" + "@smithy/types" "^2.4.0" tslib "^2.5.0" "@smithy/eventstream-serde-node@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-2.0.9.tgz#07109906bcbabe5c2f2c5f2cf3cd75f352f3ab75" - integrity sha512-UEJcvN2WXXEjkewtFkj1S2HSZLbyCgzUnfoFPrTuKy4+xRfakO5dNx6ws2h1pvb8Vc7mTuBL+Webl1R5mnVsXA== - dependencies: - "@smithy/eventstream-serde-universal" "^2.0.9" - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - -"@smithy/eventstream-serde-universal@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-2.0.9.tgz#c8613768f14664c6b5fab299b24bb9141bbdecc3" - integrity sha512-dAHQEYlK/1tjjieBE7jjXwpLQFgKdkvC4HSQf+/Jj4t34XbUmXWHbw92/EuLp9+vjNB/JQPvkwpMtN31jxIDeg== + version "2.0.12" + resolved "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-2.0.12.tgz#9f27037b7c782f9cbde6cc10a054df37915b0726" + integrity sha512-vf1vMHGOkG3uqN9x1zKOhnvW/XgvhJXWqjV6zZiT2FMjlEayugQ1mzpSqr7uf89+BzjTzuZKERmOsEAmewLbxw== dependencies: - "@smithy/eventstream-codec" "^2.0.9" - "@smithy/types" "^2.3.3" + "@smithy/eventstream-serde-universal" "^2.0.12" + "@smithy/types" "^2.4.0" tslib "^2.5.0" -"@smithy/fetch-http-handler@^2.1.5": - version "2.1.5" - resolved "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz#0764e232482320b9f2f8ec9c79ebdfa214a761fb" - integrity sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA== +"@smithy/eventstream-serde-universal@^2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-2.0.12.tgz#59593439e153c576ab2d46f233c7bc4ddc364cb3" + integrity sha512-xZ3ZNpCxIND+q+UCy7y1n1/5VQEYicgSTNCcPqsKawX+Vd+6OcFX7gUHMyPzL8cZr+GdmJuxNleqHlH4giK2tw== dependencies: - "@smithy/protocol-http" "^3.0.5" - "@smithy/querystring-builder" "^2.0.9" - "@smithy/types" "^2.3.3" - "@smithy/util-base64" "^2.0.0" + "@smithy/eventstream-codec" "^2.0.12" + "@smithy/types" "^2.4.0" tslib "^2.5.0" -"@smithy/fetch-http-handler@^2.2.4": +"@smithy/fetch-http-handler@^2.1.5", "@smithy/fetch-http-handler@^2.2.4": version "2.2.4" resolved "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.2.4.tgz#405716581a5a336f2c162daf4169bff600fc47ce" integrity sha512-gIPRFEGi+c6V52eauGKrjDzPWF2Cu7Z1r5F8A3j2wcwz25sPG/t8kjsbEhli/tS/2zJp/ybCZXe4j4ro3yv/HA== @@ -4145,16 +3741,16 @@ tslib "^2.5.0" "@smithy/hash-blob-browser@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/hash-blob-browser/-/hash-blob-browser-2.0.9.tgz#e02caf03bdd036343bc53883330a1b03fc26a34e" - integrity sha512-JNWOV1ci9vIg4U82klNr07bZXsA6OCumqHugpvZdvvn6cNGwTa4rvpS5FpPcqKeh3Rdg1rr4h8g+X6zyOamnZw== + version "2.0.12" + resolved "https://registry.npmjs.org/@smithy/hash-blob-browser/-/hash-blob-browser-2.0.12.tgz#e030356ec480099db614adac8cc30f41a4f8a6ec" + integrity sha512-riLnV16f27yyePX8UF0deRHAeccUK8SrOxyTykSTrnVkgS3DsjNapZtTbd8OGNKEbI60Ncdb5GwN3rHZudXvog== dependencies: "@smithy/chunked-blob-reader" "^2.0.0" "@smithy/chunked-blob-reader-native" "^2.0.0" - "@smithy/types" "^2.3.3" + "@smithy/types" "^2.4.0" tslib "^2.5.0" -"@smithy/hash-node@^2.0.12": +"@smithy/hash-node@^2.0.9": version "2.0.12" resolved "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.12.tgz#514586ca3f54840322273029eef66c41d9001e39" integrity sha512-fDZnTr5j9t5qcbeJ037aMZXxMka13Znqwrgy3PAqYj6Dm3XHXHftTH3q+NWgayUxl1992GFtQt1RuEzRMy3NnQ== @@ -4164,26 +3760,16 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" -"@smithy/hash-node@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.9.tgz#51811dabd2990eec1fc003dd6aaa8b8db95cc1eb" - integrity sha512-XP3yWd5wyCtiVmsY5Nuq/FUwyCEQ6YG7DsvRh7ThldNukGpCzyFdP8eivZJVjn4Fx7oYrrOnVoYZ0WEgpW1AvQ== - dependencies: - "@smithy/types" "^2.3.3" - "@smithy/util-buffer-from" "^2.0.0" - "@smithy/util-utf8" "^2.0.0" - tslib "^2.5.0" - "@smithy/hash-stream-node@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/hash-stream-node/-/hash-stream-node-2.0.9.tgz#ecdfef5980702fd8449bdf0f9077b9fabbdfd5a9" - integrity sha512-3nrkMpiOrhsJvJS6K4OkP0qvA3U5r8PpseXULeGd1ZD1EbfcZ30Lvl72FGaaHskwWZyTPR4czr1d/RwLRCVHNA== + version "2.0.12" + resolved "https://registry.npmjs.org/@smithy/hash-stream-node/-/hash-stream-node-2.0.12.tgz#9ad95895e946998991890e1c6a5694d63ad40fde" + integrity sha512-x/DrSynPKrW0k00q7aZ/vy531a3mRw79mOajHp+cIF0TrA1SqEMFoy/B8X0XtoAtlJWt/vvgeDNqt/KAeaAqMw== dependencies: - "@smithy/types" "^2.3.3" + "@smithy/types" "^2.4.0" "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" -"@smithy/invalid-dependency@^2.0.12": +"@smithy/invalid-dependency@^2.0.9": version "2.0.12" resolved "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-2.0.12.tgz#de78a5e9457cc397aad0648e18c0260b522fe604" integrity sha512-p5Y+iMHV3SoEpy3VSR7mifbreHQwVSvHSAz/m4GdoXfOzKzaYC8hYv10Ks7Deblkf7lhas8U+lAp9ThbBM+ZXA== @@ -4191,14 +3777,6 @@ "@smithy/types" "^2.4.0" tslib "^2.5.0" -"@smithy/invalid-dependency@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-2.0.9.tgz#9c8ebb70f0d1670490ae51c078d7240ac7cb9ddb" - integrity sha512-RuJqhYf8nViK96IIO9JbTtjDUuFItVfuuJhWw2yk7fv67yltQ7fZD6IQ2OsHHluoVmstnQJuCg5raXJR696Ubw== - dependencies: - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - "@smithy/is-array-buffer@^2.0.0": version "2.0.0" resolved "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-2.0.0.tgz#8fa9b8040651e7ba0b2f6106e636a91354ff7d34" @@ -4207,24 +3785,15 @@ tslib "^2.5.0" "@smithy/md5-js@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/md5-js/-/md5-js-2.0.9.tgz#37eb5b6a4d8a978429623a91d3aa389c904ac1f5" - integrity sha512-ALHGoTZDgBXBbjCpQzVy6hpa6Rdr6e2jyEw51d6CQOUpHkUnFH7G96UWhVwUnkP0xozPCvmWy+3+j2QUX+oK9w== + version "2.0.12" + resolved "https://registry.npmjs.org/@smithy/md5-js/-/md5-js-2.0.12.tgz#9625cb33a894713fb6d8a817bafd4f84e23ea506" + integrity sha512-OgDt+Xnrw+W5z3MSl5KZZzebqmXrYl9UdbCiBYnnjErmNywwSjV6QB/Oic3/7hnsPniSU81n7Rvlhz2kH4EREQ== dependencies: - "@smithy/types" "^2.3.3" + "@smithy/types" "^2.4.0" "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" "@smithy/middleware-content-length@^2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-2.0.11.tgz#3d046f917cb0975caf6af2de96c9622cfa3c33ca" - integrity sha512-Malj4voNTL4+a5ZL3a6+Ij7JTUMTa2R7c3ZIBzMxN5OUUgAspU7uFi1Q97f4B0afVh2joQBAWH5IQJUG25nl8g== - dependencies: - "@smithy/protocol-http" "^3.0.5" - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - -"@smithy/middleware-content-length@^2.0.14": version "2.0.14" resolved "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-2.0.14.tgz#ee1aa842490cee90b6ac208fb13a7d56d3ed84f2" integrity sha512-poUNgKTw9XwPXfX9nEHpVgrMNVpaSMZbshqvPxFVoalF4wp6kRzYKOfdesSVectlQ51VtigoLfbXcdyPwvxgTg== @@ -4234,17 +3803,6 @@ tslib "^2.5.0" "@smithy/middleware-endpoint@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz#2a8b5098cc124923a7104db7578314b4193a62f6" - integrity sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg== - dependencies: - "@smithy/middleware-serde" "^2.0.9" - "@smithy/types" "^2.3.3" - "@smithy/url-parser" "^2.0.9" - "@smithy/util-middleware" "^2.0.2" - tslib "^2.5.0" - -"@smithy/middleware-endpoint@^2.1.3": version "2.1.3" resolved "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.1.3.tgz#ab7ebff4ecbc9b02ec70dd57179f47c4f16bf03f" integrity sha512-ZrQ0/YX6hNVTxqMEHtEaDbDv6pNeEji/a5Vk3HuFC5R3ZY8lfoATyxmOGxBVYnF3NUvZLNC7umEv1WzWGWvCGQ== @@ -4257,21 +3815,7 @@ "@smithy/util-middleware" "^2.0.5" tslib "^2.5.0" -"@smithy/middleware-retry@^2.0.12": - version "2.0.12" - resolved "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.12.tgz#d297d7cc5f40e8908aa1495060155b40e24f1ce7" - integrity sha512-YQ/ufXX4/d9/+Jf1QQ4J+CVeupC7BW52qldBTvRV33PDX9vxndlAwkFwzBcmnUFC3Hjf1//HW6I77EItcjNSCA== - dependencies: - "@smithy/node-config-provider" "^2.0.12" - "@smithy/protocol-http" "^3.0.5" - "@smithy/service-error-classification" "^2.0.2" - "@smithy/types" "^2.3.3" - "@smithy/util-middleware" "^2.0.2" - "@smithy/util-retry" "^2.0.2" - tslib "^2.5.0" - uuid "^8.3.2" - -"@smithy/middleware-retry@^2.0.18": +"@smithy/middleware-retry@^2.0.12": version "2.0.18" resolved "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.18.tgz#37982552a1d3815148797831df025e470423fc5e" integrity sha512-VyrHQRldGSb3v9oFOB5yPxmLT7U2sQic2ytylOnYlnsmVOLlFIaI6sW22c+w2675yq+XZ6HOuzV7x2OBYCWRNA== @@ -4285,7 +3829,7 @@ tslib "^2.5.0" uuid "^8.3.2" -"@smithy/middleware-serde@^2.0.12": +"@smithy/middleware-serde@^2.0.12", "@smithy/middleware-serde@^2.0.9": version "2.0.12" resolved "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.12.tgz#edc93c400a5ffec6c068419163f9d880bdff5e5b" integrity sha512-IBeco157lIScecq2Z+n0gq56i4MTnfKxS7rbfrAORveDJgnbBAaEQgYqMqp/cYqKrpvEXcyTjwKHrBjCCIZh2A== @@ -4293,23 +3837,7 @@ "@smithy/types" "^2.4.0" tslib "^2.5.0" -"@smithy/middleware-serde@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz#cf0028f18dc96648de212870c9726844084dd89a" - integrity sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg== - dependencies: - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - -"@smithy/middleware-stack@^2.0.2", "@smithy/middleware-stack@^2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.3.tgz#86b9d13d7b01208b59f9510eb6b08f8556ef6915" - integrity sha512-AlhPmbwpkC4lQBVaVHXczmjFvsAhDHhrakqLt038qFLotnJcvDLhmMzAtu23alBeOSkKxkTQq0LsAt2N0WpAbw== - dependencies: - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - -"@smithy/middleware-stack@^2.0.6": +"@smithy/middleware-stack@^2.0.2", "@smithy/middleware-stack@^2.0.6": version "2.0.6" resolved "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.6.tgz#c58d6e4ffc4498bf47fd27adcddd142395d3ba84" integrity sha512-YSvNZeOKWLJ0M/ycxwDIe2Ztkp6Qixmcml1ggsSv2fdHKGkBPhGrX5tMzPGMI1yyx55UEYBi2OB4s+RriXX48A== @@ -4317,17 +3845,7 @@ "@smithy/types" "^2.4.0" tslib "^2.5.0" -"@smithy/node-config-provider@^2.0.12": - version "2.0.12" - resolved "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz#59ef195dab5f00ea15abeb356e1fc2f41e4d54f2" - integrity sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A== - dependencies: - "@smithy/property-provider" "^2.0.10" - "@smithy/shared-ini-file-loader" "^2.0.11" - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - -"@smithy/node-config-provider@^2.1.3": +"@smithy/node-config-provider@^2.0.12", "@smithy/node-config-provider@^2.1.3": version "2.1.3" resolved "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.1.3.tgz#bf4cee69df08d43618ad4329d234351b14d98ef7" integrity sha512-J6lXvRHGVnSX3n1PYi+e1L5HN73DkkJpUviV3Ebf+8wSaIjAf+eVNbzyvh/S5EQz7nf4KVfwbD5vdoZMAthAEQ== @@ -4348,18 +3866,7 @@ "@smithy/types" "^1.2.0" tslib "^2.5.0" -"@smithy/node-http-handler@^2.1.5": - version "2.1.5" - resolved "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz#b1ad4c4b7cdbb5774aeeaaf0bd14b78c6c267460" - integrity sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA== - dependencies: - "@smithy/abort-controller" "^2.0.9" - "@smithy/protocol-http" "^3.0.5" - "@smithy/querystring-builder" "^2.0.9" - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - -"@smithy/node-http-handler@^2.1.8": +"@smithy/node-http-handler@^2.1.5", "@smithy/node-http-handler@^2.1.8": version "2.1.8" resolved "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.8.tgz#aad989d5445c43a677e7e6161c6fa4abd0e46023" integrity sha512-KZylM7Wff/So5SmCiwg2kQNXJ+RXgz34wkxS7WNwIUXuZrZZpY/jKJCK+ZaGyuESDu3TxcaY+zeYGJmnFKbQsA== @@ -4370,15 +3877,7 @@ "@smithy/types" "^2.4.0" tslib "^2.5.0" -"@smithy/property-provider@^2.0.0", "@smithy/property-provider@^2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz#6ed80935deff770459717c402af26e925076f32b" - integrity sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw== - dependencies: - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - -"@smithy/property-provider@^2.0.13": +"@smithy/property-provider@^2.0.0", "@smithy/property-provider@^2.0.13": version "2.0.13" resolved "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.13.tgz#45ee47ad79d638082523f944c49fd2e851312098" integrity sha512-VJqUf2CbsQX6uUiC5dUPuoEATuFjkbkW3lJHbRnpk9EDC9X+iKqhfTK+WP+lve5EQ9TcCI1Q6R7hrg41FyC54w== @@ -4394,15 +3893,7 @@ "@smithy/types" "^1.2.0" tslib "^2.5.0" -"@smithy/protocol-http@^3.0.5": - version "3.0.5" - resolved "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz#a143bf54382c6f7c8cdf2c67d3be101a9b7b486c" - integrity sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ== - dependencies: - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - -"@smithy/protocol-http@^3.0.8": +"@smithy/protocol-http@^3.0.5", "@smithy/protocol-http@^3.0.8": version "3.0.8" resolved "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.8.tgz#0f7c114f6b8e23a57dff7a275d085bac97b9233c" integrity sha512-SHJvYeWq8q0FK8xHk+xjV9dzDUDjFMT+G1pZbV+XB6OVoac/FSVshlMNPeUJ8AmSkcDKHRu5vASnRqZHgD3qhw== @@ -4419,7 +3910,7 @@ "@smithy/util-uri-escape" "^1.1.0" tslib "^2.5.0" -"@smithy/querystring-builder@^2.0.12": +"@smithy/querystring-builder@^2.0.12", "@smithy/querystring-builder@^2.0.9": version "2.0.12" resolved "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.12.tgz#d13e0eea08d43596bdbb182206ccdee0956d06fd" integrity sha512-cDbF07IuCjiN8CdGvPzfJjXIrmDSelScRfyJYrYBNBbKl2+k7QD/KqiHhtRyEKgID5mmEVrV6KE6L/iPJ98sFw== @@ -4428,15 +3919,6 @@ "@smithy/util-uri-escape" "^2.0.0" tslib "^2.5.0" -"@smithy/querystring-builder@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz#97e3731b6e6fef533ab0b063b0007f6a545c0291" - integrity sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg== - dependencies: - "@smithy/types" "^2.3.3" - "@smithy/util-uri-escape" "^2.0.0" - tslib "^2.5.0" - "@smithy/querystring-parser@^2.0.12": version "2.0.12" resolved "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.12.tgz#d2c234031e266359716a0c62c8c1208a5bd2557e" @@ -4445,21 +3927,6 @@ "@smithy/types" "^2.4.0" tslib "^2.5.0" -"@smithy/querystring-parser@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz#a372fcb652df0c8110aa3ffbf6bc6b512e11a78c" - integrity sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg== - dependencies: - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - -"@smithy/service-error-classification@^2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-2.0.2.tgz#2fcc703ecb2c0f2880a53427a1ecd8530fcccc34" - integrity sha512-GTUd2j63gKy7A+ggvSdn2hc4sejG7LWfE+ZMF17vzWoNyqERWbRP7HTPS0d0Lwg1p6OQCAzvNigSrEIWVFt6iA== - dependencies: - "@smithy/types" "^2.3.3" - "@smithy/service-error-classification@^2.0.5": version "2.0.5" resolved "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-2.0.5.tgz#22c84fad456730adfa31cae91d47acd31304c346" @@ -4467,15 +3934,7 @@ dependencies: "@smithy/types" "^2.4.0" -"@smithy/shared-ini-file-loader@^2.0.11", "@smithy/shared-ini-file-loader@^2.0.6": - version "2.0.11" - resolved "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz#33dcad2941884e0f9423b0cfc0f2d2bcc74425d3" - integrity sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw== - dependencies: - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - -"@smithy/shared-ini-file-loader@^2.2.2": +"@smithy/shared-ini-file-loader@^2.0.6", "@smithy/shared-ini-file-loader@^2.2.2": version "2.2.2" resolved "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.2.2.tgz#b52064c5254a01f5c98a821207448de439938667" integrity sha512-noyQUPn7b1M8uB0GEXc/Zyxq+5K2b7aaqWnLp+hgJ7+xu/FCvtyWy5eWLDjQEsHnAet2IZhS5QF8872OR69uNg== @@ -4484,20 +3943,20 @@ tslib "^2.5.0" "@smithy/signature-v4@^2.0.0": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-2.0.9.tgz#d971fed260107a815fb26f1746a1b496f654dd39" - integrity sha512-RkHP0joSI1j2EI+mU55sOi33/aMMkKdL9ZY+SWrPxsiCe1oyzzuy79Tpn8X7uT+t0ilNmQlwPpkP/jUy940pEA== + version "2.0.12" + resolved "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-2.0.12.tgz#4f9f5bba25e784d110fdc4a276b715feae82bb28" + integrity sha512-6Kc2lCZEVmb1nNYngyNbWpq0d82OZwITH11SW/Q0U6PX5fH7B2cIcFe7o6eGEFPkTZTP8itTzmYiGcECL0D0Lw== dependencies: - "@smithy/eventstream-codec" "^2.0.9" + "@smithy/eventstream-codec" "^2.0.12" "@smithy/is-array-buffer" "^2.0.0" - "@smithy/types" "^2.3.3" + "@smithy/types" "^2.4.0" "@smithy/util-hex-encoding" "^2.0.0" - "@smithy/util-middleware" "^2.0.2" + "@smithy/util-middleware" "^2.0.5" "@smithy/util-uri-escape" "^2.0.0" "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" -"@smithy/smithy-client@^2.1.12": +"@smithy/smithy-client@^2.1.12", "@smithy/smithy-client@^2.1.6": version "2.1.12" resolved "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.12.tgz#a7f10ab846d41ce1042eb81f087c4c9eb438b481" integrity sha512-XXqhridfkKnpj+lt8vM6HRlZbqUAqBjVC74JIi13F/AYQd/zTj9SOyGfxnbp4mjY9q28LityxIuV8CTinr9r5w== @@ -4507,16 +3966,6 @@ "@smithy/util-stream" "^2.0.17" tslib "^2.5.0" -"@smithy/smithy-client@^2.1.6", "@smithy/smithy-client@^2.1.7": - version "2.1.7" - resolved "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.7.tgz#76b1f3ad9d95bd32afea3113132549be66c5eb12" - integrity sha512-r6T/oiBQ8vCbGqObH4/h0YqD0jFB1hAS9KFRmuTfaNJueu/L2hjmjqFjv3PV5lkbNHTgUYraSv4cFQ1naxiELQ== - dependencies: - "@smithy/middleware-stack" "^2.0.3" - "@smithy/types" "^2.3.3" - "@smithy/util-stream" "^2.0.12" - tslib "^2.5.0" - "@smithy/types@^1.2.0": version "1.2.0" resolved "https://registry.npmjs.org/@smithy/types/-/types-1.2.0.tgz#9dc65767b0ee3d6681704fcc67665d6fc9b6a34e" @@ -4524,21 +3973,14 @@ dependencies: tslib "^2.5.0" -"@smithy/types@^2.3.3": - version "2.3.3" - resolved "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz#8770dea9b0e36c404d99a867d50b2fa6454f28aa" - integrity sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA== - dependencies: - tslib "^2.5.0" - -"@smithy/types@^2.4.0": +"@smithy/types@^2.3.3", "@smithy/types@^2.4.0": version "2.4.0" resolved "https://registry.npmjs.org/@smithy/types/-/types-2.4.0.tgz#ed35e429e3ea3d089c68ed1bf951d0ccbdf2692e" integrity sha512-iH1Xz68FWlmBJ9vvYeHifVMWJf82ONx+OybPW8ZGf5wnEv2S0UXcU4zwlwJkRXuLKpcSLHrraHbn2ucdVXLb4g== dependencies: tslib "^2.5.0" -"@smithy/url-parser@^2.0.12": +"@smithy/url-parser@^2.0.12", "@smithy/url-parser@^2.0.9": version "2.0.12" resolved "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.12.tgz#a4cdd1b66176e48f10d119298f8f90b06b7e8a01" integrity sha512-qgkW2mZqRvlNUcBkxYB/gYacRaAdck77Dk3/g2iw0S9F0EYthIS3loGfly8AwoWpIvHKhkTsCXXQfzksgZ4zIA== @@ -4547,15 +3989,6 @@ "@smithy/types" "^2.4.0" tslib "^2.5.0" -"@smithy/url-parser@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz#0ea656c5e9b167082861ff1ff82ebb7459b09ab3" - integrity sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw== - dependencies: - "@smithy/querystring-parser" "^2.0.9" - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - "@smithy/util-base64@^2.0.0": version "2.0.0" resolved "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz#1beeabfb155471d1d41c8d0603be1351f883c444" @@ -4594,17 +4027,6 @@ tslib "^2.5.0" "@smithy/util-defaults-mode-browser@^2.0.10": - version "2.0.11" - resolved "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.11.tgz#46807747f3ca21a13770fc49e4bfb2bbc61a59c8" - integrity sha512-0syV1Mz/mCQ7CG/MHKQfH+w86xq59jpD0EOXv5oe0WBXLmq2lWPpVHl2Y6+jQ+/9fYzyZ5NF+NC/WEIuiv690A== - dependencies: - "@smithy/property-provider" "^2.0.10" - "@smithy/smithy-client" "^2.1.7" - "@smithy/types" "^2.3.3" - bowser "^2.11.0" - tslib "^2.5.0" - -"@smithy/util-defaults-mode-browser@^2.0.16": version "2.0.16" resolved "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.16.tgz#7d60c4e1d00ed569f47fd6343b822c4ff3c2c9f8" integrity sha512-Uv5Cu8nVkuvLn0puX+R9zWbSNpLIR3AxUlPoLJ7hC5lvir8B2WVqVEkJLwtixKAncVLasnTVjPDCidtAUTGEQw== @@ -4616,19 +4038,6 @@ tslib "^2.5.0" "@smithy/util-defaults-mode-node@^2.0.12": - version "2.0.13" - resolved "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.13.tgz#aebdc44696f9713d0e9e65ca140b45122710c1df" - integrity sha512-6BtCHYdw5Z8r6KpW8tRCc3yURgvcQwfIEeHhR70BeSOfx8T/TXPPjb8A+K45+KASspa3fzrsSxeIwB0sAeMoHA== - dependencies: - "@smithy/config-resolver" "^2.0.10" - "@smithy/credential-provider-imds" "^2.0.12" - "@smithy/node-config-provider" "^2.0.12" - "@smithy/property-provider" "^2.0.10" - "@smithy/smithy-client" "^2.1.7" - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - -"@smithy/util-defaults-mode-node@^2.0.21": version "2.0.21" resolved "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.21.tgz#d10c887b3e641c63e235ce95ba32137fd0bd1838" integrity sha512-cUEsttVZ79B7Al2rWK2FW03HBpD9LyuqFtm+1qFty5u9sHSdesr215gS2Ln53fTopNiPgeXpdoM3IgjvIO0rJw== @@ -4641,15 +4050,6 @@ "@smithy/types" "^2.4.0" tslib "^2.5.0" -"@smithy/util-endpoints@^1.0.2": - version "1.0.2" - resolved "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-1.0.2.tgz#8be5b840c19661e3830ca10973f775b331bd94cd" - integrity sha512-QEdq+sP68IJHAMVB2ugKVVZEWeKQtZLuf+akHzc8eTVElsZ2ZdVLWC6Cp+uKjJ/t4yOj1qu6ZzyxJQEQ8jdEjg== - dependencies: - "@smithy/node-config-provider" "^2.1.3" - "@smithy/types" "^2.4.0" - tslib "^2.5.0" - "@smithy/util-hex-encoding@^2.0.0": version "2.0.0" resolved "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz#0aa3515acd2b005c6d55675e377080a7c513b59e" @@ -4657,15 +4057,7 @@ dependencies: tslib "^2.5.0" -"@smithy/util-middleware@^2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz#9529ba2c57c26a57e4a59af88ac7c36c69cffb7d" - integrity sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w== - dependencies: - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - -"@smithy/util-middleware@^2.0.5": +"@smithy/util-middleware@^2.0.2", "@smithy/util-middleware@^2.0.5": version "2.0.5" resolved "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.5.tgz#c63dc491de81641c99ade9309f30c54ad0e28fbd" integrity sha512-1lyT3TcaMJQe+OFfVI+TlomDkPuVzb27NZYdYtmSTltVmLaUjdCyt4KE+OH1CnhZKsz4/cdCL420Lg9UH5Z2Mw== @@ -4673,16 +4065,7 @@ "@smithy/types" "^2.4.0" tslib "^2.5.0" -"@smithy/util-retry@^2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-2.0.2.tgz#a328ec9580a160faa2a25247543fa4bd036a7426" - integrity sha512-ovWiayUB38moZcLhSFFfUgB2IMb7R1JfojU20qSahjxAgfOZvDWme3eOYUMtAVnouZ9kYJiFgHLy27qRH4NeeA== - dependencies: - "@smithy/service-error-classification" "^2.0.2" - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - -"@smithy/util-retry@^2.0.5": +"@smithy/util-retry@^2.0.2", "@smithy/util-retry@^2.0.5": version "2.0.5" resolved "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-2.0.5.tgz#1a93721da082301aca61d8b42380369761a7e80d" integrity sha512-x3t1+MQAJ6QONk3GTbJNcugCFDVJ+Bkro5YqQQK1EyVesajNDqxFtCx9WdOFNGm/Cbm7tUdwVEmfKQOJoU2Vtw== @@ -4691,21 +4074,7 @@ "@smithy/types" "^2.4.0" tslib "^2.5.0" -"@smithy/util-stream@^2.0.12": - version "2.0.12" - resolved "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz#12682792e368794c4b890a14db4ce85272e3259d" - integrity sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g== - dependencies: - "@smithy/fetch-http-handler" "^2.1.5" - "@smithy/node-http-handler" "^2.1.5" - "@smithy/types" "^2.3.3" - "@smithy/util-base64" "^2.0.0" - "@smithy/util-buffer-from" "^2.0.0" - "@smithy/util-hex-encoding" "^2.0.0" - "@smithy/util-utf8" "^2.0.0" - tslib "^2.5.0" - -"@smithy/util-stream@^2.0.17": +"@smithy/util-stream@^2.0.12", "@smithy/util-stream@^2.0.17": version "2.0.17" resolved "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.17.tgz#4c980891b0943e9e64949d7afcf1ec4a7b510ea8" integrity sha512-fP/ZQ27rRvHsqItds8yB7jerwMpZFTL3QqbQbidUiG0+mttMoKdP0ZqnvM8UK5q0/dfc3/pN7g4XKPXOU7oRWw== @@ -4741,7 +4110,7 @@ "@smithy/util-buffer-from" "^2.0.0" tslib "^2.5.0" -"@smithy/util-waiter@^2.0.12": +"@smithy/util-waiter@^2.0.9": version "2.0.12" resolved "https://registry.npmjs.org/@smithy/util-waiter/-/util-waiter-2.0.12.tgz#a7348f9fd2bade5f2f3ee7ecf7c43ab86ed244ee" integrity sha512-3sENmyVa1NnOPoiT2NCApPmu7ukP7S/v7kL9IxNmnygkDldn7/yK0TP42oPJLwB2k3mospNsSePIlqdXEUyPHA== @@ -4750,15 +4119,6 @@ "@smithy/types" "^2.4.0" tslib "^2.5.0" -"@smithy/util-waiter@^2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@smithy/util-waiter/-/util-waiter-2.0.9.tgz#c9f1967f8313f194cb00a7d5c3f279643d4960d1" - integrity sha512-Hy9Cs0FtIacC1aVFk98bm/7CYqim9fnHAPRnV/SB2mj02ExYs/9Dn5SrNQmtTBTLCn65KqYnNVBNS8GuGpZOOw== - dependencies: - "@smithy/abort-controller" "^2.0.9" - "@smithy/types" "^2.3.3" - tslib "^2.5.0" - "@szmarczak/http-timer@^5.0.1": version "5.0.1" resolved "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-5.0.1.tgz#c7c1bf1141cdd4751b0399c8fc7b8b664cd5be3a" @@ -4809,22 +4169,22 @@ "@tufjs/canonical-json" "1.0.0" minimatch "^9.0.0" -"@types/archiver@^5.3.3": - version "5.3.3" - resolved "https://registry.npmjs.org/@types/archiver/-/archiver-5.3.3.tgz#9cb632a67060602b1658c669b498d51dd8ce08ab" - integrity sha512-0ABdVcXL6jOwNGY+hjWPqrxUvKelBEwNLcuv/SV2vZ4YCH8w9NttFCt+/QqI5zgMX+iX/XqVy89/r7EmLJmMpQ== +"@types/archiver@^5.3.4": + version "5.3.4" + resolved "https://registry.npmjs.org/@types/archiver/-/archiver-5.3.4.tgz#32172d5a56f165b5b4ac902e366248bf03d3ae84" + integrity sha512-Lj7fLBIMwYFgViVVZHEdExZC3lVYsl+QL0VmdNdIzGZH544jHveYWij6qdnBgJQDnR7pMKliN9z2cPZFEbhyPw== dependencies: "@types/readdir-glob" "*" -"@types/aws-lambda@^8.10.122": - version "8.10.122" - resolved "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.122.tgz#206c8d71b09325d26a458dba27db842afdc54df1" - integrity sha512-vBkIh9AY22kVOCEKo5CJlyCgmSWvasC+SWUxL/x/vOwRobMpI/HG1xp/Ae3AqmSiZeLUbOhW0FCD3ZjqqUxmXw== +"@types/aws-lambda@^8.10.126": + version "8.10.126" + resolved "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.126.tgz#be132de6e68353e240c88505940e67cd95d3066e" + integrity sha512-5eh4ffLdGYgGYI1Xr6W5L4IVse4RR7L2ns5OVUXA52nW5GFapIcGMcCzHAIMMOdpcQs3aGVxbvFlJNZH6IpgEQ== "@types/babel__core@^7.1.14": - version "7.20.2" - resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.2.tgz#215db4f4a35d710256579784a548907237728756" - integrity sha512-pNpr1T1xLUc2l3xJKuPtsEky3ybxN3m4fJkknfIpTCTfIZCDW57oAg+EfCgIIp2rvCe0Wn++/FfodDS4YXxBwA== + version "7.20.4" + resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.4.tgz#26a87347e6c6f753b3668398e34496d6d9ac6ac0" + integrity sha512-mLnSC22IC4vcWiuObSRjrLd9XcBTGf59vUSoq2jkQDJ/QQ8PMI9rSuzE+aEV8karUMbskw07bKYoUJCKTUaygg== dependencies: "@babel/parser" "^7.20.7" "@babel/types" "^7.20.7" @@ -4833,16 +4193,16 @@ "@types/babel__traverse" "*" "@types/babel__generator@*": - version "7.6.5" - resolved "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.5.tgz#281f4764bcbbbc51fdded0f25aa587b4ce14da95" - integrity sha512-h9yIuWbJKdOPLJTbmSpPzkF67e659PbQDba7ifWm5BJ8xTv+sDmS7rFmywkWOvXedGTivCdeGSIIX8WLcRTz8w== + version "7.6.7" + resolved "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.7.tgz#a7aebf15c7bc0eb9abd638bdb5c0b8700399c9d0" + integrity sha512-6Sfsq+EaaLrw4RmdFWE9Onp63TOUue71AWb4Gpa6JxzgTYtimbM086WnYTy2U67AofR++QKCo08ZP6pwx8YFHQ== dependencies: "@babel/types" "^7.0.0" "@types/babel__template@*": - version "7.4.2" - resolved "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.2.tgz#843e9f1f47c957553b0c374481dc4772921d6a6b" - integrity sha512-/AVzPICMhMOMYoSx9MoKpGDKdBRsIXMNByh1PXSZoa+v6ZoLa8xxtsT/uLQ/NJm0XVAWl/BvId4MlDeXJaeIZQ== + version "7.4.4" + resolved "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz#5672513701c1b2199bc6dad636a9d7491586766f" + integrity sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A== dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" @@ -4854,10 +4214,10 @@ dependencies: "@babel/types" "^7.3.0" -"@types/changelog-parser@^2.8.2": - version "2.8.2" - resolved "https://registry.npmjs.org/@types/changelog-parser/-/changelog-parser-2.8.2.tgz#83bfd060aebf45130ccdf2240e24491f7be4ad8f" - integrity sha512-5wJjjUwEZmkW22RN6nO4/Zj1/bYX/2O9nA+GHNvnwRsB9d1fwEDC+Hc6evxacYC5y/r+T5uKwaJ3t8mihGwKtA== +"@types/changelog-parser@^2.8.4": + version "2.8.4" + resolved "https://registry.npmjs.org/@types/changelog-parser/-/changelog-parser-2.8.4.tgz#45d70417e742ac3bc6bef3786aa453e1f1d63ecc" + integrity sha512-lCjy5pdZr+PmGMUSnn/z1BPWb3ADiGXjwbKdLa6EnvZ+dY6815Ak65VWstOIq/x3mqEwdvmv+/2ExRElEEcXMw== "@types/conventional-commits-parser@3.0.2": version "3.0.2" @@ -4875,9 +4235,9 @@ "@types/json-schema" "*" "@types/estree@*": - version "1.0.2" - resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.2.tgz#ff02bc3dc8317cd668dfec247b750ba1f1d62453" - integrity sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA== + version "1.0.5" + resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4" + integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== "@types/fs-extra@^9.0.13": version "9.0.13" @@ -4895,33 +4255,33 @@ "@types/node" "*" "@types/graceful-fs@^4.1.3": - version "4.1.7" - resolved "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.7.tgz#30443a2e64fd51113bc3e2ba0914d47109695e2a" - integrity sha512-MhzcwU8aUygZroVwL2jeYk6JisJrPl/oov/gsgGCue9mkgl9wjGbzReYQClxiUgFDnib9FuHqTndccKeZKxTRw== + version "4.1.9" + resolved "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz#2a06bc0f68a20ab37b3e36aa238be6abdf49e8b4" + integrity sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ== dependencies: "@types/node" "*" -"@types/http-cache-semantics@^4.0.1": - version "4.0.2" - resolved "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.2.tgz#abe102d06ccda1efdf0ed98c10ccf7f36a785a41" - integrity sha512-FD+nQWA2zJjh4L9+pFXqWOi0Hs1ryBCfI+985NjluQ1p8EYtoLvjLOKidXBtZ4/IcxDX4o8/E8qDS3540tNliw== +"@types/http-cache-semantics@^4.0.2": + version "4.0.4" + resolved "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz#b979ebad3919799c979b17c72621c0bc0a31c6c4" + integrity sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA== "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": - version "2.0.4" - resolved "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" - integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g== + version "2.0.6" + resolved "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz#7739c232a1fee9b4d3ce8985f314c0c6d33549d7" + integrity sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w== "@types/istanbul-lib-report@*": - version "3.0.1" - resolved "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#412e0725ef41cde73bfa03e0e833eaff41e0fd63" - integrity sha512-gPQuzaPR5h/djlAv2apEG1HVOyj1IUs7GpfMZixU0/0KXT3pm64ylHuMUI1/Akh+sq/iikxg6Z2j+fcMDXaaTQ== + version "3.0.3" + resolved "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz#53047614ae72e19fc0401d872de3ae2b4ce350bf" + integrity sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA== dependencies: "@types/istanbul-lib-coverage" "*" "@types/istanbul-reports@^3.0.0": - version "3.0.2" - resolved "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.2.tgz#edc8e421991a3b4df875036d381fc0a5a982f549" - integrity sha512-kv43F9eb3Lhj+lr/Hn6OcLCs/sSM8bt+fIaP11rCYngfV6NVjzWXJ17owQtDQTL9tQ8WSLUrGsSJ6rJz0F1w1A== + version "3.0.4" + resolved "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz#0f03e3d2f670fbdac586e34b433783070cc16f54" + integrity sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ== dependencies: "@types/istanbul-lib-report" "*" @@ -4933,45 +4293,45 @@ expect "^28.0.0" pretty-format "^28.0.0" -"@types/jest@^29.5.5": - version "29.5.5" - resolved "https://registry.npmjs.org/@types/jest/-/jest-29.5.5.tgz#727204e06228fe24373df9bae76b90f3e8236a2a" - integrity sha512-ebylz2hnsWR9mYvmBFbXJXr+33UPc4+ZdxyDXh5w0FlPBTfCVN3wPL+kuOiQt3xvrK419v7XWeAs+AeOksafXg== +"@types/jest@^29.5.8": + version "29.5.8" + resolved "https://registry.npmjs.org/@types/jest/-/jest-29.5.8.tgz#ed5c256fe2bc7c38b1915ee5ef1ff24a3427e120" + integrity sha512-fXEFTxMV2Co8ZF5aYFJv+YeA08RTYJfhtN5c9JSv/mFEMe+xxjufCb+PHL+bJcMs/ebPUsBu+UNTEz+ydXrR6g== dependencies: expect "^29.0.0" pretty-format "^29.0.0" "@types/json-schema@*", "@types/json-schema@^7.0.12", "@types/json-schema@^7.0.7", "@types/json-schema@^7.0.9": - version "7.0.13" - resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.13.tgz#02c24f4363176d2d18fc8b70b9f3c54aba178a85" - integrity sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ== + version "7.0.15" + resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" + integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== "@types/json5@^0.0.29": version "0.0.29" resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== -"@types/license-checker@^25.0.4": - version "25.0.4" - resolved "https://registry.npmjs.org/@types/license-checker/-/license-checker-25.0.4.tgz#47cf2fc5a156c5abaae4c8cbc89d27d1e42f4bb9" - integrity sha512-PQrMQvoNDhxh5ohbtMYAod6n4rgRPJ934L2lo7HwuVAL8Kmwq94+OyPXiirDx0CA+34wdbCO4W1P79IHQEXSvQ== +"@types/license-checker@^25.0.6": + version "25.0.6" + resolved "https://registry.npmjs.org/@types/license-checker/-/license-checker-25.0.6.tgz#c346285ee7e42bac58a4922059453f50a5d4175d" + integrity sha512-ju/75+YPkNE5vX1iPer+qtI1eI/LqJVYZgOsmSHI1iiEM1bQL5Gh1lEvyjR9T7ZXVE1FwJa2doWJEEmPNwbZkw== -"@types/lodash@^4.14.199": - version "4.14.199" - resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.199.tgz#c3edb5650149d847a277a8961a7ad360c474e9bf" - integrity sha512-Vrjz5N5Ia4SEzWWgIVwnHNEnb1UE1XMkvY5DGXrAeOGE9imk0hgTHh5GyDjLDJi9OTCn9oo9dXH1uToK1VRfrg== +"@types/lodash@^4.14.201": + version "4.14.201" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.201.tgz#76f47cb63124e806824b6c18463daf3e1d480239" + integrity sha512-y9euML0cim1JrykNxADLfaG0FgD1g/yTHwUs/Jg9ZIU7WKj2/4IW9Lbb1WZbvck78W/lfGXFfe+u2EGfIJXdLQ== -"@types/madge@^5.0.1": - version "5.0.1" - resolved "https://registry.npmjs.org/@types/madge/-/madge-5.0.1.tgz#f559f027dd0c6415d80888a45172c81384453e95" - integrity sha512-SG1auQa9+8N2FQ4TlOH//pK8gdgWAZ/vds+pcS4Ruz6qhAIdnJaC4PZj2GjPXVY/pC8X5Ks77BiMTIVMWA2VIQ== +"@types/madge@^5.0.3": + version "5.0.3" + resolved "https://registry.npmjs.org/@types/madge/-/madge-5.0.3.tgz#e6adeb1b9e8c8b41e36341c598c051c6e5cd5464" + integrity sha512-NlQJd0qRAoyu+pawTDhLxkW940QT2dqASfwd2g/xEZu2F4Xjwa7TVRSPdbmZwUF1ygvAh0/nepeN7JjwEuOXCA== dependencies: "@types/node" "*" -"@types/mime-types@^2.1.2": - version "2.1.2" - resolved "https://registry.npmjs.org/@types/mime-types/-/mime-types-2.1.2.tgz#b4fe6996d2f32975b6603b26b4e4b3b6c92c9901" - integrity sha512-q9QGHMGCiBJCHEvd4ZLdasdqXv570agPsUW0CeIm/B8DzhxsYMerD0l3IlI+EQ1A2RWHY2mmM9x1YIuuWxisCg== +"@types/mime-types@^2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@types/mime-types/-/mime-types-2.1.4.tgz#93a1933e24fed4fb9e4adc5963a63efcbb3317a2" + integrity sha512-lfU4b34HOri+kAY5UheuFMWPDOI+OPceBSHZKp69gEyTL/mmJ4cnU6Y/rlme3UL3GyOn6Y42hyIEw0/q8sWx5w== "@types/mime@^2.0.3": version "2.0.3" @@ -4989,34 +4349,36 @@ integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== "@types/minimist@^1.2.0": - version "1.2.3" - resolved "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.3.tgz#dd249cef80c6fff2ba6a0d4e5beca913e04e25f8" - integrity sha512-ZYFzrvyWUNhaPomn80dsMNgMeXxNWZBdkuG/hWlUvXvbdUH8ZERNBGXnU87McuGcWDsyzX2aChCv/SVN348k3A== + version "1.2.5" + resolved "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.5.tgz#ec10755e871497bcd83efe927e43ec46e8c0747e" + integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag== -"@types/mock-fs@^4.13.2": - version "4.13.2" - resolved "https://registry.npmjs.org/@types/mock-fs/-/mock-fs-4.13.2.tgz#fb230358cef6c133cbdad697cffd66e66ee6c1bf" - integrity sha512-mSIMAOjrNTVUFmZgJEigSIm+GlS4hbrk8U5+M8EB45uMrykKdN9TidjjSaOY1yFph2+TD7bsIfB4r+IrMYVyPQ== +"@types/mock-fs@^4.13.4": + version "4.13.4" + resolved "https://registry.npmjs.org/@types/mock-fs/-/mock-fs-4.13.4.tgz#e73edb4b4889d44d23f1ea02d6eebe50aa30b09a" + integrity sha512-mXmM0o6lULPI8z3XNnQCpL0BGxPwx1Ul1wXYEPBGl4efShyxW2Rln0JOPEWGyZaYZMM6OVXM/15zUuFMY52ljg== dependencies: "@types/node" "*" -"@types/mockery@^1.4.31": - version "1.4.31" - resolved "https://registry.npmjs.org/@types/mockery/-/mockery-1.4.31.tgz#d3d0c461fc1a8894a8205e5b1638fa12875a25a2" - integrity sha512-1uSedAFH3GLsKmlD1F0Ugw6zlFJtQkxpa58zCQlMqVbOULbQZzIDLQgFqo76mJvhjRgjXopENQJ5wuwYK6UKnA== +"@types/mockery@^1.4.33": + version "1.4.33" + resolved "https://registry.npmjs.org/@types/mockery/-/mockery-1.4.33.tgz#fb511e702e38b67e95af8b1375a65350b3fb5cab" + integrity sha512-vpuuVxCnCEM0OakYNoyFs40mjJFJFJahBHyx0Z0Piysof+YwlDJzNO4V1weRvYySAmtAvlb0UHtxVO2IfTcykw== -"@types/node-fetch@^2.6.6": - version "2.6.6" - resolved "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.6.tgz#b72f3f4bc0c0afee1c0bc9cff68e041d01e3e779" - integrity sha512-95X8guJYhfqiuVVhRFxVQcf4hW/2bCuoPwDasMf/531STFoNoWTT7YDnWdXHEZKqAGUigmpG31r2FE70LwnzJw== +"@types/node-fetch@^2.6.9": + version "2.6.9" + resolved "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.9.tgz#15f529d247f1ede1824f7e7acdaa192d5f28071e" + integrity sha512-bQVlnMLFJ2d35DkPNjEPmd9ueO/rh5EiaZt2bhqiSarPjZIuIV6bPQVqcrEyvNo+AfTrRGVazle1tl597w3gfA== dependencies: "@types/node" "*" form-data "^4.0.0" "@types/node@*": - version "20.7.1" - resolved "https://registry.npmjs.org/@types/node/-/node-20.7.1.tgz#06d732ead0bd5ad978ef0ea9cbdeb24dc8717514" - integrity sha512-LT+OIXpp2kj4E2S/p91BMe+VgGX2+lfO+XTpfXhh+bCk2LkQtHZSub8ewFBMGP5ClysPjTDFa4sMI8Q3n4T0wg== + version "20.9.0" + resolved "https://registry.npmjs.org/@types/node/-/node-20.9.0.tgz#bfcdc230583aeb891cf51e73cfdaacdd8deae298" + integrity sha512-nekiGu2NDb1BcVofVcEKMIwzlx4NjHlcjhoxxKBNLtz15Y1z7MYf549DFvkHSId02Ax6kGwWntIBPC3l/JZcmw== + dependencies: + undici-types "~5.26.4" "@types/node@18.11.19": version "18.11.19" @@ -5024,9 +4386,9 @@ integrity sha512-YUgMWAQBWLObABqrvx8qKO1enAvBUdjZOAWQ5grBAkp5LQv45jBvYKZ3oFS9iKRCQyFjqw6iuEa1vmFqtxYLZw== "@types/node@^16", "@types/node@^16.9.2": - version "16.18.54" - resolved "https://registry.npmjs.org/@types/node/-/node-16.18.54.tgz#4a63bdcea5b714f546aa27406a1c60621236a132" - integrity sha512-oTmGy68gxZZ21FhTJVVvZBYpQHEBZxHKTsGshobMqm9qWpbqdZsA5jvsuPZcHu0KwpmLrOHWPdEfg7XDpNT9UA== + version "16.18.61" + resolved "https://registry.npmjs.org/@types/node/-/node-16.18.61.tgz#5ea47e3018348bf3bbbe646b396ba5e720310be1" + integrity sha512-k0N7BqGhJoJzdh6MuQg1V1ragJiXTh8VUBAZTWjJ9cUq23SG0F0xavOwZbhiP4J3y20xd6jxKx+xNUhkMAi76Q== "@types/node@^18": version "18.18.9" @@ -5036,55 +4398,55 @@ undici-types "~5.26.4" "@types/normalize-package-data@^2.4.0": - version "2.4.2" - resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.2.tgz#9b0e3e8533fe5024ad32d6637eb9589988b6fdca" - integrity sha512-lqa4UEhhv/2sjjIQgjX8B+RBjj47eo0mzGasklVJ78UKGQY1r0VpB9XHDaZZO9qzEFDdy4MrXLuEaSmPrPSe/A== + version "2.4.4" + resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz#56e2cc26c397c038fab0e3a917a12d5c5909e901" + integrity sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA== -"@types/npm@^7.19.1": - version "7.19.1" - resolved "https://registry.npmjs.org/@types/npm/-/npm-7.19.1.tgz#91b9b13bb4d2a31ede8b8036d23d129f1b16f3fb" - integrity sha512-+Tm2uuh0g3PzCKt1PzkQn2gFbX9hyfA7lJbeoA+5eA6yu/g8mu7YbIGs1QG2mikpMQEv6WI8GXbvWnkdCUKAPw== +"@types/npm@^7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@types/npm/-/npm-7.19.3.tgz#fd4c629299ec596c573a984775983e43bfadc51d" + integrity sha512-1fiJlMN0iDs42kFJZJX88SVUppp5zNQik0JVnI3mw28+vssBAz3TAvmhrPpupj1rBESV6bGYjEny30fu4Kst9g== dependencies: "@types/node" "*" "@types/parse-json@^4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" - integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + version "4.0.2" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz#5950e50960793055845e956c427fc2b0d70c5239" + integrity sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw== "@types/prettier@2.6.0": version "2.6.0" resolved "https://registry.npmjs.org/@types/prettier/-/prettier-2.6.0.tgz#efcbd41937f9ae7434c714ab698604822d890759" integrity sha512-G/AdOadiZhnJp0jXCaBQU449W2h716OW/EoXeYkCytxKL06X1WCXB4DZpp8TpZ8eyIJVS1cw4lrlkkSYU21cDw== -"@types/promptly@^3.0.3": - version "3.0.3" - resolved "https://registry.npmjs.org/@types/promptly/-/promptly-3.0.3.tgz#18451a9642a66710d5fcbbf9efe40a3970fbe57e" - integrity sha512-eM4RvsPy0cT37wJHTcOWvemIyPzBoSKEATp2OO4ptKeSrcNjMwGpDsUSBuBHuleC/datJW7A6NUlBAZsZGJmpA== +"@types/promptly@^3.0.5": + version "3.0.5" + resolved "https://registry.npmjs.org/@types/promptly/-/promptly-3.0.5.tgz#02819b920856fb4fa719754980b67ece1758c18c" + integrity sha512-LbcnaRi5mQ/6neVJ+re9Zps5RT/HaiYFvdER+9eHUNSl3pHiIay4+8J6xHmhstkOZpfMuMf0AJrqvQM+JJ10lw== dependencies: "@types/node" "*" -"@types/punycode@^2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@types/punycode/-/punycode-2.1.0.tgz#89e4f3d09b3f92e87a80505af19be7e0c31d4e83" - integrity sha512-PG5aLpW6PJOeV2fHRslP4IOMWn+G+Uq8CfnyJ+PDS8ndCbU+soO+fB3NKCKo0p/Jh2Y4aPaiQZsrOXFdzpcA6g== +"@types/punycode@^2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@types/punycode/-/punycode-2.1.2.tgz#f1193619a4ff42a146f584284fb1d65061464081" + integrity sha512-KKQ4GjRCpswGPA6ZfvPrC+7h84bAvPkU1kFGJ3FuQOgZIEc8JmO1jcDCaxSiYcN3qzOOp9YqHq+njKEO3Q4BnA== "@types/readdir-glob@*": - version "1.1.2" - resolved "https://registry.npmjs.org/@types/readdir-glob/-/readdir-glob-1.1.2.tgz#688a206aa258a3a5d17c7b053da3b9e04eabf431" - integrity sha512-vwAYrNN/8yhp/FJRU6HUSD0yk6xfoOS8HrZa8ZL7j+X8hJpaC1hTcAiXX2IxaAkkvrz9mLyoEhYZTE3cEYvA9Q== + version "1.1.4" + resolved "https://registry.npmjs.org/@types/readdir-glob/-/readdir-glob-1.1.4.tgz#6ee7163382f65b4434df3dc8e2e2fd68bc95a1fd" + integrity sha512-uEJsErL2wFCTcbbmJpIuD8OWYNabgv1oaYP2bOkzZXKtk3c6LCYQEKngIqBj2VR2NMv9DOAXSkxSYOWtHxh2gQ== dependencies: "@types/node" "*" -"@types/semver@^7.5.0", "@types/semver@^7.5.3": - version "7.5.3" - resolved "https://registry.npmjs.org/@types/semver/-/semver-7.5.3.tgz#9a726e116beb26c24f1ccd6850201e1246122e04" - integrity sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw== +"@types/semver@^7.5.0", "@types/semver@^7.5.5": + version "7.5.5" + resolved "https://registry.npmjs.org/@types/semver/-/semver-7.5.5.tgz#deed5ab7019756c9c90ea86139106b0346223f35" + integrity sha512-+d+WYC1BxJ6yVOgUgzK8gWvp5qF8ssV5r4nsDcZWKRWcDQLQ619tvWAxJQYGgBrO1MnLJC7a5GtiYsAoQ47dJg== "@types/sinon@^10.0.10": - version "10.0.17" - resolved "https://registry.npmjs.org/@types/sinon/-/sinon-10.0.17.tgz#97592d7c73ded11907f9121a2837f5ab5f9ccaa0" - integrity sha512-+6ILpcixQ0Ma3dHMTLv4rSycbDXkDljgKL+E0nI2RUxxhYTFyPSjt6RVMxh7jUshvyVcBvicb0Ktj+lAJcjgeA== + version "10.0.20" + resolved "https://registry.npmjs.org/@types/sinon/-/sinon-10.0.20.tgz#f1585debf4c0d99f9938f4111e5479fb74865146" + integrity sha512-2APKKruFNCAZgx3daAyACGzWuJ028VVCUDk6o2rw/Z4PXT0ogwdV4KUegW0MwVs0Zu59auPXbbuBJHF12Sx1Eg== dependencies: "@types/sinonjs__fake-timers" "*" @@ -5096,21 +4458,21 @@ "@types/sinonjs__fake-timers" "*" "@types/sinonjs__fake-timers@*": - version "8.1.3" - resolved "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.3.tgz#575789c5cf6d410cb288b0b4affaf7e6da44ca51" - integrity sha512-4g+2YyWe0Ve+LBh+WUm1697PD0Kdi6coG1eU0YjQbwx61AZ8XbEpL1zIT6WjuUKrCMCROpEaYQPDjBnDouBVAQ== + version "8.1.5" + resolved "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.5.tgz#5fd3592ff10c1e9695d377020c033116cc2889f2" + integrity sha512-mQkU2jY8jJEF7YHjHvsQO8+3ughTL1mcnn96igfhONmR+fUPSKIkefQYpSe8bsly2Ep7oQbn/6VG5/9/0qcArQ== -"@types/source-map-support@^0.5.8": - version "0.5.8" - resolved "https://registry.npmjs.org/@types/source-map-support/-/source-map-support-0.5.8.tgz#ec9bd9d4c6ef9183f516109f26225350b73f91be" - integrity sha512-u5nwLcaENciDwebPwwZb2AM1LvdlgFQfqCKxWQxcgNsQhUQciGuUnJ2LjGFAkInY2APXQzIypiUSa9zB6Epddg== +"@types/source-map-support@^0.5.10": + version "0.5.10" + resolved "https://registry.npmjs.org/@types/source-map-support/-/source-map-support-0.5.10.tgz#824dcef989496bae98e9d04c8dc1ac1d70e1bd39" + integrity sha512-tgVP2H469x9zq34Z0m/fgPewGhg/MLClalNOiPIzQlXrSS2YrKu/xCdSCKnEDwkFha51VKEKB6A9wW26/ZNwzA== dependencies: source-map "^0.6.0" "@types/stack-utils@^2.0.0": - version "2.0.1" - resolved "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" - integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== + version "2.0.3" + resolved "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz#6209321eb2c1712a7e7466422b8cb1fc0d9dd5d8" + integrity sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw== "@types/string-width@^4.0.1": version "4.0.1" @@ -5127,19 +4489,19 @@ table "*" "@types/triple-beam@^1.3.2": - version "1.3.3" - resolved "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.3.tgz#726ae98a5f6418c8f24f9b0f2a9f81a8664876ae" - integrity sha512-6tOUG+nVHn0cJbVp25JFayS5UE6+xlbcNF9Lo9mU7U0zk3zeUShZied4YEQZjy1JBF043FSkdXw8YkUJuVtB5g== + version "1.3.5" + resolved "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz#74fef9ffbaa198eb8b588be029f38b00299caa2c" + integrity sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw== "@types/uuid@^8.3.4": version "8.3.4" resolved "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz#bd86a43617df0594787d38b735f55c805becf1bc" integrity sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw== -"@types/workerpool@^6.4.4": - version "6.4.4" - resolved "https://registry.npmjs.org/@types/workerpool/-/workerpool-6.4.4.tgz#3168d7e9811833eef8f6634535e2efc2bab54d7d" - integrity sha512-rpYFug3QyKzQ7+y/x8BCTEseMorTyr9DiY3ao5KxzWJPtFyx/HL0SSLtJlRjUSpBeaMd/zn7hnLaWOb8WRFnnQ== +"@types/workerpool@^6.4.6": + version "6.4.6" + resolved "https://registry.npmjs.org/@types/workerpool/-/workerpool-6.4.6.tgz#9272988dd6811418cf236cc8fab6ad4f22c7777a" + integrity sha512-nYSiM7rWgnF/y4jSvS4t95MwIG8c4iWxvQeliiV7rfUfkARU7iiPiw9NCVzdBghqLhs0LAO/U54jqXsmR93zmg== dependencies: "@types/node" "*" @@ -5149,39 +4511,39 @@ integrity sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g== "@types/yargs-parser@*": - version "21.0.1" - resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.1.tgz#07773d7160494d56aa882d7531aac7319ea67c3b" - integrity sha512-axdPBuLuEJt0c4yI5OZssC19K2Mq1uKdrfZBzuxLvaztgqUtFYZUNw7lETExPYJR9jdEoIg4mb7RQKRQzOkeGQ== + version "21.0.3" + resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" + integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== -"@types/yargs@^15.0.16": - version "15.0.16" - resolved "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.16.tgz#258009dc52907e8f03041eb64ffdac297ba4b208" - integrity sha512-2FeD5qezW3FvLpZ0JpfuaEWepgNLl9b2gQYiz/ce0NhoB1W/D+VZu98phITXkADYerfr/jb7JcDcVhITsc9bwg== +"@types/yargs@^15.0.18": + version "15.0.18" + resolved "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.18.tgz#b7dda4339f4dde367ffe99650e18967108cea321" + integrity sha512-DDi2KmvAnNsT/EvU8jp1UR7pOJojBtJ3GLZ/uw1MUq4VbbESppPWoHUY4h0OB4BbEbGJiyEsmUcuZDZtoR+ZwQ== dependencies: "@types/yargs-parser" "*" "@types/yargs@^17.0.8": - version "17.0.25" - resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.25.tgz#3edd102803c97356fb4c805b2bbaf7dfc9ab6abc" - integrity sha512-gy7iPgwnzNvxgAEi2bXOHWCVOG6f7xsprVJH4MjlAWeBmJ7vh/Y1kwMtUrs64ztf24zVIRCpr3n/z6gm9QIkgg== + version "17.0.31" + resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.31.tgz#8fd0089803fd55d8a285895a18b88cb71a99683c" + integrity sha512-bocYSx4DI8TmdlvxqGpVNXOgCNR1Jj0gNPhhAY+iz1rgKDAaYrAYdFYnhDV1IFuiuVc9HkOwyDcFxaTElF3/wg== dependencies: "@types/yargs-parser" "*" -"@types/yarnpkg__lockfile@^1.1.7": - version "1.1.7" - resolved "https://registry.npmjs.org/@types/yarnpkg__lockfile/-/yarnpkg__lockfile-1.1.7.tgz#afe797c296670ea995ea4beca37c15de4f034a2f" - integrity sha512-yfOmuImLIhYVS+Xtwk2OevYLJLN+PRLe36AvtagtsSY3xHuYBTTM3zW6lterq94YTdiRcHEOPeX5h4H8QnynAg== +"@types/yarnpkg__lockfile@^1.1.9": + version "1.1.9" + resolved "https://registry.npmjs.org/@types/yarnpkg__lockfile/-/yarnpkg__lockfile-1.1.9.tgz#b3c8e8d66dc8ce79827f422a660a557cda9ded14" + integrity sha512-GD4Fk15UoP5NLCNor51YdfL9MSdldKCqOC9EssrRw3HVfar9wUZ5y8Lfnp+qVD6hIinLr8ygklDYnmlnlQo12Q== -"@typescript-eslint/eslint-plugin@^6.7.3": - version "6.7.3" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.7.3.tgz#d98046e9f7102d49a93d944d413c6055c47fafd7" - integrity sha512-vntq452UHNltxsaaN+L9WyuMch8bMd9CqJ3zhzTPXXidwbf5mqqKCVXEuvRZUqLJSTLeWE65lQwyXsRGnXkCTA== +"@typescript-eslint/eslint-plugin@^6.10.0": + version "6.10.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.10.0.tgz#cfe2bd34e26d2289212946b96ab19dcad64b661a" + integrity sha512-uoLj4g2OTL8rfUQVx2AFO1hp/zja1wABJq77P6IclQs6I/m9GLrm7jCdgzZkvWdDCQf1uEvoa8s8CupsgWQgVg== dependencies: "@eslint-community/regexpp" "^4.5.1" - "@typescript-eslint/scope-manager" "6.7.3" - "@typescript-eslint/type-utils" "6.7.3" - "@typescript-eslint/utils" "6.7.3" - "@typescript-eslint/visitor-keys" "6.7.3" + "@typescript-eslint/scope-manager" "6.10.0" + "@typescript-eslint/type-utils" "6.10.0" + "@typescript-eslint/utils" "6.10.0" + "@typescript-eslint/visitor-keys" "6.10.0" debug "^4.3.4" graphemer "^1.4.0" ignore "^5.2.4" @@ -5201,15 +4563,15 @@ eslint-scope "^5.1.1" eslint-utils "^3.0.0" -"@typescript-eslint/parser@^6.7.3": - version "6.7.3" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.7.3.tgz#aaf40092a32877439e5957e18f2d6a91c82cc2fd" - integrity sha512-TlutE+iep2o7R8Lf+yoer3zU6/0EAUc8QIBB3GYBc1KGz4c4TRm83xwXUZVPlZ6YCLss4r77jbu6j3sendJoiQ== +"@typescript-eslint/parser@^6.10.0": + version "6.10.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.10.0.tgz#578af79ae7273193b0b6b61a742a2bc8e02f875a" + integrity sha512-+sZwIj+s+io9ozSxIWbNB5873OSdfeBEH/FR0re14WLI6BaKuSOnnwCJ2foUiu8uXf4dRp1UqHP0vrZ1zXGrog== dependencies: - "@typescript-eslint/scope-manager" "6.7.3" - "@typescript-eslint/types" "6.7.3" - "@typescript-eslint/typescript-estree" "6.7.3" - "@typescript-eslint/visitor-keys" "6.7.3" + "@typescript-eslint/scope-manager" "6.10.0" + "@typescript-eslint/types" "6.10.0" + "@typescript-eslint/typescript-estree" "6.10.0" + "@typescript-eslint/visitor-keys" "6.10.0" debug "^4.3.4" "@typescript-eslint/scope-manager@4.33.0": @@ -5220,21 +4582,21 @@ "@typescript-eslint/types" "4.33.0" "@typescript-eslint/visitor-keys" "4.33.0" -"@typescript-eslint/scope-manager@6.7.3": - version "6.7.3" - resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.7.3.tgz#07e5709c9bdae3eaf216947433ef97b3b8b7d755" - integrity sha512-wOlo0QnEou9cHO2TdkJmzF7DFGvAKEnB82PuPNHpT8ZKKaZu6Bm63ugOTn9fXNJtvuDPanBc78lGUGGytJoVzQ== +"@typescript-eslint/scope-manager@6.10.0": + version "6.10.0" + resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.10.0.tgz#b0276118b13d16f72809e3cecc86a72c93708540" + integrity sha512-TN/plV7dzqqC2iPNf1KrxozDgZs53Gfgg5ZHyw8erd6jd5Ta/JIEcdCheXFt9b1NYb93a1wmIIVW/2gLkombDg== dependencies: - "@typescript-eslint/types" "6.7.3" - "@typescript-eslint/visitor-keys" "6.7.3" + "@typescript-eslint/types" "6.10.0" + "@typescript-eslint/visitor-keys" "6.10.0" -"@typescript-eslint/type-utils@6.7.3": - version "6.7.3" - resolved "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.7.3.tgz#c2c165c135dda68a5e70074ade183f5ad68f3400" - integrity sha512-Fc68K0aTDrKIBvLnKTZ5Pf3MXK495YErrbHb1R6aTpfK5OdSFj0rVN7ib6Tx6ePrZ2gsjLqr0s98NG7l96KSQw== +"@typescript-eslint/type-utils@6.10.0": + version "6.10.0" + resolved "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.10.0.tgz#1007faede067c78bdbcef2e8abb31437e163e2e1" + integrity sha512-wYpPs3hgTFblMYwbYWPT3eZtaDOjbLyIYuqpwuLBBqhLiuvJ+9sEp2gNRJEtR5N/c9G1uTtQQL5AhV0fEPJYcg== dependencies: - "@typescript-eslint/typescript-estree" "6.7.3" - "@typescript-eslint/utils" "6.7.3" + "@typescript-eslint/typescript-estree" "6.10.0" + "@typescript-eslint/utils" "6.10.0" debug "^4.3.4" ts-api-utils "^1.0.1" @@ -5243,10 +4605,10 @@ resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.33.0.tgz#a1e59036a3b53ae8430ceebf2a919dc7f9af6d72" integrity sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ== -"@typescript-eslint/types@6.7.3": - version "6.7.3" - resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.7.3.tgz#0402b5628a63f24f2dc9d4a678e9a92cc50ea3e9" - integrity sha512-4g+de6roB2NFcfkZb439tigpAMnvEIg3rIjWQ+EM7IBaYt/CdJt6em9BJ4h4UpdgaBWdmx2iWsafHTrqmgIPNw== +"@typescript-eslint/types@6.10.0": + version "6.10.0" + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.10.0.tgz#f4f0a84aeb2ac546f21a66c6e0da92420e921367" + integrity sha512-36Fq1PWh9dusgo3vH7qmQAj5/AZqARky1Wi6WpINxB6SkQdY5vQoT2/7rW7uBIsPDcvvGCLi4r10p0OJ7ITAeg== "@typescript-eslint/typescript-estree@4.33.0", "@typescript-eslint/typescript-estree@^4.33.0": version "4.33.0" @@ -5261,30 +4623,30 @@ semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/typescript-estree@6.7.3": - version "6.7.3" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.7.3.tgz#ec5bb7ab4d3566818abaf0e4a8fa1958561b7279" - integrity sha512-YLQ3tJoS4VxLFYHTw21oe1/vIZPRqAO91z6Uv0Ss2BKm/Ag7/RVQBcXTGcXhgJMdA4U+HrKuY5gWlJlvoaKZ5g== +"@typescript-eslint/typescript-estree@6.10.0": + version "6.10.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.10.0.tgz#667381eed6f723a1a8ad7590a31f312e31e07697" + integrity sha512-ek0Eyuy6P15LJVeghbWhSrBCj/vJpPXXR+EpaRZqou7achUWL8IdYnMSC5WHAeTWswYQuP2hAZgij/bC9fanBg== dependencies: - "@typescript-eslint/types" "6.7.3" - "@typescript-eslint/visitor-keys" "6.7.3" + "@typescript-eslint/types" "6.10.0" + "@typescript-eslint/visitor-keys" "6.10.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" semver "^7.5.4" ts-api-utils "^1.0.1" -"@typescript-eslint/utils@6.7.3": - version "6.7.3" - resolved "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.7.3.tgz#96c655816c373135b07282d67407cb577f62e143" - integrity sha512-vzLkVder21GpWRrmSR9JxGZ5+ibIUSudXlW52qeKpzUEQhRSmyZiVDDj3crAth7+5tmN1ulvgKaCU2f/bPRCzg== +"@typescript-eslint/utils@6.10.0": + version "6.10.0" + resolved "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.10.0.tgz#4d76062d94413c30e402c9b0df8c14aef8d77336" + integrity sha512-v+pJ1/RcVyRc0o4wAGux9x42RHmAjIGzPRo538Z8M1tVx6HOnoQBCX/NoadHQlZeC+QO2yr4nNSFWOoraZCAyg== dependencies: "@eslint-community/eslint-utils" "^4.4.0" "@types/json-schema" "^7.0.12" "@types/semver" "^7.5.0" - "@typescript-eslint/scope-manager" "6.7.3" - "@typescript-eslint/types" "6.7.3" - "@typescript-eslint/typescript-estree" "6.7.3" + "@typescript-eslint/scope-manager" "6.10.0" + "@typescript-eslint/types" "6.10.0" + "@typescript-eslint/typescript-estree" "6.10.0" semver "^7.5.4" "@typescript-eslint/visitor-keys@4.33.0": @@ -5295,14 +4657,19 @@ "@typescript-eslint/types" "4.33.0" eslint-visitor-keys "^2.0.0" -"@typescript-eslint/visitor-keys@6.7.3": - version "6.7.3" - resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.7.3.tgz#83809631ca12909bd2083558d2f93f5747deebb2" - integrity sha512-HEVXkU9IB+nk9o63CeICMHxFWbHWr3E1mpilIQBe9+7L/lH97rleFLVtYsfnWB+JVMaiFnEaxvknvmIzX+CqVg== +"@typescript-eslint/visitor-keys@6.10.0": + version "6.10.0" + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.10.0.tgz#b9eaf855a1ac7e95633ae1073af43d451e8f84e3" + integrity sha512-xMGluxQIEtOM7bqFCo+rCMh5fqI+ZxV5RUUOa29iVPz1OgCZrtc7rFnz5cLUazlkPKYqX+75iuDq7m0HQ48nCg== dependencies: - "@typescript-eslint/types" "6.7.3" + "@typescript-eslint/types" "6.10.0" eslint-visitor-keys "^3.4.1" +"@ungap/structured-clone@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" + integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== + "@xmldom/xmldom@^0.8.10": version "0.8.10" resolved "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz#a1337ca426aa61cef9fe15b5b28e340a72f6fa99" @@ -5347,9 +4714,9 @@ acorn-jsx@^5.3.1, acorn-jsx@^5.3.2: integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== acorn-walk@^8.1.1: - version "8.2.0" - resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" - integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== + version "8.3.0" + resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.0.tgz#2097665af50fd0cf7a2dfccd2b9368964e66540f" + integrity sha512-FS7hV565M5l1R08MXqo8odwMTB02C2UqzB17RVgu9EyuYFBqJZ3/ZY97sQD5FewVu1UyDFc1yztUDrAwT0EypA== acorn@^7.4.0: version "7.4.1" @@ -5357,9 +4724,9 @@ acorn@^7.4.0: integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== acorn@^8.4.1, acorn@^8.9.0: - version "8.10.0" - resolved "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" - integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw== + version "8.11.2" + resolved "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz#ca0d78b51895be5390a5903c5b3bdcdaf78ae40b" + integrity sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w== add-stream@^1.0.0: version "1.0.0" @@ -5614,7 +4981,7 @@ array-ify@^1.0.0: resolved "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" integrity sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng== -array-includes@^3.1.6: +array-includes@^3.1.7: version "3.1.7" resolved "https://registry.npmjs.org/array-includes/-/array-includes-3.1.7.tgz#8cd2e01b26f7a3086cbc87271593fe921c62abda" integrity sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ== @@ -5630,7 +4997,7 @@ array-union@^2.1.0: resolved "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== -array.prototype.findlastindex@^1.2.2: +array.prototype.findlastindex@^1.2.3: version "1.2.3" resolved "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz#b37598438f97b579166940814e2c0493a4f50207" integrity sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA== @@ -5641,7 +5008,7 @@ array.prototype.findlastindex@^1.2.2: es-shim-unscopables "^1.0.0" get-intrinsic "^1.2.1" -array.prototype.flat@^1.3.1: +array.prototype.flat@^1.3.2: version "1.3.2" resolved "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz#1476217df8cff17d72ee8f3ba06738db5b387d18" integrity sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA== @@ -5651,7 +5018,7 @@ array.prototype.flat@^1.3.1: es-abstract "^1.22.1" es-shim-unscopables "^1.0.0" -array.prototype.flatmap@^1.3.1: +array.prototype.flatmap@^1.3.2: version "1.3.2" resolved "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz#c9a7c6831db8e719d6ce639190146c24bbd3e527" integrity sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ== @@ -5730,9 +5097,9 @@ astral-regex@^2.0.0: integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== async@^3.2.3, async@^3.2.4: - version "3.2.4" - resolved "https://registry.npmjs.org/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" - integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ== + version "3.2.5" + resolved "https://registry.npmjs.org/async/-/async-3.2.5.tgz#ebd52a8fdaf7a2289a24df399f8d8485c8a46b66" + integrity sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg== asynckit@^0.4.0: version "0.4.0" @@ -5766,10 +5133,10 @@ aws-sdk-client-mock@^3.0.0: sinon "^14.0.2" tslib "^2.1.0" -aws-sdk-js-codemod@^0.18.3: - version "0.18.3" - resolved "https://registry.npmjs.org/aws-sdk-js-codemod/-/aws-sdk-js-codemod-0.18.3.tgz#5f1df84c24c23243ed3952deb18da382580cee3c" - integrity sha512-Bp1/RO+4DAla3am/dfhjQoqvGb6DU9VjldO/sZTxQHumff/RD7yvlfnZ7GoX0d9mPg6NfgCqJ66LrUH6WueAXg== +aws-sdk-js-codemod@^0.26.2: + version "0.26.2" + resolved "https://registry.npmjs.org/aws-sdk-js-codemod/-/aws-sdk-js-codemod-0.26.2.tgz#ad0eddb14386309fac7ce8ed605b035dd7d48bee" + integrity sha512-w6ejstN7eEMi0n0JJn7xSqUIEln03/d6fktLjjW/hl3Z4NRwhL6OP4NdtmghrBv+5Jdsl/SgTw+HI82ejrabTA== dependencies: jscodeshift "0.15.0" @@ -5791,10 +5158,10 @@ aws-sdk-mock@5.8.0: sinon "^14.0.1" traverse "^0.6.6" -aws-sdk@^2.1231.0, aws-sdk@^2.1466.0, aws-sdk@^2.928.0: - version "2.1466.0" - resolved "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1466.0.tgz#ad7f4766b1d5feb54dacd3289e7a2e033803838e" - integrity sha512-wkpWe0TBNziEI5wNw2twRofCaNQAgQ+v91HoPylmcuD5qqgRm6hoV7M5NSOMKO8ALlglZdR66EmGusaZ2dMJwA== +aws-sdk@^2.1231.0, aws-sdk@^2.1492.0, aws-sdk@^2.928.0: + version "2.1492.0" + resolved "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1492.0.tgz#ef16036f97364d5114f54505c37e82c044d6e872" + integrity sha512-3q17ruBkwb3pL87CHSbRlYiwx1LCq7D7hIjHgZ/5SPeKknkXgkHnD20SD2lC8Nj3xGbpIUhoKXcpDAGgIM5DBA== dependencies: buffer "4.9.2" events "1.1.1" @@ -5816,9 +5183,9 @@ axios@^0.27.2: form-data "^4.0.0" axios@^1.0.0: - version "1.5.1" - resolved "https://registry.npmjs.org/axios/-/axios-1.5.1.tgz#11fbaa11fc35f431193a9564109c88c1f27b585f" - integrity sha512-Q28iYCWzNHjAm+yEAot5QaAMxhMghWLFVf7rRdwhUI+c2jix2DUXjAHXVi+s1ibs3mjPO/cCgbA++3BjD0vP/A== + version "1.6.1" + resolved "https://registry.npmjs.org/axios/-/axios-1.6.1.tgz#76550d644bf0a2d469a01f9244db6753208397d7" + integrity sha512-vfBmhDpKafglh0EldBEbVuoe7DyAavGSLWhuSm5ZSEKQnHhBf0xAAwybbNH1IkrJNGnS/VG4I5yxig1pCEXE4g== dependencies: follow-redirects "^1.15.0" form-data "^4.0.0" @@ -6007,12 +5374,12 @@ braces@^3.0.2, braces@~3.0.2: fill-range "^7.0.1" browserslist@^4.21.9: - version "4.22.0" - resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.22.0.tgz#6adc8116589ccea8a99d0df79c5de2436199abdb" - integrity sha512-v+Jcv64L2LbfTC6OnRcaxtqJNJuQAVhZKSJfR/6hn7lhnChUXl4amwVviqN1k411BB+3rRoKMitELRn1CojeRA== + version "4.22.1" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.22.1.tgz#ba91958d1a59b87dab6fed8dfbcb3da5e2e9c619" + integrity sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ== dependencies: - caniuse-lite "^1.0.30001539" - electron-to-chromium "^1.4.530" + caniuse-lite "^1.0.30001541" + electron-to-chromium "^1.4.535" node-releases "^2.0.13" update-browserslist-db "^1.0.13" @@ -6122,11 +5489,11 @@ cacheable-lookup@^7.0.0: integrity sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w== cacheable-request@^10.2.8: - version "10.2.13" - resolved "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.13.tgz#b7012bb4a2acdb18cb54d2dff751d766b3500842" - integrity sha512-3SD4rrMu1msNGEtNSt8Od6enwdo//U9s4ykmXfA2TD58kcLkCobtCDiby7kNyj7a/Q7lz/mAesAFI54rTdnvBA== + version "10.2.14" + resolved "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.14.tgz#eb915b665fda41b79652782df3f553449c406b9d" + integrity sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ== dependencies: - "@types/http-cache-semantics" "^4.0.1" + "@types/http-cache-semantics" "^4.0.2" get-stream "^6.0.1" http-cache-semantics "^4.1.1" keyv "^4.5.3" @@ -6144,13 +5511,14 @@ caching-transform@^4.0.0: package-hash "^4.0.0" write-file-atomic "^3.0.0" -call-bind@^1.0.0, call-bind@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" - integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== +call-bind@^1.0.0, call-bind@^1.0.2, call-bind@^1.0.4, call-bind@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz#6fa2b7845ce0ea49bf4d8b9ef64727a2c2e2e513" + integrity sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ== dependencies: - function-bind "^1.1.1" - get-intrinsic "^1.0.2" + function-bind "^1.1.2" + get-intrinsic "^1.2.1" + set-function-length "^1.1.1" callsites@^3.0.0: version "3.1.0" @@ -6181,10 +5549,10 @@ camelcase@^7.0.1: resolved "https://registry.npmjs.org/camelcase/-/camelcase-7.0.1.tgz#f02e50af9fd7782bc8b88a3558c32fd3a388f048" integrity sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw== -caniuse-lite@^1.0.30001539: - version "1.0.30001541" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001541.tgz#b1aef0fadd87fb72db4dcb55d220eae17b81cdb1" - integrity sha512-bLOsqxDgTqUBkzxbNlSBt8annkDpQB9NdzdTbO2ooJ+eC/IQcvDspDc058g84ejCelF7vHUx57KIOjEecOHXaw== +caniuse-lite@^1.0.30001541: + version "1.0.30001561" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001561.tgz#752f21f56f96f1b1a52e97aae98c57c562d5d9da" + integrity sha512-NTt0DNoKe958Q0BE0j0c1V9jbUzhBxHIEJy7asmGrpE0yG63KTV7PLHPnK2E1O9RsQrQ081I3NLuXGS6zht3cw== canonicalize@^2.0.0: version "2.0.0" @@ -6196,21 +5564,21 @@ case@1.6.3, case@^1.6.3: resolved "https://registry.npmjs.org/case/-/case-1.6.3.tgz#0a4386e3e9825351ca2e6216c60467ff5f1ea1c9" integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== -cdk-from-cfn@^0.47.0: - version "0.47.0" - resolved "https://registry.npmjs.org/cdk-from-cfn/-/cdk-from-cfn-0.47.0.tgz#76998b826245ba28809746a173ef1f844294c32b" - integrity sha512-GNTTgBlFT1A2WezIeH4pjoTE2zuRJxpjl3emQCiTpQmDeTeQSfe30fvatrKc4Dn0TJZtNhTubpRJeRf2dfDDeA== +cdk-from-cfn@^0.67.0: + version "0.67.0" + resolved "https://registry.npmjs.org/cdk-from-cfn/-/cdk-from-cfn-0.67.0.tgz#5c3c785ed941e4528ac971422c0c549b7c927591" + integrity sha512-fFt+T/UzBa+2FfoAWO8HWERuzOH2akMtrSfkfl9LukIi3p/13ET39LHxAz28pHNa8qtvQkulRmvgvodcWyGW9g== -cdk-generate-synthetic-examples@^0.1.291: - version "0.1.291" - resolved "https://registry.npmjs.org/cdk-generate-synthetic-examples/-/cdk-generate-synthetic-examples-0.1.291.tgz#67660f4c620ee4a994abb142e4d385086e248bc9" - integrity sha512-pixtUlwPWE0URquqviOC/f06ATcetf5EfgE5UP44cmNlZRp1+qqm+U9yeHvc/QfJhyBd3aTXVtuHYs4AuBWB5g== +cdk-generate-synthetic-examples@^0.1.295: + version "0.1.295" + resolved "https://registry.npmjs.org/cdk-generate-synthetic-examples/-/cdk-generate-synthetic-examples-0.1.295.tgz#cd413b0ba8df5e552ec9cd8b5895f46616b5c739" + integrity sha512-H0ft6Z6MDxzG0JXyQmzMzjorUXAPqfGexvD/k7bYu5wLXiwVVX0TqBi2BYV+Us0HZkiXvdi85GB2kL1jDPF1zQ== dependencies: - "@jsii/spec" "^1.84.0" + "@jsii/spec" "^1.91.0" fs-extra "^10.1.0" - jsii "^1.84.0" - jsii-reflect "^1.84.0" - jsii-rosetta "^1.84.0" + jsii "^1.91.0" + jsii-reflect "^1.91.0" + jsii-rosetta "^1.91.0" yargs "^17.7.2" cdk8s-plus-24@2.12.1: @@ -6220,7 +5588,7 @@ cdk8s-plus-24@2.12.1: dependencies: minimatch "^3.1.2" -cdk8s@^2.64.23: +cdk8s@2.64.23: version "2.64.23" resolved "https://registry.npmjs.org/cdk8s/-/cdk8s-2.64.23.tgz#35d3e609918236f10cf4cc09c3f021c6b582ac9d" integrity sha512-aweandhvYeITpstj6uuAXMeaiEJ5shoaYNJiMLqbcYEGKoS/luEf2tfql5Pl8NsG49ctTUcaJEiMpKlVusKpJw== @@ -6305,9 +5673,9 @@ ci-info@^2.0.0: integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== ci-info@^3.2.0, ci-info@^3.6.1: - version "3.8.0" - resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" - integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw== + version "3.9.0" + resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" + integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== cidr-regex@^3.1.1: version "3.1.1" @@ -6444,10 +5812,10 @@ co@^4.6.0: resolved "https://registry.npmjs.org/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== -codemaker@^1.89.0: - version "1.89.0" - resolved "https://registry.npmjs.org/codemaker/-/codemaker-1.89.0.tgz#870652538925c23a062168780639db314cb34aab" - integrity sha512-Jh9ZrMxzX+jbzNvuHNlmEjXUYMSGVNW151SV2aOXU01V3bMjaSP+exfHFsYQ66x/zGEWcjh33pAu2rY44hyYIQ== +codemaker@^1.91.0: + version "1.91.0" + resolved "https://registry.npmjs.org/codemaker/-/codemaker-1.91.0.tgz#edb5403510e9ed42400b79c73394234f341dab1d" + integrity sha512-yI9ibYUBdJDI8n5Vffd4kfg7mSy6Fes2FHq3/TrZtqhL5CJcXvI8Lltl6iTWM5f1JkeIeAMQOC45PjscBhWyZg== dependencies: camelcase "^6.3.0" decamelize "^5.0.1" @@ -6634,14 +6002,14 @@ console-control-strings@^1.0.0, console-control-strings@^1.1.0, console-control- integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== constructs@^10.0.0: - version "10.2.70" - resolved "https://registry.npmjs.org/constructs/-/constructs-10.2.70.tgz#a7d414a717b64a5fab65ff68aaba2ddf73b522bf" - integrity sha512-z6zr1E8K/9tzJbCQzY0UGX0/oVKPFKu9C/mzEnghCG6TAJINnvlq0CMKm63XqqeMleadZYm5T3sZGJKcxJS/Pg== + version "10.3.0" + resolved "https://registry.npmjs.org/constructs/-/constructs-10.3.0.tgz#4c246fce9cf8e77711ad45944e9fbd41f1501965" + integrity sha512-vbK8i3rIb/xwZxSpTjz3SagHn1qq9BChLEfy5Hf6fB3/2eFbrwt2n9kHwQcS0CPTRBesreeAcsJfMq2229FnbQ== -conventional-changelog-angular@6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-6.0.0.tgz#a9a9494c28b7165889144fd5b91573c4aa9ca541" - integrity sha512-6qLgrBF4gueoC7AFVHu51nHL9pF9FRjXrH+ceVf7WmAfH3gs+gEYOkvxhjMPjZu57I4AGUGoNTY8V7Hrgf1uqg== +conventional-changelog-angular@7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-7.0.0.tgz#5eec8edbff15aa9b1680a8dcfbd53e2d7eb2ba7a" + integrity sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ== dependencies: compare-func "^2.0.0" @@ -6901,7 +6269,7 @@ conventional-recommended-bump@7.0.1: git-semver-tags "^5.0.0" meow "^8.1.2" -convert-source-map@^1.6.0, convert-source-map@^1.7.0: +convert-source-map@^1.7.0: version "1.9.0" resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== @@ -7013,10 +6381,10 @@ dargs@^7.0.0: resolved "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== -data-uri-to-buffer@^5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-5.0.1.tgz#db89a9e279c2ffe74f50637a59a32fb23b3e4d7c" - integrity sha512-a9l6T1qqDogvvnw0nKlfZzqsyikEBZBClF39V3TFoKhDtGBqHu2HkuomJc02j5zft8zrUaXEuoicLeW54RkzPg== +data-uri-to-buffer@^6.0.0: + version "6.0.1" + resolved "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.1.tgz#540bd4c8753a25ee129035aebdedf63b078703c7" + integrity sha512-MZd3VlchQkp8rdend6vrx7MmVDJzSNTBvghvKjirLkD+WTChA3KUf0jkE68Q4UyctNqI11zZO9/x2Yx+ub5Cvg== date-format@^4.0.14: version "4.0.14" @@ -7116,10 +6484,10 @@ defer-to-connect@^2.0.1: resolved "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== -define-data-property@^1.0.1: - version "1.1.0" - resolved "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.0.tgz#0db13540704e1d8d479a0656cf781267531b9451" - integrity sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g== +define-data-property@^1.0.1, define-data-property@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz#c35f7cd0ab09883480d12ac5cb213715587800b3" + integrity sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ== dependencies: get-intrinsic "^1.2.1" gopd "^1.0.1" @@ -7423,10 +6791,10 @@ ejs@^3.1.7: dependencies: jake "^10.8.5" -electron-to-chromium@^1.4.530: - version "1.4.532" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.532.tgz#44454731e26f2c8c14e88cca0d073f0761784f5e" - integrity sha512-piIR0QFdIGKmOJTSNg5AwxZRNWQSXlRYycqDB9Srstx4lip8KpcmRxVP6zuFWExWziHYZpJ0acX7TxqX95KBpg== +electron-to-chromium@^1.4.535: + version "1.4.579" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.579.tgz#40ddec29bb5549908e82ccd652cf5da2e5900c23" + integrity sha512-bJKvA+awBIzYR0xRced7PrQuRIwGQPpo6ZLP62GAShahU9fWpsNN2IP6BSP1BLDDSbxvBVRGAMWlvVVq3npmLA== emittery@^0.13.1: version "0.13.1" @@ -7513,25 +6881,25 @@ error-ex@^1.3.1: is-arrayish "^0.2.1" es-abstract@^1.22.1: - version "1.22.2" - resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.2.tgz#90f7282d91d0ad577f505e423e52d4c1d93c1b8a" - integrity sha512-YoxfFcDmhjOgWPWsV13+2RNjq1F6UQnfs+8TftwNqtzlmFzEXvlUwdrNrYeaizfjQzRMxkZ6ElWMOJIFKdVqwA== + version "1.22.3" + resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.3.tgz#48e79f5573198de6dee3589195727f4f74bc4f32" + integrity sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA== dependencies: array-buffer-byte-length "^1.0.0" arraybuffer.prototype.slice "^1.0.2" available-typed-arrays "^1.0.5" - call-bind "^1.0.2" + call-bind "^1.0.5" es-set-tostringtag "^2.0.1" es-to-primitive "^1.2.1" function.prototype.name "^1.1.6" - get-intrinsic "^1.2.1" + get-intrinsic "^1.2.2" get-symbol-description "^1.0.0" globalthis "^1.0.3" gopd "^1.0.1" - has "^1.0.3" has-property-descriptors "^1.0.0" has-proto "^1.0.1" has-symbols "^1.0.3" + hasown "^2.0.0" internal-slot "^1.0.5" is-array-buffer "^3.0.2" is-callable "^1.2.7" @@ -7541,7 +6909,7 @@ es-abstract@^1.22.1: is-string "^1.0.7" is-typed-array "^1.1.12" is-weakref "^1.0.2" - object-inspect "^1.12.3" + object-inspect "^1.13.1" object-keys "^1.1.1" object.assign "^4.1.4" regexp.prototype.flags "^1.5.1" @@ -7555,23 +6923,23 @@ es-abstract@^1.22.1: typed-array-byte-offset "^1.0.0" typed-array-length "^1.0.4" unbox-primitive "^1.0.2" - which-typed-array "^1.1.11" + which-typed-array "^1.1.13" es-set-tostringtag@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8" - integrity sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg== + version "2.0.2" + resolved "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz#11f7cc9f63376930a5f20be4915834f4bc74f9c9" + integrity sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q== dependencies: - get-intrinsic "^1.1.3" - has "^1.0.3" + get-intrinsic "^1.2.2" has-tostringtag "^1.0.0" + hasown "^2.0.0" es-shim-unscopables@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241" - integrity sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w== + version "1.0.2" + resolved "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz#1f6942e71ecc7835ed1c8a83006d8771a63a3763" + integrity sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw== dependencies: - has "^1.0.3" + hasown "^2.0.0" es-to-primitive@^1.2.1: version "1.2.1" @@ -7623,33 +6991,33 @@ es6-weak-map@^2.0.3: es6-iterator "^2.0.3" es6-symbol "^3.1.1" -esbuild@^0.19.4: - version "0.19.4" - resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.19.4.tgz#cdf5c4c684956d550bc3c6d0c01dac7fef6c75b1" - integrity sha512-x7jL0tbRRpv4QUyuDMjONtWFciygUxWaUM1kMX2zWxI0X2YWOt7MSA0g4UdeSiHM8fcYVzpQhKYOycZwxTdZkA== +esbuild@^0.19.5: + version "0.19.5" + resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.19.5.tgz#53a0e19dfbf61ba6c827d51a80813cf071239a8c" + integrity sha512-bUxalY7b1g8vNhQKdB24QDmHeY4V4tw/s6Ak5z+jJX9laP5MoQseTOMemAr0gxssjNcH0MCViG8ONI2kksvfFQ== optionalDependencies: - "@esbuild/android-arm" "0.19.4" - "@esbuild/android-arm64" "0.19.4" - "@esbuild/android-x64" "0.19.4" - "@esbuild/darwin-arm64" "0.19.4" - "@esbuild/darwin-x64" "0.19.4" - "@esbuild/freebsd-arm64" "0.19.4" - "@esbuild/freebsd-x64" "0.19.4" - "@esbuild/linux-arm" "0.19.4" - "@esbuild/linux-arm64" "0.19.4" - "@esbuild/linux-ia32" "0.19.4" - "@esbuild/linux-loong64" "0.19.4" - "@esbuild/linux-mips64el" "0.19.4" - "@esbuild/linux-ppc64" "0.19.4" - "@esbuild/linux-riscv64" "0.19.4" - "@esbuild/linux-s390x" "0.19.4" - "@esbuild/linux-x64" "0.19.4" - "@esbuild/netbsd-x64" "0.19.4" - "@esbuild/openbsd-x64" "0.19.4" - "@esbuild/sunos-x64" "0.19.4" - "@esbuild/win32-arm64" "0.19.4" - "@esbuild/win32-ia32" "0.19.4" - "@esbuild/win32-x64" "0.19.4" + "@esbuild/android-arm" "0.19.5" + "@esbuild/android-arm64" "0.19.5" + "@esbuild/android-x64" "0.19.5" + "@esbuild/darwin-arm64" "0.19.5" + "@esbuild/darwin-x64" "0.19.5" + "@esbuild/freebsd-arm64" "0.19.5" + "@esbuild/freebsd-x64" "0.19.5" + "@esbuild/linux-arm" "0.19.5" + "@esbuild/linux-arm64" "0.19.5" + "@esbuild/linux-ia32" "0.19.5" + "@esbuild/linux-loong64" "0.19.5" + "@esbuild/linux-mips64el" "0.19.5" + "@esbuild/linux-ppc64" "0.19.5" + "@esbuild/linux-riscv64" "0.19.5" + "@esbuild/linux-s390x" "0.19.5" + "@esbuild/linux-x64" "0.19.5" + "@esbuild/netbsd-x64" "0.19.5" + "@esbuild/openbsd-x64" "0.19.5" + "@esbuild/sunos-x64" "0.19.5" + "@esbuild/win32-arm64" "0.19.5" + "@esbuild/win32-ia32" "0.19.5" + "@esbuild/win32-x64" "0.19.5" escalade@^3.1.1: version "3.1.1" @@ -7687,7 +7055,7 @@ escodegen@^2.0.0, escodegen@^2.1.0: optionalDependencies: source-map "~0.6.1" -eslint-import-resolver-node@^0.3.7, eslint-import-resolver-node@^0.3.9: +eslint-import-resolver-node@^0.3.9: version "0.3.9" resolved "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz#d4eaac52b8a2e7c3cd1903eb00f7e053356118ac" integrity sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g== @@ -7714,26 +7082,26 @@ eslint-module-utils@^2.8.0: dependencies: debug "^3.2.7" -eslint-plugin-import@^2.28.1: - version "2.28.1" - resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.28.1.tgz#63b8b5b3c409bfc75ebaf8fb206b07ab435482c4" - integrity sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A== +eslint-plugin-import@^2.29.0: + version "2.29.0" + resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.0.tgz#8133232e4329ee344f2f612885ac3073b0b7e155" + integrity sha512-QPOO5NO6Odv5lpoTkddtutccQjysJuFxoPS7fAHO+9m9udNHvTCPSAMW9zGAYj8lAIdr40I8yPCdUYrncXtrwg== dependencies: - array-includes "^3.1.6" - array.prototype.findlastindex "^1.2.2" - array.prototype.flat "^1.3.1" - array.prototype.flatmap "^1.3.1" + array-includes "^3.1.7" + array.prototype.findlastindex "^1.2.3" + array.prototype.flat "^1.3.2" + array.prototype.flatmap "^1.3.2" debug "^3.2.7" doctrine "^2.1.0" - eslint-import-resolver-node "^0.3.7" + eslint-import-resolver-node "^0.3.9" eslint-module-utils "^2.8.0" - has "^1.0.3" - is-core-module "^2.13.0" + hasown "^2.0.0" + is-core-module "^2.13.1" is-glob "^4.0.3" minimatch "^3.1.2" - object.fromentries "^2.0.6" - object.groupby "^1.0.0" - object.values "^1.1.6" + object.fromentries "^2.0.7" + object.groupby "^1.0.1" + object.values "^1.1.7" semver "^6.3.1" tsconfig-paths "^3.14.2" @@ -7836,17 +7204,18 @@ eslint@^7.32.0: v8-compile-cache "^2.0.3" eslint@^8: - version "8.50.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-8.50.0.tgz#2ae6015fee0240fcd3f83e1e25df0287f487d6b2" - integrity sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg== + version "8.53.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-8.53.0.tgz#14f2c8244298fcae1f46945459577413ba2697ce" + integrity sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.6.1" - "@eslint/eslintrc" "^2.1.2" - "@eslint/js" "8.50.0" - "@humanwhocodes/config-array" "^0.11.11" + "@eslint/eslintrc" "^2.1.3" + "@eslint/js" "8.53.0" + "@humanwhocodes/config-array" "^0.11.13" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8" + "@ungap/structured-clone" "^1.2.0" ajv "^6.12.4" chalk "^4.0.0" cross-spawn "^7.0.2" @@ -8026,10 +7395,10 @@ external-editor@^3.0.3: iconv-lite "^0.4.24" tmp "^0.0.33" -fast-check@^3.13.1: - version "3.13.1" - resolved "https://registry.npmjs.org/fast-check/-/fast-check-3.13.1.tgz#32c7a78621098bd30d71e40c0e269a728a3188e2" - integrity sha512-Xp00tFuWd83i8rbG/4wU54qU+yINjQha7bXH2N4ARNTkyOimzHtUBJ5+htpdXk7RMaCOD/j2jxSjEt9u9ZPNeQ== +fast-check@^3.13.2: + version "3.13.2" + resolved "https://registry.npmjs.org/fast-check/-/fast-check-3.13.2.tgz#1bea3b167f689b271535dde7569c2d56caa7e4ea" + integrity sha512-ouTiFyeMoqmNg253xqy4NSacr5sHxH6pZpLOaHgaAdgZxFWdtsfxExwolpveoAE9CJdV+WYjqErNGef6SqA5Mg== dependencies: pure-rand "^6.0.0" @@ -8039,9 +7408,9 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== fast-glob@^3.2.9, fast-glob@^3.3.1: - version "3.3.1" - resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz#784b4e897340f3dbbef17413b3f11acf03c874c4" - integrity sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg== + version "3.3.2" + resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" + integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" @@ -8203,11 +7572,11 @@ find-yarn-workspace-root@^2.0.0: micromatch "^4.0.2" flat-cache@^3.0.4: - version "3.1.0" - resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-3.1.0.tgz#0e54ab4a1a60fe87e2946b6b00657f1c99e1af3f" - integrity sha512-OHx4Qwrrt0E4jEIcI5/Xb+f+QmJYNj2rrK8wiIdQOIrB9WrrJL8cjZvXdXuBTkkEwEqLycb5BeZDV1o2i9bTew== + version "3.1.1" + resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-3.1.1.tgz#a02a15fdec25a8f844ff7cc658f03dd99eb4609b" + integrity sha512-/qM2b3LUIaIgviBQovTLvijfyOQXPtSRnRK26ksj2J7rzPIecePUIpJsZ4T02Qg+xiAEKIs5K8dsHEd+VaKa/Q== dependencies: - flatted "^3.2.7" + flatted "^3.2.9" keyv "^4.5.3" rimraf "^3.0.2" @@ -8216,7 +7585,7 @@ flat@^5.0.2: resolved "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== -flatted@^3.2.7: +flatted@^3.2.7, flatted@^3.2.9: version "3.2.9" resolved "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz#7eb4c67ca1ba34232ca9d2d93e9886e611ad7daf" integrity sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ== @@ -8227,9 +7596,9 @@ flatten@^1.0.2: integrity sha512-dVsPA/UwQ8+2uoFe5GHtiBMu48dWLTdsuEd7CKGlZlD78r1TTWBvDuFaFGKCo/ZfEr95Uk56vZoX86OsHkUeIg== flow-parser@0.*: - version "0.217.0" - resolved "https://registry.npmjs.org/flow-parser/-/flow-parser-0.217.0.tgz#0e6bed214151fa3240dc9fd83ac8a9e050e523c5" - integrity sha512-hEa5n0dta1RcaDwJDWbnyelw07PK7+Vx0f9kDht28JOt2hXgKdKGaT3wM45euWV2DxOXtzDSTaUgGSD/FPvC2Q== + version "0.220.1" + resolved "https://registry.npmjs.org/flow-parser/-/flow-parser-0.220.1.tgz#8302ef224e2efb549cccb69fcfb8fb8fb2346668" + integrity sha512-RoM3ARqVYvxnwtkM36RjQFzo5Z9p22jUqtuMrN8gzA/8fU6iMLFE3cXkdSFPyfHRXLU8ILH8TCtSFADk1ACPCg== fn.name@1.x.x: version "1.1.0" @@ -8278,7 +7647,7 @@ form-data@^4.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" -fp-and-or@^0.1.3: +fp-and-or@^0.1.4: version "0.1.4" resolved "https://registry.npmjs.org/fp-and-or/-/fp-and-or-0.1.4.tgz#0268c800c359ede259cdcbc352654e698b7ea299" integrity sha512-+yRYRhpnFPWXSly/6V4Lw9IfOV26uu30kynGJ03PW+MnjOEQe45RZ141QcS0aJehYBYA50GfCDnsRbFJdhssRw== @@ -8354,10 +7723,10 @@ fsevents@^2.3.2, fsevents@~2.3.2: resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== -function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" - integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== function.prototype.name@^1.1.6: version "1.1.6" @@ -8425,15 +7794,15 @@ get-caller-file@^2.0.1, get-caller-file@^2.0.5: resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1: - version "1.2.1" - resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz#d295644fed4505fc9cde952c37ee12b477a83d82" - integrity sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw== +get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2: + version "1.2.2" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz#281b7622971123e1ef4b3c90fd7539306da93f3b" + integrity sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA== dependencies: - function-bind "^1.1.1" - has "^1.0.3" + function-bind "^1.1.2" has-proto "^1.0.1" has-symbols "^1.0.3" + hasown "^2.0.0" get-own-enumerable-property-symbols@^3.0.0: version "3.0.2" @@ -8489,12 +7858,12 @@ get-symbol-description@^1.0.0: get-intrinsic "^1.1.1" get-uri@^6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/get-uri/-/get-uri-6.0.1.tgz#cff2ba8d456c3513a04b70c45de4dbcca5b1527c" - integrity sha512-7ZqONUVqaabogsYNWlYj0t3YZaL6dhuEueZXGF+/YVmf6dHmaFg8/6psJKqhx9QykIDKzpGcy2cn4oV4YC7V/Q== + version "6.0.2" + resolved "https://registry.npmjs.org/get-uri/-/get-uri-6.0.2.tgz#e019521646f4a8ff6d291fbaea2c46da204bb75b" + integrity sha512-5KLucCJobh8vBY1K07EFV4+cPZH3mrV9YeAruUseCQKHB58SGjjT2l9/eA9LD082IiuMjSlFJEcdJ27TXvbZNw== dependencies: basic-ftp "^5.0.2" - data-uri-to-buffer "^5.0.1" + data-uri-to-buffer "^6.0.0" debug "^4.3.4" fs-extra "^8.1.0" @@ -8647,9 +8016,9 @@ globals@^11.1.0: integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== globals@^13.19.0, globals@^13.6.0, globals@^13.9.0: - version "13.22.0" - resolved "https://registry.npmjs.org/globals/-/globals-13.22.0.tgz#0c9fcb9c48a2494fbb5edbfee644285543eba9d8" - integrity sha512-H1Ddc/PbZHTDVJSnj8kWptIRSD6AM3pK+mKytuIVF4uoBV7rshFlhhvA58ceJ5wp3Er58w6zj7bykMpYXt3ETw== + version "13.23.0" + resolved "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz#ef31673c926a0976e1f61dab4dca57e0c0a8af02" + integrity sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA== dependencies: type-fest "^0.20.2" @@ -8770,11 +8139,11 @@ has-flag@^4.0.0: integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== has-property-descriptors@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" - integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + version "1.0.1" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz#52ba30b6c5ec87fd89fa574bc1c39125c6f65340" + integrity sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg== dependencies: - get-intrinsic "^1.1.1" + get-intrinsic "^1.2.2" has-proto@^1.0.1: version "1.0.1" @@ -8803,13 +8172,6 @@ has-yarn@^3.0.0: resolved "https://registry.npmjs.org/has-yarn/-/has-yarn-3.0.0.tgz#c3c21e559730d1d3b57e28af1f30d06fac38147d" integrity sha512-IrsVwUHhEULx3R8f/aA8AHuEzAorplsab/v8HBzEiIukwq5i/EC+xmOW+HfP1OaDP+2JkgT1yILHN2O3UFIbcA== -has@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" - integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== - dependencies: - function-bind "^1.1.1" - hasha@^5.0.0: version "5.2.2" resolved "https://registry.npmjs.org/hasha/-/hasha-5.2.2.tgz#a48477989b3b327aea3c04f53096d816d97522a1" @@ -8818,6 +8180,13 @@ hasha@^5.0.0: is-stream "^2.0.0" type-fest "^0.8.0" +hasown@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c" + integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA== + dependencies: + function-bind "^1.1.2" + "heap@>= 0.2.0": version "0.2.7" resolved "https://registry.npmjs.org/heap/-/heap-0.2.7.tgz#1e6adf711d3f27ce35a81fe3b7bd576c2260a8fc" @@ -9094,12 +8463,12 @@ inquirer@^8.2.3, inquirer@^8.2.4: wrap-ansi "^6.0.1" internal-slot@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz#f2a2ee21f668f8627a4667f309dc0f4fb6674986" - integrity sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ== + version "1.0.6" + resolved "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.6.tgz#37e756098c4911c5e912b8edbf71ed3aa116f930" + integrity sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg== dependencies: - get-intrinsic "^1.2.0" - has "^1.0.3" + get-intrinsic "^1.2.2" + hasown "^2.0.0" side-channel "^1.0.4" interpret@^1.0.0: @@ -9197,12 +8566,12 @@ is-cidr@^4.0.2: dependencies: cidr-regex "^3.1.1" -is-core-module@^2.13.0, is-core-module@^2.5.0, is-core-module@^2.8.1: - version "2.13.0" - resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz#bb52aa6e2cbd49a30c2ba68c42bf3435ba6072db" - integrity sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ== +is-core-module@^2.13.0, is-core-module@^2.13.1, is-core-module@^2.5.0, is-core-module@^2.8.1: + version "2.13.1" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384" + integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== dependencies: - has "^1.0.3" + hasown "^2.0.0" is-date-object@^1.0.1: version "1.0.5" @@ -9480,9 +8849,9 @@ isobject@^3.0.1: integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" - integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== + version "3.2.2" + resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" + integrity sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg== istanbul-lib-hook@^3.0.0: version "3.0.0" @@ -9513,9 +8882,9 @@ istanbul-lib-instrument@^5.0.4: semver "^6.3.0" istanbul-lib-instrument@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.0.tgz#7a8af094cbfff1d5bb280f62ce043695ae8dd5b8" - integrity sha512-x58orMzEVfzPUKqlbLd1hXCnySCxKdDKa6Rjg97CwuLLRI4g3FHTdnExu1OqffVFay6zeMW+T6/DowFLndWnIw== + version "6.0.1" + resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.1.tgz#71e87707e8041428732518c6fb5211761753fbdf" + integrity sha512-EAMEJBsYuyyztxMxW3g7ugGPkrZsV57v0Hmv3mm1uQsmB+QnZuepg731CRaIgeUVSdmsTngOkSnauNF8p7FIhA== dependencies: "@babel/core" "^7.12.3" "@babel/parser" "^7.14.7" @@ -10080,93 +9449,93 @@ jsesc@^2.5.1: resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== -jsii-diff@1.89.0: - version "1.89.0" - resolved "https://registry.npmjs.org/jsii-diff/-/jsii-diff-1.89.0.tgz#9cad59271acfd0805d854c6bdf9b8d21f648cb99" - integrity sha512-v/HOPR5Tx/0/eTUMGhwxHpkUQxxybfo2jwUjI46UrdRK8oqeMRk2eYT+cE9NhmuhRbvplLQvClznU/69fIOorQ== +jsii-diff@1.91.0: + version "1.91.0" + resolved "https://registry.npmjs.org/jsii-diff/-/jsii-diff-1.91.0.tgz#8004353e46615222ccf5a7fe4580a22839bb49e2" + integrity sha512-WZkxTWuFI4QswU8DWu3v8pRfjOkp6A38KE3HtNPjp4QyIOSuhHYfZyd1wrIozeFxeKebfDH5YOu8/cL4JlVqUQ== dependencies: - "@jsii/check-node" "1.89.0" - "@jsii/spec" "^1.89.0" + "@jsii/check-node" "1.91.0" + "@jsii/spec" "^1.91.0" fs-extra "^10.1.0" - jsii-reflect "^1.89.0" + jsii-reflect "^1.91.0" log4js "^6.9.1" yargs "^16.2.0" -jsii-pacmak@1.89.0: - version "1.89.0" - resolved "https://registry.npmjs.org/jsii-pacmak/-/jsii-pacmak-1.89.0.tgz#587d4437b582a5dae7644c78e0b477fca1ae2749" - integrity sha512-fEvXWBdIOz1WyPrpZRbDaaV1f3UyAN8vYIhzH8mtLklsdFUkS3SZdfFJWEKsa6gjILT+4/CqBtLOEZE0iHy0bg== +jsii-pacmak@1.91.0: + version "1.91.0" + resolved "https://registry.npmjs.org/jsii-pacmak/-/jsii-pacmak-1.91.0.tgz#44e414b1eb699f3d732bbe53cc6cc6da5fdb60b8" + integrity sha512-k3Mc8v2nS7OTZxbwXczjSl5/RzGXHPq/BzZ+MRQhP5Z0Ai7QDF++aJxx6GZT9JXOD8zpHpv74QOr6eLPRVRIEQ== dependencies: - "@jsii/check-node" "1.89.0" - "@jsii/spec" "^1.89.0" + "@jsii/check-node" "1.91.0" + "@jsii/spec" "^1.91.0" clone "^2.1.2" - codemaker "^1.89.0" + codemaker "^1.91.0" commonmark "^0.30.0" escape-string-regexp "^4.0.0" fs-extra "^10.1.0" - jsii-reflect "^1.89.0" - jsii-rosetta "^1.89.0" + jsii-reflect "^1.91.0" + jsii-rosetta "^1.91.0" semver "^7.5.4" spdx-license-list "^6.7.0" xmlbuilder "^15.1.1" yargs "^16.2.0" -jsii-reflect@1.89.0, jsii-reflect@^1.84.0, jsii-reflect@^1.89.0: - version "1.89.0" - resolved "https://registry.npmjs.org/jsii-reflect/-/jsii-reflect-1.89.0.tgz#995c6d283044e7d0705d62d8090ce9d47ba0842f" - integrity sha512-05g0fUVot46rPGXYWzB3q4w2Cx2Ox7pzWfsGuIz6Kql/d9KoAFWMuGjwQbSbrI2I52RPKfTbM8wATzzp6Q5kdQ== +jsii-reflect@1.91.0, jsii-reflect@^1.91.0: + version "1.91.0" + resolved "https://registry.npmjs.org/jsii-reflect/-/jsii-reflect-1.91.0.tgz#026e1c4e8ed51c21787098dd5cd5240ac5c438ce" + integrity sha512-RRFmvscXiBHUOP9ew71gPQ2IptiHYoRaihKoLg5+SQSeCvynaJrBWhNcBy26LHd28HEN2atdzYems0+HgeQNRg== dependencies: - "@jsii/check-node" "1.89.0" - "@jsii/spec" "^1.89.0" + "@jsii/check-node" "1.91.0" + "@jsii/spec" "^1.91.0" chalk "^4" fs-extra "^10.1.0" - oo-ascii-tree "^1.89.0" + oo-ascii-tree "^1.91.0" yargs "^16.2.0" -jsii-rosetta@^1.84.0, jsii-rosetta@^1.89.0: - version "1.89.0" - resolved "https://registry.npmjs.org/jsii-rosetta/-/jsii-rosetta-1.89.0.tgz#0e4931e5cca73da85adac1b2265689a5172a3631" - integrity sha512-1hmLO+LtZ6bf2uvYW45YaRBQJD+rVondVkWfT2Ex9xYrkxAsc4304TV2DoQILfZbkaUPezyJ3ejGFlMhliNG0g== +jsii-rosetta@^1.91.0: + version "1.91.0" + resolved "https://registry.npmjs.org/jsii-rosetta/-/jsii-rosetta-1.91.0.tgz#0bc915b25949da6e455de638e1c8f6a20aa7d054" + integrity sha512-v8eW/XiJHklnkmTtCIbyAeDPUVfovU/ZNh1ixvGri/ps5H3iRRpLEmqGJGMm2IEIjNCSmnmIsDMQLw20/7Nu+Q== dependencies: - "@jsii/check-node" "1.89.0" - "@jsii/spec" "1.89.0" + "@jsii/check-node" "1.91.0" + "@jsii/spec" "1.91.0" "@xmldom/xmldom" "^0.8.10" commonmark "^0.30.0" fast-glob "^3.3.1" - jsii "1.89.0" + jsii "1.91.0" semver "^7.5.4" semver-intersect "^1.4.0" stream-json "^1.8.0" typescript "~3.9.10" - workerpool "^6.5.0" + workerpool "^6.5.1" yargs "^16.2.0" -jsii-rosetta@~5.1.13: - version "5.1.13" - resolved "https://registry.npmjs.org/jsii-rosetta/-/jsii-rosetta-5.1.13.tgz#5f5ccf112000c573747d039725d3cf48378ef781" - integrity sha512-EmtQU/Q5ex/e2XmysU1ZdEW3vK4feEPDXaivRj5Cf284fuEcWINcD38oPYog0XofPdqeBbf0n+EciBitoEhKGA== +jsii-rosetta@~5.2.2: + version "5.2.2" + resolved "https://registry.npmjs.org/jsii-rosetta/-/jsii-rosetta-5.2.2.tgz#604c013639fec975cdb140e99b38a505118559a9" + integrity sha512-bMGJKdQLlvYXUawoY+6EMH/5RwOttNCiTxczaJlV27BpxWeqTYIYMAVcb+d+6FTNKvZ2AcbCjqlROW6RDONanQ== dependencies: - "@jsii/check-node" "1.88.0" - "@jsii/spec" "^1.88.0" + "@jsii/check-node" "1.91.0" + "@jsii/spec" "^1.91.0" "@xmldom/xmldom" "^0.8.10" chalk "^4" commonmark "^0.30.0" fast-glob "^3.3.1" - jsii "~5.1.5" + jsii "~5.2.5" semver "^7.5.4" semver-intersect "^1.4.0" stream-json "^1.8.0" - typescript "~5.1.6" - workerpool "^6.4.2" + typescript "~5.2.2" + workerpool "^6.5.1" yargs "^17.7.2" -jsii@1.89.0, jsii@^1.84.0: - version "1.89.0" - resolved "https://registry.npmjs.org/jsii/-/jsii-1.89.0.tgz#5e5709fd4328bfc006d7771ad737294fc2d51957" - integrity sha512-NOeltDlkRSu7OXpNS8I4izFtcVKsMppn0pbqM07LWHXrNZT0Y7c/dDtuMyYRIDNcwB6aLtOzLHfls9rd6qrLyg== +jsii@1.91.0, jsii@^1.91.0: + version "1.91.0" + resolved "https://registry.npmjs.org/jsii/-/jsii-1.91.0.tgz#55ae8c036c6547590b5e93e9eeace2c7b78ec461" + integrity sha512-dJ2FbnUfX5Eg9BdZx6Cz2JhDsvzGi2DoQeomzdjO9ltvVUouAFPWkpcUtJdLXaNmHQtPM4/I+AzelUX7w2mWVw== dependencies: - "@jsii/check-node" "1.89.0" - "@jsii/spec" "^1.89.0" + "@jsii/check-node" "1.91.0" + "@jsii/spec" "^1.91.0" case "^1.6.3" chalk "^4" fast-deep-equal "^3.1.3" @@ -10179,32 +9548,13 @@ jsii@1.89.0, jsii@^1.84.0: typescript "~3.9.10" yargs "^16.2.0" -jsii@~5.1.5: - version "5.1.12" - resolved "https://registry.npmjs.org/jsii/-/jsii-5.1.12.tgz#0ac6d92d52c6732a6e0e3e27f9f07453318715f2" - integrity sha512-iY3zLosUEKbeua6IAGJXjFxibiiI0xHFjyYPyewOc56MBRHC7nczWSVGRP+Jgwyo7HWXs4TvJKLG6w8zSuAZrg== - dependencies: - "@jsii/check-node" "1.88.0" - "@jsii/spec" "^1.88.0" - case "^1.6.3" - chalk "^4" - downlevel-dts "^0.11.0" - fast-deep-equal "^3.1.3" - log4js "^6.9.1" - semver "^7.5.4" - semver-intersect "^1.4.0" - sort-json "^2.0.1" - spdx-license-list "^6.6.0" - typescript "~5.1.6" - yargs "^17.7.2" - -jsii@~5.2.9: - version "5.2.9" - resolved "https://registry.npmjs.org/jsii/-/jsii-5.2.9.tgz#1417896c73dfb3a3615020608c018ea4d72dba0e" - integrity sha512-cJg8Y/JrZrN6Icu7yUKnOjL9CLeqL5oNK/aj8oiIgmNZdhnQv5wGaCC11W0JMHvSEfDdfhhKddQlxoErC71GPQ== +jsii@~5.2.26, jsii@~5.2.5: + version "5.2.26" + resolved "https://registry.npmjs.org/jsii/-/jsii-5.2.26.tgz#44e1829f025838f051be9e8644910d04055428d3" + integrity sha512-R5R2mKKMVVs6a8nWJEtMWZXFr845visS4b4q4TK/xBQD7fmI2pylJftCJlePskwlv8W3hFlqSoQ2yp+Hbm8fZg== dependencies: - "@jsii/check-node" "1.89.0" - "@jsii/spec" "^1.89.0" + "@jsii/check-node" "1.91.0" + "@jsii/spec" "^1.91.0" case "^1.6.3" chalk "^4" downlevel-dts "^0.11.0" @@ -10213,7 +9563,7 @@ jsii@~5.2.9: semver "^7.5.4" semver-intersect "^1.4.0" sort-json "^2.0.1" - spdx-license-list "^6.7.0" + spdx-license-list "^6.8.0" typescript "~5.2" yargs "^17.7.2" @@ -10352,9 +9702,9 @@ just-extend@^4.0.2: integrity sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg== keyv@^4.5.3: - version "4.5.3" - resolved "https://registry.npmjs.org/keyv/-/keyv-4.5.3.tgz#00873d2b046df737963157bd04f294ca818c9c25" - integrity sha512-QCiSav9WaX1PgETJ+SpNnx2PRRapJ/oRSXM4VO5OGYGSjrxbKPVFVhB3l2OCbLCk329N8qyAtsJjSjvVBWzEug== + version "4.5.4" + resolved "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" + integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== dependencies: json-buffer "3.0.1" @@ -10428,13 +9778,13 @@ lazystream@^1.0.0: dependencies: readable-stream "^2.0.5" -lerna@^7.3.0: - version "7.3.0" - resolved "https://registry.npmjs.org/lerna/-/lerna-7.3.0.tgz#efecafbdce15694e2f6841256e073a3a2061053e" - integrity sha512-Dt8TH+J+c9+3MhTYcm5OxnNzXb87WG7GPNj3kidjYJjJY7KxIMDNU37qBTYRWA1h3wAeNKBplXVQYUPkGcYgkQ== +lerna@^7.4.2: + version "7.4.2" + resolved "https://registry.npmjs.org/lerna/-/lerna-7.4.2.tgz#03497125d7b7c8d463eebfe17a701b16bde2ad09" + integrity sha512-gxavfzHfJ4JL30OvMunmlm4Anw7d7Tq6tdVHzUukLdS9nWnxCN/QB21qR+VJYp5tcyXogHKbdUEGh6qmeyzxSA== dependencies: - "@lerna/child-process" "7.3.0" - "@lerna/create" "7.3.0" + "@lerna/child-process" "7.4.2" + "@lerna/create" "7.4.2" "@npmcli/run-script" "6.0.2" "@nx/devkit" ">=16.5.1 < 17" "@octokit/plugin-enterprise-rest" "6.0.1" @@ -10444,7 +9794,7 @@ lerna@^7.3.0: clone-deep "4.0.1" cmd-shim "6.0.1" columnify "1.6.0" - conventional-changelog-angular "6.0.0" + conventional-changelog-angular "7.0.0" conventional-changelog-core "5.0.1" conventional-recommended-bump "7.0.1" cosmiconfig "^8.2.0" @@ -10691,9 +10041,9 @@ lines-and-columns@^1.1.6: integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== lines-and-columns@~2.0.3: - version "2.0.3" - resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.3.tgz#b2f0badedb556b747020ab8ea7f0373e22efac1b" - integrity sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w== + version "2.0.4" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.4.tgz#d00318855905d2660d8c0822e3f5a4715855fc42" + integrity sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A== linkify-it@^3.0.1: version "3.0.3" @@ -10832,11 +10182,11 @@ log4js@^6.9.1: streamroller "^3.1.5" logform@^2.3.2, logform@^2.4.0: - version "2.5.1" - resolved "https://registry.npmjs.org/logform/-/logform-2.5.1.tgz#44c77c34becd71b3a42a3970c77929e52c6ed48b" - integrity sha512-9FyqAm9o9NKKfiAKfZoYo9bGXXuwMkxQiQttkT4YjjVtQVIQtK6LmVtlxmCaFswo6N4AfEkHqZTV0taDtPotNg== + version "2.6.0" + resolved "https://registry.npmjs.org/logform/-/logform-2.6.0.tgz#8c82a983f05d6eaeb2d75e3decae7a768b2bf9b5" + integrity sha512-1ulHeNPp6k/LD8H91o7VYFBng5i1BDE7HoKxVbZiGFidS1Rj65qcywLxX+pVfAPoQJEjRdvKcusKwOupHCVOVQ== dependencies: - "@colors/colors" "1.5.0" + "@colors/colors" "1.6.0" "@types/triple-beam" "^1.3.2" fecha "^4.2.0" ms "^2.1.1" @@ -10934,7 +10284,7 @@ make-error@1.x, make-error@^1.1.1: resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== -make-fetch-happen@^10.0.6, make-fetch-happen@^10.2.0: +make-fetch-happen@^10.0.3, make-fetch-happen@^10.0.6, make-fetch-happen@^10.2.0: version "10.2.1" resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz#f5e3835c5e9817b617f2770870d9492d28678164" integrity sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w== @@ -10956,7 +10306,7 @@ make-fetch-happen@^10.0.6, make-fetch-happen@^10.2.0: socks-proxy-agent "^7.0.0" ssri "^9.0.0" -make-fetch-happen@^11.0.0, make-fetch-happen@^11.0.1, make-fetch-happen@^11.0.3, make-fetch-happen@^11.1.1: +make-fetch-happen@^11.0.0, make-fetch-happen@^11.0.1, make-fetch-happen@^11.1.1: version "11.1.1" resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz#85ceb98079584a9523d4bf71d32996e7e208549f" integrity sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w== @@ -11257,9 +10607,9 @@ minipass@^5.0.0: integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== "minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.3: - version "7.0.3" - resolved "https://registry.npmjs.org/minipass/-/minipass-7.0.3.tgz#05ea638da44e475037ed94d1c7efcc76a25e1974" - integrity sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg== + version "7.0.4" + resolved "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" + integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== minizlib@^2.1.1, minizlib@^2.1.2: version "2.1.2" @@ -11358,9 +10708,9 @@ mute-stream@~1.0.0: integrity sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA== nanoid@^3.3.6: - version "3.3.6" - resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c" - integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA== + version "3.3.7" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8" + integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g== natural-compare@^1.4.0: version "1.4.0" @@ -11404,9 +10754,9 @@ nise@^4.0.4: path-to-regexp "^1.7.0" nise@^5.1.0, nise@^5.1.2: - version "5.1.4" - resolved "https://registry.npmjs.org/nise/-/nise-5.1.4.tgz#491ce7e7307d4ec546f5a659b2efe94a18b4bbc0" - integrity sha512-8+Ib8rRJ4L0o3kfmyVCL7gzrohyDe0cMFTBa2d364yIrEGMEoetznKJx899YxjybU6bL9SQkYPSBBs1gyYs8Xg== + version "5.1.5" + resolved "https://registry.npmjs.org/nise/-/nise-5.1.5.tgz#f2aef9536280b6c18940e32ba1fbdc770b8964ee" + integrity sha512-VJuPIfUFaXNRzETTQEEItTOP8Y171ijr+JLq42wHes3DiryR8vT+1TXQW/Rx8JNUhyYYWyIvjXTU6dOhJcs9Nw== dependencies: "@sinonjs/commons" "^2.0.0" "@sinonjs/fake-timers" "^10.0.2" @@ -11414,14 +10764,13 @@ nise@^5.1.0, nise@^5.1.2: just-extend "^4.0.2" path-to-regexp "^1.7.0" -nock@^13.3.3: - version "13.3.3" - resolved "https://registry.npmjs.org/nock/-/nock-13.3.3.tgz#179759c07d3f88ad3e794ace885629c1adfd3fe7" - integrity sha512-z+KUlILy9SK/RjpeXDiDUEAq4T94ADPHE3qaRkf66mpEhzc/ytOMm3Bwdrbq6k1tMWkbdujiKim3G2tfQARuJw== +nock@^13.3.8: + version "13.3.8" + resolved "https://registry.npmjs.org/nock/-/nock-13.3.8.tgz#7adf3c66f678b02ef0a78d5697ae8bc2ebde0142" + integrity sha512-96yVFal0c/W1lG7mmfRe7eO+hovrhJYd2obzzOZ90f6fjpeU/XNvd9cYHZKZAQJumDfhXgoTpkpJ9pvMj+hqHw== dependencies: debug "^4.1.0" json-stringify-safe "^5.0.1" - lodash "^4.17.21" propagate "^2.0.0" node-addon-api@^3.2.1: @@ -11456,15 +10805,15 @@ node-gyp-build@^4.3.0: integrity sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ== node-gyp@^9.0.0, node-gyp@^9.1.0: - version "9.4.0" - resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.0.tgz#2a7a91c7cba4eccfd95e949369f27c9ba704f369" - integrity sha512-dMXsYP6gc9rRbejLXmTbVRYjAHw7ppswsKyMxuxJxxOHzluIO1rGp9TOQgjFJ+2MCqcOcQTOPB/8Xwhr+7s4Eg== + version "9.4.1" + resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.1.tgz#8a1023e0d6766ecb52764cc3a734b36ff275e185" + integrity sha512-OQkWKbjQKbGkMf/xqI1jjy3oCTgMKJac58G2+bjZb3fza6gW2YrCSdMQYaoTb70crvE//Gngr4f0AgVHmqHvBQ== dependencies: env-paths "^2.2.0" exponential-backoff "^3.1.1" glob "^7.1.4" graceful-fs "^4.2.6" - make-fetch-happen "^11.0.3" + make-fetch-happen "^10.0.3" nopt "^6.0.0" npmlog "^6.0.0" rimraf "^3.0.2" @@ -11595,16 +10944,16 @@ npm-bundled@^3.0.0: npm-normalize-package-bin "^3.0.0" npm-check-updates@^16: - version "16.14.4" - resolved "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.4.tgz#561e97e92079ae4dbab9d9cbeb424d292ca01bae" - integrity sha512-PKg1wv3vno75/9qgRLqV2huBO7eukOlW+PmIGl7LPXjElfYTUTWUtaMOdOckImaSj4Uqe46W/zMbMFZQp5dHRQ== + version "16.14.6" + resolved "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.6.tgz#8a1b743398795e66b427ac31f9a73fe2704045d6" + integrity sha512-sJ6w4AmSDP7YzBXah94Ul2JhiIbjBDfx9XYgib15um2wtiQkOyjE7Lov3MNUSQ84Ry7T81mE4ynMbl/mGbK4HQ== dependencies: chalk "^5.3.0" cli-table3 "^0.6.3" commander "^10.0.1" fast-memoize "^2.5.2" find-up "5.0.0" - fp-and-or "^0.1.3" + fp-and-or "^0.1.4" get-stdin "^8.0.0" globby "^11.0.4" hosted-git-info "^5.1.0" @@ -11622,11 +10971,11 @@ npm-check-updates@^16: prompts-ncu "^3.0.0" rc-config-loader "^4.1.3" remote-git-tags "^3.0.0" - rimraf "^5.0.1" + rimraf "^5.0.5" semver "^7.5.4" semver-utils "^1.1.4" source-map-support "^0.5.21" - spawn-please "^2.0.1" + spawn-please "^2.0.2" strip-ansi "^7.1.0" strip-json-comments "^5.0.1" untildify "^4.0.0" @@ -11640,9 +10989,9 @@ npm-install-checks@^5.0.0: semver "^7.1.1" npm-install-checks@^6.0.0: - version "6.2.0" - resolved "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.2.0.tgz#fae55b9967b03ac309695ec96629492d5cedf371" - integrity sha512-744wat5wAAHsxa4590mWO0tJ8PKxR8ORZsH9wGpQc3nWTzozMAgBN/XyqYw7mg3yqLM8dLwEnwSfKMmXAjF69g== + version "6.3.0" + resolved "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz#046552d8920e801fa9f919cad569545d60e826fe" + integrity sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw== dependencies: semver "^7.1.1" @@ -11891,12 +11240,12 @@ npmlog@^6.0.0, npmlog@^6.0.2: gauge "^4.0.3" set-blocking "^2.0.0" -nx@16.9.1, "nx@>=16.5.1 < 17", nx@^16.9.1: - version "16.9.1" - resolved "https://registry.npmjs.org/nx/-/nx-16.9.1.tgz#eac231c4cdfd6b3f7088d57289e215fbd539b7a1" - integrity sha512-h6jp0fXzEsBO3pwCNS2JbfzJZRgE2DnIo7Sj1/1oBo82o44jNqsPo3nMTj95qhcveJ0qBiKIh+Xw/fghXiRiSQ== +nx@16.10.0, "nx@>=16.5.1 < 17", nx@^16.10.0: + version "16.10.0" + resolved "https://registry.npmjs.org/nx/-/nx-16.10.0.tgz#b070461f7de0a3d7988bd78558ea84cda3543ace" + integrity sha512-gZl4iCC0Hx0Qe1VWmO4Bkeul2nttuXdPpfnlcDKSACGu3ZIo+uySqwOF8yBAxSTIf8xe2JRhgzJN1aFkuezEBg== dependencies: - "@nrwl/tao" "16.9.1" + "@nrwl/tao" "16.10.0" "@parcel/watcher" "2.0.4" "@yarnpkg/lockfile" "^1.1.0" "@yarnpkg/parsers" "3.0.0-rc.46" @@ -11905,7 +11254,7 @@ nx@16.9.1, "nx@>=16.5.1 < 17", nx@^16.9.1: chalk "^4.1.0" cli-cursor "3.1.0" cli-spinners "2.6.1" - cliui "^7.0.2" + cliui "^8.0.1" dotenv "~16.3.1" dotenv-expand "~10.0.0" enquirer "~2.3.6" @@ -11933,16 +11282,16 @@ nx@16.9.1, "nx@>=16.5.1 < 17", nx@^16.9.1: yargs "^17.6.2" yargs-parser "21.1.1" optionalDependencies: - "@nx/nx-darwin-arm64" "16.9.1" - "@nx/nx-darwin-x64" "16.9.1" - "@nx/nx-freebsd-x64" "16.9.1" - "@nx/nx-linux-arm-gnueabihf" "16.9.1" - "@nx/nx-linux-arm64-gnu" "16.9.1" - "@nx/nx-linux-arm64-musl" "16.9.1" - "@nx/nx-linux-x64-gnu" "16.9.1" - "@nx/nx-linux-x64-musl" "16.9.1" - "@nx/nx-win32-arm64-msvc" "16.9.1" - "@nx/nx-win32-x64-msvc" "16.9.1" + "@nx/nx-darwin-arm64" "16.10.0" + "@nx/nx-darwin-x64" "16.10.0" + "@nx/nx-freebsd-x64" "16.10.0" + "@nx/nx-linux-arm-gnueabihf" "16.10.0" + "@nx/nx-linux-arm64-gnu" "16.10.0" + "@nx/nx-linux-arm64-musl" "16.10.0" + "@nx/nx-linux-x64-gnu" "16.10.0" + "@nx/nx-linux-x64-musl" "16.10.0" + "@nx/nx-win32-arm64-msvc" "16.10.0" + "@nx/nx-win32-x64-msvc" "16.10.0" nyc@^15.1.0: version "15.1.0" @@ -11982,10 +11331,10 @@ object-assign@^4.1.0: resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== -object-inspect@^1.12.3, object-inspect@^1.9.0: - version "1.12.3" - resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" - integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== +object-inspect@^1.13.1, object-inspect@^1.9.0: + version "1.13.1" + resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2" + integrity sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ== object-is@^1.1.5: version "1.1.5" @@ -12010,7 +11359,7 @@ object.assign@^4.1.4: has-symbols "^1.0.3" object-keys "^1.1.1" -object.fromentries@^2.0.6: +object.fromentries@^2.0.7: version "2.0.7" resolved "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.7.tgz#71e95f441e9a0ea6baf682ecaaf37fa2a8d7e616" integrity sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA== @@ -12019,7 +11368,7 @@ object.fromentries@^2.0.6: define-properties "^1.2.0" es-abstract "^1.22.1" -object.groupby@^1.0.0: +object.groupby@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.1.tgz#d41d9f3c8d6c778d9cbac86b4ee9f5af103152ee" integrity sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ== @@ -12029,7 +11378,7 @@ object.groupby@^1.0.0: es-abstract "^1.22.1" get-intrinsic "^1.2.1" -object.values@^1.1.6: +object.values@^1.1.7: version "1.1.7" resolved "https://registry.npmjs.org/object.values/-/object.values-1.1.7.tgz#617ed13272e7e1071b43973aa1655d9291b8442a" integrity sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng== @@ -12064,10 +11413,10 @@ onetime@^5.1.0, onetime@^5.1.2: dependencies: mimic-fn "^2.1.0" -oo-ascii-tree@^1.89.0: - version "1.89.0" - resolved "https://registry.npmjs.org/oo-ascii-tree/-/oo-ascii-tree-1.89.0.tgz#bdf7b249ba5719a4c86201e52c92ef66f15f7813" - integrity sha512-HRFmdGyLTO/xUo9XNHwa8ColVVP6IEeeRKcxbzRIbgRpPcIiDGo99ShecJdkaXOyR+q4Wi6hiX5b7yrsBI/gxA== +oo-ascii-tree@^1.91.0: + version "1.91.0" + resolved "https://registry.npmjs.org/oo-ascii-tree/-/oo-ascii-tree-1.91.0.tgz#3add7a82988966b04ac522c74ad7dccbb15bc5cf" + integrity sha512-pH4FFNLTO8VG+vNUm4AHmhLNjoSfQlO1UKIrzBGdeScppY785D93GVMH1XkCwbuO7pd9rrh6El5WF3a5QNvaww== open@^7.4.2: version "7.4.2" @@ -12760,10 +12109,10 @@ punycode@1.3.2: resolved "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" integrity sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw== -punycode@^2.1.0, punycode@^2.3.0: - version "2.3.0" - resolved "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" - integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== +punycode@^2.1.0, punycode@^2.3.1: + version "2.3.1" + resolved "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" + integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== pupa@^3.1.0: version "3.1.0" @@ -13135,9 +12484,9 @@ resolve.exports@^2.0.0: integrity sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg== resolve@^1.1.6, resolve@^1.10.0, resolve@^1.20.0, resolve@^1.21.0, resolve@^1.22.0, resolve@^1.22.4: - version "1.22.6" - resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.6.tgz#dd209739eca3aef739c626fea1b4f3c506195362" - integrity sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw== + version "1.22.8" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" + integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== dependencies: is-core-module "^2.13.0" path-parse "^1.0.7" @@ -13194,7 +12543,7 @@ rimraf@^4.4.1: dependencies: glob "^9.2.0" -rimraf@^5.0.1: +rimraf@^5.0.5: version "5.0.5" resolved "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz#9be65d2d6e683447d2e9013da2bf451139a61ccf" integrity sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A== @@ -13346,6 +12695,16 @@ set-blocking@^2.0.0, set-blocking@~2.0.0: resolved "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== +set-function-length@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz#4bc39fafb0307224a33e106a7d35ca1218d659ed" + integrity sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ== + dependencies: + define-data-property "^1.1.1" + get-intrinsic "^1.2.1" + gopd "^1.0.1" + has-property-descriptors "^1.0.0" + set-function-name@^2.0.0: version "2.0.1" resolved "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz#12ce38b7954310b9f61faa12701620a0c882793a" @@ -13587,7 +12946,7 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -spawn-please@^2.0.1: +spawn-please@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/spawn-please/-/spawn-please-2.0.2.tgz#41912d82fe9504dd5a5424d2b4834e9a6cea56e0" integrity sha512-KM8coezO6ISQ89c1BzyWNtcn2V2kAVtwIXd3cN/V5a0xPYc1F/vydrRc01wsKFEQ/p+V1a4sw4z2yMITIXrgGw== @@ -13637,14 +12996,14 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.15" - resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.15.tgz#142460aabaca062bc7cd4cc87b7d50725ed6a4ba" - integrity sha512-lpT8hSQp9jAKp9mhtBU4Xjon8LPGBvLIuBiSVhMEtmLecTh2mO0tlqrAMp47tBXzMr13NJMQ2lf7RpQGLJ3HsQ== + version "3.0.16" + resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz#a14f64e0954f6e25cc6587bd4f392522db0d998f" + integrity sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw== -spdx-license-list@^6.6.0, spdx-license-list@^6.7.0: - version "6.7.0" - resolved "https://registry.npmjs.org/spdx-license-list/-/spdx-license-list-6.7.0.tgz#dd8c6aba00e7a3f9549e473d0be2b83c4cae081f" - integrity sha512-NFqavuJxNsHdwSy/0PjmUpcc76XwlmHQRPjVVtE62qmSLhKJUnzSvJCkU9nrY6TsChfGU1xqGePriBkNtNRMiA== +spdx-license-list@^6.7.0, spdx-license-list@^6.8.0: + version "6.8.0" + resolved "https://registry.npmjs.org/spdx-license-list/-/spdx-license-list-6.8.0.tgz#92a99cd6c8b97fe98ae83c54deaffd4d9d503f74" + integrity sha512-5UdM7r9yJ1EvsPQZWfa41AZjLQngl9iMMysm9XBW7Lqhq7aF8cllfqjS+rFCHB8FFMGSM0yFWue2LUV9mR0QzQ== spdx-ranges@^2.0.0: version "2.1.1" @@ -14350,10 +13709,10 @@ typedarray@^0.0.6: resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript-json-schema@^0.61.0: - version "0.61.0" - resolved "https://registry.npmjs.org/typescript-json-schema/-/typescript-json-schema-0.61.0.tgz#6f09f249469b2a8bb642578de0801e1e1d22f969" - integrity sha512-sYKnLJjvh9ljdSQkh91LM9PEzgzrgnYfvU226IauISFd+379VCti/VtAFXd00Z9euLkVffh5LRTAO8eamsxUlw== +typescript-json-schema@^0.62.0: + version "0.62.0" + resolved "https://registry.npmjs.org/typescript-json-schema/-/typescript-json-schema-0.62.0.tgz#774b06b0c9d86d7f3580ea9136363a6eafae1470" + integrity sha512-qRO6pCgyjKJ230QYdOxDRpdQrBeeino4v5p2rYmSD72Jf4rD3O+cJcROv46sQukm46CLWoeusqvBgKpynEv25g== dependencies: "@types/json-schema" "^7.0.9" "@types/node" "^16.9.2" @@ -14364,7 +13723,7 @@ typescript-json-schema@^0.61.0: typescript "~5.1.0" yargs "^17.1.1" -"typescript@>=3 < 6", typescript@~5.2: +"typescript@>=3 < 6", typescript@~5.2, typescript@~5.2.2: version "5.2.2" resolved "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== @@ -14380,9 +13739,9 @@ typescript@^4.5.5: integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== typescript@next: - version "5.3.0-dev.20230927" - resolved "https://registry.npmjs.org/typescript/-/typescript-5.3.0-dev.20230927.tgz#339a6ccc58a5ae6b0606be2ae8bcc1bcf88270d2" - integrity sha512-FHoT/nbOZjlXfK1yYTtCVT6yOp7Y9Vab/8Do4KiEGl3jI6rxPD7d1ssB/5vlH4ZXZ//0DW96vsvp/OUyjxCqgA== + version "5.4.0-dev.20231109" + resolved "https://registry.npmjs.org/typescript/-/typescript-5.4.0-dev.20231109.tgz#5247b10133676132577d462ec0306dec353c2a90" + integrity sha512-wX5CSyZbJ0xsgAe0Fyefs8eqEe7o7mp7Nv5EHydBYFpJI/FWZFc4rSF2mGNNZ/1D7JMQgwjCAkZd/2TTF3m/Uw== typescript@~5.1.0, typescript@~5.1.6: version "5.1.6" @@ -14414,6 +13773,13 @@ undici-types@~5.26.4: resolved "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== +undici@^5.25.4: + version "5.27.2" + resolved "https://registry.npmjs.org/undici/-/undici-5.27.2.tgz#a270c563aea5b46cc0df2550523638c95c5d4411" + integrity sha512-iS857PdOEy/y3wlM3yRp+6SNQQ6xU0mmZcwRSriqk+et/cwWAtwmIGf6WkoDN2EK/AMdCO/dfXzIwi+rFMrjjQ== + dependencies: + "@fastify/busboy" "^2.0.0" + uniq@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff" @@ -14455,9 +13821,9 @@ unique-string@^3.0.0: crypto-random-string "^4.0.0" universal-user-agent@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee" - integrity sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w== + version "6.0.1" + resolved "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz#15f20f55da3c930c57bddbf1734c6654d5fd35aa" + integrity sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ== universalify@^0.1.0: version "0.1.2" @@ -14465,9 +13831,9 @@ universalify@^0.1.0: integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== universalify@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" - integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== + version "2.0.1" + resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" + integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== untildify@^4.0.0: version "4.0.0" @@ -14584,13 +13950,13 @@ v8-compile-cache@^2.0.3: integrity sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw== v8-to-istanbul@^9.0.1: - version "9.1.0" - resolved "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz#1b83ed4e397f58c85c266a570fc2558b5feb9265" - integrity sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA== + version "9.1.3" + resolved "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.3.tgz#ea456604101cd18005ac2cae3cdd1aa058a6306b" + integrity sha512-9lDD+EVI2fjFsMWXc6dy5JJzBsVTcQ2fVkfBvncZ6xJWG9wtBhOldG+mHkSL0+V1K/xgZz0JDO5UT5hFwHUghg== dependencies: "@jridgewell/trace-mapping" "^0.3.12" "@types/istanbul-lib-coverage" "^2.0.1" - convert-source-map "^1.6.0" + convert-source-map "^2.0.0" validate-npm-package-license@3.0.4, validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: version "3.0.4" @@ -14684,13 +14050,13 @@ which-module@^2.0.0: resolved "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== -which-typed-array@^1.1.11, which-typed-array@^1.1.2: - version "1.1.11" - resolved "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.11.tgz#99d691f23c72aab6768680805a271b69761ed61a" - integrity sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew== +which-typed-array@^1.1.11, which-typed-array@^1.1.13, which-typed-array@^1.1.2: + version "1.1.13" + resolved "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz#870cd5be06ddb616f504e7b039c4c24898184d36" + integrity sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow== dependencies: available-typed-arrays "^1.0.5" - call-bind "^1.0.2" + call-bind "^1.0.4" for-each "^0.3.3" gopd "^1.0.1" has-tostringtag "^1.0.0" @@ -14731,20 +14097,20 @@ widest-line@^4.0.1: string-width "^5.0.1" winston-transport@^4.5.0: - version "4.5.0" - resolved "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz#6e7b0dd04d393171ed5e4e4905db265f7ab384fa" - integrity sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q== + version "4.6.0" + resolved "https://registry.npmjs.org/winston-transport/-/winston-transport-4.6.0.tgz#f1c1a665ad1b366df72199e27892721832a19e1b" + integrity sha512-wbBA9PbPAHxKiygo7ub7BYRiKxms0tpfU2ljtWzb3SjRjv5yl6Ozuy/TkXf00HTAt+Uylo3gSkNwzc4ME0wiIg== dependencies: logform "^2.3.2" readable-stream "^3.6.0" triple-beam "^1.3.0" winston@^3.7.2: - version "3.10.0" - resolved "https://registry.npmjs.org/winston/-/winston-3.10.0.tgz#d033cb7bd3ced026fed13bf9d92c55b903116803" - integrity sha512-nT6SIDaE9B7ZRO0u3UvdrimG0HkB7dSTAgInQnNR2SOPJ4bvq5q79+pXLftKmP52lJGW15+H5MCK0nM9D3KB/g== + version "3.11.0" + resolved "https://registry.npmjs.org/winston/-/winston-3.11.0.tgz#2d50b0a695a2758bb1c95279f0a88e858163ed91" + integrity sha512-L3yR6/MzZAOl0DsysUXHVjOwv8mKZ71TrA/41EIduGpOOV5LQVodqN+QdQ6BS6PJ/RdIshZhq84P/fStEZkk7g== dependencies: - "@colors/colors" "1.5.0" + "@colors/colors" "^1.6.0" "@dabh/diagnostics" "^2.0.2" async "^3.2.3" is-stream "^2.0.0" @@ -14761,10 +14127,10 @@ wordwrap@>=0.0.2, wordwrap@^1.0.0: resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== -workerpool@^6.4.2, workerpool@^6.5.0: - version "6.5.0" - resolved "https://registry.npmjs.org/workerpool/-/workerpool-6.5.0.tgz#f8474762c5e2f81646994aa113685f6c424a2416" - integrity sha512-r64Ea3glXY2RVzMeNxB+4J+0YHAVzUdV4cM5nHi4BBC2LvnO1pWFAIYKYuGcPElbg1/7eEiaPtZ/jzCjIUuGBg== +workerpool@^6.5.1: + version "6.5.1" + resolved "https://registry.npmjs.org/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544" + integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA== "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0"